aws-sdk-ec2 1.485.0 → 1.486.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +256 -19
- data/lib/aws-sdk-ec2/client_api.rb +98 -0
- data/lib/aws-sdk-ec2/resource.rb +12 -7
- data/lib/aws-sdk-ec2/security_group.rb +6 -0
- data/lib/aws-sdk-ec2/subnet.rb +12 -7
- data/lib/aws-sdk-ec2/types.rb +316 -21
- data/lib/aws-sdk-ec2/vpc.rb +6 -6
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +46 -0
- data/sig/security_group.rbs +3 -0
- data/sig/types.rbs +67 -0
- metadata +2 -2
@@ -150,6 +150,8 @@ module Aws::EC2
|
|
150
150
|
AssociateNatGatewayAddressResult = Shapes::StructureShape.new(name: 'AssociateNatGatewayAddressResult')
|
151
151
|
AssociateRouteTableRequest = Shapes::StructureShape.new(name: 'AssociateRouteTableRequest')
|
152
152
|
AssociateRouteTableResult = Shapes::StructureShape.new(name: 'AssociateRouteTableResult')
|
153
|
+
AssociateSecurityGroupVpcRequest = Shapes::StructureShape.new(name: 'AssociateSecurityGroupVpcRequest')
|
154
|
+
AssociateSecurityGroupVpcResult = Shapes::StructureShape.new(name: 'AssociateSecurityGroupVpcResult')
|
153
155
|
AssociateSubnetCidrBlockRequest = Shapes::StructureShape.new(name: 'AssociateSubnetCidrBlockRequest')
|
154
156
|
AssociateSubnetCidrBlockResult = Shapes::StructureShape.new(name: 'AssociateSubnetCidrBlockResult')
|
155
157
|
AssociateTransitGatewayMulticastDomainRequest = Shapes::StructureShape.new(name: 'AssociateTransitGatewayMulticastDomainRequest')
|
@@ -1031,6 +1033,9 @@ module Aws::EC2
|
|
1031
1033
|
DescribeSecurityGroupRulesMaxResults = Shapes::IntegerShape.new(name: 'DescribeSecurityGroupRulesMaxResults')
|
1032
1034
|
DescribeSecurityGroupRulesRequest = Shapes::StructureShape.new(name: 'DescribeSecurityGroupRulesRequest')
|
1033
1035
|
DescribeSecurityGroupRulesResult = Shapes::StructureShape.new(name: 'DescribeSecurityGroupRulesResult')
|
1036
|
+
DescribeSecurityGroupVpcAssociationsMaxResults = Shapes::IntegerShape.new(name: 'DescribeSecurityGroupVpcAssociationsMaxResults')
|
1037
|
+
DescribeSecurityGroupVpcAssociationsRequest = Shapes::StructureShape.new(name: 'DescribeSecurityGroupVpcAssociationsRequest')
|
1038
|
+
DescribeSecurityGroupVpcAssociationsResult = Shapes::StructureShape.new(name: 'DescribeSecurityGroupVpcAssociationsResult')
|
1034
1039
|
DescribeSecurityGroupsMaxResults = Shapes::IntegerShape.new(name: 'DescribeSecurityGroupsMaxResults')
|
1035
1040
|
DescribeSecurityGroupsRequest = Shapes::StructureShape.new(name: 'DescribeSecurityGroupsRequest')
|
1036
1041
|
DescribeSecurityGroupsResult = Shapes::StructureShape.new(name: 'DescribeSecurityGroupsResult')
|
@@ -1230,6 +1235,9 @@ module Aws::EC2
|
|
1230
1235
|
DisassociateNatGatewayAddressRequest = Shapes::StructureShape.new(name: 'DisassociateNatGatewayAddressRequest')
|
1231
1236
|
DisassociateNatGatewayAddressResult = Shapes::StructureShape.new(name: 'DisassociateNatGatewayAddressResult')
|
1232
1237
|
DisassociateRouteTableRequest = Shapes::StructureShape.new(name: 'DisassociateRouteTableRequest')
|
1238
|
+
DisassociateSecurityGroupVpcRequest = Shapes::StructureShape.new(name: 'DisassociateSecurityGroupVpcRequest')
|
1239
|
+
DisassociateSecurityGroupVpcResult = Shapes::StructureShape.new(name: 'DisassociateSecurityGroupVpcResult')
|
1240
|
+
DisassociateSecurityGroupVpcSecurityGroupId = Shapes::StringShape.new(name: 'DisassociateSecurityGroupVpcSecurityGroupId')
|
1233
1241
|
DisassociateSubnetCidrBlockRequest = Shapes::StructureShape.new(name: 'DisassociateSubnetCidrBlockRequest')
|
1234
1242
|
DisassociateSubnetCidrBlockResult = Shapes::StructureShape.new(name: 'DisassociateSubnetCidrBlockResult')
|
1235
1243
|
DisassociateTransitGatewayMulticastDomainRequest = Shapes::StructureShape.new(name: 'DisassociateTransitGatewayMulticastDomainRequest')
|
@@ -2670,6 +2678,8 @@ module Aws::EC2
|
|
2670
2678
|
RevokeSecurityGroupEgressResult = Shapes::StructureShape.new(name: 'RevokeSecurityGroupEgressResult')
|
2671
2679
|
RevokeSecurityGroupIngressRequest = Shapes::StructureShape.new(name: 'RevokeSecurityGroupIngressRequest')
|
2672
2680
|
RevokeSecurityGroupIngressResult = Shapes::StructureShape.new(name: 'RevokeSecurityGroupIngressResult')
|
2681
|
+
RevokedSecurityGroupRule = Shapes::StructureShape.new(name: 'RevokedSecurityGroupRule')
|
2682
|
+
RevokedSecurityGroupRuleList = Shapes::ListShape.new(name: 'RevokedSecurityGroupRuleList')
|
2673
2683
|
RoleId = Shapes::StringShape.new(name: 'RoleId')
|
2674
2684
|
RootDeviceType = Shapes::StringShape.new(name: 'RootDeviceType')
|
2675
2685
|
RootDeviceTypeList = Shapes::ListShape.new(name: 'RootDeviceTypeList')
|
@@ -2756,6 +2766,9 @@ module Aws::EC2
|
|
2756
2766
|
SecurityGroupRuleUpdate = Shapes::StructureShape.new(name: 'SecurityGroupRuleUpdate')
|
2757
2767
|
SecurityGroupRuleUpdateList = Shapes::ListShape.new(name: 'SecurityGroupRuleUpdateList')
|
2758
2768
|
SecurityGroupStringList = Shapes::ListShape.new(name: 'SecurityGroupStringList')
|
2769
|
+
SecurityGroupVpcAssociation = Shapes::StructureShape.new(name: 'SecurityGroupVpcAssociation')
|
2770
|
+
SecurityGroupVpcAssociationList = Shapes::ListShape.new(name: 'SecurityGroupVpcAssociationList')
|
2771
|
+
SecurityGroupVpcAssociationState = Shapes::StringShape.new(name: 'SecurityGroupVpcAssociationState')
|
2759
2772
|
SelfServicePortal = Shapes::StringShape.new(name: 'SelfServicePortal')
|
2760
2773
|
SendDiagnosticInterruptRequest = Shapes::StructureShape.new(name: 'SendDiagnosticInterruptRequest')
|
2761
2774
|
SensitiveUrl = Shapes::StringShape.new(name: 'SensitiveUrl')
|
@@ -3746,6 +3759,14 @@ module Aws::EC2
|
|
3746
3759
|
AssociateRouteTableResult.add_member(:association_state, Shapes::ShapeRef.new(shape: RouteTableAssociationState, location_name: "associationState"))
|
3747
3760
|
AssociateRouteTableResult.struct_class = Types::AssociateRouteTableResult
|
3748
3761
|
|
3762
|
+
AssociateSecurityGroupVpcRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, required: true, location_name: "GroupId"))
|
3763
|
+
AssociateSecurityGroupVpcRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
3764
|
+
AssociateSecurityGroupVpcRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3765
|
+
AssociateSecurityGroupVpcRequest.struct_class = Types::AssociateSecurityGroupVpcRequest
|
3766
|
+
|
3767
|
+
AssociateSecurityGroupVpcResult.add_member(:state, Shapes::ShapeRef.new(shape: SecurityGroupVpcAssociationState, location_name: "state"))
|
3768
|
+
AssociateSecurityGroupVpcResult.struct_class = Types::AssociateSecurityGroupVpcResult
|
3769
|
+
|
3749
3770
|
AssociateSubnetCidrBlockRequest.add_member(:ipv_6_ipam_pool_id, Shapes::ShapeRef.new(shape: IpamPoolId, location_name: "Ipv6IpamPoolId"))
|
3750
3771
|
AssociateSubnetCidrBlockRequest.add_member(:ipv_6_netmask_length, Shapes::ShapeRef.new(shape: NetmaskLength, location_name: "Ipv6NetmaskLength"))
|
3751
3772
|
AssociateSubnetCidrBlockRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
|
@@ -5214,6 +5235,7 @@ module Aws::EC2
|
|
5214
5235
|
|
5215
5236
|
CreateSecurityGroupResult.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
|
5216
5237
|
CreateSecurityGroupResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
5238
|
+
CreateSecurityGroupResult.add_member(:security_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "securityGroupArn"))
|
5217
5239
|
CreateSecurityGroupResult.struct_class = Types::CreateSecurityGroupResult
|
5218
5240
|
|
5219
5241
|
CreateSnapshotRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
@@ -7472,6 +7494,16 @@ module Aws::EC2
|
|
7472
7494
|
DescribeSecurityGroupRulesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
7473
7495
|
DescribeSecurityGroupRulesResult.struct_class = Types::DescribeSecurityGroupRulesResult
|
7474
7496
|
|
7497
|
+
DescribeSecurityGroupVpcAssociationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
7498
|
+
DescribeSecurityGroupVpcAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
7499
|
+
DescribeSecurityGroupVpcAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeSecurityGroupVpcAssociationsMaxResults, location_name: "MaxResults"))
|
7500
|
+
DescribeSecurityGroupVpcAssociationsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7501
|
+
DescribeSecurityGroupVpcAssociationsRequest.struct_class = Types::DescribeSecurityGroupVpcAssociationsRequest
|
7502
|
+
|
7503
|
+
DescribeSecurityGroupVpcAssociationsResult.add_member(:security_group_vpc_associations, Shapes::ShapeRef.new(shape: SecurityGroupVpcAssociationList, location_name: "securityGroupVpcAssociationSet"))
|
7504
|
+
DescribeSecurityGroupVpcAssociationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
7505
|
+
DescribeSecurityGroupVpcAssociationsResult.struct_class = Types::DescribeSecurityGroupVpcAssociationsResult
|
7506
|
+
|
7475
7507
|
DescribeSecurityGroupsRequest.add_member(:group_ids, Shapes::ShapeRef.new(shape: GroupIdStringList, location_name: "GroupId"))
|
7476
7508
|
DescribeSecurityGroupsRequest.add_member(:group_names, Shapes::ShapeRef.new(shape: GroupNameStringList, location_name: "GroupName"))
|
7477
7509
|
DescribeSecurityGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
@@ -8329,6 +8361,14 @@ module Aws::EC2
|
|
8329
8361
|
DisassociateRouteTableRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: RouteTableAssociationId, required: true, location_name: "associationId"))
|
8330
8362
|
DisassociateRouteTableRequest.struct_class = Types::DisassociateRouteTableRequest
|
8331
8363
|
|
8364
|
+
DisassociateSecurityGroupVpcRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: DisassociateSecurityGroupVpcSecurityGroupId, required: true, location_name: "GroupId"))
|
8365
|
+
DisassociateSecurityGroupVpcRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpcId"))
|
8366
|
+
DisassociateSecurityGroupVpcRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
8367
|
+
DisassociateSecurityGroupVpcRequest.struct_class = Types::DisassociateSecurityGroupVpcRequest
|
8368
|
+
|
8369
|
+
DisassociateSecurityGroupVpcResult.add_member(:state, Shapes::ShapeRef.new(shape: SecurityGroupVpcAssociationState, location_name: "state"))
|
8370
|
+
DisassociateSecurityGroupVpcResult.struct_class = Types::DisassociateSecurityGroupVpcResult
|
8371
|
+
|
8332
8372
|
DisassociateSubnetCidrBlockRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: SubnetCidrAssociationId, required: true, location_name: "associationId"))
|
8333
8373
|
DisassociateSubnetCidrBlockRequest.struct_class = Types::DisassociateSubnetCidrBlockRequest
|
8334
8374
|
|
@@ -13842,6 +13882,7 @@ module Aws::EC2
|
|
13842
13882
|
|
13843
13883
|
RevokeSecurityGroupEgressResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
13844
13884
|
RevokeSecurityGroupEgressResult.add_member(:unknown_ip_permissions, Shapes::ShapeRef.new(shape: IpPermissionList, location_name: "unknownIpPermissionSet"))
|
13885
|
+
RevokeSecurityGroupEgressResult.add_member(:revoked_security_group_rules, Shapes::ShapeRef.new(shape: RevokedSecurityGroupRuleList, location_name: "revokedSecurityGroupRuleSet"))
|
13845
13886
|
RevokeSecurityGroupEgressResult.struct_class = Types::RevokeSecurityGroupEgressResult
|
13846
13887
|
|
13847
13888
|
RevokeSecurityGroupIngressRequest.add_member(:cidr_ip, Shapes::ShapeRef.new(shape: String, location_name: "CidrIp"))
|
@@ -13859,8 +13900,24 @@ module Aws::EC2
|
|
13859
13900
|
|
13860
13901
|
RevokeSecurityGroupIngressResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
13861
13902
|
RevokeSecurityGroupIngressResult.add_member(:unknown_ip_permissions, Shapes::ShapeRef.new(shape: IpPermissionList, location_name: "unknownIpPermissionSet"))
|
13903
|
+
RevokeSecurityGroupIngressResult.add_member(:revoked_security_group_rules, Shapes::ShapeRef.new(shape: RevokedSecurityGroupRuleList, location_name: "revokedSecurityGroupRuleSet"))
|
13862
13904
|
RevokeSecurityGroupIngressResult.struct_class = Types::RevokeSecurityGroupIngressResult
|
13863
13905
|
|
13906
|
+
RevokedSecurityGroupRule.add_member(:security_group_rule_id, Shapes::ShapeRef.new(shape: SecurityGroupRuleId, location_name: "securityGroupRuleId"))
|
13907
|
+
RevokedSecurityGroupRule.add_member(:group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "groupId"))
|
13908
|
+
RevokedSecurityGroupRule.add_member(:is_egress, Shapes::ShapeRef.new(shape: Boolean, location_name: "isEgress"))
|
13909
|
+
RevokedSecurityGroupRule.add_member(:ip_protocol, Shapes::ShapeRef.new(shape: String, location_name: "ipProtocol"))
|
13910
|
+
RevokedSecurityGroupRule.add_member(:from_port, Shapes::ShapeRef.new(shape: Integer, location_name: "fromPort"))
|
13911
|
+
RevokedSecurityGroupRule.add_member(:to_port, Shapes::ShapeRef.new(shape: Integer, location_name: "toPort"))
|
13912
|
+
RevokedSecurityGroupRule.add_member(:cidr_ipv_4, Shapes::ShapeRef.new(shape: String, location_name: "cidrIpv4"))
|
13913
|
+
RevokedSecurityGroupRule.add_member(:cidr_ipv_6, Shapes::ShapeRef.new(shape: String, location_name: "cidrIpv6"))
|
13914
|
+
RevokedSecurityGroupRule.add_member(:prefix_list_id, Shapes::ShapeRef.new(shape: PrefixListResourceId, location_name: "prefixListId"))
|
13915
|
+
RevokedSecurityGroupRule.add_member(:referenced_group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "referencedGroupId"))
|
13916
|
+
RevokedSecurityGroupRule.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
13917
|
+
RevokedSecurityGroupRule.struct_class = Types::RevokedSecurityGroupRule
|
13918
|
+
|
13919
|
+
RevokedSecurityGroupRuleList.member = Shapes::ShapeRef.new(shape: RevokedSecurityGroupRule, location_name: "item")
|
13920
|
+
|
13864
13921
|
RootDeviceTypeList.member = Shapes::ShapeRef.new(shape: RootDeviceType, location_name: "item")
|
13865
13922
|
|
13866
13923
|
Route.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "destinationCidrBlock"))
|
@@ -14155,6 +14212,7 @@ module Aws::EC2
|
|
14155
14212
|
SecurityGroup.add_member(:ip_permissions_egress, Shapes::ShapeRef.new(shape: IpPermissionList, location_name: "ipPermissionsEgress"))
|
14156
14213
|
SecurityGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
14157
14214
|
SecurityGroup.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
14215
|
+
SecurityGroup.add_member(:security_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "securityGroupArn"))
|
14158
14216
|
SecurityGroup.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
14159
14217
|
SecurityGroup.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
|
14160
14218
|
SecurityGroup.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "groupDescription"))
|
@@ -14206,6 +14264,7 @@ module Aws::EC2
|
|
14206
14264
|
SecurityGroupRule.add_member(:referenced_group_info, Shapes::ShapeRef.new(shape: ReferencedSecurityGroup, location_name: "referencedGroupInfo"))
|
14207
14265
|
SecurityGroupRule.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
14208
14266
|
SecurityGroupRule.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
14267
|
+
SecurityGroupRule.add_member(:security_group_rule_arn, Shapes::ShapeRef.new(shape: String, location_name: "securityGroupRuleArn"))
|
14209
14268
|
SecurityGroupRule.struct_class = Types::SecurityGroupRule
|
14210
14269
|
|
14211
14270
|
SecurityGroupRuleDescription.add_member(:security_group_rule_id, Shapes::ShapeRef.new(shape: String, location_name: "SecurityGroupRuleId"))
|
@@ -14236,6 +14295,15 @@ module Aws::EC2
|
|
14236
14295
|
|
14237
14296
|
SecurityGroupStringList.member = Shapes::ShapeRef.new(shape: SecurityGroupName, location_name: "SecurityGroup")
|
14238
14297
|
|
14298
|
+
SecurityGroupVpcAssociation.add_member(:group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "groupId"))
|
14299
|
+
SecurityGroupVpcAssociation.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "vpcId"))
|
14300
|
+
SecurityGroupVpcAssociation.add_member(:vpc_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcOwnerId"))
|
14301
|
+
SecurityGroupVpcAssociation.add_member(:state, Shapes::ShapeRef.new(shape: SecurityGroupVpcAssociationState, location_name: "state"))
|
14302
|
+
SecurityGroupVpcAssociation.add_member(:state_reason, Shapes::ShapeRef.new(shape: String, location_name: "stateReason"))
|
14303
|
+
SecurityGroupVpcAssociation.struct_class = Types::SecurityGroupVpcAssociation
|
14304
|
+
|
14305
|
+
SecurityGroupVpcAssociationList.member = Shapes::ShapeRef.new(shape: SecurityGroupVpcAssociation, location_name: "item")
|
14306
|
+
|
14239
14307
|
SendDiagnosticInterruptRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
14240
14308
|
SendDiagnosticInterruptRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
14241
14309
|
SendDiagnosticInterruptRequest.struct_class = Types::SendDiagnosticInterruptRequest
|
@@ -16216,6 +16284,14 @@ module Aws::EC2
|
|
16216
16284
|
o.output = Shapes::ShapeRef.new(shape: AssociateRouteTableResult)
|
16217
16285
|
end)
|
16218
16286
|
|
16287
|
+
api.add_operation(:associate_security_group_vpc, Seahorse::Model::Operation.new.tap do |o|
|
16288
|
+
o.name = "AssociateSecurityGroupVpc"
|
16289
|
+
o.http_method = "POST"
|
16290
|
+
o.http_request_uri = "/"
|
16291
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateSecurityGroupVpcRequest)
|
16292
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateSecurityGroupVpcResult)
|
16293
|
+
end)
|
16294
|
+
|
16219
16295
|
api.add_operation(:associate_subnet_cidr_block, Seahorse::Model::Operation.new.tap do |o|
|
16220
16296
|
o.name = "AssociateSubnetCidrBlock"
|
16221
16297
|
o.http_method = "POST"
|
@@ -19071,6 +19147,20 @@ module Aws::EC2
|
|
19071
19147
|
)
|
19072
19148
|
end)
|
19073
19149
|
|
19150
|
+
api.add_operation(:describe_security_group_vpc_associations, Seahorse::Model::Operation.new.tap do |o|
|
19151
|
+
o.name = "DescribeSecurityGroupVpcAssociations"
|
19152
|
+
o.http_method = "POST"
|
19153
|
+
o.http_request_uri = "/"
|
19154
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeSecurityGroupVpcAssociationsRequest)
|
19155
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeSecurityGroupVpcAssociationsResult)
|
19156
|
+
o[:pager] = Aws::Pager.new(
|
19157
|
+
limit_key: "max_results",
|
19158
|
+
tokens: {
|
19159
|
+
"next_token" => "next_token"
|
19160
|
+
}
|
19161
|
+
)
|
19162
|
+
end)
|
19163
|
+
|
19074
19164
|
api.add_operation(:describe_security_groups, Seahorse::Model::Operation.new.tap do |o|
|
19075
19165
|
o.name = "DescribeSecurityGroups"
|
19076
19166
|
o.http_method = "POST"
|
@@ -19975,6 +20065,14 @@ module Aws::EC2
|
|
19975
20065
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
19976
20066
|
end)
|
19977
20067
|
|
20068
|
+
api.add_operation(:disassociate_security_group_vpc, Seahorse::Model::Operation.new.tap do |o|
|
20069
|
+
o.name = "DisassociateSecurityGroupVpc"
|
20070
|
+
o.http_method = "POST"
|
20071
|
+
o.http_request_uri = "/"
|
20072
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateSecurityGroupVpcRequest)
|
20073
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateSecurityGroupVpcResult)
|
20074
|
+
end)
|
20075
|
+
|
19978
20076
|
api.add_operation(:disassociate_subnet_cidr_block, Seahorse::Model::Operation.new.tap do |o|
|
19979
20077
|
o.name = "DisassociateSubnetCidrBlock"
|
19980
20078
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -937,7 +937,12 @@ module Aws::EC2
|
|
937
937
|
# @option options [String] :interface_type
|
938
938
|
# The type of network interface. The default is `interface`.
|
939
939
|
#
|
940
|
-
#
|
940
|
+
# If you specify `efa-only`, do not assign any IP addresses to the
|
941
|
+
# network interface. EFA-only network interfaces do not support IP
|
942
|
+
# addresses.
|
943
|
+
#
|
944
|
+
# The only supported values are `interface`, `efa`, `efa-only`, and
|
945
|
+
# `trunk`.
|
941
946
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
942
947
|
# The tags to apply to the new network interface.
|
943
948
|
# @option options [String] :client_token
|
@@ -3307,12 +3312,12 @@ module Aws::EC2
|
|
3307
3312
|
#
|
3308
3313
|
# * `interface-type` - The type of network interface
|
3309
3314
|
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
3310
|
-
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `
|
3311
|
-
# `
|
3312
|
-
# `
|
3313
|
-
# \| `
|
3314
|
-
# `
|
3315
|
-
# `trunk` \| `vpc_endpoint`).
|
3315
|
+
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
|
3316
|
+
# \| `efs` \| `gateway_load_balancer` \|
|
3317
|
+
# `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
|
3318
|
+
# `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
|
3319
|
+
# `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
|
3320
|
+
# `transit_gateway` \| `trunk` \| `vpc_endpoint`).
|
3316
3321
|
#
|
3317
3322
|
# * `mac-address` - The MAC address of the network interface.
|
3318
3323
|
#
|
@@ -53,6 +53,12 @@ module Aws::EC2
|
|
53
53
|
data[:vpc_id]
|
54
54
|
end
|
55
55
|
|
56
|
+
# The ARN of the security group.
|
57
|
+
# @return [String]
|
58
|
+
def security_group_arn
|
59
|
+
data[:security_group_arn]
|
60
|
+
end
|
61
|
+
|
56
62
|
# The Amazon Web Services account ID of the owner of the security group.
|
57
63
|
# @return [String]
|
58
64
|
def owner_id
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -938,7 +938,12 @@ module Aws::EC2
|
|
938
938
|
# @option options [String] :interface_type
|
939
939
|
# The type of network interface. The default is `interface`.
|
940
940
|
#
|
941
|
-
#
|
941
|
+
# If you specify `efa-only`, do not assign any IP addresses to the
|
942
|
+
# network interface. EFA-only network interfaces do not support IP
|
943
|
+
# addresses.
|
944
|
+
#
|
945
|
+
# The only supported values are `interface`, `efa`, `efa-only`, and
|
946
|
+
# `trunk`.
|
942
947
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
943
948
|
# The tags to apply to the new network interface.
|
944
949
|
# @option options [String] :client_token
|
@@ -1763,12 +1768,12 @@ module Aws::EC2
|
|
1763
1768
|
#
|
1764
1769
|
# * `interface-type` - The type of network interface
|
1765
1770
|
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
1766
|
-
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `
|
1767
|
-
# `
|
1768
|
-
# `
|
1769
|
-
# \| `
|
1770
|
-
# `
|
1771
|
-
# `trunk` \| `vpc_endpoint`).
|
1771
|
+
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
|
1772
|
+
# \| `efs` \| `gateway_load_balancer` \|
|
1773
|
+
# `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
|
1774
|
+
# `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
|
1775
|
+
# `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
|
1776
|
+
# `transit_gateway` \| `trunk` \| `vpc_endpoint`).
|
1772
1777
|
#
|
1773
1778
|
# * `mac-address` - The MAC address of the network interface.
|
1774
1779
|
#
|