repo stringlengths 5 54 | path stringlengths 4 155 | func_name stringlengths 1 118 | original_string stringlengths 52 85.5k | language stringclasses 1
value | code stringlengths 52 85.5k | code_tokens list | docstring stringlengths 6 2.61k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 85 252 | partition stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|
awslabs/goformation | cloudformation/all.go | GetAWSIoTAnalyticsDatasetWithName | func (t *Template) GetAWSIoTAnalyticsDatasetWithName(name string) (*resources.AWSIoTAnalyticsDataset, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSIoTAnalyticsDataset:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSIoTAnal... | go | func (t *Template) GetAWSIoTAnalyticsDatasetWithName(name string) (*resources.AWSIoTAnalyticsDataset, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSIoTAnalyticsDataset:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSIoTAnal... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSIoTAnalyticsDatasetWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSIoTAnalyticsDataset",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]"... | // GetAWSIoTAnalyticsDatasetWithName retrieves all AWSIoTAnalyticsDataset items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSIoTAnalyticsDatasetWithName",
"retrieves",
"all",
"AWSIoTAnalyticsDataset",
"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#L6392-L6400 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSIoTAnalyticsDatastoreResources | func (t *Template) GetAllAWSIoTAnalyticsDatastoreResources() map[string]*resources.AWSIoTAnalyticsDatastore {
results := map[string]*resources.AWSIoTAnalyticsDatastore{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSIoTAnalyticsDatastore:
results[name] = resour... | go | func (t *Template) GetAllAWSIoTAnalyticsDatastoreResources() map[string]*resources.AWSIoTAnalyticsDatastore {
results := map[string]*resources.AWSIoTAnalyticsDatastore{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSIoTAnalyticsDatastore:
results[name] = resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSIoTAnalyticsDatastoreResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSIoTAnalyticsDatastore",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSIoTAnalyticsDat... | // GetAllAWSIoTAnalyticsDatastoreResources retrieves all AWSIoTAnalyticsDatastore items from an AWS CloudFormation template | [
"GetAllAWSIoTAnalyticsDatastoreResources",
"retrieves",
"all",
"AWSIoTAnalyticsDatastore",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6403-L6412 | train |
awslabs/goformation | cloudformation/all.go | GetAWSIoTAnalyticsDatastoreWithName | func (t *Template) GetAWSIoTAnalyticsDatastoreWithName(name string) (*resources.AWSIoTAnalyticsDatastore, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSIoTAnalyticsDatastore:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSI... | go | func (t *Template) GetAWSIoTAnalyticsDatastoreWithName(name string) (*resources.AWSIoTAnalyticsDatastore, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSIoTAnalyticsDatastore:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSI... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSIoTAnalyticsDatastoreWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSIoTAnalyticsDatastore",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
... | // GetAWSIoTAnalyticsDatastoreWithName retrieves all AWSIoTAnalyticsDatastore items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSIoTAnalyticsDatastoreWithName",
"retrieves",
"all",
"AWSIoTAnalyticsDatastore",
"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#L6416-L6424 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSIoTAnalyticsPipelineResources | func (t *Template) GetAllAWSIoTAnalyticsPipelineResources() map[string]*resources.AWSIoTAnalyticsPipeline {
results := map[string]*resources.AWSIoTAnalyticsPipeline{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSIoTAnalyticsPipeline:
results[name] = resource
... | go | func (t *Template) GetAllAWSIoTAnalyticsPipelineResources() map[string]*resources.AWSIoTAnalyticsPipeline {
results := map[string]*resources.AWSIoTAnalyticsPipeline{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSIoTAnalyticsPipeline:
results[name] = resource
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSIoTAnalyticsPipelineResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSIoTAnalyticsPipeline",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSIoTAnalyticsPipel... | // GetAllAWSIoTAnalyticsPipelineResources retrieves all AWSIoTAnalyticsPipeline items from an AWS CloudFormation template | [
"GetAllAWSIoTAnalyticsPipelineResources",
"retrieves",
"all",
"AWSIoTAnalyticsPipeline",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6427-L6436 | train |
awslabs/goformation | cloudformation/all.go | GetAWSIoTAnalyticsPipelineWithName | func (t *Template) GetAWSIoTAnalyticsPipelineWithName(name string) (*resources.AWSIoTAnalyticsPipeline, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSIoTAnalyticsPipeline:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSIoTA... | go | func (t *Template) GetAWSIoTAnalyticsPipelineWithName(name string) (*resources.AWSIoTAnalyticsPipeline, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSIoTAnalyticsPipeline:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSIoTA... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSIoTAnalyticsPipelineWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSIoTAnalyticsPipeline",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"... | // GetAWSIoTAnalyticsPipelineWithName retrieves all AWSIoTAnalyticsPipeline items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSIoTAnalyticsPipelineWithName",
"retrieves",
"all",
"AWSIoTAnalyticsPipeline",
"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#L6440-L6448 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSKMSAliasResources | func (t *Template) GetAllAWSKMSAliasResources() map[string]*resources.AWSKMSAlias {
results := map[string]*resources.AWSKMSAlias{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKMSAlias:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSKMSAliasResources() map[string]*resources.AWSKMSAlias {
results := map[string]*resources.AWSKMSAlias{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKMSAlias:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSKMSAliasResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKMSAlias",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKMSAlias",
"{",
"}",
"\n",
"for",... | // GetAllAWSKMSAliasResources retrieves all AWSKMSAlias items from an AWS CloudFormation template | [
"GetAllAWSKMSAliasResources",
"retrieves",
"all",
"AWSKMSAlias",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6451-L6460 | train |
awslabs/goformation | cloudformation/all.go | GetAWSKMSAliasWithName | func (t *Template) GetAWSKMSAliasWithName(name string) (*resources.AWSKMSAlias, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKMSAlias:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSKMSAlias not found", name)
} | go | func (t *Template) GetAWSKMSAliasWithName(name string) (*resources.AWSKMSAlias, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKMSAlias:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSKMSAlias not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSKMSAliasWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSKMSAlias",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"ok",
"{"... | // GetAWSKMSAliasWithName retrieves all AWSKMSAlias items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSKMSAliasWithName",
"retrieves",
"all",
"AWSKMSAlias",
"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#L6464-L6472 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSKMSKeyResources | func (t *Template) GetAllAWSKMSKeyResources() map[string]*resources.AWSKMSKey {
results := map[string]*resources.AWSKMSKey{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKMSKey:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSKMSKeyResources() map[string]*resources.AWSKMSKey {
results := map[string]*resources.AWSKMSKey{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKMSKey:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSKMSKeyResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKMSKey",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKMSKey",
"{",
"}",
"\n",
"for",
"na... | // GetAllAWSKMSKeyResources retrieves all AWSKMSKey items from an AWS CloudFormation template | [
"GetAllAWSKMSKeyResources",
"retrieves",
"all",
"AWSKMSKey",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6475-L6484 | train |
awslabs/goformation | cloudformation/all.go | GetAWSKMSKeyWithName | func (t *Template) GetAWSKMSKeyWithName(name string) (*resources.AWSKMSKey, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKMSKey:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSKMSKey not found", name)
} | go | func (t *Template) GetAWSKMSKeyWithName(name string) (*resources.AWSKMSKey, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKMSKey:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSKMSKey not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSKMSKeyWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSKMSKey",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"ok",
"{",
... | // GetAWSKMSKeyWithName retrieves all AWSKMSKey items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSKMSKeyWithName",
"retrieves",
"all",
"AWSKMSKey",
"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#L6488-L6496 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSKinesisStreamResources | func (t *Template) GetAllAWSKinesisStreamResources() map[string]*resources.AWSKinesisStream {
results := map[string]*resources.AWSKinesisStream{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKinesisStream:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSKinesisStreamResources() map[string]*resources.AWSKinesisStream {
results := map[string]*resources.AWSKinesisStream{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKinesisStream:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSKinesisStreamResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKinesisStream",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKinesisStream",
"{",
"}",
... | // GetAllAWSKinesisStreamResources retrieves all AWSKinesisStream items from an AWS CloudFormation template | [
"GetAllAWSKinesisStreamResources",
"retrieves",
"all",
"AWSKinesisStream",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6499-L6508 | train |
awslabs/goformation | cloudformation/all.go | GetAWSKinesisStreamWithName | func (t *Template) GetAWSKinesisStreamWithName(name string) (*resources.AWSKinesisStream, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisStream:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSKinesisStream not found",... | go | func (t *Template) GetAWSKinesisStreamWithName(name string) (*resources.AWSKinesisStream, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisStream:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSKinesisStream not found",... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSKinesisStreamWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSKinesisStream",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"... | // GetAWSKinesisStreamWithName retrieves all AWSKinesisStream items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSKinesisStreamWithName",
"retrieves",
"all",
"AWSKinesisStream",
"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#L6512-L6520 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSKinesisStreamConsumerResources | func (t *Template) GetAllAWSKinesisStreamConsumerResources() map[string]*resources.AWSKinesisStreamConsumer {
results := map[string]*resources.AWSKinesisStreamConsumer{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKinesisStreamConsumer:
results[name] = resour... | go | func (t *Template) GetAllAWSKinesisStreamConsumerResources() map[string]*resources.AWSKinesisStreamConsumer {
results := map[string]*resources.AWSKinesisStreamConsumer{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKinesisStreamConsumer:
results[name] = resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSKinesisStreamConsumerResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKinesisStreamConsumer",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKinesisStreamCo... | // GetAllAWSKinesisStreamConsumerResources retrieves all AWSKinesisStreamConsumer items from an AWS CloudFormation template | [
"GetAllAWSKinesisStreamConsumerResources",
"retrieves",
"all",
"AWSKinesisStreamConsumer",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6523-L6532 | train |
awslabs/goformation | cloudformation/all.go | GetAWSKinesisStreamConsumerWithName | func (t *Template) GetAWSKinesisStreamConsumerWithName(name string) (*resources.AWSKinesisStreamConsumer, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisStreamConsumer:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSK... | go | func (t *Template) GetAWSKinesisStreamConsumerWithName(name string) (*resources.AWSKinesisStreamConsumer, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisStreamConsumer:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSK... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSKinesisStreamConsumerWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSKinesisStreamConsumer",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
... | // GetAWSKinesisStreamConsumerWithName retrieves all AWSKinesisStreamConsumer items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSKinesisStreamConsumerWithName",
"retrieves",
"all",
"AWSKinesisStreamConsumer",
"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#L6536-L6544 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSKinesisAnalyticsApplicationResources | func (t *Template) GetAllAWSKinesisAnalyticsApplicationResources() map[string]*resources.AWSKinesisAnalyticsApplication {
results := map[string]*resources.AWSKinesisAnalyticsApplication{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsApplication:
... | go | func (t *Template) GetAllAWSKinesisAnalyticsApplicationResources() map[string]*resources.AWSKinesisAnalyticsApplication {
results := map[string]*resources.AWSKinesisAnalyticsApplication{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsApplication:
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSKinesisAnalyticsApplicationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKinesisAnalyticsApplication",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKin... | // GetAllAWSKinesisAnalyticsApplicationResources retrieves all AWSKinesisAnalyticsApplication items from an AWS CloudFormation template | [
"GetAllAWSKinesisAnalyticsApplicationResources",
"retrieves",
"all",
"AWSKinesisAnalyticsApplication",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6547-L6556 | train |
awslabs/goformation | cloudformation/all.go | GetAWSKinesisAnalyticsApplicationWithName | func (t *Template) GetAWSKinesisAnalyticsApplicationWithName(name string) (*resources.AWSKinesisAnalyticsApplication, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsApplication:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | go | func (t *Template) GetAWSKinesisAnalyticsApplicationWithName(name string) (*resources.AWSKinesisAnalyticsApplication, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsApplication:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSKinesisAnalyticsApplicationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSKinesisAnalyticsApplication",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",... | // GetAWSKinesisAnalyticsApplicationWithName retrieves all AWSKinesisAnalyticsApplication items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSKinesisAnalyticsApplicationWithName",
"retrieves",
"all",
"AWSKinesisAnalyticsApplication",
"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#L6560-L6568 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSKinesisAnalyticsApplicationOutputResources | func (t *Template) GetAllAWSKinesisAnalyticsApplicationOutputResources() map[string]*resources.AWSKinesisAnalyticsApplicationOutput {
results := map[string]*resources.AWSKinesisAnalyticsApplicationOutput{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnaly... | go | func (t *Template) GetAllAWSKinesisAnalyticsApplicationOutputResources() map[string]*resources.AWSKinesisAnalyticsApplicationOutput {
results := map[string]*resources.AWSKinesisAnalyticsApplicationOutput{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnaly... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSKinesisAnalyticsApplicationOutputResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKinesisAnalyticsApplicationOutput",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".... | // GetAllAWSKinesisAnalyticsApplicationOutputResources retrieves all AWSKinesisAnalyticsApplicationOutput items from an AWS CloudFormation template | [
"GetAllAWSKinesisAnalyticsApplicationOutputResources",
"retrieves",
"all",
"AWSKinesisAnalyticsApplicationOutput",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6571-L6580 | train |
awslabs/goformation | cloudformation/all.go | GetAWSKinesisAnalyticsApplicationOutputWithName | func (t *Template) GetAWSKinesisAnalyticsApplicationOutputWithName(name string) (*resources.AWSKinesisAnalyticsApplicationOutput, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsApplicationOutput:
return resource, nil
}
}
return nil, ... | go | func (t *Template) GetAWSKinesisAnalyticsApplicationOutputWithName(name string) (*resources.AWSKinesisAnalyticsApplicationOutput, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsApplicationOutput:
return resource, nil
}
}
return nil, ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSKinesisAnalyticsApplicationOutputWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSKinesisAnalyticsApplicationOutput",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resour... | // GetAWSKinesisAnalyticsApplicationOutputWithName retrieves all AWSKinesisAnalyticsApplicationOutput items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSKinesisAnalyticsApplicationOutputWithName",
"retrieves",
"all",
"AWSKinesisAnalyticsApplicationOutput",
"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#L6584-L6592 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSKinesisAnalyticsApplicationReferenceDataSourceResources | func (t *Template) GetAllAWSKinesisAnalyticsApplicationReferenceDataSourceResources() map[string]*resources.AWSKinesisAnalyticsApplicationReferenceDataSource {
results := map[string]*resources.AWSKinesisAnalyticsApplicationReferenceDataSource{}
for name, untyped := range t.Resources {
switch resource := untyped.(ty... | go | func (t *Template) GetAllAWSKinesisAnalyticsApplicationReferenceDataSourceResources() map[string]*resources.AWSKinesisAnalyticsApplicationReferenceDataSource {
results := map[string]*resources.AWSKinesisAnalyticsApplicationReferenceDataSource{}
for name, untyped := range t.Resources {
switch resource := untyped.(ty... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSKinesisAnalyticsApplicationReferenceDataSourceResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKinesisAnalyticsApplicationReferenceDataSource",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
... | // GetAllAWSKinesisAnalyticsApplicationReferenceDataSourceResources retrieves all AWSKinesisAnalyticsApplicationReferenceDataSource items from an AWS CloudFormation template | [
"GetAllAWSKinesisAnalyticsApplicationReferenceDataSourceResources",
"retrieves",
"all",
"AWSKinesisAnalyticsApplicationReferenceDataSource",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6595-L6604 | train |
awslabs/goformation | cloudformation/all.go | GetAWSKinesisAnalyticsApplicationReferenceDataSourceWithName | func (t *Template) GetAWSKinesisAnalyticsApplicationReferenceDataSourceWithName(name string) (*resources.AWSKinesisAnalyticsApplicationReferenceDataSource, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsApplicationReferenceDataSource:
re... | go | func (t *Template) GetAWSKinesisAnalyticsApplicationReferenceDataSourceWithName(name string) (*resources.AWSKinesisAnalyticsApplicationReferenceDataSource, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsApplicationReferenceDataSource:
re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSKinesisAnalyticsApplicationReferenceDataSourceWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSKinesisAnalyticsApplicationReferenceDataSource",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=... | // GetAWSKinesisAnalyticsApplicationReferenceDataSourceWithName retrieves all AWSKinesisAnalyticsApplicationReferenceDataSource items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSKinesisAnalyticsApplicationReferenceDataSourceWithName",
"retrieves",
"all",
"AWSKinesisAnalyticsApplicationReferenceDataSource",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6608-L6616 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSKinesisAnalyticsV2ApplicationResources | func (t *Template) GetAllAWSKinesisAnalyticsV2ApplicationResources() map[string]*resources.AWSKinesisAnalyticsV2Application {
results := map[string]*resources.AWSKinesisAnalyticsV2Application{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsV2Applic... | go | func (t *Template) GetAllAWSKinesisAnalyticsV2ApplicationResources() map[string]*resources.AWSKinesisAnalyticsV2Application {
results := map[string]*resources.AWSKinesisAnalyticsV2Application{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsV2Applic... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSKinesisAnalyticsV2ApplicationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKinesisAnalyticsV2Application",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AW... | // GetAllAWSKinesisAnalyticsV2ApplicationResources retrieves all AWSKinesisAnalyticsV2Application items from an AWS CloudFormation template | [
"GetAllAWSKinesisAnalyticsV2ApplicationResources",
"retrieves",
"all",
"AWSKinesisAnalyticsV2Application",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6619-L6628 | train |
awslabs/goformation | cloudformation/all.go | GetAWSKinesisAnalyticsV2ApplicationWithName | func (t *Template) GetAWSKinesisAnalyticsV2ApplicationWithName(name string) (*resources.AWSKinesisAnalyticsV2Application, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsV2Application:
return resource, nil
}
}
return nil, fmt.Errorf("... | go | func (t *Template) GetAWSKinesisAnalyticsV2ApplicationWithName(name string) (*resources.AWSKinesisAnalyticsV2Application, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsV2Application:
return resource, nil
}
}
return nil, fmt.Errorf("... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSKinesisAnalyticsV2ApplicationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSKinesisAnalyticsV2Application",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
... | // GetAWSKinesisAnalyticsV2ApplicationWithName retrieves all AWSKinesisAnalyticsV2Application items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSKinesisAnalyticsV2ApplicationWithName",
"retrieves",
"all",
"AWSKinesisAnalyticsV2Application",
"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#L6632-L6640 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionResources | func (t *Template) GetAllAWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionResources() map[string]*resources.AWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOption {
results := map[string]*resources.AWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOption{}
for name, untyped := range t.Resources {
switch resou... | go | func (t *Template) GetAllAWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionResources() map[string]*resources.AWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOption {
results := map[string]*resources.AWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOption{}
for name, untyped := range t.Resources {
switch resou... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOption",
"{",
"results",
":=",
"map",
"[",
"stri... | // GetAllAWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionResources retrieves all AWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOption items from an AWS CloudFormation template | [
"GetAllAWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionResources",
"retrieves",
"all",
"AWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOption",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6643-L6652 | train |
awslabs/goformation | cloudformation/all.go | GetAWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionWithName | func (t *Template) GetAWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionWithName(name string) (*resources.AWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOption, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsV2ApplicationCloudWatchLo... | go | func (t *Template) GetAWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionWithName(name string) (*resources.AWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOption, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsV2ApplicationCloudWatchLo... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOption",
",",
"error",
")",
"{",
"if",
"untyped",
",",
... | // GetAWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionWithName retrieves all AWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOption items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionWithName",
"retrieves",
"all",
"AWSKinesisAnalyticsV2ApplicationCloudWatchLoggingOption",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"R... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6656-L6664 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSKinesisAnalyticsV2ApplicationOutputResources | func (t *Template) GetAllAWSKinesisAnalyticsV2ApplicationOutputResources() map[string]*resources.AWSKinesisAnalyticsV2ApplicationOutput {
results := map[string]*resources.AWSKinesisAnalyticsV2ApplicationOutput{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKinesi... | go | func (t *Template) GetAllAWSKinesisAnalyticsV2ApplicationOutputResources() map[string]*resources.AWSKinesisAnalyticsV2ApplicationOutput {
results := map[string]*resources.AWSKinesisAnalyticsV2ApplicationOutput{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKinesi... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSKinesisAnalyticsV2ApplicationOutputResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKinesisAnalyticsV2ApplicationOutput",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
... | // GetAllAWSKinesisAnalyticsV2ApplicationOutputResources retrieves all AWSKinesisAnalyticsV2ApplicationOutput items from an AWS CloudFormation template | [
"GetAllAWSKinesisAnalyticsV2ApplicationOutputResources",
"retrieves",
"all",
"AWSKinesisAnalyticsV2ApplicationOutput",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6667-L6676 | train |
awslabs/goformation | cloudformation/all.go | GetAWSKinesisAnalyticsV2ApplicationOutputWithName | func (t *Template) GetAWSKinesisAnalyticsV2ApplicationOutputWithName(name string) (*resources.AWSKinesisAnalyticsV2ApplicationOutput, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsV2ApplicationOutput:
return resource, nil
}
}
return... | go | func (t *Template) GetAWSKinesisAnalyticsV2ApplicationOutputWithName(name string) (*resources.AWSKinesisAnalyticsV2ApplicationOutput, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsV2ApplicationOutput:
return resource, nil
}
}
return... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSKinesisAnalyticsV2ApplicationOutputWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSKinesisAnalyticsV2ApplicationOutput",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Re... | // GetAWSKinesisAnalyticsV2ApplicationOutputWithName retrieves all AWSKinesisAnalyticsV2ApplicationOutput items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSKinesisAnalyticsV2ApplicationOutputWithName",
"retrieves",
"all",
"AWSKinesisAnalyticsV2ApplicationOutput",
"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#L6680-L6688 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSKinesisAnalyticsV2ApplicationReferenceDataSourceResources | func (t *Template) GetAllAWSKinesisAnalyticsV2ApplicationReferenceDataSourceResources() map[string]*resources.AWSKinesisAnalyticsV2ApplicationReferenceDataSource {
results := map[string]*resources.AWSKinesisAnalyticsV2ApplicationReferenceDataSource{}
for name, untyped := range t.Resources {
switch resource := untyp... | go | func (t *Template) GetAllAWSKinesisAnalyticsV2ApplicationReferenceDataSourceResources() map[string]*resources.AWSKinesisAnalyticsV2ApplicationReferenceDataSource {
results := map[string]*resources.AWSKinesisAnalyticsV2ApplicationReferenceDataSource{}
for name, untyped := range t.Resources {
switch resource := untyp... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSKinesisAnalyticsV2ApplicationReferenceDataSourceResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKinesisAnalyticsV2ApplicationReferenceDataSource",
"{",
"results",
":=",
"map",
"[",
"string",
"... | // GetAllAWSKinesisAnalyticsV2ApplicationReferenceDataSourceResources retrieves all AWSKinesisAnalyticsV2ApplicationReferenceDataSource items from an AWS CloudFormation template | [
"GetAllAWSKinesisAnalyticsV2ApplicationReferenceDataSourceResources",
"retrieves",
"all",
"AWSKinesisAnalyticsV2ApplicationReferenceDataSource",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6691-L6700 | train |
awslabs/goformation | cloudformation/all.go | GetAWSKinesisAnalyticsV2ApplicationReferenceDataSourceWithName | func (t *Template) GetAWSKinesisAnalyticsV2ApplicationReferenceDataSourceWithName(name string) (*resources.AWSKinesisAnalyticsV2ApplicationReferenceDataSource, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsV2ApplicationReferenceDataSource:... | go | func (t *Template) GetAWSKinesisAnalyticsV2ApplicationReferenceDataSourceWithName(name string) (*resources.AWSKinesisAnalyticsV2ApplicationReferenceDataSource, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisAnalyticsV2ApplicationReferenceDataSource:... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSKinesisAnalyticsV2ApplicationReferenceDataSourceWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSKinesisAnalyticsV2ApplicationReferenceDataSource",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
... | // GetAWSKinesisAnalyticsV2ApplicationReferenceDataSourceWithName retrieves all AWSKinesisAnalyticsV2ApplicationReferenceDataSource items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSKinesisAnalyticsV2ApplicationReferenceDataSourceWithName",
"retrieves",
"all",
"AWSKinesisAnalyticsV2ApplicationReferenceDataSource",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6704-L6712 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSKinesisFirehoseDeliveryStreamResources | func (t *Template) GetAllAWSKinesisFirehoseDeliveryStreamResources() map[string]*resources.AWSKinesisFirehoseDeliveryStream {
results := map[string]*resources.AWSKinesisFirehoseDeliveryStream{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKinesisFirehoseDeliveryS... | go | func (t *Template) GetAllAWSKinesisFirehoseDeliveryStreamResources() map[string]*resources.AWSKinesisFirehoseDeliveryStream {
results := map[string]*resources.AWSKinesisFirehoseDeliveryStream{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSKinesisFirehoseDeliveryS... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSKinesisFirehoseDeliveryStreamResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSKinesisFirehoseDeliveryStream",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AW... | // GetAllAWSKinesisFirehoseDeliveryStreamResources retrieves all AWSKinesisFirehoseDeliveryStream items from an AWS CloudFormation template | [
"GetAllAWSKinesisFirehoseDeliveryStreamResources",
"retrieves",
"all",
"AWSKinesisFirehoseDeliveryStream",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6715-L6724 | train |
awslabs/goformation | cloudformation/all.go | GetAWSKinesisFirehoseDeliveryStreamWithName | func (t *Template) GetAWSKinesisFirehoseDeliveryStreamWithName(name string) (*resources.AWSKinesisFirehoseDeliveryStream, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisFirehoseDeliveryStream:
return resource, nil
}
}
return nil, fmt.Errorf("... | go | func (t *Template) GetAWSKinesisFirehoseDeliveryStreamWithName(name string) (*resources.AWSKinesisFirehoseDeliveryStream, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSKinesisFirehoseDeliveryStream:
return resource, nil
}
}
return nil, fmt.Errorf("... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSKinesisFirehoseDeliveryStreamWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSKinesisFirehoseDeliveryStream",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
... | // GetAWSKinesisFirehoseDeliveryStreamWithName retrieves all AWSKinesisFirehoseDeliveryStream items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSKinesisFirehoseDeliveryStreamWithName",
"retrieves",
"all",
"AWSKinesisFirehoseDeliveryStream",
"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#L6728-L6736 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSLambdaAliasResources | func (t *Template) GetAllAWSLambdaAliasResources() map[string]*resources.AWSLambdaAlias {
results := map[string]*resources.AWSLambdaAlias{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLambdaAlias:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSLambdaAliasResources() map[string]*resources.AWSLambdaAlias {
results := map[string]*resources.AWSLambdaAlias{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLambdaAlias:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSLambdaAliasResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLambdaAlias",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLambdaAlias",
"{",
"}",
"\n",... | // GetAllAWSLambdaAliasResources retrieves all AWSLambdaAlias items from an AWS CloudFormation template | [
"GetAllAWSLambdaAliasResources",
"retrieves",
"all",
"AWSLambdaAlias",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6739-L6748 | train |
awslabs/goformation | cloudformation/all.go | GetAWSLambdaAliasWithName | func (t *Template) GetAWSLambdaAliasWithName(name string) (*resources.AWSLambdaAlias, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLambdaAlias:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLambdaAlias not found", name)
} | go | func (t *Template) GetAWSLambdaAliasWithName(name string) (*resources.AWSLambdaAlias, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLambdaAlias:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLambdaAlias not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSLambdaAliasWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSLambdaAlias",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"ok",... | // GetAWSLambdaAliasWithName retrieves all AWSLambdaAlias items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSLambdaAliasWithName",
"retrieves",
"all",
"AWSLambdaAlias",
"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#L6752-L6760 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSLambdaEventSourceMappingResources | func (t *Template) GetAllAWSLambdaEventSourceMappingResources() map[string]*resources.AWSLambdaEventSourceMapping {
results := map[string]*resources.AWSLambdaEventSourceMapping{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLambdaEventSourceMapping:
results[na... | go | func (t *Template) GetAllAWSLambdaEventSourceMappingResources() map[string]*resources.AWSLambdaEventSourceMapping {
results := map[string]*resources.AWSLambdaEventSourceMapping{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLambdaEventSourceMapping:
results[na... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSLambdaEventSourceMappingResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLambdaEventSourceMapping",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLambdaEve... | // GetAllAWSLambdaEventSourceMappingResources retrieves all AWSLambdaEventSourceMapping items from an AWS CloudFormation template | [
"GetAllAWSLambdaEventSourceMappingResources",
"retrieves",
"all",
"AWSLambdaEventSourceMapping",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6763-L6772 | train |
awslabs/goformation | cloudformation/all.go | GetAWSLambdaEventSourceMappingWithName | func (t *Template) GetAWSLambdaEventSourceMappingWithName(name string) (*resources.AWSLambdaEventSourceMapping, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLambdaEventSourceMapping:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of ... | go | func (t *Template) GetAWSLambdaEventSourceMappingWithName(name string) (*resources.AWSLambdaEventSourceMapping, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLambdaEventSourceMapping:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSLambdaEventSourceMappingWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSLambdaEventSourceMapping",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"na... | // GetAWSLambdaEventSourceMappingWithName retrieves all AWSLambdaEventSourceMapping items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSLambdaEventSourceMappingWithName",
"retrieves",
"all",
"AWSLambdaEventSourceMapping",
"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#L6776-L6784 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSLambdaFunctionResources | func (t *Template) GetAllAWSLambdaFunctionResources() map[string]*resources.AWSLambdaFunction {
results := map[string]*resources.AWSLambdaFunction{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLambdaFunction:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSLambdaFunctionResources() map[string]*resources.AWSLambdaFunction {
results := map[string]*resources.AWSLambdaFunction{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLambdaFunction:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSLambdaFunctionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLambdaFunction",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLambdaFunction",
"{",
"}"... | // GetAllAWSLambdaFunctionResources retrieves all AWSLambdaFunction items from an AWS CloudFormation template | [
"GetAllAWSLambdaFunctionResources",
"retrieves",
"all",
"AWSLambdaFunction",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6787-L6796 | train |
awslabs/goformation | cloudformation/all.go | GetAWSLambdaFunctionWithName | func (t *Template) GetAWSLambdaFunctionWithName(name string) (*resources.AWSLambdaFunction, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLambdaFunction:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLambdaFunction not fou... | go | func (t *Template) GetAWSLambdaFunctionWithName(name string) (*resources.AWSLambdaFunction, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLambdaFunction:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLambdaFunction not fou... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSLambdaFunctionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSLambdaFunction",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
... | // GetAWSLambdaFunctionWithName retrieves all AWSLambdaFunction items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSLambdaFunctionWithName",
"retrieves",
"all",
"AWSLambdaFunction",
"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#L6800-L6808 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSLambdaLayerVersionResources | func (t *Template) GetAllAWSLambdaLayerVersionResources() map[string]*resources.AWSLambdaLayerVersion {
results := map[string]*resources.AWSLambdaLayerVersion{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLambdaLayerVersion:
results[name] = resource
}
}
r... | go | func (t *Template) GetAllAWSLambdaLayerVersionResources() map[string]*resources.AWSLambdaLayerVersion {
results := map[string]*resources.AWSLambdaLayerVersion{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLambdaLayerVersion:
results[name] = resource
}
}
r... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSLambdaLayerVersionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLambdaLayerVersion",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLambdaLayerVersion",
... | // GetAllAWSLambdaLayerVersionResources retrieves all AWSLambdaLayerVersion items from an AWS CloudFormation template | [
"GetAllAWSLambdaLayerVersionResources",
"retrieves",
"all",
"AWSLambdaLayerVersion",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6811-L6820 | train |
awslabs/goformation | cloudformation/all.go | GetAWSLambdaLayerVersionWithName | func (t *Template) GetAWSLambdaLayerVersionWithName(name string) (*resources.AWSLambdaLayerVersion, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLambdaLayerVersion:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLambdaLaye... | go | func (t *Template) GetAWSLambdaLayerVersionWithName(name string) (*resources.AWSLambdaLayerVersion, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLambdaLayerVersion:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLambdaLaye... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSLambdaLayerVersionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSLambdaLayerVersion",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSLambdaLayerVersionWithName retrieves all AWSLambdaLayerVersion items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSLambdaLayerVersionWithName",
"retrieves",
"all",
"AWSLambdaLayerVersion",
"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#L6824-L6832 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSLambdaLayerVersionPermissionResources | func (t *Template) GetAllAWSLambdaLayerVersionPermissionResources() map[string]*resources.AWSLambdaLayerVersionPermission {
results := map[string]*resources.AWSLambdaLayerVersionPermission{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLambdaLayerVersionPermissio... | go | func (t *Template) GetAllAWSLambdaLayerVersionPermissionResources() map[string]*resources.AWSLambdaLayerVersionPermission {
results := map[string]*resources.AWSLambdaLayerVersionPermission{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLambdaLayerVersionPermissio... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSLambdaLayerVersionPermissionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLambdaLayerVersionPermission",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSL... | // GetAllAWSLambdaLayerVersionPermissionResources retrieves all AWSLambdaLayerVersionPermission items from an AWS CloudFormation template | [
"GetAllAWSLambdaLayerVersionPermissionResources",
"retrieves",
"all",
"AWSLambdaLayerVersionPermission",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6835-L6844 | train |
awslabs/goformation | cloudformation/all.go | GetAWSLambdaLayerVersionPermissionWithName | func (t *Template) GetAWSLambdaLayerVersionPermissionWithName(name string) (*resources.AWSLambdaLayerVersionPermission, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLambdaLayerVersionPermission:
return resource, nil
}
}
return nil, fmt.Errorf("res... | go | func (t *Template) GetAWSLambdaLayerVersionPermissionWithName(name string) (*resources.AWSLambdaLayerVersionPermission, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLambdaLayerVersionPermission:
return resource, nil
}
}
return nil, fmt.Errorf("res... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSLambdaLayerVersionPermissionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSLambdaLayerVersionPermission",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[... | // GetAWSLambdaLayerVersionPermissionWithName retrieves all AWSLambdaLayerVersionPermission items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSLambdaLayerVersionPermissionWithName",
"retrieves",
"all",
"AWSLambdaLayerVersionPermission",
"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#L6848-L6856 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSLambdaPermissionResources | func (t *Template) GetAllAWSLambdaPermissionResources() map[string]*resources.AWSLambdaPermission {
results := map[string]*resources.AWSLambdaPermission{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLambdaPermission:
results[name] = resource
}
}
return re... | go | func (t *Template) GetAllAWSLambdaPermissionResources() map[string]*resources.AWSLambdaPermission {
results := map[string]*resources.AWSLambdaPermission{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLambdaPermission:
results[name] = resource
}
}
return re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSLambdaPermissionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLambdaPermission",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLambdaPermission",
"{",... | // GetAllAWSLambdaPermissionResources retrieves all AWSLambdaPermission items from an AWS CloudFormation template | [
"GetAllAWSLambdaPermissionResources",
"retrieves",
"all",
"AWSLambdaPermission",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6859-L6868 | train |
awslabs/goformation | cloudformation/all.go | GetAWSLambdaPermissionWithName | func (t *Template) GetAWSLambdaPermissionWithName(name string) (*resources.AWSLambdaPermission, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLambdaPermission:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLambdaPermission... | go | func (t *Template) GetAWSLambdaPermissionWithName(name string) (*resources.AWSLambdaPermission, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLambdaPermission:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLambdaPermission... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSLambdaPermissionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSLambdaPermission",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // GetAWSLambdaPermissionWithName retrieves all AWSLambdaPermission items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSLambdaPermissionWithName",
"retrieves",
"all",
"AWSLambdaPermission",
"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#L6872-L6880 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSLambdaVersionResources | func (t *Template) GetAllAWSLambdaVersionResources() map[string]*resources.AWSLambdaVersion {
results := map[string]*resources.AWSLambdaVersion{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLambdaVersion:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSLambdaVersionResources() map[string]*resources.AWSLambdaVersion {
results := map[string]*resources.AWSLambdaVersion{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLambdaVersion:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSLambdaVersionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLambdaVersion",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLambdaVersion",
"{",
"}",
... | // GetAllAWSLambdaVersionResources retrieves all AWSLambdaVersion items from an AWS CloudFormation template | [
"GetAllAWSLambdaVersionResources",
"retrieves",
"all",
"AWSLambdaVersion",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6883-L6892 | train |
awslabs/goformation | cloudformation/all.go | GetAWSLambdaVersionWithName | func (t *Template) GetAWSLambdaVersionWithName(name string) (*resources.AWSLambdaVersion, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLambdaVersion:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLambdaVersion not found",... | go | func (t *Template) GetAWSLambdaVersionWithName(name string) (*resources.AWSLambdaVersion, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLambdaVersion:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLambdaVersion not found",... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSLambdaVersionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSLambdaVersion",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"... | // GetAWSLambdaVersionWithName retrieves all AWSLambdaVersion items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSLambdaVersionWithName",
"retrieves",
"all",
"AWSLambdaVersion",
"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#L6896-L6904 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSLogsDestinationResources | func (t *Template) GetAllAWSLogsDestinationResources() map[string]*resources.AWSLogsDestination {
results := map[string]*resources.AWSLogsDestination{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLogsDestination:
results[name] = resource
}
}
return result... | go | func (t *Template) GetAllAWSLogsDestinationResources() map[string]*resources.AWSLogsDestination {
results := map[string]*resources.AWSLogsDestination{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLogsDestination:
results[name] = resource
}
}
return result... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSLogsDestinationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLogsDestination",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLogsDestination",
"{",
... | // GetAllAWSLogsDestinationResources retrieves all AWSLogsDestination items from an AWS CloudFormation template | [
"GetAllAWSLogsDestinationResources",
"retrieves",
"all",
"AWSLogsDestination",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6907-L6916 | train |
awslabs/goformation | cloudformation/all.go | GetAWSLogsDestinationWithName | func (t *Template) GetAWSLogsDestinationWithName(name string) (*resources.AWSLogsDestination, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLogsDestination:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLogsDestination not... | go | func (t *Template) GetAWSLogsDestinationWithName(name string) (*resources.AWSLogsDestination, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLogsDestination:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLogsDestination not... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSLogsDestinationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSLogsDestination",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",... | // GetAWSLogsDestinationWithName retrieves all AWSLogsDestination items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSLogsDestinationWithName",
"retrieves",
"all",
"AWSLogsDestination",
"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#L6920-L6928 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSLogsLogGroupResources | func (t *Template) GetAllAWSLogsLogGroupResources() map[string]*resources.AWSLogsLogGroup {
results := map[string]*resources.AWSLogsLogGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLogsLogGroup:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSLogsLogGroupResources() map[string]*resources.AWSLogsLogGroup {
results := map[string]*resources.AWSLogsLogGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLogsLogGroup:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSLogsLogGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLogsLogGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLogsLogGroup",
"{",
"}",
"\... | // GetAllAWSLogsLogGroupResources retrieves all AWSLogsLogGroup items from an AWS CloudFormation template | [
"GetAllAWSLogsLogGroupResources",
"retrieves",
"all",
"AWSLogsLogGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6931-L6940 | train |
awslabs/goformation | cloudformation/all.go | GetAWSLogsLogGroupWithName | func (t *Template) GetAWSLogsLogGroupWithName(name string) (*resources.AWSLogsLogGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLogsLogGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLogsLogGroup not found", nam... | go | func (t *Template) GetAWSLogsLogGroupWithName(name string) (*resources.AWSLogsLogGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLogsLogGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLogsLogGroup not found", nam... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSLogsLogGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSLogsLogGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"ok... | // GetAWSLogsLogGroupWithName retrieves all AWSLogsLogGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSLogsLogGroupWithName",
"retrieves",
"all",
"AWSLogsLogGroup",
"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#L6944-L6952 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSLogsLogStreamResources | func (t *Template) GetAllAWSLogsLogStreamResources() map[string]*resources.AWSLogsLogStream {
results := map[string]*resources.AWSLogsLogStream{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLogsLogStream:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSLogsLogStreamResources() map[string]*resources.AWSLogsLogStream {
results := map[string]*resources.AWSLogsLogStream{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLogsLogStream:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSLogsLogStreamResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLogsLogStream",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLogsLogStream",
"{",
"}",
... | // GetAllAWSLogsLogStreamResources retrieves all AWSLogsLogStream items from an AWS CloudFormation template | [
"GetAllAWSLogsLogStreamResources",
"retrieves",
"all",
"AWSLogsLogStream",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6955-L6964 | train |
awslabs/goformation | cloudformation/all.go | GetAWSLogsLogStreamWithName | func (t *Template) GetAWSLogsLogStreamWithName(name string) (*resources.AWSLogsLogStream, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLogsLogStream:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLogsLogStream not found",... | go | func (t *Template) GetAWSLogsLogStreamWithName(name string) (*resources.AWSLogsLogStream, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLogsLogStream:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLogsLogStream not found",... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSLogsLogStreamWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSLogsLogStream",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"... | // GetAWSLogsLogStreamWithName retrieves all AWSLogsLogStream items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSLogsLogStreamWithName",
"retrieves",
"all",
"AWSLogsLogStream",
"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#L6968-L6976 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSLogsMetricFilterResources | func (t *Template) GetAllAWSLogsMetricFilterResources() map[string]*resources.AWSLogsMetricFilter {
results := map[string]*resources.AWSLogsMetricFilter{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLogsMetricFilter:
results[name] = resource
}
}
return re... | go | func (t *Template) GetAllAWSLogsMetricFilterResources() map[string]*resources.AWSLogsMetricFilter {
results := map[string]*resources.AWSLogsMetricFilter{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLogsMetricFilter:
results[name] = resource
}
}
return re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSLogsMetricFilterResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLogsMetricFilter",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLogsMetricFilter",
"{",... | // GetAllAWSLogsMetricFilterResources retrieves all AWSLogsMetricFilter items from an AWS CloudFormation template | [
"GetAllAWSLogsMetricFilterResources",
"retrieves",
"all",
"AWSLogsMetricFilter",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L6979-L6988 | train |
awslabs/goformation | cloudformation/all.go | GetAWSLogsMetricFilterWithName | func (t *Template) GetAWSLogsMetricFilterWithName(name string) (*resources.AWSLogsMetricFilter, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLogsMetricFilter:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLogsMetricFilter... | go | func (t *Template) GetAWSLogsMetricFilterWithName(name string) (*resources.AWSLogsMetricFilter, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLogsMetricFilter:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSLogsMetricFilter... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSLogsMetricFilterWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSLogsMetricFilter",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // GetAWSLogsMetricFilterWithName retrieves all AWSLogsMetricFilter items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSLogsMetricFilterWithName",
"retrieves",
"all",
"AWSLogsMetricFilter",
"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#L6992-L7000 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSLogsSubscriptionFilterResources | func (t *Template) GetAllAWSLogsSubscriptionFilterResources() map[string]*resources.AWSLogsSubscriptionFilter {
results := map[string]*resources.AWSLogsSubscriptionFilter{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLogsSubscriptionFilter:
results[name] = re... | go | func (t *Template) GetAllAWSLogsSubscriptionFilterResources() map[string]*resources.AWSLogsSubscriptionFilter {
results := map[string]*resources.AWSLogsSubscriptionFilter{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSLogsSubscriptionFilter:
results[name] = re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSLogsSubscriptionFilterResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLogsSubscriptionFilter",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSLogsSubscript... | // GetAllAWSLogsSubscriptionFilterResources retrieves all AWSLogsSubscriptionFilter items from an AWS CloudFormation template | [
"GetAllAWSLogsSubscriptionFilterResources",
"retrieves",
"all",
"AWSLogsSubscriptionFilter",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7003-L7012 | train |
awslabs/goformation | cloudformation/all.go | GetAWSLogsSubscriptionFilterWithName | func (t *Template) GetAWSLogsSubscriptionFilterWithName(name string) (*resources.AWSLogsSubscriptionFilter, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLogsSubscriptionFilter:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type A... | go | func (t *Template) GetAWSLogsSubscriptionFilterWithName(name string) (*resources.AWSLogsSubscriptionFilter, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSLogsSubscriptionFilter:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type A... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSLogsSubscriptionFilterWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSLogsSubscriptionFilter",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",... | // GetAWSLogsSubscriptionFilterWithName retrieves all AWSLogsSubscriptionFilter items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSLogsSubscriptionFilterWithName",
"retrieves",
"all",
"AWSLogsSubscriptionFilter",
"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#L7016-L7024 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSNeptuneDBClusterResources | func (t *Template) GetAllAWSNeptuneDBClusterResources() map[string]*resources.AWSNeptuneDBCluster {
results := map[string]*resources.AWSNeptuneDBCluster{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBCluster:
results[name] = resource
}
}
return re... | go | func (t *Template) GetAllAWSNeptuneDBClusterResources() map[string]*resources.AWSNeptuneDBCluster {
results := map[string]*resources.AWSNeptuneDBCluster{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBCluster:
results[name] = resource
}
}
return re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSNeptuneDBClusterResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSNeptuneDBCluster",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSNeptuneDBCluster",
"{",... | // GetAllAWSNeptuneDBClusterResources retrieves all AWSNeptuneDBCluster items from an AWS CloudFormation template | [
"GetAllAWSNeptuneDBClusterResources",
"retrieves",
"all",
"AWSNeptuneDBCluster",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7027-L7036 | train |
awslabs/goformation | cloudformation/all.go | GetAWSNeptuneDBClusterWithName | func (t *Template) GetAWSNeptuneDBClusterWithName(name string) (*resources.AWSNeptuneDBCluster, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBCluster:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSNeptuneDBCluster... | go | func (t *Template) GetAWSNeptuneDBClusterWithName(name string) (*resources.AWSNeptuneDBCluster, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBCluster:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSNeptuneDBCluster... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSNeptuneDBClusterWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSNeptuneDBCluster",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // GetAWSNeptuneDBClusterWithName retrieves all AWSNeptuneDBCluster items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSNeptuneDBClusterWithName",
"retrieves",
"all",
"AWSNeptuneDBCluster",
"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#L7040-L7048 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSNeptuneDBClusterParameterGroupResources | func (t *Template) GetAllAWSNeptuneDBClusterParameterGroupResources() map[string]*resources.AWSNeptuneDBClusterParameterGroup {
results := map[string]*resources.AWSNeptuneDBClusterParameterGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBClusterParam... | go | func (t *Template) GetAllAWSNeptuneDBClusterParameterGroupResources() map[string]*resources.AWSNeptuneDBClusterParameterGroup {
results := map[string]*resources.AWSNeptuneDBClusterParameterGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBClusterParam... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSNeptuneDBClusterParameterGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSNeptuneDBClusterParameterGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"... | // GetAllAWSNeptuneDBClusterParameterGroupResources retrieves all AWSNeptuneDBClusterParameterGroup items from an AWS CloudFormation template | [
"GetAllAWSNeptuneDBClusterParameterGroupResources",
"retrieves",
"all",
"AWSNeptuneDBClusterParameterGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7051-L7060 | train |
awslabs/goformation | cloudformation/all.go | GetAWSNeptuneDBClusterParameterGroupWithName | func (t *Template) GetAWSNeptuneDBClusterParameterGroupWithName(name string) (*resources.AWSNeptuneDBClusterParameterGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBClusterParameterGroup:
return resource, nil
}
}
return nil, fmt.Error... | go | func (t *Template) GetAWSNeptuneDBClusterParameterGroupWithName(name string) (*resources.AWSNeptuneDBClusterParameterGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBClusterParameterGroup:
return resource, nil
}
}
return nil, fmt.Error... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSNeptuneDBClusterParameterGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSNeptuneDBClusterParameterGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
... | // GetAWSNeptuneDBClusterParameterGroupWithName retrieves all AWSNeptuneDBClusterParameterGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSNeptuneDBClusterParameterGroupWithName",
"retrieves",
"all",
"AWSNeptuneDBClusterParameterGroup",
"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#L7064-L7072 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSNeptuneDBInstanceResources | func (t *Template) GetAllAWSNeptuneDBInstanceResources() map[string]*resources.AWSNeptuneDBInstance {
results := map[string]*resources.AWSNeptuneDBInstance{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBInstance:
results[name] = resource
}
}
retur... | go | func (t *Template) GetAllAWSNeptuneDBInstanceResources() map[string]*resources.AWSNeptuneDBInstance {
results := map[string]*resources.AWSNeptuneDBInstance{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBInstance:
results[name] = resource
}
}
retur... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSNeptuneDBInstanceResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSNeptuneDBInstance",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSNeptuneDBInstance",
"... | // GetAllAWSNeptuneDBInstanceResources retrieves all AWSNeptuneDBInstance items from an AWS CloudFormation template | [
"GetAllAWSNeptuneDBInstanceResources",
"retrieves",
"all",
"AWSNeptuneDBInstance",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7075-L7084 | train |
awslabs/goformation | cloudformation/all.go | GetAWSNeptuneDBInstanceWithName | func (t *Template) GetAWSNeptuneDBInstanceWithName(name string) (*resources.AWSNeptuneDBInstance, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBInstance:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSNeptuneDBInst... | go | func (t *Template) GetAWSNeptuneDBInstanceWithName(name string) (*resources.AWSNeptuneDBInstance, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBInstance:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSNeptuneDBInst... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSNeptuneDBInstanceWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSNeptuneDBInstance",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSNeptuneDBInstanceWithName retrieves all AWSNeptuneDBInstance items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSNeptuneDBInstanceWithName",
"retrieves",
"all",
"AWSNeptuneDBInstance",
"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#L7088-L7096 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSNeptuneDBParameterGroupResources | func (t *Template) GetAllAWSNeptuneDBParameterGroupResources() map[string]*resources.AWSNeptuneDBParameterGroup {
results := map[string]*resources.AWSNeptuneDBParameterGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBParameterGroup:
results[name] ... | go | func (t *Template) GetAllAWSNeptuneDBParameterGroupResources() map[string]*resources.AWSNeptuneDBParameterGroup {
results := map[string]*resources.AWSNeptuneDBParameterGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBParameterGroup:
results[name] ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSNeptuneDBParameterGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSNeptuneDBParameterGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSNeptuneDBPa... | // GetAllAWSNeptuneDBParameterGroupResources retrieves all AWSNeptuneDBParameterGroup items from an AWS CloudFormation template | [
"GetAllAWSNeptuneDBParameterGroupResources",
"retrieves",
"all",
"AWSNeptuneDBParameterGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7099-L7108 | train |
awslabs/goformation | cloudformation/all.go | GetAWSNeptuneDBParameterGroupWithName | func (t *Template) GetAWSNeptuneDBParameterGroupWithName(name string) (*resources.AWSNeptuneDBParameterGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBParameterGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of typ... | go | func (t *Template) GetAWSNeptuneDBParameterGroupWithName(name string) (*resources.AWSNeptuneDBParameterGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBParameterGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of typ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSNeptuneDBParameterGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSNeptuneDBParameterGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name... | // GetAWSNeptuneDBParameterGroupWithName retrieves all AWSNeptuneDBParameterGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSNeptuneDBParameterGroupWithName",
"retrieves",
"all",
"AWSNeptuneDBParameterGroup",
"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#L7112-L7120 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSNeptuneDBSubnetGroupResources | func (t *Template) GetAllAWSNeptuneDBSubnetGroupResources() map[string]*resources.AWSNeptuneDBSubnetGroup {
results := map[string]*resources.AWSNeptuneDBSubnetGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBSubnetGroup:
results[name] = resource
... | go | func (t *Template) GetAllAWSNeptuneDBSubnetGroupResources() map[string]*resources.AWSNeptuneDBSubnetGroup {
results := map[string]*resources.AWSNeptuneDBSubnetGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBSubnetGroup:
results[name] = resource
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSNeptuneDBSubnetGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSNeptuneDBSubnetGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSNeptuneDBSubnetGr... | // GetAllAWSNeptuneDBSubnetGroupResources retrieves all AWSNeptuneDBSubnetGroup items from an AWS CloudFormation template | [
"GetAllAWSNeptuneDBSubnetGroupResources",
"retrieves",
"all",
"AWSNeptuneDBSubnetGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7123-L7132 | train |
awslabs/goformation | cloudformation/all.go | GetAWSNeptuneDBSubnetGroupWithName | func (t *Template) GetAWSNeptuneDBSubnetGroupWithName(name string) (*resources.AWSNeptuneDBSubnetGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBSubnetGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSNept... | go | func (t *Template) GetAWSNeptuneDBSubnetGroupWithName(name string) (*resources.AWSNeptuneDBSubnetGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSNeptuneDBSubnetGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSNept... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSNeptuneDBSubnetGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSNeptuneDBSubnetGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"... | // GetAWSNeptuneDBSubnetGroupWithName retrieves all AWSNeptuneDBSubnetGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSNeptuneDBSubnetGroupWithName",
"retrieves",
"all",
"AWSNeptuneDBSubnetGroup",
"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#L7136-L7144 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSOpsWorksAppResources | func (t *Template) GetAllAWSOpsWorksAppResources() map[string]*resources.AWSOpsWorksApp {
results := map[string]*resources.AWSOpsWorksApp{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksApp:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSOpsWorksAppResources() map[string]*resources.AWSOpsWorksApp {
results := map[string]*resources.AWSOpsWorksApp{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksApp:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSOpsWorksAppResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksApp",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksApp",
"{",
"}",
"\n",... | // GetAllAWSOpsWorksAppResources retrieves all AWSOpsWorksApp items from an AWS CloudFormation template | [
"GetAllAWSOpsWorksAppResources",
"retrieves",
"all",
"AWSOpsWorksApp",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7147-L7156 | train |
awslabs/goformation | cloudformation/all.go | GetAWSOpsWorksAppWithName | func (t *Template) GetAWSOpsWorksAppWithName(name string) (*resources.AWSOpsWorksApp, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksApp:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSOpsWorksApp not found", name)
} | go | func (t *Template) GetAWSOpsWorksAppWithName(name string) (*resources.AWSOpsWorksApp, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksApp:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSOpsWorksApp not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSOpsWorksAppWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSOpsWorksApp",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"ok",... | // GetAWSOpsWorksAppWithName retrieves all AWSOpsWorksApp items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSOpsWorksAppWithName",
"retrieves",
"all",
"AWSOpsWorksApp",
"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#L7160-L7168 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSOpsWorksElasticLoadBalancerAttachmentResources | func (t *Template) GetAllAWSOpsWorksElasticLoadBalancerAttachmentResources() map[string]*resources.AWSOpsWorksElasticLoadBalancerAttachment {
results := map[string]*resources.AWSOpsWorksElasticLoadBalancerAttachment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWS... | go | func (t *Template) GetAllAWSOpsWorksElasticLoadBalancerAttachmentResources() map[string]*resources.AWSOpsWorksElasticLoadBalancerAttachment {
results := map[string]*resources.AWSOpsWorksElasticLoadBalancerAttachment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWS... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSOpsWorksElasticLoadBalancerAttachmentResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksElasticLoadBalancerAttachment",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resource... | // GetAllAWSOpsWorksElasticLoadBalancerAttachmentResources retrieves all AWSOpsWorksElasticLoadBalancerAttachment items from an AWS CloudFormation template | [
"GetAllAWSOpsWorksElasticLoadBalancerAttachmentResources",
"retrieves",
"all",
"AWSOpsWorksElasticLoadBalancerAttachment",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7171-L7180 | train |
awslabs/goformation | cloudformation/all.go | GetAWSOpsWorksElasticLoadBalancerAttachmentWithName | func (t *Template) GetAWSOpsWorksElasticLoadBalancerAttachmentWithName(name string) (*resources.AWSOpsWorksElasticLoadBalancerAttachment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksElasticLoadBalancerAttachment:
return resource, nil
}
}
... | go | func (t *Template) GetAWSOpsWorksElasticLoadBalancerAttachmentWithName(name string) (*resources.AWSOpsWorksElasticLoadBalancerAttachment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksElasticLoadBalancerAttachment:
return resource, nil
}
}
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSOpsWorksElasticLoadBalancerAttachmentWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSOpsWorksElasticLoadBalancerAttachment",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
... | // GetAWSOpsWorksElasticLoadBalancerAttachmentWithName retrieves all AWSOpsWorksElasticLoadBalancerAttachment items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSOpsWorksElasticLoadBalancerAttachmentWithName",
"retrieves",
"all",
"AWSOpsWorksElasticLoadBalancerAttachment",
"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#L7184-L7192 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSOpsWorksInstanceResources | func (t *Template) GetAllAWSOpsWorksInstanceResources() map[string]*resources.AWSOpsWorksInstance {
results := map[string]*resources.AWSOpsWorksInstance{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksInstance:
results[name] = resource
}
}
return re... | go | func (t *Template) GetAllAWSOpsWorksInstanceResources() map[string]*resources.AWSOpsWorksInstance {
results := map[string]*resources.AWSOpsWorksInstance{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksInstance:
results[name] = resource
}
}
return re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSOpsWorksInstanceResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksInstance",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksInstance",
"{",... | // GetAllAWSOpsWorksInstanceResources retrieves all AWSOpsWorksInstance items from an AWS CloudFormation template | [
"GetAllAWSOpsWorksInstanceResources",
"retrieves",
"all",
"AWSOpsWorksInstance",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7195-L7204 | train |
awslabs/goformation | cloudformation/all.go | GetAWSOpsWorksInstanceWithName | func (t *Template) GetAWSOpsWorksInstanceWithName(name string) (*resources.AWSOpsWorksInstance, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksInstance:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSOpsWorksInstance... | go | func (t *Template) GetAWSOpsWorksInstanceWithName(name string) (*resources.AWSOpsWorksInstance, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksInstance:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSOpsWorksInstance... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSOpsWorksInstanceWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSOpsWorksInstance",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // GetAWSOpsWorksInstanceWithName retrieves all AWSOpsWorksInstance items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSOpsWorksInstanceWithName",
"retrieves",
"all",
"AWSOpsWorksInstance",
"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#L7208-L7216 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSOpsWorksLayerResources | func (t *Template) GetAllAWSOpsWorksLayerResources() map[string]*resources.AWSOpsWorksLayer {
results := map[string]*resources.AWSOpsWorksLayer{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksLayer:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSOpsWorksLayerResources() map[string]*resources.AWSOpsWorksLayer {
results := map[string]*resources.AWSOpsWorksLayer{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksLayer:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSOpsWorksLayerResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksLayer",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksLayer",
"{",
"}",
... | // GetAllAWSOpsWorksLayerResources retrieves all AWSOpsWorksLayer items from an AWS CloudFormation template | [
"GetAllAWSOpsWorksLayerResources",
"retrieves",
"all",
"AWSOpsWorksLayer",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7219-L7228 | train |
awslabs/goformation | cloudformation/all.go | GetAWSOpsWorksLayerWithName | func (t *Template) GetAWSOpsWorksLayerWithName(name string) (*resources.AWSOpsWorksLayer, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksLayer:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSOpsWorksLayer not found",... | go | func (t *Template) GetAWSOpsWorksLayerWithName(name string) (*resources.AWSOpsWorksLayer, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksLayer:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSOpsWorksLayer not found",... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSOpsWorksLayerWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSOpsWorksLayer",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"... | // GetAWSOpsWorksLayerWithName retrieves all AWSOpsWorksLayer items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSOpsWorksLayerWithName",
"retrieves",
"all",
"AWSOpsWorksLayer",
"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#L7232-L7240 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSOpsWorksStackResources | func (t *Template) GetAllAWSOpsWorksStackResources() map[string]*resources.AWSOpsWorksStack {
results := map[string]*resources.AWSOpsWorksStack{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksStack:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSOpsWorksStackResources() map[string]*resources.AWSOpsWorksStack {
results := map[string]*resources.AWSOpsWorksStack{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksStack:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSOpsWorksStackResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksStack",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksStack",
"{",
"}",
... | // GetAllAWSOpsWorksStackResources retrieves all AWSOpsWorksStack items from an AWS CloudFormation template | [
"GetAllAWSOpsWorksStackResources",
"retrieves",
"all",
"AWSOpsWorksStack",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7243-L7252 | train |
awslabs/goformation | cloudformation/all.go | GetAWSOpsWorksStackWithName | func (t *Template) GetAWSOpsWorksStackWithName(name string) (*resources.AWSOpsWorksStack, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksStack:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSOpsWorksStack not found",... | go | func (t *Template) GetAWSOpsWorksStackWithName(name string) (*resources.AWSOpsWorksStack, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksStack:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSOpsWorksStack not found",... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSOpsWorksStackWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSOpsWorksStack",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"... | // GetAWSOpsWorksStackWithName retrieves all AWSOpsWorksStack items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSOpsWorksStackWithName",
"retrieves",
"all",
"AWSOpsWorksStack",
"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#L7256-L7264 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSOpsWorksUserProfileResources | func (t *Template) GetAllAWSOpsWorksUserProfileResources() map[string]*resources.AWSOpsWorksUserProfile {
results := map[string]*resources.AWSOpsWorksUserProfile{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksUserProfile:
results[name] = resource
}
... | go | func (t *Template) GetAllAWSOpsWorksUserProfileResources() map[string]*resources.AWSOpsWorksUserProfile {
results := map[string]*resources.AWSOpsWorksUserProfile{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksUserProfile:
results[name] = resource
}
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSOpsWorksUserProfileResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksUserProfile",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksUserProfile... | // GetAllAWSOpsWorksUserProfileResources retrieves all AWSOpsWorksUserProfile items from an AWS CloudFormation template | [
"GetAllAWSOpsWorksUserProfileResources",
"retrieves",
"all",
"AWSOpsWorksUserProfile",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7267-L7276 | train |
awslabs/goformation | cloudformation/all.go | GetAWSOpsWorksUserProfileWithName | func (t *Template) GetAWSOpsWorksUserProfileWithName(name string) (*resources.AWSOpsWorksUserProfile, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksUserProfile:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSOpsWork... | go | func (t *Template) GetAWSOpsWorksUserProfileWithName(name string) (*resources.AWSOpsWorksUserProfile, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksUserProfile:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSOpsWork... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSOpsWorksUserProfileWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSOpsWorksUserProfile",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]"... | // GetAWSOpsWorksUserProfileWithName retrieves all AWSOpsWorksUserProfile items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSOpsWorksUserProfileWithName",
"retrieves",
"all",
"AWSOpsWorksUserProfile",
"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#L7280-L7288 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSOpsWorksVolumeResources | func (t *Template) GetAllAWSOpsWorksVolumeResources() map[string]*resources.AWSOpsWorksVolume {
results := map[string]*resources.AWSOpsWorksVolume{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksVolume:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSOpsWorksVolumeResources() map[string]*resources.AWSOpsWorksVolume {
results := map[string]*resources.AWSOpsWorksVolume{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksVolume:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSOpsWorksVolumeResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksVolume",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksVolume",
"{",
"}"... | // GetAllAWSOpsWorksVolumeResources retrieves all AWSOpsWorksVolume items from an AWS CloudFormation template | [
"GetAllAWSOpsWorksVolumeResources",
"retrieves",
"all",
"AWSOpsWorksVolume",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7291-L7300 | train |
awslabs/goformation | cloudformation/all.go | GetAWSOpsWorksVolumeWithName | func (t *Template) GetAWSOpsWorksVolumeWithName(name string) (*resources.AWSOpsWorksVolume, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksVolume:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSOpsWorksVolume not fou... | go | func (t *Template) GetAWSOpsWorksVolumeWithName(name string) (*resources.AWSOpsWorksVolume, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksVolume:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSOpsWorksVolume not fou... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSOpsWorksVolumeWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSOpsWorksVolume",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
... | // GetAWSOpsWorksVolumeWithName retrieves all AWSOpsWorksVolume items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSOpsWorksVolumeWithName",
"retrieves",
"all",
"AWSOpsWorksVolume",
"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#L7304-L7312 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSOpsWorksCMServerResources | func (t *Template) GetAllAWSOpsWorksCMServerResources() map[string]*resources.AWSOpsWorksCMServer {
results := map[string]*resources.AWSOpsWorksCMServer{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksCMServer:
results[name] = resource
}
}
return re... | go | func (t *Template) GetAllAWSOpsWorksCMServerResources() map[string]*resources.AWSOpsWorksCMServer {
results := map[string]*resources.AWSOpsWorksCMServer{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSOpsWorksCMServer:
results[name] = resource
}
}
return re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSOpsWorksCMServerResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksCMServer",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSOpsWorksCMServer",
"{",... | // GetAllAWSOpsWorksCMServerResources retrieves all AWSOpsWorksCMServer items from an AWS CloudFormation template | [
"GetAllAWSOpsWorksCMServerResources",
"retrieves",
"all",
"AWSOpsWorksCMServer",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L7315-L7324 | train |
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... | 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... | [
"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 re... | 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 re... | [
"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... | 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... | [
"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", nam... | 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", nam... | [
"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:
re... | 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:
re... | [
"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 ... | 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 ... | [
"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",... | 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",... | [
"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
}
... | 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
}
... | [
"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 AWSRDSDBPa... | 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 AWSRDSDBPa... | [
"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
}
}
r... | 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
}
}
r... | [
"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 AWSRDSDBSecur... | 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 AWSRDSDBSecur... | [
"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:
result... | 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:
result... | [
"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 ... | 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 ... | [
"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 re... | 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 re... | [
"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... | 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... | [
"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
... | 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
... | [
"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 AWSRDSE... | 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 AWSRDSE... | [
"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 fou... | 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 fou... | [
"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 result... | 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 result... | [
"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 |
Subsets and Splits
SQL Console for semeru/code-text-go
Retrieves a limited set of code samples with their languages, with a specific case adjustment for 'Go' language.