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
cloudformation/all.go
GetAWSEC2VPCCidrBlockWithName
func (t *Template) GetAWSEC2VPCCidrBlockWithName(name string) (*resources.AWSEC2VPCCidrBlock, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPCCidrBlock: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPCCidrBlock not found", name) }
go
func (t *Template) GetAWSEC2VPCCidrBlockWithName(name string) (*resources.AWSEC2VPCCidrBlock, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPCCidrBlock: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPCCidrBlock not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEC2VPCCidrBlockWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEC2VPCCidrBlock", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPCCidrBlock", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEC2VPCCidrBlockWithName retrieves all AWSEC2VPCCidrBlock items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEC2VPCCidrBlockWithName", "retrieves", "all", "AWSEC2VPCCidrBlock", "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#L3992-L4000
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEC2VPCDHCPOptionsAssociationResources
func (t *Template) GetAllAWSEC2VPCDHCPOptionsAssociationResources() map[string]*resources.AWSEC2VPCDHCPOptionsAssociation { results := map[string]*resources.AWSEC2VPCDHCPOptionsAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPCDHCPOptionsAssociation: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEC2VPCDHCPOptionsAssociationResources() map[string]*resources.AWSEC2VPCDHCPOptionsAssociation { results := map[string]*resources.AWSEC2VPCDHCPOptionsAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPCDHCPOptionsAssociation: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEC2VPCDHCPOptionsAssociationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPCDHCPOptionsAssociation", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPCDHCPOptionsAssociation", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPCDHCPOptionsAssociation", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEC2VPCDHCPOptionsAssociationResources retrieves all AWSEC2VPCDHCPOptionsAssociation items from an AWS CloudFormation template
[ "GetAllAWSEC2VPCDHCPOptionsAssociationResources", "retrieves", "all", "AWSEC2VPCDHCPOptionsAssociation", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4003-L4012
train
awslabs/goformation
cloudformation/all.go
GetAWSEC2VPCDHCPOptionsAssociationWithName
func (t *Template) GetAWSEC2VPCDHCPOptionsAssociationWithName(name string) (*resources.AWSEC2VPCDHCPOptionsAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPCDHCPOptionsAssociation: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPCDHCPOptionsAssociation not found", name) }
go
func (t *Template) GetAWSEC2VPCDHCPOptionsAssociationWithName(name string) (*resources.AWSEC2VPCDHCPOptionsAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPCDHCPOptionsAssociation: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPCDHCPOptionsAssociation not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEC2VPCDHCPOptionsAssociationWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEC2VPCDHCPOptionsAssociation", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPCDHCPOptionsAssociation", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEC2VPCDHCPOptionsAssociationWithName retrieves all AWSEC2VPCDHCPOptionsAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEC2VPCDHCPOptionsAssociationWithName", "retrieves", "all", "AWSEC2VPCDHCPOptionsAssociation", "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#L4016-L4024
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEC2VPCEndpointResources
func (t *Template) GetAllAWSEC2VPCEndpointResources() map[string]*resources.AWSEC2VPCEndpoint { results := map[string]*resources.AWSEC2VPCEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPCEndpoint: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEC2VPCEndpointResources() map[string]*resources.AWSEC2VPCEndpoint { results := map[string]*resources.AWSEC2VPCEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPCEndpoint: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEC2VPCEndpointResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPCEndpoint", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPCEndpoint", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPCEndpoint", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEC2VPCEndpointResources retrieves all AWSEC2VPCEndpoint items from an AWS CloudFormation template
[ "GetAllAWSEC2VPCEndpointResources", "retrieves", "all", "AWSEC2VPCEndpoint", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4027-L4036
train
awslabs/goformation
cloudformation/all.go
GetAWSEC2VPCEndpointWithName
func (t *Template) GetAWSEC2VPCEndpointWithName(name string) (*resources.AWSEC2VPCEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPCEndpoint: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPCEndpoint not found", name) }
go
func (t *Template) GetAWSEC2VPCEndpointWithName(name string) (*resources.AWSEC2VPCEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPCEndpoint: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPCEndpoint not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEC2VPCEndpointWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEC2VPCEndpoint", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPCEndpoint", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEC2VPCEndpointWithName retrieves all AWSEC2VPCEndpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEC2VPCEndpointWithName", "retrieves", "all", "AWSEC2VPCEndpoint", "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#L4040-L4048
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEC2VPCEndpointConnectionNotificationResources
func (t *Template) GetAllAWSEC2VPCEndpointConnectionNotificationResources() map[string]*resources.AWSEC2VPCEndpointConnectionNotification { results := map[string]*resources.AWSEC2VPCEndpointConnectionNotification{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPCEndpointConnectionNotification: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEC2VPCEndpointConnectionNotificationResources() map[string]*resources.AWSEC2VPCEndpointConnectionNotification { results := map[string]*resources.AWSEC2VPCEndpointConnectionNotification{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPCEndpointConnectionNotification: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEC2VPCEndpointConnectionNotificationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPCEndpointConnectionNotification", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPCEndpointConnectionNotification", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPCEndpointConnectionNotification", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEC2VPCEndpointConnectionNotificationResources retrieves all AWSEC2VPCEndpointConnectionNotification items from an AWS CloudFormation template
[ "GetAllAWSEC2VPCEndpointConnectionNotificationResources", "retrieves", "all", "AWSEC2VPCEndpointConnectionNotification", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4051-L4060
train
awslabs/goformation
cloudformation/all.go
GetAWSEC2VPCEndpointConnectionNotificationWithName
func (t *Template) GetAWSEC2VPCEndpointConnectionNotificationWithName(name string) (*resources.AWSEC2VPCEndpointConnectionNotification, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPCEndpointConnectionNotification: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPCEndpointConnectionNotification not found", name) }
go
func (t *Template) GetAWSEC2VPCEndpointConnectionNotificationWithName(name string) (*resources.AWSEC2VPCEndpointConnectionNotification, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPCEndpointConnectionNotification: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPCEndpointConnectionNotification not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEC2VPCEndpointConnectionNotificationWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEC2VPCEndpointConnectionNotification", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPCEndpointConnectionNotification", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEC2VPCEndpointConnectionNotificationWithName retrieves all AWSEC2VPCEndpointConnectionNotification items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEC2VPCEndpointConnectionNotificationWithName", "retrieves", "all", "AWSEC2VPCEndpointConnectionNotification", "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#L4064-L4072
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEC2VPCEndpointServicePermissionsResources
func (t *Template) GetAllAWSEC2VPCEndpointServicePermissionsResources() map[string]*resources.AWSEC2VPCEndpointServicePermissions { results := map[string]*resources.AWSEC2VPCEndpointServicePermissions{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPCEndpointServicePermissions: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEC2VPCEndpointServicePermissionsResources() map[string]*resources.AWSEC2VPCEndpointServicePermissions { results := map[string]*resources.AWSEC2VPCEndpointServicePermissions{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPCEndpointServicePermissions: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEC2VPCEndpointServicePermissionsResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPCEndpointServicePermissions", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPCEndpointServicePermissions", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPCEndpointServicePermissions", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEC2VPCEndpointServicePermissionsResources retrieves all AWSEC2VPCEndpointServicePermissions items from an AWS CloudFormation template
[ "GetAllAWSEC2VPCEndpointServicePermissionsResources", "retrieves", "all", "AWSEC2VPCEndpointServicePermissions", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4075-L4084
train
awslabs/goformation
cloudformation/all.go
GetAWSEC2VPCEndpointServicePermissionsWithName
func (t *Template) GetAWSEC2VPCEndpointServicePermissionsWithName(name string) (*resources.AWSEC2VPCEndpointServicePermissions, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPCEndpointServicePermissions: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPCEndpointServicePermissions not found", name) }
go
func (t *Template) GetAWSEC2VPCEndpointServicePermissionsWithName(name string) (*resources.AWSEC2VPCEndpointServicePermissions, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPCEndpointServicePermissions: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPCEndpointServicePermissions not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEC2VPCEndpointServicePermissionsWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEC2VPCEndpointServicePermissions", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPCEndpointServicePermissions", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEC2VPCEndpointServicePermissionsWithName retrieves all AWSEC2VPCEndpointServicePermissions items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEC2VPCEndpointServicePermissionsWithName", "retrieves", "all", "AWSEC2VPCEndpointServicePermissions", "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#L4088-L4096
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEC2VPCGatewayAttachmentResources
func (t *Template) GetAllAWSEC2VPCGatewayAttachmentResources() map[string]*resources.AWSEC2VPCGatewayAttachment { results := map[string]*resources.AWSEC2VPCGatewayAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPCGatewayAttachment: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEC2VPCGatewayAttachmentResources() map[string]*resources.AWSEC2VPCGatewayAttachment { results := map[string]*resources.AWSEC2VPCGatewayAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPCGatewayAttachment: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEC2VPCGatewayAttachmentResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPCGatewayAttachment", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPCGatewayAttachment", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPCGatewayAttachment", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEC2VPCGatewayAttachmentResources retrieves all AWSEC2VPCGatewayAttachment items from an AWS CloudFormation template
[ "GetAllAWSEC2VPCGatewayAttachmentResources", "retrieves", "all", "AWSEC2VPCGatewayAttachment", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4099-L4108
train
awslabs/goformation
cloudformation/all.go
GetAWSEC2VPCGatewayAttachmentWithName
func (t *Template) GetAWSEC2VPCGatewayAttachmentWithName(name string) (*resources.AWSEC2VPCGatewayAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPCGatewayAttachment: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPCGatewayAttachment not found", name) }
go
func (t *Template) GetAWSEC2VPCGatewayAttachmentWithName(name string) (*resources.AWSEC2VPCGatewayAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPCGatewayAttachment: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPCGatewayAttachment not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEC2VPCGatewayAttachmentWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEC2VPCGatewayAttachment", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPCGatewayAttachment", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEC2VPCGatewayAttachmentWithName retrieves all AWSEC2VPCGatewayAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEC2VPCGatewayAttachmentWithName", "retrieves", "all", "AWSEC2VPCGatewayAttachment", "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#L4112-L4120
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEC2VPCPeeringConnectionResources
func (t *Template) GetAllAWSEC2VPCPeeringConnectionResources() map[string]*resources.AWSEC2VPCPeeringConnection { results := map[string]*resources.AWSEC2VPCPeeringConnection{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPCPeeringConnection: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEC2VPCPeeringConnectionResources() map[string]*resources.AWSEC2VPCPeeringConnection { results := map[string]*resources.AWSEC2VPCPeeringConnection{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPCPeeringConnection: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEC2VPCPeeringConnectionResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPCPeeringConnection", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPCPeeringConnection", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPCPeeringConnection", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEC2VPCPeeringConnectionResources retrieves all AWSEC2VPCPeeringConnection items from an AWS CloudFormation template
[ "GetAllAWSEC2VPCPeeringConnectionResources", "retrieves", "all", "AWSEC2VPCPeeringConnection", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4123-L4132
train
awslabs/goformation
cloudformation/all.go
GetAWSEC2VPCPeeringConnectionWithName
func (t *Template) GetAWSEC2VPCPeeringConnectionWithName(name string) (*resources.AWSEC2VPCPeeringConnection, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPCPeeringConnection: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPCPeeringConnection not found", name) }
go
func (t *Template) GetAWSEC2VPCPeeringConnectionWithName(name string) (*resources.AWSEC2VPCPeeringConnection, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPCPeeringConnection: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPCPeeringConnection not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEC2VPCPeeringConnectionWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEC2VPCPeeringConnection", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPCPeeringConnection", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEC2VPCPeeringConnectionWithName retrieves all AWSEC2VPCPeeringConnection items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEC2VPCPeeringConnectionWithName", "retrieves", "all", "AWSEC2VPCPeeringConnection", "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#L4136-L4144
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEC2VPNConnectionResources
func (t *Template) GetAllAWSEC2VPNConnectionResources() map[string]*resources.AWSEC2VPNConnection { results := map[string]*resources.AWSEC2VPNConnection{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPNConnection: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEC2VPNConnectionResources() map[string]*resources.AWSEC2VPNConnection { results := map[string]*resources.AWSEC2VPNConnection{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPNConnection: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEC2VPNConnectionResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPNConnection", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPNConnection", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPNConnection", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEC2VPNConnectionResources retrieves all AWSEC2VPNConnection items from an AWS CloudFormation template
[ "GetAllAWSEC2VPNConnectionResources", "retrieves", "all", "AWSEC2VPNConnection", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4147-L4156
train
awslabs/goformation
cloudformation/all.go
GetAWSEC2VPNConnectionWithName
func (t *Template) GetAWSEC2VPNConnectionWithName(name string) (*resources.AWSEC2VPNConnection, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPNConnection: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPNConnection not found", name) }
go
func (t *Template) GetAWSEC2VPNConnectionWithName(name string) (*resources.AWSEC2VPNConnection, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPNConnection: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPNConnection not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEC2VPNConnectionWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEC2VPNConnection", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPNConnection", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEC2VPNConnectionWithName retrieves all AWSEC2VPNConnection items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEC2VPNConnectionWithName", "retrieves", "all", "AWSEC2VPNConnection", "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#L4160-L4168
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEC2VPNConnectionRouteResources
func (t *Template) GetAllAWSEC2VPNConnectionRouteResources() map[string]*resources.AWSEC2VPNConnectionRoute { results := map[string]*resources.AWSEC2VPNConnectionRoute{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPNConnectionRoute: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEC2VPNConnectionRouteResources() map[string]*resources.AWSEC2VPNConnectionRoute { results := map[string]*resources.AWSEC2VPNConnectionRoute{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPNConnectionRoute: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEC2VPNConnectionRouteResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPNConnectionRoute", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPNConnectionRoute", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPNConnectionRoute", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEC2VPNConnectionRouteResources retrieves all AWSEC2VPNConnectionRoute items from an AWS CloudFormation template
[ "GetAllAWSEC2VPNConnectionRouteResources", "retrieves", "all", "AWSEC2VPNConnectionRoute", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4171-L4180
train
awslabs/goformation
cloudformation/all.go
GetAWSEC2VPNConnectionRouteWithName
func (t *Template) GetAWSEC2VPNConnectionRouteWithName(name string) (*resources.AWSEC2VPNConnectionRoute, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPNConnectionRoute: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPNConnectionRoute not found", name) }
go
func (t *Template) GetAWSEC2VPNConnectionRouteWithName(name string) (*resources.AWSEC2VPNConnectionRoute, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPNConnectionRoute: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPNConnectionRoute not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEC2VPNConnectionRouteWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEC2VPNConnectionRoute", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPNConnectionRoute", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEC2VPNConnectionRouteWithName retrieves all AWSEC2VPNConnectionRoute items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEC2VPNConnectionRouteWithName", "retrieves", "all", "AWSEC2VPNConnectionRoute", "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#L4184-L4192
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEC2VPNGatewayResources
func (t *Template) GetAllAWSEC2VPNGatewayResources() map[string]*resources.AWSEC2VPNGateway { results := map[string]*resources.AWSEC2VPNGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPNGateway: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEC2VPNGatewayResources() map[string]*resources.AWSEC2VPNGateway { results := map[string]*resources.AWSEC2VPNGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPNGateway: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEC2VPNGatewayResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPNGateway", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPNGateway", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPNGateway", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEC2VPNGatewayResources retrieves all AWSEC2VPNGateway items from an AWS CloudFormation template
[ "GetAllAWSEC2VPNGatewayResources", "retrieves", "all", "AWSEC2VPNGateway", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4195-L4204
train
awslabs/goformation
cloudformation/all.go
GetAWSEC2VPNGatewayWithName
func (t *Template) GetAWSEC2VPNGatewayWithName(name string) (*resources.AWSEC2VPNGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPNGateway: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPNGateway not found", name) }
go
func (t *Template) GetAWSEC2VPNGatewayWithName(name string) (*resources.AWSEC2VPNGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPNGateway: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPNGateway not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEC2VPNGatewayWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEC2VPNGateway", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPNGateway", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEC2VPNGatewayWithName retrieves all AWSEC2VPNGateway items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEC2VPNGatewayWithName", "retrieves", "all", "AWSEC2VPNGateway", "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#L4208-L4216
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEC2VPNGatewayRoutePropagationResources
func (t *Template) GetAllAWSEC2VPNGatewayRoutePropagationResources() map[string]*resources.AWSEC2VPNGatewayRoutePropagation { results := map[string]*resources.AWSEC2VPNGatewayRoutePropagation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPNGatewayRoutePropagation: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEC2VPNGatewayRoutePropagationResources() map[string]*resources.AWSEC2VPNGatewayRoutePropagation { results := map[string]*resources.AWSEC2VPNGatewayRoutePropagation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VPNGatewayRoutePropagation: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEC2VPNGatewayRoutePropagationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPNGatewayRoutePropagation", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VPNGatewayRoutePropagation", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPNGatewayRoutePropagation", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEC2VPNGatewayRoutePropagationResources retrieves all AWSEC2VPNGatewayRoutePropagation items from an AWS CloudFormation template
[ "GetAllAWSEC2VPNGatewayRoutePropagationResources", "retrieves", "all", "AWSEC2VPNGatewayRoutePropagation", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4219-L4228
train
awslabs/goformation
cloudformation/all.go
GetAWSEC2VPNGatewayRoutePropagationWithName
func (t *Template) GetAWSEC2VPNGatewayRoutePropagationWithName(name string) (*resources.AWSEC2VPNGatewayRoutePropagation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPNGatewayRoutePropagation: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPNGatewayRoutePropagation not found", name) }
go
func (t *Template) GetAWSEC2VPNGatewayRoutePropagationWithName(name string) (*resources.AWSEC2VPNGatewayRoutePropagation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VPNGatewayRoutePropagation: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VPNGatewayRoutePropagation not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEC2VPNGatewayRoutePropagationWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEC2VPNGatewayRoutePropagation", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VPNGatewayRoutePropagation", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEC2VPNGatewayRoutePropagationWithName retrieves all AWSEC2VPNGatewayRoutePropagation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEC2VPNGatewayRoutePropagationWithName", "retrieves", "all", "AWSEC2VPNGatewayRoutePropagation", "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#L4232-L4240
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEC2VolumeResources
func (t *Template) GetAllAWSEC2VolumeResources() map[string]*resources.AWSEC2Volume { results := map[string]*resources.AWSEC2Volume{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2Volume: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEC2VolumeResources() map[string]*resources.AWSEC2Volume { results := map[string]*resources.AWSEC2Volume{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2Volume: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEC2VolumeResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2Volume", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2Volume", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2Volume", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEC2VolumeResources retrieves all AWSEC2Volume items from an AWS CloudFormation template
[ "GetAllAWSEC2VolumeResources", "retrieves", "all", "AWSEC2Volume", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4243-L4252
train
awslabs/goformation
cloudformation/all.go
GetAWSEC2VolumeWithName
func (t *Template) GetAWSEC2VolumeWithName(name string) (*resources.AWSEC2Volume, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2Volume: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2Volume not found", name) }
go
func (t *Template) GetAWSEC2VolumeWithName(name string) (*resources.AWSEC2Volume, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2Volume: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2Volume not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEC2VolumeWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEC2Volume", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2Volume", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEC2VolumeWithName retrieves all AWSEC2Volume items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEC2VolumeWithName", "retrieves", "all", "AWSEC2Volume", "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#L4256-L4264
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEC2VolumeAttachmentResources
func (t *Template) GetAllAWSEC2VolumeAttachmentResources() map[string]*resources.AWSEC2VolumeAttachment { results := map[string]*resources.AWSEC2VolumeAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VolumeAttachment: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEC2VolumeAttachmentResources() map[string]*resources.AWSEC2VolumeAttachment { results := map[string]*resources.AWSEC2VolumeAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEC2VolumeAttachment: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEC2VolumeAttachmentResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VolumeAttachment", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEC2VolumeAttachment", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VolumeAttachment", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEC2VolumeAttachmentResources retrieves all AWSEC2VolumeAttachment items from an AWS CloudFormation template
[ "GetAllAWSEC2VolumeAttachmentResources", "retrieves", "all", "AWSEC2VolumeAttachment", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4267-L4276
train
awslabs/goformation
cloudformation/all.go
GetAWSEC2VolumeAttachmentWithName
func (t *Template) GetAWSEC2VolumeAttachmentWithName(name string) (*resources.AWSEC2VolumeAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VolumeAttachment: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VolumeAttachment not found", name) }
go
func (t *Template) GetAWSEC2VolumeAttachmentWithName(name string) (*resources.AWSEC2VolumeAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEC2VolumeAttachment: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEC2VolumeAttachment not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEC2VolumeAttachmentWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEC2VolumeAttachment", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEC2VolumeAttachment", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEC2VolumeAttachmentWithName retrieves all AWSEC2VolumeAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEC2VolumeAttachmentWithName", "retrieves", "all", "AWSEC2VolumeAttachment", "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#L4280-L4288
train
awslabs/goformation
cloudformation/all.go
GetAllAWSECRRepositoryResources
func (t *Template) GetAllAWSECRRepositoryResources() map[string]*resources.AWSECRRepository { results := map[string]*resources.AWSECRRepository{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSECRRepository: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSECRRepositoryResources() map[string]*resources.AWSECRRepository { results := map[string]*resources.AWSECRRepository{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSECRRepository: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSECRRepositoryResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSECRRepository", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSECRRepository", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSECRRepository", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSECRRepositoryResources retrieves all AWSECRRepository items from an AWS CloudFormation template
[ "GetAllAWSECRRepositoryResources", "retrieves", "all", "AWSECRRepository", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4291-L4300
train
awslabs/goformation
cloudformation/all.go
GetAWSECRRepositoryWithName
func (t *Template) GetAWSECRRepositoryWithName(name string) (*resources.AWSECRRepository, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSECRRepository: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSECRRepository not found", name) }
go
func (t *Template) GetAWSECRRepositoryWithName(name string) (*resources.AWSECRRepository, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSECRRepository: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSECRRepository not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSECRRepositoryWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSECRRepository", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSECRRepository", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSECRRepositoryWithName retrieves all AWSECRRepository items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSECRRepositoryWithName", "retrieves", "all", "AWSECRRepository", "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#L4304-L4312
train
awslabs/goformation
cloudformation/all.go
GetAllAWSECSClusterResources
func (t *Template) GetAllAWSECSClusterResources() map[string]*resources.AWSECSCluster { results := map[string]*resources.AWSECSCluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSECSCluster: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSECSClusterResources() map[string]*resources.AWSECSCluster { results := map[string]*resources.AWSECSCluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSECSCluster: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSECSClusterResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSECSCluster", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSECSCluster", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSECSCluster", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSECSClusterResources retrieves all AWSECSCluster items from an AWS CloudFormation template
[ "GetAllAWSECSClusterResources", "retrieves", "all", "AWSECSCluster", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4315-L4324
train
awslabs/goformation
cloudformation/all.go
GetAWSECSClusterWithName
func (t *Template) GetAWSECSClusterWithName(name string) (*resources.AWSECSCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSECSCluster: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSECSCluster not found", name) }
go
func (t *Template) GetAWSECSClusterWithName(name string) (*resources.AWSECSCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSECSCluster: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSECSCluster not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSECSClusterWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSECSCluster", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSECSCluster", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSECSClusterWithName retrieves all AWSECSCluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSECSClusterWithName", "retrieves", "all", "AWSECSCluster", "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#L4328-L4336
train
awslabs/goformation
cloudformation/all.go
GetAllAWSECSServiceResources
func (t *Template) GetAllAWSECSServiceResources() map[string]*resources.AWSECSService { results := map[string]*resources.AWSECSService{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSECSService: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSECSServiceResources() map[string]*resources.AWSECSService { results := map[string]*resources.AWSECSService{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSECSService: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSECSServiceResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSECSService", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSECSService", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSECSService", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSECSServiceResources retrieves all AWSECSService items from an AWS CloudFormation template
[ "GetAllAWSECSServiceResources", "retrieves", "all", "AWSECSService", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4339-L4348
train
awslabs/goformation
cloudformation/all.go
GetAWSECSServiceWithName
func (t *Template) GetAWSECSServiceWithName(name string) (*resources.AWSECSService, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSECSService: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSECSService not found", name) }
go
func (t *Template) GetAWSECSServiceWithName(name string) (*resources.AWSECSService, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSECSService: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSECSService not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSECSServiceWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSECSService", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSECSService", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSECSServiceWithName retrieves all AWSECSService items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSECSServiceWithName", "retrieves", "all", "AWSECSService", "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#L4352-L4360
train
awslabs/goformation
cloudformation/all.go
GetAllAWSECSTaskDefinitionResources
func (t *Template) GetAllAWSECSTaskDefinitionResources() map[string]*resources.AWSECSTaskDefinition { results := map[string]*resources.AWSECSTaskDefinition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSECSTaskDefinition: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSECSTaskDefinitionResources() map[string]*resources.AWSECSTaskDefinition { results := map[string]*resources.AWSECSTaskDefinition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSECSTaskDefinition: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSECSTaskDefinitionResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSECSTaskDefinition", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSECSTaskDefinition", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSECSTaskDefinition", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSECSTaskDefinitionResources retrieves all AWSECSTaskDefinition items from an AWS CloudFormation template
[ "GetAllAWSECSTaskDefinitionResources", "retrieves", "all", "AWSECSTaskDefinition", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4363-L4372
train
awslabs/goformation
cloudformation/all.go
GetAWSECSTaskDefinitionWithName
func (t *Template) GetAWSECSTaskDefinitionWithName(name string) (*resources.AWSECSTaskDefinition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSECSTaskDefinition: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSECSTaskDefinition not found", name) }
go
func (t *Template) GetAWSECSTaskDefinitionWithName(name string) (*resources.AWSECSTaskDefinition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSECSTaskDefinition: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSECSTaskDefinition not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSECSTaskDefinitionWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSECSTaskDefinition", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSECSTaskDefinition", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSECSTaskDefinitionWithName retrieves all AWSECSTaskDefinition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSECSTaskDefinitionWithName", "retrieves", "all", "AWSECSTaskDefinition", "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#L4376-L4384
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEFSFileSystemResources
func (t *Template) GetAllAWSEFSFileSystemResources() map[string]*resources.AWSEFSFileSystem { results := map[string]*resources.AWSEFSFileSystem{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEFSFileSystem: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEFSFileSystemResources() map[string]*resources.AWSEFSFileSystem { results := map[string]*resources.AWSEFSFileSystem{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEFSFileSystem: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEFSFileSystemResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEFSFileSystem", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEFSFileSystem", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEFSFileSystem", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEFSFileSystemResources retrieves all AWSEFSFileSystem items from an AWS CloudFormation template
[ "GetAllAWSEFSFileSystemResources", "retrieves", "all", "AWSEFSFileSystem", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4387-L4396
train
awslabs/goformation
cloudformation/all.go
GetAWSEFSFileSystemWithName
func (t *Template) GetAWSEFSFileSystemWithName(name string) (*resources.AWSEFSFileSystem, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEFSFileSystem: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEFSFileSystem not found", name) }
go
func (t *Template) GetAWSEFSFileSystemWithName(name string) (*resources.AWSEFSFileSystem, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEFSFileSystem: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEFSFileSystem not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEFSFileSystemWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEFSFileSystem", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEFSFileSystem", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEFSFileSystemWithName retrieves all AWSEFSFileSystem items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEFSFileSystemWithName", "retrieves", "all", "AWSEFSFileSystem", "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#L4400-L4408
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEFSMountTargetResources
func (t *Template) GetAllAWSEFSMountTargetResources() map[string]*resources.AWSEFSMountTarget { results := map[string]*resources.AWSEFSMountTarget{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEFSMountTarget: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEFSMountTargetResources() map[string]*resources.AWSEFSMountTarget { results := map[string]*resources.AWSEFSMountTarget{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEFSMountTarget: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEFSMountTargetResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEFSMountTarget", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEFSMountTarget", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEFSMountTarget", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEFSMountTargetResources retrieves all AWSEFSMountTarget items from an AWS CloudFormation template
[ "GetAllAWSEFSMountTargetResources", "retrieves", "all", "AWSEFSMountTarget", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4411-L4420
train
awslabs/goformation
cloudformation/all.go
GetAWSEFSMountTargetWithName
func (t *Template) GetAWSEFSMountTargetWithName(name string) (*resources.AWSEFSMountTarget, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEFSMountTarget: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEFSMountTarget not found", name) }
go
func (t *Template) GetAWSEFSMountTargetWithName(name string) (*resources.AWSEFSMountTarget, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEFSMountTarget: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEFSMountTarget not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEFSMountTargetWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEFSMountTarget", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEFSMountTarget", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEFSMountTargetWithName retrieves all AWSEFSMountTarget items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEFSMountTargetWithName", "retrieves", "all", "AWSEFSMountTarget", "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#L4424-L4432
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEKSClusterResources
func (t *Template) GetAllAWSEKSClusterResources() map[string]*resources.AWSEKSCluster { results := map[string]*resources.AWSEKSCluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEKSCluster: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEKSClusterResources() map[string]*resources.AWSEKSCluster { results := map[string]*resources.AWSEKSCluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEKSCluster: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEKSClusterResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEKSCluster", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEKSCluster", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEKSCluster", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEKSClusterResources retrieves all AWSEKSCluster items from an AWS CloudFormation template
[ "GetAllAWSEKSClusterResources", "retrieves", "all", "AWSEKSCluster", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4435-L4444
train
awslabs/goformation
cloudformation/all.go
GetAWSEKSClusterWithName
func (t *Template) GetAWSEKSClusterWithName(name string) (*resources.AWSEKSCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEKSCluster: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEKSCluster not found", name) }
go
func (t *Template) GetAWSEKSClusterWithName(name string) (*resources.AWSEKSCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEKSCluster: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEKSCluster not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEKSClusterWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEKSCluster", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEKSCluster", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEKSClusterWithName retrieves all AWSEKSCluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEKSClusterWithName", "retrieves", "all", "AWSEKSCluster", "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#L4448-L4456
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEMRClusterResources
func (t *Template) GetAllAWSEMRClusterResources() map[string]*resources.AWSEMRCluster { results := map[string]*resources.AWSEMRCluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEMRCluster: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEMRClusterResources() map[string]*resources.AWSEMRCluster { results := map[string]*resources.AWSEMRCluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEMRCluster: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEMRClusterResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEMRCluster", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEMRCluster", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEMRCluster", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEMRClusterResources retrieves all AWSEMRCluster items from an AWS CloudFormation template
[ "GetAllAWSEMRClusterResources", "retrieves", "all", "AWSEMRCluster", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4459-L4468
train
awslabs/goformation
cloudformation/all.go
GetAWSEMRClusterWithName
func (t *Template) GetAWSEMRClusterWithName(name string) (*resources.AWSEMRCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEMRCluster: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEMRCluster not found", name) }
go
func (t *Template) GetAWSEMRClusterWithName(name string) (*resources.AWSEMRCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEMRCluster: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEMRCluster not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEMRClusterWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEMRCluster", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEMRCluster", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEMRClusterWithName retrieves all AWSEMRCluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEMRClusterWithName", "retrieves", "all", "AWSEMRCluster", "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#L4472-L4480
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEMRInstanceFleetConfigResources
func (t *Template) GetAllAWSEMRInstanceFleetConfigResources() map[string]*resources.AWSEMRInstanceFleetConfig { results := map[string]*resources.AWSEMRInstanceFleetConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEMRInstanceFleetConfig: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEMRInstanceFleetConfigResources() map[string]*resources.AWSEMRInstanceFleetConfig { results := map[string]*resources.AWSEMRInstanceFleetConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEMRInstanceFleetConfig: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEMRInstanceFleetConfigResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEMRInstanceFleetConfig", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEMRInstanceFleetConfig", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEMRInstanceFleetConfig", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEMRInstanceFleetConfigResources retrieves all AWSEMRInstanceFleetConfig items from an AWS CloudFormation template
[ "GetAllAWSEMRInstanceFleetConfigResources", "retrieves", "all", "AWSEMRInstanceFleetConfig", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4483-L4492
train
awslabs/goformation
cloudformation/all.go
GetAWSEMRInstanceFleetConfigWithName
func (t *Template) GetAWSEMRInstanceFleetConfigWithName(name string) (*resources.AWSEMRInstanceFleetConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEMRInstanceFleetConfig: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEMRInstanceFleetConfig not found", name) }
go
func (t *Template) GetAWSEMRInstanceFleetConfigWithName(name string) (*resources.AWSEMRInstanceFleetConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEMRInstanceFleetConfig: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEMRInstanceFleetConfig not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEMRInstanceFleetConfigWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEMRInstanceFleetConfig", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEMRInstanceFleetConfig", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEMRInstanceFleetConfigWithName retrieves all AWSEMRInstanceFleetConfig items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEMRInstanceFleetConfigWithName", "retrieves", "all", "AWSEMRInstanceFleetConfig", "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#L4496-L4504
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEMRInstanceGroupConfigResources
func (t *Template) GetAllAWSEMRInstanceGroupConfigResources() map[string]*resources.AWSEMRInstanceGroupConfig { results := map[string]*resources.AWSEMRInstanceGroupConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEMRInstanceGroupConfig: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEMRInstanceGroupConfigResources() map[string]*resources.AWSEMRInstanceGroupConfig { results := map[string]*resources.AWSEMRInstanceGroupConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEMRInstanceGroupConfig: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEMRInstanceGroupConfigResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEMRInstanceGroupConfig", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEMRInstanceGroupConfig", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEMRInstanceGroupConfig", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEMRInstanceGroupConfigResources retrieves all AWSEMRInstanceGroupConfig items from an AWS CloudFormation template
[ "GetAllAWSEMRInstanceGroupConfigResources", "retrieves", "all", "AWSEMRInstanceGroupConfig", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4507-L4516
train
awslabs/goformation
cloudformation/all.go
GetAWSEMRInstanceGroupConfigWithName
func (t *Template) GetAWSEMRInstanceGroupConfigWithName(name string) (*resources.AWSEMRInstanceGroupConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEMRInstanceGroupConfig: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEMRInstanceGroupConfig not found", name) }
go
func (t *Template) GetAWSEMRInstanceGroupConfigWithName(name string) (*resources.AWSEMRInstanceGroupConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEMRInstanceGroupConfig: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEMRInstanceGroupConfig not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEMRInstanceGroupConfigWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEMRInstanceGroupConfig", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEMRInstanceGroupConfig", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEMRInstanceGroupConfigWithName retrieves all AWSEMRInstanceGroupConfig items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEMRInstanceGroupConfigWithName", "retrieves", "all", "AWSEMRInstanceGroupConfig", "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#L4520-L4528
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEMRSecurityConfigurationResources
func (t *Template) GetAllAWSEMRSecurityConfigurationResources() map[string]*resources.AWSEMRSecurityConfiguration { results := map[string]*resources.AWSEMRSecurityConfiguration{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEMRSecurityConfiguration: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEMRSecurityConfigurationResources() map[string]*resources.AWSEMRSecurityConfiguration { results := map[string]*resources.AWSEMRSecurityConfiguration{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEMRSecurityConfiguration: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEMRSecurityConfigurationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEMRSecurityConfiguration", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEMRSecurityConfiguration", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEMRSecurityConfiguration", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEMRSecurityConfigurationResources retrieves all AWSEMRSecurityConfiguration items from an AWS CloudFormation template
[ "GetAllAWSEMRSecurityConfigurationResources", "retrieves", "all", "AWSEMRSecurityConfiguration", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4531-L4540
train
awslabs/goformation
cloudformation/all.go
GetAWSEMRSecurityConfigurationWithName
func (t *Template) GetAWSEMRSecurityConfigurationWithName(name string) (*resources.AWSEMRSecurityConfiguration, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEMRSecurityConfiguration: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEMRSecurityConfiguration not found", name) }
go
func (t *Template) GetAWSEMRSecurityConfigurationWithName(name string) (*resources.AWSEMRSecurityConfiguration, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEMRSecurityConfiguration: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEMRSecurityConfiguration not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEMRSecurityConfigurationWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEMRSecurityConfiguration", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEMRSecurityConfiguration", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEMRSecurityConfigurationWithName retrieves all AWSEMRSecurityConfiguration items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEMRSecurityConfigurationWithName", "retrieves", "all", "AWSEMRSecurityConfiguration", "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#L4544-L4552
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEMRStepResources
func (t *Template) GetAllAWSEMRStepResources() map[string]*resources.AWSEMRStep { results := map[string]*resources.AWSEMRStep{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEMRStep: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEMRStepResources() map[string]*resources.AWSEMRStep { results := map[string]*resources.AWSEMRStep{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEMRStep: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEMRStepResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEMRStep", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEMRStep", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEMRStep", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEMRStepResources retrieves all AWSEMRStep items from an AWS CloudFormation template
[ "GetAllAWSEMRStepResources", "retrieves", "all", "AWSEMRStep", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4555-L4564
train
awslabs/goformation
cloudformation/all.go
GetAWSEMRStepWithName
func (t *Template) GetAWSEMRStepWithName(name string) (*resources.AWSEMRStep, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEMRStep: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEMRStep not found", name) }
go
func (t *Template) GetAWSEMRStepWithName(name string) (*resources.AWSEMRStep, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEMRStep: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEMRStep not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEMRStepWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEMRStep", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEMRStep", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEMRStepWithName retrieves all AWSEMRStep items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEMRStepWithName", "retrieves", "all", "AWSEMRStep", "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#L4568-L4576
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElastiCacheCacheClusterResources
func (t *Template) GetAllAWSElastiCacheCacheClusterResources() map[string]*resources.AWSElastiCacheCacheCluster { results := map[string]*resources.AWSElastiCacheCacheCluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElastiCacheCacheCluster: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElastiCacheCacheClusterResources() map[string]*resources.AWSElastiCacheCacheCluster { results := map[string]*resources.AWSElastiCacheCacheCluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElastiCacheCacheCluster: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElastiCacheCacheClusterResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElastiCacheCacheCluster", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElastiCacheCacheCluster", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElastiCacheCacheCluster", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElastiCacheCacheClusterResources retrieves all AWSElastiCacheCacheCluster items from an AWS CloudFormation template
[ "GetAllAWSElastiCacheCacheClusterResources", "retrieves", "all", "AWSElastiCacheCacheCluster", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4579-L4588
train
awslabs/goformation
cloudformation/all.go
GetAWSElastiCacheCacheClusterWithName
func (t *Template) GetAWSElastiCacheCacheClusterWithName(name string) (*resources.AWSElastiCacheCacheCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElastiCacheCacheCluster: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElastiCacheCacheCluster not found", name) }
go
func (t *Template) GetAWSElastiCacheCacheClusterWithName(name string) (*resources.AWSElastiCacheCacheCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElastiCacheCacheCluster: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElastiCacheCacheCluster not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElastiCacheCacheClusterWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElastiCacheCacheCluster", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElastiCacheCacheCluster", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElastiCacheCacheClusterWithName retrieves all AWSElastiCacheCacheCluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElastiCacheCacheClusterWithName", "retrieves", "all", "AWSElastiCacheCacheCluster", "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#L4592-L4600
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElastiCacheParameterGroupResources
func (t *Template) GetAllAWSElastiCacheParameterGroupResources() map[string]*resources.AWSElastiCacheParameterGroup { results := map[string]*resources.AWSElastiCacheParameterGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElastiCacheParameterGroup: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElastiCacheParameterGroupResources() map[string]*resources.AWSElastiCacheParameterGroup { results := map[string]*resources.AWSElastiCacheParameterGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElastiCacheParameterGroup: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElastiCacheParameterGroupResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElastiCacheParameterGroup", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElastiCacheParameterGroup", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElastiCacheParameterGroup", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElastiCacheParameterGroupResources retrieves all AWSElastiCacheParameterGroup items from an AWS CloudFormation template
[ "GetAllAWSElastiCacheParameterGroupResources", "retrieves", "all", "AWSElastiCacheParameterGroup", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4603-L4612
train
awslabs/goformation
cloudformation/all.go
GetAWSElastiCacheParameterGroupWithName
func (t *Template) GetAWSElastiCacheParameterGroupWithName(name string) (*resources.AWSElastiCacheParameterGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElastiCacheParameterGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElastiCacheParameterGroup not found", name) }
go
func (t *Template) GetAWSElastiCacheParameterGroupWithName(name string) (*resources.AWSElastiCacheParameterGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElastiCacheParameterGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElastiCacheParameterGroup not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElastiCacheParameterGroupWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElastiCacheParameterGroup", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElastiCacheParameterGroup", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElastiCacheParameterGroupWithName retrieves all AWSElastiCacheParameterGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElastiCacheParameterGroupWithName", "retrieves", "all", "AWSElastiCacheParameterGroup", "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#L4616-L4624
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElastiCacheReplicationGroupResources
func (t *Template) GetAllAWSElastiCacheReplicationGroupResources() map[string]*resources.AWSElastiCacheReplicationGroup { results := map[string]*resources.AWSElastiCacheReplicationGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElastiCacheReplicationGroup: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElastiCacheReplicationGroupResources() map[string]*resources.AWSElastiCacheReplicationGroup { results := map[string]*resources.AWSElastiCacheReplicationGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElastiCacheReplicationGroup: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElastiCacheReplicationGroupResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElastiCacheReplicationGroup", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElastiCacheReplicationGroup", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElastiCacheReplicationGroup", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElastiCacheReplicationGroupResources retrieves all AWSElastiCacheReplicationGroup items from an AWS CloudFormation template
[ "GetAllAWSElastiCacheReplicationGroupResources", "retrieves", "all", "AWSElastiCacheReplicationGroup", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4627-L4636
train
awslabs/goformation
cloudformation/all.go
GetAWSElastiCacheReplicationGroupWithName
func (t *Template) GetAWSElastiCacheReplicationGroupWithName(name string) (*resources.AWSElastiCacheReplicationGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElastiCacheReplicationGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElastiCacheReplicationGroup not found", name) }
go
func (t *Template) GetAWSElastiCacheReplicationGroupWithName(name string) (*resources.AWSElastiCacheReplicationGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElastiCacheReplicationGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElastiCacheReplicationGroup not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElastiCacheReplicationGroupWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElastiCacheReplicationGroup", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElastiCacheReplicationGroup", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElastiCacheReplicationGroupWithName retrieves all AWSElastiCacheReplicationGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElastiCacheReplicationGroupWithName", "retrieves", "all", "AWSElastiCacheReplicationGroup", "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#L4640-L4648
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElastiCacheSecurityGroupResources
func (t *Template) GetAllAWSElastiCacheSecurityGroupResources() map[string]*resources.AWSElastiCacheSecurityGroup { results := map[string]*resources.AWSElastiCacheSecurityGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElastiCacheSecurityGroup: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElastiCacheSecurityGroupResources() map[string]*resources.AWSElastiCacheSecurityGroup { results := map[string]*resources.AWSElastiCacheSecurityGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElastiCacheSecurityGroup: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElastiCacheSecurityGroupResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElastiCacheSecurityGroup", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElastiCacheSecurityGroup", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElastiCacheSecurityGroup", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElastiCacheSecurityGroupResources retrieves all AWSElastiCacheSecurityGroup items from an AWS CloudFormation template
[ "GetAllAWSElastiCacheSecurityGroupResources", "retrieves", "all", "AWSElastiCacheSecurityGroup", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4651-L4660
train
awslabs/goformation
cloudformation/all.go
GetAWSElastiCacheSecurityGroupWithName
func (t *Template) GetAWSElastiCacheSecurityGroupWithName(name string) (*resources.AWSElastiCacheSecurityGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElastiCacheSecurityGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElastiCacheSecurityGroup not found", name) }
go
func (t *Template) GetAWSElastiCacheSecurityGroupWithName(name string) (*resources.AWSElastiCacheSecurityGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElastiCacheSecurityGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElastiCacheSecurityGroup not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElastiCacheSecurityGroupWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElastiCacheSecurityGroup", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElastiCacheSecurityGroup", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElastiCacheSecurityGroupWithName retrieves all AWSElastiCacheSecurityGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElastiCacheSecurityGroupWithName", "retrieves", "all", "AWSElastiCacheSecurityGroup", "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#L4664-L4672
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElastiCacheSecurityGroupIngressResources
func (t *Template) GetAllAWSElastiCacheSecurityGroupIngressResources() map[string]*resources.AWSElastiCacheSecurityGroupIngress { results := map[string]*resources.AWSElastiCacheSecurityGroupIngress{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElastiCacheSecurityGroupIngress: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElastiCacheSecurityGroupIngressResources() map[string]*resources.AWSElastiCacheSecurityGroupIngress { results := map[string]*resources.AWSElastiCacheSecurityGroupIngress{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElastiCacheSecurityGroupIngress: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElastiCacheSecurityGroupIngressResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElastiCacheSecurityGroupIngress", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElastiCacheSecurityGroupIngress", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElastiCacheSecurityGroupIngress", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElastiCacheSecurityGroupIngressResources retrieves all AWSElastiCacheSecurityGroupIngress items from an AWS CloudFormation template
[ "GetAllAWSElastiCacheSecurityGroupIngressResources", "retrieves", "all", "AWSElastiCacheSecurityGroupIngress", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4675-L4684
train
awslabs/goformation
cloudformation/all.go
GetAWSElastiCacheSecurityGroupIngressWithName
func (t *Template) GetAWSElastiCacheSecurityGroupIngressWithName(name string) (*resources.AWSElastiCacheSecurityGroupIngress, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElastiCacheSecurityGroupIngress: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElastiCacheSecurityGroupIngress not found", name) }
go
func (t *Template) GetAWSElastiCacheSecurityGroupIngressWithName(name string) (*resources.AWSElastiCacheSecurityGroupIngress, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElastiCacheSecurityGroupIngress: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElastiCacheSecurityGroupIngress not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElastiCacheSecurityGroupIngressWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElastiCacheSecurityGroupIngress", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElastiCacheSecurityGroupIngress", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElastiCacheSecurityGroupIngressWithName retrieves all AWSElastiCacheSecurityGroupIngress items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElastiCacheSecurityGroupIngressWithName", "retrieves", "all", "AWSElastiCacheSecurityGroupIngress", "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#L4688-L4696
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElastiCacheSubnetGroupResources
func (t *Template) GetAllAWSElastiCacheSubnetGroupResources() map[string]*resources.AWSElastiCacheSubnetGroup { results := map[string]*resources.AWSElastiCacheSubnetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElastiCacheSubnetGroup: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElastiCacheSubnetGroupResources() map[string]*resources.AWSElastiCacheSubnetGroup { results := map[string]*resources.AWSElastiCacheSubnetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElastiCacheSubnetGroup: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElastiCacheSubnetGroupResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElastiCacheSubnetGroup", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElastiCacheSubnetGroup", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElastiCacheSubnetGroup", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElastiCacheSubnetGroupResources retrieves all AWSElastiCacheSubnetGroup items from an AWS CloudFormation template
[ "GetAllAWSElastiCacheSubnetGroupResources", "retrieves", "all", "AWSElastiCacheSubnetGroup", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4699-L4708
train
awslabs/goformation
cloudformation/all.go
GetAWSElastiCacheSubnetGroupWithName
func (t *Template) GetAWSElastiCacheSubnetGroupWithName(name string) (*resources.AWSElastiCacheSubnetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElastiCacheSubnetGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElastiCacheSubnetGroup not found", name) }
go
func (t *Template) GetAWSElastiCacheSubnetGroupWithName(name string) (*resources.AWSElastiCacheSubnetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElastiCacheSubnetGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElastiCacheSubnetGroup not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElastiCacheSubnetGroupWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElastiCacheSubnetGroup", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElastiCacheSubnetGroup", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElastiCacheSubnetGroupWithName retrieves all AWSElastiCacheSubnetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElastiCacheSubnetGroupWithName", "retrieves", "all", "AWSElastiCacheSubnetGroup", "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#L4712-L4720
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElasticBeanstalkApplicationResources
func (t *Template) GetAllAWSElasticBeanstalkApplicationResources() map[string]*resources.AWSElasticBeanstalkApplication { results := map[string]*resources.AWSElasticBeanstalkApplication{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkApplication: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElasticBeanstalkApplicationResources() map[string]*resources.AWSElasticBeanstalkApplication { results := map[string]*resources.AWSElasticBeanstalkApplication{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkApplication: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElasticBeanstalkApplicationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticBeanstalkApplication", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticBeanstalkApplication", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticBeanstalkApplication", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElasticBeanstalkApplicationResources retrieves all AWSElasticBeanstalkApplication items from an AWS CloudFormation template
[ "GetAllAWSElasticBeanstalkApplicationResources", "retrieves", "all", "AWSElasticBeanstalkApplication", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4723-L4732
train
awslabs/goformation
cloudformation/all.go
GetAWSElasticBeanstalkApplicationWithName
func (t *Template) GetAWSElasticBeanstalkApplicationWithName(name string) (*resources.AWSElasticBeanstalkApplication, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkApplication: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticBeanstalkApplication not found", name) }
go
func (t *Template) GetAWSElasticBeanstalkApplicationWithName(name string) (*resources.AWSElasticBeanstalkApplication, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkApplication: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticBeanstalkApplication not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElasticBeanstalkApplicationWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElasticBeanstalkApplication", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticBeanstalkApplication", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElasticBeanstalkApplicationWithName retrieves all AWSElasticBeanstalkApplication items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElasticBeanstalkApplicationWithName", "retrieves", "all", "AWSElasticBeanstalkApplication", "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#L4736-L4744
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElasticBeanstalkApplicationVersionResources
func (t *Template) GetAllAWSElasticBeanstalkApplicationVersionResources() map[string]*resources.AWSElasticBeanstalkApplicationVersion { results := map[string]*resources.AWSElasticBeanstalkApplicationVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkApplicationVersion: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElasticBeanstalkApplicationVersionResources() map[string]*resources.AWSElasticBeanstalkApplicationVersion { results := map[string]*resources.AWSElasticBeanstalkApplicationVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkApplicationVersion: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElasticBeanstalkApplicationVersionResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticBeanstalkApplicationVersion", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticBeanstalkApplicationVersion", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticBeanstalkApplicationVersion", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElasticBeanstalkApplicationVersionResources retrieves all AWSElasticBeanstalkApplicationVersion items from an AWS CloudFormation template
[ "GetAllAWSElasticBeanstalkApplicationVersionResources", "retrieves", "all", "AWSElasticBeanstalkApplicationVersion", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4747-L4756
train
awslabs/goformation
cloudformation/all.go
GetAWSElasticBeanstalkApplicationVersionWithName
func (t *Template) GetAWSElasticBeanstalkApplicationVersionWithName(name string) (*resources.AWSElasticBeanstalkApplicationVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkApplicationVersion: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticBeanstalkApplicationVersion not found", name) }
go
func (t *Template) GetAWSElasticBeanstalkApplicationVersionWithName(name string) (*resources.AWSElasticBeanstalkApplicationVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkApplicationVersion: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticBeanstalkApplicationVersion not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElasticBeanstalkApplicationVersionWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElasticBeanstalkApplicationVersion", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticBeanstalkApplicationVersion", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElasticBeanstalkApplicationVersionWithName retrieves all AWSElasticBeanstalkApplicationVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElasticBeanstalkApplicationVersionWithName", "retrieves", "all", "AWSElasticBeanstalkApplicationVersion", "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#L4760-L4768
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElasticBeanstalkConfigurationTemplateResources
func (t *Template) GetAllAWSElasticBeanstalkConfigurationTemplateResources() map[string]*resources.AWSElasticBeanstalkConfigurationTemplate { results := map[string]*resources.AWSElasticBeanstalkConfigurationTemplate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkConfigurationTemplate: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElasticBeanstalkConfigurationTemplateResources() map[string]*resources.AWSElasticBeanstalkConfigurationTemplate { results := map[string]*resources.AWSElasticBeanstalkConfigurationTemplate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkConfigurationTemplate: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElasticBeanstalkConfigurationTemplateResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticBeanstalkConfigurationTemplate", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticBeanstalkConfigurationTemplate", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticBeanstalkConfigurationTemplate", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElasticBeanstalkConfigurationTemplateResources retrieves all AWSElasticBeanstalkConfigurationTemplate items from an AWS CloudFormation template
[ "GetAllAWSElasticBeanstalkConfigurationTemplateResources", "retrieves", "all", "AWSElasticBeanstalkConfigurationTemplate", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4771-L4780
train
awslabs/goformation
cloudformation/all.go
GetAWSElasticBeanstalkConfigurationTemplateWithName
func (t *Template) GetAWSElasticBeanstalkConfigurationTemplateWithName(name string) (*resources.AWSElasticBeanstalkConfigurationTemplate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkConfigurationTemplate: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticBeanstalkConfigurationTemplate not found", name) }
go
func (t *Template) GetAWSElasticBeanstalkConfigurationTemplateWithName(name string) (*resources.AWSElasticBeanstalkConfigurationTemplate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkConfigurationTemplate: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticBeanstalkConfigurationTemplate not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElasticBeanstalkConfigurationTemplateWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElasticBeanstalkConfigurationTemplate", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticBeanstalkConfigurationTemplate", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElasticBeanstalkConfigurationTemplateWithName retrieves all AWSElasticBeanstalkConfigurationTemplate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElasticBeanstalkConfigurationTemplateWithName", "retrieves", "all", "AWSElasticBeanstalkConfigurationTemplate", "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#L4784-L4792
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElasticBeanstalkEnvironmentResources
func (t *Template) GetAllAWSElasticBeanstalkEnvironmentResources() map[string]*resources.AWSElasticBeanstalkEnvironment { results := map[string]*resources.AWSElasticBeanstalkEnvironment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkEnvironment: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElasticBeanstalkEnvironmentResources() map[string]*resources.AWSElasticBeanstalkEnvironment { results := map[string]*resources.AWSElasticBeanstalkEnvironment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkEnvironment: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElasticBeanstalkEnvironmentResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticBeanstalkEnvironment", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticBeanstalkEnvironment", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticBeanstalkEnvironment", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElasticBeanstalkEnvironmentResources retrieves all AWSElasticBeanstalkEnvironment items from an AWS CloudFormation template
[ "GetAllAWSElasticBeanstalkEnvironmentResources", "retrieves", "all", "AWSElasticBeanstalkEnvironment", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4795-L4804
train
awslabs/goformation
cloudformation/all.go
GetAWSElasticBeanstalkEnvironmentWithName
func (t *Template) GetAWSElasticBeanstalkEnvironmentWithName(name string) (*resources.AWSElasticBeanstalkEnvironment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkEnvironment: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticBeanstalkEnvironment not found", name) }
go
func (t *Template) GetAWSElasticBeanstalkEnvironmentWithName(name string) (*resources.AWSElasticBeanstalkEnvironment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticBeanstalkEnvironment: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticBeanstalkEnvironment not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElasticBeanstalkEnvironmentWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElasticBeanstalkEnvironment", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticBeanstalkEnvironment", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElasticBeanstalkEnvironmentWithName retrieves all AWSElasticBeanstalkEnvironment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElasticBeanstalkEnvironmentWithName", "retrieves", "all", "AWSElasticBeanstalkEnvironment", "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#L4808-L4816
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElasticLoadBalancingLoadBalancerResources
func (t *Template) GetAllAWSElasticLoadBalancingLoadBalancerResources() map[string]*resources.AWSElasticLoadBalancingLoadBalancer { results := map[string]*resources.AWSElasticLoadBalancingLoadBalancer{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingLoadBalancer: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElasticLoadBalancingLoadBalancerResources() map[string]*resources.AWSElasticLoadBalancingLoadBalancer { results := map[string]*resources.AWSElasticLoadBalancingLoadBalancer{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingLoadBalancer: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElasticLoadBalancingLoadBalancerResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticLoadBalancingLoadBalancer", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticLoadBalancingLoadBalancer", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticLoadBalancingLoadBalancer", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElasticLoadBalancingLoadBalancerResources retrieves all AWSElasticLoadBalancingLoadBalancer items from an AWS CloudFormation template
[ "GetAllAWSElasticLoadBalancingLoadBalancerResources", "retrieves", "all", "AWSElasticLoadBalancingLoadBalancer", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4819-L4828
train
awslabs/goformation
cloudformation/all.go
GetAWSElasticLoadBalancingLoadBalancerWithName
func (t *Template) GetAWSElasticLoadBalancingLoadBalancerWithName(name string) (*resources.AWSElasticLoadBalancingLoadBalancer, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingLoadBalancer: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticLoadBalancingLoadBalancer not found", name) }
go
func (t *Template) GetAWSElasticLoadBalancingLoadBalancerWithName(name string) (*resources.AWSElasticLoadBalancingLoadBalancer, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingLoadBalancer: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticLoadBalancingLoadBalancer not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElasticLoadBalancingLoadBalancerWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElasticLoadBalancingLoadBalancer", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticLoadBalancingLoadBalancer", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElasticLoadBalancingLoadBalancerWithName retrieves all AWSElasticLoadBalancingLoadBalancer items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElasticLoadBalancingLoadBalancerWithName", "retrieves", "all", "AWSElasticLoadBalancingLoadBalancer", "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#L4832-L4840
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElasticLoadBalancingV2ListenerResources
func (t *Template) GetAllAWSElasticLoadBalancingV2ListenerResources() map[string]*resources.AWSElasticLoadBalancingV2Listener { results := map[string]*resources.AWSElasticLoadBalancingV2Listener{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2Listener: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElasticLoadBalancingV2ListenerResources() map[string]*resources.AWSElasticLoadBalancingV2Listener { results := map[string]*resources.AWSElasticLoadBalancingV2Listener{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2Listener: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElasticLoadBalancingV2ListenerResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticLoadBalancingV2Listener", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticLoadBalancingV2Listener", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticLoadBalancingV2Listener", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElasticLoadBalancingV2ListenerResources retrieves all AWSElasticLoadBalancingV2Listener items from an AWS CloudFormation template
[ "GetAllAWSElasticLoadBalancingV2ListenerResources", "retrieves", "all", "AWSElasticLoadBalancingV2Listener", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4843-L4852
train
awslabs/goformation
cloudformation/all.go
GetAWSElasticLoadBalancingV2ListenerWithName
func (t *Template) GetAWSElasticLoadBalancingV2ListenerWithName(name string) (*resources.AWSElasticLoadBalancingV2Listener, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2Listener: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticLoadBalancingV2Listener not found", name) }
go
func (t *Template) GetAWSElasticLoadBalancingV2ListenerWithName(name string) (*resources.AWSElasticLoadBalancingV2Listener, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2Listener: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticLoadBalancingV2Listener not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElasticLoadBalancingV2ListenerWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElasticLoadBalancingV2Listener", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticLoadBalancingV2Listener", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElasticLoadBalancingV2ListenerWithName retrieves all AWSElasticLoadBalancingV2Listener items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElasticLoadBalancingV2ListenerWithName", "retrieves", "all", "AWSElasticLoadBalancingV2Listener", "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#L4856-L4864
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElasticLoadBalancingV2ListenerCertificateResources
func (t *Template) GetAllAWSElasticLoadBalancingV2ListenerCertificateResources() map[string]*resources.AWSElasticLoadBalancingV2ListenerCertificate { results := map[string]*resources.AWSElasticLoadBalancingV2ListenerCertificate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2ListenerCertificate: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElasticLoadBalancingV2ListenerCertificateResources() map[string]*resources.AWSElasticLoadBalancingV2ListenerCertificate { results := map[string]*resources.AWSElasticLoadBalancingV2ListenerCertificate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2ListenerCertificate: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElasticLoadBalancingV2ListenerCertificateResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticLoadBalancingV2ListenerCertificate", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticLoadBalancingV2ListenerCertificate", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticLoadBalancingV2ListenerCertificate", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElasticLoadBalancingV2ListenerCertificateResources retrieves all AWSElasticLoadBalancingV2ListenerCertificate items from an AWS CloudFormation template
[ "GetAllAWSElasticLoadBalancingV2ListenerCertificateResources", "retrieves", "all", "AWSElasticLoadBalancingV2ListenerCertificate", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4867-L4876
train
awslabs/goformation
cloudformation/all.go
GetAWSElasticLoadBalancingV2ListenerCertificateWithName
func (t *Template) GetAWSElasticLoadBalancingV2ListenerCertificateWithName(name string) (*resources.AWSElasticLoadBalancingV2ListenerCertificate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2ListenerCertificate: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticLoadBalancingV2ListenerCertificate not found", name) }
go
func (t *Template) GetAWSElasticLoadBalancingV2ListenerCertificateWithName(name string) (*resources.AWSElasticLoadBalancingV2ListenerCertificate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2ListenerCertificate: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticLoadBalancingV2ListenerCertificate not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElasticLoadBalancingV2ListenerCertificateWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElasticLoadBalancingV2ListenerCertificate", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticLoadBalancingV2ListenerCertificate", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElasticLoadBalancingV2ListenerCertificateWithName retrieves all AWSElasticLoadBalancingV2ListenerCertificate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElasticLoadBalancingV2ListenerCertificateWithName", "retrieves", "all", "AWSElasticLoadBalancingV2ListenerCertificate", "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#L4880-L4888
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElasticLoadBalancingV2ListenerRuleResources
func (t *Template) GetAllAWSElasticLoadBalancingV2ListenerRuleResources() map[string]*resources.AWSElasticLoadBalancingV2ListenerRule { results := map[string]*resources.AWSElasticLoadBalancingV2ListenerRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2ListenerRule: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElasticLoadBalancingV2ListenerRuleResources() map[string]*resources.AWSElasticLoadBalancingV2ListenerRule { results := map[string]*resources.AWSElasticLoadBalancingV2ListenerRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2ListenerRule: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElasticLoadBalancingV2ListenerRuleResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticLoadBalancingV2ListenerRule", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticLoadBalancingV2ListenerRule", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticLoadBalancingV2ListenerRule", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElasticLoadBalancingV2ListenerRuleResources retrieves all AWSElasticLoadBalancingV2ListenerRule items from an AWS CloudFormation template
[ "GetAllAWSElasticLoadBalancingV2ListenerRuleResources", "retrieves", "all", "AWSElasticLoadBalancingV2ListenerRule", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4891-L4900
train
awslabs/goformation
cloudformation/all.go
GetAWSElasticLoadBalancingV2ListenerRuleWithName
func (t *Template) GetAWSElasticLoadBalancingV2ListenerRuleWithName(name string) (*resources.AWSElasticLoadBalancingV2ListenerRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2ListenerRule: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticLoadBalancingV2ListenerRule not found", name) }
go
func (t *Template) GetAWSElasticLoadBalancingV2ListenerRuleWithName(name string) (*resources.AWSElasticLoadBalancingV2ListenerRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2ListenerRule: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticLoadBalancingV2ListenerRule not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElasticLoadBalancingV2ListenerRuleWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElasticLoadBalancingV2ListenerRule", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticLoadBalancingV2ListenerRule", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElasticLoadBalancingV2ListenerRuleWithName retrieves all AWSElasticLoadBalancingV2ListenerRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElasticLoadBalancingV2ListenerRuleWithName", "retrieves", "all", "AWSElasticLoadBalancingV2ListenerRule", "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#L4904-L4912
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElasticLoadBalancingV2LoadBalancerResources
func (t *Template) GetAllAWSElasticLoadBalancingV2LoadBalancerResources() map[string]*resources.AWSElasticLoadBalancingV2LoadBalancer { results := map[string]*resources.AWSElasticLoadBalancingV2LoadBalancer{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2LoadBalancer: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElasticLoadBalancingV2LoadBalancerResources() map[string]*resources.AWSElasticLoadBalancingV2LoadBalancer { results := map[string]*resources.AWSElasticLoadBalancingV2LoadBalancer{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2LoadBalancer: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElasticLoadBalancingV2LoadBalancerResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticLoadBalancingV2LoadBalancer", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticLoadBalancingV2LoadBalancer", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticLoadBalancingV2LoadBalancer", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElasticLoadBalancingV2LoadBalancerResources retrieves all AWSElasticLoadBalancingV2LoadBalancer items from an AWS CloudFormation template
[ "GetAllAWSElasticLoadBalancingV2LoadBalancerResources", "retrieves", "all", "AWSElasticLoadBalancingV2LoadBalancer", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4915-L4924
train
awslabs/goformation
cloudformation/all.go
GetAWSElasticLoadBalancingV2LoadBalancerWithName
func (t *Template) GetAWSElasticLoadBalancingV2LoadBalancerWithName(name string) (*resources.AWSElasticLoadBalancingV2LoadBalancer, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2LoadBalancer: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticLoadBalancingV2LoadBalancer not found", name) }
go
func (t *Template) GetAWSElasticLoadBalancingV2LoadBalancerWithName(name string) (*resources.AWSElasticLoadBalancingV2LoadBalancer, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2LoadBalancer: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticLoadBalancingV2LoadBalancer not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElasticLoadBalancingV2LoadBalancerWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElasticLoadBalancingV2LoadBalancer", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticLoadBalancingV2LoadBalancer", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElasticLoadBalancingV2LoadBalancerWithName retrieves all AWSElasticLoadBalancingV2LoadBalancer items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElasticLoadBalancingV2LoadBalancerWithName", "retrieves", "all", "AWSElasticLoadBalancingV2LoadBalancer", "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#L4928-L4936
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElasticLoadBalancingV2TargetGroupResources
func (t *Template) GetAllAWSElasticLoadBalancingV2TargetGroupResources() map[string]*resources.AWSElasticLoadBalancingV2TargetGroup { results := map[string]*resources.AWSElasticLoadBalancingV2TargetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2TargetGroup: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElasticLoadBalancingV2TargetGroupResources() map[string]*resources.AWSElasticLoadBalancingV2TargetGroup { results := map[string]*resources.AWSElasticLoadBalancingV2TargetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2TargetGroup: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElasticLoadBalancingV2TargetGroupResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticLoadBalancingV2TargetGroup", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticLoadBalancingV2TargetGroup", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticLoadBalancingV2TargetGroup", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElasticLoadBalancingV2TargetGroupResources retrieves all AWSElasticLoadBalancingV2TargetGroup items from an AWS CloudFormation template
[ "GetAllAWSElasticLoadBalancingV2TargetGroupResources", "retrieves", "all", "AWSElasticLoadBalancingV2TargetGroup", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4939-L4948
train
awslabs/goformation
cloudformation/all.go
GetAWSElasticLoadBalancingV2TargetGroupWithName
func (t *Template) GetAWSElasticLoadBalancingV2TargetGroupWithName(name string) (*resources.AWSElasticLoadBalancingV2TargetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2TargetGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticLoadBalancingV2TargetGroup not found", name) }
go
func (t *Template) GetAWSElasticLoadBalancingV2TargetGroupWithName(name string) (*resources.AWSElasticLoadBalancingV2TargetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticLoadBalancingV2TargetGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticLoadBalancingV2TargetGroup not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElasticLoadBalancingV2TargetGroupWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElasticLoadBalancingV2TargetGroup", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticLoadBalancingV2TargetGroup", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElasticLoadBalancingV2TargetGroupWithName retrieves all AWSElasticLoadBalancingV2TargetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElasticLoadBalancingV2TargetGroupWithName", "retrieves", "all", "AWSElasticLoadBalancingV2TargetGroup", "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#L4952-L4960
train
awslabs/goformation
cloudformation/all.go
GetAllAWSElasticsearchDomainResources
func (t *Template) GetAllAWSElasticsearchDomainResources() map[string]*resources.AWSElasticsearchDomain { results := map[string]*resources.AWSElasticsearchDomain{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticsearchDomain: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSElasticsearchDomainResources() map[string]*resources.AWSElasticsearchDomain { results := map[string]*resources.AWSElasticsearchDomain{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSElasticsearchDomain: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSElasticsearchDomainResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticsearchDomain", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSElasticsearchDomain", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticsearchDomain", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSElasticsearchDomainResources retrieves all AWSElasticsearchDomain items from an AWS CloudFormation template
[ "GetAllAWSElasticsearchDomainResources", "retrieves", "all", "AWSElasticsearchDomain", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4963-L4972
train
awslabs/goformation
cloudformation/all.go
GetAWSElasticsearchDomainWithName
func (t *Template) GetAWSElasticsearchDomainWithName(name string) (*resources.AWSElasticsearchDomain, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticsearchDomain: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticsearchDomain not found", name) }
go
func (t *Template) GetAWSElasticsearchDomainWithName(name string) (*resources.AWSElasticsearchDomain, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSElasticsearchDomain: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSElasticsearchDomain not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSElasticsearchDomainWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSElasticsearchDomain", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSElasticsearchDomain", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSElasticsearchDomainWithName retrieves all AWSElasticsearchDomain items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSElasticsearchDomainWithName", "retrieves", "all", "AWSElasticsearchDomain", "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#L4976-L4984
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEventsEventBusPolicyResources
func (t *Template) GetAllAWSEventsEventBusPolicyResources() map[string]*resources.AWSEventsEventBusPolicy { results := map[string]*resources.AWSEventsEventBusPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEventsEventBusPolicy: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEventsEventBusPolicyResources() map[string]*resources.AWSEventsEventBusPolicy { results := map[string]*resources.AWSEventsEventBusPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEventsEventBusPolicy: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEventsEventBusPolicyResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEventsEventBusPolicy", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEventsEventBusPolicy", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEventsEventBusPolicy", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEventsEventBusPolicyResources retrieves all AWSEventsEventBusPolicy items from an AWS CloudFormation template
[ "GetAllAWSEventsEventBusPolicyResources", "retrieves", "all", "AWSEventsEventBusPolicy", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L4987-L4996
train
awslabs/goformation
cloudformation/all.go
GetAWSEventsEventBusPolicyWithName
func (t *Template) GetAWSEventsEventBusPolicyWithName(name string) (*resources.AWSEventsEventBusPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEventsEventBusPolicy: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEventsEventBusPolicy not found", name) }
go
func (t *Template) GetAWSEventsEventBusPolicyWithName(name string) (*resources.AWSEventsEventBusPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEventsEventBusPolicy: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEventsEventBusPolicy not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEventsEventBusPolicyWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEventsEventBusPolicy", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEventsEventBusPolicy", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEventsEventBusPolicyWithName retrieves all AWSEventsEventBusPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEventsEventBusPolicyWithName", "retrieves", "all", "AWSEventsEventBusPolicy", "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#L5000-L5008
train
awslabs/goformation
cloudformation/all.go
GetAllAWSEventsRuleResources
func (t *Template) GetAllAWSEventsRuleResources() map[string]*resources.AWSEventsRule { results := map[string]*resources.AWSEventsRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEventsRule: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSEventsRuleResources() map[string]*resources.AWSEventsRule { results := map[string]*resources.AWSEventsRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSEventsRule: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSEventsRuleResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSEventsRule", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSEventsRule", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEventsRule", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSEventsRuleResources retrieves all AWSEventsRule items from an AWS CloudFormation template
[ "GetAllAWSEventsRuleResources", "retrieves", "all", "AWSEventsRule", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L5011-L5020
train
awslabs/goformation
cloudformation/all.go
GetAWSEventsRuleWithName
func (t *Template) GetAWSEventsRuleWithName(name string) (*resources.AWSEventsRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEventsRule: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEventsRule not found", name) }
go
func (t *Template) GetAWSEventsRuleWithName(name string) (*resources.AWSEventsRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSEventsRule: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSEventsRule not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSEventsRuleWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSEventsRule", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSEventsRule", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSEventsRuleWithName retrieves all AWSEventsRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSEventsRuleWithName", "retrieves", "all", "AWSEventsRule", "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#L5024-L5032
train
awslabs/goformation
cloudformation/all.go
GetAllAWSFSxFileSystemResources
func (t *Template) GetAllAWSFSxFileSystemResources() map[string]*resources.AWSFSxFileSystem { results := map[string]*resources.AWSFSxFileSystem{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSFSxFileSystem: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSFSxFileSystemResources() map[string]*resources.AWSFSxFileSystem { results := map[string]*resources.AWSFSxFileSystem{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSFSxFileSystem: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSFSxFileSystemResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSFSxFileSystem", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSFSxFileSystem", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSFSxFileSystem", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSFSxFileSystemResources retrieves all AWSFSxFileSystem items from an AWS CloudFormation template
[ "GetAllAWSFSxFileSystemResources", "retrieves", "all", "AWSFSxFileSystem", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L5035-L5044
train
awslabs/goformation
cloudformation/all.go
GetAWSFSxFileSystemWithName
func (t *Template) GetAWSFSxFileSystemWithName(name string) (*resources.AWSFSxFileSystem, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSFSxFileSystem: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSFSxFileSystem not found", name) }
go
func (t *Template) GetAWSFSxFileSystemWithName(name string) (*resources.AWSFSxFileSystem, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSFSxFileSystem: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSFSxFileSystem not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSFSxFileSystemWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSFSxFileSystem", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSFSxFileSystem", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSFSxFileSystemWithName retrieves all AWSFSxFileSystem items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSFSxFileSystemWithName", "retrieves", "all", "AWSFSxFileSystem", "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#L5048-L5056
train
awslabs/goformation
cloudformation/all.go
GetAllAWSGameLiftAliasResources
func (t *Template) GetAllAWSGameLiftAliasResources() map[string]*resources.AWSGameLiftAlias { results := map[string]*resources.AWSGameLiftAlias{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSGameLiftAlias: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSGameLiftAliasResources() map[string]*resources.AWSGameLiftAlias { results := map[string]*resources.AWSGameLiftAlias{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSGameLiftAlias: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSGameLiftAliasResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSGameLiftAlias", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSGameLiftAlias", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSGameLiftAlias", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSGameLiftAliasResources retrieves all AWSGameLiftAlias items from an AWS CloudFormation template
[ "GetAllAWSGameLiftAliasResources", "retrieves", "all", "AWSGameLiftAlias", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L5059-L5068
train
awslabs/goformation
cloudformation/all.go
GetAWSGameLiftAliasWithName
func (t *Template) GetAWSGameLiftAliasWithName(name string) (*resources.AWSGameLiftAlias, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSGameLiftAlias: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSGameLiftAlias not found", name) }
go
func (t *Template) GetAWSGameLiftAliasWithName(name string) (*resources.AWSGameLiftAlias, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSGameLiftAlias: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSGameLiftAlias not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSGameLiftAliasWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSGameLiftAlias", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSGameLiftAlias", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSGameLiftAliasWithName retrieves all AWSGameLiftAlias items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSGameLiftAliasWithName", "retrieves", "all", "AWSGameLiftAlias", "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#L5072-L5080
train
awslabs/goformation
cloudformation/all.go
GetAllAWSGameLiftBuildResources
func (t *Template) GetAllAWSGameLiftBuildResources() map[string]*resources.AWSGameLiftBuild { results := map[string]*resources.AWSGameLiftBuild{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSGameLiftBuild: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSGameLiftBuildResources() map[string]*resources.AWSGameLiftBuild { results := map[string]*resources.AWSGameLiftBuild{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSGameLiftBuild: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSGameLiftBuildResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSGameLiftBuild", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSGameLiftBuild", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSGameLiftBuild", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSGameLiftBuildResources retrieves all AWSGameLiftBuild items from an AWS CloudFormation template
[ "GetAllAWSGameLiftBuildResources", "retrieves", "all", "AWSGameLiftBuild", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L5083-L5092
train
awslabs/goformation
cloudformation/all.go
GetAWSGameLiftBuildWithName
func (t *Template) GetAWSGameLiftBuildWithName(name string) (*resources.AWSGameLiftBuild, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSGameLiftBuild: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSGameLiftBuild not found", name) }
go
func (t *Template) GetAWSGameLiftBuildWithName(name string) (*resources.AWSGameLiftBuild, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSGameLiftBuild: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSGameLiftBuild not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSGameLiftBuildWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSGameLiftBuild", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSGameLiftBuild", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSGameLiftBuildWithName retrieves all AWSGameLiftBuild items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSGameLiftBuildWithName", "retrieves", "all", "AWSGameLiftBuild", "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#L5096-L5104
train
awslabs/goformation
cloudformation/all.go
GetAllAWSGameLiftFleetResources
func (t *Template) GetAllAWSGameLiftFleetResources() map[string]*resources.AWSGameLiftFleet { results := map[string]*resources.AWSGameLiftFleet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSGameLiftFleet: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSGameLiftFleetResources() map[string]*resources.AWSGameLiftFleet { results := map[string]*resources.AWSGameLiftFleet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSGameLiftFleet: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSGameLiftFleetResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSGameLiftFleet", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSGameLiftFleet", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSGameLiftFleet", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSGameLiftFleetResources retrieves all AWSGameLiftFleet items from an AWS CloudFormation template
[ "GetAllAWSGameLiftFleetResources", "retrieves", "all", "AWSGameLiftFleet", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L5107-L5116
train
awslabs/goformation
cloudformation/all.go
GetAWSGameLiftFleetWithName
func (t *Template) GetAWSGameLiftFleetWithName(name string) (*resources.AWSGameLiftFleet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSGameLiftFleet: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSGameLiftFleet not found", name) }
go
func (t *Template) GetAWSGameLiftFleetWithName(name string) (*resources.AWSGameLiftFleet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSGameLiftFleet: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSGameLiftFleet not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSGameLiftFleetWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSGameLiftFleet", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSGameLiftFleet", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSGameLiftFleetWithName retrieves all AWSGameLiftFleet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSGameLiftFleetWithName", "retrieves", "all", "AWSGameLiftFleet", "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#L5120-L5128
train
awslabs/goformation
cloudformation/all.go
GetAllAWSGlueClassifierResources
func (t *Template) GetAllAWSGlueClassifierResources() map[string]*resources.AWSGlueClassifier { results := map[string]*resources.AWSGlueClassifier{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSGlueClassifier: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSGlueClassifierResources() map[string]*resources.AWSGlueClassifier { results := map[string]*resources.AWSGlueClassifier{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSGlueClassifier: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSGlueClassifierResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSGlueClassifier", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSGlueClassifier", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSGlueClassifier", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSGlueClassifierResources retrieves all AWSGlueClassifier items from an AWS CloudFormation template
[ "GetAllAWSGlueClassifierResources", "retrieves", "all", "AWSGlueClassifier", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L5131-L5140
train
awslabs/goformation
cloudformation/all.go
GetAWSGlueClassifierWithName
func (t *Template) GetAWSGlueClassifierWithName(name string) (*resources.AWSGlueClassifier, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSGlueClassifier: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSGlueClassifier not found", name) }
go
func (t *Template) GetAWSGlueClassifierWithName(name string) (*resources.AWSGlueClassifier, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSGlueClassifier: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSGlueClassifier not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSGlueClassifierWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSGlueClassifier", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSGlueClassifier", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSGlueClassifierWithName retrieves all AWSGlueClassifier items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSGlueClassifierWithName", "retrieves", "all", "AWSGlueClassifier", "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#L5144-L5152
train
awslabs/goformation
cloudformation/all.go
GetAllAWSGlueConnectionResources
func (t *Template) GetAllAWSGlueConnectionResources() map[string]*resources.AWSGlueConnection { results := map[string]*resources.AWSGlueConnection{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSGlueConnection: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSGlueConnectionResources() map[string]*resources.AWSGlueConnection { results := map[string]*resources.AWSGlueConnection{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSGlueConnection: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSGlueConnectionResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSGlueConnection", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSGlueConnection", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSGlueConnection", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSGlueConnectionResources retrieves all AWSGlueConnection items from an AWS CloudFormation template
[ "GetAllAWSGlueConnectionResources", "retrieves", "all", "AWSGlueConnection", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L5155-L5164
train
awslabs/goformation
cloudformation/all.go
GetAWSGlueConnectionWithName
func (t *Template) GetAWSGlueConnectionWithName(name string) (*resources.AWSGlueConnection, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSGlueConnection: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSGlueConnection not found", name) }
go
func (t *Template) GetAWSGlueConnectionWithName(name string) (*resources.AWSGlueConnection, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSGlueConnection: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSGlueConnection not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSGlueConnectionWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSGlueConnection", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSGlueConnection", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSGlueConnectionWithName retrieves all AWSGlueConnection items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSGlueConnectionWithName", "retrieves", "all", "AWSGlueConnection", "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#L5168-L5176
train
awslabs/goformation
cloudformation/all.go
GetAllAWSGlueCrawlerResources
func (t *Template) GetAllAWSGlueCrawlerResources() map[string]*resources.AWSGlueCrawler { results := map[string]*resources.AWSGlueCrawler{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSGlueCrawler: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSGlueCrawlerResources() map[string]*resources.AWSGlueCrawler { results := map[string]*resources.AWSGlueCrawler{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSGlueCrawler: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSGlueCrawlerResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSGlueCrawler", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSGlueCrawler", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSGlueCrawler", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSGlueCrawlerResources retrieves all AWSGlueCrawler items from an AWS CloudFormation template
[ "GetAllAWSGlueCrawlerResources", "retrieves", "all", "AWSGlueCrawler", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L5179-L5188
train