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