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
GetAWSRedshiftClusterWithName
func (t *Template) GetAWSRedshiftClusterWithName(name string) (*resources.AWSRedshiftCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRedshiftCluster: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRedshiftCluster not found", name) }
go
func (t *Template) GetAWSRedshiftClusterWithName(name string) (*resources.AWSRedshiftCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRedshiftCluster: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRedshiftCluster not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRedshiftClusterWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRedshiftCluster", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRedshiftCluster", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRedshiftClusterWithName retrieves all AWSRedshiftCluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRedshiftClusterWithName", "retrieves", "all", "AWSRedshiftCluster", "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#L7592-L7600
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRedshiftClusterParameterGroupResources
func (t *Template) GetAllAWSRedshiftClusterParameterGroupResources() map[string]*resources.AWSRedshiftClusterParameterGroup { results := map[string]*resources.AWSRedshiftClusterParameterGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterParameterGroup: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRedshiftClusterParameterGroupResources() map[string]*resources.AWSRedshiftClusterParameterGroup { results := map[string]*resources.AWSRedshiftClusterParameterGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterParameterGroup: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRedshiftClusterParameterGroupResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRedshiftClusterParameterGroup", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRedshiftClusterParameterGroup", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRedshiftClusterParameterGroup", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRedshiftClusterParameterGroupResources retrieves all AWSRedshiftClusterParameterGroup items from an AWS CloudFormation template
[ "GetAllAWSRedshiftClusterParameterGroupResources", "retrieves", "all", "AWSRedshiftClusterParameterGroup", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7603-L7612
train
awslabs/goformation
cloudformation/all.go
GetAWSRedshiftClusterParameterGroupWithName
func (t *Template) GetAWSRedshiftClusterParameterGroupWithName(name string) (*resources.AWSRedshiftClusterParameterGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterParameterGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRedshiftClusterParameterGroup not found", name) }
go
func (t *Template) GetAWSRedshiftClusterParameterGroupWithName(name string) (*resources.AWSRedshiftClusterParameterGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterParameterGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRedshiftClusterParameterGroup not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRedshiftClusterParameterGroupWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRedshiftClusterParameterGroup", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRedshiftClusterParameterGroup", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRedshiftClusterParameterGroupWithName retrieves all AWSRedshiftClusterParameterGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRedshiftClusterParameterGroupWithName", "retrieves", "all", "AWSRedshiftClusterParameterGroup", "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#L7616-L7624
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRedshiftClusterSecurityGroupResources
func (t *Template) GetAllAWSRedshiftClusterSecurityGroupResources() map[string]*resources.AWSRedshiftClusterSecurityGroup { results := map[string]*resources.AWSRedshiftClusterSecurityGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterSecurityGroup: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRedshiftClusterSecurityGroupResources() map[string]*resources.AWSRedshiftClusterSecurityGroup { results := map[string]*resources.AWSRedshiftClusterSecurityGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterSecurityGroup: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRedshiftClusterSecurityGroupResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRedshiftClusterSecurityGroup", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRedshiftClusterSecurityGroup", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRedshiftClusterSecurityGroup", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRedshiftClusterSecurityGroupResources retrieves all AWSRedshiftClusterSecurityGroup items from an AWS CloudFormation template
[ "GetAllAWSRedshiftClusterSecurityGroupResources", "retrieves", "all", "AWSRedshiftClusterSecurityGroup", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7627-L7636
train
awslabs/goformation
cloudformation/all.go
GetAWSRedshiftClusterSecurityGroupWithName
func (t *Template) GetAWSRedshiftClusterSecurityGroupWithName(name string) (*resources.AWSRedshiftClusterSecurityGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterSecurityGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRedshiftClusterSecurityGroup not found", name) }
go
func (t *Template) GetAWSRedshiftClusterSecurityGroupWithName(name string) (*resources.AWSRedshiftClusterSecurityGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterSecurityGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRedshiftClusterSecurityGroup not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRedshiftClusterSecurityGroupWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRedshiftClusterSecurityGroup", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRedshiftClusterSecurityGroup", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRedshiftClusterSecurityGroupWithName retrieves all AWSRedshiftClusterSecurityGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRedshiftClusterSecurityGroupWithName", "retrieves", "all", "AWSRedshiftClusterSecurityGroup", "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#L7640-L7648
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRedshiftClusterSecurityGroupIngressResources
func (t *Template) GetAllAWSRedshiftClusterSecurityGroupIngressResources() map[string]*resources.AWSRedshiftClusterSecurityGroupIngress { results := map[string]*resources.AWSRedshiftClusterSecurityGroupIngress{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterSecurityGroupIngress: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRedshiftClusterSecurityGroupIngressResources() map[string]*resources.AWSRedshiftClusterSecurityGroupIngress { results := map[string]*resources.AWSRedshiftClusterSecurityGroupIngress{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterSecurityGroupIngress: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRedshiftClusterSecurityGroupIngressResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRedshiftClusterSecurityGroupIngress", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRedshiftClusterSecurityGroupIngress", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRedshiftClusterSecurityGroupIngress", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRedshiftClusterSecurityGroupIngressResources retrieves all AWSRedshiftClusterSecurityGroupIngress items from an AWS CloudFormation template
[ "GetAllAWSRedshiftClusterSecurityGroupIngressResources", "retrieves", "all", "AWSRedshiftClusterSecurityGroupIngress", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7651-L7660
train
awslabs/goformation
cloudformation/all.go
GetAWSRedshiftClusterSecurityGroupIngressWithName
func (t *Template) GetAWSRedshiftClusterSecurityGroupIngressWithName(name string) (*resources.AWSRedshiftClusterSecurityGroupIngress, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterSecurityGroupIngress: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRedshiftClusterSecurityGroupIngress not found", name) }
go
func (t *Template) GetAWSRedshiftClusterSecurityGroupIngressWithName(name string) (*resources.AWSRedshiftClusterSecurityGroupIngress, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterSecurityGroupIngress: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRedshiftClusterSecurityGroupIngress not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRedshiftClusterSecurityGroupIngressWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRedshiftClusterSecurityGroupIngress", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRedshiftClusterSecurityGroupIngress", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRedshiftClusterSecurityGroupIngressWithName retrieves all AWSRedshiftClusterSecurityGroupIngress items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRedshiftClusterSecurityGroupIngressWithName", "retrieves", "all", "AWSRedshiftClusterSecurityGroupIngress", "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#L7664-L7672
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRedshiftClusterSubnetGroupResources
func (t *Template) GetAllAWSRedshiftClusterSubnetGroupResources() map[string]*resources.AWSRedshiftClusterSubnetGroup { results := map[string]*resources.AWSRedshiftClusterSubnetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterSubnetGroup: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRedshiftClusterSubnetGroupResources() map[string]*resources.AWSRedshiftClusterSubnetGroup { results := map[string]*resources.AWSRedshiftClusterSubnetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterSubnetGroup: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRedshiftClusterSubnetGroupResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRedshiftClusterSubnetGroup", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRedshiftClusterSubnetGroup", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRedshiftClusterSubnetGroup", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRedshiftClusterSubnetGroupResources retrieves all AWSRedshiftClusterSubnetGroup items from an AWS CloudFormation template
[ "GetAllAWSRedshiftClusterSubnetGroupResources", "retrieves", "all", "AWSRedshiftClusterSubnetGroup", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7675-L7684
train
awslabs/goformation
cloudformation/all.go
GetAWSRedshiftClusterSubnetGroupWithName
func (t *Template) GetAWSRedshiftClusterSubnetGroupWithName(name string) (*resources.AWSRedshiftClusterSubnetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterSubnetGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRedshiftClusterSubnetGroup not found", name) }
go
func (t *Template) GetAWSRedshiftClusterSubnetGroupWithName(name string) (*resources.AWSRedshiftClusterSubnetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRedshiftClusterSubnetGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRedshiftClusterSubnetGroup not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRedshiftClusterSubnetGroupWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRedshiftClusterSubnetGroup", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRedshiftClusterSubnetGroup", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRedshiftClusterSubnetGroupWithName retrieves all AWSRedshiftClusterSubnetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRedshiftClusterSubnetGroupWithName", "retrieves", "all", "AWSRedshiftClusterSubnetGroup", "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#L7688-L7696
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRoboMakerFleetResources
func (t *Template) GetAllAWSRoboMakerFleetResources() map[string]*resources.AWSRoboMakerFleet { results := map[string]*resources.AWSRoboMakerFleet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoboMakerFleet: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRoboMakerFleetResources() map[string]*resources.AWSRoboMakerFleet { results := map[string]*resources.AWSRoboMakerFleet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoboMakerFleet: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRoboMakerFleetResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRoboMakerFleet", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRoboMakerFleet", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoboMakerFleet", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRoboMakerFleetResources retrieves all AWSRoboMakerFleet items from an AWS CloudFormation template
[ "GetAllAWSRoboMakerFleetResources", "retrieves", "all", "AWSRoboMakerFleet", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7699-L7708
train
awslabs/goformation
cloudformation/all.go
GetAWSRoboMakerFleetWithName
func (t *Template) GetAWSRoboMakerFleetWithName(name string) (*resources.AWSRoboMakerFleet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoboMakerFleet: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoboMakerFleet not found", name) }
go
func (t *Template) GetAWSRoboMakerFleetWithName(name string) (*resources.AWSRoboMakerFleet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoboMakerFleet: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoboMakerFleet not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRoboMakerFleetWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRoboMakerFleet", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoboMakerFleet", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRoboMakerFleetWithName retrieves all AWSRoboMakerFleet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRoboMakerFleetWithName", "retrieves", "all", "AWSRoboMakerFleet", "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#L7712-L7720
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRoboMakerRobotResources
func (t *Template) GetAllAWSRoboMakerRobotResources() map[string]*resources.AWSRoboMakerRobot { results := map[string]*resources.AWSRoboMakerRobot{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoboMakerRobot: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRoboMakerRobotResources() map[string]*resources.AWSRoboMakerRobot { results := map[string]*resources.AWSRoboMakerRobot{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoboMakerRobot: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRoboMakerRobotResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRoboMakerRobot", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRoboMakerRobot", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoboMakerRobot", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRoboMakerRobotResources retrieves all AWSRoboMakerRobot items from an AWS CloudFormation template
[ "GetAllAWSRoboMakerRobotResources", "retrieves", "all", "AWSRoboMakerRobot", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7723-L7732
train
awslabs/goformation
cloudformation/all.go
GetAWSRoboMakerRobotWithName
func (t *Template) GetAWSRoboMakerRobotWithName(name string) (*resources.AWSRoboMakerRobot, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoboMakerRobot: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoboMakerRobot not found", name) }
go
func (t *Template) GetAWSRoboMakerRobotWithName(name string) (*resources.AWSRoboMakerRobot, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoboMakerRobot: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoboMakerRobot not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRoboMakerRobotWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRoboMakerRobot", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoboMakerRobot", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRoboMakerRobotWithName retrieves all AWSRoboMakerRobot items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRoboMakerRobotWithName", "retrieves", "all", "AWSRoboMakerRobot", "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#L7736-L7744
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRoboMakerRobotApplicationResources
func (t *Template) GetAllAWSRoboMakerRobotApplicationResources() map[string]*resources.AWSRoboMakerRobotApplication { results := map[string]*resources.AWSRoboMakerRobotApplication{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoboMakerRobotApplication: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRoboMakerRobotApplicationResources() map[string]*resources.AWSRoboMakerRobotApplication { results := map[string]*resources.AWSRoboMakerRobotApplication{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoboMakerRobotApplication: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRoboMakerRobotApplicationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRoboMakerRobotApplication", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRoboMakerRobotApplication", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoboMakerRobotApplication", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRoboMakerRobotApplicationResources retrieves all AWSRoboMakerRobotApplication items from an AWS CloudFormation template
[ "GetAllAWSRoboMakerRobotApplicationResources", "retrieves", "all", "AWSRoboMakerRobotApplication", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7747-L7756
train
awslabs/goformation
cloudformation/all.go
GetAWSRoboMakerRobotApplicationWithName
func (t *Template) GetAWSRoboMakerRobotApplicationWithName(name string) (*resources.AWSRoboMakerRobotApplication, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoboMakerRobotApplication: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoboMakerRobotApplication not found", name) }
go
func (t *Template) GetAWSRoboMakerRobotApplicationWithName(name string) (*resources.AWSRoboMakerRobotApplication, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoboMakerRobotApplication: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoboMakerRobotApplication not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRoboMakerRobotApplicationWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRoboMakerRobotApplication", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoboMakerRobotApplication", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRoboMakerRobotApplicationWithName retrieves all AWSRoboMakerRobotApplication items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRoboMakerRobotApplicationWithName", "retrieves", "all", "AWSRoboMakerRobotApplication", "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#L7760-L7768
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRoboMakerRobotApplicationVersionResources
func (t *Template) GetAllAWSRoboMakerRobotApplicationVersionResources() map[string]*resources.AWSRoboMakerRobotApplicationVersion { results := map[string]*resources.AWSRoboMakerRobotApplicationVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoboMakerRobotApplicationVersion: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRoboMakerRobotApplicationVersionResources() map[string]*resources.AWSRoboMakerRobotApplicationVersion { results := map[string]*resources.AWSRoboMakerRobotApplicationVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoboMakerRobotApplicationVersion: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRoboMakerRobotApplicationVersionResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRoboMakerRobotApplicationVersion", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRoboMakerRobotApplicationVersion", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoboMakerRobotApplicationVersion", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRoboMakerRobotApplicationVersionResources retrieves all AWSRoboMakerRobotApplicationVersion items from an AWS CloudFormation template
[ "GetAllAWSRoboMakerRobotApplicationVersionResources", "retrieves", "all", "AWSRoboMakerRobotApplicationVersion", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7771-L7780
train
awslabs/goformation
cloudformation/all.go
GetAWSRoboMakerRobotApplicationVersionWithName
func (t *Template) GetAWSRoboMakerRobotApplicationVersionWithName(name string) (*resources.AWSRoboMakerRobotApplicationVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoboMakerRobotApplicationVersion: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoboMakerRobotApplicationVersion not found", name) }
go
func (t *Template) GetAWSRoboMakerRobotApplicationVersionWithName(name string) (*resources.AWSRoboMakerRobotApplicationVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoboMakerRobotApplicationVersion: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoboMakerRobotApplicationVersion not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRoboMakerRobotApplicationVersionWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRoboMakerRobotApplicationVersion", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoboMakerRobotApplicationVersion", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRoboMakerRobotApplicationVersionWithName retrieves all AWSRoboMakerRobotApplicationVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRoboMakerRobotApplicationVersionWithName", "retrieves", "all", "AWSRoboMakerRobotApplicationVersion", "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#L7784-L7792
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRoboMakerSimulationApplicationResources
func (t *Template) GetAllAWSRoboMakerSimulationApplicationResources() map[string]*resources.AWSRoboMakerSimulationApplication { results := map[string]*resources.AWSRoboMakerSimulationApplication{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoboMakerSimulationApplication: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRoboMakerSimulationApplicationResources() map[string]*resources.AWSRoboMakerSimulationApplication { results := map[string]*resources.AWSRoboMakerSimulationApplication{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoboMakerSimulationApplication: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRoboMakerSimulationApplicationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRoboMakerSimulationApplication", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRoboMakerSimulationApplication", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoboMakerSimulationApplication", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRoboMakerSimulationApplicationResources retrieves all AWSRoboMakerSimulationApplication items from an AWS CloudFormation template
[ "GetAllAWSRoboMakerSimulationApplicationResources", "retrieves", "all", "AWSRoboMakerSimulationApplication", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7795-L7804
train
awslabs/goformation
cloudformation/all.go
GetAWSRoboMakerSimulationApplicationWithName
func (t *Template) GetAWSRoboMakerSimulationApplicationWithName(name string) (*resources.AWSRoboMakerSimulationApplication, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoboMakerSimulationApplication: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoboMakerSimulationApplication not found", name) }
go
func (t *Template) GetAWSRoboMakerSimulationApplicationWithName(name string) (*resources.AWSRoboMakerSimulationApplication, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoboMakerSimulationApplication: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoboMakerSimulationApplication not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRoboMakerSimulationApplicationWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRoboMakerSimulationApplication", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoboMakerSimulationApplication", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRoboMakerSimulationApplicationWithName retrieves all AWSRoboMakerSimulationApplication items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRoboMakerSimulationApplicationWithName", "retrieves", "all", "AWSRoboMakerSimulationApplication", "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#L7808-L7816
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRoboMakerSimulationApplicationVersionResources
func (t *Template) GetAllAWSRoboMakerSimulationApplicationVersionResources() map[string]*resources.AWSRoboMakerSimulationApplicationVersion { results := map[string]*resources.AWSRoboMakerSimulationApplicationVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoboMakerSimulationApplicationVersion: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRoboMakerSimulationApplicationVersionResources() map[string]*resources.AWSRoboMakerSimulationApplicationVersion { results := map[string]*resources.AWSRoboMakerSimulationApplicationVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoboMakerSimulationApplicationVersion: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRoboMakerSimulationApplicationVersionResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRoboMakerSimulationApplicationVersion", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRoboMakerSimulationApplicationVersion", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoboMakerSimulationApplicationVersion", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRoboMakerSimulationApplicationVersionResources retrieves all AWSRoboMakerSimulationApplicationVersion items from an AWS CloudFormation template
[ "GetAllAWSRoboMakerSimulationApplicationVersionResources", "retrieves", "all", "AWSRoboMakerSimulationApplicationVersion", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7819-L7828
train
awslabs/goformation
cloudformation/all.go
GetAWSRoboMakerSimulationApplicationVersionWithName
func (t *Template) GetAWSRoboMakerSimulationApplicationVersionWithName(name string) (*resources.AWSRoboMakerSimulationApplicationVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoboMakerSimulationApplicationVersion: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoboMakerSimulationApplicationVersion not found", name) }
go
func (t *Template) GetAWSRoboMakerSimulationApplicationVersionWithName(name string) (*resources.AWSRoboMakerSimulationApplicationVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoboMakerSimulationApplicationVersion: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoboMakerSimulationApplicationVersion not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRoboMakerSimulationApplicationVersionWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRoboMakerSimulationApplicationVersion", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoboMakerSimulationApplicationVersion", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRoboMakerSimulationApplicationVersionWithName retrieves all AWSRoboMakerSimulationApplicationVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRoboMakerSimulationApplicationVersionWithName", "retrieves", "all", "AWSRoboMakerSimulationApplicationVersion", "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#L7832-L7840
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRoute53HealthCheckResources
func (t *Template) GetAllAWSRoute53HealthCheckResources() map[string]*resources.AWSRoute53HealthCheck { results := map[string]*resources.AWSRoute53HealthCheck{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoute53HealthCheck: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRoute53HealthCheckResources() map[string]*resources.AWSRoute53HealthCheck { results := map[string]*resources.AWSRoute53HealthCheck{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoute53HealthCheck: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRoute53HealthCheckResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRoute53HealthCheck", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRoute53HealthCheck", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoute53HealthCheck", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRoute53HealthCheckResources retrieves all AWSRoute53HealthCheck items from an AWS CloudFormation template
[ "GetAllAWSRoute53HealthCheckResources", "retrieves", "all", "AWSRoute53HealthCheck", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7843-L7852
train
awslabs/goformation
cloudformation/all.go
GetAWSRoute53HealthCheckWithName
func (t *Template) GetAWSRoute53HealthCheckWithName(name string) (*resources.AWSRoute53HealthCheck, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoute53HealthCheck: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoute53HealthCheck not found", name) }
go
func (t *Template) GetAWSRoute53HealthCheckWithName(name string) (*resources.AWSRoute53HealthCheck, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoute53HealthCheck: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoute53HealthCheck not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRoute53HealthCheckWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRoute53HealthCheck", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoute53HealthCheck", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRoute53HealthCheckWithName retrieves all AWSRoute53HealthCheck items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRoute53HealthCheckWithName", "retrieves", "all", "AWSRoute53HealthCheck", "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#L7856-L7864
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRoute53HostedZoneResources
func (t *Template) GetAllAWSRoute53HostedZoneResources() map[string]*resources.AWSRoute53HostedZone { results := map[string]*resources.AWSRoute53HostedZone{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoute53HostedZone: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRoute53HostedZoneResources() map[string]*resources.AWSRoute53HostedZone { results := map[string]*resources.AWSRoute53HostedZone{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoute53HostedZone: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRoute53HostedZoneResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRoute53HostedZone", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRoute53HostedZone", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoute53HostedZone", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRoute53HostedZoneResources retrieves all AWSRoute53HostedZone items from an AWS CloudFormation template
[ "GetAllAWSRoute53HostedZoneResources", "retrieves", "all", "AWSRoute53HostedZone", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7867-L7876
train
awslabs/goformation
cloudformation/all.go
GetAWSRoute53HostedZoneWithName
func (t *Template) GetAWSRoute53HostedZoneWithName(name string) (*resources.AWSRoute53HostedZone, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoute53HostedZone: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoute53HostedZone not found", name) }
go
func (t *Template) GetAWSRoute53HostedZoneWithName(name string) (*resources.AWSRoute53HostedZone, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoute53HostedZone: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoute53HostedZone not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRoute53HostedZoneWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRoute53HostedZone", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoute53HostedZone", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRoute53HostedZoneWithName retrieves all AWSRoute53HostedZone items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRoute53HostedZoneWithName", "retrieves", "all", "AWSRoute53HostedZone", "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#L7880-L7888
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRoute53RecordSetResources
func (t *Template) GetAllAWSRoute53RecordSetResources() map[string]*resources.AWSRoute53RecordSet { results := map[string]*resources.AWSRoute53RecordSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoute53RecordSet: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRoute53RecordSetResources() map[string]*resources.AWSRoute53RecordSet { results := map[string]*resources.AWSRoute53RecordSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoute53RecordSet: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRoute53RecordSetResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRoute53RecordSet", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRoute53RecordSet", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoute53RecordSet", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRoute53RecordSetResources retrieves all AWSRoute53RecordSet items from an AWS CloudFormation template
[ "GetAllAWSRoute53RecordSetResources", "retrieves", "all", "AWSRoute53RecordSet", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7891-L7900
train
awslabs/goformation
cloudformation/all.go
GetAWSRoute53RecordSetWithName
func (t *Template) GetAWSRoute53RecordSetWithName(name string) (*resources.AWSRoute53RecordSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoute53RecordSet: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoute53RecordSet not found", name) }
go
func (t *Template) GetAWSRoute53RecordSetWithName(name string) (*resources.AWSRoute53RecordSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoute53RecordSet: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoute53RecordSet not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRoute53RecordSetWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRoute53RecordSet", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoute53RecordSet", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRoute53RecordSetWithName retrieves all AWSRoute53RecordSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRoute53RecordSetWithName", "retrieves", "all", "AWSRoute53RecordSet", "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#L7904-L7912
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRoute53RecordSetGroupResources
func (t *Template) GetAllAWSRoute53RecordSetGroupResources() map[string]*resources.AWSRoute53RecordSetGroup { results := map[string]*resources.AWSRoute53RecordSetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoute53RecordSetGroup: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRoute53RecordSetGroupResources() map[string]*resources.AWSRoute53RecordSetGroup { results := map[string]*resources.AWSRoute53RecordSetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoute53RecordSetGroup: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRoute53RecordSetGroupResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRoute53RecordSetGroup", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRoute53RecordSetGroup", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoute53RecordSetGroup", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRoute53RecordSetGroupResources retrieves all AWSRoute53RecordSetGroup items from an AWS CloudFormation template
[ "GetAllAWSRoute53RecordSetGroupResources", "retrieves", "all", "AWSRoute53RecordSetGroup", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7915-L7924
train
awslabs/goformation
cloudformation/all.go
GetAWSRoute53RecordSetGroupWithName
func (t *Template) GetAWSRoute53RecordSetGroupWithName(name string) (*resources.AWSRoute53RecordSetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoute53RecordSetGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoute53RecordSetGroup not found", name) }
go
func (t *Template) GetAWSRoute53RecordSetGroupWithName(name string) (*resources.AWSRoute53RecordSetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoute53RecordSetGroup: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoute53RecordSetGroup not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRoute53RecordSetGroupWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRoute53RecordSetGroup", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoute53RecordSetGroup", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRoute53RecordSetGroupWithName retrieves all AWSRoute53RecordSetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRoute53RecordSetGroupWithName", "retrieves", "all", "AWSRoute53RecordSetGroup", "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#L7928-L7936
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRoute53ResolverResolverEndpointResources
func (t *Template) GetAllAWSRoute53ResolverResolverEndpointResources() map[string]*resources.AWSRoute53ResolverResolverEndpoint { results := map[string]*resources.AWSRoute53ResolverResolverEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoute53ResolverResolverEndpoint: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRoute53ResolverResolverEndpointResources() map[string]*resources.AWSRoute53ResolverResolverEndpoint { results := map[string]*resources.AWSRoute53ResolverResolverEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoute53ResolverResolverEndpoint: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRoute53ResolverResolverEndpointResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRoute53ResolverResolverEndpoint", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRoute53ResolverResolverEndpoint", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoute53ResolverResolverEndpoint", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRoute53ResolverResolverEndpointResources retrieves all AWSRoute53ResolverResolverEndpoint items from an AWS CloudFormation template
[ "GetAllAWSRoute53ResolverResolverEndpointResources", "retrieves", "all", "AWSRoute53ResolverResolverEndpoint", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7939-L7948
train
awslabs/goformation
cloudformation/all.go
GetAWSRoute53ResolverResolverEndpointWithName
func (t *Template) GetAWSRoute53ResolverResolverEndpointWithName(name string) (*resources.AWSRoute53ResolverResolverEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoute53ResolverResolverEndpoint: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoute53ResolverResolverEndpoint not found", name) }
go
func (t *Template) GetAWSRoute53ResolverResolverEndpointWithName(name string) (*resources.AWSRoute53ResolverResolverEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoute53ResolverResolverEndpoint: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoute53ResolverResolverEndpoint not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRoute53ResolverResolverEndpointWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRoute53ResolverResolverEndpoint", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoute53ResolverResolverEndpoint", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRoute53ResolverResolverEndpointWithName retrieves all AWSRoute53ResolverResolverEndpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRoute53ResolverResolverEndpointWithName", "retrieves", "all", "AWSRoute53ResolverResolverEndpoint", "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#L7952-L7960
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRoute53ResolverResolverRuleResources
func (t *Template) GetAllAWSRoute53ResolverResolverRuleResources() map[string]*resources.AWSRoute53ResolverResolverRule { results := map[string]*resources.AWSRoute53ResolverResolverRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoute53ResolverResolverRule: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRoute53ResolverResolverRuleResources() map[string]*resources.AWSRoute53ResolverResolverRule { results := map[string]*resources.AWSRoute53ResolverResolverRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoute53ResolverResolverRule: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRoute53ResolverResolverRuleResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRoute53ResolverResolverRule", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRoute53ResolverResolverRule", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoute53ResolverResolverRule", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRoute53ResolverResolverRuleResources retrieves all AWSRoute53ResolverResolverRule items from an AWS CloudFormation template
[ "GetAllAWSRoute53ResolverResolverRuleResources", "retrieves", "all", "AWSRoute53ResolverResolverRule", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7963-L7972
train
awslabs/goformation
cloudformation/all.go
GetAWSRoute53ResolverResolverRuleWithName
func (t *Template) GetAWSRoute53ResolverResolverRuleWithName(name string) (*resources.AWSRoute53ResolverResolverRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoute53ResolverResolverRule: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoute53ResolverResolverRule not found", name) }
go
func (t *Template) GetAWSRoute53ResolverResolverRuleWithName(name string) (*resources.AWSRoute53ResolverResolverRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoute53ResolverResolverRule: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoute53ResolverResolverRule not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRoute53ResolverResolverRuleWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRoute53ResolverResolverRule", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoute53ResolverResolverRule", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRoute53ResolverResolverRuleWithName retrieves all AWSRoute53ResolverResolverRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRoute53ResolverResolverRuleWithName", "retrieves", "all", "AWSRoute53ResolverResolverRule", "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#L7976-L7984
train
awslabs/goformation
cloudformation/all.go
GetAllAWSRoute53ResolverResolverRuleAssociationResources
func (t *Template) GetAllAWSRoute53ResolverResolverRuleAssociationResources() map[string]*resources.AWSRoute53ResolverResolverRuleAssociation { results := map[string]*resources.AWSRoute53ResolverResolverRuleAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoute53ResolverResolverRuleAssociation: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSRoute53ResolverResolverRuleAssociationResources() map[string]*resources.AWSRoute53ResolverResolverRuleAssociation { results := map[string]*resources.AWSRoute53ResolverResolverRuleAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSRoute53ResolverResolverRuleAssociation: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSRoute53ResolverResolverRuleAssociationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSRoute53ResolverResolverRuleAssociation", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSRoute53ResolverResolverRuleAssociation", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoute53ResolverResolverRuleAssociation", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSRoute53ResolverResolverRuleAssociationResources retrieves all AWSRoute53ResolverResolverRuleAssociation items from an AWS CloudFormation template
[ "GetAllAWSRoute53ResolverResolverRuleAssociationResources", "retrieves", "all", "AWSRoute53ResolverResolverRuleAssociation", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7987-L7996
train
awslabs/goformation
cloudformation/all.go
GetAWSRoute53ResolverResolverRuleAssociationWithName
func (t *Template) GetAWSRoute53ResolverResolverRuleAssociationWithName(name string) (*resources.AWSRoute53ResolverResolverRuleAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoute53ResolverResolverRuleAssociation: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoute53ResolverResolverRuleAssociation not found", name) }
go
func (t *Template) GetAWSRoute53ResolverResolverRuleAssociationWithName(name string) (*resources.AWSRoute53ResolverResolverRuleAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSRoute53ResolverResolverRuleAssociation: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSRoute53ResolverResolverRuleAssociation not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSRoute53ResolverResolverRuleAssociationWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSRoute53ResolverResolverRuleAssociation", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSRoute53ResolverResolverRuleAssociation", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSRoute53ResolverResolverRuleAssociationWithName retrieves all AWSRoute53ResolverResolverRuleAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSRoute53ResolverResolverRuleAssociationWithName", "retrieves", "all", "AWSRoute53ResolverResolverRuleAssociation", "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#L8000-L8008
train
awslabs/goformation
cloudformation/all.go
GetAllAWSS3BucketResources
func (t *Template) GetAllAWSS3BucketResources() map[string]*resources.AWSS3Bucket { results := map[string]*resources.AWSS3Bucket{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSS3Bucket: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSS3BucketResources() map[string]*resources.AWSS3Bucket { results := map[string]*resources.AWSS3Bucket{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSS3Bucket: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSS3BucketResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSS3Bucket", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSS3Bucket", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSS3Bucket", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSS3BucketResources retrieves all AWSS3Bucket items from an AWS CloudFormation template
[ "GetAllAWSS3BucketResources", "retrieves", "all", "AWSS3Bucket", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8011-L8020
train
awslabs/goformation
cloudformation/all.go
GetAWSS3BucketWithName
func (t *Template) GetAWSS3BucketWithName(name string) (*resources.AWSS3Bucket, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSS3Bucket: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSS3Bucket not found", name) }
go
func (t *Template) GetAWSS3BucketWithName(name string) (*resources.AWSS3Bucket, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSS3Bucket: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSS3Bucket not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSS3BucketWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSS3Bucket", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSS3Bucket", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSS3BucketWithName retrieves all AWSS3Bucket items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSS3BucketWithName", "retrieves", "all", "AWSS3Bucket", "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#L8024-L8032
train
awslabs/goformation
cloudformation/all.go
GetAllAWSS3BucketPolicyResources
func (t *Template) GetAllAWSS3BucketPolicyResources() map[string]*resources.AWSS3BucketPolicy { results := map[string]*resources.AWSS3BucketPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSS3BucketPolicy: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSS3BucketPolicyResources() map[string]*resources.AWSS3BucketPolicy { results := map[string]*resources.AWSS3BucketPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSS3BucketPolicy: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSS3BucketPolicyResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSS3BucketPolicy", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSS3BucketPolicy", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSS3BucketPolicy", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSS3BucketPolicyResources retrieves all AWSS3BucketPolicy items from an AWS CloudFormation template
[ "GetAllAWSS3BucketPolicyResources", "retrieves", "all", "AWSS3BucketPolicy", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8035-L8044
train
awslabs/goformation
cloudformation/all.go
GetAWSS3BucketPolicyWithName
func (t *Template) GetAWSS3BucketPolicyWithName(name string) (*resources.AWSS3BucketPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSS3BucketPolicy: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSS3BucketPolicy not found", name) }
go
func (t *Template) GetAWSS3BucketPolicyWithName(name string) (*resources.AWSS3BucketPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSS3BucketPolicy: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSS3BucketPolicy not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSS3BucketPolicyWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSS3BucketPolicy", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSS3BucketPolicy", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSS3BucketPolicyWithName retrieves all AWSS3BucketPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSS3BucketPolicyWithName", "retrieves", "all", "AWSS3BucketPolicy", "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#L8048-L8056
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSDBDomainResources
func (t *Template) GetAllAWSSDBDomainResources() map[string]*resources.AWSSDBDomain { results := map[string]*resources.AWSSDBDomain{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSDBDomain: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSDBDomainResources() map[string]*resources.AWSSDBDomain { results := map[string]*resources.AWSSDBDomain{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSDBDomain: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSDBDomainResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSDBDomain", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSDBDomain", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSDBDomain", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSDBDomainResources retrieves all AWSSDBDomain items from an AWS CloudFormation template
[ "GetAllAWSSDBDomainResources", "retrieves", "all", "AWSSDBDomain", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8059-L8068
train
awslabs/goformation
cloudformation/all.go
GetAWSSDBDomainWithName
func (t *Template) GetAWSSDBDomainWithName(name string) (*resources.AWSSDBDomain, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSDBDomain: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSDBDomain not found", name) }
go
func (t *Template) GetAWSSDBDomainWithName(name string) (*resources.AWSSDBDomain, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSDBDomain: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSDBDomain not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSDBDomainWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSDBDomain", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSDBDomain", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSDBDomainWithName retrieves all AWSSDBDomain items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSDBDomainWithName", "retrieves", "all", "AWSSDBDomain", "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#L8072-L8080
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSESConfigurationSetResources
func (t *Template) GetAllAWSSESConfigurationSetResources() map[string]*resources.AWSSESConfigurationSet { results := map[string]*resources.AWSSESConfigurationSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSESConfigurationSet: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSESConfigurationSetResources() map[string]*resources.AWSSESConfigurationSet { results := map[string]*resources.AWSSESConfigurationSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSESConfigurationSet: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSESConfigurationSetResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSESConfigurationSet", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSESConfigurationSet", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSESConfigurationSet", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSESConfigurationSetResources retrieves all AWSSESConfigurationSet items from an AWS CloudFormation template
[ "GetAllAWSSESConfigurationSetResources", "retrieves", "all", "AWSSESConfigurationSet", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8083-L8092
train
awslabs/goformation
cloudformation/all.go
GetAWSSESConfigurationSetWithName
func (t *Template) GetAWSSESConfigurationSetWithName(name string) (*resources.AWSSESConfigurationSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSESConfigurationSet: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSESConfigurationSet not found", name) }
go
func (t *Template) GetAWSSESConfigurationSetWithName(name string) (*resources.AWSSESConfigurationSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSESConfigurationSet: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSESConfigurationSet not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSESConfigurationSetWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSESConfigurationSet", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSESConfigurationSet", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSESConfigurationSetWithName retrieves all AWSSESConfigurationSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSESConfigurationSetWithName", "retrieves", "all", "AWSSESConfigurationSet", "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#L8096-L8104
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSESConfigurationSetEventDestinationResources
func (t *Template) GetAllAWSSESConfigurationSetEventDestinationResources() map[string]*resources.AWSSESConfigurationSetEventDestination { results := map[string]*resources.AWSSESConfigurationSetEventDestination{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSESConfigurationSetEventDestination: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSESConfigurationSetEventDestinationResources() map[string]*resources.AWSSESConfigurationSetEventDestination { results := map[string]*resources.AWSSESConfigurationSetEventDestination{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSESConfigurationSetEventDestination: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSESConfigurationSetEventDestinationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSESConfigurationSetEventDestination", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSESConfigurationSetEventDestination", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSESConfigurationSetEventDestination", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSESConfigurationSetEventDestinationResources retrieves all AWSSESConfigurationSetEventDestination items from an AWS CloudFormation template
[ "GetAllAWSSESConfigurationSetEventDestinationResources", "retrieves", "all", "AWSSESConfigurationSetEventDestination", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8107-L8116
train
awslabs/goformation
cloudformation/all.go
GetAWSSESConfigurationSetEventDestinationWithName
func (t *Template) GetAWSSESConfigurationSetEventDestinationWithName(name string) (*resources.AWSSESConfigurationSetEventDestination, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSESConfigurationSetEventDestination: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSESConfigurationSetEventDestination not found", name) }
go
func (t *Template) GetAWSSESConfigurationSetEventDestinationWithName(name string) (*resources.AWSSESConfigurationSetEventDestination, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSESConfigurationSetEventDestination: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSESConfigurationSetEventDestination not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSESConfigurationSetEventDestinationWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSESConfigurationSetEventDestination", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSESConfigurationSetEventDestination", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSESConfigurationSetEventDestinationWithName retrieves all AWSSESConfigurationSetEventDestination items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSESConfigurationSetEventDestinationWithName", "retrieves", "all", "AWSSESConfigurationSetEventDestination", "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#L8120-L8128
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSESReceiptFilterResources
func (t *Template) GetAllAWSSESReceiptFilterResources() map[string]*resources.AWSSESReceiptFilter { results := map[string]*resources.AWSSESReceiptFilter{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSESReceiptFilter: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSESReceiptFilterResources() map[string]*resources.AWSSESReceiptFilter { results := map[string]*resources.AWSSESReceiptFilter{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSESReceiptFilter: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSESReceiptFilterResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSESReceiptFilter", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSESReceiptFilter", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSESReceiptFilter", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSESReceiptFilterResources retrieves all AWSSESReceiptFilter items from an AWS CloudFormation template
[ "GetAllAWSSESReceiptFilterResources", "retrieves", "all", "AWSSESReceiptFilter", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8131-L8140
train
awslabs/goformation
cloudformation/all.go
GetAWSSESReceiptFilterWithName
func (t *Template) GetAWSSESReceiptFilterWithName(name string) (*resources.AWSSESReceiptFilter, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSESReceiptFilter: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSESReceiptFilter not found", name) }
go
func (t *Template) GetAWSSESReceiptFilterWithName(name string) (*resources.AWSSESReceiptFilter, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSESReceiptFilter: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSESReceiptFilter not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSESReceiptFilterWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSESReceiptFilter", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSESReceiptFilter", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSESReceiptFilterWithName retrieves all AWSSESReceiptFilter items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSESReceiptFilterWithName", "retrieves", "all", "AWSSESReceiptFilter", "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#L8144-L8152
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSESReceiptRuleResources
func (t *Template) GetAllAWSSESReceiptRuleResources() map[string]*resources.AWSSESReceiptRule { results := map[string]*resources.AWSSESReceiptRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSESReceiptRule: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSESReceiptRuleResources() map[string]*resources.AWSSESReceiptRule { results := map[string]*resources.AWSSESReceiptRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSESReceiptRule: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSESReceiptRuleResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSESReceiptRule", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSESReceiptRule", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSESReceiptRule", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSESReceiptRuleResources retrieves all AWSSESReceiptRule items from an AWS CloudFormation template
[ "GetAllAWSSESReceiptRuleResources", "retrieves", "all", "AWSSESReceiptRule", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8155-L8164
train
awslabs/goformation
cloudformation/all.go
GetAWSSESReceiptRuleWithName
func (t *Template) GetAWSSESReceiptRuleWithName(name string) (*resources.AWSSESReceiptRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSESReceiptRule: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSESReceiptRule not found", name) }
go
func (t *Template) GetAWSSESReceiptRuleWithName(name string) (*resources.AWSSESReceiptRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSESReceiptRule: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSESReceiptRule not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSESReceiptRuleWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSESReceiptRule", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSESReceiptRule", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSESReceiptRuleWithName retrieves all AWSSESReceiptRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSESReceiptRuleWithName", "retrieves", "all", "AWSSESReceiptRule", "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#L8168-L8176
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSESReceiptRuleSetResources
func (t *Template) GetAllAWSSESReceiptRuleSetResources() map[string]*resources.AWSSESReceiptRuleSet { results := map[string]*resources.AWSSESReceiptRuleSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSESReceiptRuleSet: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSESReceiptRuleSetResources() map[string]*resources.AWSSESReceiptRuleSet { results := map[string]*resources.AWSSESReceiptRuleSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSESReceiptRuleSet: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSESReceiptRuleSetResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSESReceiptRuleSet", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSESReceiptRuleSet", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSESReceiptRuleSet", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSESReceiptRuleSetResources retrieves all AWSSESReceiptRuleSet items from an AWS CloudFormation template
[ "GetAllAWSSESReceiptRuleSetResources", "retrieves", "all", "AWSSESReceiptRuleSet", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8179-L8188
train
awslabs/goformation
cloudformation/all.go
GetAWSSESReceiptRuleSetWithName
func (t *Template) GetAWSSESReceiptRuleSetWithName(name string) (*resources.AWSSESReceiptRuleSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSESReceiptRuleSet: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSESReceiptRuleSet not found", name) }
go
func (t *Template) GetAWSSESReceiptRuleSetWithName(name string) (*resources.AWSSESReceiptRuleSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSESReceiptRuleSet: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSESReceiptRuleSet not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSESReceiptRuleSetWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSESReceiptRuleSet", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSESReceiptRuleSet", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSESReceiptRuleSetWithName retrieves all AWSSESReceiptRuleSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSESReceiptRuleSetWithName", "retrieves", "all", "AWSSESReceiptRuleSet", "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#L8192-L8200
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSESTemplateResources
func (t *Template) GetAllAWSSESTemplateResources() map[string]*resources.AWSSESTemplate { results := map[string]*resources.AWSSESTemplate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSESTemplate: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSESTemplateResources() map[string]*resources.AWSSESTemplate { results := map[string]*resources.AWSSESTemplate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSESTemplate: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSESTemplateResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSESTemplate", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSESTemplate", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSESTemplate", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSESTemplateResources retrieves all AWSSESTemplate items from an AWS CloudFormation template
[ "GetAllAWSSESTemplateResources", "retrieves", "all", "AWSSESTemplate", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8203-L8212
train
awslabs/goformation
cloudformation/all.go
GetAWSSESTemplateWithName
func (t *Template) GetAWSSESTemplateWithName(name string) (*resources.AWSSESTemplate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSESTemplate: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSESTemplate not found", name) }
go
func (t *Template) GetAWSSESTemplateWithName(name string) (*resources.AWSSESTemplate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSESTemplate: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSESTemplate not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSESTemplateWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSESTemplate", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSESTemplate", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSESTemplateWithName retrieves all AWSSESTemplate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSESTemplateWithName", "retrieves", "all", "AWSSESTemplate", "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#L8216-L8224
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSNSSubscriptionResources
func (t *Template) GetAllAWSSNSSubscriptionResources() map[string]*resources.AWSSNSSubscription { results := map[string]*resources.AWSSNSSubscription{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSNSSubscription: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSNSSubscriptionResources() map[string]*resources.AWSSNSSubscription { results := map[string]*resources.AWSSNSSubscription{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSNSSubscription: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSNSSubscriptionResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSNSSubscription", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSNSSubscription", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSNSSubscription", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSNSSubscriptionResources retrieves all AWSSNSSubscription items from an AWS CloudFormation template
[ "GetAllAWSSNSSubscriptionResources", "retrieves", "all", "AWSSNSSubscription", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8227-L8236
train
awslabs/goformation
cloudformation/all.go
GetAWSSNSSubscriptionWithName
func (t *Template) GetAWSSNSSubscriptionWithName(name string) (*resources.AWSSNSSubscription, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSNSSubscription: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSNSSubscription not found", name) }
go
func (t *Template) GetAWSSNSSubscriptionWithName(name string) (*resources.AWSSNSSubscription, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSNSSubscription: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSNSSubscription not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSNSSubscriptionWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSNSSubscription", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSNSSubscription", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSNSSubscriptionWithName retrieves all AWSSNSSubscription items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSNSSubscriptionWithName", "retrieves", "all", "AWSSNSSubscription", "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#L8240-L8248
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSNSTopicResources
func (t *Template) GetAllAWSSNSTopicResources() map[string]*resources.AWSSNSTopic { results := map[string]*resources.AWSSNSTopic{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSNSTopic: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSNSTopicResources() map[string]*resources.AWSSNSTopic { results := map[string]*resources.AWSSNSTopic{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSNSTopic: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSNSTopicResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSNSTopic", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSNSTopic", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSNSTopic", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSNSTopicResources retrieves all AWSSNSTopic items from an AWS CloudFormation template
[ "GetAllAWSSNSTopicResources", "retrieves", "all", "AWSSNSTopic", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8251-L8260
train
awslabs/goformation
cloudformation/all.go
GetAWSSNSTopicWithName
func (t *Template) GetAWSSNSTopicWithName(name string) (*resources.AWSSNSTopic, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSNSTopic: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSNSTopic not found", name) }
go
func (t *Template) GetAWSSNSTopicWithName(name string) (*resources.AWSSNSTopic, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSNSTopic: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSNSTopic not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSNSTopicWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSNSTopic", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSNSTopic", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSNSTopicWithName retrieves all AWSSNSTopic items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSNSTopicWithName", "retrieves", "all", "AWSSNSTopic", "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#L8264-L8272
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSNSTopicPolicyResources
func (t *Template) GetAllAWSSNSTopicPolicyResources() map[string]*resources.AWSSNSTopicPolicy { results := map[string]*resources.AWSSNSTopicPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSNSTopicPolicy: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSNSTopicPolicyResources() map[string]*resources.AWSSNSTopicPolicy { results := map[string]*resources.AWSSNSTopicPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSNSTopicPolicy: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSNSTopicPolicyResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSNSTopicPolicy", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSNSTopicPolicy", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSNSTopicPolicy", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSNSTopicPolicyResources retrieves all AWSSNSTopicPolicy items from an AWS CloudFormation template
[ "GetAllAWSSNSTopicPolicyResources", "retrieves", "all", "AWSSNSTopicPolicy", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8275-L8284
train
awslabs/goformation
cloudformation/all.go
GetAWSSNSTopicPolicyWithName
func (t *Template) GetAWSSNSTopicPolicyWithName(name string) (*resources.AWSSNSTopicPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSNSTopicPolicy: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSNSTopicPolicy not found", name) }
go
func (t *Template) GetAWSSNSTopicPolicyWithName(name string) (*resources.AWSSNSTopicPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSNSTopicPolicy: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSNSTopicPolicy not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSNSTopicPolicyWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSNSTopicPolicy", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSNSTopicPolicy", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSNSTopicPolicyWithName retrieves all AWSSNSTopicPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSNSTopicPolicyWithName", "retrieves", "all", "AWSSNSTopicPolicy", "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#L8288-L8296
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSQSQueueResources
func (t *Template) GetAllAWSSQSQueueResources() map[string]*resources.AWSSQSQueue { results := map[string]*resources.AWSSQSQueue{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSQSQueue: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSQSQueueResources() map[string]*resources.AWSSQSQueue { results := map[string]*resources.AWSSQSQueue{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSQSQueue: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSQSQueueResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSQSQueue", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSQSQueue", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSQSQueue", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSQSQueueResources retrieves all AWSSQSQueue items from an AWS CloudFormation template
[ "GetAllAWSSQSQueueResources", "retrieves", "all", "AWSSQSQueue", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8299-L8308
train
awslabs/goformation
cloudformation/all.go
GetAWSSQSQueueWithName
func (t *Template) GetAWSSQSQueueWithName(name string) (*resources.AWSSQSQueue, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSQSQueue: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSQSQueue not found", name) }
go
func (t *Template) GetAWSSQSQueueWithName(name string) (*resources.AWSSQSQueue, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSQSQueue: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSQSQueue not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSQSQueueWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSQSQueue", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSQSQueue", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSQSQueueWithName retrieves all AWSSQSQueue items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSQSQueueWithName", "retrieves", "all", "AWSSQSQueue", "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#L8312-L8320
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSQSQueuePolicyResources
func (t *Template) GetAllAWSSQSQueuePolicyResources() map[string]*resources.AWSSQSQueuePolicy { results := map[string]*resources.AWSSQSQueuePolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSQSQueuePolicy: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSQSQueuePolicyResources() map[string]*resources.AWSSQSQueuePolicy { results := map[string]*resources.AWSSQSQueuePolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSQSQueuePolicy: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSQSQueuePolicyResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSQSQueuePolicy", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSQSQueuePolicy", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSQSQueuePolicy", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSQSQueuePolicyResources retrieves all AWSSQSQueuePolicy items from an AWS CloudFormation template
[ "GetAllAWSSQSQueuePolicyResources", "retrieves", "all", "AWSSQSQueuePolicy", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8323-L8332
train
awslabs/goformation
cloudformation/all.go
GetAWSSQSQueuePolicyWithName
func (t *Template) GetAWSSQSQueuePolicyWithName(name string) (*resources.AWSSQSQueuePolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSQSQueuePolicy: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSQSQueuePolicy not found", name) }
go
func (t *Template) GetAWSSQSQueuePolicyWithName(name string) (*resources.AWSSQSQueuePolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSQSQueuePolicy: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSQSQueuePolicy not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSQSQueuePolicyWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSQSQueuePolicy", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSQSQueuePolicy", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSQSQueuePolicyWithName retrieves all AWSSQSQueuePolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSQSQueuePolicyWithName", "retrieves", "all", "AWSSQSQueuePolicy", "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#L8336-L8344
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSSMAssociationResources
func (t *Template) GetAllAWSSSMAssociationResources() map[string]*resources.AWSSSMAssociation { results := map[string]*resources.AWSSSMAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSSMAssociation: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSSMAssociationResources() map[string]*resources.AWSSSMAssociation { results := map[string]*resources.AWSSSMAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSSMAssociation: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSSMAssociationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSSMAssociation", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSSMAssociation", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSSMAssociation", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSSMAssociationResources retrieves all AWSSSMAssociation items from an AWS CloudFormation template
[ "GetAllAWSSSMAssociationResources", "retrieves", "all", "AWSSSMAssociation", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8347-L8356
train
awslabs/goformation
cloudformation/all.go
GetAWSSSMAssociationWithName
func (t *Template) GetAWSSSMAssociationWithName(name string) (*resources.AWSSSMAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSSMAssociation: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSSMAssociation not found", name) }
go
func (t *Template) GetAWSSSMAssociationWithName(name string) (*resources.AWSSSMAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSSMAssociation: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSSMAssociation not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSSMAssociationWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSSMAssociation", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSSMAssociation", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSSMAssociationWithName retrieves all AWSSSMAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSSMAssociationWithName", "retrieves", "all", "AWSSSMAssociation", "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#L8360-L8368
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSSMDocumentResources
func (t *Template) GetAllAWSSSMDocumentResources() map[string]*resources.AWSSSMDocument { results := map[string]*resources.AWSSSMDocument{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSSMDocument: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSSMDocumentResources() map[string]*resources.AWSSSMDocument { results := map[string]*resources.AWSSSMDocument{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSSMDocument: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSSMDocumentResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSSMDocument", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSSMDocument", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSSMDocument", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSSMDocumentResources retrieves all AWSSSMDocument items from an AWS CloudFormation template
[ "GetAllAWSSSMDocumentResources", "retrieves", "all", "AWSSSMDocument", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8371-L8380
train
awslabs/goformation
cloudformation/all.go
GetAWSSSMDocumentWithName
func (t *Template) GetAWSSSMDocumentWithName(name string) (*resources.AWSSSMDocument, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSSMDocument: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSSMDocument not found", name) }
go
func (t *Template) GetAWSSSMDocumentWithName(name string) (*resources.AWSSSMDocument, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSSMDocument: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSSMDocument not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSSMDocumentWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSSMDocument", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSSMDocument", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSSMDocumentWithName retrieves all AWSSSMDocument items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSSMDocumentWithName", "retrieves", "all", "AWSSSMDocument", "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#L8384-L8392
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSSMMaintenanceWindowResources
func (t *Template) GetAllAWSSSMMaintenanceWindowResources() map[string]*resources.AWSSSMMaintenanceWindow { results := map[string]*resources.AWSSSMMaintenanceWindow{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSSMMaintenanceWindow: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSSMMaintenanceWindowResources() map[string]*resources.AWSSSMMaintenanceWindow { results := map[string]*resources.AWSSSMMaintenanceWindow{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSSMMaintenanceWindow: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSSMMaintenanceWindowResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSSMMaintenanceWindow", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSSMMaintenanceWindow", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSSMMaintenanceWindow", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSSMMaintenanceWindowResources retrieves all AWSSSMMaintenanceWindow items from an AWS CloudFormation template
[ "GetAllAWSSSMMaintenanceWindowResources", "retrieves", "all", "AWSSSMMaintenanceWindow", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8395-L8404
train
awslabs/goformation
cloudformation/all.go
GetAWSSSMMaintenanceWindowWithName
func (t *Template) GetAWSSSMMaintenanceWindowWithName(name string) (*resources.AWSSSMMaintenanceWindow, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSSMMaintenanceWindow: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSSMMaintenanceWindow not found", name) }
go
func (t *Template) GetAWSSSMMaintenanceWindowWithName(name string) (*resources.AWSSSMMaintenanceWindow, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSSMMaintenanceWindow: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSSMMaintenanceWindow not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSSMMaintenanceWindowWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSSMMaintenanceWindow", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSSMMaintenanceWindow", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSSMMaintenanceWindowWithName retrieves all AWSSSMMaintenanceWindow items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSSMMaintenanceWindowWithName", "retrieves", "all", "AWSSSMMaintenanceWindow", "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#L8408-L8416
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSSMMaintenanceWindowTaskResources
func (t *Template) GetAllAWSSSMMaintenanceWindowTaskResources() map[string]*resources.AWSSSMMaintenanceWindowTask { results := map[string]*resources.AWSSSMMaintenanceWindowTask{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSSMMaintenanceWindowTask: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSSMMaintenanceWindowTaskResources() map[string]*resources.AWSSSMMaintenanceWindowTask { results := map[string]*resources.AWSSSMMaintenanceWindowTask{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSSMMaintenanceWindowTask: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSSMMaintenanceWindowTaskResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSSMMaintenanceWindowTask", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSSMMaintenanceWindowTask", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSSMMaintenanceWindowTask", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSSMMaintenanceWindowTaskResources retrieves all AWSSSMMaintenanceWindowTask items from an AWS CloudFormation template
[ "GetAllAWSSSMMaintenanceWindowTaskResources", "retrieves", "all", "AWSSSMMaintenanceWindowTask", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8419-L8428
train
awslabs/goformation
cloudformation/all.go
GetAWSSSMMaintenanceWindowTaskWithName
func (t *Template) GetAWSSSMMaintenanceWindowTaskWithName(name string) (*resources.AWSSSMMaintenanceWindowTask, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSSMMaintenanceWindowTask: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSSMMaintenanceWindowTask not found", name) }
go
func (t *Template) GetAWSSSMMaintenanceWindowTaskWithName(name string) (*resources.AWSSSMMaintenanceWindowTask, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSSMMaintenanceWindowTask: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSSMMaintenanceWindowTask not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSSMMaintenanceWindowTaskWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSSMMaintenanceWindowTask", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSSMMaintenanceWindowTask", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSSMMaintenanceWindowTaskWithName retrieves all AWSSSMMaintenanceWindowTask items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSSMMaintenanceWindowTaskWithName", "retrieves", "all", "AWSSSMMaintenanceWindowTask", "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#L8432-L8440
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSSMParameterResources
func (t *Template) GetAllAWSSSMParameterResources() map[string]*resources.AWSSSMParameter { results := map[string]*resources.AWSSSMParameter{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSSMParameter: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSSMParameterResources() map[string]*resources.AWSSSMParameter { results := map[string]*resources.AWSSSMParameter{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSSMParameter: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSSMParameterResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSSMParameter", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSSMParameter", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSSMParameter", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSSMParameterResources retrieves all AWSSSMParameter items from an AWS CloudFormation template
[ "GetAllAWSSSMParameterResources", "retrieves", "all", "AWSSSMParameter", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8443-L8452
train
awslabs/goformation
cloudformation/all.go
GetAWSSSMParameterWithName
func (t *Template) GetAWSSSMParameterWithName(name string) (*resources.AWSSSMParameter, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSSMParameter: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSSMParameter not found", name) }
go
func (t *Template) GetAWSSSMParameterWithName(name string) (*resources.AWSSSMParameter, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSSMParameter: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSSMParameter not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSSMParameterWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSSMParameter", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSSMParameter", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSSMParameterWithName retrieves all AWSSSMParameter items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSSMParameterWithName", "retrieves", "all", "AWSSSMParameter", "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#L8456-L8464
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSSMPatchBaselineResources
func (t *Template) GetAllAWSSSMPatchBaselineResources() map[string]*resources.AWSSSMPatchBaseline { results := map[string]*resources.AWSSSMPatchBaseline{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSSMPatchBaseline: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSSMPatchBaselineResources() map[string]*resources.AWSSSMPatchBaseline { results := map[string]*resources.AWSSSMPatchBaseline{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSSMPatchBaseline: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSSMPatchBaselineResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSSMPatchBaseline", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSSMPatchBaseline", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSSMPatchBaseline", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSSMPatchBaselineResources retrieves all AWSSSMPatchBaseline items from an AWS CloudFormation template
[ "GetAllAWSSSMPatchBaselineResources", "retrieves", "all", "AWSSSMPatchBaseline", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8467-L8476
train
awslabs/goformation
cloudformation/all.go
GetAWSSSMPatchBaselineWithName
func (t *Template) GetAWSSSMPatchBaselineWithName(name string) (*resources.AWSSSMPatchBaseline, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSSMPatchBaseline: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSSMPatchBaseline not found", name) }
go
func (t *Template) GetAWSSSMPatchBaselineWithName(name string) (*resources.AWSSSMPatchBaseline, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSSMPatchBaseline: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSSMPatchBaseline not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSSMPatchBaselineWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSSMPatchBaseline", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSSMPatchBaseline", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSSMPatchBaselineWithName retrieves all AWSSSMPatchBaseline items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSSMPatchBaselineWithName", "retrieves", "all", "AWSSSMPatchBaseline", "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#L8480-L8488
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSSMResourceDataSyncResources
func (t *Template) GetAllAWSSSMResourceDataSyncResources() map[string]*resources.AWSSSMResourceDataSync { results := map[string]*resources.AWSSSMResourceDataSync{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSSMResourceDataSync: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSSMResourceDataSyncResources() map[string]*resources.AWSSSMResourceDataSync { results := map[string]*resources.AWSSSMResourceDataSync{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSSMResourceDataSync: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSSMResourceDataSyncResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSSMResourceDataSync", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSSMResourceDataSync", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSSMResourceDataSync", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSSMResourceDataSyncResources retrieves all AWSSSMResourceDataSync items from an AWS CloudFormation template
[ "GetAllAWSSSMResourceDataSyncResources", "retrieves", "all", "AWSSSMResourceDataSync", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8491-L8500
train
awslabs/goformation
cloudformation/all.go
GetAWSSSMResourceDataSyncWithName
func (t *Template) GetAWSSSMResourceDataSyncWithName(name string) (*resources.AWSSSMResourceDataSync, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSSMResourceDataSync: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSSMResourceDataSync not found", name) }
go
func (t *Template) GetAWSSSMResourceDataSyncWithName(name string) (*resources.AWSSSMResourceDataSync, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSSMResourceDataSync: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSSMResourceDataSync not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSSMResourceDataSyncWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSSMResourceDataSync", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSSMResourceDataSync", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSSMResourceDataSyncWithName retrieves all AWSSSMResourceDataSync items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSSMResourceDataSyncWithName", "retrieves", "all", "AWSSSMResourceDataSync", "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#L8504-L8512
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSageMakerEndpointResources
func (t *Template) GetAllAWSSageMakerEndpointResources() map[string]*resources.AWSSageMakerEndpoint { results := map[string]*resources.AWSSageMakerEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSageMakerEndpoint: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSageMakerEndpointResources() map[string]*resources.AWSSageMakerEndpoint { results := map[string]*resources.AWSSageMakerEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSageMakerEndpoint: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSageMakerEndpointResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSageMakerEndpoint", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSageMakerEndpoint", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSageMakerEndpoint", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSageMakerEndpointResources retrieves all AWSSageMakerEndpoint items from an AWS CloudFormation template
[ "GetAllAWSSageMakerEndpointResources", "retrieves", "all", "AWSSageMakerEndpoint", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8515-L8524
train
awslabs/goformation
cloudformation/all.go
GetAWSSageMakerEndpointWithName
func (t *Template) GetAWSSageMakerEndpointWithName(name string) (*resources.AWSSageMakerEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSageMakerEndpoint: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSageMakerEndpoint not found", name) }
go
func (t *Template) GetAWSSageMakerEndpointWithName(name string) (*resources.AWSSageMakerEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSageMakerEndpoint: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSageMakerEndpoint not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSageMakerEndpointWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSageMakerEndpoint", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSageMakerEndpoint", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSageMakerEndpointWithName retrieves all AWSSageMakerEndpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSageMakerEndpointWithName", "retrieves", "all", "AWSSageMakerEndpoint", "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#L8528-L8536
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSageMakerEndpointConfigResources
func (t *Template) GetAllAWSSageMakerEndpointConfigResources() map[string]*resources.AWSSageMakerEndpointConfig { results := map[string]*resources.AWSSageMakerEndpointConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSageMakerEndpointConfig: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSageMakerEndpointConfigResources() map[string]*resources.AWSSageMakerEndpointConfig { results := map[string]*resources.AWSSageMakerEndpointConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSageMakerEndpointConfig: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSageMakerEndpointConfigResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSageMakerEndpointConfig", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSageMakerEndpointConfig", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSageMakerEndpointConfig", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSageMakerEndpointConfigResources retrieves all AWSSageMakerEndpointConfig items from an AWS CloudFormation template
[ "GetAllAWSSageMakerEndpointConfigResources", "retrieves", "all", "AWSSageMakerEndpointConfig", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8539-L8548
train
awslabs/goformation
cloudformation/all.go
GetAWSSageMakerEndpointConfigWithName
func (t *Template) GetAWSSageMakerEndpointConfigWithName(name string) (*resources.AWSSageMakerEndpointConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSageMakerEndpointConfig: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSageMakerEndpointConfig not found", name) }
go
func (t *Template) GetAWSSageMakerEndpointConfigWithName(name string) (*resources.AWSSageMakerEndpointConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSageMakerEndpointConfig: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSageMakerEndpointConfig not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSageMakerEndpointConfigWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSageMakerEndpointConfig", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSageMakerEndpointConfig", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSageMakerEndpointConfigWithName retrieves all AWSSageMakerEndpointConfig items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSageMakerEndpointConfigWithName", "retrieves", "all", "AWSSageMakerEndpointConfig", "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#L8552-L8560
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSageMakerModelResources
func (t *Template) GetAllAWSSageMakerModelResources() map[string]*resources.AWSSageMakerModel { results := map[string]*resources.AWSSageMakerModel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSageMakerModel: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSageMakerModelResources() map[string]*resources.AWSSageMakerModel { results := map[string]*resources.AWSSageMakerModel{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSageMakerModel: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSageMakerModelResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSageMakerModel", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSageMakerModel", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSageMakerModel", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSageMakerModelResources retrieves all AWSSageMakerModel items from an AWS CloudFormation template
[ "GetAllAWSSageMakerModelResources", "retrieves", "all", "AWSSageMakerModel", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8563-L8572
train
awslabs/goformation
cloudformation/all.go
GetAWSSageMakerModelWithName
func (t *Template) GetAWSSageMakerModelWithName(name string) (*resources.AWSSageMakerModel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSageMakerModel: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSageMakerModel not found", name) }
go
func (t *Template) GetAWSSageMakerModelWithName(name string) (*resources.AWSSageMakerModel, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSageMakerModel: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSageMakerModel not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSageMakerModelWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSageMakerModel", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSageMakerModel", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSageMakerModelWithName retrieves all AWSSageMakerModel items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSageMakerModelWithName", "retrieves", "all", "AWSSageMakerModel", "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#L8576-L8584
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSageMakerNotebookInstanceResources
func (t *Template) GetAllAWSSageMakerNotebookInstanceResources() map[string]*resources.AWSSageMakerNotebookInstance { results := map[string]*resources.AWSSageMakerNotebookInstance{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSageMakerNotebookInstance: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSageMakerNotebookInstanceResources() map[string]*resources.AWSSageMakerNotebookInstance { results := map[string]*resources.AWSSageMakerNotebookInstance{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSageMakerNotebookInstance: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSageMakerNotebookInstanceResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSageMakerNotebookInstance", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSageMakerNotebookInstance", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSageMakerNotebookInstance", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSageMakerNotebookInstanceResources retrieves all AWSSageMakerNotebookInstance items from an AWS CloudFormation template
[ "GetAllAWSSageMakerNotebookInstanceResources", "retrieves", "all", "AWSSageMakerNotebookInstance", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8587-L8596
train
awslabs/goformation
cloudformation/all.go
GetAWSSageMakerNotebookInstanceWithName
func (t *Template) GetAWSSageMakerNotebookInstanceWithName(name string) (*resources.AWSSageMakerNotebookInstance, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSageMakerNotebookInstance: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSageMakerNotebookInstance not found", name) }
go
func (t *Template) GetAWSSageMakerNotebookInstanceWithName(name string) (*resources.AWSSageMakerNotebookInstance, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSageMakerNotebookInstance: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSageMakerNotebookInstance not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSageMakerNotebookInstanceWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSageMakerNotebookInstance", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSageMakerNotebookInstance", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSageMakerNotebookInstanceWithName retrieves all AWSSageMakerNotebookInstance items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSageMakerNotebookInstanceWithName", "retrieves", "all", "AWSSageMakerNotebookInstance", "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#L8600-L8608
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSageMakerNotebookInstanceLifecycleConfigResources
func (t *Template) GetAllAWSSageMakerNotebookInstanceLifecycleConfigResources() map[string]*resources.AWSSageMakerNotebookInstanceLifecycleConfig { results := map[string]*resources.AWSSageMakerNotebookInstanceLifecycleConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSageMakerNotebookInstanceLifecycleConfig: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSageMakerNotebookInstanceLifecycleConfigResources() map[string]*resources.AWSSageMakerNotebookInstanceLifecycleConfig { results := map[string]*resources.AWSSageMakerNotebookInstanceLifecycleConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSageMakerNotebookInstanceLifecycleConfig: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSageMakerNotebookInstanceLifecycleConfigResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSageMakerNotebookInstanceLifecycleConfig", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSageMakerNotebookInstanceLifecycleConfig", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSageMakerNotebookInstanceLifecycleConfig", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSageMakerNotebookInstanceLifecycleConfigResources retrieves all AWSSageMakerNotebookInstanceLifecycleConfig items from an AWS CloudFormation template
[ "GetAllAWSSageMakerNotebookInstanceLifecycleConfigResources", "retrieves", "all", "AWSSageMakerNotebookInstanceLifecycleConfig", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8611-L8620
train
awslabs/goformation
cloudformation/all.go
GetAWSSageMakerNotebookInstanceLifecycleConfigWithName
func (t *Template) GetAWSSageMakerNotebookInstanceLifecycleConfigWithName(name string) (*resources.AWSSageMakerNotebookInstanceLifecycleConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSageMakerNotebookInstanceLifecycleConfig: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSageMakerNotebookInstanceLifecycleConfig not found", name) }
go
func (t *Template) GetAWSSageMakerNotebookInstanceLifecycleConfigWithName(name string) (*resources.AWSSageMakerNotebookInstanceLifecycleConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSageMakerNotebookInstanceLifecycleConfig: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSageMakerNotebookInstanceLifecycleConfig not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSageMakerNotebookInstanceLifecycleConfigWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSageMakerNotebookInstanceLifecycleConfig", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSageMakerNotebookInstanceLifecycleConfig", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSageMakerNotebookInstanceLifecycleConfigWithName retrieves all AWSSageMakerNotebookInstanceLifecycleConfig items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSageMakerNotebookInstanceLifecycleConfigWithName", "retrieves", "all", "AWSSageMakerNotebookInstanceLifecycleConfig", "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#L8624-L8632
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSecretsManagerResourcePolicyResources
func (t *Template) GetAllAWSSecretsManagerResourcePolicyResources() map[string]*resources.AWSSecretsManagerResourcePolicy { results := map[string]*resources.AWSSecretsManagerResourcePolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSecretsManagerResourcePolicy: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSecretsManagerResourcePolicyResources() map[string]*resources.AWSSecretsManagerResourcePolicy { results := map[string]*resources.AWSSecretsManagerResourcePolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSecretsManagerResourcePolicy: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSecretsManagerResourcePolicyResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSecretsManagerResourcePolicy", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSecretsManagerResourcePolicy", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSecretsManagerResourcePolicy", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSecretsManagerResourcePolicyResources retrieves all AWSSecretsManagerResourcePolicy items from an AWS CloudFormation template
[ "GetAllAWSSecretsManagerResourcePolicyResources", "retrieves", "all", "AWSSecretsManagerResourcePolicy", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8635-L8644
train
awslabs/goformation
cloudformation/all.go
GetAWSSecretsManagerResourcePolicyWithName
func (t *Template) GetAWSSecretsManagerResourcePolicyWithName(name string) (*resources.AWSSecretsManagerResourcePolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSecretsManagerResourcePolicy: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSecretsManagerResourcePolicy not found", name) }
go
func (t *Template) GetAWSSecretsManagerResourcePolicyWithName(name string) (*resources.AWSSecretsManagerResourcePolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSecretsManagerResourcePolicy: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSecretsManagerResourcePolicy not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSecretsManagerResourcePolicyWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSecretsManagerResourcePolicy", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSecretsManagerResourcePolicy", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSecretsManagerResourcePolicyWithName retrieves all AWSSecretsManagerResourcePolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSecretsManagerResourcePolicyWithName", "retrieves", "all", "AWSSecretsManagerResourcePolicy", "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#L8648-L8656
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSecretsManagerRotationScheduleResources
func (t *Template) GetAllAWSSecretsManagerRotationScheduleResources() map[string]*resources.AWSSecretsManagerRotationSchedule { results := map[string]*resources.AWSSecretsManagerRotationSchedule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSecretsManagerRotationSchedule: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSecretsManagerRotationScheduleResources() map[string]*resources.AWSSecretsManagerRotationSchedule { results := map[string]*resources.AWSSecretsManagerRotationSchedule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSecretsManagerRotationSchedule: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSecretsManagerRotationScheduleResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSecretsManagerRotationSchedule", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSecretsManagerRotationSchedule", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSecretsManagerRotationSchedule", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSecretsManagerRotationScheduleResources retrieves all AWSSecretsManagerRotationSchedule items from an AWS CloudFormation template
[ "GetAllAWSSecretsManagerRotationScheduleResources", "retrieves", "all", "AWSSecretsManagerRotationSchedule", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8659-L8668
train
awslabs/goformation
cloudformation/all.go
GetAWSSecretsManagerRotationScheduleWithName
func (t *Template) GetAWSSecretsManagerRotationScheduleWithName(name string) (*resources.AWSSecretsManagerRotationSchedule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSecretsManagerRotationSchedule: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSecretsManagerRotationSchedule not found", name) }
go
func (t *Template) GetAWSSecretsManagerRotationScheduleWithName(name string) (*resources.AWSSecretsManagerRotationSchedule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSecretsManagerRotationSchedule: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSecretsManagerRotationSchedule not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSecretsManagerRotationScheduleWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSecretsManagerRotationSchedule", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSecretsManagerRotationSchedule", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSecretsManagerRotationScheduleWithName retrieves all AWSSecretsManagerRotationSchedule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSecretsManagerRotationScheduleWithName", "retrieves", "all", "AWSSecretsManagerRotationSchedule", "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#L8672-L8680
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSecretsManagerSecretResources
func (t *Template) GetAllAWSSecretsManagerSecretResources() map[string]*resources.AWSSecretsManagerSecret { results := map[string]*resources.AWSSecretsManagerSecret{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSecretsManagerSecret: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSecretsManagerSecretResources() map[string]*resources.AWSSecretsManagerSecret { results := map[string]*resources.AWSSecretsManagerSecret{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSecretsManagerSecret: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSecretsManagerSecretResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSecretsManagerSecret", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSecretsManagerSecret", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSecretsManagerSecret", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSecretsManagerSecretResources retrieves all AWSSecretsManagerSecret items from an AWS CloudFormation template
[ "GetAllAWSSecretsManagerSecretResources", "retrieves", "all", "AWSSecretsManagerSecret", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8683-L8692
train
awslabs/goformation
cloudformation/all.go
GetAWSSecretsManagerSecretWithName
func (t *Template) GetAWSSecretsManagerSecretWithName(name string) (*resources.AWSSecretsManagerSecret, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSecretsManagerSecret: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSecretsManagerSecret not found", name) }
go
func (t *Template) GetAWSSecretsManagerSecretWithName(name string) (*resources.AWSSecretsManagerSecret, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSecretsManagerSecret: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSecretsManagerSecret not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSecretsManagerSecretWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSecretsManagerSecret", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSecretsManagerSecret", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSecretsManagerSecretWithName retrieves all AWSSecretsManagerSecret items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSecretsManagerSecretWithName", "retrieves", "all", "AWSSecretsManagerSecret", "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#L8696-L8704
train
awslabs/goformation
cloudformation/all.go
GetAllAWSSecretsManagerSecretTargetAttachmentResources
func (t *Template) GetAllAWSSecretsManagerSecretTargetAttachmentResources() map[string]*resources.AWSSecretsManagerSecretTargetAttachment { results := map[string]*resources.AWSSecretsManagerSecretTargetAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSecretsManagerSecretTargetAttachment: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSSecretsManagerSecretTargetAttachmentResources() map[string]*resources.AWSSecretsManagerSecretTargetAttachment { results := map[string]*resources.AWSSecretsManagerSecretTargetAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSSecretsManagerSecretTargetAttachment: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSSecretsManagerSecretTargetAttachmentResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSSecretsManagerSecretTargetAttachment", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSSecretsManagerSecretTargetAttachment", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSecretsManagerSecretTargetAttachment", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSSecretsManagerSecretTargetAttachmentResources retrieves all AWSSecretsManagerSecretTargetAttachment items from an AWS CloudFormation template
[ "GetAllAWSSecretsManagerSecretTargetAttachmentResources", "retrieves", "all", "AWSSecretsManagerSecretTargetAttachment", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8707-L8716
train
awslabs/goformation
cloudformation/all.go
GetAWSSecretsManagerSecretTargetAttachmentWithName
func (t *Template) GetAWSSecretsManagerSecretTargetAttachmentWithName(name string) (*resources.AWSSecretsManagerSecretTargetAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSecretsManagerSecretTargetAttachment: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSecretsManagerSecretTargetAttachment not found", name) }
go
func (t *Template) GetAWSSecretsManagerSecretTargetAttachmentWithName(name string) (*resources.AWSSecretsManagerSecretTargetAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSSecretsManagerSecretTargetAttachment: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSSecretsManagerSecretTargetAttachment not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSSecretsManagerSecretTargetAttachmentWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSSecretsManagerSecretTargetAttachment", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSSecretsManagerSecretTargetAttachment", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSSecretsManagerSecretTargetAttachmentWithName retrieves all AWSSecretsManagerSecretTargetAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSSecretsManagerSecretTargetAttachmentWithName", "retrieves", "all", "AWSSecretsManagerSecretTargetAttachment", "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#L8720-L8728
train
awslabs/goformation
cloudformation/all.go
GetAllAWSServerlessApiResources
func (t *Template) GetAllAWSServerlessApiResources() map[string]*resources.AWSServerlessApi { results := map[string]*resources.AWSServerlessApi{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSServerlessApi: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSServerlessApiResources() map[string]*resources.AWSServerlessApi { results := map[string]*resources.AWSServerlessApi{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSServerlessApi: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSServerlessApiResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSServerlessApi", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSServerlessApi", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSServerlessApi", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSServerlessApiResources retrieves all AWSServerlessApi items from an AWS CloudFormation template
[ "GetAllAWSServerlessApiResources", "retrieves", "all", "AWSServerlessApi", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8731-L8740
train
awslabs/goformation
cloudformation/all.go
GetAWSServerlessApiWithName
func (t *Template) GetAWSServerlessApiWithName(name string) (*resources.AWSServerlessApi, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSServerlessApi: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSServerlessApi not found", name) }
go
func (t *Template) GetAWSServerlessApiWithName(name string) (*resources.AWSServerlessApi, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSServerlessApi: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSServerlessApi not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSServerlessApiWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSServerlessApi", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSServerlessApi", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSServerlessApiWithName retrieves all AWSServerlessApi items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSServerlessApiWithName", "retrieves", "all", "AWSServerlessApi", "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#L8744-L8752
train
awslabs/goformation
cloudformation/all.go
GetAllAWSServerlessApplicationResources
func (t *Template) GetAllAWSServerlessApplicationResources() map[string]*resources.AWSServerlessApplication { results := map[string]*resources.AWSServerlessApplication{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSServerlessApplication: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSServerlessApplicationResources() map[string]*resources.AWSServerlessApplication { results := map[string]*resources.AWSServerlessApplication{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSServerlessApplication: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSServerlessApplicationResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSServerlessApplication", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSServerlessApplication", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSServerlessApplication", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSServerlessApplicationResources retrieves all AWSServerlessApplication items from an AWS CloudFormation template
[ "GetAllAWSServerlessApplicationResources", "retrieves", "all", "AWSServerlessApplication", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8755-L8764
train
awslabs/goformation
cloudformation/all.go
GetAWSServerlessApplicationWithName
func (t *Template) GetAWSServerlessApplicationWithName(name string) (*resources.AWSServerlessApplication, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSServerlessApplication: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSServerlessApplication not found", name) }
go
func (t *Template) GetAWSServerlessApplicationWithName(name string) (*resources.AWSServerlessApplication, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { case *resources.AWSServerlessApplication: return resource, nil } } return nil, fmt.Errorf("resource %q of type AWSServerlessApplication not found", name) }
[ "func", "(", "t", "*", "Template", ")", "GetAWSServerlessApplicationWithName", "(", "name", "string", ")", "(", "*", "resources", ".", "AWSServerlessApplication", ",", "error", ")", "{", "if", "untyped", ",", "ok", ":=", "t", ".", "Resources", "[", "name", "]", ";", "ok", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSServerlessApplication", ":", "return", "resource", ",", "nil", "\n", "}", "\n", "}", "\n", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "name", ")", "\n", "}" ]
// GetAWSServerlessApplicationWithName retrieves all AWSServerlessApplication items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found.
[ "GetAWSServerlessApplicationWithName", "retrieves", "all", "AWSServerlessApplication", "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#L8768-L8776
train
awslabs/goformation
cloudformation/all.go
GetAllAWSServerlessFunctionResources
func (t *Template) GetAllAWSServerlessFunctionResources() map[string]*resources.AWSServerlessFunction { results := map[string]*resources.AWSServerlessFunction{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSServerlessFunction: results[name] = resource } } return results }
go
func (t *Template) GetAllAWSServerlessFunctionResources() map[string]*resources.AWSServerlessFunction { results := map[string]*resources.AWSServerlessFunction{} for name, untyped := range t.Resources { switch resource := untyped.(type) { case *resources.AWSServerlessFunction: results[name] = resource } } return results }
[ "func", "(", "t", "*", "Template", ")", "GetAllAWSServerlessFunctionResources", "(", ")", "map", "[", "string", "]", "*", "resources", ".", "AWSServerlessFunction", "{", "results", ":=", "map", "[", "string", "]", "*", "resources", ".", "AWSServerlessFunction", "{", "}", "\n", "for", "name", ",", "untyped", ":=", "range", "t", ".", "Resources", "{", "switch", "resource", ":=", "untyped", ".", "(", "type", ")", "{", "case", "*", "resources", ".", "AWSServerlessFunction", ":", "results", "[", "name", "]", "=", "resource", "\n", "}", "\n", "}", "\n", "return", "results", "\n", "}" ]
// GetAllAWSServerlessFunctionResources retrieves all AWSServerlessFunction items from an AWS CloudFormation template
[ "GetAllAWSServerlessFunctionResources", "retrieves", "all", "AWSServerlessFunction", "items", "from", "an", "AWS", "CloudFormation", "template" ]
8898b813a27809556420fcf0427a32765a567302
https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8779-L8788
train