repo stringlengths 5 67 | path stringlengths 4 218 | func_name stringlengths 0 151 | original_string stringlengths 52 373k | language stringclasses 6 values | code stringlengths 52 373k | code_tokens listlengths 10 512 | docstring stringlengths 3 47.2k | docstring_tokens listlengths 3 234 | sha stringlengths 40 40 | url stringlengths 85 339 | partition stringclasses 3 values |
|---|---|---|---|---|---|---|---|---|---|---|---|
awslabs/goformation | cloudformation/all.go | GetAWSOpsWorksCMServerWithName | func (t *Template) GetAWSOpsWorksCMServerWithName(name string) (*resources.AWSOpsWorksCMServer, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksCMServer:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSOpsWorksCMServer not found", name)
} | go | func (t *Template) GetAWSOpsWorksCMServerWithName(name string) (*resources.AWSOpsWorksCMServer, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksCMServer:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSOpsWorksCMServer not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSOpsWorksCMServerWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSOpsWorksCMServer",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // GetAWSOpsWorksCMServerWithName retrieves all AWSOpsWorksCMServer items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSOpsWorksCMServerWithName",
"retrieves",
"all",
"AWSOpsWorksCMServer",
"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#L7328-L7336 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRAMResourceShareResources | func (t *Template) GetAllAWSRAMResourceShareResources() map[string]*resources.AWSRAMResourceShare {
results := map[string]*resources.AWSRAMResourceShare{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRAMResourceShare:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRAMResourceShareResources() map[string]*resources.AWSRAMResourceShare {
results := map[string]*resources.AWSRAMResourceShare{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRAMResourceShare:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRAMResourceShareResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRAMResourceShare",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRAMResourceShare",
"{",... | // GetAllAWSRAMResourceShareResources retrieves all AWSRAMResourceShare items from an AWS CloudFormation template | [
"GetAllAWSRAMResourceShareResources",
"retrieves",
"all",
"AWSRAMResourceShare",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7339-L7348 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRAMResourceShareWithName | func (t *Template) GetAWSRAMResourceShareWithName(name string) (*resources.AWSRAMResourceShare, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRAMResourceShare:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRAMResourceShare not found", name)
} | go | func (t *Template) GetAWSRAMResourceShareWithName(name string) (*resources.AWSRAMResourceShare, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRAMResourceShare:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRAMResourceShare not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRAMResourceShareWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRAMResourceShare",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // GetAWSRAMResourceShareWithName retrieves all AWSRAMResourceShare items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRAMResourceShareWithName",
"retrieves",
"all",
"AWSRAMResourceShare",
"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#L7352-L7360 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRDSDBClusterResources | func (t *Template) GetAllAWSRDSDBClusterResources() map[string]*resources.AWSRDSDBCluster {
results := map[string]*resources.AWSRDSDBCluster{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSDBCluster:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRDSDBClusterResources() map[string]*resources.AWSRDSDBCluster {
results := map[string]*resources.AWSRDSDBCluster{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSDBCluster:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRDSDBClusterResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSDBCluster",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSDBCluster",
"{",
"}",
"\... | // GetAllAWSRDSDBClusterResources retrieves all AWSRDSDBCluster items from an AWS CloudFormation template | [
"GetAllAWSRDSDBClusterResources",
"retrieves",
"all",
"AWSRDSDBCluster",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7363-L7372 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRDSDBClusterWithName | func (t *Template) GetAWSRDSDBClusterWithName(name string) (*resources.AWSRDSDBCluster, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSDBCluster:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSDBCluster not found", name)
} | go | func (t *Template) GetAWSRDSDBClusterWithName(name string) (*resources.AWSRDSDBCluster, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSDBCluster:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSDBCluster not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRDSDBClusterWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRDSDBCluster",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"ok... | // GetAWSRDSDBClusterWithName retrieves all AWSRDSDBCluster items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRDSDBClusterWithName",
"retrieves",
"all",
"AWSRDSDBCluster",
"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#L7376-L7384 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRDSDBClusterParameterGroupResources | func (t *Template) GetAllAWSRDSDBClusterParameterGroupResources() map[string]*resources.AWSRDSDBClusterParameterGroup {
results := map[string]*resources.AWSRDSDBClusterParameterGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSDBClusterParameterGroup:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRDSDBClusterParameterGroupResources() map[string]*resources.AWSRDSDBClusterParameterGroup {
results := map[string]*resources.AWSRDSDBClusterParameterGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSDBClusterParameterGroup:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRDSDBClusterParameterGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSDBClusterParameterGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSDB... | // GetAllAWSRDSDBClusterParameterGroupResources retrieves all AWSRDSDBClusterParameterGroup items from an AWS CloudFormation template | [
"GetAllAWSRDSDBClusterParameterGroupResources",
"retrieves",
"all",
"AWSRDSDBClusterParameterGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7387-L7396 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRDSDBClusterParameterGroupWithName | func (t *Template) GetAWSRDSDBClusterParameterGroupWithName(name string) (*resources.AWSRDSDBClusterParameterGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSDBClusterParameterGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSDBClusterParameterGroup not found", name)
} | go | func (t *Template) GetAWSRDSDBClusterParameterGroupWithName(name string) (*resources.AWSRDSDBClusterParameterGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSDBClusterParameterGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSDBClusterParameterGroup not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRDSDBClusterParameterGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRDSDBClusterParameterGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
... | // GetAWSRDSDBClusterParameterGroupWithName retrieves all AWSRDSDBClusterParameterGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRDSDBClusterParameterGroupWithName",
"retrieves",
"all",
"AWSRDSDBClusterParameterGroup",
"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#L7400-L7408 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRDSDBInstanceResources | func (t *Template) GetAllAWSRDSDBInstanceResources() map[string]*resources.AWSRDSDBInstance {
results := map[string]*resources.AWSRDSDBInstance{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSDBInstance:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRDSDBInstanceResources() map[string]*resources.AWSRDSDBInstance {
results := map[string]*resources.AWSRDSDBInstance{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSDBInstance:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRDSDBInstanceResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSDBInstance",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSDBInstance",
"{",
"}",
... | // GetAllAWSRDSDBInstanceResources retrieves all AWSRDSDBInstance items from an AWS CloudFormation template | [
"GetAllAWSRDSDBInstanceResources",
"retrieves",
"all",
"AWSRDSDBInstance",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7411-L7420 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRDSDBInstanceWithName | func (t *Template) GetAWSRDSDBInstanceWithName(name string) (*resources.AWSRDSDBInstance, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSDBInstance:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSDBInstance not found", name)
} | go | func (t *Template) GetAWSRDSDBInstanceWithName(name string) (*resources.AWSRDSDBInstance, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSDBInstance:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSDBInstance not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRDSDBInstanceWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRDSDBInstance",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"... | // GetAWSRDSDBInstanceWithName retrieves all AWSRDSDBInstance items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRDSDBInstanceWithName",
"retrieves",
"all",
"AWSRDSDBInstance",
"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#L7424-L7432 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRDSDBParameterGroupResources | func (t *Template) GetAllAWSRDSDBParameterGroupResources() map[string]*resources.AWSRDSDBParameterGroup {
results := map[string]*resources.AWSRDSDBParameterGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSDBParameterGroup:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRDSDBParameterGroupResources() map[string]*resources.AWSRDSDBParameterGroup {
results := map[string]*resources.AWSRDSDBParameterGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSDBParameterGroup:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRDSDBParameterGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSDBParameterGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSDBParameterGroup... | // GetAllAWSRDSDBParameterGroupResources retrieves all AWSRDSDBParameterGroup items from an AWS CloudFormation template | [
"GetAllAWSRDSDBParameterGroupResources",
"retrieves",
"all",
"AWSRDSDBParameterGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7435-L7444 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRDSDBParameterGroupWithName | func (t *Template) GetAWSRDSDBParameterGroupWithName(name string) (*resources.AWSRDSDBParameterGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSDBParameterGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSDBParameterGroup not found", name)
} | go | func (t *Template) GetAWSRDSDBParameterGroupWithName(name string) (*resources.AWSRDSDBParameterGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSDBParameterGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSDBParameterGroup not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRDSDBParameterGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRDSDBParameterGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]"... | // GetAWSRDSDBParameterGroupWithName retrieves all AWSRDSDBParameterGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRDSDBParameterGroupWithName",
"retrieves",
"all",
"AWSRDSDBParameterGroup",
"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#L7448-L7456 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRDSDBSecurityGroupResources | func (t *Template) GetAllAWSRDSDBSecurityGroupResources() map[string]*resources.AWSRDSDBSecurityGroup {
results := map[string]*resources.AWSRDSDBSecurityGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSDBSecurityGroup:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRDSDBSecurityGroupResources() map[string]*resources.AWSRDSDBSecurityGroup {
results := map[string]*resources.AWSRDSDBSecurityGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSDBSecurityGroup:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRDSDBSecurityGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSDBSecurityGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSDBSecurityGroup",
... | // GetAllAWSRDSDBSecurityGroupResources retrieves all AWSRDSDBSecurityGroup items from an AWS CloudFormation template | [
"GetAllAWSRDSDBSecurityGroupResources",
"retrieves",
"all",
"AWSRDSDBSecurityGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7459-L7468 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRDSDBSecurityGroupWithName | func (t *Template) GetAWSRDSDBSecurityGroupWithName(name string) (*resources.AWSRDSDBSecurityGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSDBSecurityGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSDBSecurityGroup not found", name)
} | go | func (t *Template) GetAWSRDSDBSecurityGroupWithName(name string) (*resources.AWSRDSDBSecurityGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSDBSecurityGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSDBSecurityGroup not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRDSDBSecurityGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRDSDBSecurityGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSRDSDBSecurityGroupWithName retrieves all AWSRDSDBSecurityGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRDSDBSecurityGroupWithName",
"retrieves",
"all",
"AWSRDSDBSecurityGroup",
"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#L7472-L7480 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRDSDBSecurityGroupIngressResources | func (t *Template) GetAllAWSRDSDBSecurityGroupIngressResources() map[string]*resources.AWSRDSDBSecurityGroupIngress {
results := map[string]*resources.AWSRDSDBSecurityGroupIngress{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSDBSecurityGroupIngress:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRDSDBSecurityGroupIngressResources() map[string]*resources.AWSRDSDBSecurityGroupIngress {
results := map[string]*resources.AWSRDSDBSecurityGroupIngress{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSDBSecurityGroupIngress:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRDSDBSecurityGroupIngressResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSDBSecurityGroupIngress",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSDBSe... | // GetAllAWSRDSDBSecurityGroupIngressResources retrieves all AWSRDSDBSecurityGroupIngress items from an AWS CloudFormation template | [
"GetAllAWSRDSDBSecurityGroupIngressResources",
"retrieves",
"all",
"AWSRDSDBSecurityGroupIngress",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7483-L7492 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRDSDBSecurityGroupIngressWithName | func (t *Template) GetAWSRDSDBSecurityGroupIngressWithName(name string) (*resources.AWSRDSDBSecurityGroupIngress, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSDBSecurityGroupIngress:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSDBSecurityGroupIngress not found", name)
} | go | func (t *Template) GetAWSRDSDBSecurityGroupIngressWithName(name string) (*resources.AWSRDSDBSecurityGroupIngress, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSDBSecurityGroupIngress:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSDBSecurityGroupIngress not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRDSDBSecurityGroupIngressWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRDSDBSecurityGroupIngress",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"... | // GetAWSRDSDBSecurityGroupIngressWithName retrieves all AWSRDSDBSecurityGroupIngress items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRDSDBSecurityGroupIngressWithName",
"retrieves",
"all",
"AWSRDSDBSecurityGroupIngress",
"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#L7496-L7504 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRDSDBSubnetGroupResources | func (t *Template) GetAllAWSRDSDBSubnetGroupResources() map[string]*resources.AWSRDSDBSubnetGroup {
results := map[string]*resources.AWSRDSDBSubnetGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSDBSubnetGroup:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRDSDBSubnetGroupResources() map[string]*resources.AWSRDSDBSubnetGroup {
results := map[string]*resources.AWSRDSDBSubnetGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSDBSubnetGroup:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRDSDBSubnetGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSDBSubnetGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSDBSubnetGroup",
"{",... | // GetAllAWSRDSDBSubnetGroupResources retrieves all AWSRDSDBSubnetGroup items from an AWS CloudFormation template | [
"GetAllAWSRDSDBSubnetGroupResources",
"retrieves",
"all",
"AWSRDSDBSubnetGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7507-L7516 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRDSDBSubnetGroupWithName | func (t *Template) GetAWSRDSDBSubnetGroupWithName(name string) (*resources.AWSRDSDBSubnetGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSDBSubnetGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSDBSubnetGroup not found", name)
} | go | func (t *Template) GetAWSRDSDBSubnetGroupWithName(name string) (*resources.AWSRDSDBSubnetGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSDBSubnetGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSDBSubnetGroup not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRDSDBSubnetGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRDSDBSubnetGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // GetAWSRDSDBSubnetGroupWithName retrieves all AWSRDSDBSubnetGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRDSDBSubnetGroupWithName",
"retrieves",
"all",
"AWSRDSDBSubnetGroup",
"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#L7520-L7528 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRDSEventSubscriptionResources | func (t *Template) GetAllAWSRDSEventSubscriptionResources() map[string]*resources.AWSRDSEventSubscription {
results := map[string]*resources.AWSRDSEventSubscription{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSEventSubscription:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRDSEventSubscriptionResources() map[string]*resources.AWSRDSEventSubscription {
results := map[string]*resources.AWSRDSEventSubscription{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSEventSubscription:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRDSEventSubscriptionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSEventSubscription",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSEventSubscript... | // GetAllAWSRDSEventSubscriptionResources retrieves all AWSRDSEventSubscription items from an AWS CloudFormation template | [
"GetAllAWSRDSEventSubscriptionResources",
"retrieves",
"all",
"AWSRDSEventSubscription",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7531-L7540 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRDSEventSubscriptionWithName | func (t *Template) GetAWSRDSEventSubscriptionWithName(name string) (*resources.AWSRDSEventSubscription, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSEventSubscription:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSEventSubscription not found", name)
} | go | func (t *Template) GetAWSRDSEventSubscriptionWithName(name string) (*resources.AWSRDSEventSubscription, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSEventSubscription:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSEventSubscription not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRDSEventSubscriptionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRDSEventSubscription",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"... | // GetAWSRDSEventSubscriptionWithName retrieves all AWSRDSEventSubscription items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRDSEventSubscriptionWithName",
"retrieves",
"all",
"AWSRDSEventSubscription",
"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#L7544-L7552 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRDSOptionGroupResources | func (t *Template) GetAllAWSRDSOptionGroupResources() map[string]*resources.AWSRDSOptionGroup {
results := map[string]*resources.AWSRDSOptionGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSOptionGroup:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRDSOptionGroupResources() map[string]*resources.AWSRDSOptionGroup {
results := map[string]*resources.AWSRDSOptionGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRDSOptionGroup:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRDSOptionGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSOptionGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRDSOptionGroup",
"{",
"}"... | // GetAllAWSRDSOptionGroupResources retrieves all AWSRDSOptionGroup items from an AWS CloudFormation template | [
"GetAllAWSRDSOptionGroupResources",
"retrieves",
"all",
"AWSRDSOptionGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7555-L7564 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRDSOptionGroupWithName | func (t *Template) GetAWSRDSOptionGroupWithName(name string) (*resources.AWSRDSOptionGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSOptionGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSOptionGroup not found", name)
} | go | func (t *Template) GetAWSRDSOptionGroupWithName(name string) (*resources.AWSRDSOptionGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRDSOptionGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRDSOptionGroup not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRDSOptionGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRDSOptionGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
... | // GetAWSRDSOptionGroupWithName retrieves all AWSRDSOptionGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRDSOptionGroupWithName",
"retrieves",
"all",
"AWSRDSOptionGroup",
"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#L7568-L7576 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRedshiftClusterResources | func (t *Template) GetAllAWSRedshiftClusterResources() map[string]*resources.AWSRedshiftCluster {
results := map[string]*resources.AWSRedshiftCluster{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRedshiftCluster:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRedshiftClusterResources() map[string]*resources.AWSRedshiftCluster {
results := map[string]*resources.AWSRedshiftCluster{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRedshiftCluster:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRedshiftClusterResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRedshiftCluster",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRedshiftCluster",
"{",
... | // GetAllAWSRedshiftClusterResources retrieves all AWSRedshiftCluster items from an AWS CloudFormation template | [
"GetAllAWSRedshiftClusterResources",
"retrieves",
"all",
"AWSRedshiftCluster",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7579-L7588 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRedshiftClusterWithName | func (t *Template) GetAWSRedshiftClusterWithName(name string) (*resources.AWSRedshiftCluster, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRedshiftCluster:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRedshiftCluster not found", name)
} | go | func (t *Template) GetAWSRedshiftClusterWithName(name string) (*resources.AWSRedshiftCluster, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRedshiftCluster:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRedshiftCluster not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRedshiftClusterWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRedshiftCluster",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",... | // GetAWSRedshiftClusterWithName retrieves all AWSRedshiftCluster items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRedshiftClusterWithName",
"retrieves",
"all",
"AWSRedshiftCluster",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7592-L7600 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRedshiftClusterParameterGroupResources | func (t *Template) GetAllAWSRedshiftClusterParameterGroupResources() map[string]*resources.AWSRedshiftClusterParameterGroup {
results := map[string]*resources.AWSRedshiftClusterParameterGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRedshiftClusterParameterGroup:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRedshiftClusterParameterGroupResources() map[string]*resources.AWSRedshiftClusterParameterGroup {
results := map[string]*resources.AWSRedshiftClusterParameterGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRedshiftClusterParameterGroup:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRedshiftClusterParameterGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRedshiftClusterParameterGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"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("resource %q of type AWSRedshiftClusterParameterGroup not found", name)
} | go | func (t *Template) GetAWSRedshiftClusterParameterGroupWithName(name string) (*resources.AWSRedshiftClusterParameterGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRedshiftClusterParameterGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRedshiftClusterParameterGroup not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRedshiftClusterParameterGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRedshiftClusterParameterGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
... | // 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.AWSRedshiftClusterSecurityGroup:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRedshiftClusterSecurityGroupResources() map[string]*resources.AWSRedshiftClusterSecurityGroup {
results := map[string]*resources.AWSRedshiftClusterSecurityGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRedshiftClusterSecurityGroup:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRedshiftClusterSecurityGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRedshiftClusterSecurityGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"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("resource %q of type AWSRedshiftClusterSecurityGroup not found", name)
} | go | func (t *Template) GetAWSRedshiftClusterSecurityGroupWithName(name string) (*resources.AWSRedshiftClusterSecurityGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRedshiftClusterSecurityGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRedshiftClusterSecurityGroup not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRedshiftClusterSecurityGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRedshiftClusterSecurityGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[... | // 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.AWSRedshiftClusterSecurityGroupIngress:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRedshiftClusterSecurityGroupIngressResources() map[string]*resources.AWSRedshiftClusterSecurityGroupIngress {
results := map[string]*resources.AWSRedshiftClusterSecurityGroupIngress{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRedshiftClusterSecurityGroupIngress:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRedshiftClusterSecurityGroupIngressResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRedshiftClusterSecurityGroupIngress",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
... | // GetAllAWSRedshiftClusterSecurityGroupIngressResources retrieves all AWSRedshiftClusterSecurityGroupIngress items from an AWS CloudFormation template | [
"GetAllAWSRedshiftClusterSecurityGroupIngressResources",
"retrieves",
"all",
"AWSRedshiftClusterSecurityGroupIngress",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7651-L7660 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRedshiftClusterSecurityGroupIngressWithName | func (t *Template) GetAWSRedshiftClusterSecurityGroupIngressWithName(name string) (*resources.AWSRedshiftClusterSecurityGroupIngress, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRedshiftClusterSecurityGroupIngress:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRedshiftClusterSecurityGroupIngress not found", name)
} | go | func (t *Template) GetAWSRedshiftClusterSecurityGroupIngressWithName(name string) (*resources.AWSRedshiftClusterSecurityGroupIngress, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRedshiftClusterSecurityGroupIngress:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRedshiftClusterSecurityGroupIngress not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRedshiftClusterSecurityGroupIngressWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRedshiftClusterSecurityGroupIngress",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"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:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRedshiftClusterSubnetGroupResources() map[string]*resources.AWSRedshiftClusterSubnetGroup {
results := map[string]*resources.AWSRedshiftClusterSubnetGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRedshiftClusterSubnetGroup:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRedshiftClusterSubnetGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRedshiftClusterSubnetGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"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 %q of type AWSRedshiftClusterSubnetGroup not found", name)
} | go | func (t *Template) GetAWSRedshiftClusterSubnetGroupWithName(name string) (*resources.AWSRedshiftClusterSubnetGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRedshiftClusterSubnetGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRedshiftClusterSubnetGroup not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRedshiftClusterSubnetGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRedshiftClusterSubnetGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
... | // 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 found", name)
} | go | func (t *Template) GetAWSRoboMakerFleetWithName(name string) (*resources.AWSRoboMakerFleet, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoboMakerFleet:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoboMakerFleet not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRoboMakerFleetWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRoboMakerFleet",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
... | // 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 found", name)
} | go | func (t *Template) GetAWSRoboMakerRobotWithName(name string) (*resources.AWSRoboMakerRobot, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoboMakerRobot:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoboMakerRobot not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRoboMakerRobotWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRoboMakerRobot",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
... | // GetAWSRoboMakerRobotWithName retrieves all AWSRoboMakerRobot items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRoboMakerRobotWithName",
"retrieves",
"all",
"AWSRoboMakerRobot",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7736-L7744 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRoboMakerRobotApplicationResources | func (t *Template) GetAllAWSRoboMakerRobotApplicationResources() map[string]*resources.AWSRoboMakerRobotApplication {
results := map[string]*resources.AWSRoboMakerRobotApplication{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoboMakerRobotApplication:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRoboMakerRobotApplicationResources() map[string]*resources.AWSRoboMakerRobotApplication {
results := map[string]*resources.AWSRoboMakerRobotApplication{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoboMakerRobotApplication:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRoboMakerRobotApplicationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRoboMakerRobotApplication",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"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 of type AWSRoboMakerRobotApplication not found", name)
} | go | func (t *Template) GetAWSRoboMakerRobotApplicationWithName(name string) (*resources.AWSRoboMakerRobotApplication, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoboMakerRobotApplication:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoboMakerRobotApplication not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRoboMakerRobotApplicationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRoboMakerRobotApplication",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"... | // GetAWSRoboMakerRobotApplicationWithName retrieves all AWSRoboMakerRobotApplication items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRoboMakerRobotApplicationWithName",
"retrieves",
"all",
"AWSRoboMakerRobotApplication",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found"... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7760-L7768 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRoboMakerRobotApplicationVersionResources | func (t *Template) GetAllAWSRoboMakerRobotApplicationVersionResources() map[string]*resources.AWSRoboMakerRobotApplicationVersion {
results := map[string]*resources.AWSRoboMakerRobotApplicationVersion{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoboMakerRobotApplicationVersion:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRoboMakerRobotApplicationVersionResources() map[string]*resources.AWSRoboMakerRobotApplicationVersion {
results := map[string]*resources.AWSRoboMakerRobotApplicationVersion{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoboMakerRobotApplicationVersion:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRoboMakerRobotApplicationVersionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRoboMakerRobotApplicationVersion",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",... | // GetAllAWSRoboMakerRobotApplicationVersionResources retrieves all AWSRoboMakerRobotApplicationVersion items from an AWS CloudFormation template | [
"GetAllAWSRoboMakerRobotApplicationVersionResources",
"retrieves",
"all",
"AWSRoboMakerRobotApplicationVersion",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7771-L7780 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRoboMakerRobotApplicationVersionWithName | func (t *Template) GetAWSRoboMakerRobotApplicationVersionWithName(name string) (*resources.AWSRoboMakerRobotApplicationVersion, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoboMakerRobotApplicationVersion:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoboMakerRobotApplicationVersion not found", name)
} | go | func (t *Template) GetAWSRoboMakerRobotApplicationVersionWithName(name string) (*resources.AWSRoboMakerRobotApplicationVersion, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoboMakerRobotApplicationVersion:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoboMakerRobotApplicationVersion not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRoboMakerRobotApplicationVersionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRoboMakerRobotApplicationVersion",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"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.AWSRoboMakerSimulationApplication:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRoboMakerSimulationApplicationResources() map[string]*resources.AWSRoboMakerSimulationApplication {
results := map[string]*resources.AWSRoboMakerSimulationApplication{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoboMakerSimulationApplication:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRoboMakerSimulationApplicationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRoboMakerSimulationApplication",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"... | // GetAllAWSRoboMakerSimulationApplicationResources retrieves all AWSRoboMakerSimulationApplication items from an AWS CloudFormation template | [
"GetAllAWSRoboMakerSimulationApplicationResources",
"retrieves",
"all",
"AWSRoboMakerSimulationApplication",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7795-L7804 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRoboMakerSimulationApplicationWithName | func (t *Template) GetAWSRoboMakerSimulationApplicationWithName(name string) (*resources.AWSRoboMakerSimulationApplication, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoboMakerSimulationApplication:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoboMakerSimulationApplication not found", name)
} | go | func (t *Template) GetAWSRoboMakerSimulationApplicationWithName(name string) (*resources.AWSRoboMakerSimulationApplication, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoboMakerSimulationApplication:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoboMakerSimulationApplication not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRoboMakerSimulationApplicationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRoboMakerSimulationApplication",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
... | // 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.AWSRoboMakerSimulationApplicationVersion:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRoboMakerSimulationApplicationVersionResources() map[string]*resources.AWSRoboMakerSimulationApplicationVersion {
results := map[string]*resources.AWSRoboMakerSimulationApplicationVersion{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoboMakerSimulationApplicationVersion:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRoboMakerSimulationApplicationVersionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRoboMakerSimulationApplicationVersion",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"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
}
}
return nil, fmt.Errorf("resource %q of type AWSRoboMakerSimulationApplicationVersion not found", name)
} | go | func (t *Template) GetAWSRoboMakerSimulationApplicationVersionWithName(name string) (*resources.AWSRoboMakerSimulationApplicationVersion, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoboMakerSimulationApplicationVersion:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoboMakerSimulationApplicationVersion not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRoboMakerSimulationApplicationVersionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRoboMakerSimulationApplicationVersion",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
... | // 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
}
}
return results
} | go | func (t *Template) GetAllAWSRoute53HealthCheckResources() map[string]*resources.AWSRoute53HealthCheck {
results := map[string]*resources.AWSRoute53HealthCheck{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoute53HealthCheck:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRoute53HealthCheckResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRoute53HealthCheck",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRoute53HealthCheck",
... | // GetAllAWSRoute53HealthCheckResources retrieves all AWSRoute53HealthCheck items from an AWS CloudFormation template | [
"GetAllAWSRoute53HealthCheckResources",
"retrieves",
"all",
"AWSRoute53HealthCheck",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7843-L7852 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRoute53HealthCheckWithName | func (t *Template) GetAWSRoute53HealthCheckWithName(name string) (*resources.AWSRoute53HealthCheck, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoute53HealthCheck:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoute53HealthCheck not found", name)
} | go | func (t *Template) GetAWSRoute53HealthCheckWithName(name string) (*resources.AWSRoute53HealthCheck, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoute53HealthCheck:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoute53HealthCheck not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRoute53HealthCheckWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRoute53HealthCheck",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSRoute53HealthCheckWithName retrieves all AWSRoute53HealthCheck items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRoute53HealthCheckWithName",
"retrieves",
"all",
"AWSRoute53HealthCheck",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7856-L7864 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRoute53HostedZoneResources | func (t *Template) GetAllAWSRoute53HostedZoneResources() map[string]*resources.AWSRoute53HostedZone {
results := map[string]*resources.AWSRoute53HostedZone{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoute53HostedZone:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRoute53HostedZoneResources() map[string]*resources.AWSRoute53HostedZone {
results := map[string]*resources.AWSRoute53HostedZone{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoute53HostedZone:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRoute53HostedZoneResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRoute53HostedZone",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRoute53HostedZone",
"... | // GetAllAWSRoute53HostedZoneResources retrieves all AWSRoute53HostedZone items from an AWS CloudFormation template | [
"GetAllAWSRoute53HostedZoneResources",
"retrieves",
"all",
"AWSRoute53HostedZone",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7867-L7876 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRoute53HostedZoneWithName | func (t *Template) GetAWSRoute53HostedZoneWithName(name string) (*resources.AWSRoute53HostedZone, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoute53HostedZone:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoute53HostedZone not found", name)
} | go | func (t *Template) GetAWSRoute53HostedZoneWithName(name string) (*resources.AWSRoute53HostedZone, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoute53HostedZone:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoute53HostedZone not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRoute53HostedZoneWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRoute53HostedZone",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSRoute53HostedZoneWithName retrieves all AWSRoute53HostedZone items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRoute53HostedZoneWithName",
"retrieves",
"all",
"AWSRoute53HostedZone",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7880-L7888 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRoute53RecordSetResources | func (t *Template) GetAllAWSRoute53RecordSetResources() map[string]*resources.AWSRoute53RecordSet {
results := map[string]*resources.AWSRoute53RecordSet{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoute53RecordSet:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRoute53RecordSetResources() map[string]*resources.AWSRoute53RecordSet {
results := map[string]*resources.AWSRoute53RecordSet{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoute53RecordSet:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRoute53RecordSetResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRoute53RecordSet",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRoute53RecordSet",
"{",... | // GetAllAWSRoute53RecordSetResources retrieves all AWSRoute53RecordSet items from an AWS CloudFormation template | [
"GetAllAWSRoute53RecordSetResources",
"retrieves",
"all",
"AWSRoute53RecordSet",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7891-L7900 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRoute53RecordSetWithName | func (t *Template) GetAWSRoute53RecordSetWithName(name string) (*resources.AWSRoute53RecordSet, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoute53RecordSet:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoute53RecordSet not found", name)
} | go | func (t *Template) GetAWSRoute53RecordSetWithName(name string) (*resources.AWSRoute53RecordSet, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoute53RecordSet:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoute53RecordSet not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRoute53RecordSetWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRoute53RecordSet",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // GetAWSRoute53RecordSetWithName retrieves all AWSRoute53RecordSet items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRoute53RecordSetWithName",
"retrieves",
"all",
"AWSRoute53RecordSet",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7904-L7912 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRoute53RecordSetGroupResources | func (t *Template) GetAllAWSRoute53RecordSetGroupResources() map[string]*resources.AWSRoute53RecordSetGroup {
results := map[string]*resources.AWSRoute53RecordSetGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoute53RecordSetGroup:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRoute53RecordSetGroupResources() map[string]*resources.AWSRoute53RecordSetGroup {
results := map[string]*resources.AWSRoute53RecordSetGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoute53RecordSetGroup:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRoute53RecordSetGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRoute53RecordSetGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"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 AWSRoute53RecordSetGroup not found", name)
} | go | func (t *Template) GetAWSRoute53RecordSetGroupWithName(name string) (*resources.AWSRoute53RecordSetGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoute53RecordSetGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoute53RecordSetGroup not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRoute53RecordSetGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRoute53RecordSetGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
... | // GetAWSRoute53RecordSetGroupWithName retrieves all AWSRoute53RecordSetGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSRoute53RecordSetGroupWithName",
"retrieves",
"all",
"AWSRoute53RecordSetGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7928-L7936 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSRoute53ResolverResolverEndpointResources | func (t *Template) GetAllAWSRoute53ResolverResolverEndpointResources() map[string]*resources.AWSRoute53ResolverResolverEndpoint {
results := map[string]*resources.AWSRoute53ResolverResolverEndpoint{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoute53ResolverResolverEndpoint:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRoute53ResolverResolverEndpointResources() map[string]*resources.AWSRoute53ResolverResolverEndpoint {
results := map[string]*resources.AWSRoute53ResolverResolverEndpoint{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoute53ResolverResolverEndpoint:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRoute53ResolverResolverEndpointResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRoute53ResolverResolverEndpoint",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
... | // GetAllAWSRoute53ResolverResolverEndpointResources retrieves all AWSRoute53ResolverResolverEndpoint items from an AWS CloudFormation template | [
"GetAllAWSRoute53ResolverResolverEndpointResources",
"retrieves",
"all",
"AWSRoute53ResolverResolverEndpoint",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7939-L7948 | train |
awslabs/goformation | cloudformation/all.go | GetAWSRoute53ResolverResolverEndpointWithName | func (t *Template) GetAWSRoute53ResolverResolverEndpointWithName(name string) (*resources.AWSRoute53ResolverResolverEndpoint, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoute53ResolverResolverEndpoint:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoute53ResolverResolverEndpoint not found", name)
} | go | func (t *Template) GetAWSRoute53ResolverResolverEndpointWithName(name string) (*resources.AWSRoute53ResolverResolverEndpoint, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoute53ResolverResolverEndpoint:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoute53ResolverResolverEndpoint not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRoute53ResolverResolverEndpointWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRoute53ResolverResolverEndpoint",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources"... | // 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:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRoute53ResolverResolverRuleResources() map[string]*resources.AWSRoute53ResolverResolverRule {
results := map[string]*resources.AWSRoute53ResolverResolverRule{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoute53ResolverResolverRule:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRoute53ResolverResolverRuleResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRoute53ResolverResolverRule",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"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("resource %q of type AWSRoute53ResolverResolverRule not found", name)
} | go | func (t *Template) GetAWSRoute53ResolverResolverRuleWithName(name string) (*resources.AWSRoute53ResolverResolverRule, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoute53ResolverResolverRule:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoute53ResolverResolverRule not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRoute53ResolverResolverRuleWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRoute53ResolverResolverRule",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",... | // 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.AWSRoute53ResolverResolverRuleAssociation:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSRoute53ResolverResolverRuleAssociationResources() map[string]*resources.AWSRoute53ResolverResolverRuleAssociation {
results := map[string]*resources.AWSRoute53ResolverResolverRuleAssociation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSRoute53ResolverResolverRuleAssociation:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSRoute53ResolverResolverRuleAssociationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSRoute53ResolverResolverRuleAssociation",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"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
}
}
return nil, fmt.Errorf("resource %q of type AWSRoute53ResolverResolverRuleAssociation not found", name)
} | go | func (t *Template) GetAWSRoute53ResolverResolverRuleAssociationWithName(name string) (*resources.AWSRoute53ResolverResolverRuleAssociation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSRoute53ResolverResolverRuleAssociation:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSRoute53ResolverResolverRuleAssociation not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSRoute53ResolverResolverRuleAssociationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSRoute53ResolverResolverRuleAssociation",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",... | // 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 found", name)
} | go | func (t *Template) GetAWSS3BucketPolicyWithName(name string) (*resources.AWSS3BucketPolicy, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSS3BucketPolicy:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSS3BucketPolicy not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSS3BucketPolicyWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSS3BucketPolicy",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
... | // 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
}
}
return results
} | go | func (t *Template) GetAllAWSSESConfigurationSetResources() map[string]*resources.AWSSESConfigurationSet {
results := map[string]*resources.AWSSESConfigurationSet{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSESConfigurationSet:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSSESConfigurationSetResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSESConfigurationSet",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSESConfigurationSet... | // GetAllAWSSESConfigurationSetResources retrieves all AWSSESConfigurationSet items from an AWS CloudFormation template | [
"GetAllAWSSESConfigurationSetResources",
"retrieves",
"all",
"AWSSESConfigurationSet",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8083-L8092 | train |
awslabs/goformation | cloudformation/all.go | GetAWSSESConfigurationSetWithName | func (t *Template) GetAWSSESConfigurationSetWithName(name string) (*resources.AWSSESConfigurationSet, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSESConfigurationSet:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSESConfigurationSet not found", name)
} | go | func (t *Template) GetAWSSESConfigurationSetWithName(name string) (*resources.AWSSESConfigurationSet, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSESConfigurationSet:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSESConfigurationSet not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSSESConfigurationSetWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSSESConfigurationSet",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]"... | // GetAWSSESConfigurationSetWithName retrieves all AWSSESConfigurationSet items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSSESConfigurationSetWithName",
"retrieves",
"all",
"AWSSESConfigurationSet",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8096-L8104 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSSESConfigurationSetEventDestinationResources | func (t *Template) GetAllAWSSESConfigurationSetEventDestinationResources() map[string]*resources.AWSSESConfigurationSetEventDestination {
results := map[string]*resources.AWSSESConfigurationSetEventDestination{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSESConfigurationSetEventDestination:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSSESConfigurationSetEventDestinationResources() map[string]*resources.AWSSESConfigurationSetEventDestination {
results := map[string]*resources.AWSSESConfigurationSetEventDestination{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSESConfigurationSetEventDestination:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSSESConfigurationSetEventDestinationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSESConfigurationSetEventDestination",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
... | // GetAllAWSSESConfigurationSetEventDestinationResources retrieves all AWSSESConfigurationSetEventDestination items from an AWS CloudFormation template | [
"GetAllAWSSESConfigurationSetEventDestinationResources",
"retrieves",
"all",
"AWSSESConfigurationSetEventDestination",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8107-L8116 | train |
awslabs/goformation | cloudformation/all.go | GetAWSSESConfigurationSetEventDestinationWithName | func (t *Template) GetAWSSESConfigurationSetEventDestinationWithName(name string) (*resources.AWSSESConfigurationSetEventDestination, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSESConfigurationSetEventDestination:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSESConfigurationSetEventDestination not found", name)
} | go | func (t *Template) GetAWSSESConfigurationSetEventDestinationWithName(name string) (*resources.AWSSESConfigurationSetEventDestination, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSESConfigurationSetEventDestination:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSESConfigurationSetEventDestination not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSSESConfigurationSetEventDestinationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSSESConfigurationSetEventDestination",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"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 results
} | go | func (t *Template) GetAllAWSSESReceiptFilterResources() map[string]*resources.AWSSESReceiptFilter {
results := map[string]*resources.AWSSESReceiptFilter{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSESReceiptFilter:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSSESReceiptFilterResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSESReceiptFilter",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSESReceiptFilter",
"{",... | // GetAllAWSSESReceiptFilterResources retrieves all AWSSESReceiptFilter items from an AWS CloudFormation template | [
"GetAllAWSSESReceiptFilterResources",
"retrieves",
"all",
"AWSSESReceiptFilter",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8131-L8140 | train |
awslabs/goformation | cloudformation/all.go | GetAWSSESReceiptFilterWithName | func (t *Template) GetAWSSESReceiptFilterWithName(name string) (*resources.AWSSESReceiptFilter, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSESReceiptFilter:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSESReceiptFilter not found", name)
} | go | func (t *Template) GetAWSSESReceiptFilterWithName(name string) (*resources.AWSSESReceiptFilter, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSESReceiptFilter:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSESReceiptFilter not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSSESReceiptFilterWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSSESReceiptFilter",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // 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 found", name)
} | go | func (t *Template) GetAWSSESReceiptRuleWithName(name string) (*resources.AWSSESReceiptRule, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSESReceiptRule:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSESReceiptRule not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSSESReceiptRuleWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSSESReceiptRule",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
... | // GetAWSSESReceiptRuleWithName retrieves all AWSSESReceiptRule items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSSESReceiptRuleWithName",
"retrieves",
"all",
"AWSSESReceiptRule",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8168-L8176 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSSESReceiptRuleSetResources | func (t *Template) GetAllAWSSESReceiptRuleSetResources() map[string]*resources.AWSSESReceiptRuleSet {
results := map[string]*resources.AWSSESReceiptRuleSet{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSESReceiptRuleSet:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSSESReceiptRuleSetResources() map[string]*resources.AWSSESReceiptRuleSet {
results := map[string]*resources.AWSSESReceiptRuleSet{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSESReceiptRuleSet:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSSESReceiptRuleSetResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSESReceiptRuleSet",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSESReceiptRuleSet",
"... | // GetAllAWSSESReceiptRuleSetResources retrieves all AWSSESReceiptRuleSet items from an AWS CloudFormation template | [
"GetAllAWSSESReceiptRuleSetResources",
"retrieves",
"all",
"AWSSESReceiptRuleSet",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8179-L8188 | train |
awslabs/goformation | cloudformation/all.go | GetAWSSESReceiptRuleSetWithName | func (t *Template) GetAWSSESReceiptRuleSetWithName(name string) (*resources.AWSSESReceiptRuleSet, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSESReceiptRuleSet:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSESReceiptRuleSet not found", name)
} | go | func (t *Template) GetAWSSESReceiptRuleSetWithName(name string) (*resources.AWSSESReceiptRuleSet, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSESReceiptRuleSet:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSESReceiptRuleSet not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSSESReceiptRuleSetWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSSESReceiptRuleSet",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // 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 results
} | go | func (t *Template) GetAllAWSSNSSubscriptionResources() map[string]*resources.AWSSNSSubscription {
results := map[string]*resources.AWSSNSSubscription{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSNSSubscription:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSSNSSubscriptionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSNSSubscription",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSNSSubscription",
"{",
... | // GetAllAWSSNSSubscriptionResources retrieves all AWSSNSSubscription items from an AWS CloudFormation template | [
"GetAllAWSSNSSubscriptionResources",
"retrieves",
"all",
"AWSSNSSubscription",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8227-L8236 | train |
awslabs/goformation | cloudformation/all.go | GetAWSSNSSubscriptionWithName | func (t *Template) GetAWSSNSSubscriptionWithName(name string) (*resources.AWSSNSSubscription, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSNSSubscription:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSNSSubscription not found", name)
} | go | func (t *Template) GetAWSSNSSubscriptionWithName(name string) (*resources.AWSSNSSubscription, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSNSSubscription:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSNSSubscription not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSSNSSubscriptionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSSNSSubscription",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",... | // 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 found", name)
} | go | func (t *Template) GetAWSSNSTopicPolicyWithName(name string) (*resources.AWSSNSTopicPolicy, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSNSTopicPolicy:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSNSTopicPolicy not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSSNSTopicPolicyWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSSNSTopicPolicy",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
... | // 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 found", name)
} | go | func (t *Template) GetAWSSQSQueuePolicyWithName(name string) (*resources.AWSSQSQueuePolicy, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSQSQueuePolicy:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSQSQueuePolicy not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSSQSQueuePolicyWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSSQSQueuePolicy",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
... | // 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 found", name)
} | go | func (t *Template) GetAWSSSMAssociationWithName(name string) (*resources.AWSSSMAssociation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSSMAssociation:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSSMAssociation not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSSSMAssociationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSSSMAssociation",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
... | // 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
}
}
return results
} | go | func (t *Template) GetAllAWSSSMMaintenanceWindowResources() map[string]*resources.AWSSSMMaintenanceWindow {
results := map[string]*resources.AWSSSMMaintenanceWindow{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSSMMaintenanceWindow:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSSSMMaintenanceWindowResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSSMMaintenanceWindow",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"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 AWSSSMMaintenanceWindow not found", name)
} | go | func (t *Template) GetAWSSSMMaintenanceWindowWithName(name string) (*resources.AWSSSMMaintenanceWindow, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSSMMaintenanceWindow:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSSMMaintenanceWindow not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSSSMMaintenanceWindowWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSSSMMaintenanceWindow",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"... | // GetAWSSSMMaintenanceWindowWithName retrieves all AWSSSMMaintenanceWindow items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSSSMMaintenanceWindowWithName",
"retrieves",
"all",
"AWSSSMMaintenanceWindow",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8408-L8416 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSSSMMaintenanceWindowTaskResources | func (t *Template) GetAllAWSSSMMaintenanceWindowTaskResources() map[string]*resources.AWSSSMMaintenanceWindowTask {
results := map[string]*resources.AWSSSMMaintenanceWindowTask{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSSMMaintenanceWindowTask:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSSSMMaintenanceWindowTaskResources() map[string]*resources.AWSSSMMaintenanceWindowTask {
results := map[string]*resources.AWSSSMMaintenanceWindowTask{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSSMMaintenanceWindowTask:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSSSMMaintenanceWindowTaskResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSSMMaintenanceWindowTask",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"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 type AWSSSMMaintenanceWindowTask not found", name)
} | go | func (t *Template) GetAWSSSMMaintenanceWindowTaskWithName(name string) (*resources.AWSSSMMaintenanceWindowTask, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSSMMaintenanceWindowTask:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSSMMaintenanceWindowTask not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSSSMMaintenanceWindowTaskWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSSSMMaintenanceWindowTask",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"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", name)
} | go | func (t *Template) GetAWSSSMParameterWithName(name string) (*resources.AWSSSMParameter, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSSMParameter:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSSMParameter not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSSSMParameterWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSSSMParameter",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"ok... | // GetAWSSSMParameterWithName retrieves all AWSSSMParameter items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSSSMParameterWithName",
"retrieves",
"all",
"AWSSSMParameter",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8456-L8464 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSSSMPatchBaselineResources | func (t *Template) GetAllAWSSSMPatchBaselineResources() map[string]*resources.AWSSSMPatchBaseline {
results := map[string]*resources.AWSSSMPatchBaseline{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSSMPatchBaseline:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSSSMPatchBaselineResources() map[string]*resources.AWSSSMPatchBaseline {
results := map[string]*resources.AWSSSMPatchBaseline{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSSMPatchBaseline:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSSSMPatchBaselineResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSSMPatchBaseline",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSSMPatchBaseline",
"{",... | // GetAllAWSSSMPatchBaselineResources retrieves all AWSSSMPatchBaseline items from an AWS CloudFormation template | [
"GetAllAWSSSMPatchBaselineResources",
"retrieves",
"all",
"AWSSSMPatchBaseline",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8467-L8476 | train |
awslabs/goformation | cloudformation/all.go | GetAWSSSMPatchBaselineWithName | func (t *Template) GetAWSSSMPatchBaselineWithName(name string) (*resources.AWSSSMPatchBaseline, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSSMPatchBaseline:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSSMPatchBaseline not found", name)
} | go | func (t *Template) GetAWSSSMPatchBaselineWithName(name string) (*resources.AWSSSMPatchBaseline, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSSMPatchBaseline:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSSMPatchBaseline not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSSSMPatchBaselineWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSSSMPatchBaseline",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // GetAWSSSMPatchBaselineWithName retrieves all AWSSSMPatchBaseline items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSSSMPatchBaselineWithName",
"retrieves",
"all",
"AWSSSMPatchBaseline",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8480-L8488 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSSSMResourceDataSyncResources | func (t *Template) GetAllAWSSSMResourceDataSyncResources() map[string]*resources.AWSSSMResourceDataSync {
results := map[string]*resources.AWSSSMResourceDataSync{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSSMResourceDataSync:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSSSMResourceDataSyncResources() map[string]*resources.AWSSSMResourceDataSync {
results := map[string]*resources.AWSSSMResourceDataSync{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSSMResourceDataSync:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSSSMResourceDataSyncResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSSMResourceDataSync",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSSMResourceDataSync... | // GetAllAWSSSMResourceDataSyncResources retrieves all AWSSSMResourceDataSync items from an AWS CloudFormation template | [
"GetAllAWSSSMResourceDataSyncResources",
"retrieves",
"all",
"AWSSSMResourceDataSync",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8491-L8500 | train |
awslabs/goformation | cloudformation/all.go | GetAWSSSMResourceDataSyncWithName | func (t *Template) GetAWSSSMResourceDataSyncWithName(name string) (*resources.AWSSSMResourceDataSync, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSSMResourceDataSync:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSSMResourceDataSync not found", name)
} | go | func (t *Template) GetAWSSSMResourceDataSyncWithName(name string) (*resources.AWSSSMResourceDataSync, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSSSMResourceDataSync:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSSSMResourceDataSync not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSSSMResourceDataSyncWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSSSMResourceDataSync",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]"... | // GetAWSSSMResourceDataSyncWithName retrieves all AWSSSMResourceDataSync items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSSSMResourceDataSyncWithName",
"retrieves",
"all",
"AWSSSMResourceDataSync",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"if",
"not",
"found",
"."
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L8504-L8512 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSSageMakerEndpointResources | func (t *Template) GetAllAWSSageMakerEndpointResources() map[string]*resources.AWSSageMakerEndpoint {
results := map[string]*resources.AWSSageMakerEndpoint{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSageMakerEndpoint:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSSageMakerEndpointResources() map[string]*resources.AWSSageMakerEndpoint {
results := map[string]*resources.AWSSageMakerEndpoint{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSSageMakerEndpoint:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSSageMakerEndpointResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSageMakerEndpoint",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSSageMakerEndpoint",
"... | // 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.