_id stringlengths 2 7 | title stringlengths 1 118 | partition stringclasses 3
values | text stringlengths 52 85.5k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
q35000 | GetAWSBudgetsBudgetWithName | train | func (t *Template) GetAWSBudgetsBudgetWithName(name string) (*resources.AWSBudgetsBudget, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSBudgetsBudget:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSBudgetsBudget not found",... | go | {
"resource": ""
} |
q35001 | GetAllAWSCertificateManagerCertificateResources | train | func (t *Template) GetAllAWSCertificateManagerCertificateResources() map[string]*resources.AWSCertificateManagerCertificate {
results := map[string]*resources.AWSCertificateManagerCertificate{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCertificateManagerCertif... | go | {
"resource": ""
} |
q35002 | GetAWSCertificateManagerCertificateWithName | train | func (t *Template) GetAWSCertificateManagerCertificateWithName(name string) (*resources.AWSCertificateManagerCertificate, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCertificateManagerCertificate:
return resource, nil
}
}
return nil, fmt.Errorf("... | go | {
"resource": ""
} |
q35003 | GetAllAWSCloud9EnvironmentEC2Resources | train | func (t *Template) GetAllAWSCloud9EnvironmentEC2Resources() map[string]*resources.AWSCloud9EnvironmentEC2 {
results := map[string]*resources.AWSCloud9EnvironmentEC2{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloud9EnvironmentEC2:
results[name] = resource
... | go | {
"resource": ""
} |
q35004 | GetAWSCloud9EnvironmentEC2WithName | train | func (t *Template) GetAWSCloud9EnvironmentEC2WithName(name string) (*resources.AWSCloud9EnvironmentEC2, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloud9EnvironmentEC2:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSClou... | go | {
"resource": ""
} |
q35005 | GetAllAWSCloudFormationCustomResourceResources | train | func (t *Template) GetAllAWSCloudFormationCustomResourceResources() map[string]*resources.AWSCloudFormationCustomResource {
results := map[string]*resources.AWSCloudFormationCustomResource{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationCustomResourc... | go | {
"resource": ""
} |
q35006 | GetAWSCloudFormationCustomResourceWithName | train | func (t *Template) GetAWSCloudFormationCustomResourceWithName(name string) (*resources.AWSCloudFormationCustomResource, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationCustomResource:
return resource, nil
}
}
return nil, fmt.Errorf("res... | go | {
"resource": ""
} |
q35007 | GetAllAWSCloudFormationMacroResources | train | func (t *Template) GetAllAWSCloudFormationMacroResources() map[string]*resources.AWSCloudFormationMacro {
results := map[string]*resources.AWSCloudFormationMacro{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationMacro:
results[name] = resource
}
... | go | {
"resource": ""
} |
q35008 | GetAWSCloudFormationMacroWithName | train | func (t *Template) GetAWSCloudFormationMacroWithName(name string) (*resources.AWSCloudFormationMacro, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationMacro:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudFo... | go | {
"resource": ""
} |
q35009 | GetAllAWSCloudFormationStackResources | train | func (t *Template) GetAllAWSCloudFormationStackResources() map[string]*resources.AWSCloudFormationStack {
results := map[string]*resources.AWSCloudFormationStack{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationStack:
results[name] = resource
}
... | go | {
"resource": ""
} |
q35010 | GetAWSCloudFormationStackWithName | train | func (t *Template) GetAWSCloudFormationStackWithName(name string) (*resources.AWSCloudFormationStack, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationStack:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudFo... | go | {
"resource": ""
} |
q35011 | GetAllAWSCloudFormationWaitConditionResources | train | func (t *Template) GetAllAWSCloudFormationWaitConditionResources() map[string]*resources.AWSCloudFormationWaitCondition {
results := map[string]*resources.AWSCloudFormationWaitCondition{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationWaitCondition:
... | go | {
"resource": ""
} |
q35012 | GetAWSCloudFormationWaitConditionWithName | train | func (t *Template) GetAWSCloudFormationWaitConditionWithName(name string) (*resources.AWSCloudFormationWaitCondition, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationWaitCondition:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | go | {
"resource": ""
} |
q35013 | GetAllAWSCloudFormationWaitConditionHandleResources | train | func (t *Template) GetAllAWSCloudFormationWaitConditionHandleResources() map[string]*resources.AWSCloudFormationWaitConditionHandle {
results := map[string]*resources.AWSCloudFormationWaitConditionHandle{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormati... | go | {
"resource": ""
} |
q35014 | GetAWSCloudFormationWaitConditionHandleWithName | train | func (t *Template) GetAWSCloudFormationWaitConditionHandleWithName(name string) (*resources.AWSCloudFormationWaitConditionHandle, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationWaitConditionHandle:
return resource, nil
}
}
return nil, ... | go | {
"resource": ""
} |
q35015 | GetAllAWSCloudFrontCloudFrontOriginAccessIdentityResources | train | func (t *Template) GetAllAWSCloudFrontCloudFrontOriginAccessIdentityResources() map[string]*resources.AWSCloudFrontCloudFrontOriginAccessIdentity {
results := map[string]*resources.AWSCloudFrontCloudFrontOriginAccessIdentity{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *reso... | go | {
"resource": ""
} |
q35016 | GetAWSCloudFrontCloudFrontOriginAccessIdentityWithName | train | func (t *Template) GetAWSCloudFrontCloudFrontOriginAccessIdentityWithName(name string) (*resources.AWSCloudFrontCloudFrontOriginAccessIdentity, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontCloudFrontOriginAccessIdentity:
return resource, nil... | go | {
"resource": ""
} |
q35017 | GetAllAWSCloudFrontDistributionResources | train | func (t *Template) GetAllAWSCloudFrontDistributionResources() map[string]*resources.AWSCloudFrontDistribution {
results := map[string]*resources.AWSCloudFrontDistribution{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontDistribution:
results[name] = re... | go | {
"resource": ""
} |
q35018 | GetAWSCloudFrontDistributionWithName | train | func (t *Template) GetAWSCloudFrontDistributionWithName(name string) (*resources.AWSCloudFrontDistribution, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontDistribution:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type A... | go | {
"resource": ""
} |
q35019 | GetAllAWSCloudFrontStreamingDistributionResources | train | func (t *Template) GetAllAWSCloudFrontStreamingDistributionResources() map[string]*resources.AWSCloudFrontStreamingDistribution {
results := map[string]*resources.AWSCloudFrontStreamingDistribution{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontStreamin... | go | {
"resource": ""
} |
q35020 | GetAWSCloudFrontStreamingDistributionWithName | train | func (t *Template) GetAWSCloudFrontStreamingDistributionWithName(name string) (*resources.AWSCloudFrontStreamingDistribution, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontStreamingDistribution:
return resource, nil
}
}
return nil, fmt.Er... | go | {
"resource": ""
} |
q35021 | GetAllAWSCloudTrailTrailResources | train | func (t *Template) GetAllAWSCloudTrailTrailResources() map[string]*resources.AWSCloudTrailTrail {
results := map[string]*resources.AWSCloudTrailTrail{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudTrailTrail:
results[name] = resource
}
}
return result... | go | {
"resource": ""
} |
q35022 | GetAWSCloudTrailTrailWithName | train | func (t *Template) GetAWSCloudTrailTrailWithName(name string) (*resources.AWSCloudTrailTrail, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudTrailTrail:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudTrailTrail not... | go | {
"resource": ""
} |
q35023 | GetAllAWSCloudWatchAlarmResources | train | func (t *Template) GetAllAWSCloudWatchAlarmResources() map[string]*resources.AWSCloudWatchAlarm {
results := map[string]*resources.AWSCloudWatchAlarm{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudWatchAlarm:
results[name] = resource
}
}
return result... | go | {
"resource": ""
} |
q35024 | GetAWSCloudWatchAlarmWithName | train | func (t *Template) GetAWSCloudWatchAlarmWithName(name string) (*resources.AWSCloudWatchAlarm, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudWatchAlarm:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudWatchAlarm not... | go | {
"resource": ""
} |
q35025 | GetAllAWSCloudWatchDashboardResources | train | func (t *Template) GetAllAWSCloudWatchDashboardResources() map[string]*resources.AWSCloudWatchDashboard {
results := map[string]*resources.AWSCloudWatchDashboard{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudWatchDashboard:
results[name] = resource
}
... | go | {
"resource": ""
} |
q35026 | GetAWSCloudWatchDashboardWithName | train | func (t *Template) GetAWSCloudWatchDashboardWithName(name string) (*resources.AWSCloudWatchDashboard, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudWatchDashboard:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudWa... | go | {
"resource": ""
} |
q35027 | GetAllAWSCodeBuildProjectResources | train | func (t *Template) GetAllAWSCodeBuildProjectResources() map[string]*resources.AWSCodeBuildProject {
results := map[string]*resources.AWSCodeBuildProject{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeBuildProject:
results[name] = resource
}
}
return re... | go | {
"resource": ""
} |
q35028 | GetAWSCodeBuildProjectWithName | train | func (t *Template) GetAWSCodeBuildProjectWithName(name string) (*resources.AWSCodeBuildProject, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeBuildProject:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCodeBuildProject... | go | {
"resource": ""
} |
q35029 | GetAllAWSCodeCommitRepositoryResources | train | func (t *Template) GetAllAWSCodeCommitRepositoryResources() map[string]*resources.AWSCodeCommitRepository {
results := map[string]*resources.AWSCodeCommitRepository{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeCommitRepository:
results[name] = resource
... | go | {
"resource": ""
} |
q35030 | GetAWSCodeCommitRepositoryWithName | train | func (t *Template) GetAWSCodeCommitRepositoryWithName(name string) (*resources.AWSCodeCommitRepository, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeCommitRepository:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCode... | go | {
"resource": ""
} |
q35031 | GetAllAWSCodeDeployApplicationResources | train | func (t *Template) GetAllAWSCodeDeployApplicationResources() map[string]*resources.AWSCodeDeployApplication {
results := map[string]*resources.AWSCodeDeployApplication{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployApplication:
results[name] = resour... | go | {
"resource": ""
} |
q35032 | GetAWSCodeDeployApplicationWithName | train | func (t *Template) GetAWSCodeDeployApplicationWithName(name string) (*resources.AWSCodeDeployApplication, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployApplication:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSC... | go | {
"resource": ""
} |
q35033 | GetAllAWSCodeDeployDeploymentConfigResources | train | func (t *Template) GetAllAWSCodeDeployDeploymentConfigResources() map[string]*resources.AWSCodeDeployDeploymentConfig {
results := map[string]*resources.AWSCodeDeployDeploymentConfig{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployDeploymentConfig:
re... | go | {
"resource": ""
} |
q35034 | GetAWSCodeDeployDeploymentConfigWithName | train | func (t *Template) GetAWSCodeDeployDeploymentConfigWithName(name string) (*resources.AWSCodeDeployDeploymentConfig, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployDeploymentConfig:
return resource, nil
}
}
return nil, fmt.Errorf("resource ... | go | {
"resource": ""
} |
q35035 | GetAllAWSCodeDeployDeploymentGroupResources | train | func (t *Template) GetAllAWSCodeDeployDeploymentGroupResources() map[string]*resources.AWSCodeDeployDeploymentGroup {
results := map[string]*resources.AWSCodeDeployDeploymentGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployDeploymentGroup:
result... | go | {
"resource": ""
} |
q35036 | GetAWSCodeDeployDeploymentGroupWithName | train | func (t *Template) GetAWSCodeDeployDeploymentGroupWithName(name string) (*resources.AWSCodeDeployDeploymentGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployDeploymentGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q ... | go | {
"resource": ""
} |
q35037 | GetAllAWSCodePipelineCustomActionTypeResources | train | func (t *Template) GetAllAWSCodePipelineCustomActionTypeResources() map[string]*resources.AWSCodePipelineCustomActionType {
results := map[string]*resources.AWSCodePipelineCustomActionType{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodePipelineCustomActionTyp... | go | {
"resource": ""
} |
q35038 | GetAWSCodePipelineCustomActionTypeWithName | train | func (t *Template) GetAWSCodePipelineCustomActionTypeWithName(name string) (*resources.AWSCodePipelineCustomActionType, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodePipelineCustomActionType:
return resource, nil
}
}
return nil, fmt.Errorf("res... | go | {
"resource": ""
} |
q35039 | GetAllAWSCodePipelinePipelineResources | train | func (t *Template) GetAllAWSCodePipelinePipelineResources() map[string]*resources.AWSCodePipelinePipeline {
results := map[string]*resources.AWSCodePipelinePipeline{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodePipelinePipeline:
results[name] = resource
... | go | {
"resource": ""
} |
q35040 | GetAWSCodePipelinePipelineWithName | train | func (t *Template) GetAWSCodePipelinePipelineWithName(name string) (*resources.AWSCodePipelinePipeline, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodePipelinePipeline:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCode... | go | {
"resource": ""
} |
q35041 | GetAllAWSCodePipelineWebhookResources | train | func (t *Template) GetAllAWSCodePipelineWebhookResources() map[string]*resources.AWSCodePipelineWebhook {
results := map[string]*resources.AWSCodePipelineWebhook{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodePipelineWebhook:
results[name] = resource
}
... | go | {
"resource": ""
} |
q35042 | GetAWSCodePipelineWebhookWithName | train | func (t *Template) GetAWSCodePipelineWebhookWithName(name string) (*resources.AWSCodePipelineWebhook, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodePipelineWebhook:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCodePip... | go | {
"resource": ""
} |
q35043 | GetAllAWSCognitoIdentityPoolResources | train | func (t *Template) GetAllAWSCognitoIdentityPoolResources() map[string]*resources.AWSCognitoIdentityPool {
results := map[string]*resources.AWSCognitoIdentityPool{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoIdentityPool:
results[name] = resource
}
... | go | {
"resource": ""
} |
q35044 | GetAWSCognitoIdentityPoolWithName | train | func (t *Template) GetAWSCognitoIdentityPoolWithName(name string) (*resources.AWSCognitoIdentityPool, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoIdentityPool:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCognito... | go | {
"resource": ""
} |
q35045 | GetAllAWSCognitoIdentityPoolRoleAttachmentResources | train | func (t *Template) GetAllAWSCognitoIdentityPoolRoleAttachmentResources() map[string]*resources.AWSCognitoIdentityPoolRoleAttachment {
results := map[string]*resources.AWSCognitoIdentityPoolRoleAttachment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoIdent... | go | {
"resource": ""
} |
q35046 | GetAWSCognitoIdentityPoolRoleAttachmentWithName | train | func (t *Template) GetAWSCognitoIdentityPoolRoleAttachmentWithName(name string) (*resources.AWSCognitoIdentityPoolRoleAttachment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoIdentityPoolRoleAttachment:
return resource, nil
}
}
return nil, ... | go | {
"resource": ""
} |
q35047 | GetAllAWSCognitoUserPoolResources | train | func (t *Template) GetAllAWSCognitoUserPoolResources() map[string]*resources.AWSCognitoUserPool {
results := map[string]*resources.AWSCognitoUserPool{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPool:
results[name] = resource
}
}
return result... | go | {
"resource": ""
} |
q35048 | GetAWSCognitoUserPoolWithName | train | func (t *Template) GetAWSCognitoUserPoolWithName(name string) (*resources.AWSCognitoUserPool, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPool:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCognitoUserPool not... | go | {
"resource": ""
} |
q35049 | GetAllAWSCognitoUserPoolClientResources | train | func (t *Template) GetAllAWSCognitoUserPoolClientResources() map[string]*resources.AWSCognitoUserPoolClient {
results := map[string]*resources.AWSCognitoUserPoolClient{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolClient:
results[name] = resour... | go | {
"resource": ""
} |
q35050 | GetAWSCognitoUserPoolClientWithName | train | func (t *Template) GetAWSCognitoUserPoolClientWithName(name string) (*resources.AWSCognitoUserPoolClient, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolClient:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSC... | go | {
"resource": ""
} |
q35051 | GetAllAWSCognitoUserPoolGroupResources | train | func (t *Template) GetAllAWSCognitoUserPoolGroupResources() map[string]*resources.AWSCognitoUserPoolGroup {
results := map[string]*resources.AWSCognitoUserPoolGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolGroup:
results[name] = resource
... | go | {
"resource": ""
} |
q35052 | GetAWSCognitoUserPoolGroupWithName | train | func (t *Template) GetAWSCognitoUserPoolGroupWithName(name string) (*resources.AWSCognitoUserPoolGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCogn... | go | {
"resource": ""
} |
q35053 | GetAllAWSCognitoUserPoolUserResources | train | func (t *Template) GetAllAWSCognitoUserPoolUserResources() map[string]*resources.AWSCognitoUserPoolUser {
results := map[string]*resources.AWSCognitoUserPoolUser{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolUser:
results[name] = resource
}
... | go | {
"resource": ""
} |
q35054 | GetAWSCognitoUserPoolUserWithName | train | func (t *Template) GetAWSCognitoUserPoolUserWithName(name string) (*resources.AWSCognitoUserPoolUser, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolUser:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCognito... | go | {
"resource": ""
} |
q35055 | GetAllAWSCognitoUserPoolUserToGroupAttachmentResources | train | func (t *Template) GetAllAWSCognitoUserPoolUserToGroupAttachmentResources() map[string]*resources.AWSCognitoUserPoolUserToGroupAttachment {
results := map[string]*resources.AWSCognitoUserPoolUserToGroupAttachment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCog... | go | {
"resource": ""
} |
q35056 | GetAWSCognitoUserPoolUserToGroupAttachmentWithName | train | func (t *Template) GetAWSCognitoUserPoolUserToGroupAttachmentWithName(name string) (*resources.AWSCognitoUserPoolUserToGroupAttachment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolUserToGroupAttachment:
return resource, nil
}
}
ret... | go | {
"resource": ""
} |
q35057 | GetAllAWSConfigAggregationAuthorizationResources | train | func (t *Template) GetAllAWSConfigAggregationAuthorizationResources() map[string]*resources.AWSConfigAggregationAuthorization {
results := map[string]*resources.AWSConfigAggregationAuthorization{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigAggregationAuth... | go | {
"resource": ""
} |
q35058 | GetAWSConfigAggregationAuthorizationWithName | train | func (t *Template) GetAWSConfigAggregationAuthorizationWithName(name string) (*resources.AWSConfigAggregationAuthorization, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigAggregationAuthorization:
return resource, nil
}
}
return nil, fmt.Error... | go | {
"resource": ""
} |
q35059 | GetAllAWSConfigConfigRuleResources | train | func (t *Template) GetAllAWSConfigConfigRuleResources() map[string]*resources.AWSConfigConfigRule {
results := map[string]*resources.AWSConfigConfigRule{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigRule:
results[name] = resource
}
}
return re... | go | {
"resource": ""
} |
q35060 | GetAWSConfigConfigRuleWithName | train | func (t *Template) GetAWSConfigConfigRuleWithName(name string) (*resources.AWSConfigConfigRule, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigRule:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSConfigConfigRule... | go | {
"resource": ""
} |
q35061 | GetAllAWSConfigConfigurationAggregatorResources | train | func (t *Template) GetAllAWSConfigConfigurationAggregatorResources() map[string]*resources.AWSConfigConfigurationAggregator {
results := map[string]*resources.AWSConfigConfigurationAggregator{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigurationAggre... | go | {
"resource": ""
} |
q35062 | GetAWSConfigConfigurationAggregatorWithName | train | func (t *Template) GetAWSConfigConfigurationAggregatorWithName(name string) (*resources.AWSConfigConfigurationAggregator, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigurationAggregator:
return resource, nil
}
}
return nil, fmt.Errorf("... | go | {
"resource": ""
} |
q35063 | GetAllAWSConfigConfigurationRecorderResources | train | func (t *Template) GetAllAWSConfigConfigurationRecorderResources() map[string]*resources.AWSConfigConfigurationRecorder {
results := map[string]*resources.AWSConfigConfigurationRecorder{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigurationRecorder:
... | go | {
"resource": ""
} |
q35064 | GetAWSConfigConfigurationRecorderWithName | train | func (t *Template) GetAWSConfigConfigurationRecorderWithName(name string) (*resources.AWSConfigConfigurationRecorder, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigurationRecorder:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | go | {
"resource": ""
} |
q35065 | GetAllAWSConfigDeliveryChannelResources | train | func (t *Template) GetAllAWSConfigDeliveryChannelResources() map[string]*resources.AWSConfigDeliveryChannel {
results := map[string]*resources.AWSConfigDeliveryChannel{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigDeliveryChannel:
results[name] = resour... | go | {
"resource": ""
} |
q35066 | GetAWSConfigDeliveryChannelWithName | train | func (t *Template) GetAWSConfigDeliveryChannelWithName(name string) (*resources.AWSConfigDeliveryChannel, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigDeliveryChannel:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSC... | go | {
"resource": ""
} |
q35067 | GetAllAWSDAXClusterResources | train | func (t *Template) GetAllAWSDAXClusterResources() map[string]*resources.AWSDAXCluster {
results := map[string]*resources.AWSDAXCluster{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDAXCluster:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35068 | GetAWSDAXClusterWithName | train | func (t *Template) GetAWSDAXClusterWithName(name string) (*resources.AWSDAXCluster, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDAXCluster:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDAXCluster not found", name)
} | go | {
"resource": ""
} |
q35069 | GetAllAWSDAXParameterGroupResources | train | func (t *Template) GetAllAWSDAXParameterGroupResources() map[string]*resources.AWSDAXParameterGroup {
results := map[string]*resources.AWSDAXParameterGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDAXParameterGroup:
results[name] = resource
}
}
retur... | go | {
"resource": ""
} |
q35070 | GetAWSDAXParameterGroupWithName | train | func (t *Template) GetAWSDAXParameterGroupWithName(name string) (*resources.AWSDAXParameterGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDAXParameterGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDAXParameterG... | go | {
"resource": ""
} |
q35071 | GetAllAWSDAXSubnetGroupResources | train | func (t *Template) GetAllAWSDAXSubnetGroupResources() map[string]*resources.AWSDAXSubnetGroup {
results := map[string]*resources.AWSDAXSubnetGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDAXSubnetGroup:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35072 | GetAWSDAXSubnetGroupWithName | train | func (t *Template) GetAWSDAXSubnetGroupWithName(name string) (*resources.AWSDAXSubnetGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDAXSubnetGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDAXSubnetGroup not fou... | go | {
"resource": ""
} |
q35073 | GetAllAWSDLMLifecyclePolicyResources | train | func (t *Template) GetAllAWSDLMLifecyclePolicyResources() map[string]*resources.AWSDLMLifecyclePolicy {
results := map[string]*resources.AWSDLMLifecyclePolicy{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDLMLifecyclePolicy:
results[name] = resource
}
}
r... | go | {
"resource": ""
} |
q35074 | GetAWSDLMLifecyclePolicyWithName | train | func (t *Template) GetAWSDLMLifecyclePolicyWithName(name string) (*resources.AWSDLMLifecyclePolicy, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDLMLifecyclePolicy:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDLMLifecyc... | go | {
"resource": ""
} |
q35075 | GetAllAWSDMSCertificateResources | train | func (t *Template) GetAllAWSDMSCertificateResources() map[string]*resources.AWSDMSCertificate {
results := map[string]*resources.AWSDMSCertificate{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDMSCertificate:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35076 | GetAWSDMSCertificateWithName | train | func (t *Template) GetAWSDMSCertificateWithName(name string) (*resources.AWSDMSCertificate, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDMSCertificate:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDMSCertificate not fou... | go | {
"resource": ""
} |
q35077 | GetAllAWSDMSEndpointResources | train | func (t *Template) GetAllAWSDMSEndpointResources() map[string]*resources.AWSDMSEndpoint {
results := map[string]*resources.AWSDMSEndpoint{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDMSEndpoint:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35078 | GetAWSDMSEndpointWithName | train | func (t *Template) GetAWSDMSEndpointWithName(name string) (*resources.AWSDMSEndpoint, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDMSEndpoint:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDMSEndpoint not found", name)
} | go | {
"resource": ""
} |
q35079 | GetAllAWSDMSEventSubscriptionResources | train | func (t *Template) GetAllAWSDMSEventSubscriptionResources() map[string]*resources.AWSDMSEventSubscription {
results := map[string]*resources.AWSDMSEventSubscription{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDMSEventSubscription:
results[name] = resource
... | go | {
"resource": ""
} |
q35080 | GetAWSDMSEventSubscriptionWithName | train | func (t *Template) GetAWSDMSEventSubscriptionWithName(name string) (*resources.AWSDMSEventSubscription, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDMSEventSubscription:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDMSE... | go | {
"resource": ""
} |
q35081 | GetAllAWSDMSReplicationInstanceResources | train | func (t *Template) GetAllAWSDMSReplicationInstanceResources() map[string]*resources.AWSDMSReplicationInstance {
results := map[string]*resources.AWSDMSReplicationInstance{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDMSReplicationInstance:
results[name] = re... | go | {
"resource": ""
} |
q35082 | GetAWSDMSReplicationInstanceWithName | train | func (t *Template) GetAWSDMSReplicationInstanceWithName(name string) (*resources.AWSDMSReplicationInstance, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDMSReplicationInstance:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type A... | go | {
"resource": ""
} |
q35083 | GetAllAWSDMSReplicationSubnetGroupResources | train | func (t *Template) GetAllAWSDMSReplicationSubnetGroupResources() map[string]*resources.AWSDMSReplicationSubnetGroup {
results := map[string]*resources.AWSDMSReplicationSubnetGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDMSReplicationSubnetGroup:
result... | go | {
"resource": ""
} |
q35084 | GetAWSDMSReplicationSubnetGroupWithName | train | func (t *Template) GetAWSDMSReplicationSubnetGroupWithName(name string) (*resources.AWSDMSReplicationSubnetGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDMSReplicationSubnetGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q ... | go | {
"resource": ""
} |
q35085 | GetAllAWSDMSReplicationTaskResources | train | func (t *Template) GetAllAWSDMSReplicationTaskResources() map[string]*resources.AWSDMSReplicationTask {
results := map[string]*resources.AWSDMSReplicationTask{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDMSReplicationTask:
results[name] = resource
}
}
r... | go | {
"resource": ""
} |
q35086 | GetAWSDMSReplicationTaskWithName | train | func (t *Template) GetAWSDMSReplicationTaskWithName(name string) (*resources.AWSDMSReplicationTask, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDMSReplicationTask:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDMSReplica... | go | {
"resource": ""
} |
q35087 | GetAllAWSDataPipelinePipelineResources | train | func (t *Template) GetAllAWSDataPipelinePipelineResources() map[string]*resources.AWSDataPipelinePipeline {
results := map[string]*resources.AWSDataPipelinePipeline{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDataPipelinePipeline:
results[name] = resource
... | go | {
"resource": ""
} |
q35088 | GetAWSDataPipelinePipelineWithName | train | func (t *Template) GetAWSDataPipelinePipelineWithName(name string) (*resources.AWSDataPipelinePipeline, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDataPipelinePipeline:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSData... | go | {
"resource": ""
} |
q35089 | GetAllAWSDirectoryServiceMicrosoftADResources | train | func (t *Template) GetAllAWSDirectoryServiceMicrosoftADResources() map[string]*resources.AWSDirectoryServiceMicrosoftAD {
results := map[string]*resources.AWSDirectoryServiceMicrosoftAD{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDirectoryServiceMicrosoftAD:
... | go | {
"resource": ""
} |
q35090 | GetAWSDirectoryServiceMicrosoftADWithName | train | func (t *Template) GetAWSDirectoryServiceMicrosoftADWithName(name string) (*resources.AWSDirectoryServiceMicrosoftAD, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDirectoryServiceMicrosoftAD:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | go | {
"resource": ""
} |
q35091 | GetAllAWSDirectoryServiceSimpleADResources | train | func (t *Template) GetAllAWSDirectoryServiceSimpleADResources() map[string]*resources.AWSDirectoryServiceSimpleAD {
results := map[string]*resources.AWSDirectoryServiceSimpleAD{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDirectoryServiceSimpleAD:
results[na... | go | {
"resource": ""
} |
q35092 | GetAWSDirectoryServiceSimpleADWithName | train | func (t *Template) GetAWSDirectoryServiceSimpleADWithName(name string) (*resources.AWSDirectoryServiceSimpleAD, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDirectoryServiceSimpleAD:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of ... | go | {
"resource": ""
} |
q35093 | GetAllAWSDocDBDBClusterResources | train | func (t *Template) GetAllAWSDocDBDBClusterResources() map[string]*resources.AWSDocDBDBCluster {
results := map[string]*resources.AWSDocDBDBCluster{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDocDBDBCluster:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35094 | GetAWSDocDBDBClusterWithName | train | func (t *Template) GetAWSDocDBDBClusterWithName(name string) (*resources.AWSDocDBDBCluster, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDocDBDBCluster:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDocDBDBCluster not fou... | go | {
"resource": ""
} |
q35095 | GetAllAWSDocDBDBClusterParameterGroupResources | train | func (t *Template) GetAllAWSDocDBDBClusterParameterGroupResources() map[string]*resources.AWSDocDBDBClusterParameterGroup {
results := map[string]*resources.AWSDocDBDBClusterParameterGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDocDBDBClusterParameterGrou... | go | {
"resource": ""
} |
q35096 | GetAWSDocDBDBClusterParameterGroupWithName | train | func (t *Template) GetAWSDocDBDBClusterParameterGroupWithName(name string) (*resources.AWSDocDBDBClusterParameterGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDocDBDBClusterParameterGroup:
return resource, nil
}
}
return nil, fmt.Errorf("res... | go | {
"resource": ""
} |
q35097 | GetAllAWSDocDBDBInstanceResources | train | func (t *Template) GetAllAWSDocDBDBInstanceResources() map[string]*resources.AWSDocDBDBInstance {
results := map[string]*resources.AWSDocDBDBInstance{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDocDBDBInstance:
results[name] = resource
}
}
return result... | go | {
"resource": ""
} |
q35098 | GetAWSDocDBDBInstanceWithName | train | func (t *Template) GetAWSDocDBDBInstanceWithName(name string) (*resources.AWSDocDBDBInstance, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDocDBDBInstance:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDocDBDBInstance not... | go | {
"resource": ""
} |
q35099 | GetAllAWSDocDBDBSubnetGroupResources | train | func (t *Template) GetAllAWSDocDBDBSubnetGroupResources() map[string]*resources.AWSDocDBDBSubnetGroup {
results := map[string]*resources.AWSDocDBDBSubnetGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDocDBDBSubnetGroup:
results[name] = resource
}
}
r... | go | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.