repo stringlengths 5 54 | path stringlengths 4 155 | func_name stringlengths 1 118 | original_string stringlengths 52 85.5k | language stringclasses 1
value | code stringlengths 52 85.5k | code_tokens list | docstring stringlengths 6 2.61k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 85 252 | partition stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|
awslabs/goformation | generate/property.go | IsCustomType | func (p Property) IsCustomType() bool {
return p.PrimitiveType == "" && p.ItemType == "" && p.PrimitiveItemType == ""
} | go | func (p Property) IsCustomType() bool {
return p.PrimitiveType == "" && p.ItemType == "" && p.PrimitiveItemType == ""
} | [
"func",
"(",
"p",
"Property",
")",
"IsCustomType",
"(",
")",
"bool",
"{",
"return",
"p",
".",
"PrimitiveType",
"==",
"\"",
"\"",
"&&",
"p",
".",
"ItemType",
"==",
"\"",
"\"",
"&&",
"p",
".",
"PrimitiveItemType",
"==",
"\"",
"\"",
"\n",
"}"
] | // IsCustomType checks wither a property is a custom type | [
"IsCustomType",
"checks",
"wither",
"a",
"property",
"is",
"a",
"custom",
"type"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/generate/property.go#L143-L145 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAmazonMQBrokerResources | func (t *Template) GetAllAWSAmazonMQBrokerResources() map[string]*resources.AWSAmazonMQBroker {
results := map[string]*resources.AWSAmazonMQBroker{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAmazonMQBroker:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSAmazonMQBrokerResources() map[string]*resources.AWSAmazonMQBroker {
results := map[string]*resources.AWSAmazonMQBroker{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAmazonMQBroker:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAmazonMQBrokerResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAmazonMQBroker",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAmazonMQBroker",
"{",
"}"... | // GetAllAWSAmazonMQBrokerResources retrieves all AWSAmazonMQBroker items from an AWS CloudFormation template | [
"GetAllAWSAmazonMQBrokerResources",
"retrieves",
"all",
"AWSAmazonMQBroker",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L403-L412 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAmazonMQBrokerWithName | func (t *Template) GetAWSAmazonMQBrokerWithName(name string) (*resources.AWSAmazonMQBroker, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAmazonMQBroker:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAmazonMQBroker not fou... | go | func (t *Template) GetAWSAmazonMQBrokerWithName(name string) (*resources.AWSAmazonMQBroker, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAmazonMQBroker:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAmazonMQBroker not fou... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAmazonMQBrokerWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAmazonMQBroker",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
... | // GetAWSAmazonMQBrokerWithName retrieves all AWSAmazonMQBroker items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAmazonMQBrokerWithName",
"retrieves",
"all",
"AWSAmazonMQBroker",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L416-L424 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAmazonMQConfigurationResources | func (t *Template) GetAllAWSAmazonMQConfigurationResources() map[string]*resources.AWSAmazonMQConfiguration {
results := map[string]*resources.AWSAmazonMQConfiguration{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAmazonMQConfiguration:
results[name] = resour... | go | func (t *Template) GetAllAWSAmazonMQConfigurationResources() map[string]*resources.AWSAmazonMQConfiguration {
results := map[string]*resources.AWSAmazonMQConfiguration{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAmazonMQConfiguration:
results[name] = resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAmazonMQConfigurationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAmazonMQConfiguration",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAmazonMQConfigu... | // GetAllAWSAmazonMQConfigurationResources retrieves all AWSAmazonMQConfiguration items from an AWS CloudFormation template | [
"GetAllAWSAmazonMQConfigurationResources",
"retrieves",
"all",
"AWSAmazonMQConfiguration",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L427-L436 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAmazonMQConfigurationWithName | func (t *Template) GetAWSAmazonMQConfigurationWithName(name string) (*resources.AWSAmazonMQConfiguration, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAmazonMQConfiguration:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSA... | go | func (t *Template) GetAWSAmazonMQConfigurationWithName(name string) (*resources.AWSAmazonMQConfiguration, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAmazonMQConfiguration:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSA... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAmazonMQConfigurationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAmazonMQConfiguration",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
... | // GetAWSAmazonMQConfigurationWithName retrieves all AWSAmazonMQConfiguration items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAmazonMQConfigurationWithName",
"retrieves",
"all",
"AWSAmazonMQConfiguration",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L440-L448 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAmazonMQConfigurationAssociationResources | func (t *Template) GetAllAWSAmazonMQConfigurationAssociationResources() map[string]*resources.AWSAmazonMQConfigurationAssociation {
results := map[string]*resources.AWSAmazonMQConfigurationAssociation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAmazonMQConfigu... | go | func (t *Template) GetAllAWSAmazonMQConfigurationAssociationResources() map[string]*resources.AWSAmazonMQConfigurationAssociation {
results := map[string]*resources.AWSAmazonMQConfigurationAssociation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAmazonMQConfigu... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAmazonMQConfigurationAssociationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAmazonMQConfigurationAssociation",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",... | // GetAllAWSAmazonMQConfigurationAssociationResources retrieves all AWSAmazonMQConfigurationAssociation items from an AWS CloudFormation template | [
"GetAllAWSAmazonMQConfigurationAssociationResources",
"retrieves",
"all",
"AWSAmazonMQConfigurationAssociation",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L451-L460 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAmazonMQConfigurationAssociationWithName | func (t *Template) GetAWSAmazonMQConfigurationAssociationWithName(name string) (*resources.AWSAmazonMQConfigurationAssociation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAmazonMQConfigurationAssociation:
return resource, nil
}
}
return nil, fmt... | go | func (t *Template) GetAWSAmazonMQConfigurationAssociationWithName(name string) (*resources.AWSAmazonMQConfigurationAssociation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAmazonMQConfigurationAssociation:
return resource, nil
}
}
return nil, fmt... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAmazonMQConfigurationAssociationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAmazonMQConfigurationAssociation",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resource... | // GetAWSAmazonMQConfigurationAssociationWithName retrieves all AWSAmazonMQConfigurationAssociation items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAmazonMQConfigurationAssociationWithName",
"retrieves",
"all",
"AWSAmazonMQConfigurationAssociation",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"n... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L464-L472 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayAccountResources | func (t *Template) GetAllAWSApiGatewayAccountResources() map[string]*resources.AWSApiGatewayAccount {
results := map[string]*resources.AWSApiGatewayAccount{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayAccount:
results[name] = resource
}
}
retur... | go | func (t *Template) GetAllAWSApiGatewayAccountResources() map[string]*resources.AWSApiGatewayAccount {
results := map[string]*resources.AWSApiGatewayAccount{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayAccount:
results[name] = resource
}
}
retur... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayAccountResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayAccount",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayAccount",
"... | // GetAllAWSApiGatewayAccountResources retrieves all AWSApiGatewayAccount items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayAccountResources",
"retrieves",
"all",
"AWSApiGatewayAccount",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L475-L484 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayAccountWithName | func (t *Template) GetAWSApiGatewayAccountWithName(name string) (*resources.AWSApiGatewayAccount, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayAccount:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayAcc... | go | func (t *Template) GetAWSApiGatewayAccountWithName(name string) (*resources.AWSApiGatewayAccount, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayAccount:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayAcc... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayAccountWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayAccount",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSApiGatewayAccountWithName retrieves all AWSApiGatewayAccount items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayAccountWithName",
"retrieves",
"all",
"AWSApiGatewayAccount",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L488-L496 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayApiKeyResources | func (t *Template) GetAllAWSApiGatewayApiKeyResources() map[string]*resources.AWSApiGatewayApiKey {
results := map[string]*resources.AWSApiGatewayApiKey{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayApiKey:
results[name] = resource
}
}
return re... | go | func (t *Template) GetAllAWSApiGatewayApiKeyResources() map[string]*resources.AWSApiGatewayApiKey {
results := map[string]*resources.AWSApiGatewayApiKey{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayApiKey:
results[name] = resource
}
}
return re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayApiKeyResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayApiKey",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayApiKey",
"{",... | // GetAllAWSApiGatewayApiKeyResources retrieves all AWSApiGatewayApiKey items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayApiKeyResources",
"retrieves",
"all",
"AWSApiGatewayApiKey",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L499-L508 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayApiKeyWithName | func (t *Template) GetAWSApiGatewayApiKeyWithName(name string) (*resources.AWSApiGatewayApiKey, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayApiKey:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayApiKey... | go | func (t *Template) GetAWSApiGatewayApiKeyWithName(name string) (*resources.AWSApiGatewayApiKey, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayApiKey:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayApiKey... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayApiKeyWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayApiKey",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // GetAWSApiGatewayApiKeyWithName retrieves all AWSApiGatewayApiKey items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayApiKeyWithName",
"retrieves",
"all",
"AWSApiGatewayApiKey",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L512-L520 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayAuthorizerResources | func (t *Template) GetAllAWSApiGatewayAuthorizerResources() map[string]*resources.AWSApiGatewayAuthorizer {
results := map[string]*resources.AWSApiGatewayAuthorizer{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayAuthorizer:
results[name] = resource
... | go | func (t *Template) GetAllAWSApiGatewayAuthorizerResources() map[string]*resources.AWSApiGatewayAuthorizer {
results := map[string]*resources.AWSApiGatewayAuthorizer{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayAuthorizer:
results[name] = resource
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayAuthorizerResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayAuthorizer",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayAuthori... | // GetAllAWSApiGatewayAuthorizerResources retrieves all AWSApiGatewayAuthorizer items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayAuthorizerResources",
"retrieves",
"all",
"AWSApiGatewayAuthorizer",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L523-L532 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayAuthorizerWithName | func (t *Template) GetAWSApiGatewayAuthorizerWithName(name string) (*resources.AWSApiGatewayAuthorizer, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayAuthorizer:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiG... | go | func (t *Template) GetAWSApiGatewayAuthorizerWithName(name string) (*resources.AWSApiGatewayAuthorizer, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayAuthorizer:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiG... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayAuthorizerWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayAuthorizer",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"... | // GetAWSApiGatewayAuthorizerWithName retrieves all AWSApiGatewayAuthorizer items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayAuthorizerWithName",
"retrieves",
"all",
"AWSApiGatewayAuthorizer",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L536-L544 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayBasePathMappingResources | func (t *Template) GetAllAWSApiGatewayBasePathMappingResources() map[string]*resources.AWSApiGatewayBasePathMapping {
results := map[string]*resources.AWSApiGatewayBasePathMapping{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayBasePathMapping:
result... | go | func (t *Template) GetAllAWSApiGatewayBasePathMappingResources() map[string]*resources.AWSApiGatewayBasePathMapping {
results := map[string]*resources.AWSApiGatewayBasePathMapping{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayBasePathMapping:
result... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayBasePathMappingResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayBasePathMapping",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGate... | // GetAllAWSApiGatewayBasePathMappingResources retrieves all AWSApiGatewayBasePathMapping items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayBasePathMappingResources",
"retrieves",
"all",
"AWSApiGatewayBasePathMapping",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L547-L556 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayBasePathMappingWithName | func (t *Template) GetAWSApiGatewayBasePathMappingWithName(name string) (*resources.AWSApiGatewayBasePathMapping, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayBasePathMapping:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q ... | go | func (t *Template) GetAWSApiGatewayBasePathMappingWithName(name string) (*resources.AWSApiGatewayBasePathMapping, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayBasePathMapping:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayBasePathMappingWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayBasePathMapping",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"... | // GetAWSApiGatewayBasePathMappingWithName retrieves all AWSApiGatewayBasePathMapping items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayBasePathMappingWithName",
"retrieves",
"all",
"AWSApiGatewayBasePathMapping",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found"... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L560-L568 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayClientCertificateResources | func (t *Template) GetAllAWSApiGatewayClientCertificateResources() map[string]*resources.AWSApiGatewayClientCertificate {
results := map[string]*resources.AWSApiGatewayClientCertificate{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayClientCertificate:
... | go | func (t *Template) GetAllAWSApiGatewayClientCertificateResources() map[string]*resources.AWSApiGatewayClientCertificate {
results := map[string]*resources.AWSApiGatewayClientCertificate{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayClientCertificate:
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayClientCertificateResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayClientCertificate",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApi... | // GetAllAWSApiGatewayClientCertificateResources retrieves all AWSApiGatewayClientCertificate items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayClientCertificateResources",
"retrieves",
"all",
"AWSApiGatewayClientCertificate",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L571-L580 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayClientCertificateWithName | func (t *Template) GetAWSApiGatewayClientCertificateWithName(name string) (*resources.AWSApiGatewayClientCertificate, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayClientCertificate:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | go | func (t *Template) GetAWSApiGatewayClientCertificateWithName(name string) (*resources.AWSApiGatewayClientCertificate, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayClientCertificate:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayClientCertificateWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayClientCertificate",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",... | // GetAWSApiGatewayClientCertificateWithName retrieves all AWSApiGatewayClientCertificate items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayClientCertificateWithName",
"retrieves",
"all",
"AWSApiGatewayClientCertificate",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"fo... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L584-L592 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayDeploymentResources | func (t *Template) GetAllAWSApiGatewayDeploymentResources() map[string]*resources.AWSApiGatewayDeployment {
results := map[string]*resources.AWSApiGatewayDeployment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDeployment:
results[name] = resource
... | go | func (t *Template) GetAllAWSApiGatewayDeploymentResources() map[string]*resources.AWSApiGatewayDeployment {
results := map[string]*resources.AWSApiGatewayDeployment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDeployment:
results[name] = resource
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayDeploymentResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayDeployment",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayDeploym... | // GetAllAWSApiGatewayDeploymentResources retrieves all AWSApiGatewayDeployment items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayDeploymentResources",
"retrieves",
"all",
"AWSApiGatewayDeployment",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L595-L604 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayDeploymentWithName | func (t *Template) GetAWSApiGatewayDeploymentWithName(name string) (*resources.AWSApiGatewayDeployment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDeployment:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiG... | go | func (t *Template) GetAWSApiGatewayDeploymentWithName(name string) (*resources.AWSApiGatewayDeployment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDeployment:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiG... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayDeploymentWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayDeployment",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"... | // GetAWSApiGatewayDeploymentWithName retrieves all AWSApiGatewayDeployment items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayDeploymentWithName",
"retrieves",
"all",
"AWSApiGatewayDeployment",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L608-L616 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayDocumentationPartResources | func (t *Template) GetAllAWSApiGatewayDocumentationPartResources() map[string]*resources.AWSApiGatewayDocumentationPart {
results := map[string]*resources.AWSApiGatewayDocumentationPart{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDocumentationPart:
... | go | func (t *Template) GetAllAWSApiGatewayDocumentationPartResources() map[string]*resources.AWSApiGatewayDocumentationPart {
results := map[string]*resources.AWSApiGatewayDocumentationPart{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDocumentationPart:
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayDocumentationPartResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayDocumentationPart",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApi... | // GetAllAWSApiGatewayDocumentationPartResources retrieves all AWSApiGatewayDocumentationPart items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayDocumentationPartResources",
"retrieves",
"all",
"AWSApiGatewayDocumentationPart",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L619-L628 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayDocumentationPartWithName | func (t *Template) GetAWSApiGatewayDocumentationPartWithName(name string) (*resources.AWSApiGatewayDocumentationPart, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDocumentationPart:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | go | func (t *Template) GetAWSApiGatewayDocumentationPartWithName(name string) (*resources.AWSApiGatewayDocumentationPart, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDocumentationPart:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayDocumentationPartWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayDocumentationPart",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",... | // GetAWSApiGatewayDocumentationPartWithName retrieves all AWSApiGatewayDocumentationPart items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayDocumentationPartWithName",
"retrieves",
"all",
"AWSApiGatewayDocumentationPart",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"fo... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L632-L640 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayDocumentationVersionResources | func (t *Template) GetAllAWSApiGatewayDocumentationVersionResources() map[string]*resources.AWSApiGatewayDocumentationVersion {
results := map[string]*resources.AWSApiGatewayDocumentationVersion{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDocumentati... | go | func (t *Template) GetAllAWSApiGatewayDocumentationVersionResources() map[string]*resources.AWSApiGatewayDocumentationVersion {
results := map[string]*resources.AWSApiGatewayDocumentationVersion{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDocumentati... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayDocumentationVersionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayDocumentationVersion",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"... | // GetAllAWSApiGatewayDocumentationVersionResources retrieves all AWSApiGatewayDocumentationVersion items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayDocumentationVersionResources",
"retrieves",
"all",
"AWSApiGatewayDocumentationVersion",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L643-L652 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayDocumentationVersionWithName | func (t *Template) GetAWSApiGatewayDocumentationVersionWithName(name string) (*resources.AWSApiGatewayDocumentationVersion, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDocumentationVersion:
return resource, nil
}
}
return nil, fmt.Error... | go | func (t *Template) GetAWSApiGatewayDocumentationVersionWithName(name string) (*resources.AWSApiGatewayDocumentationVersion, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDocumentationVersion:
return resource, nil
}
}
return nil, fmt.Error... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayDocumentationVersionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayDocumentationVersion",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
... | // GetAWSApiGatewayDocumentationVersionWithName retrieves all AWSApiGatewayDocumentationVersion items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayDocumentationVersionWithName",
"retrieves",
"all",
"AWSApiGatewayDocumentationVersion",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L656-L664 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayDomainNameResources | func (t *Template) GetAllAWSApiGatewayDomainNameResources() map[string]*resources.AWSApiGatewayDomainName {
results := map[string]*resources.AWSApiGatewayDomainName{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDomainName:
results[name] = resource
... | go | func (t *Template) GetAllAWSApiGatewayDomainNameResources() map[string]*resources.AWSApiGatewayDomainName {
results := map[string]*resources.AWSApiGatewayDomainName{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDomainName:
results[name] = resource
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayDomainNameResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayDomainName",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayDomainN... | // GetAllAWSApiGatewayDomainNameResources retrieves all AWSApiGatewayDomainName items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayDomainNameResources",
"retrieves",
"all",
"AWSApiGatewayDomainName",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L667-L676 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayDomainNameWithName | func (t *Template) GetAWSApiGatewayDomainNameWithName(name string) (*resources.AWSApiGatewayDomainName, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDomainName:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiG... | go | func (t *Template) GetAWSApiGatewayDomainNameWithName(name string) (*resources.AWSApiGatewayDomainName, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayDomainName:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiG... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayDomainNameWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayDomainName",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"... | // GetAWSApiGatewayDomainNameWithName retrieves all AWSApiGatewayDomainName items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayDomainNameWithName",
"retrieves",
"all",
"AWSApiGatewayDomainName",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L680-L688 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayGatewayResponseResources | func (t *Template) GetAllAWSApiGatewayGatewayResponseResources() map[string]*resources.AWSApiGatewayGatewayResponse {
results := map[string]*resources.AWSApiGatewayGatewayResponse{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayGatewayResponse:
result... | go | func (t *Template) GetAllAWSApiGatewayGatewayResponseResources() map[string]*resources.AWSApiGatewayGatewayResponse {
results := map[string]*resources.AWSApiGatewayGatewayResponse{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayGatewayResponse:
result... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayGatewayResponseResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayGatewayResponse",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGate... | // GetAllAWSApiGatewayGatewayResponseResources retrieves all AWSApiGatewayGatewayResponse items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayGatewayResponseResources",
"retrieves",
"all",
"AWSApiGatewayGatewayResponse",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L691-L700 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayGatewayResponseWithName | func (t *Template) GetAWSApiGatewayGatewayResponseWithName(name string) (*resources.AWSApiGatewayGatewayResponse, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayGatewayResponse:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q ... | go | func (t *Template) GetAWSApiGatewayGatewayResponseWithName(name string) (*resources.AWSApiGatewayGatewayResponse, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayGatewayResponse:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayGatewayResponseWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayGatewayResponse",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"... | // GetAWSApiGatewayGatewayResponseWithName retrieves all AWSApiGatewayGatewayResponse items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayGatewayResponseWithName",
"retrieves",
"all",
"AWSApiGatewayGatewayResponse",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found"... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L704-L712 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayMethodResources | func (t *Template) GetAllAWSApiGatewayMethodResources() map[string]*resources.AWSApiGatewayMethod {
results := map[string]*resources.AWSApiGatewayMethod{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayMethod:
results[name] = resource
}
}
return re... | go | func (t *Template) GetAllAWSApiGatewayMethodResources() map[string]*resources.AWSApiGatewayMethod {
results := map[string]*resources.AWSApiGatewayMethod{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayMethod:
results[name] = resource
}
}
return re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayMethodResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayMethod",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayMethod",
"{",... | // GetAllAWSApiGatewayMethodResources retrieves all AWSApiGatewayMethod items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayMethodResources",
"retrieves",
"all",
"AWSApiGatewayMethod",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L715-L724 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayMethodWithName | func (t *Template) GetAWSApiGatewayMethodWithName(name string) (*resources.AWSApiGatewayMethod, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayMethod:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayMethod... | go | func (t *Template) GetAWSApiGatewayMethodWithName(name string) (*resources.AWSApiGatewayMethod, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayMethod:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayMethod... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayMethodWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayMethod",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // GetAWSApiGatewayMethodWithName retrieves all AWSApiGatewayMethod items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayMethodWithName",
"retrieves",
"all",
"AWSApiGatewayMethod",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L728-L736 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayModelResources | func (t *Template) GetAllAWSApiGatewayModelResources() map[string]*resources.AWSApiGatewayModel {
results := map[string]*resources.AWSApiGatewayModel{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayModel:
results[name] = resource
}
}
return result... | go | func (t *Template) GetAllAWSApiGatewayModelResources() map[string]*resources.AWSApiGatewayModel {
results := map[string]*resources.AWSApiGatewayModel{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayModel:
results[name] = resource
}
}
return result... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayModelResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayModel",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayModel",
"{",
... | // GetAllAWSApiGatewayModelResources retrieves all AWSApiGatewayModel items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayModelResources",
"retrieves",
"all",
"AWSApiGatewayModel",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L739-L748 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayModelWithName | func (t *Template) GetAWSApiGatewayModelWithName(name string) (*resources.AWSApiGatewayModel, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayModel:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayModel not... | go | func (t *Template) GetAWSApiGatewayModelWithName(name string) (*resources.AWSApiGatewayModel, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayModel:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayModel not... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayModelWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayModel",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",... | // GetAWSApiGatewayModelWithName retrieves all AWSApiGatewayModel items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayModelWithName",
"retrieves",
"all",
"AWSApiGatewayModel",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L752-L760 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayRequestValidatorResources | func (t *Template) GetAllAWSApiGatewayRequestValidatorResources() map[string]*resources.AWSApiGatewayRequestValidator {
results := map[string]*resources.AWSApiGatewayRequestValidator{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayRequestValidator:
re... | go | func (t *Template) GetAllAWSApiGatewayRequestValidatorResources() map[string]*resources.AWSApiGatewayRequestValidator {
results := map[string]*resources.AWSApiGatewayRequestValidator{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayRequestValidator:
re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayRequestValidatorResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayRequestValidator",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGa... | // GetAllAWSApiGatewayRequestValidatorResources retrieves all AWSApiGatewayRequestValidator items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayRequestValidatorResources",
"retrieves",
"all",
"AWSApiGatewayRequestValidator",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L763-L772 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayRequestValidatorWithName | func (t *Template) GetAWSApiGatewayRequestValidatorWithName(name string) (*resources.AWSApiGatewayRequestValidator, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayRequestValidator:
return resource, nil
}
}
return nil, fmt.Errorf("resource ... | go | func (t *Template) GetAWSApiGatewayRequestValidatorWithName(name string) (*resources.AWSApiGatewayRequestValidator, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayRequestValidator:
return resource, nil
}
}
return nil, fmt.Errorf("resource ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayRequestValidatorWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayRequestValidator",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
... | // GetAWSApiGatewayRequestValidatorWithName retrieves all AWSApiGatewayRequestValidator items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayRequestValidatorWithName",
"retrieves",
"all",
"AWSApiGatewayRequestValidator",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"foun... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L776-L784 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayResourceResources | func (t *Template) GetAllAWSApiGatewayResourceResources() map[string]*resources.AWSApiGatewayResource {
results := map[string]*resources.AWSApiGatewayResource{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayResource:
results[name] = resource
}
}
r... | go | func (t *Template) GetAllAWSApiGatewayResourceResources() map[string]*resources.AWSApiGatewayResource {
results := map[string]*resources.AWSApiGatewayResource{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayResource:
results[name] = resource
}
}
r... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayResourceResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayResource",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayResource",
... | // GetAllAWSApiGatewayResourceResources retrieves all AWSApiGatewayResource items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayResourceResources",
"retrieves",
"all",
"AWSApiGatewayResource",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L787-L796 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayResourceWithName | func (t *Template) GetAWSApiGatewayResourceWithName(name string) (*resources.AWSApiGatewayResource, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayResource:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGateway... | go | func (t *Template) GetAWSApiGatewayResourceWithName(name string) (*resources.AWSApiGatewayResource, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayResource:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGateway... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayResourceWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayResource",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSApiGatewayResourceWithName retrieves all AWSApiGatewayResource items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayResourceWithName",
"retrieves",
"all",
"AWSApiGatewayResource",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L800-L808 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayRestApiResources | func (t *Template) GetAllAWSApiGatewayRestApiResources() map[string]*resources.AWSApiGatewayRestApi {
results := map[string]*resources.AWSApiGatewayRestApi{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayRestApi:
results[name] = resource
}
}
retur... | go | func (t *Template) GetAllAWSApiGatewayRestApiResources() map[string]*resources.AWSApiGatewayRestApi {
results := map[string]*resources.AWSApiGatewayRestApi{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayRestApi:
results[name] = resource
}
}
retur... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayRestApiResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayRestApi",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayRestApi",
"... | // GetAllAWSApiGatewayRestApiResources retrieves all AWSApiGatewayRestApi items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayRestApiResources",
"retrieves",
"all",
"AWSApiGatewayRestApi",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L811-L820 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayRestApiWithName | func (t *Template) GetAWSApiGatewayRestApiWithName(name string) (*resources.AWSApiGatewayRestApi, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayRestApi:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayRes... | go | func (t *Template) GetAWSApiGatewayRestApiWithName(name string) (*resources.AWSApiGatewayRestApi, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayRestApi:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayRes... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayRestApiWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayRestApi",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSApiGatewayRestApiWithName retrieves all AWSApiGatewayRestApi items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayRestApiWithName",
"retrieves",
"all",
"AWSApiGatewayRestApi",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L824-L832 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayStageResources | func (t *Template) GetAllAWSApiGatewayStageResources() map[string]*resources.AWSApiGatewayStage {
results := map[string]*resources.AWSApiGatewayStage{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayStage:
results[name] = resource
}
}
return result... | go | func (t *Template) GetAllAWSApiGatewayStageResources() map[string]*resources.AWSApiGatewayStage {
results := map[string]*resources.AWSApiGatewayStage{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayStage:
results[name] = resource
}
}
return result... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayStageResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayStage",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayStage",
"{",
... | // GetAllAWSApiGatewayStageResources retrieves all AWSApiGatewayStage items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayStageResources",
"retrieves",
"all",
"AWSApiGatewayStage",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L835-L844 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayStageWithName | func (t *Template) GetAWSApiGatewayStageWithName(name string) (*resources.AWSApiGatewayStage, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayStage:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayStage not... | go | func (t *Template) GetAWSApiGatewayStageWithName(name string) (*resources.AWSApiGatewayStage, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayStage:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayStage not... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayStageWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayStage",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",... | // GetAWSApiGatewayStageWithName retrieves all AWSApiGatewayStage items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayStageWithName",
"retrieves",
"all",
"AWSApiGatewayStage",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L848-L856 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayUsagePlanResources | func (t *Template) GetAllAWSApiGatewayUsagePlanResources() map[string]*resources.AWSApiGatewayUsagePlan {
results := map[string]*resources.AWSApiGatewayUsagePlan{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayUsagePlan:
results[name] = resource
}
... | go | func (t *Template) GetAllAWSApiGatewayUsagePlanResources() map[string]*resources.AWSApiGatewayUsagePlan {
results := map[string]*resources.AWSApiGatewayUsagePlan{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayUsagePlan:
results[name] = resource
}
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayUsagePlanResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayUsagePlan",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayUsagePlan... | // GetAllAWSApiGatewayUsagePlanResources retrieves all AWSApiGatewayUsagePlan items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayUsagePlanResources",
"retrieves",
"all",
"AWSApiGatewayUsagePlan",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L859-L868 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayUsagePlanWithName | func (t *Template) GetAWSApiGatewayUsagePlanWithName(name string) (*resources.AWSApiGatewayUsagePlan, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayUsagePlan:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGate... | go | func (t *Template) GetAWSApiGatewayUsagePlanWithName(name string) (*resources.AWSApiGatewayUsagePlan, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayUsagePlan:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGate... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayUsagePlanWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayUsagePlan",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]"... | // GetAWSApiGatewayUsagePlanWithName retrieves all AWSApiGatewayUsagePlan items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayUsagePlanWithName",
"retrieves",
"all",
"AWSApiGatewayUsagePlan",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L872-L880 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayUsagePlanKeyResources | func (t *Template) GetAllAWSApiGatewayUsagePlanKeyResources() map[string]*resources.AWSApiGatewayUsagePlanKey {
results := map[string]*resources.AWSApiGatewayUsagePlanKey{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayUsagePlanKey:
results[name] = re... | go | func (t *Template) GetAllAWSApiGatewayUsagePlanKeyResources() map[string]*resources.AWSApiGatewayUsagePlanKey {
results := map[string]*resources.AWSApiGatewayUsagePlanKey{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayUsagePlanKey:
results[name] = re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayUsagePlanKeyResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayUsagePlanKey",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayUsa... | // GetAllAWSApiGatewayUsagePlanKeyResources retrieves all AWSApiGatewayUsagePlanKey items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayUsagePlanKeyResources",
"retrieves",
"all",
"AWSApiGatewayUsagePlanKey",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L883-L892 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayUsagePlanKeyWithName | func (t *Template) GetAWSApiGatewayUsagePlanKeyWithName(name string) (*resources.AWSApiGatewayUsagePlanKey, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayUsagePlanKey:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type A... | go | func (t *Template) GetAWSApiGatewayUsagePlanKeyWithName(name string) (*resources.AWSApiGatewayUsagePlanKey, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayUsagePlanKey:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type A... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayUsagePlanKeyWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayUsagePlanKey",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",... | // GetAWSApiGatewayUsagePlanKeyWithName retrieves all AWSApiGatewayUsagePlanKey items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayUsagePlanKeyWithName",
"retrieves",
"all",
"AWSApiGatewayUsagePlanKey",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
".... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L896-L904 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayVpcLinkResources | func (t *Template) GetAllAWSApiGatewayVpcLinkResources() map[string]*resources.AWSApiGatewayVpcLink {
results := map[string]*resources.AWSApiGatewayVpcLink{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayVpcLink:
results[name] = resource
}
}
retur... | go | func (t *Template) GetAllAWSApiGatewayVpcLinkResources() map[string]*resources.AWSApiGatewayVpcLink {
results := map[string]*resources.AWSApiGatewayVpcLink{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayVpcLink:
results[name] = resource
}
}
retur... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayVpcLinkResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayVpcLink",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayVpcLink",
"... | // GetAllAWSApiGatewayVpcLinkResources retrieves all AWSApiGatewayVpcLink items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayVpcLinkResources",
"retrieves",
"all",
"AWSApiGatewayVpcLink",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L907-L916 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayVpcLinkWithName | func (t *Template) GetAWSApiGatewayVpcLinkWithName(name string) (*resources.AWSApiGatewayVpcLink, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayVpcLink:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayVpc... | go | func (t *Template) GetAWSApiGatewayVpcLinkWithName(name string) (*resources.AWSApiGatewayVpcLink, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayVpcLink:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayVpc... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayVpcLinkWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayVpcLink",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSApiGatewayVpcLinkWithName retrieves all AWSApiGatewayVpcLink items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayVpcLinkWithName",
"retrieves",
"all",
"AWSApiGatewayVpcLink",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L920-L928 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayV2ApiResources | func (t *Template) GetAllAWSApiGatewayV2ApiResources() map[string]*resources.AWSApiGatewayV2Api {
results := map[string]*resources.AWSApiGatewayV2Api{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Api:
results[name] = resource
}
}
return result... | go | func (t *Template) GetAllAWSApiGatewayV2ApiResources() map[string]*resources.AWSApiGatewayV2Api {
results := map[string]*resources.AWSApiGatewayV2Api{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Api:
results[name] = resource
}
}
return result... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayV2ApiResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2Api",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2Api",
"{",
... | // GetAllAWSApiGatewayV2ApiResources retrieves all AWSApiGatewayV2Api items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayV2ApiResources",
"retrieves",
"all",
"AWSApiGatewayV2Api",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L931-L940 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayV2ApiWithName | func (t *Template) GetAWSApiGatewayV2ApiWithName(name string) (*resources.AWSApiGatewayV2Api, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Api:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayV2Api not... | go | func (t *Template) GetAWSApiGatewayV2ApiWithName(name string) (*resources.AWSApiGatewayV2Api, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Api:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayV2Api not... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayV2ApiWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayV2Api",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",... | // GetAWSApiGatewayV2ApiWithName retrieves all AWSApiGatewayV2Api items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayV2ApiWithName",
"retrieves",
"all",
"AWSApiGatewayV2Api",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L944-L952 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayV2AuthorizerResources | func (t *Template) GetAllAWSApiGatewayV2AuthorizerResources() map[string]*resources.AWSApiGatewayV2Authorizer {
results := map[string]*resources.AWSApiGatewayV2Authorizer{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Authorizer:
results[name] = re... | go | func (t *Template) GetAllAWSApiGatewayV2AuthorizerResources() map[string]*resources.AWSApiGatewayV2Authorizer {
results := map[string]*resources.AWSApiGatewayV2Authorizer{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Authorizer:
results[name] = re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayV2AuthorizerResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2Authorizer",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2A... | // GetAllAWSApiGatewayV2AuthorizerResources retrieves all AWSApiGatewayV2Authorizer items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayV2AuthorizerResources",
"retrieves",
"all",
"AWSApiGatewayV2Authorizer",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L955-L964 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayV2AuthorizerWithName | func (t *Template) GetAWSApiGatewayV2AuthorizerWithName(name string) (*resources.AWSApiGatewayV2Authorizer, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Authorizer:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type A... | go | func (t *Template) GetAWSApiGatewayV2AuthorizerWithName(name string) (*resources.AWSApiGatewayV2Authorizer, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Authorizer:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type A... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayV2AuthorizerWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayV2Authorizer",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",... | // GetAWSApiGatewayV2AuthorizerWithName retrieves all AWSApiGatewayV2Authorizer items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayV2AuthorizerWithName",
"retrieves",
"all",
"AWSApiGatewayV2Authorizer",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
".... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L968-L976 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayV2DeploymentResources | func (t *Template) GetAllAWSApiGatewayV2DeploymentResources() map[string]*resources.AWSApiGatewayV2Deployment {
results := map[string]*resources.AWSApiGatewayV2Deployment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Deployment:
results[name] = re... | go | func (t *Template) GetAllAWSApiGatewayV2DeploymentResources() map[string]*resources.AWSApiGatewayV2Deployment {
results := map[string]*resources.AWSApiGatewayV2Deployment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Deployment:
results[name] = re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayV2DeploymentResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2Deployment",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2D... | // GetAllAWSApiGatewayV2DeploymentResources retrieves all AWSApiGatewayV2Deployment items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayV2DeploymentResources",
"retrieves",
"all",
"AWSApiGatewayV2Deployment",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L979-L988 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayV2DeploymentWithName | func (t *Template) GetAWSApiGatewayV2DeploymentWithName(name string) (*resources.AWSApiGatewayV2Deployment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Deployment:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type A... | go | func (t *Template) GetAWSApiGatewayV2DeploymentWithName(name string) (*resources.AWSApiGatewayV2Deployment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Deployment:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type A... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayV2DeploymentWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayV2Deployment",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",... | // GetAWSApiGatewayV2DeploymentWithName retrieves all AWSApiGatewayV2Deployment items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayV2DeploymentWithName",
"retrieves",
"all",
"AWSApiGatewayV2Deployment",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
".... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L992-L1000 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayV2IntegrationResources | func (t *Template) GetAllAWSApiGatewayV2IntegrationResources() map[string]*resources.AWSApiGatewayV2Integration {
results := map[string]*resources.AWSApiGatewayV2Integration{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Integration:
results[name] ... | go | func (t *Template) GetAllAWSApiGatewayV2IntegrationResources() map[string]*resources.AWSApiGatewayV2Integration {
results := map[string]*resources.AWSApiGatewayV2Integration{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Integration:
results[name] ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayV2IntegrationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2Integration",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV... | // GetAllAWSApiGatewayV2IntegrationResources retrieves all AWSApiGatewayV2Integration items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayV2IntegrationResources",
"retrieves",
"all",
"AWSApiGatewayV2Integration",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1003-L1012 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayV2IntegrationWithName | func (t *Template) GetAWSApiGatewayV2IntegrationWithName(name string) (*resources.AWSApiGatewayV2Integration, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Integration:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of typ... | go | func (t *Template) GetAWSApiGatewayV2IntegrationWithName(name string) (*resources.AWSApiGatewayV2Integration, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Integration:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of typ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayV2IntegrationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayV2Integration",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name... | // GetAWSApiGatewayV2IntegrationWithName retrieves all AWSApiGatewayV2Integration items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayV2IntegrationWithName",
"retrieves",
"all",
"AWSApiGatewayV2Integration",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1016-L1024 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayV2IntegrationResponseResources | func (t *Template) GetAllAWSApiGatewayV2IntegrationResponseResources() map[string]*resources.AWSApiGatewayV2IntegrationResponse {
results := map[string]*resources.AWSApiGatewayV2IntegrationResponse{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Integr... | go | func (t *Template) GetAllAWSApiGatewayV2IntegrationResponseResources() map[string]*resources.AWSApiGatewayV2IntegrationResponse {
results := map[string]*resources.AWSApiGatewayV2IntegrationResponse{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Integr... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayV2IntegrationResponseResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2IntegrationResponse",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
... | // GetAllAWSApiGatewayV2IntegrationResponseResources retrieves all AWSApiGatewayV2IntegrationResponse items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayV2IntegrationResponseResources",
"retrieves",
"all",
"AWSApiGatewayV2IntegrationResponse",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1027-L1036 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayV2IntegrationResponseWithName | func (t *Template) GetAWSApiGatewayV2IntegrationResponseWithName(name string) (*resources.AWSApiGatewayV2IntegrationResponse, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2IntegrationResponse:
return resource, nil
}
}
return nil, fmt.Er... | go | func (t *Template) GetAWSApiGatewayV2IntegrationResponseWithName(name string) (*resources.AWSApiGatewayV2IntegrationResponse, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2IntegrationResponse:
return resource, nil
}
}
return nil, fmt.Er... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayV2IntegrationResponseWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayV2IntegrationResponse",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources"... | // GetAWSApiGatewayV2IntegrationResponseWithName retrieves all AWSApiGatewayV2IntegrationResponse items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayV2IntegrationResponseWithName",
"retrieves",
"all",
"AWSApiGatewayV2IntegrationResponse",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1040-L1048 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayV2ModelResources | func (t *Template) GetAllAWSApiGatewayV2ModelResources() map[string]*resources.AWSApiGatewayV2Model {
results := map[string]*resources.AWSApiGatewayV2Model{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Model:
results[name] = resource
}
}
retur... | go | func (t *Template) GetAllAWSApiGatewayV2ModelResources() map[string]*resources.AWSApiGatewayV2Model {
results := map[string]*resources.AWSApiGatewayV2Model{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Model:
results[name] = resource
}
}
retur... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayV2ModelResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2Model",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2Model",
"... | // GetAllAWSApiGatewayV2ModelResources retrieves all AWSApiGatewayV2Model items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayV2ModelResources",
"retrieves",
"all",
"AWSApiGatewayV2Model",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1051-L1060 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayV2ModelWithName | func (t *Template) GetAWSApiGatewayV2ModelWithName(name string) (*resources.AWSApiGatewayV2Model, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Model:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayV2M... | go | func (t *Template) GetAWSApiGatewayV2ModelWithName(name string) (*resources.AWSApiGatewayV2Model, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Model:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayV2M... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayV2ModelWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayV2Model",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSApiGatewayV2ModelWithName retrieves all AWSApiGatewayV2Model items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayV2ModelWithName",
"retrieves",
"all",
"AWSApiGatewayV2Model",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1064-L1072 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayV2RouteResources | func (t *Template) GetAllAWSApiGatewayV2RouteResources() map[string]*resources.AWSApiGatewayV2Route {
results := map[string]*resources.AWSApiGatewayV2Route{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Route:
results[name] = resource
}
}
retur... | go | func (t *Template) GetAllAWSApiGatewayV2RouteResources() map[string]*resources.AWSApiGatewayV2Route {
results := map[string]*resources.AWSApiGatewayV2Route{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Route:
results[name] = resource
}
}
retur... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayV2RouteResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2Route",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2Route",
"... | // GetAllAWSApiGatewayV2RouteResources retrieves all AWSApiGatewayV2Route items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayV2RouteResources",
"retrieves",
"all",
"AWSApiGatewayV2Route",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1075-L1084 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayV2RouteWithName | func (t *Template) GetAWSApiGatewayV2RouteWithName(name string) (*resources.AWSApiGatewayV2Route, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Route:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayV2R... | go | func (t *Template) GetAWSApiGatewayV2RouteWithName(name string) (*resources.AWSApiGatewayV2Route, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Route:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayV2R... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayV2RouteWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayV2Route",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSApiGatewayV2RouteWithName retrieves all AWSApiGatewayV2Route items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayV2RouteWithName",
"retrieves",
"all",
"AWSApiGatewayV2Route",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1088-L1096 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayV2RouteResponseResources | func (t *Template) GetAllAWSApiGatewayV2RouteResponseResources() map[string]*resources.AWSApiGatewayV2RouteResponse {
results := map[string]*resources.AWSApiGatewayV2RouteResponse{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2RouteResponse:
result... | go | func (t *Template) GetAllAWSApiGatewayV2RouteResponseResources() map[string]*resources.AWSApiGatewayV2RouteResponse {
results := map[string]*resources.AWSApiGatewayV2RouteResponse{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2RouteResponse:
result... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayV2RouteResponseResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2RouteResponse",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGate... | // GetAllAWSApiGatewayV2RouteResponseResources retrieves all AWSApiGatewayV2RouteResponse items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayV2RouteResponseResources",
"retrieves",
"all",
"AWSApiGatewayV2RouteResponse",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1099-L1108 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayV2RouteResponseWithName | func (t *Template) GetAWSApiGatewayV2RouteResponseWithName(name string) (*resources.AWSApiGatewayV2RouteResponse, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2RouteResponse:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q ... | go | func (t *Template) GetAWSApiGatewayV2RouteResponseWithName(name string) (*resources.AWSApiGatewayV2RouteResponse, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2RouteResponse:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayV2RouteResponseWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayV2RouteResponse",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"... | // GetAWSApiGatewayV2RouteResponseWithName retrieves all AWSApiGatewayV2RouteResponse items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayV2RouteResponseWithName",
"retrieves",
"all",
"AWSApiGatewayV2RouteResponse",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found"... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1112-L1120 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApiGatewayV2StageResources | func (t *Template) GetAllAWSApiGatewayV2StageResources() map[string]*resources.AWSApiGatewayV2Stage {
results := map[string]*resources.AWSApiGatewayV2Stage{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Stage:
results[name] = resource
}
}
retur... | go | func (t *Template) GetAllAWSApiGatewayV2StageResources() map[string]*resources.AWSApiGatewayV2Stage {
results := map[string]*resources.AWSApiGatewayV2Stage{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Stage:
results[name] = resource
}
}
retur... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApiGatewayV2StageResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2Stage",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApiGatewayV2Stage",
"... | // GetAllAWSApiGatewayV2StageResources retrieves all AWSApiGatewayV2Stage items from an AWS CloudFormation template | [
"GetAllAWSApiGatewayV2StageResources",
"retrieves",
"all",
"AWSApiGatewayV2Stage",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1123-L1132 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApiGatewayV2StageWithName | func (t *Template) GetAWSApiGatewayV2StageWithName(name string) (*resources.AWSApiGatewayV2Stage, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Stage:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayV2S... | go | func (t *Template) GetAWSApiGatewayV2StageWithName(name string) (*resources.AWSApiGatewayV2Stage, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApiGatewayV2Stage:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSApiGatewayV2S... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApiGatewayV2StageWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApiGatewayV2Stage",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSApiGatewayV2StageWithName retrieves all AWSApiGatewayV2Stage items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApiGatewayV2StageWithName",
"retrieves",
"all",
"AWSApiGatewayV2Stage",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1136-L1144 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppMeshMeshResources | func (t *Template) GetAllAWSAppMeshMeshResources() map[string]*resources.AWSAppMeshMesh {
results := map[string]*resources.AWSAppMeshMesh{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppMeshMesh:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSAppMeshMeshResources() map[string]*resources.AWSAppMeshMesh {
results := map[string]*resources.AWSAppMeshMesh{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppMeshMesh:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppMeshMeshResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppMeshMesh",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppMeshMesh",
"{",
"}",
"\n",... | // GetAllAWSAppMeshMeshResources retrieves all AWSAppMeshMesh items from an AWS CloudFormation template | [
"GetAllAWSAppMeshMeshResources",
"retrieves",
"all",
"AWSAppMeshMesh",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1147-L1156 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppMeshMeshWithName | func (t *Template) GetAWSAppMeshMeshWithName(name string) (*resources.AWSAppMeshMesh, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppMeshMesh:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppMeshMesh not found", name)
} | go | func (t *Template) GetAWSAppMeshMeshWithName(name string) (*resources.AWSAppMeshMesh, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppMeshMesh:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppMeshMesh not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppMeshMeshWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppMeshMesh",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"ok",... | // GetAWSAppMeshMeshWithName retrieves all AWSAppMeshMesh items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppMeshMeshWithName",
"retrieves",
"all",
"AWSAppMeshMesh",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1160-L1168 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppMeshRouteResources | func (t *Template) GetAllAWSAppMeshRouteResources() map[string]*resources.AWSAppMeshRoute {
results := map[string]*resources.AWSAppMeshRoute{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppMeshRoute:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSAppMeshRouteResources() map[string]*resources.AWSAppMeshRoute {
results := map[string]*resources.AWSAppMeshRoute{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppMeshRoute:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppMeshRouteResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppMeshRoute",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppMeshRoute",
"{",
"}",
"\... | // GetAllAWSAppMeshRouteResources retrieves all AWSAppMeshRoute items from an AWS CloudFormation template | [
"GetAllAWSAppMeshRouteResources",
"retrieves",
"all",
"AWSAppMeshRoute",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1171-L1180 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppMeshRouteWithName | func (t *Template) GetAWSAppMeshRouteWithName(name string) (*resources.AWSAppMeshRoute, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppMeshRoute:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppMeshRoute not found", nam... | go | func (t *Template) GetAWSAppMeshRouteWithName(name string) (*resources.AWSAppMeshRoute, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppMeshRoute:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppMeshRoute not found", nam... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppMeshRouteWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppMeshRoute",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"ok... | // GetAWSAppMeshRouteWithName retrieves all AWSAppMeshRoute items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppMeshRouteWithName",
"retrieves",
"all",
"AWSAppMeshRoute",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1184-L1192 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppMeshVirtualNodeResources | func (t *Template) GetAllAWSAppMeshVirtualNodeResources() map[string]*resources.AWSAppMeshVirtualNode {
results := map[string]*resources.AWSAppMeshVirtualNode{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppMeshVirtualNode:
results[name] = resource
}
}
r... | go | func (t *Template) GetAllAWSAppMeshVirtualNodeResources() map[string]*resources.AWSAppMeshVirtualNode {
results := map[string]*resources.AWSAppMeshVirtualNode{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppMeshVirtualNode:
results[name] = resource
}
}
r... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppMeshVirtualNodeResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppMeshVirtualNode",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppMeshVirtualNode",
... | // GetAllAWSAppMeshVirtualNodeResources retrieves all AWSAppMeshVirtualNode items from an AWS CloudFormation template | [
"GetAllAWSAppMeshVirtualNodeResources",
"retrieves",
"all",
"AWSAppMeshVirtualNode",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1195-L1204 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppMeshVirtualNodeWithName | func (t *Template) GetAWSAppMeshVirtualNodeWithName(name string) (*resources.AWSAppMeshVirtualNode, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppMeshVirtualNode:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppMeshVir... | go | func (t *Template) GetAWSAppMeshVirtualNodeWithName(name string) (*resources.AWSAppMeshVirtualNode, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppMeshVirtualNode:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppMeshVir... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppMeshVirtualNodeWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppMeshVirtualNode",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSAppMeshVirtualNodeWithName retrieves all AWSAppMeshVirtualNode items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppMeshVirtualNodeWithName",
"retrieves",
"all",
"AWSAppMeshVirtualNode",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1208-L1216 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppMeshVirtualRouterResources | func (t *Template) GetAllAWSAppMeshVirtualRouterResources() map[string]*resources.AWSAppMeshVirtualRouter {
results := map[string]*resources.AWSAppMeshVirtualRouter{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppMeshVirtualRouter:
results[name] = resource
... | go | func (t *Template) GetAllAWSAppMeshVirtualRouterResources() map[string]*resources.AWSAppMeshVirtualRouter {
results := map[string]*resources.AWSAppMeshVirtualRouter{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppMeshVirtualRouter:
results[name] = resource
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppMeshVirtualRouterResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppMeshVirtualRouter",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppMeshVirtualRou... | // GetAllAWSAppMeshVirtualRouterResources retrieves all AWSAppMeshVirtualRouter items from an AWS CloudFormation template | [
"GetAllAWSAppMeshVirtualRouterResources",
"retrieves",
"all",
"AWSAppMeshVirtualRouter",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1219-L1228 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppMeshVirtualRouterWithName | func (t *Template) GetAWSAppMeshVirtualRouterWithName(name string) (*resources.AWSAppMeshVirtualRouter, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppMeshVirtualRouter:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppM... | go | func (t *Template) GetAWSAppMeshVirtualRouterWithName(name string) (*resources.AWSAppMeshVirtualRouter, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppMeshVirtualRouter:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppM... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppMeshVirtualRouterWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppMeshVirtualRouter",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"... | // GetAWSAppMeshVirtualRouterWithName retrieves all AWSAppMeshVirtualRouter items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppMeshVirtualRouterWithName",
"retrieves",
"all",
"AWSAppMeshVirtualRouter",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1232-L1240 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppMeshVirtualServiceResources | func (t *Template) GetAllAWSAppMeshVirtualServiceResources() map[string]*resources.AWSAppMeshVirtualService {
results := map[string]*resources.AWSAppMeshVirtualService{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppMeshVirtualService:
results[name] = resour... | go | func (t *Template) GetAllAWSAppMeshVirtualServiceResources() map[string]*resources.AWSAppMeshVirtualService {
results := map[string]*resources.AWSAppMeshVirtualService{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppMeshVirtualService:
results[name] = resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppMeshVirtualServiceResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppMeshVirtualService",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppMeshVirtualS... | // GetAllAWSAppMeshVirtualServiceResources retrieves all AWSAppMeshVirtualService items from an AWS CloudFormation template | [
"GetAllAWSAppMeshVirtualServiceResources",
"retrieves",
"all",
"AWSAppMeshVirtualService",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1243-L1252 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppMeshVirtualServiceWithName | func (t *Template) GetAWSAppMeshVirtualServiceWithName(name string) (*resources.AWSAppMeshVirtualService, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppMeshVirtualService:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSA... | go | func (t *Template) GetAWSAppMeshVirtualServiceWithName(name string) (*resources.AWSAppMeshVirtualService, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppMeshVirtualService:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSA... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppMeshVirtualServiceWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppMeshVirtualService",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
... | // GetAWSAppMeshVirtualServiceWithName retrieves all AWSAppMeshVirtualService items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppMeshVirtualServiceWithName",
"retrieves",
"all",
"AWSAppMeshVirtualService",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1256-L1264 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppStreamDirectoryConfigResources | func (t *Template) GetAllAWSAppStreamDirectoryConfigResources() map[string]*resources.AWSAppStreamDirectoryConfig {
results := map[string]*resources.AWSAppStreamDirectoryConfig{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppStreamDirectoryConfig:
results[na... | go | func (t *Template) GetAllAWSAppStreamDirectoryConfigResources() map[string]*resources.AWSAppStreamDirectoryConfig {
results := map[string]*resources.AWSAppStreamDirectoryConfig{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppStreamDirectoryConfig:
results[na... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppStreamDirectoryConfigResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppStreamDirectoryConfig",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppStream... | // GetAllAWSAppStreamDirectoryConfigResources retrieves all AWSAppStreamDirectoryConfig items from an AWS CloudFormation template | [
"GetAllAWSAppStreamDirectoryConfigResources",
"retrieves",
"all",
"AWSAppStreamDirectoryConfig",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1267-L1276 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppStreamDirectoryConfigWithName | func (t *Template) GetAWSAppStreamDirectoryConfigWithName(name string) (*resources.AWSAppStreamDirectoryConfig, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppStreamDirectoryConfig:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of ... | go | func (t *Template) GetAWSAppStreamDirectoryConfigWithName(name string) (*resources.AWSAppStreamDirectoryConfig, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppStreamDirectoryConfig:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppStreamDirectoryConfigWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppStreamDirectoryConfig",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"na... | // GetAWSAppStreamDirectoryConfigWithName retrieves all AWSAppStreamDirectoryConfig items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppStreamDirectoryConfigWithName",
"retrieves",
"all",
"AWSAppStreamDirectoryConfig",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1280-L1288 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppStreamFleetResources | func (t *Template) GetAllAWSAppStreamFleetResources() map[string]*resources.AWSAppStreamFleet {
results := map[string]*resources.AWSAppStreamFleet{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppStreamFleet:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSAppStreamFleetResources() map[string]*resources.AWSAppStreamFleet {
results := map[string]*resources.AWSAppStreamFleet{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppStreamFleet:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppStreamFleetResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppStreamFleet",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppStreamFleet",
"{",
"}"... | // GetAllAWSAppStreamFleetResources retrieves all AWSAppStreamFleet items from an AWS CloudFormation template | [
"GetAllAWSAppStreamFleetResources",
"retrieves",
"all",
"AWSAppStreamFleet",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1291-L1300 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppStreamFleetWithName | func (t *Template) GetAWSAppStreamFleetWithName(name string) (*resources.AWSAppStreamFleet, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppStreamFleet:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppStreamFleet not fou... | go | func (t *Template) GetAWSAppStreamFleetWithName(name string) (*resources.AWSAppStreamFleet, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppStreamFleet:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppStreamFleet not fou... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppStreamFleetWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppStreamFleet",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
... | // GetAWSAppStreamFleetWithName retrieves all AWSAppStreamFleet items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppStreamFleetWithName",
"retrieves",
"all",
"AWSAppStreamFleet",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1304-L1312 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppStreamImageBuilderResources | func (t *Template) GetAllAWSAppStreamImageBuilderResources() map[string]*resources.AWSAppStreamImageBuilder {
results := map[string]*resources.AWSAppStreamImageBuilder{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppStreamImageBuilder:
results[name] = resour... | go | func (t *Template) GetAllAWSAppStreamImageBuilderResources() map[string]*resources.AWSAppStreamImageBuilder {
results := map[string]*resources.AWSAppStreamImageBuilder{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppStreamImageBuilder:
results[name] = resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppStreamImageBuilderResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppStreamImageBuilder",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppStreamImageB... | // GetAllAWSAppStreamImageBuilderResources retrieves all AWSAppStreamImageBuilder items from an AWS CloudFormation template | [
"GetAllAWSAppStreamImageBuilderResources",
"retrieves",
"all",
"AWSAppStreamImageBuilder",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1315-L1324 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppStreamImageBuilderWithName | func (t *Template) GetAWSAppStreamImageBuilderWithName(name string) (*resources.AWSAppStreamImageBuilder, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppStreamImageBuilder:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSA... | go | func (t *Template) GetAWSAppStreamImageBuilderWithName(name string) (*resources.AWSAppStreamImageBuilder, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppStreamImageBuilder:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSA... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppStreamImageBuilderWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppStreamImageBuilder",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
... | // GetAWSAppStreamImageBuilderWithName retrieves all AWSAppStreamImageBuilder items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppStreamImageBuilderWithName",
"retrieves",
"all",
"AWSAppStreamImageBuilder",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1328-L1336 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppStreamStackResources | func (t *Template) GetAllAWSAppStreamStackResources() map[string]*resources.AWSAppStreamStack {
results := map[string]*resources.AWSAppStreamStack{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppStreamStack:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSAppStreamStackResources() map[string]*resources.AWSAppStreamStack {
results := map[string]*resources.AWSAppStreamStack{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppStreamStack:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppStreamStackResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppStreamStack",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppStreamStack",
"{",
"}"... | // GetAllAWSAppStreamStackResources retrieves all AWSAppStreamStack items from an AWS CloudFormation template | [
"GetAllAWSAppStreamStackResources",
"retrieves",
"all",
"AWSAppStreamStack",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1339-L1348 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppStreamStackWithName | func (t *Template) GetAWSAppStreamStackWithName(name string) (*resources.AWSAppStreamStack, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppStreamStack:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppStreamStack not fou... | go | func (t *Template) GetAWSAppStreamStackWithName(name string) (*resources.AWSAppStreamStack, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppStreamStack:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppStreamStack not fou... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppStreamStackWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppStreamStack",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
... | // GetAWSAppStreamStackWithName retrieves all AWSAppStreamStack items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppStreamStackWithName",
"retrieves",
"all",
"AWSAppStreamStack",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1352-L1360 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppStreamStackFleetAssociationResources | func (t *Template) GetAllAWSAppStreamStackFleetAssociationResources() map[string]*resources.AWSAppStreamStackFleetAssociation {
results := map[string]*resources.AWSAppStreamStackFleetAssociation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppStreamStackFleetAs... | go | func (t *Template) GetAllAWSAppStreamStackFleetAssociationResources() map[string]*resources.AWSAppStreamStackFleetAssociation {
results := map[string]*resources.AWSAppStreamStackFleetAssociation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppStreamStackFleetAs... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppStreamStackFleetAssociationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppStreamStackFleetAssociation",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"... | // GetAllAWSAppStreamStackFleetAssociationResources retrieves all AWSAppStreamStackFleetAssociation items from an AWS CloudFormation template | [
"GetAllAWSAppStreamStackFleetAssociationResources",
"retrieves",
"all",
"AWSAppStreamStackFleetAssociation",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1363-L1372 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppStreamStackFleetAssociationWithName | func (t *Template) GetAWSAppStreamStackFleetAssociationWithName(name string) (*resources.AWSAppStreamStackFleetAssociation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppStreamStackFleetAssociation:
return resource, nil
}
}
return nil, fmt.Error... | go | func (t *Template) GetAWSAppStreamStackFleetAssociationWithName(name string) (*resources.AWSAppStreamStackFleetAssociation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppStreamStackFleetAssociation:
return resource, nil
}
}
return nil, fmt.Error... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppStreamStackFleetAssociationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppStreamStackFleetAssociation",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
... | // GetAWSAppStreamStackFleetAssociationWithName retrieves all AWSAppStreamStackFleetAssociation items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppStreamStackFleetAssociationWithName",
"retrieves",
"all",
"AWSAppStreamStackFleetAssociation",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1376-L1384 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppStreamStackUserAssociationResources | func (t *Template) GetAllAWSAppStreamStackUserAssociationResources() map[string]*resources.AWSAppStreamStackUserAssociation {
results := map[string]*resources.AWSAppStreamStackUserAssociation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppStreamStackUserAssoci... | go | func (t *Template) GetAllAWSAppStreamStackUserAssociationResources() map[string]*resources.AWSAppStreamStackUserAssociation {
results := map[string]*resources.AWSAppStreamStackUserAssociation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppStreamStackUserAssoci... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppStreamStackUserAssociationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppStreamStackUserAssociation",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AW... | // GetAllAWSAppStreamStackUserAssociationResources retrieves all AWSAppStreamStackUserAssociation items from an AWS CloudFormation template | [
"GetAllAWSAppStreamStackUserAssociationResources",
"retrieves",
"all",
"AWSAppStreamStackUserAssociation",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1387-L1396 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppStreamStackUserAssociationWithName | func (t *Template) GetAWSAppStreamStackUserAssociationWithName(name string) (*resources.AWSAppStreamStackUserAssociation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppStreamStackUserAssociation:
return resource, nil
}
}
return nil, fmt.Errorf("... | go | func (t *Template) GetAWSAppStreamStackUserAssociationWithName(name string) (*resources.AWSAppStreamStackUserAssociation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppStreamStackUserAssociation:
return resource, nil
}
}
return nil, fmt.Errorf("... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppStreamStackUserAssociationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppStreamStackUserAssociation",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
... | // GetAWSAppStreamStackUserAssociationWithName retrieves all AWSAppStreamStackUserAssociation items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppStreamStackUserAssociationWithName",
"retrieves",
"all",
"AWSAppStreamStackUserAssociation",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1400-L1408 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppStreamUserResources | func (t *Template) GetAllAWSAppStreamUserResources() map[string]*resources.AWSAppStreamUser {
results := map[string]*resources.AWSAppStreamUser{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppStreamUser:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSAppStreamUserResources() map[string]*resources.AWSAppStreamUser {
results := map[string]*resources.AWSAppStreamUser{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppStreamUser:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppStreamUserResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppStreamUser",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppStreamUser",
"{",
"}",
... | // GetAllAWSAppStreamUserResources retrieves all AWSAppStreamUser items from an AWS CloudFormation template | [
"GetAllAWSAppStreamUserResources",
"retrieves",
"all",
"AWSAppStreamUser",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1411-L1420 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppStreamUserWithName | func (t *Template) GetAWSAppStreamUserWithName(name string) (*resources.AWSAppStreamUser, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppStreamUser:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppStreamUser not found",... | go | func (t *Template) GetAWSAppStreamUserWithName(name string) (*resources.AWSAppStreamUser, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppStreamUser:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppStreamUser not found",... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppStreamUserWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppStreamUser",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"... | // GetAWSAppStreamUserWithName retrieves all AWSAppStreamUser items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppStreamUserWithName",
"retrieves",
"all",
"AWSAppStreamUser",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1424-L1432 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppSyncApiKeyResources | func (t *Template) GetAllAWSAppSyncApiKeyResources() map[string]*resources.AWSAppSyncApiKey {
results := map[string]*resources.AWSAppSyncApiKey{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppSyncApiKey:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSAppSyncApiKeyResources() map[string]*resources.AWSAppSyncApiKey {
results := map[string]*resources.AWSAppSyncApiKey{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppSyncApiKey:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppSyncApiKeyResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppSyncApiKey",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppSyncApiKey",
"{",
"}",
... | // GetAllAWSAppSyncApiKeyResources retrieves all AWSAppSyncApiKey items from an AWS CloudFormation template | [
"GetAllAWSAppSyncApiKeyResources",
"retrieves",
"all",
"AWSAppSyncApiKey",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1435-L1444 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppSyncApiKeyWithName | func (t *Template) GetAWSAppSyncApiKeyWithName(name string) (*resources.AWSAppSyncApiKey, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppSyncApiKey:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppSyncApiKey not found",... | go | func (t *Template) GetAWSAppSyncApiKeyWithName(name string) (*resources.AWSAppSyncApiKey, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppSyncApiKey:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppSyncApiKey not found",... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppSyncApiKeyWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppSyncApiKey",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"... | // GetAWSAppSyncApiKeyWithName retrieves all AWSAppSyncApiKey items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppSyncApiKeyWithName",
"retrieves",
"all",
"AWSAppSyncApiKey",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1448-L1456 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppSyncDataSourceResources | func (t *Template) GetAllAWSAppSyncDataSourceResources() map[string]*resources.AWSAppSyncDataSource {
results := map[string]*resources.AWSAppSyncDataSource{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppSyncDataSource:
results[name] = resource
}
}
retur... | go | func (t *Template) GetAllAWSAppSyncDataSourceResources() map[string]*resources.AWSAppSyncDataSource {
results := map[string]*resources.AWSAppSyncDataSource{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppSyncDataSource:
results[name] = resource
}
}
retur... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppSyncDataSourceResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppSyncDataSource",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppSyncDataSource",
"... | // GetAllAWSAppSyncDataSourceResources retrieves all AWSAppSyncDataSource items from an AWS CloudFormation template | [
"GetAllAWSAppSyncDataSourceResources",
"retrieves",
"all",
"AWSAppSyncDataSource",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1459-L1468 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppSyncDataSourceWithName | func (t *Template) GetAWSAppSyncDataSourceWithName(name string) (*resources.AWSAppSyncDataSource, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppSyncDataSource:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppSyncDataSo... | go | func (t *Template) GetAWSAppSyncDataSourceWithName(name string) (*resources.AWSAppSyncDataSource, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppSyncDataSource:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppSyncDataSo... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppSyncDataSourceWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppSyncDataSource",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSAppSyncDataSourceWithName retrieves all AWSAppSyncDataSource items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppSyncDataSourceWithName",
"retrieves",
"all",
"AWSAppSyncDataSource",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1472-L1480 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppSyncFunctionConfigurationResources | func (t *Template) GetAllAWSAppSyncFunctionConfigurationResources() map[string]*resources.AWSAppSyncFunctionConfiguration {
results := map[string]*resources.AWSAppSyncFunctionConfiguration{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppSyncFunctionConfiguratio... | go | func (t *Template) GetAllAWSAppSyncFunctionConfigurationResources() map[string]*resources.AWSAppSyncFunctionConfiguration {
results := map[string]*resources.AWSAppSyncFunctionConfiguration{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppSyncFunctionConfiguratio... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppSyncFunctionConfigurationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppSyncFunctionConfiguration",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSA... | // GetAllAWSAppSyncFunctionConfigurationResources retrieves all AWSAppSyncFunctionConfiguration items from an AWS CloudFormation template | [
"GetAllAWSAppSyncFunctionConfigurationResources",
"retrieves",
"all",
"AWSAppSyncFunctionConfiguration",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1483-L1492 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppSyncFunctionConfigurationWithName | func (t *Template) GetAWSAppSyncFunctionConfigurationWithName(name string) (*resources.AWSAppSyncFunctionConfiguration, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppSyncFunctionConfiguration:
return resource, nil
}
}
return nil, fmt.Errorf("res... | go | func (t *Template) GetAWSAppSyncFunctionConfigurationWithName(name string) (*resources.AWSAppSyncFunctionConfiguration, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppSyncFunctionConfiguration:
return resource, nil
}
}
return nil, fmt.Errorf("res... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppSyncFunctionConfigurationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppSyncFunctionConfiguration",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[... | // GetAWSAppSyncFunctionConfigurationWithName retrieves all AWSAppSyncFunctionConfiguration items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppSyncFunctionConfigurationWithName",
"retrieves",
"all",
"AWSAppSyncFunctionConfiguration",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1496-L1504 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppSyncGraphQLApiResources | func (t *Template) GetAllAWSAppSyncGraphQLApiResources() map[string]*resources.AWSAppSyncGraphQLApi {
results := map[string]*resources.AWSAppSyncGraphQLApi{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppSyncGraphQLApi:
results[name] = resource
}
}
retur... | go | func (t *Template) GetAllAWSAppSyncGraphQLApiResources() map[string]*resources.AWSAppSyncGraphQLApi {
results := map[string]*resources.AWSAppSyncGraphQLApi{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppSyncGraphQLApi:
results[name] = resource
}
}
retur... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppSyncGraphQLApiResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppSyncGraphQLApi",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppSyncGraphQLApi",
"... | // GetAllAWSAppSyncGraphQLApiResources retrieves all AWSAppSyncGraphQLApi items from an AWS CloudFormation template | [
"GetAllAWSAppSyncGraphQLApiResources",
"retrieves",
"all",
"AWSAppSyncGraphQLApi",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1507-L1516 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppSyncGraphQLApiWithName | func (t *Template) GetAWSAppSyncGraphQLApiWithName(name string) (*resources.AWSAppSyncGraphQLApi, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppSyncGraphQLApi:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppSyncGraphQ... | go | func (t *Template) GetAWSAppSyncGraphQLApiWithName(name string) (*resources.AWSAppSyncGraphQLApi, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppSyncGraphQLApi:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppSyncGraphQ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppSyncGraphQLApiWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppSyncGraphQLApi",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSAppSyncGraphQLApiWithName retrieves all AWSAppSyncGraphQLApi items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppSyncGraphQLApiWithName",
"retrieves",
"all",
"AWSAppSyncGraphQLApi",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1520-L1528 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppSyncGraphQLSchemaResources | func (t *Template) GetAllAWSAppSyncGraphQLSchemaResources() map[string]*resources.AWSAppSyncGraphQLSchema {
results := map[string]*resources.AWSAppSyncGraphQLSchema{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppSyncGraphQLSchema:
results[name] = resource
... | go | func (t *Template) GetAllAWSAppSyncGraphQLSchemaResources() map[string]*resources.AWSAppSyncGraphQLSchema {
results := map[string]*resources.AWSAppSyncGraphQLSchema{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppSyncGraphQLSchema:
results[name] = resource
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppSyncGraphQLSchemaResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppSyncGraphQLSchema",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppSyncGraphQLSch... | // GetAllAWSAppSyncGraphQLSchemaResources retrieves all AWSAppSyncGraphQLSchema items from an AWS CloudFormation template | [
"GetAllAWSAppSyncGraphQLSchemaResources",
"retrieves",
"all",
"AWSAppSyncGraphQLSchema",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1531-L1540 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppSyncGraphQLSchemaWithName | func (t *Template) GetAWSAppSyncGraphQLSchemaWithName(name string) (*resources.AWSAppSyncGraphQLSchema, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppSyncGraphQLSchema:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppS... | go | func (t *Template) GetAWSAppSyncGraphQLSchemaWithName(name string) (*resources.AWSAppSyncGraphQLSchema, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppSyncGraphQLSchema:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppS... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppSyncGraphQLSchemaWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppSyncGraphQLSchema",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"... | // GetAWSAppSyncGraphQLSchemaWithName retrieves all AWSAppSyncGraphQLSchema items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppSyncGraphQLSchemaWithName",
"retrieves",
"all",
"AWSAppSyncGraphQLSchema",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1544-L1552 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAppSyncResolverResources | func (t *Template) GetAllAWSAppSyncResolverResources() map[string]*resources.AWSAppSyncResolver {
results := map[string]*resources.AWSAppSyncResolver{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppSyncResolver:
results[name] = resource
}
}
return result... | go | func (t *Template) GetAllAWSAppSyncResolverResources() map[string]*resources.AWSAppSyncResolver {
results := map[string]*resources.AWSAppSyncResolver{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAppSyncResolver:
results[name] = resource
}
}
return result... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAppSyncResolverResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppSyncResolver",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAppSyncResolver",
"{",
... | // GetAllAWSAppSyncResolverResources retrieves all AWSAppSyncResolver items from an AWS CloudFormation template | [
"GetAllAWSAppSyncResolverResources",
"retrieves",
"all",
"AWSAppSyncResolver",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1555-L1564 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAppSyncResolverWithName | func (t *Template) GetAWSAppSyncResolverWithName(name string) (*resources.AWSAppSyncResolver, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppSyncResolver:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppSyncResolver not... | go | func (t *Template) GetAWSAppSyncResolverWithName(name string) (*resources.AWSAppSyncResolver, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAppSyncResolver:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAppSyncResolver not... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAppSyncResolverWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAppSyncResolver",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",... | // GetAWSAppSyncResolverWithName retrieves all AWSAppSyncResolver items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAppSyncResolverWithName",
"retrieves",
"all",
"AWSAppSyncResolver",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1568-L1576 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApplicationAutoScalingScalableTargetResources | func (t *Template) GetAllAWSApplicationAutoScalingScalableTargetResources() map[string]*resources.AWSApplicationAutoScalingScalableTarget {
results := map[string]*resources.AWSApplicationAutoScalingScalableTarget{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApp... | go | func (t *Template) GetAllAWSApplicationAutoScalingScalableTargetResources() map[string]*resources.AWSApplicationAutoScalingScalableTarget {
results := map[string]*resources.AWSApplicationAutoScalingScalableTarget{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApp... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApplicationAutoScalingScalableTargetResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApplicationAutoScalingScalableTarget",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources"... | // GetAllAWSApplicationAutoScalingScalableTargetResources retrieves all AWSApplicationAutoScalingScalableTarget items from an AWS CloudFormation template | [
"GetAllAWSApplicationAutoScalingScalableTargetResources",
"retrieves",
"all",
"AWSApplicationAutoScalingScalableTarget",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1579-L1588 | train |
Subsets and Splits
SQL Console for semeru/code-text-go
Retrieves a limited set of code samples with their languages, with a specific case adjustment for 'Go' language.