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 | GetAWSApplicationAutoScalingScalableTargetWithName | func (t *Template) GetAWSApplicationAutoScalingScalableTargetWithName(name string) (*resources.AWSApplicationAutoScalingScalableTarget, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApplicationAutoScalingScalableTarget:
return resource, nil
}
}
ret... | go | func (t *Template) GetAWSApplicationAutoScalingScalableTargetWithName(name string) (*resources.AWSApplicationAutoScalingScalableTarget, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApplicationAutoScalingScalableTarget:
return resource, nil
}
}
ret... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApplicationAutoScalingScalableTargetWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApplicationAutoScalingScalableTarget",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"... | // GetAWSApplicationAutoScalingScalableTargetWithName retrieves all AWSApplicationAutoScalingScalableTarget items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApplicationAutoScalingScalableTargetWithName",
"retrieves",
"all",
"AWSApplicationAutoScalingScalableTarget",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"i... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1592-L1600 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSApplicationAutoScalingScalingPolicyResources | func (t *Template) GetAllAWSApplicationAutoScalingScalingPolicyResources() map[string]*resources.AWSApplicationAutoScalingScalingPolicy {
results := map[string]*resources.AWSApplicationAutoScalingScalingPolicy{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApplic... | go | func (t *Template) GetAllAWSApplicationAutoScalingScalingPolicyResources() map[string]*resources.AWSApplicationAutoScalingScalingPolicy {
results := map[string]*resources.AWSApplicationAutoScalingScalingPolicy{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSApplic... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSApplicationAutoScalingScalingPolicyResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSApplicationAutoScalingScalingPolicy",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
... | // GetAllAWSApplicationAutoScalingScalingPolicyResources retrieves all AWSApplicationAutoScalingScalingPolicy items from an AWS CloudFormation template | [
"GetAllAWSApplicationAutoScalingScalingPolicyResources",
"retrieves",
"all",
"AWSApplicationAutoScalingScalingPolicy",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1603-L1612 | train |
awslabs/goformation | cloudformation/all.go | GetAWSApplicationAutoScalingScalingPolicyWithName | func (t *Template) GetAWSApplicationAutoScalingScalingPolicyWithName(name string) (*resources.AWSApplicationAutoScalingScalingPolicy, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApplicationAutoScalingScalingPolicy:
return resource, nil
}
}
return... | go | func (t *Template) GetAWSApplicationAutoScalingScalingPolicyWithName(name string) (*resources.AWSApplicationAutoScalingScalingPolicy, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSApplicationAutoScalingScalingPolicy:
return resource, nil
}
}
return... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSApplicationAutoScalingScalingPolicyWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSApplicationAutoScalingScalingPolicy",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Re... | // GetAWSApplicationAutoScalingScalingPolicyWithName retrieves all AWSApplicationAutoScalingScalingPolicy items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSApplicationAutoScalingScalingPolicyWithName",
"retrieves",
"all",
"AWSApplicationAutoScalingScalingPolicy",
"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#L1616-L1624 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAthenaNamedQueryResources | func (t *Template) GetAllAWSAthenaNamedQueryResources() map[string]*resources.AWSAthenaNamedQuery {
results := map[string]*resources.AWSAthenaNamedQuery{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAthenaNamedQuery:
results[name] = resource
}
}
return re... | go | func (t *Template) GetAllAWSAthenaNamedQueryResources() map[string]*resources.AWSAthenaNamedQuery {
results := map[string]*resources.AWSAthenaNamedQuery{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAthenaNamedQuery:
results[name] = resource
}
}
return re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAthenaNamedQueryResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAthenaNamedQuery",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAthenaNamedQuery",
"{",... | // GetAllAWSAthenaNamedQueryResources retrieves all AWSAthenaNamedQuery items from an AWS CloudFormation template | [
"GetAllAWSAthenaNamedQueryResources",
"retrieves",
"all",
"AWSAthenaNamedQuery",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1627-L1636 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAthenaNamedQueryWithName | func (t *Template) GetAWSAthenaNamedQueryWithName(name string) (*resources.AWSAthenaNamedQuery, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAthenaNamedQuery:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAthenaNamedQuery... | go | func (t *Template) GetAWSAthenaNamedQueryWithName(name string) (*resources.AWSAthenaNamedQuery, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAthenaNamedQuery:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSAthenaNamedQuery... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAthenaNamedQueryWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAthenaNamedQuery",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // GetAWSAthenaNamedQueryWithName retrieves all AWSAthenaNamedQuery items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAthenaNamedQueryWithName",
"retrieves",
"all",
"AWSAthenaNamedQuery",
"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#L1640-L1648 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAutoScalingAutoScalingGroupResources | func (t *Template) GetAllAWSAutoScalingAutoScalingGroupResources() map[string]*resources.AWSAutoScalingAutoScalingGroup {
results := map[string]*resources.AWSAutoScalingAutoScalingGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingAutoScalingGroup:
... | go | func (t *Template) GetAllAWSAutoScalingAutoScalingGroupResources() map[string]*resources.AWSAutoScalingAutoScalingGroup {
results := map[string]*resources.AWSAutoScalingAutoScalingGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingAutoScalingGroup:
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAutoScalingAutoScalingGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAutoScalingAutoScalingGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAut... | // GetAllAWSAutoScalingAutoScalingGroupResources retrieves all AWSAutoScalingAutoScalingGroup items from an AWS CloudFormation template | [
"GetAllAWSAutoScalingAutoScalingGroupResources",
"retrieves",
"all",
"AWSAutoScalingAutoScalingGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1651-L1660 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAutoScalingAutoScalingGroupWithName | func (t *Template) GetAWSAutoScalingAutoScalingGroupWithName(name string) (*resources.AWSAutoScalingAutoScalingGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingAutoScalingGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | go | func (t *Template) GetAWSAutoScalingAutoScalingGroupWithName(name string) (*resources.AWSAutoScalingAutoScalingGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingAutoScalingGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAutoScalingAutoScalingGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAutoScalingAutoScalingGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",... | // GetAWSAutoScalingAutoScalingGroupWithName retrieves all AWSAutoScalingAutoScalingGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAutoScalingAutoScalingGroupWithName",
"retrieves",
"all",
"AWSAutoScalingAutoScalingGroup",
"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#L1664-L1672 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAutoScalingLaunchConfigurationResources | func (t *Template) GetAllAWSAutoScalingLaunchConfigurationResources() map[string]*resources.AWSAutoScalingLaunchConfiguration {
results := map[string]*resources.AWSAutoScalingLaunchConfiguration{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingLaunchConf... | go | func (t *Template) GetAllAWSAutoScalingLaunchConfigurationResources() map[string]*resources.AWSAutoScalingLaunchConfiguration {
results := map[string]*resources.AWSAutoScalingLaunchConfiguration{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingLaunchConf... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAutoScalingLaunchConfigurationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAutoScalingLaunchConfiguration",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"... | // GetAllAWSAutoScalingLaunchConfigurationResources retrieves all AWSAutoScalingLaunchConfiguration items from an AWS CloudFormation template | [
"GetAllAWSAutoScalingLaunchConfigurationResources",
"retrieves",
"all",
"AWSAutoScalingLaunchConfiguration",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1675-L1684 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAutoScalingLaunchConfigurationWithName | func (t *Template) GetAWSAutoScalingLaunchConfigurationWithName(name string) (*resources.AWSAutoScalingLaunchConfiguration, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingLaunchConfiguration:
return resource, nil
}
}
return nil, fmt.Error... | go | func (t *Template) GetAWSAutoScalingLaunchConfigurationWithName(name string) (*resources.AWSAutoScalingLaunchConfiguration, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingLaunchConfiguration:
return resource, nil
}
}
return nil, fmt.Error... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAutoScalingLaunchConfigurationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAutoScalingLaunchConfiguration",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
... | // GetAWSAutoScalingLaunchConfigurationWithName retrieves all AWSAutoScalingLaunchConfiguration items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAutoScalingLaunchConfigurationWithName",
"retrieves",
"all",
"AWSAutoScalingLaunchConfiguration",
"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#L1688-L1696 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAutoScalingLifecycleHookResources | func (t *Template) GetAllAWSAutoScalingLifecycleHookResources() map[string]*resources.AWSAutoScalingLifecycleHook {
results := map[string]*resources.AWSAutoScalingLifecycleHook{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingLifecycleHook:
results[na... | go | func (t *Template) GetAllAWSAutoScalingLifecycleHookResources() map[string]*resources.AWSAutoScalingLifecycleHook {
results := map[string]*resources.AWSAutoScalingLifecycleHook{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingLifecycleHook:
results[na... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAutoScalingLifecycleHookResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAutoScalingLifecycleHook",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAutoScali... | // GetAllAWSAutoScalingLifecycleHookResources retrieves all AWSAutoScalingLifecycleHook items from an AWS CloudFormation template | [
"GetAllAWSAutoScalingLifecycleHookResources",
"retrieves",
"all",
"AWSAutoScalingLifecycleHook",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1699-L1708 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAutoScalingLifecycleHookWithName | func (t *Template) GetAWSAutoScalingLifecycleHookWithName(name string) (*resources.AWSAutoScalingLifecycleHook, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingLifecycleHook:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of ... | go | func (t *Template) GetAWSAutoScalingLifecycleHookWithName(name string) (*resources.AWSAutoScalingLifecycleHook, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingLifecycleHook:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAutoScalingLifecycleHookWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAutoScalingLifecycleHook",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"na... | // GetAWSAutoScalingLifecycleHookWithName retrieves all AWSAutoScalingLifecycleHook items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAutoScalingLifecycleHookWithName",
"retrieves",
"all",
"AWSAutoScalingLifecycleHook",
"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#L1712-L1720 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAutoScalingScalingPolicyResources | func (t *Template) GetAllAWSAutoScalingScalingPolicyResources() map[string]*resources.AWSAutoScalingScalingPolicy {
results := map[string]*resources.AWSAutoScalingScalingPolicy{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingScalingPolicy:
results[na... | go | func (t *Template) GetAllAWSAutoScalingScalingPolicyResources() map[string]*resources.AWSAutoScalingScalingPolicy {
results := map[string]*resources.AWSAutoScalingScalingPolicy{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingScalingPolicy:
results[na... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAutoScalingScalingPolicyResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAutoScalingScalingPolicy",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAutoScali... | // GetAllAWSAutoScalingScalingPolicyResources retrieves all AWSAutoScalingScalingPolicy items from an AWS CloudFormation template | [
"GetAllAWSAutoScalingScalingPolicyResources",
"retrieves",
"all",
"AWSAutoScalingScalingPolicy",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1723-L1732 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAutoScalingScalingPolicyWithName | func (t *Template) GetAWSAutoScalingScalingPolicyWithName(name string) (*resources.AWSAutoScalingScalingPolicy, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingScalingPolicy:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of ... | go | func (t *Template) GetAWSAutoScalingScalingPolicyWithName(name string) (*resources.AWSAutoScalingScalingPolicy, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingScalingPolicy:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAutoScalingScalingPolicyWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAutoScalingScalingPolicy",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"na... | // GetAWSAutoScalingScalingPolicyWithName retrieves all AWSAutoScalingScalingPolicy items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAutoScalingScalingPolicyWithName",
"retrieves",
"all",
"AWSAutoScalingScalingPolicy",
"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#L1736-L1744 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAutoScalingScheduledActionResources | func (t *Template) GetAllAWSAutoScalingScheduledActionResources() map[string]*resources.AWSAutoScalingScheduledAction {
results := map[string]*resources.AWSAutoScalingScheduledAction{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingScheduledAction:
re... | go | func (t *Template) GetAllAWSAutoScalingScheduledActionResources() map[string]*resources.AWSAutoScalingScheduledAction {
results := map[string]*resources.AWSAutoScalingScheduledAction{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingScheduledAction:
re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAutoScalingScheduledActionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAutoScalingScheduledAction",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAutoS... | // GetAllAWSAutoScalingScheduledActionResources retrieves all AWSAutoScalingScheduledAction items from an AWS CloudFormation template | [
"GetAllAWSAutoScalingScheduledActionResources",
"retrieves",
"all",
"AWSAutoScalingScheduledAction",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1747-L1756 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAutoScalingScheduledActionWithName | func (t *Template) GetAWSAutoScalingScheduledActionWithName(name string) (*resources.AWSAutoScalingScheduledAction, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingScheduledAction:
return resource, nil
}
}
return nil, fmt.Errorf("resource ... | go | func (t *Template) GetAWSAutoScalingScheduledActionWithName(name string) (*resources.AWSAutoScalingScheduledAction, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingScheduledAction:
return resource, nil
}
}
return nil, fmt.Errorf("resource ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAutoScalingScheduledActionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAutoScalingScheduledAction",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
... | // GetAWSAutoScalingScheduledActionWithName retrieves all AWSAutoScalingScheduledAction items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAutoScalingScheduledActionWithName",
"retrieves",
"all",
"AWSAutoScalingScheduledAction",
"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#L1760-L1768 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSAutoScalingPlansScalingPlanResources | func (t *Template) GetAllAWSAutoScalingPlansScalingPlanResources() map[string]*resources.AWSAutoScalingPlansScalingPlan {
results := map[string]*resources.AWSAutoScalingPlansScalingPlan{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingPlansScalingPlan:
... | go | func (t *Template) GetAllAWSAutoScalingPlansScalingPlanResources() map[string]*resources.AWSAutoScalingPlansScalingPlan {
results := map[string]*resources.AWSAutoScalingPlansScalingPlan{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingPlansScalingPlan:
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSAutoScalingPlansScalingPlanResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAutoScalingPlansScalingPlan",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSAut... | // GetAllAWSAutoScalingPlansScalingPlanResources retrieves all AWSAutoScalingPlansScalingPlan items from an AWS CloudFormation template | [
"GetAllAWSAutoScalingPlansScalingPlanResources",
"retrieves",
"all",
"AWSAutoScalingPlansScalingPlan",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1771-L1780 | train |
awslabs/goformation | cloudformation/all.go | GetAWSAutoScalingPlansScalingPlanWithName | func (t *Template) GetAWSAutoScalingPlansScalingPlanWithName(name string) (*resources.AWSAutoScalingPlansScalingPlan, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingPlansScalingPlan:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | go | func (t *Template) GetAWSAutoScalingPlansScalingPlanWithName(name string) (*resources.AWSAutoScalingPlansScalingPlan, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSAutoScalingPlansScalingPlan:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSAutoScalingPlansScalingPlanWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSAutoScalingPlansScalingPlan",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",... | // GetAWSAutoScalingPlansScalingPlanWithName retrieves all AWSAutoScalingPlansScalingPlan items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSAutoScalingPlansScalingPlanWithName",
"retrieves",
"all",
"AWSAutoScalingPlansScalingPlan",
"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#L1784-L1792 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSBatchComputeEnvironmentResources | func (t *Template) GetAllAWSBatchComputeEnvironmentResources() map[string]*resources.AWSBatchComputeEnvironment {
results := map[string]*resources.AWSBatchComputeEnvironment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSBatchComputeEnvironment:
results[name] ... | go | func (t *Template) GetAllAWSBatchComputeEnvironmentResources() map[string]*resources.AWSBatchComputeEnvironment {
results := map[string]*resources.AWSBatchComputeEnvironment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSBatchComputeEnvironment:
results[name] ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSBatchComputeEnvironmentResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSBatchComputeEnvironment",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSBatchComput... | // GetAllAWSBatchComputeEnvironmentResources retrieves all AWSBatchComputeEnvironment items from an AWS CloudFormation template | [
"GetAllAWSBatchComputeEnvironmentResources",
"retrieves",
"all",
"AWSBatchComputeEnvironment",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1795-L1804 | train |
awslabs/goformation | cloudformation/all.go | GetAWSBatchComputeEnvironmentWithName | func (t *Template) GetAWSBatchComputeEnvironmentWithName(name string) (*resources.AWSBatchComputeEnvironment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSBatchComputeEnvironment:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of typ... | go | func (t *Template) GetAWSBatchComputeEnvironmentWithName(name string) (*resources.AWSBatchComputeEnvironment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSBatchComputeEnvironment:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of typ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSBatchComputeEnvironmentWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSBatchComputeEnvironment",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name... | // GetAWSBatchComputeEnvironmentWithName retrieves all AWSBatchComputeEnvironment items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSBatchComputeEnvironmentWithName",
"retrieves",
"all",
"AWSBatchComputeEnvironment",
"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#L1808-L1816 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSBatchJobDefinitionResources | func (t *Template) GetAllAWSBatchJobDefinitionResources() map[string]*resources.AWSBatchJobDefinition {
results := map[string]*resources.AWSBatchJobDefinition{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSBatchJobDefinition:
results[name] = resource
}
}
r... | go | func (t *Template) GetAllAWSBatchJobDefinitionResources() map[string]*resources.AWSBatchJobDefinition {
results := map[string]*resources.AWSBatchJobDefinition{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSBatchJobDefinition:
results[name] = resource
}
}
r... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSBatchJobDefinitionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSBatchJobDefinition",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSBatchJobDefinition",
... | // GetAllAWSBatchJobDefinitionResources retrieves all AWSBatchJobDefinition items from an AWS CloudFormation template | [
"GetAllAWSBatchJobDefinitionResources",
"retrieves",
"all",
"AWSBatchJobDefinition",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1819-L1828 | train |
awslabs/goformation | cloudformation/all.go | GetAWSBatchJobDefinitionWithName | func (t *Template) GetAWSBatchJobDefinitionWithName(name string) (*resources.AWSBatchJobDefinition, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSBatchJobDefinition:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSBatchJobDe... | go | func (t *Template) GetAWSBatchJobDefinitionWithName(name string) (*resources.AWSBatchJobDefinition, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSBatchJobDefinition:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSBatchJobDe... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSBatchJobDefinitionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSBatchJobDefinition",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSBatchJobDefinitionWithName retrieves all AWSBatchJobDefinition items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSBatchJobDefinitionWithName",
"retrieves",
"all",
"AWSBatchJobDefinition",
"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#L1832-L1840 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSBatchJobQueueResources | func (t *Template) GetAllAWSBatchJobQueueResources() map[string]*resources.AWSBatchJobQueue {
results := map[string]*resources.AWSBatchJobQueue{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSBatchJobQueue:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSBatchJobQueueResources() map[string]*resources.AWSBatchJobQueue {
results := map[string]*resources.AWSBatchJobQueue{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSBatchJobQueue:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSBatchJobQueueResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSBatchJobQueue",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSBatchJobQueue",
"{",
"}",
... | // GetAllAWSBatchJobQueueResources retrieves all AWSBatchJobQueue items from an AWS CloudFormation template | [
"GetAllAWSBatchJobQueueResources",
"retrieves",
"all",
"AWSBatchJobQueue",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1843-L1852 | train |
awslabs/goformation | cloudformation/all.go | GetAWSBatchJobQueueWithName | func (t *Template) GetAWSBatchJobQueueWithName(name string) (*resources.AWSBatchJobQueue, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSBatchJobQueue:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSBatchJobQueue not found",... | go | func (t *Template) GetAWSBatchJobQueueWithName(name string) (*resources.AWSBatchJobQueue, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSBatchJobQueue:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSBatchJobQueue not found",... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSBatchJobQueueWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSBatchJobQueue",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"... | // GetAWSBatchJobQueueWithName retrieves all AWSBatchJobQueue items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSBatchJobQueueWithName",
"retrieves",
"all",
"AWSBatchJobQueue",
"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#L1856-L1864 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSBudgetsBudgetResources | func (t *Template) GetAllAWSBudgetsBudgetResources() map[string]*resources.AWSBudgetsBudget {
results := map[string]*resources.AWSBudgetsBudget{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSBudgetsBudget:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSBudgetsBudgetResources() map[string]*resources.AWSBudgetsBudget {
results := map[string]*resources.AWSBudgetsBudget{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSBudgetsBudget:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSBudgetsBudgetResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSBudgetsBudget",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSBudgetsBudget",
"{",
"}",
... | // GetAllAWSBudgetsBudgetResources retrieves all AWSBudgetsBudget items from an AWS CloudFormation template | [
"GetAllAWSBudgetsBudgetResources",
"retrieves",
"all",
"AWSBudgetsBudget",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1867-L1876 | train |
awslabs/goformation | cloudformation/all.go | GetAWSBudgetsBudgetWithName | func (t *Template) GetAWSBudgetsBudgetWithName(name string) (*resources.AWSBudgetsBudget, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSBudgetsBudget:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSBudgetsBudget not found",... | go | func (t *Template) GetAWSBudgetsBudgetWithName(name string) (*resources.AWSBudgetsBudget, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSBudgetsBudget:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSBudgetsBudget not found",... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSBudgetsBudgetWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSBudgetsBudget",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"... | // GetAWSBudgetsBudgetWithName retrieves all AWSBudgetsBudget items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSBudgetsBudgetWithName",
"retrieves",
"all",
"AWSBudgetsBudget",
"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#L1880-L1888 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCertificateManagerCertificateResources | func (t *Template) GetAllAWSCertificateManagerCertificateResources() map[string]*resources.AWSCertificateManagerCertificate {
results := map[string]*resources.AWSCertificateManagerCertificate{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCertificateManagerCertif... | go | func (t *Template) GetAllAWSCertificateManagerCertificateResources() map[string]*resources.AWSCertificateManagerCertificate {
results := map[string]*resources.AWSCertificateManagerCertificate{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCertificateManagerCertif... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCertificateManagerCertificateResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCertificateManagerCertificate",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AW... | // GetAllAWSCertificateManagerCertificateResources retrieves all AWSCertificateManagerCertificate items from an AWS CloudFormation template | [
"GetAllAWSCertificateManagerCertificateResources",
"retrieves",
"all",
"AWSCertificateManagerCertificate",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1891-L1900 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCertificateManagerCertificateWithName | func (t *Template) GetAWSCertificateManagerCertificateWithName(name string) (*resources.AWSCertificateManagerCertificate, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCertificateManagerCertificate:
return resource, nil
}
}
return nil, fmt.Errorf("... | go | func (t *Template) GetAWSCertificateManagerCertificateWithName(name string) (*resources.AWSCertificateManagerCertificate, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCertificateManagerCertificate:
return resource, nil
}
}
return nil, fmt.Errorf("... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCertificateManagerCertificateWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCertificateManagerCertificate",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
... | // GetAWSCertificateManagerCertificateWithName retrieves all AWSCertificateManagerCertificate items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCertificateManagerCertificateWithName",
"retrieves",
"all",
"AWSCertificateManagerCertificate",
"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#L1904-L1912 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCloud9EnvironmentEC2Resources | func (t *Template) GetAllAWSCloud9EnvironmentEC2Resources() map[string]*resources.AWSCloud9EnvironmentEC2 {
results := map[string]*resources.AWSCloud9EnvironmentEC2{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloud9EnvironmentEC2:
results[name] = resource
... | go | func (t *Template) GetAllAWSCloud9EnvironmentEC2Resources() map[string]*resources.AWSCloud9EnvironmentEC2 {
results := map[string]*resources.AWSCloud9EnvironmentEC2{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloud9EnvironmentEC2:
results[name] = resource
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCloud9EnvironmentEC2Resources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloud9EnvironmentEC2",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloud9Environment... | // GetAllAWSCloud9EnvironmentEC2Resources retrieves all AWSCloud9EnvironmentEC2 items from an AWS CloudFormation template | [
"GetAllAWSCloud9EnvironmentEC2Resources",
"retrieves",
"all",
"AWSCloud9EnvironmentEC2",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1915-L1924 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCloud9EnvironmentEC2WithName | func (t *Template) GetAWSCloud9EnvironmentEC2WithName(name string) (*resources.AWSCloud9EnvironmentEC2, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloud9EnvironmentEC2:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSClou... | go | func (t *Template) GetAWSCloud9EnvironmentEC2WithName(name string) (*resources.AWSCloud9EnvironmentEC2, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloud9EnvironmentEC2:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSClou... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCloud9EnvironmentEC2WithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCloud9EnvironmentEC2",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"... | // GetAWSCloud9EnvironmentEC2WithName retrieves all AWSCloud9EnvironmentEC2 items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCloud9EnvironmentEC2WithName",
"retrieves",
"all",
"AWSCloud9EnvironmentEC2",
"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#L1928-L1936 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCloudFormationCustomResourceResources | func (t *Template) GetAllAWSCloudFormationCustomResourceResources() map[string]*resources.AWSCloudFormationCustomResource {
results := map[string]*resources.AWSCloudFormationCustomResource{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationCustomResourc... | go | func (t *Template) GetAllAWSCloudFormationCustomResourceResources() map[string]*resources.AWSCloudFormationCustomResource {
results := map[string]*resources.AWSCloudFormationCustomResource{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationCustomResourc... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCloudFormationCustomResourceResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudFormationCustomResource",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSC... | // GetAllAWSCloudFormationCustomResourceResources retrieves all AWSCloudFormationCustomResource items from an AWS CloudFormation template | [
"GetAllAWSCloudFormationCustomResourceResources",
"retrieves",
"all",
"AWSCloudFormationCustomResource",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1939-L1948 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCloudFormationCustomResourceWithName | func (t *Template) GetAWSCloudFormationCustomResourceWithName(name string) (*resources.AWSCloudFormationCustomResource, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationCustomResource:
return resource, nil
}
}
return nil, fmt.Errorf("res... | go | func (t *Template) GetAWSCloudFormationCustomResourceWithName(name string) (*resources.AWSCloudFormationCustomResource, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationCustomResource:
return resource, nil
}
}
return nil, fmt.Errorf("res... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCloudFormationCustomResourceWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCloudFormationCustomResource",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[... | // GetAWSCloudFormationCustomResourceWithName retrieves all AWSCloudFormationCustomResource items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCloudFormationCustomResourceWithName",
"retrieves",
"all",
"AWSCloudFormationCustomResource",
"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#L1952-L1960 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCloudFormationMacroResources | func (t *Template) GetAllAWSCloudFormationMacroResources() map[string]*resources.AWSCloudFormationMacro {
results := map[string]*resources.AWSCloudFormationMacro{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationMacro:
results[name] = resource
}
... | go | func (t *Template) GetAllAWSCloudFormationMacroResources() map[string]*resources.AWSCloudFormationMacro {
results := map[string]*resources.AWSCloudFormationMacro{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationMacro:
results[name] = resource
}
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCloudFormationMacroResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudFormationMacro",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudFormationMacro... | // GetAllAWSCloudFormationMacroResources retrieves all AWSCloudFormationMacro items from an AWS CloudFormation template | [
"GetAllAWSCloudFormationMacroResources",
"retrieves",
"all",
"AWSCloudFormationMacro",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1963-L1972 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCloudFormationMacroWithName | func (t *Template) GetAWSCloudFormationMacroWithName(name string) (*resources.AWSCloudFormationMacro, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationMacro:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudFo... | go | func (t *Template) GetAWSCloudFormationMacroWithName(name string) (*resources.AWSCloudFormationMacro, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationMacro:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudFo... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCloudFormationMacroWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCloudFormationMacro",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]"... | // GetAWSCloudFormationMacroWithName retrieves all AWSCloudFormationMacro items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCloudFormationMacroWithName",
"retrieves",
"all",
"AWSCloudFormationMacro",
"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#L1976-L1984 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCloudFormationStackResources | func (t *Template) GetAllAWSCloudFormationStackResources() map[string]*resources.AWSCloudFormationStack {
results := map[string]*resources.AWSCloudFormationStack{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationStack:
results[name] = resource
}
... | go | func (t *Template) GetAllAWSCloudFormationStackResources() map[string]*resources.AWSCloudFormationStack {
results := map[string]*resources.AWSCloudFormationStack{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationStack:
results[name] = resource
}
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCloudFormationStackResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudFormationStack",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudFormationStack... | // GetAllAWSCloudFormationStackResources retrieves all AWSCloudFormationStack items from an AWS CloudFormation template | [
"GetAllAWSCloudFormationStackResources",
"retrieves",
"all",
"AWSCloudFormationStack",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L1987-L1996 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCloudFormationStackWithName | func (t *Template) GetAWSCloudFormationStackWithName(name string) (*resources.AWSCloudFormationStack, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationStack:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudFo... | go | func (t *Template) GetAWSCloudFormationStackWithName(name string) (*resources.AWSCloudFormationStack, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationStack:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudFo... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCloudFormationStackWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCloudFormationStack",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]"... | // GetAWSCloudFormationStackWithName retrieves all AWSCloudFormationStack items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCloudFormationStackWithName",
"retrieves",
"all",
"AWSCloudFormationStack",
"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#L2000-L2008 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCloudFormationWaitConditionResources | func (t *Template) GetAllAWSCloudFormationWaitConditionResources() map[string]*resources.AWSCloudFormationWaitCondition {
results := map[string]*resources.AWSCloudFormationWaitCondition{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationWaitCondition:
... | go | func (t *Template) GetAllAWSCloudFormationWaitConditionResources() map[string]*resources.AWSCloudFormationWaitCondition {
results := map[string]*resources.AWSCloudFormationWaitCondition{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationWaitCondition:
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCloudFormationWaitConditionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudFormationWaitCondition",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSClo... | // GetAllAWSCloudFormationWaitConditionResources retrieves all AWSCloudFormationWaitCondition items from an AWS CloudFormation template | [
"GetAllAWSCloudFormationWaitConditionResources",
"retrieves",
"all",
"AWSCloudFormationWaitCondition",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2011-L2020 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCloudFormationWaitConditionWithName | func (t *Template) GetAWSCloudFormationWaitConditionWithName(name string) (*resources.AWSCloudFormationWaitCondition, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationWaitCondition:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | go | func (t *Template) GetAWSCloudFormationWaitConditionWithName(name string) (*resources.AWSCloudFormationWaitCondition, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationWaitCondition:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCloudFormationWaitConditionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCloudFormationWaitCondition",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",... | // GetAWSCloudFormationWaitConditionWithName retrieves all AWSCloudFormationWaitCondition items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCloudFormationWaitConditionWithName",
"retrieves",
"all",
"AWSCloudFormationWaitCondition",
"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#L2024-L2032 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCloudFormationWaitConditionHandleResources | func (t *Template) GetAllAWSCloudFormationWaitConditionHandleResources() map[string]*resources.AWSCloudFormationWaitConditionHandle {
results := map[string]*resources.AWSCloudFormationWaitConditionHandle{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormati... | go | func (t *Template) GetAllAWSCloudFormationWaitConditionHandleResources() map[string]*resources.AWSCloudFormationWaitConditionHandle {
results := map[string]*resources.AWSCloudFormationWaitConditionHandle{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFormati... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCloudFormationWaitConditionHandleResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudFormationWaitConditionHandle",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".... | // GetAllAWSCloudFormationWaitConditionHandleResources retrieves all AWSCloudFormationWaitConditionHandle items from an AWS CloudFormation template | [
"GetAllAWSCloudFormationWaitConditionHandleResources",
"retrieves",
"all",
"AWSCloudFormationWaitConditionHandle",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2035-L2044 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCloudFormationWaitConditionHandleWithName | func (t *Template) GetAWSCloudFormationWaitConditionHandleWithName(name string) (*resources.AWSCloudFormationWaitConditionHandle, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationWaitConditionHandle:
return resource, nil
}
}
return nil, ... | go | func (t *Template) GetAWSCloudFormationWaitConditionHandleWithName(name string) (*resources.AWSCloudFormationWaitConditionHandle, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFormationWaitConditionHandle:
return resource, nil
}
}
return nil, ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCloudFormationWaitConditionHandleWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCloudFormationWaitConditionHandle",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resour... | // GetAWSCloudFormationWaitConditionHandleWithName retrieves all AWSCloudFormationWaitConditionHandle items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCloudFormationWaitConditionHandleWithName",
"retrieves",
"all",
"AWSCloudFormationWaitConditionHandle",
"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#L2048-L2056 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCloudFrontCloudFrontOriginAccessIdentityResources | func (t *Template) GetAllAWSCloudFrontCloudFrontOriginAccessIdentityResources() map[string]*resources.AWSCloudFrontCloudFrontOriginAccessIdentity {
results := map[string]*resources.AWSCloudFrontCloudFrontOriginAccessIdentity{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *reso... | go | func (t *Template) GetAllAWSCloudFrontCloudFrontOriginAccessIdentityResources() map[string]*resources.AWSCloudFrontCloudFrontOriginAccessIdentity {
results := map[string]*resources.AWSCloudFrontCloudFrontOriginAccessIdentity{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *reso... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCloudFrontCloudFrontOriginAccessIdentityResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudFrontCloudFrontOriginAccessIdentity",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"re... | // GetAllAWSCloudFrontCloudFrontOriginAccessIdentityResources retrieves all AWSCloudFrontCloudFrontOriginAccessIdentity items from an AWS CloudFormation template | [
"GetAllAWSCloudFrontCloudFrontOriginAccessIdentityResources",
"retrieves",
"all",
"AWSCloudFrontCloudFrontOriginAccessIdentity",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2059-L2068 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCloudFrontCloudFrontOriginAccessIdentityWithName | func (t *Template) GetAWSCloudFrontCloudFrontOriginAccessIdentityWithName(name string) (*resources.AWSCloudFrontCloudFrontOriginAccessIdentity, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontCloudFrontOriginAccessIdentity:
return resource, nil... | go | func (t *Template) GetAWSCloudFrontCloudFrontOriginAccessIdentityWithName(name string) (*resources.AWSCloudFrontCloudFrontOriginAccessIdentity, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontCloudFrontOriginAccessIdentity:
return resource, nil... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCloudFrontCloudFrontOriginAccessIdentityWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCloudFrontCloudFrontOriginAccessIdentity",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
... | // GetAWSCloudFrontCloudFrontOriginAccessIdentityWithName retrieves all AWSCloudFrontCloudFrontOriginAccessIdentity items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCloudFrontCloudFrontOriginAccessIdentityWithName",
"retrieves",
"all",
"AWSCloudFrontCloudFrontOriginAccessIdentity",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"erro... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2072-L2080 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCloudFrontDistributionResources | func (t *Template) GetAllAWSCloudFrontDistributionResources() map[string]*resources.AWSCloudFrontDistribution {
results := map[string]*resources.AWSCloudFrontDistribution{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontDistribution:
results[name] = re... | go | func (t *Template) GetAllAWSCloudFrontDistributionResources() map[string]*resources.AWSCloudFrontDistribution {
results := map[string]*resources.AWSCloudFrontDistribution{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontDistribution:
results[name] = re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCloudFrontDistributionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudFrontDistribution",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudFrontDis... | // GetAllAWSCloudFrontDistributionResources retrieves all AWSCloudFrontDistribution items from an AWS CloudFormation template | [
"GetAllAWSCloudFrontDistributionResources",
"retrieves",
"all",
"AWSCloudFrontDistribution",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2083-L2092 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCloudFrontDistributionWithName | func (t *Template) GetAWSCloudFrontDistributionWithName(name string) (*resources.AWSCloudFrontDistribution, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontDistribution:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type A... | go | func (t *Template) GetAWSCloudFrontDistributionWithName(name string) (*resources.AWSCloudFrontDistribution, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontDistribution:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type A... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCloudFrontDistributionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCloudFrontDistribution",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",... | // GetAWSCloudFrontDistributionWithName retrieves all AWSCloudFrontDistribution items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCloudFrontDistributionWithName",
"retrieves",
"all",
"AWSCloudFrontDistribution",
"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#L2096-L2104 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCloudFrontStreamingDistributionResources | func (t *Template) GetAllAWSCloudFrontStreamingDistributionResources() map[string]*resources.AWSCloudFrontStreamingDistribution {
results := map[string]*resources.AWSCloudFrontStreamingDistribution{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontStreamin... | go | func (t *Template) GetAllAWSCloudFrontStreamingDistributionResources() map[string]*resources.AWSCloudFrontStreamingDistribution {
results := map[string]*resources.AWSCloudFrontStreamingDistribution{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontStreamin... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCloudFrontStreamingDistributionResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudFrontStreamingDistribution",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
... | // GetAllAWSCloudFrontStreamingDistributionResources retrieves all AWSCloudFrontStreamingDistribution items from an AWS CloudFormation template | [
"GetAllAWSCloudFrontStreamingDistributionResources",
"retrieves",
"all",
"AWSCloudFrontStreamingDistribution",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2107-L2116 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCloudFrontStreamingDistributionWithName | func (t *Template) GetAWSCloudFrontStreamingDistributionWithName(name string) (*resources.AWSCloudFrontStreamingDistribution, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontStreamingDistribution:
return resource, nil
}
}
return nil, fmt.Er... | go | func (t *Template) GetAWSCloudFrontStreamingDistributionWithName(name string) (*resources.AWSCloudFrontStreamingDistribution, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudFrontStreamingDistribution:
return resource, nil
}
}
return nil, fmt.Er... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCloudFrontStreamingDistributionWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCloudFrontStreamingDistribution",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources"... | // GetAWSCloudFrontStreamingDistributionWithName retrieves all AWSCloudFrontStreamingDistribution items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCloudFrontStreamingDistributionWithName",
"retrieves",
"all",
"AWSCloudFrontStreamingDistribution",
"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#L2120-L2128 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCloudTrailTrailResources | func (t *Template) GetAllAWSCloudTrailTrailResources() map[string]*resources.AWSCloudTrailTrail {
results := map[string]*resources.AWSCloudTrailTrail{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudTrailTrail:
results[name] = resource
}
}
return result... | go | func (t *Template) GetAllAWSCloudTrailTrailResources() map[string]*resources.AWSCloudTrailTrail {
results := map[string]*resources.AWSCloudTrailTrail{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudTrailTrail:
results[name] = resource
}
}
return result... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCloudTrailTrailResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudTrailTrail",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudTrailTrail",
"{",
... | // GetAllAWSCloudTrailTrailResources retrieves all AWSCloudTrailTrail items from an AWS CloudFormation template | [
"GetAllAWSCloudTrailTrailResources",
"retrieves",
"all",
"AWSCloudTrailTrail",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2131-L2140 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCloudTrailTrailWithName | func (t *Template) GetAWSCloudTrailTrailWithName(name string) (*resources.AWSCloudTrailTrail, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudTrailTrail:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudTrailTrail not... | go | func (t *Template) GetAWSCloudTrailTrailWithName(name string) (*resources.AWSCloudTrailTrail, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudTrailTrail:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudTrailTrail not... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCloudTrailTrailWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCloudTrailTrail",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",... | // GetAWSCloudTrailTrailWithName retrieves all AWSCloudTrailTrail items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCloudTrailTrailWithName",
"retrieves",
"all",
"AWSCloudTrailTrail",
"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#L2144-L2152 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCloudWatchAlarmResources | func (t *Template) GetAllAWSCloudWatchAlarmResources() map[string]*resources.AWSCloudWatchAlarm {
results := map[string]*resources.AWSCloudWatchAlarm{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudWatchAlarm:
results[name] = resource
}
}
return result... | go | func (t *Template) GetAllAWSCloudWatchAlarmResources() map[string]*resources.AWSCloudWatchAlarm {
results := map[string]*resources.AWSCloudWatchAlarm{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudWatchAlarm:
results[name] = resource
}
}
return result... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCloudWatchAlarmResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudWatchAlarm",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudWatchAlarm",
"{",
... | // GetAllAWSCloudWatchAlarmResources retrieves all AWSCloudWatchAlarm items from an AWS CloudFormation template | [
"GetAllAWSCloudWatchAlarmResources",
"retrieves",
"all",
"AWSCloudWatchAlarm",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2155-L2164 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCloudWatchAlarmWithName | func (t *Template) GetAWSCloudWatchAlarmWithName(name string) (*resources.AWSCloudWatchAlarm, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudWatchAlarm:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudWatchAlarm not... | go | func (t *Template) GetAWSCloudWatchAlarmWithName(name string) (*resources.AWSCloudWatchAlarm, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudWatchAlarm:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudWatchAlarm not... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCloudWatchAlarmWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCloudWatchAlarm",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",... | // GetAWSCloudWatchAlarmWithName retrieves all AWSCloudWatchAlarm items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCloudWatchAlarmWithName",
"retrieves",
"all",
"AWSCloudWatchAlarm",
"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#L2168-L2176 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCloudWatchDashboardResources | func (t *Template) GetAllAWSCloudWatchDashboardResources() map[string]*resources.AWSCloudWatchDashboard {
results := map[string]*resources.AWSCloudWatchDashboard{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudWatchDashboard:
results[name] = resource
}
... | go | func (t *Template) GetAllAWSCloudWatchDashboardResources() map[string]*resources.AWSCloudWatchDashboard {
results := map[string]*resources.AWSCloudWatchDashboard{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCloudWatchDashboard:
results[name] = resource
}
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCloudWatchDashboardResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudWatchDashboard",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCloudWatchDashboard... | // GetAllAWSCloudWatchDashboardResources retrieves all AWSCloudWatchDashboard items from an AWS CloudFormation template | [
"GetAllAWSCloudWatchDashboardResources",
"retrieves",
"all",
"AWSCloudWatchDashboard",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2179-L2188 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCloudWatchDashboardWithName | func (t *Template) GetAWSCloudWatchDashboardWithName(name string) (*resources.AWSCloudWatchDashboard, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudWatchDashboard:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudWa... | go | func (t *Template) GetAWSCloudWatchDashboardWithName(name string) (*resources.AWSCloudWatchDashboard, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCloudWatchDashboard:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCloudWa... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCloudWatchDashboardWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCloudWatchDashboard",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]"... | // GetAWSCloudWatchDashboardWithName retrieves all AWSCloudWatchDashboard items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCloudWatchDashboardWithName",
"retrieves",
"all",
"AWSCloudWatchDashboard",
"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#L2192-L2200 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCodeBuildProjectResources | func (t *Template) GetAllAWSCodeBuildProjectResources() map[string]*resources.AWSCodeBuildProject {
results := map[string]*resources.AWSCodeBuildProject{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeBuildProject:
results[name] = resource
}
}
return re... | go | func (t *Template) GetAllAWSCodeBuildProjectResources() map[string]*resources.AWSCodeBuildProject {
results := map[string]*resources.AWSCodeBuildProject{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeBuildProject:
results[name] = resource
}
}
return re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCodeBuildProjectResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodeBuildProject",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodeBuildProject",
"{",... | // GetAllAWSCodeBuildProjectResources retrieves all AWSCodeBuildProject items from an AWS CloudFormation template | [
"GetAllAWSCodeBuildProjectResources",
"retrieves",
"all",
"AWSCodeBuildProject",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2203-L2212 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCodeBuildProjectWithName | func (t *Template) GetAWSCodeBuildProjectWithName(name string) (*resources.AWSCodeBuildProject, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeBuildProject:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCodeBuildProject... | go | func (t *Template) GetAWSCodeBuildProjectWithName(name string) (*resources.AWSCodeBuildProject, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeBuildProject:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCodeBuildProject... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCodeBuildProjectWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCodeBuildProject",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // GetAWSCodeBuildProjectWithName retrieves all AWSCodeBuildProject items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCodeBuildProjectWithName",
"retrieves",
"all",
"AWSCodeBuildProject",
"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#L2216-L2224 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCodeCommitRepositoryResources | func (t *Template) GetAllAWSCodeCommitRepositoryResources() map[string]*resources.AWSCodeCommitRepository {
results := map[string]*resources.AWSCodeCommitRepository{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeCommitRepository:
results[name] = resource
... | go | func (t *Template) GetAllAWSCodeCommitRepositoryResources() map[string]*resources.AWSCodeCommitRepository {
results := map[string]*resources.AWSCodeCommitRepository{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeCommitRepository:
results[name] = resource
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCodeCommitRepositoryResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodeCommitRepository",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodeCommitReposit... | // GetAllAWSCodeCommitRepositoryResources retrieves all AWSCodeCommitRepository items from an AWS CloudFormation template | [
"GetAllAWSCodeCommitRepositoryResources",
"retrieves",
"all",
"AWSCodeCommitRepository",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2227-L2236 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCodeCommitRepositoryWithName | func (t *Template) GetAWSCodeCommitRepositoryWithName(name string) (*resources.AWSCodeCommitRepository, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeCommitRepository:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCode... | go | func (t *Template) GetAWSCodeCommitRepositoryWithName(name string) (*resources.AWSCodeCommitRepository, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeCommitRepository:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCode... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCodeCommitRepositoryWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCodeCommitRepository",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"... | // GetAWSCodeCommitRepositoryWithName retrieves all AWSCodeCommitRepository items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCodeCommitRepositoryWithName",
"retrieves",
"all",
"AWSCodeCommitRepository",
"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#L2240-L2248 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCodeDeployApplicationResources | func (t *Template) GetAllAWSCodeDeployApplicationResources() map[string]*resources.AWSCodeDeployApplication {
results := map[string]*resources.AWSCodeDeployApplication{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployApplication:
results[name] = resour... | go | func (t *Template) GetAllAWSCodeDeployApplicationResources() map[string]*resources.AWSCodeDeployApplication {
results := map[string]*resources.AWSCodeDeployApplication{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployApplication:
results[name] = resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCodeDeployApplicationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodeDeployApplication",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodeDeployAppli... | // GetAllAWSCodeDeployApplicationResources retrieves all AWSCodeDeployApplication items from an AWS CloudFormation template | [
"GetAllAWSCodeDeployApplicationResources",
"retrieves",
"all",
"AWSCodeDeployApplication",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2251-L2260 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCodeDeployApplicationWithName | func (t *Template) GetAWSCodeDeployApplicationWithName(name string) (*resources.AWSCodeDeployApplication, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployApplication:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSC... | go | func (t *Template) GetAWSCodeDeployApplicationWithName(name string) (*resources.AWSCodeDeployApplication, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployApplication:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSC... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCodeDeployApplicationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCodeDeployApplication",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
... | // GetAWSCodeDeployApplicationWithName retrieves all AWSCodeDeployApplication items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCodeDeployApplicationWithName",
"retrieves",
"all",
"AWSCodeDeployApplication",
"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#L2264-L2272 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCodeDeployDeploymentConfigResources | func (t *Template) GetAllAWSCodeDeployDeploymentConfigResources() map[string]*resources.AWSCodeDeployDeploymentConfig {
results := map[string]*resources.AWSCodeDeployDeploymentConfig{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployDeploymentConfig:
re... | go | func (t *Template) GetAllAWSCodeDeployDeploymentConfigResources() map[string]*resources.AWSCodeDeployDeploymentConfig {
results := map[string]*resources.AWSCodeDeployDeploymentConfig{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployDeploymentConfig:
re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCodeDeployDeploymentConfigResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodeDeployDeploymentConfig",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodeD... | // GetAllAWSCodeDeployDeploymentConfigResources retrieves all AWSCodeDeployDeploymentConfig items from an AWS CloudFormation template | [
"GetAllAWSCodeDeployDeploymentConfigResources",
"retrieves",
"all",
"AWSCodeDeployDeploymentConfig",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2275-L2284 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCodeDeployDeploymentConfigWithName | func (t *Template) GetAWSCodeDeployDeploymentConfigWithName(name string) (*resources.AWSCodeDeployDeploymentConfig, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployDeploymentConfig:
return resource, nil
}
}
return nil, fmt.Errorf("resource ... | go | func (t *Template) GetAWSCodeDeployDeploymentConfigWithName(name string) (*resources.AWSCodeDeployDeploymentConfig, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployDeploymentConfig:
return resource, nil
}
}
return nil, fmt.Errorf("resource ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCodeDeployDeploymentConfigWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCodeDeployDeploymentConfig",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
... | // GetAWSCodeDeployDeploymentConfigWithName retrieves all AWSCodeDeployDeploymentConfig items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCodeDeployDeploymentConfigWithName",
"retrieves",
"all",
"AWSCodeDeployDeploymentConfig",
"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#L2288-L2296 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCodeDeployDeploymentGroupResources | func (t *Template) GetAllAWSCodeDeployDeploymentGroupResources() map[string]*resources.AWSCodeDeployDeploymentGroup {
results := map[string]*resources.AWSCodeDeployDeploymentGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployDeploymentGroup:
result... | go | func (t *Template) GetAllAWSCodeDeployDeploymentGroupResources() map[string]*resources.AWSCodeDeployDeploymentGroup {
results := map[string]*resources.AWSCodeDeployDeploymentGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployDeploymentGroup:
result... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCodeDeployDeploymentGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodeDeployDeploymentGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodeDep... | // GetAllAWSCodeDeployDeploymentGroupResources retrieves all AWSCodeDeployDeploymentGroup items from an AWS CloudFormation template | [
"GetAllAWSCodeDeployDeploymentGroupResources",
"retrieves",
"all",
"AWSCodeDeployDeploymentGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2299-L2308 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCodeDeployDeploymentGroupWithName | func (t *Template) GetAWSCodeDeployDeploymentGroupWithName(name string) (*resources.AWSCodeDeployDeploymentGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployDeploymentGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q ... | go | func (t *Template) GetAWSCodeDeployDeploymentGroupWithName(name string) (*resources.AWSCodeDeployDeploymentGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodeDeployDeploymentGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCodeDeployDeploymentGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCodeDeployDeploymentGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"... | // GetAWSCodeDeployDeploymentGroupWithName retrieves all AWSCodeDeployDeploymentGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCodeDeployDeploymentGroupWithName",
"retrieves",
"all",
"AWSCodeDeployDeploymentGroup",
"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#L2312-L2320 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCodePipelineCustomActionTypeResources | func (t *Template) GetAllAWSCodePipelineCustomActionTypeResources() map[string]*resources.AWSCodePipelineCustomActionType {
results := map[string]*resources.AWSCodePipelineCustomActionType{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodePipelineCustomActionTyp... | go | func (t *Template) GetAllAWSCodePipelineCustomActionTypeResources() map[string]*resources.AWSCodePipelineCustomActionType {
results := map[string]*resources.AWSCodePipelineCustomActionType{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodePipelineCustomActionTyp... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCodePipelineCustomActionTypeResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodePipelineCustomActionType",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSC... | // GetAllAWSCodePipelineCustomActionTypeResources retrieves all AWSCodePipelineCustomActionType items from an AWS CloudFormation template | [
"GetAllAWSCodePipelineCustomActionTypeResources",
"retrieves",
"all",
"AWSCodePipelineCustomActionType",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2323-L2332 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCodePipelineCustomActionTypeWithName | func (t *Template) GetAWSCodePipelineCustomActionTypeWithName(name string) (*resources.AWSCodePipelineCustomActionType, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodePipelineCustomActionType:
return resource, nil
}
}
return nil, fmt.Errorf("res... | go | func (t *Template) GetAWSCodePipelineCustomActionTypeWithName(name string) (*resources.AWSCodePipelineCustomActionType, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodePipelineCustomActionType:
return resource, nil
}
}
return nil, fmt.Errorf("res... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCodePipelineCustomActionTypeWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCodePipelineCustomActionType",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[... | // GetAWSCodePipelineCustomActionTypeWithName retrieves all AWSCodePipelineCustomActionType items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCodePipelineCustomActionTypeWithName",
"retrieves",
"all",
"AWSCodePipelineCustomActionType",
"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#L2336-L2344 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCodePipelinePipelineResources | func (t *Template) GetAllAWSCodePipelinePipelineResources() map[string]*resources.AWSCodePipelinePipeline {
results := map[string]*resources.AWSCodePipelinePipeline{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodePipelinePipeline:
results[name] = resource
... | go | func (t *Template) GetAllAWSCodePipelinePipelineResources() map[string]*resources.AWSCodePipelinePipeline {
results := map[string]*resources.AWSCodePipelinePipeline{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodePipelinePipeline:
results[name] = resource
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCodePipelinePipelineResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodePipelinePipeline",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodePipelinePipel... | // GetAllAWSCodePipelinePipelineResources retrieves all AWSCodePipelinePipeline items from an AWS CloudFormation template | [
"GetAllAWSCodePipelinePipelineResources",
"retrieves",
"all",
"AWSCodePipelinePipeline",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2347-L2356 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCodePipelinePipelineWithName | func (t *Template) GetAWSCodePipelinePipelineWithName(name string) (*resources.AWSCodePipelinePipeline, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodePipelinePipeline:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCode... | go | func (t *Template) GetAWSCodePipelinePipelineWithName(name string) (*resources.AWSCodePipelinePipeline, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodePipelinePipeline:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCode... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCodePipelinePipelineWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCodePipelinePipeline",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"... | // GetAWSCodePipelinePipelineWithName retrieves all AWSCodePipelinePipeline items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCodePipelinePipelineWithName",
"retrieves",
"all",
"AWSCodePipelinePipeline",
"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#L2360-L2368 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCodePipelineWebhookResources | func (t *Template) GetAllAWSCodePipelineWebhookResources() map[string]*resources.AWSCodePipelineWebhook {
results := map[string]*resources.AWSCodePipelineWebhook{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodePipelineWebhook:
results[name] = resource
}
... | go | func (t *Template) GetAllAWSCodePipelineWebhookResources() map[string]*resources.AWSCodePipelineWebhook {
results := map[string]*resources.AWSCodePipelineWebhook{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCodePipelineWebhook:
results[name] = resource
}
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCodePipelineWebhookResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodePipelineWebhook",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCodePipelineWebhook... | // GetAllAWSCodePipelineWebhookResources retrieves all AWSCodePipelineWebhook items from an AWS CloudFormation template | [
"GetAllAWSCodePipelineWebhookResources",
"retrieves",
"all",
"AWSCodePipelineWebhook",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2371-L2380 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCodePipelineWebhookWithName | func (t *Template) GetAWSCodePipelineWebhookWithName(name string) (*resources.AWSCodePipelineWebhook, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodePipelineWebhook:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCodePip... | go | func (t *Template) GetAWSCodePipelineWebhookWithName(name string) (*resources.AWSCodePipelineWebhook, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCodePipelineWebhook:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCodePip... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCodePipelineWebhookWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCodePipelineWebhook",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]"... | // GetAWSCodePipelineWebhookWithName retrieves all AWSCodePipelineWebhook items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCodePipelineWebhookWithName",
"retrieves",
"all",
"AWSCodePipelineWebhook",
"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#L2384-L2392 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCognitoIdentityPoolResources | func (t *Template) GetAllAWSCognitoIdentityPoolResources() map[string]*resources.AWSCognitoIdentityPool {
results := map[string]*resources.AWSCognitoIdentityPool{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoIdentityPool:
results[name] = resource
}
... | go | func (t *Template) GetAllAWSCognitoIdentityPoolResources() map[string]*resources.AWSCognitoIdentityPool {
results := map[string]*resources.AWSCognitoIdentityPool{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoIdentityPool:
results[name] = resource
}
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCognitoIdentityPoolResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCognitoIdentityPool",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCognitoIdentityPool... | // GetAllAWSCognitoIdentityPoolResources retrieves all AWSCognitoIdentityPool items from an AWS CloudFormation template | [
"GetAllAWSCognitoIdentityPoolResources",
"retrieves",
"all",
"AWSCognitoIdentityPool",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2395-L2404 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCognitoIdentityPoolWithName | func (t *Template) GetAWSCognitoIdentityPoolWithName(name string) (*resources.AWSCognitoIdentityPool, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoIdentityPool:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCognito... | go | func (t *Template) GetAWSCognitoIdentityPoolWithName(name string) (*resources.AWSCognitoIdentityPool, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoIdentityPool:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCognito... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCognitoIdentityPoolWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCognitoIdentityPool",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]"... | // GetAWSCognitoIdentityPoolWithName retrieves all AWSCognitoIdentityPool items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCognitoIdentityPoolWithName",
"retrieves",
"all",
"AWSCognitoIdentityPool",
"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#L2408-L2416 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCognitoIdentityPoolRoleAttachmentResources | func (t *Template) GetAllAWSCognitoIdentityPoolRoleAttachmentResources() map[string]*resources.AWSCognitoIdentityPoolRoleAttachment {
results := map[string]*resources.AWSCognitoIdentityPoolRoleAttachment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoIdent... | go | func (t *Template) GetAllAWSCognitoIdentityPoolRoleAttachmentResources() map[string]*resources.AWSCognitoIdentityPoolRoleAttachment {
results := map[string]*resources.AWSCognitoIdentityPoolRoleAttachment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoIdent... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCognitoIdentityPoolRoleAttachmentResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCognitoIdentityPoolRoleAttachment",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".... | // GetAllAWSCognitoIdentityPoolRoleAttachmentResources retrieves all AWSCognitoIdentityPoolRoleAttachment items from an AWS CloudFormation template | [
"GetAllAWSCognitoIdentityPoolRoleAttachmentResources",
"retrieves",
"all",
"AWSCognitoIdentityPoolRoleAttachment",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2419-L2428 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCognitoIdentityPoolRoleAttachmentWithName | func (t *Template) GetAWSCognitoIdentityPoolRoleAttachmentWithName(name string) (*resources.AWSCognitoIdentityPoolRoleAttachment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoIdentityPoolRoleAttachment:
return resource, nil
}
}
return nil, ... | go | func (t *Template) GetAWSCognitoIdentityPoolRoleAttachmentWithName(name string) (*resources.AWSCognitoIdentityPoolRoleAttachment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoIdentityPoolRoleAttachment:
return resource, nil
}
}
return nil, ... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCognitoIdentityPoolRoleAttachmentWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCognitoIdentityPoolRoleAttachment",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resour... | // GetAWSCognitoIdentityPoolRoleAttachmentWithName retrieves all AWSCognitoIdentityPoolRoleAttachment items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCognitoIdentityPoolRoleAttachmentWithName",
"retrieves",
"all",
"AWSCognitoIdentityPoolRoleAttachment",
"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#L2432-L2440 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCognitoUserPoolResources | func (t *Template) GetAllAWSCognitoUserPoolResources() map[string]*resources.AWSCognitoUserPool {
results := map[string]*resources.AWSCognitoUserPool{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPool:
results[name] = resource
}
}
return result... | go | func (t *Template) GetAllAWSCognitoUserPoolResources() map[string]*resources.AWSCognitoUserPool {
results := map[string]*resources.AWSCognitoUserPool{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPool:
results[name] = resource
}
}
return result... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCognitoUserPoolResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCognitoUserPool",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCognitoUserPool",
"{",
... | // GetAllAWSCognitoUserPoolResources retrieves all AWSCognitoUserPool items from an AWS CloudFormation template | [
"GetAllAWSCognitoUserPoolResources",
"retrieves",
"all",
"AWSCognitoUserPool",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2443-L2452 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCognitoUserPoolWithName | func (t *Template) GetAWSCognitoUserPoolWithName(name string) (*resources.AWSCognitoUserPool, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPool:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCognitoUserPool not... | go | func (t *Template) GetAWSCognitoUserPoolWithName(name string) (*resources.AWSCognitoUserPool, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPool:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCognitoUserPool not... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCognitoUserPoolWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCognitoUserPool",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",... | // GetAWSCognitoUserPoolWithName retrieves all AWSCognitoUserPool items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCognitoUserPoolWithName",
"retrieves",
"all",
"AWSCognitoUserPool",
"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#L2456-L2464 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCognitoUserPoolClientResources | func (t *Template) GetAllAWSCognitoUserPoolClientResources() map[string]*resources.AWSCognitoUserPoolClient {
results := map[string]*resources.AWSCognitoUserPoolClient{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolClient:
results[name] = resour... | go | func (t *Template) GetAllAWSCognitoUserPoolClientResources() map[string]*resources.AWSCognitoUserPoolClient {
results := map[string]*resources.AWSCognitoUserPoolClient{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolClient:
results[name] = resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCognitoUserPoolClientResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCognitoUserPoolClient",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCognitoUserPool... | // GetAllAWSCognitoUserPoolClientResources retrieves all AWSCognitoUserPoolClient items from an AWS CloudFormation template | [
"GetAllAWSCognitoUserPoolClientResources",
"retrieves",
"all",
"AWSCognitoUserPoolClient",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2467-L2476 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCognitoUserPoolClientWithName | func (t *Template) GetAWSCognitoUserPoolClientWithName(name string) (*resources.AWSCognitoUserPoolClient, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolClient:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSC... | go | func (t *Template) GetAWSCognitoUserPoolClientWithName(name string) (*resources.AWSCognitoUserPoolClient, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolClient:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSC... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCognitoUserPoolClientWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCognitoUserPoolClient",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
... | // GetAWSCognitoUserPoolClientWithName retrieves all AWSCognitoUserPoolClient items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCognitoUserPoolClientWithName",
"retrieves",
"all",
"AWSCognitoUserPoolClient",
"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#L2480-L2488 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCognitoUserPoolGroupResources | func (t *Template) GetAllAWSCognitoUserPoolGroupResources() map[string]*resources.AWSCognitoUserPoolGroup {
results := map[string]*resources.AWSCognitoUserPoolGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolGroup:
results[name] = resource
... | go | func (t *Template) GetAllAWSCognitoUserPoolGroupResources() map[string]*resources.AWSCognitoUserPoolGroup {
results := map[string]*resources.AWSCognitoUserPoolGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolGroup:
results[name] = resource
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCognitoUserPoolGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCognitoUserPoolGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCognitoUserPoolGr... | // GetAllAWSCognitoUserPoolGroupResources retrieves all AWSCognitoUserPoolGroup items from an AWS CloudFormation template | [
"GetAllAWSCognitoUserPoolGroupResources",
"retrieves",
"all",
"AWSCognitoUserPoolGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2491-L2500 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCognitoUserPoolGroupWithName | func (t *Template) GetAWSCognitoUserPoolGroupWithName(name string) (*resources.AWSCognitoUserPoolGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCogn... | go | func (t *Template) GetAWSCognitoUserPoolGroupWithName(name string) (*resources.AWSCognitoUserPoolGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCogn... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCognitoUserPoolGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCognitoUserPoolGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"... | // GetAWSCognitoUserPoolGroupWithName retrieves all AWSCognitoUserPoolGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCognitoUserPoolGroupWithName",
"retrieves",
"all",
"AWSCognitoUserPoolGroup",
"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#L2504-L2512 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCognitoUserPoolUserResources | func (t *Template) GetAllAWSCognitoUserPoolUserResources() map[string]*resources.AWSCognitoUserPoolUser {
results := map[string]*resources.AWSCognitoUserPoolUser{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolUser:
results[name] = resource
}
... | go | func (t *Template) GetAllAWSCognitoUserPoolUserResources() map[string]*resources.AWSCognitoUserPoolUser {
results := map[string]*resources.AWSCognitoUserPoolUser{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolUser:
results[name] = resource
}
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCognitoUserPoolUserResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCognitoUserPoolUser",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCognitoUserPoolUser... | // GetAllAWSCognitoUserPoolUserResources retrieves all AWSCognitoUserPoolUser items from an AWS CloudFormation template | [
"GetAllAWSCognitoUserPoolUserResources",
"retrieves",
"all",
"AWSCognitoUserPoolUser",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2515-L2524 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCognitoUserPoolUserWithName | func (t *Template) GetAWSCognitoUserPoolUserWithName(name string) (*resources.AWSCognitoUserPoolUser, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolUser:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCognito... | go | func (t *Template) GetAWSCognitoUserPoolUserWithName(name string) (*resources.AWSCognitoUserPoolUser, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolUser:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSCognito... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCognitoUserPoolUserWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCognitoUserPoolUser",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]"... | // GetAWSCognitoUserPoolUserWithName retrieves all AWSCognitoUserPoolUser items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCognitoUserPoolUserWithName",
"retrieves",
"all",
"AWSCognitoUserPoolUser",
"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#L2528-L2536 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSCognitoUserPoolUserToGroupAttachmentResources | func (t *Template) GetAllAWSCognitoUserPoolUserToGroupAttachmentResources() map[string]*resources.AWSCognitoUserPoolUserToGroupAttachment {
results := map[string]*resources.AWSCognitoUserPoolUserToGroupAttachment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCog... | go | func (t *Template) GetAllAWSCognitoUserPoolUserToGroupAttachmentResources() map[string]*resources.AWSCognitoUserPoolUserToGroupAttachment {
results := map[string]*resources.AWSCognitoUserPoolUserToGroupAttachment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSCog... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSCognitoUserPoolUserToGroupAttachmentResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCognitoUserPoolUserToGroupAttachment",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources"... | // GetAllAWSCognitoUserPoolUserToGroupAttachmentResources retrieves all AWSCognitoUserPoolUserToGroupAttachment items from an AWS CloudFormation template | [
"GetAllAWSCognitoUserPoolUserToGroupAttachmentResources",
"retrieves",
"all",
"AWSCognitoUserPoolUserToGroupAttachment",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2539-L2548 | train |
awslabs/goformation | cloudformation/all.go | GetAWSCognitoUserPoolUserToGroupAttachmentWithName | func (t *Template) GetAWSCognitoUserPoolUserToGroupAttachmentWithName(name string) (*resources.AWSCognitoUserPoolUserToGroupAttachment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolUserToGroupAttachment:
return resource, nil
}
}
ret... | go | func (t *Template) GetAWSCognitoUserPoolUserToGroupAttachmentWithName(name string) (*resources.AWSCognitoUserPoolUserToGroupAttachment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSCognitoUserPoolUserToGroupAttachment:
return resource, nil
}
}
ret... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSCognitoUserPoolUserToGroupAttachmentWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSCognitoUserPoolUserToGroupAttachment",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"... | // GetAWSCognitoUserPoolUserToGroupAttachmentWithName retrieves all AWSCognitoUserPoolUserToGroupAttachment items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSCognitoUserPoolUserToGroupAttachmentWithName",
"retrieves",
"all",
"AWSCognitoUserPoolUserToGroupAttachment",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template",
"whose",
"logical",
"ID",
"matches",
"the",
"provided",
"name",
".",
"Returns",
"an",
"error",
"i... | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2552-L2560 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSConfigAggregationAuthorizationResources | func (t *Template) GetAllAWSConfigAggregationAuthorizationResources() map[string]*resources.AWSConfigAggregationAuthorization {
results := map[string]*resources.AWSConfigAggregationAuthorization{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigAggregationAuth... | go | func (t *Template) GetAllAWSConfigAggregationAuthorizationResources() map[string]*resources.AWSConfigAggregationAuthorization {
results := map[string]*resources.AWSConfigAggregationAuthorization{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigAggregationAuth... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSConfigAggregationAuthorizationResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSConfigAggregationAuthorization",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"... | // GetAllAWSConfigAggregationAuthorizationResources retrieves all AWSConfigAggregationAuthorization items from an AWS CloudFormation template | [
"GetAllAWSConfigAggregationAuthorizationResources",
"retrieves",
"all",
"AWSConfigAggregationAuthorization",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2563-L2572 | train |
awslabs/goformation | cloudformation/all.go | GetAWSConfigAggregationAuthorizationWithName | func (t *Template) GetAWSConfigAggregationAuthorizationWithName(name string) (*resources.AWSConfigAggregationAuthorization, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigAggregationAuthorization:
return resource, nil
}
}
return nil, fmt.Error... | go | func (t *Template) GetAWSConfigAggregationAuthorizationWithName(name string) (*resources.AWSConfigAggregationAuthorization, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigAggregationAuthorization:
return resource, nil
}
}
return nil, fmt.Error... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSConfigAggregationAuthorizationWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSConfigAggregationAuthorization",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
... | // GetAWSConfigAggregationAuthorizationWithName retrieves all AWSConfigAggregationAuthorization items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSConfigAggregationAuthorizationWithName",
"retrieves",
"all",
"AWSConfigAggregationAuthorization",
"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#L2576-L2584 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSConfigConfigRuleResources | func (t *Template) GetAllAWSConfigConfigRuleResources() map[string]*resources.AWSConfigConfigRule {
results := map[string]*resources.AWSConfigConfigRule{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigRule:
results[name] = resource
}
}
return re... | go | func (t *Template) GetAllAWSConfigConfigRuleResources() map[string]*resources.AWSConfigConfigRule {
results := map[string]*resources.AWSConfigConfigRule{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigRule:
results[name] = resource
}
}
return re... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSConfigConfigRuleResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSConfigConfigRule",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSConfigConfigRule",
"{",... | // GetAllAWSConfigConfigRuleResources retrieves all AWSConfigConfigRule items from an AWS CloudFormation template | [
"GetAllAWSConfigConfigRuleResources",
"retrieves",
"all",
"AWSConfigConfigRule",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2587-L2596 | train |
awslabs/goformation | cloudformation/all.go | GetAWSConfigConfigRuleWithName | func (t *Template) GetAWSConfigConfigRuleWithName(name string) (*resources.AWSConfigConfigRule, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigRule:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSConfigConfigRule... | go | func (t *Template) GetAWSConfigConfigRuleWithName(name string) (*resources.AWSConfigConfigRule, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigRule:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSConfigConfigRule... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSConfigConfigRuleWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSConfigConfigRule",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";... | // GetAWSConfigConfigRuleWithName retrieves all AWSConfigConfigRule items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSConfigConfigRuleWithName",
"retrieves",
"all",
"AWSConfigConfigRule",
"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#L2600-L2608 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSConfigConfigurationAggregatorResources | func (t *Template) GetAllAWSConfigConfigurationAggregatorResources() map[string]*resources.AWSConfigConfigurationAggregator {
results := map[string]*resources.AWSConfigConfigurationAggregator{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigurationAggre... | go | func (t *Template) GetAllAWSConfigConfigurationAggregatorResources() map[string]*resources.AWSConfigConfigurationAggregator {
results := map[string]*resources.AWSConfigConfigurationAggregator{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigurationAggre... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSConfigConfigurationAggregatorResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSConfigConfigurationAggregator",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AW... | // GetAllAWSConfigConfigurationAggregatorResources retrieves all AWSConfigConfigurationAggregator items from an AWS CloudFormation template | [
"GetAllAWSConfigConfigurationAggregatorResources",
"retrieves",
"all",
"AWSConfigConfigurationAggregator",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2611-L2620 | train |
awslabs/goformation | cloudformation/all.go | GetAWSConfigConfigurationAggregatorWithName | func (t *Template) GetAWSConfigConfigurationAggregatorWithName(name string) (*resources.AWSConfigConfigurationAggregator, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigurationAggregator:
return resource, nil
}
}
return nil, fmt.Errorf("... | go | func (t *Template) GetAWSConfigConfigurationAggregatorWithName(name string) (*resources.AWSConfigConfigurationAggregator, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigurationAggregator:
return resource, nil
}
}
return nil, fmt.Errorf("... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSConfigConfigurationAggregatorWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSConfigConfigurationAggregator",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
... | // GetAWSConfigConfigurationAggregatorWithName retrieves all AWSConfigConfigurationAggregator items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSConfigConfigurationAggregatorWithName",
"retrieves",
"all",
"AWSConfigConfigurationAggregator",
"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#L2624-L2632 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSConfigConfigurationRecorderResources | func (t *Template) GetAllAWSConfigConfigurationRecorderResources() map[string]*resources.AWSConfigConfigurationRecorder {
results := map[string]*resources.AWSConfigConfigurationRecorder{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigurationRecorder:
... | go | func (t *Template) GetAllAWSConfigConfigurationRecorderResources() map[string]*resources.AWSConfigConfigurationRecorder {
results := map[string]*resources.AWSConfigConfigurationRecorder{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigurationRecorder:
... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSConfigConfigurationRecorderResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSConfigConfigurationRecorder",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSCon... | // GetAllAWSConfigConfigurationRecorderResources retrieves all AWSConfigConfigurationRecorder items from an AWS CloudFormation template | [
"GetAllAWSConfigConfigurationRecorderResources",
"retrieves",
"all",
"AWSConfigConfigurationRecorder",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2635-L2644 | train |
awslabs/goformation | cloudformation/all.go | GetAWSConfigConfigurationRecorderWithName | func (t *Template) GetAWSConfigConfigurationRecorderWithName(name string) (*resources.AWSConfigConfigurationRecorder, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigurationRecorder:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | go | func (t *Template) GetAWSConfigConfigurationRecorderWithName(name string) (*resources.AWSConfigConfigurationRecorder, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigConfigurationRecorder:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSConfigConfigurationRecorderWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSConfigConfigurationRecorder",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",... | // GetAWSConfigConfigurationRecorderWithName retrieves all AWSConfigConfigurationRecorder items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSConfigConfigurationRecorderWithName",
"retrieves",
"all",
"AWSConfigConfigurationRecorder",
"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#L2648-L2656 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSConfigDeliveryChannelResources | func (t *Template) GetAllAWSConfigDeliveryChannelResources() map[string]*resources.AWSConfigDeliveryChannel {
results := map[string]*resources.AWSConfigDeliveryChannel{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigDeliveryChannel:
results[name] = resour... | go | func (t *Template) GetAllAWSConfigDeliveryChannelResources() map[string]*resources.AWSConfigDeliveryChannel {
results := map[string]*resources.AWSConfigDeliveryChannel{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSConfigDeliveryChannel:
results[name] = resour... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSConfigDeliveryChannelResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSConfigDeliveryChannel",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSConfigDeliveryC... | // GetAllAWSConfigDeliveryChannelResources retrieves all AWSConfigDeliveryChannel items from an AWS CloudFormation template | [
"GetAllAWSConfigDeliveryChannelResources",
"retrieves",
"all",
"AWSConfigDeliveryChannel",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2659-L2668 | train |
awslabs/goformation | cloudformation/all.go | GetAWSConfigDeliveryChannelWithName | func (t *Template) GetAWSConfigDeliveryChannelWithName(name string) (*resources.AWSConfigDeliveryChannel, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigDeliveryChannel:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSC... | go | func (t *Template) GetAWSConfigDeliveryChannelWithName(name string) (*resources.AWSConfigDeliveryChannel, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSConfigDeliveryChannel:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSC... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSConfigDeliveryChannelWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSConfigDeliveryChannel",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
... | // GetAWSConfigDeliveryChannelWithName retrieves all AWSConfigDeliveryChannel items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSConfigDeliveryChannelWithName",
"retrieves",
"all",
"AWSConfigDeliveryChannel",
"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#L2672-L2680 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSDAXClusterResources | func (t *Template) GetAllAWSDAXClusterResources() map[string]*resources.AWSDAXCluster {
results := map[string]*resources.AWSDAXCluster{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDAXCluster:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSDAXClusterResources() map[string]*resources.AWSDAXCluster {
results := map[string]*resources.AWSDAXCluster{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDAXCluster:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSDAXClusterResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSDAXCluster",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSDAXCluster",
"{",
"}",
"\n",
... | // GetAllAWSDAXClusterResources retrieves all AWSDAXCluster items from an AWS CloudFormation template | [
"GetAllAWSDAXClusterResources",
"retrieves",
"all",
"AWSDAXCluster",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2683-L2692 | train |
awslabs/goformation | cloudformation/all.go | GetAWSDAXClusterWithName | func (t *Template) GetAWSDAXClusterWithName(name string) (*resources.AWSDAXCluster, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDAXCluster:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDAXCluster not found", name)
} | go | func (t *Template) GetAWSDAXClusterWithName(name string) (*resources.AWSDAXCluster, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDAXCluster:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDAXCluster not found", name)
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSDAXClusterWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSDAXCluster",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
"ok",
... | // GetAWSDAXClusterWithName retrieves all AWSDAXCluster items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSDAXClusterWithName",
"retrieves",
"all",
"AWSDAXCluster",
"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#L2696-L2704 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSDAXParameterGroupResources | func (t *Template) GetAllAWSDAXParameterGroupResources() map[string]*resources.AWSDAXParameterGroup {
results := map[string]*resources.AWSDAXParameterGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDAXParameterGroup:
results[name] = resource
}
}
retur... | go | func (t *Template) GetAllAWSDAXParameterGroupResources() map[string]*resources.AWSDAXParameterGroup {
results := map[string]*resources.AWSDAXParameterGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDAXParameterGroup:
results[name] = resource
}
}
retur... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSDAXParameterGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSDAXParameterGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSDAXParameterGroup",
"... | // GetAllAWSDAXParameterGroupResources retrieves all AWSDAXParameterGroup items from an AWS CloudFormation template | [
"GetAllAWSDAXParameterGroupResources",
"retrieves",
"all",
"AWSDAXParameterGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2707-L2716 | train |
awslabs/goformation | cloudformation/all.go | GetAWSDAXParameterGroupWithName | func (t *Template) GetAWSDAXParameterGroupWithName(name string) (*resources.AWSDAXParameterGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDAXParameterGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDAXParameterG... | go | func (t *Template) GetAWSDAXParameterGroupWithName(name string) (*resources.AWSDAXParameterGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDAXParameterGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDAXParameterG... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSDAXParameterGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSDAXParameterGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSDAXParameterGroupWithName retrieves all AWSDAXParameterGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSDAXParameterGroupWithName",
"retrieves",
"all",
"AWSDAXParameterGroup",
"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#L2720-L2728 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSDAXSubnetGroupResources | func (t *Template) GetAllAWSDAXSubnetGroupResources() map[string]*resources.AWSDAXSubnetGroup {
results := map[string]*resources.AWSDAXSubnetGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDAXSubnetGroup:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSDAXSubnetGroupResources() map[string]*resources.AWSDAXSubnetGroup {
results := map[string]*resources.AWSDAXSubnetGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDAXSubnetGroup:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSDAXSubnetGroupResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSDAXSubnetGroup",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSDAXSubnetGroup",
"{",
"}"... | // GetAllAWSDAXSubnetGroupResources retrieves all AWSDAXSubnetGroup items from an AWS CloudFormation template | [
"GetAllAWSDAXSubnetGroupResources",
"retrieves",
"all",
"AWSDAXSubnetGroup",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2731-L2740 | train |
awslabs/goformation | cloudformation/all.go | GetAWSDAXSubnetGroupWithName | func (t *Template) GetAWSDAXSubnetGroupWithName(name string) (*resources.AWSDAXSubnetGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDAXSubnetGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDAXSubnetGroup not fou... | go | func (t *Template) GetAWSDAXSubnetGroupWithName(name string) (*resources.AWSDAXSubnetGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDAXSubnetGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDAXSubnetGroup not fou... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSDAXSubnetGroupWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSDAXSubnetGroup",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
";",
... | // GetAWSDAXSubnetGroupWithName retrieves all AWSDAXSubnetGroup items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSDAXSubnetGroupWithName",
"retrieves",
"all",
"AWSDAXSubnetGroup",
"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#L2744-L2752 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSDLMLifecyclePolicyResources | func (t *Template) GetAllAWSDLMLifecyclePolicyResources() map[string]*resources.AWSDLMLifecyclePolicy {
results := map[string]*resources.AWSDLMLifecyclePolicy{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDLMLifecyclePolicy:
results[name] = resource
}
}
r... | go | func (t *Template) GetAllAWSDLMLifecyclePolicyResources() map[string]*resources.AWSDLMLifecyclePolicy {
results := map[string]*resources.AWSDLMLifecyclePolicy{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDLMLifecyclePolicy:
results[name] = resource
}
}
r... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSDLMLifecyclePolicyResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSDLMLifecyclePolicy",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSDLMLifecyclePolicy",
... | // GetAllAWSDLMLifecyclePolicyResources retrieves all AWSDLMLifecyclePolicy items from an AWS CloudFormation template | [
"GetAllAWSDLMLifecyclePolicyResources",
"retrieves",
"all",
"AWSDLMLifecyclePolicy",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2755-L2764 | train |
awslabs/goformation | cloudformation/all.go | GetAWSDLMLifecyclePolicyWithName | func (t *Template) GetAWSDLMLifecyclePolicyWithName(name string) (*resources.AWSDLMLifecyclePolicy, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDLMLifecyclePolicy:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDLMLifecyc... | go | func (t *Template) GetAWSDLMLifecyclePolicyWithName(name string) (*resources.AWSDLMLifecyclePolicy, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDLMLifecyclePolicy:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDLMLifecyc... | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAWSDLMLifecyclePolicyWithName",
"(",
"name",
"string",
")",
"(",
"*",
"resources",
".",
"AWSDLMLifecyclePolicy",
",",
"error",
")",
"{",
"if",
"untyped",
",",
"ok",
":=",
"t",
".",
"Resources",
"[",
"name",
"]",
... | // GetAWSDLMLifecyclePolicyWithName retrieves all AWSDLMLifecyclePolicy items from an AWS CloudFormation template
// whose logical ID matches the provided name. Returns an error if not found. | [
"GetAWSDLMLifecyclePolicyWithName",
"retrieves",
"all",
"AWSDLMLifecyclePolicy",
"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#L2768-L2776 | train |
awslabs/goformation | cloudformation/all.go | GetAllAWSDMSCertificateResources | func (t *Template) GetAllAWSDMSCertificateResources() map[string]*resources.AWSDMSCertificate {
results := map[string]*resources.AWSDMSCertificate{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDMSCertificate:
results[name] = resource
}
}
return results
} | go | func (t *Template) GetAllAWSDMSCertificateResources() map[string]*resources.AWSDMSCertificate {
results := map[string]*resources.AWSDMSCertificate{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDMSCertificate:
results[name] = resource
}
}
return results
} | [
"func",
"(",
"t",
"*",
"Template",
")",
"GetAllAWSDMSCertificateResources",
"(",
")",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSDMSCertificate",
"{",
"results",
":=",
"map",
"[",
"string",
"]",
"*",
"resources",
".",
"AWSDMSCertificate",
"{",
"}"... | // GetAllAWSDMSCertificateResources retrieves all AWSDMSCertificate items from an AWS CloudFormation template | [
"GetAllAWSDMSCertificateResources",
"retrieves",
"all",
"AWSDMSCertificate",
"items",
"from",
"an",
"AWS",
"CloudFormation",
"template"
] | 8898b813a27809556420fcf0427a32765a567302 | https://github.com/awslabs/goformation/blob/8898b813a27809556420fcf0427a32765a567302/cloudformation/all.go#L2779-L2788 | 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.