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", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAmazonMQBroker", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 found", name) }
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 found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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] = resource } } return results }
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] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSAmazonMQConfigurationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSAmazonMQConfiguration", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSAmazonMQConfiguration", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAmazonMQConfiguration", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSAmazonMQConfiguration not found", name) }
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 AWSAmazonMQConfiguration not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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.AWSAmazonMQConfigurationAssociation: results[name] = resource } } return results }
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.AWSAmazonMQConfigurationAssociation: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSAmazonMQConfigurationAssociationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSAmazonMQConfigurationAssociation", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSAmazonMQConfigurationAssociation", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAmazonMQConfigurationAssociation", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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.Errorf("resource %q of type AWSAmazonMQConfigurationAssociation not found", name) }
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.Errorf("resource %q of type AWSAmazonMQConfigurationAssociation not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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", "not", "found", "." ]
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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayAccountResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayAccount", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayAccount", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayAccount", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSApiGatewayAccount not found", name) }
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 AWSApiGatewayAccount not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 results }
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 results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayApiKeyResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayApiKey", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayApiKey", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayApiKey", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 not found", name) }
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 not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayAuthorizerResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayAuthorizer", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayAuthorizer", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayAuthorizer", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSApiGatewayAuthorizer not found", name) }
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 AWSApiGatewayAuthorizer not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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: results[name] = resource } } return results }
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: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayBasePathMappingResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayBasePathMapping", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayBasePathMapping", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayBasePathMapping", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 of type AWSApiGatewayBasePathMapping not found", name) }
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 of type AWSApiGatewayBasePathMapping not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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: results[name] = resource } } return results }
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: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayClientCertificateResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayClientCertificate", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayClientCertificate", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayClientCertificate", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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("resource %q of type AWSApiGatewayClientCertificate not found", name) }
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("resource %q of type AWSApiGatewayClientCertificate not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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", "found", "." ]
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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayDeploymentResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayDeployment", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayDeployment", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayDeployment", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSApiGatewayDeployment not found", name) }
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 AWSApiGatewayDeployment not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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: results[name] = resource } } return results }
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: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayDocumentationPartResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayDocumentationPart", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayDocumentationPart", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayDocumentationPart", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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("resource %q of type AWSApiGatewayDocumentationPart not found", name) }
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("resource %q of type AWSApiGatewayDocumentationPart not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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", "found", "." ]
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.AWSApiGatewayDocumentationVersion: results[name] = resource } } return results }
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.AWSApiGatewayDocumentationVersion: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayDocumentationVersionResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayDocumentationVersion", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayDocumentationVersion", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayDocumentationVersion", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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.Errorf("resource %q of type AWSApiGatewayDocumentationVersion not found", name) }
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.Errorf("resource %q of type AWSApiGatewayDocumentationVersion not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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", "found", "." ]
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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayDomainNameResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayDomainName", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayDomainName", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayDomainName", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSApiGatewayDomainName not found", name) }
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 AWSApiGatewayDomainName not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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: results[name] = resource } } return results }
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: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayGatewayResponseResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayGatewayResponse", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayGatewayResponse", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayGatewayResponse", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 of type AWSApiGatewayGatewayResponse not found", name) }
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 of type AWSApiGatewayGatewayResponse not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 results }
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 results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayMethodResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayMethod", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayMethod", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayMethod", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 not found", name) }
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 not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 results }
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 results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayModelResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayModel", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayModel", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayModel", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 found", name) }
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 found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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: results[name] = resource } } return results }
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: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayRequestValidatorResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayRequestValidator", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayRequestValidator", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayRequestValidator", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 %q of type AWSApiGatewayRequestValidator not found", name) }
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 %q of type AWSApiGatewayRequestValidator not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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", "found", "." ]
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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayResourceResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayResource", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayResource", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayResource", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSApiGatewayResource not found", name) }
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 AWSApiGatewayResource not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayRestApiResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayRestApi", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayRestApi", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayRestApi", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSApiGatewayRestApi not found", name) }
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 AWSApiGatewayRestApi not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 results }
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 results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayStageResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayStage", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayStage", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayStage", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 found", name) }
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 found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayUsagePlanResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayUsagePlan", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayUsagePlan", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayUsagePlan", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSApiGatewayUsagePlan not found", name) }
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 AWSApiGatewayUsagePlan not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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] = resource } } return results }
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] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayUsagePlanKeyResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayUsagePlanKey", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayUsagePlanKey", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayUsagePlanKey", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSApiGatewayUsagePlanKey not found", name) }
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 AWSApiGatewayUsagePlanKey not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayVpcLinkResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayVpcLink", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayVpcLink", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayVpcLink", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSApiGatewayVpcLink not found", name) }
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 AWSApiGatewayVpcLink not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 results }
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 results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayV2ApiResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2Api", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2Api", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayV2Api", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 found", name) }
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 found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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] = resource } } return results }
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] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayV2AuthorizerResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2Authorizer", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2Authorizer", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayV2Authorizer", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSApiGatewayV2Authorizer not found", name) }
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 AWSApiGatewayV2Authorizer not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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] = resource } } return results }
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] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayV2DeploymentResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2Deployment", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2Deployment", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayV2Deployment", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSApiGatewayV2Deployment not found", name) }
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 AWSApiGatewayV2Deployment not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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] = resource } } return results }
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] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayV2IntegrationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2Integration", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2Integration", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayV2Integration", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 type AWSApiGatewayV2Integration not found", name) }
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 type AWSApiGatewayV2Integration not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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.AWSApiGatewayV2IntegrationResponse: results[name] = resource } } return results }
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.AWSApiGatewayV2IntegrationResponse: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayV2IntegrationResponseResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2IntegrationResponse", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2IntegrationResponse", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayV2IntegrationResponse", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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.Errorf("resource %q of type AWSApiGatewayV2IntegrationResponse not found", name) }
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.Errorf("resource %q of type AWSApiGatewayV2IntegrationResponse not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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", "found", "." ]
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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayV2ModelResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2Model", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2Model", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayV2Model", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSApiGatewayV2Model not found", name) }
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 AWSApiGatewayV2Model not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayV2RouteResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2Route", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2Route", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayV2Route", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSApiGatewayV2Route not found", name) }
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 AWSApiGatewayV2Route not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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: results[name] = resource } } return results }
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: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayV2RouteResponseResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2RouteResponse", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2RouteResponse", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayV2RouteResponse", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 of type AWSApiGatewayV2RouteResponse not found", name) }
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 of type AWSApiGatewayV2RouteResponse not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApiGatewayV2StageResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2Stage", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApiGatewayV2Stage", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApiGatewayV2Stage", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSApiGatewayV2Stage not found", name) }
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 AWSApiGatewayV2Stage not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppMeshMesh", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\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", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppMeshMesh", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppMeshRoute", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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", name) }
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", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSAppMeshVirtualNodeResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSAppMeshVirtualNode", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSAppMeshVirtualNode", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppMeshVirtualNode", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSAppMeshVirtualNode not found", name) }
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 AWSAppMeshVirtualNode not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSAppMeshVirtualRouterResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSAppMeshVirtualRouter", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSAppMeshVirtualRouter", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppMeshVirtualRouter", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSAppMeshVirtualRouter not found", name) }
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 AWSAppMeshVirtualRouter not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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] = resource } } return results }
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] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSAppMeshVirtualServiceResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSAppMeshVirtualService", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSAppMeshVirtualService", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppMeshVirtualService", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSAppMeshVirtualService not found", name) }
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 AWSAppMeshVirtualService not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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[name] = resource } } return results }
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[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSAppStreamDirectoryConfigResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSAppStreamDirectoryConfig", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSAppStreamDirectoryConfig", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppStreamDirectoryConfig", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 type AWSAppStreamDirectoryConfig not found", name) }
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 type AWSAppStreamDirectoryConfig not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppStreamFleet", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 found", name) }
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 found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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] = resource } } return results }
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] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSAppStreamImageBuilderResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSAppStreamImageBuilder", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSAppStreamImageBuilder", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppStreamImageBuilder", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSAppStreamImageBuilder not found", name) }
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 AWSAppStreamImageBuilder not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppStreamStack", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 found", name) }
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 found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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.AWSAppStreamStackFleetAssociation: results[name] = resource } } return results }
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.AWSAppStreamStackFleetAssociation: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSAppStreamStackFleetAssociationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSAppStreamStackFleetAssociation", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSAppStreamStackFleetAssociation", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppStreamStackFleetAssociation", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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.Errorf("resource %q of type AWSAppStreamStackFleetAssociation not found", name) }
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.Errorf("resource %q of type AWSAppStreamStackFleetAssociation not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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", "found", "." ]
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.AWSAppStreamStackUserAssociation: results[name] = resource } } return results }
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.AWSAppStreamStackUserAssociation: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSAppStreamStackUserAssociationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSAppStreamStackUserAssociation", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSAppStreamStackUserAssociation", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppStreamStackUserAssociation", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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("resource %q of type AWSAppStreamStackUserAssociation not found", name) }
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("resource %q of type AWSAppStreamStackUserAssociation not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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", "found", "." ]
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", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppStreamUser", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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", name) }
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", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppSyncApiKey", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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", name) }
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", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSAppSyncDataSourceResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSAppSyncDataSource", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSAppSyncDataSource", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppSyncDataSource", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSAppSyncDataSource not found", name) }
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 AWSAppSyncDataSource not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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.AWSAppSyncFunctionConfiguration: results[name] = resource } } return results }
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.AWSAppSyncFunctionConfiguration: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSAppSyncFunctionConfigurationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSAppSyncFunctionConfiguration", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSAppSyncFunctionConfiguration", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppSyncFunctionConfiguration", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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("resource %q of type AWSAppSyncFunctionConfiguration not found", name) }
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("resource %q of type AWSAppSyncFunctionConfiguration not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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", "found", "." ]
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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSAppSyncGraphQLApiResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSAppSyncGraphQLApi", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSAppSyncGraphQLApi", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppSyncGraphQLApi", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSAppSyncGraphQLApi not found", name) }
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 AWSAppSyncGraphQLApi not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 } } return results }
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 } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSAppSyncGraphQLSchemaResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSAppSyncGraphQLSchema", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSAppSyncGraphQLSchema", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppSyncGraphQLSchema", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 AWSAppSyncGraphQLSchema not found", name) }
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 AWSAppSyncGraphQLSchema not found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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 results }
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 results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSAppSyncResolverResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSAppSyncResolver", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSAppSyncResolver", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSAppSyncResolver", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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 found", name) }
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 found", name) }
[ "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", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// 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.AWSApplicationAutoScalingScalableTarget: results[name] = resource } } return results }
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.AWSApplicationAutoScalingScalableTarget: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSApplicationAutoScalingScalableTargetResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSApplicationAutoScalingScalableTarget", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSApplicationAutoScalingScalableTarget", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSApplicationAutoScalingScalableTarget", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// 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