aws-sdk-ec2 1.484.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +404 -24
- data/lib/aws-sdk-ec2/client_api.rb +152 -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 +590 -39
- data/lib/aws-sdk-ec2/vpc.rb +6 -6
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +66 -0
- data/sig/security_group.rbs +3 -0
- data/sig/types.rbs +107 -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')
|
@@ -908,6 +910,9 @@ module Aws::EC2
|
|
908
910
|
DescribeInstanceEventNotificationAttributesResult = Shapes::StructureShape.new(name: 'DescribeInstanceEventNotificationAttributesResult')
|
909
911
|
DescribeInstanceEventWindowsRequest = Shapes::StructureShape.new(name: 'DescribeInstanceEventWindowsRequest')
|
910
912
|
DescribeInstanceEventWindowsResult = Shapes::StructureShape.new(name: 'DescribeInstanceEventWindowsResult')
|
913
|
+
DescribeInstanceImageMetadataMaxResults = Shapes::IntegerShape.new(name: 'DescribeInstanceImageMetadataMaxResults')
|
914
|
+
DescribeInstanceImageMetadataRequest = Shapes::StructureShape.new(name: 'DescribeInstanceImageMetadataRequest')
|
915
|
+
DescribeInstanceImageMetadataResult = Shapes::StructureShape.new(name: 'DescribeInstanceImageMetadataResult')
|
911
916
|
DescribeInstanceStatusRequest = Shapes::StructureShape.new(name: 'DescribeInstanceStatusRequest')
|
912
917
|
DescribeInstanceStatusResult = Shapes::StructureShape.new(name: 'DescribeInstanceStatusResult')
|
913
918
|
DescribeInstanceTopologyGroupNameSet = Shapes::ListShape.new(name: 'DescribeInstanceTopologyGroupNameSet')
|
@@ -1028,6 +1033,9 @@ module Aws::EC2
|
|
1028
1033
|
DescribeSecurityGroupRulesMaxResults = Shapes::IntegerShape.new(name: 'DescribeSecurityGroupRulesMaxResults')
|
1029
1034
|
DescribeSecurityGroupRulesRequest = Shapes::StructureShape.new(name: 'DescribeSecurityGroupRulesRequest')
|
1030
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')
|
1031
1039
|
DescribeSecurityGroupsMaxResults = Shapes::IntegerShape.new(name: 'DescribeSecurityGroupsMaxResults')
|
1032
1040
|
DescribeSecurityGroupsRequest = Shapes::StructureShape.new(name: 'DescribeSecurityGroupsRequest')
|
1033
1041
|
DescribeSecurityGroupsResult = Shapes::StructureShape.new(name: 'DescribeSecurityGroupsResult')
|
@@ -1227,6 +1235,9 @@ module Aws::EC2
|
|
1227
1235
|
DisassociateNatGatewayAddressRequest = Shapes::StructureShape.new(name: 'DisassociateNatGatewayAddressRequest')
|
1228
1236
|
DisassociateNatGatewayAddressResult = Shapes::StructureShape.new(name: 'DisassociateNatGatewayAddressResult')
|
1229
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')
|
1230
1241
|
DisassociateSubnetCidrBlockRequest = Shapes::StructureShape.new(name: 'DisassociateSubnetCidrBlockRequest')
|
1231
1242
|
DisassociateSubnetCidrBlockResult = Shapes::StructureShape.new(name: 'DisassociateSubnetCidrBlockResult')
|
1232
1243
|
DisassociateTransitGatewayMulticastDomainRequest = Shapes::StructureShape.new(name: 'DisassociateTransitGatewayMulticastDomainRequest')
|
@@ -1639,6 +1650,7 @@ module Aws::EC2
|
|
1639
1650
|
ImageIdList = Shapes::ListShape.new(name: 'ImageIdList')
|
1640
1651
|
ImageIdStringList = Shapes::ListShape.new(name: 'ImageIdStringList')
|
1641
1652
|
ImageList = Shapes::ListShape.new(name: 'ImageList')
|
1653
|
+
ImageMetadata = Shapes::StructureShape.new(name: 'ImageMetadata')
|
1642
1654
|
ImageRecycleBinInfo = Shapes::StructureShape.new(name: 'ImageRecycleBinInfo')
|
1643
1655
|
ImageRecycleBinInfoList = Shapes::ListShape.new(name: 'ImageRecycleBinInfoList')
|
1644
1656
|
ImageState = Shapes::StringShape.new(name: 'ImageState')
|
@@ -1732,6 +1744,8 @@ module Aws::EC2
|
|
1732
1744
|
InstanceIdStringList = Shapes::ListShape.new(name: 'InstanceIdStringList')
|
1733
1745
|
InstanceIdWithVolumeResolver = Shapes::StringShape.new(name: 'InstanceIdWithVolumeResolver')
|
1734
1746
|
InstanceIdsSet = Shapes::ListShape.new(name: 'InstanceIdsSet')
|
1747
|
+
InstanceImageMetadata = Shapes::StructureShape.new(name: 'InstanceImageMetadata')
|
1748
|
+
InstanceImageMetadataList = Shapes::ListShape.new(name: 'InstanceImageMetadataList')
|
1735
1749
|
InstanceInterruptionBehavior = Shapes::StringShape.new(name: 'InstanceInterruptionBehavior')
|
1736
1750
|
InstanceIpv4Prefix = Shapes::StructureShape.new(name: 'InstanceIpv4Prefix')
|
1737
1751
|
InstanceIpv4PrefixList = Shapes::ListShape.new(name: 'InstanceIpv4PrefixList')
|
@@ -2664,6 +2678,8 @@ module Aws::EC2
|
|
2664
2678
|
RevokeSecurityGroupEgressResult = Shapes::StructureShape.new(name: 'RevokeSecurityGroupEgressResult')
|
2665
2679
|
RevokeSecurityGroupIngressRequest = Shapes::StructureShape.new(name: 'RevokeSecurityGroupIngressRequest')
|
2666
2680
|
RevokeSecurityGroupIngressResult = Shapes::StructureShape.new(name: 'RevokeSecurityGroupIngressResult')
|
2681
|
+
RevokedSecurityGroupRule = Shapes::StructureShape.new(name: 'RevokedSecurityGroupRule')
|
2682
|
+
RevokedSecurityGroupRuleList = Shapes::ListShape.new(name: 'RevokedSecurityGroupRuleList')
|
2667
2683
|
RoleId = Shapes::StringShape.new(name: 'RoleId')
|
2668
2684
|
RootDeviceType = Shapes::StringShape.new(name: 'RootDeviceType')
|
2669
2685
|
RootDeviceTypeList = Shapes::ListShape.new(name: 'RootDeviceTypeList')
|
@@ -2750,6 +2766,9 @@ module Aws::EC2
|
|
2750
2766
|
SecurityGroupRuleUpdate = Shapes::StructureShape.new(name: 'SecurityGroupRuleUpdate')
|
2751
2767
|
SecurityGroupRuleUpdateList = Shapes::ListShape.new(name: 'SecurityGroupRuleUpdateList')
|
2752
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')
|
2753
2772
|
SelfServicePortal = Shapes::StringShape.new(name: 'SelfServicePortal')
|
2754
2773
|
SendDiagnosticInterruptRequest = Shapes::StructureShape.new(name: 'SendDiagnosticInterruptRequest')
|
2755
2774
|
SensitiveUrl = Shapes::StringShape.new(name: 'SensitiveUrl')
|
@@ -3740,6 +3759,14 @@ module Aws::EC2
|
|
3740
3759
|
AssociateRouteTableResult.add_member(:association_state, Shapes::ShapeRef.new(shape: RouteTableAssociationState, location_name: "associationState"))
|
3741
3760
|
AssociateRouteTableResult.struct_class = Types::AssociateRouteTableResult
|
3742
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
|
+
|
3743
3770
|
AssociateSubnetCidrBlockRequest.add_member(:ipv_6_ipam_pool_id, Shapes::ShapeRef.new(shape: IpamPoolId, location_name: "Ipv6IpamPoolId"))
|
3744
3771
|
AssociateSubnetCidrBlockRequest.add_member(:ipv_6_netmask_length, Shapes::ShapeRef.new(shape: NetmaskLength, location_name: "Ipv6NetmaskLength"))
|
3745
3772
|
AssociateSubnetCidrBlockRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
|
@@ -5208,6 +5235,7 @@ module Aws::EC2
|
|
5208
5235
|
|
5209
5236
|
CreateSecurityGroupResult.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
|
5210
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"))
|
5211
5239
|
CreateSecurityGroupResult.struct_class = Types::CreateSecurityGroupResult
|
5212
5240
|
|
5213
5241
|
CreateSnapshotRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
@@ -6881,6 +6909,17 @@ module Aws::EC2
|
|
6881
6909
|
DescribeInstanceEventWindowsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
6882
6910
|
DescribeInstanceEventWindowsResult.struct_class = Types::DescribeInstanceEventWindowsResult
|
6883
6911
|
|
6912
|
+
DescribeInstanceImageMetadataRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
6913
|
+
DescribeInstanceImageMetadataRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, location_name: "InstanceId"))
|
6914
|
+
DescribeInstanceImageMetadataRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeInstanceImageMetadataMaxResults, location_name: "MaxResults"))
|
6915
|
+
DescribeInstanceImageMetadataRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
6916
|
+
DescribeInstanceImageMetadataRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6917
|
+
DescribeInstanceImageMetadataRequest.struct_class = Types::DescribeInstanceImageMetadataRequest
|
6918
|
+
|
6919
|
+
DescribeInstanceImageMetadataResult.add_member(:instance_image_metadata, Shapes::ShapeRef.new(shape: InstanceImageMetadataList, location_name: "instanceImageMetadataSet"))
|
6920
|
+
DescribeInstanceImageMetadataResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
6921
|
+
DescribeInstanceImageMetadataResult.struct_class = Types::DescribeInstanceImageMetadataResult
|
6922
|
+
|
6884
6923
|
DescribeInstanceStatusRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, location_name: "InstanceId"))
|
6885
6924
|
DescribeInstanceStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
|
6886
6925
|
DescribeInstanceStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
@@ -7455,6 +7494,16 @@ module Aws::EC2
|
|
7455
7494
|
DescribeSecurityGroupRulesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
7456
7495
|
DescribeSecurityGroupRulesResult.struct_class = Types::DescribeSecurityGroupRulesResult
|
7457
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
|
+
|
7458
7507
|
DescribeSecurityGroupsRequest.add_member(:group_ids, Shapes::ShapeRef.new(shape: GroupIdStringList, location_name: "GroupId"))
|
7459
7508
|
DescribeSecurityGroupsRequest.add_member(:group_names, Shapes::ShapeRef.new(shape: GroupNameStringList, location_name: "GroupName"))
|
7460
7509
|
DescribeSecurityGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
@@ -8312,6 +8361,14 @@ module Aws::EC2
|
|
8312
8361
|
DisassociateRouteTableRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: RouteTableAssociationId, required: true, location_name: "associationId"))
|
8313
8362
|
DisassociateRouteTableRequest.struct_class = Types::DisassociateRouteTableRequest
|
8314
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
|
+
|
8315
8372
|
DisassociateSubnetCidrBlockRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: SubnetCidrAssociationId, required: true, location_name: "associationId"))
|
8316
8373
|
DisassociateSubnetCidrBlockRequest.struct_class = Types::DisassociateSubnetCidrBlockRequest
|
8317
8374
|
|
@@ -9861,6 +9918,16 @@ module Aws::EC2
|
|
9861
9918
|
|
9862
9919
|
ImageList.member = Shapes::ShapeRef.new(shape: Image, location_name: "item")
|
9863
9920
|
|
9921
|
+
ImageMetadata.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "imageId"))
|
9922
|
+
ImageMetadata.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
9923
|
+
ImageMetadata.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "imageOwnerId"))
|
9924
|
+
ImageMetadata.add_member(:state, Shapes::ShapeRef.new(shape: ImageState, location_name: "imageState"))
|
9925
|
+
ImageMetadata.add_member(:image_owner_alias, Shapes::ShapeRef.new(shape: String, location_name: "imageOwnerAlias"))
|
9926
|
+
ImageMetadata.add_member(:creation_date, Shapes::ShapeRef.new(shape: String, location_name: "creationDate"))
|
9927
|
+
ImageMetadata.add_member(:deprecation_time, Shapes::ShapeRef.new(shape: String, location_name: "deprecationTime"))
|
9928
|
+
ImageMetadata.add_member(:is_public, Shapes::ShapeRef.new(shape: Boolean, location_name: "isPublic"))
|
9929
|
+
ImageMetadata.struct_class = Types::ImageMetadata
|
9930
|
+
|
9864
9931
|
ImageRecycleBinInfo.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
9865
9932
|
ImageRecycleBinInfo.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
9866
9933
|
ImageRecycleBinInfo.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
@@ -10250,6 +10317,19 @@ module Aws::EC2
|
|
10250
10317
|
|
10251
10318
|
InstanceIdsSet.member = Shapes::ShapeRef.new(shape: InstanceId, location_name: "item")
|
10252
10319
|
|
10320
|
+
InstanceImageMetadata.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "instanceId"))
|
10321
|
+
InstanceImageMetadata.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
|
10322
|
+
InstanceImageMetadata.add_member(:launch_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "launchTime"))
|
10323
|
+
InstanceImageMetadata.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
10324
|
+
InstanceImageMetadata.add_member(:zone_id, Shapes::ShapeRef.new(shape: String, location_name: "zoneId"))
|
10325
|
+
InstanceImageMetadata.add_member(:state, Shapes::ShapeRef.new(shape: InstanceState, location_name: "instanceState"))
|
10326
|
+
InstanceImageMetadata.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceOwnerId"))
|
10327
|
+
InstanceImageMetadata.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
10328
|
+
InstanceImageMetadata.add_member(:image_metadata, Shapes::ShapeRef.new(shape: ImageMetadata, location_name: "imageMetadata"))
|
10329
|
+
InstanceImageMetadata.struct_class = Types::InstanceImageMetadata
|
10330
|
+
|
10331
|
+
InstanceImageMetadataList.member = Shapes::ShapeRef.new(shape: InstanceImageMetadata, location_name: "item")
|
10332
|
+
|
10253
10333
|
InstanceIpv4Prefix.add_member(:ipv_4_prefix, Shapes::ShapeRef.new(shape: String, location_name: "ipv4Prefix"))
|
10254
10334
|
InstanceIpv4Prefix.struct_class = Types::InstanceIpv4Prefix
|
10255
10335
|
|
@@ -13802,6 +13882,7 @@ module Aws::EC2
|
|
13802
13882
|
|
13803
13883
|
RevokeSecurityGroupEgressResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
13804
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"))
|
13805
13886
|
RevokeSecurityGroupEgressResult.struct_class = Types::RevokeSecurityGroupEgressResult
|
13806
13887
|
|
13807
13888
|
RevokeSecurityGroupIngressRequest.add_member(:cidr_ip, Shapes::ShapeRef.new(shape: String, location_name: "CidrIp"))
|
@@ -13819,8 +13900,24 @@ module Aws::EC2
|
|
13819
13900
|
|
13820
13901
|
RevokeSecurityGroupIngressResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
13821
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"))
|
13822
13904
|
RevokeSecurityGroupIngressResult.struct_class = Types::RevokeSecurityGroupIngressResult
|
13823
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
|
+
|
13824
13921
|
RootDeviceTypeList.member = Shapes::ShapeRef.new(shape: RootDeviceType, location_name: "item")
|
13825
13922
|
|
13826
13923
|
Route.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "destinationCidrBlock"))
|
@@ -14115,6 +14212,7 @@ module Aws::EC2
|
|
14115
14212
|
SecurityGroup.add_member(:ip_permissions_egress, Shapes::ShapeRef.new(shape: IpPermissionList, location_name: "ipPermissionsEgress"))
|
14116
14213
|
SecurityGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
14117
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"))
|
14118
14216
|
SecurityGroup.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
14119
14217
|
SecurityGroup.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
|
14120
14218
|
SecurityGroup.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "groupDescription"))
|
@@ -14166,6 +14264,7 @@ module Aws::EC2
|
|
14166
14264
|
SecurityGroupRule.add_member(:referenced_group_info, Shapes::ShapeRef.new(shape: ReferencedSecurityGroup, location_name: "referencedGroupInfo"))
|
14167
14265
|
SecurityGroupRule.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
14168
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"))
|
14169
14268
|
SecurityGroupRule.struct_class = Types::SecurityGroupRule
|
14170
14269
|
|
14171
14270
|
SecurityGroupRuleDescription.add_member(:security_group_rule_id, Shapes::ShapeRef.new(shape: String, location_name: "SecurityGroupRuleId"))
|
@@ -14196,6 +14295,15 @@ module Aws::EC2
|
|
14196
14295
|
|
14197
14296
|
SecurityGroupStringList.member = Shapes::ShapeRef.new(shape: SecurityGroupName, location_name: "SecurityGroup")
|
14198
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
|
+
|
14199
14307
|
SendDiagnosticInterruptRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
14200
14308
|
SendDiagnosticInterruptRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
14201
14309
|
SendDiagnosticInterruptRequest.struct_class = Types::SendDiagnosticInterruptRequest
|
@@ -16176,6 +16284,14 @@ module Aws::EC2
|
|
16176
16284
|
o.output = Shapes::ShapeRef.new(shape: AssociateRouteTableResult)
|
16177
16285
|
end)
|
16178
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
|
+
|
16179
16295
|
api.add_operation(:associate_subnet_cidr_block, Seahorse::Model::Operation.new.tap do |o|
|
16180
16296
|
o.name = "AssociateSubnetCidrBlock"
|
16181
16297
|
o.http_method = "POST"
|
@@ -18364,6 +18480,20 @@ module Aws::EC2
|
|
18364
18480
|
)
|
18365
18481
|
end)
|
18366
18482
|
|
18483
|
+
api.add_operation(:describe_instance_image_metadata, Seahorse::Model::Operation.new.tap do |o|
|
18484
|
+
o.name = "DescribeInstanceImageMetadata"
|
18485
|
+
o.http_method = "POST"
|
18486
|
+
o.http_request_uri = "/"
|
18487
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeInstanceImageMetadataRequest)
|
18488
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeInstanceImageMetadataResult)
|
18489
|
+
o[:pager] = Aws::Pager.new(
|
18490
|
+
limit_key: "max_results",
|
18491
|
+
tokens: {
|
18492
|
+
"next_token" => "next_token"
|
18493
|
+
}
|
18494
|
+
)
|
18495
|
+
end)
|
18496
|
+
|
18367
18497
|
api.add_operation(:describe_instance_status, Seahorse::Model::Operation.new.tap do |o|
|
18368
18498
|
o.name = "DescribeInstanceStatus"
|
18369
18499
|
o.http_method = "POST"
|
@@ -19017,6 +19147,20 @@ module Aws::EC2
|
|
19017
19147
|
)
|
19018
19148
|
end)
|
19019
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
|
+
|
19020
19164
|
api.add_operation(:describe_security_groups, Seahorse::Model::Operation.new.tap do |o|
|
19021
19165
|
o.name = "DescribeSecurityGroups"
|
19022
19166
|
o.http_method = "POST"
|
@@ -19921,6 +20065,14 @@ module Aws::EC2
|
|
19921
20065
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
19922
20066
|
end)
|
19923
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
|
+
|
19924
20076
|
api.add_operation(:disassociate_subnet_cidr_block, Seahorse::Model::Operation.new.tap do |o|
|
19925
20077
|
o.name = "DisassociateSubnetCidrBlock"
|
19926
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
|
#
|