_id stringlengths 2 7 | title stringlengths 1 118 | partition stringclasses 3
values | text stringlengths 52 85.5k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
q35100 | GetAWSDocDBDBSubnetGroupWithName | train | func (t *Template) GetAWSDocDBDBSubnetGroupWithName(name string) (*resources.AWSDocDBDBSubnetGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDocDBDBSubnetGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDocDBDBSub... | go | {
"resource": ""
} |
q35101 | GetAllAWSDynamoDBTableResources | train | func (t *Template) GetAllAWSDynamoDBTableResources() map[string]*resources.AWSDynamoDBTable {
results := map[string]*resources.AWSDynamoDBTable{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSDynamoDBTable:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35102 | GetAWSDynamoDBTableWithName | train | func (t *Template) GetAWSDynamoDBTableWithName(name string) (*resources.AWSDynamoDBTable, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSDynamoDBTable:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSDynamoDBTable not found",... | go | {
"resource": ""
} |
q35103 | GetAllAWSEC2CustomerGatewayResources | train | func (t *Template) GetAllAWSEC2CustomerGatewayResources() map[string]*resources.AWSEC2CustomerGateway {
results := map[string]*resources.AWSEC2CustomerGateway{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2CustomerGateway:
results[name] = resource
}
}
r... | go | {
"resource": ""
} |
q35104 | GetAWSEC2CustomerGatewayWithName | train | func (t *Template) GetAWSEC2CustomerGatewayWithName(name string) (*resources.AWSEC2CustomerGateway, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2CustomerGateway:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2Custome... | go | {
"resource": ""
} |
q35105 | GetAllAWSEC2DHCPOptionsResources | train | func (t *Template) GetAllAWSEC2DHCPOptionsResources() map[string]*resources.AWSEC2DHCPOptions {
results := map[string]*resources.AWSEC2DHCPOptions{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2DHCPOptions:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35106 | GetAWSEC2DHCPOptionsWithName | train | func (t *Template) GetAWSEC2DHCPOptionsWithName(name string) (*resources.AWSEC2DHCPOptions, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2DHCPOptions:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2DHCPOptions not fou... | go | {
"resource": ""
} |
q35107 | GetAllAWSEC2EC2FleetResources | train | func (t *Template) GetAllAWSEC2EC2FleetResources() map[string]*resources.AWSEC2EC2Fleet {
results := map[string]*resources.AWSEC2EC2Fleet{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2EC2Fleet:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35108 | GetAWSEC2EC2FleetWithName | train | func (t *Template) GetAWSEC2EC2FleetWithName(name string) (*resources.AWSEC2EC2Fleet, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2EC2Fleet:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2EC2Fleet not found", name)
} | go | {
"resource": ""
} |
q35109 | GetAllAWSEC2EIPResources | train | func (t *Template) GetAllAWSEC2EIPResources() map[string]*resources.AWSEC2EIP {
results := map[string]*resources.AWSEC2EIP{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2EIP:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35110 | GetAWSEC2EIPWithName | train | func (t *Template) GetAWSEC2EIPWithName(name string) (*resources.AWSEC2EIP, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2EIP:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2EIP not found", name)
} | go | {
"resource": ""
} |
q35111 | GetAllAWSEC2EIPAssociationResources | train | func (t *Template) GetAllAWSEC2EIPAssociationResources() map[string]*resources.AWSEC2EIPAssociation {
results := map[string]*resources.AWSEC2EIPAssociation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2EIPAssociation:
results[name] = resource
}
}
retur... | go | {
"resource": ""
} |
q35112 | GetAWSEC2EIPAssociationWithName | train | func (t *Template) GetAWSEC2EIPAssociationWithName(name string) (*resources.AWSEC2EIPAssociation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2EIPAssociation:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2EIPAssocia... | go | {
"resource": ""
} |
q35113 | GetAllAWSEC2EgressOnlyInternetGatewayResources | train | func (t *Template) GetAllAWSEC2EgressOnlyInternetGatewayResources() map[string]*resources.AWSEC2EgressOnlyInternetGateway {
results := map[string]*resources.AWSEC2EgressOnlyInternetGateway{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2EgressOnlyInternetGatewa... | go | {
"resource": ""
} |
q35114 | GetAWSEC2EgressOnlyInternetGatewayWithName | train | func (t *Template) GetAWSEC2EgressOnlyInternetGatewayWithName(name string) (*resources.AWSEC2EgressOnlyInternetGateway, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2EgressOnlyInternetGateway:
return resource, nil
}
}
return nil, fmt.Errorf("res... | go | {
"resource": ""
} |
q35115 | GetAllAWSEC2FlowLogResources | train | func (t *Template) GetAllAWSEC2FlowLogResources() map[string]*resources.AWSEC2FlowLog {
results := map[string]*resources.AWSEC2FlowLog{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2FlowLog:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35116 | GetAWSEC2FlowLogWithName | train | func (t *Template) GetAWSEC2FlowLogWithName(name string) (*resources.AWSEC2FlowLog, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2FlowLog:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2FlowLog not found", name)
} | go | {
"resource": ""
} |
q35117 | GetAllAWSEC2HostResources | train | func (t *Template) GetAllAWSEC2HostResources() map[string]*resources.AWSEC2Host {
results := map[string]*resources.AWSEC2Host{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2Host:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35118 | GetAWSEC2HostWithName | train | func (t *Template) GetAWSEC2HostWithName(name string) (*resources.AWSEC2Host, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2Host:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2Host not found", name)
} | go | {
"resource": ""
} |
q35119 | GetAllAWSEC2InstanceResources | train | func (t *Template) GetAllAWSEC2InstanceResources() map[string]*resources.AWSEC2Instance {
results := map[string]*resources.AWSEC2Instance{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2Instance:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35120 | GetAWSEC2InstanceWithName | train | func (t *Template) GetAWSEC2InstanceWithName(name string) (*resources.AWSEC2Instance, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2Instance:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2Instance not found", name)
} | go | {
"resource": ""
} |
q35121 | GetAllAWSEC2InternetGatewayResources | train | func (t *Template) GetAllAWSEC2InternetGatewayResources() map[string]*resources.AWSEC2InternetGateway {
results := map[string]*resources.AWSEC2InternetGateway{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2InternetGateway:
results[name] = resource
}
}
r... | go | {
"resource": ""
} |
q35122 | GetAWSEC2InternetGatewayWithName | train | func (t *Template) GetAWSEC2InternetGatewayWithName(name string) (*resources.AWSEC2InternetGateway, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2InternetGateway:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2Interne... | go | {
"resource": ""
} |
q35123 | GetAllAWSEC2LaunchTemplateResources | train | func (t *Template) GetAllAWSEC2LaunchTemplateResources() map[string]*resources.AWSEC2LaunchTemplate {
results := map[string]*resources.AWSEC2LaunchTemplate{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2LaunchTemplate:
results[name] = resource
}
}
retur... | go | {
"resource": ""
} |
q35124 | GetAWSEC2LaunchTemplateWithName | train | func (t *Template) GetAWSEC2LaunchTemplateWithName(name string) (*resources.AWSEC2LaunchTemplate, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2LaunchTemplate:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2LaunchTemp... | go | {
"resource": ""
} |
q35125 | GetAllAWSEC2NatGatewayResources | train | func (t *Template) GetAllAWSEC2NatGatewayResources() map[string]*resources.AWSEC2NatGateway {
results := map[string]*resources.AWSEC2NatGateway{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2NatGateway:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35126 | GetAWSEC2NatGatewayWithName | train | func (t *Template) GetAWSEC2NatGatewayWithName(name string) (*resources.AWSEC2NatGateway, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2NatGateway:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2NatGateway not found",... | go | {
"resource": ""
} |
q35127 | GetAllAWSEC2NetworkAclResources | train | func (t *Template) GetAllAWSEC2NetworkAclResources() map[string]*resources.AWSEC2NetworkAcl {
results := map[string]*resources.AWSEC2NetworkAcl{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2NetworkAcl:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35128 | GetAWSEC2NetworkAclWithName | train | func (t *Template) GetAWSEC2NetworkAclWithName(name string) (*resources.AWSEC2NetworkAcl, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2NetworkAcl:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2NetworkAcl not found",... | go | {
"resource": ""
} |
q35129 | GetAllAWSEC2NetworkAclEntryResources | train | func (t *Template) GetAllAWSEC2NetworkAclEntryResources() map[string]*resources.AWSEC2NetworkAclEntry {
results := map[string]*resources.AWSEC2NetworkAclEntry{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2NetworkAclEntry:
results[name] = resource
}
}
r... | go | {
"resource": ""
} |
q35130 | GetAWSEC2NetworkAclEntryWithName | train | func (t *Template) GetAWSEC2NetworkAclEntryWithName(name string) (*resources.AWSEC2NetworkAclEntry, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2NetworkAclEntry:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2Network... | go | {
"resource": ""
} |
q35131 | GetAllAWSEC2NetworkInterfaceResources | train | func (t *Template) GetAllAWSEC2NetworkInterfaceResources() map[string]*resources.AWSEC2NetworkInterface {
results := map[string]*resources.AWSEC2NetworkInterface{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2NetworkInterface:
results[name] = resource
}
... | go | {
"resource": ""
} |
q35132 | GetAWSEC2NetworkInterfaceWithName | train | func (t *Template) GetAWSEC2NetworkInterfaceWithName(name string) (*resources.AWSEC2NetworkInterface, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2NetworkInterface:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2Netw... | go | {
"resource": ""
} |
q35133 | GetAllAWSEC2NetworkInterfaceAttachmentResources | train | func (t *Template) GetAllAWSEC2NetworkInterfaceAttachmentResources() map[string]*resources.AWSEC2NetworkInterfaceAttachment {
results := map[string]*resources.AWSEC2NetworkInterfaceAttachment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2NetworkInterfaceAttac... | go | {
"resource": ""
} |
q35134 | GetAWSEC2NetworkInterfaceAttachmentWithName | train | func (t *Template) GetAWSEC2NetworkInterfaceAttachmentWithName(name string) (*resources.AWSEC2NetworkInterfaceAttachment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2NetworkInterfaceAttachment:
return resource, nil
}
}
return nil, fmt.Errorf("... | go | {
"resource": ""
} |
q35135 | GetAllAWSEC2NetworkInterfacePermissionResources | train | func (t *Template) GetAllAWSEC2NetworkInterfacePermissionResources() map[string]*resources.AWSEC2NetworkInterfacePermission {
results := map[string]*resources.AWSEC2NetworkInterfacePermission{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2NetworkInterfacePermi... | go | {
"resource": ""
} |
q35136 | GetAWSEC2NetworkInterfacePermissionWithName | train | func (t *Template) GetAWSEC2NetworkInterfacePermissionWithName(name string) (*resources.AWSEC2NetworkInterfacePermission, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2NetworkInterfacePermission:
return resource, nil
}
}
return nil, fmt.Errorf("... | go | {
"resource": ""
} |
q35137 | GetAllAWSEC2PlacementGroupResources | train | func (t *Template) GetAllAWSEC2PlacementGroupResources() map[string]*resources.AWSEC2PlacementGroup {
results := map[string]*resources.AWSEC2PlacementGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2PlacementGroup:
results[name] = resource
}
}
retur... | go | {
"resource": ""
} |
q35138 | GetAWSEC2PlacementGroupWithName | train | func (t *Template) GetAWSEC2PlacementGroupWithName(name string) (*resources.AWSEC2PlacementGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2PlacementGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2PlacementG... | go | {
"resource": ""
} |
q35139 | GetAllAWSEC2RouteResources | train | func (t *Template) GetAllAWSEC2RouteResources() map[string]*resources.AWSEC2Route {
results := map[string]*resources.AWSEC2Route{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2Route:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35140 | GetAWSEC2RouteWithName | train | func (t *Template) GetAWSEC2RouteWithName(name string) (*resources.AWSEC2Route, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2Route:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2Route not found", name)
} | go | {
"resource": ""
} |
q35141 | GetAllAWSEC2RouteTableResources | train | func (t *Template) GetAllAWSEC2RouteTableResources() map[string]*resources.AWSEC2RouteTable {
results := map[string]*resources.AWSEC2RouteTable{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2RouteTable:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35142 | GetAWSEC2RouteTableWithName | train | func (t *Template) GetAWSEC2RouteTableWithName(name string) (*resources.AWSEC2RouteTable, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2RouteTable:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2RouteTable not found",... | go | {
"resource": ""
} |
q35143 | GetAllAWSEC2SecurityGroupResources | train | func (t *Template) GetAllAWSEC2SecurityGroupResources() map[string]*resources.AWSEC2SecurityGroup {
results := map[string]*resources.AWSEC2SecurityGroup{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2SecurityGroup:
results[name] = resource
}
}
return re... | go | {
"resource": ""
} |
q35144 | GetAWSEC2SecurityGroupWithName | train | func (t *Template) GetAWSEC2SecurityGroupWithName(name string) (*resources.AWSEC2SecurityGroup, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2SecurityGroup:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2SecurityGroup... | go | {
"resource": ""
} |
q35145 | GetAllAWSEC2SecurityGroupEgressResources | train | func (t *Template) GetAllAWSEC2SecurityGroupEgressResources() map[string]*resources.AWSEC2SecurityGroupEgress {
results := map[string]*resources.AWSEC2SecurityGroupEgress{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2SecurityGroupEgress:
results[name] = re... | go | {
"resource": ""
} |
q35146 | GetAWSEC2SecurityGroupEgressWithName | train | func (t *Template) GetAWSEC2SecurityGroupEgressWithName(name string) (*resources.AWSEC2SecurityGroupEgress, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2SecurityGroupEgress:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type A... | go | {
"resource": ""
} |
q35147 | GetAllAWSEC2SecurityGroupIngressResources | train | func (t *Template) GetAllAWSEC2SecurityGroupIngressResources() map[string]*resources.AWSEC2SecurityGroupIngress {
results := map[string]*resources.AWSEC2SecurityGroupIngress{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2SecurityGroupIngress:
results[name] ... | go | {
"resource": ""
} |
q35148 | GetAWSEC2SecurityGroupIngressWithName | train | func (t *Template) GetAWSEC2SecurityGroupIngressWithName(name string) (*resources.AWSEC2SecurityGroupIngress, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2SecurityGroupIngress:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of typ... | go | {
"resource": ""
} |
q35149 | GetAllAWSEC2SpotFleetResources | train | func (t *Template) GetAllAWSEC2SpotFleetResources() map[string]*resources.AWSEC2SpotFleet {
results := map[string]*resources.AWSEC2SpotFleet{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2SpotFleet:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35150 | GetAWSEC2SpotFleetWithName | train | func (t *Template) GetAWSEC2SpotFleetWithName(name string) (*resources.AWSEC2SpotFleet, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2SpotFleet:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2SpotFleet not found", nam... | go | {
"resource": ""
} |
q35151 | GetAllAWSEC2SubnetResources | train | func (t *Template) GetAllAWSEC2SubnetResources() map[string]*resources.AWSEC2Subnet {
results := map[string]*resources.AWSEC2Subnet{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2Subnet:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35152 | GetAWSEC2SubnetWithName | train | func (t *Template) GetAWSEC2SubnetWithName(name string) (*resources.AWSEC2Subnet, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2Subnet:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2Subnet not found", name)
} | go | {
"resource": ""
} |
q35153 | GetAllAWSEC2SubnetCidrBlockResources | train | func (t *Template) GetAllAWSEC2SubnetCidrBlockResources() map[string]*resources.AWSEC2SubnetCidrBlock {
results := map[string]*resources.AWSEC2SubnetCidrBlock{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2SubnetCidrBlock:
results[name] = resource
}
}
r... | go | {
"resource": ""
} |
q35154 | GetAWSEC2SubnetCidrBlockWithName | train | func (t *Template) GetAWSEC2SubnetCidrBlockWithName(name string) (*resources.AWSEC2SubnetCidrBlock, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2SubnetCidrBlock:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2SubnetC... | go | {
"resource": ""
} |
q35155 | GetAllAWSEC2SubnetNetworkAclAssociationResources | train | func (t *Template) GetAllAWSEC2SubnetNetworkAclAssociationResources() map[string]*resources.AWSEC2SubnetNetworkAclAssociation {
results := map[string]*resources.AWSEC2SubnetNetworkAclAssociation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2SubnetNetworkAclAs... | go | {
"resource": ""
} |
q35156 | GetAWSEC2SubnetNetworkAclAssociationWithName | train | func (t *Template) GetAWSEC2SubnetNetworkAclAssociationWithName(name string) (*resources.AWSEC2SubnetNetworkAclAssociation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2SubnetNetworkAclAssociation:
return resource, nil
}
}
return nil, fmt.Error... | go | {
"resource": ""
} |
q35157 | GetAllAWSEC2SubnetRouteTableAssociationResources | train | func (t *Template) GetAllAWSEC2SubnetRouteTableAssociationResources() map[string]*resources.AWSEC2SubnetRouteTableAssociation {
results := map[string]*resources.AWSEC2SubnetRouteTableAssociation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2SubnetRouteTableAs... | go | {
"resource": ""
} |
q35158 | GetAWSEC2SubnetRouteTableAssociationWithName | train | func (t *Template) GetAWSEC2SubnetRouteTableAssociationWithName(name string) (*resources.AWSEC2SubnetRouteTableAssociation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2SubnetRouteTableAssociation:
return resource, nil
}
}
return nil, fmt.Error... | go | {
"resource": ""
} |
q35159 | GetAllAWSEC2TransitGatewayResources | train | func (t *Template) GetAllAWSEC2TransitGatewayResources() map[string]*resources.AWSEC2TransitGateway {
results := map[string]*resources.AWSEC2TransitGateway{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2TransitGateway:
results[name] = resource
}
}
retur... | go | {
"resource": ""
} |
q35160 | GetAWSEC2TransitGatewayWithName | train | func (t *Template) GetAWSEC2TransitGatewayWithName(name string) (*resources.AWSEC2TransitGateway, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2TransitGateway:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2TransitGat... | go | {
"resource": ""
} |
q35161 | GetAllAWSEC2TransitGatewayAttachmentResources | train | func (t *Template) GetAllAWSEC2TransitGatewayAttachmentResources() map[string]*resources.AWSEC2TransitGatewayAttachment {
results := map[string]*resources.AWSEC2TransitGatewayAttachment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2TransitGatewayAttachment:
... | go | {
"resource": ""
} |
q35162 | GetAWSEC2TransitGatewayAttachmentWithName | train | func (t *Template) GetAWSEC2TransitGatewayAttachmentWithName(name string) (*resources.AWSEC2TransitGatewayAttachment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2TransitGatewayAttachment:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | go | {
"resource": ""
} |
q35163 | GetAllAWSEC2TransitGatewayRouteResources | train | func (t *Template) GetAllAWSEC2TransitGatewayRouteResources() map[string]*resources.AWSEC2TransitGatewayRoute {
results := map[string]*resources.AWSEC2TransitGatewayRoute{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2TransitGatewayRoute:
results[name] = re... | go | {
"resource": ""
} |
q35164 | GetAWSEC2TransitGatewayRouteWithName | train | func (t *Template) GetAWSEC2TransitGatewayRouteWithName(name string) (*resources.AWSEC2TransitGatewayRoute, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2TransitGatewayRoute:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type A... | go | {
"resource": ""
} |
q35165 | GetAllAWSEC2TransitGatewayRouteTableResources | train | func (t *Template) GetAllAWSEC2TransitGatewayRouteTableResources() map[string]*resources.AWSEC2TransitGatewayRouteTable {
results := map[string]*resources.AWSEC2TransitGatewayRouteTable{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2TransitGatewayRouteTable:
... | go | {
"resource": ""
} |
q35166 | GetAWSEC2TransitGatewayRouteTableWithName | train | func (t *Template) GetAWSEC2TransitGatewayRouteTableWithName(name string) (*resources.AWSEC2TransitGatewayRouteTable, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2TransitGatewayRouteTable:
return resource, nil
}
}
return nil, fmt.Errorf("resour... | go | {
"resource": ""
} |
q35167 | GetAllAWSEC2TransitGatewayRouteTableAssociationResources | train | func (t *Template) GetAllAWSEC2TransitGatewayRouteTableAssociationResources() map[string]*resources.AWSEC2TransitGatewayRouteTableAssociation {
results := map[string]*resources.AWSEC2TransitGatewayRouteTableAssociation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.... | go | {
"resource": ""
} |
q35168 | GetAWSEC2TransitGatewayRouteTableAssociationWithName | train | func (t *Template) GetAWSEC2TransitGatewayRouteTableAssociationWithName(name string) (*resources.AWSEC2TransitGatewayRouteTableAssociation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2TransitGatewayRouteTableAssociation:
return resource, nil
}
... | go | {
"resource": ""
} |
q35169 | GetAllAWSEC2TransitGatewayRouteTablePropagationResources | train | func (t *Template) GetAllAWSEC2TransitGatewayRouteTablePropagationResources() map[string]*resources.AWSEC2TransitGatewayRouteTablePropagation {
results := map[string]*resources.AWSEC2TransitGatewayRouteTablePropagation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.... | go | {
"resource": ""
} |
q35170 | GetAWSEC2TransitGatewayRouteTablePropagationWithName | train | func (t *Template) GetAWSEC2TransitGatewayRouteTablePropagationWithName(name string) (*resources.AWSEC2TransitGatewayRouteTablePropagation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2TransitGatewayRouteTablePropagation:
return resource, nil
}
... | go | {
"resource": ""
} |
q35171 | GetAllAWSEC2TrunkInterfaceAssociationResources | train | func (t *Template) GetAllAWSEC2TrunkInterfaceAssociationResources() map[string]*resources.AWSEC2TrunkInterfaceAssociation {
results := map[string]*resources.AWSEC2TrunkInterfaceAssociation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2TrunkInterfaceAssociatio... | go | {
"resource": ""
} |
q35172 | GetAWSEC2TrunkInterfaceAssociationWithName | train | func (t *Template) GetAWSEC2TrunkInterfaceAssociationWithName(name string) (*resources.AWSEC2TrunkInterfaceAssociation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2TrunkInterfaceAssociation:
return resource, nil
}
}
return nil, fmt.Errorf("res... | go | {
"resource": ""
} |
q35173 | GetAllAWSEC2VPCResources | train | func (t *Template) GetAllAWSEC2VPCResources() map[string]*resources.AWSEC2VPC {
results := map[string]*resources.AWSEC2VPC{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2VPC:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35174 | GetAWSEC2VPCWithName | train | func (t *Template) GetAWSEC2VPCWithName(name string) (*resources.AWSEC2VPC, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2VPC:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2VPC not found", name)
} | go | {
"resource": ""
} |
q35175 | GetAllAWSEC2VPCCidrBlockResources | train | func (t *Template) GetAllAWSEC2VPCCidrBlockResources() map[string]*resources.AWSEC2VPCCidrBlock {
results := map[string]*resources.AWSEC2VPCCidrBlock{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2VPCCidrBlock:
results[name] = resource
}
}
return result... | go | {
"resource": ""
} |
q35176 | GetAWSEC2VPCCidrBlockWithName | train | func (t *Template) GetAWSEC2VPCCidrBlockWithName(name string) (*resources.AWSEC2VPCCidrBlock, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2VPCCidrBlock:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2VPCCidrBlock not... | go | {
"resource": ""
} |
q35177 | GetAllAWSEC2VPCDHCPOptionsAssociationResources | train | func (t *Template) GetAllAWSEC2VPCDHCPOptionsAssociationResources() map[string]*resources.AWSEC2VPCDHCPOptionsAssociation {
results := map[string]*resources.AWSEC2VPCDHCPOptionsAssociation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2VPCDHCPOptionsAssociatio... | go | {
"resource": ""
} |
q35178 | GetAWSEC2VPCDHCPOptionsAssociationWithName | train | func (t *Template) GetAWSEC2VPCDHCPOptionsAssociationWithName(name string) (*resources.AWSEC2VPCDHCPOptionsAssociation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2VPCDHCPOptionsAssociation:
return resource, nil
}
}
return nil, fmt.Errorf("res... | go | {
"resource": ""
} |
q35179 | GetAllAWSEC2VPCEndpointResources | train | func (t *Template) GetAllAWSEC2VPCEndpointResources() map[string]*resources.AWSEC2VPCEndpoint {
results := map[string]*resources.AWSEC2VPCEndpoint{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2VPCEndpoint:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35180 | GetAWSEC2VPCEndpointWithName | train | func (t *Template) GetAWSEC2VPCEndpointWithName(name string) (*resources.AWSEC2VPCEndpoint, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2VPCEndpoint:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2VPCEndpoint not fou... | go | {
"resource": ""
} |
q35181 | GetAllAWSEC2VPCEndpointConnectionNotificationResources | train | func (t *Template) GetAllAWSEC2VPCEndpointConnectionNotificationResources() map[string]*resources.AWSEC2VPCEndpointConnectionNotification {
results := map[string]*resources.AWSEC2VPCEndpointConnectionNotification{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2... | go | {
"resource": ""
} |
q35182 | GetAWSEC2VPCEndpointConnectionNotificationWithName | train | func (t *Template) GetAWSEC2VPCEndpointConnectionNotificationWithName(name string) (*resources.AWSEC2VPCEndpointConnectionNotification, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2VPCEndpointConnectionNotification:
return resource, nil
}
}
ret... | go | {
"resource": ""
} |
q35183 | GetAllAWSEC2VPCEndpointServicePermissionsResources | train | func (t *Template) GetAllAWSEC2VPCEndpointServicePermissionsResources() map[string]*resources.AWSEC2VPCEndpointServicePermissions {
results := map[string]*resources.AWSEC2VPCEndpointServicePermissions{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2VPCEndpointS... | go | {
"resource": ""
} |
q35184 | GetAWSEC2VPCEndpointServicePermissionsWithName | train | func (t *Template) GetAWSEC2VPCEndpointServicePermissionsWithName(name string) (*resources.AWSEC2VPCEndpointServicePermissions, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2VPCEndpointServicePermissions:
return resource, nil
}
}
return nil, fmt... | go | {
"resource": ""
} |
q35185 | GetAllAWSEC2VPCGatewayAttachmentResources | train | func (t *Template) GetAllAWSEC2VPCGatewayAttachmentResources() map[string]*resources.AWSEC2VPCGatewayAttachment {
results := map[string]*resources.AWSEC2VPCGatewayAttachment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2VPCGatewayAttachment:
results[name] ... | go | {
"resource": ""
} |
q35186 | GetAWSEC2VPCGatewayAttachmentWithName | train | func (t *Template) GetAWSEC2VPCGatewayAttachmentWithName(name string) (*resources.AWSEC2VPCGatewayAttachment, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2VPCGatewayAttachment:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of typ... | go | {
"resource": ""
} |
q35187 | GetAllAWSEC2VPCPeeringConnectionResources | train | func (t *Template) GetAllAWSEC2VPCPeeringConnectionResources() map[string]*resources.AWSEC2VPCPeeringConnection {
results := map[string]*resources.AWSEC2VPCPeeringConnection{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2VPCPeeringConnection:
results[name] ... | go | {
"resource": ""
} |
q35188 | GetAWSEC2VPCPeeringConnectionWithName | train | func (t *Template) GetAWSEC2VPCPeeringConnectionWithName(name string) (*resources.AWSEC2VPCPeeringConnection, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2VPCPeeringConnection:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of typ... | go | {
"resource": ""
} |
q35189 | GetAllAWSEC2VPNConnectionResources | train | func (t *Template) GetAllAWSEC2VPNConnectionResources() map[string]*resources.AWSEC2VPNConnection {
results := map[string]*resources.AWSEC2VPNConnection{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2VPNConnection:
results[name] = resource
}
}
return re... | go | {
"resource": ""
} |
q35190 | GetAWSEC2VPNConnectionWithName | train | func (t *Template) GetAWSEC2VPNConnectionWithName(name string) (*resources.AWSEC2VPNConnection, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2VPNConnection:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2VPNConnection... | go | {
"resource": ""
} |
q35191 | GetAllAWSEC2VPNConnectionRouteResources | train | func (t *Template) GetAllAWSEC2VPNConnectionRouteResources() map[string]*resources.AWSEC2VPNConnectionRoute {
results := map[string]*resources.AWSEC2VPNConnectionRoute{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2VPNConnectionRoute:
results[name] = resour... | go | {
"resource": ""
} |
q35192 | GetAWSEC2VPNConnectionRouteWithName | train | func (t *Template) GetAWSEC2VPNConnectionRouteWithName(name string) (*resources.AWSEC2VPNConnectionRoute, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2VPNConnectionRoute:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSE... | go | {
"resource": ""
} |
q35193 | GetAllAWSEC2VPNGatewayResources | train | func (t *Template) GetAllAWSEC2VPNGatewayResources() map[string]*resources.AWSEC2VPNGateway {
results := map[string]*resources.AWSEC2VPNGateway{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2VPNGateway:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35194 | GetAWSEC2VPNGatewayWithName | train | func (t *Template) GetAWSEC2VPNGatewayWithName(name string) (*resources.AWSEC2VPNGateway, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2VPNGateway:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2VPNGateway not found",... | go | {
"resource": ""
} |
q35195 | GetAllAWSEC2VPNGatewayRoutePropagationResources | train | func (t *Template) GetAllAWSEC2VPNGatewayRoutePropagationResources() map[string]*resources.AWSEC2VPNGatewayRoutePropagation {
results := map[string]*resources.AWSEC2VPNGatewayRoutePropagation{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2VPNGatewayRoutePropag... | go | {
"resource": ""
} |
q35196 | GetAWSEC2VPNGatewayRoutePropagationWithName | train | func (t *Template) GetAWSEC2VPNGatewayRoutePropagationWithName(name string) (*resources.AWSEC2VPNGatewayRoutePropagation, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2VPNGatewayRoutePropagation:
return resource, nil
}
}
return nil, fmt.Errorf("... | go | {
"resource": ""
} |
q35197 | GetAllAWSEC2VolumeResources | train | func (t *Template) GetAllAWSEC2VolumeResources() map[string]*resources.AWSEC2Volume {
results := map[string]*resources.AWSEC2Volume{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2Volume:
results[name] = resource
}
}
return results
} | go | {
"resource": ""
} |
q35198 | GetAWSEC2VolumeWithName | train | func (t *Template) GetAWSEC2VolumeWithName(name string) (*resources.AWSEC2Volume, error) {
if untyped, ok := t.Resources[name]; ok {
switch resource := untyped.(type) {
case *resources.AWSEC2Volume:
return resource, nil
}
}
return nil, fmt.Errorf("resource %q of type AWSEC2Volume not found", name)
} | go | {
"resource": ""
} |
q35199 | GetAllAWSEC2VolumeAttachmentResources | train | func (t *Template) GetAllAWSEC2VolumeAttachmentResources() map[string]*resources.AWSEC2VolumeAttachment {
results := map[string]*resources.AWSEC2VolumeAttachment{}
for name, untyped := range t.Resources {
switch resource := untyped.(type) {
case *resources.AWSEC2VolumeAttachment:
results[name] = resource
}
... | go | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.