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