aws-sdk-ec2 1.490.0 → 1.491.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +486 -56
- data/lib/aws-sdk-ec2/client_api.rb +149 -0
- data/lib/aws-sdk-ec2/resource.rb +40 -40
- data/lib/aws-sdk-ec2/subnet.rb +11 -5
- data/lib/aws-sdk-ec2/types.rb +514 -44
- data/lib/aws-sdk-ec2/vpc.rb +36 -30
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +88 -0
- data/sig/subnet.rbs +3 -0
- data/sig/types.rbs +103 -0
- data/sig/vpc.rbs +3 -0
- metadata +2 -2
@@ -228,6 +228,8 @@ module Aws::EC2
|
|
228
228
|
BlockDeviceMapping = Shapes::StructureShape.new(name: 'BlockDeviceMapping')
|
229
229
|
BlockDeviceMappingList = Shapes::ListShape.new(name: 'BlockDeviceMappingList')
|
230
230
|
BlockDeviceMappingRequestList = Shapes::ListShape.new(name: 'BlockDeviceMappingRequestList')
|
231
|
+
BlockPublicAccessMode = Shapes::StringShape.new(name: 'BlockPublicAccessMode')
|
232
|
+
BlockPublicAccessStates = Shapes::StructureShape.new(name: 'BlockPublicAccessStates')
|
231
233
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
232
234
|
BootModeType = Shapes::StringShape.new(name: 'BootModeType')
|
233
235
|
BootModeTypeList = Shapes::ListShape.new(name: 'BootModeTypeList')
|
@@ -577,6 +579,8 @@ module Aws::EC2
|
|
577
579
|
CreateVolumePermissionList = Shapes::ListShape.new(name: 'CreateVolumePermissionList')
|
578
580
|
CreateVolumePermissionModifications = Shapes::StructureShape.new(name: 'CreateVolumePermissionModifications')
|
579
581
|
CreateVolumeRequest = Shapes::StructureShape.new(name: 'CreateVolumeRequest')
|
582
|
+
CreateVpcBlockPublicAccessExclusionRequest = Shapes::StructureShape.new(name: 'CreateVpcBlockPublicAccessExclusionRequest')
|
583
|
+
CreateVpcBlockPublicAccessExclusionResult = Shapes::StructureShape.new(name: 'CreateVpcBlockPublicAccessExclusionResult')
|
580
584
|
CreateVpcEndpointConnectionNotificationRequest = Shapes::StructureShape.new(name: 'CreateVpcEndpointConnectionNotificationRequest')
|
581
585
|
CreateVpcEndpointConnectionNotificationResult = Shapes::StructureShape.new(name: 'CreateVpcEndpointConnectionNotificationResult')
|
582
586
|
CreateVpcEndpointRequest = Shapes::StructureShape.new(name: 'CreateVpcEndpointRequest')
|
@@ -750,6 +754,8 @@ module Aws::EC2
|
|
750
754
|
DeleteVerifiedAccessTrustProviderRequest = Shapes::StructureShape.new(name: 'DeleteVerifiedAccessTrustProviderRequest')
|
751
755
|
DeleteVerifiedAccessTrustProviderResult = Shapes::StructureShape.new(name: 'DeleteVerifiedAccessTrustProviderResult')
|
752
756
|
DeleteVolumeRequest = Shapes::StructureShape.new(name: 'DeleteVolumeRequest')
|
757
|
+
DeleteVpcBlockPublicAccessExclusionRequest = Shapes::StructureShape.new(name: 'DeleteVpcBlockPublicAccessExclusionRequest')
|
758
|
+
DeleteVpcBlockPublicAccessExclusionResult = Shapes::StructureShape.new(name: 'DeleteVpcBlockPublicAccessExclusionResult')
|
753
759
|
DeleteVpcEndpointConnectionNotificationsRequest = Shapes::StructureShape.new(name: 'DeleteVpcEndpointConnectionNotificationsRequest')
|
754
760
|
DeleteVpcEndpointConnectionNotificationsResult = Shapes::StructureShape.new(name: 'DeleteVpcEndpointConnectionNotificationsResult')
|
755
761
|
DeleteVpcEndpointServiceConfigurationsRequest = Shapes::StructureShape.new(name: 'DeleteVpcEndpointServiceConfigurationsRequest')
|
@@ -1128,6 +1134,11 @@ module Aws::EC2
|
|
1128
1134
|
DescribeVolumesResult = Shapes::StructureShape.new(name: 'DescribeVolumesResult')
|
1129
1135
|
DescribeVpcAttributeRequest = Shapes::StructureShape.new(name: 'DescribeVpcAttributeRequest')
|
1130
1136
|
DescribeVpcAttributeResult = Shapes::StructureShape.new(name: 'DescribeVpcAttributeResult')
|
1137
|
+
DescribeVpcBlockPublicAccessExclusionsMaxResults = Shapes::IntegerShape.new(name: 'DescribeVpcBlockPublicAccessExclusionsMaxResults')
|
1138
|
+
DescribeVpcBlockPublicAccessExclusionsRequest = Shapes::StructureShape.new(name: 'DescribeVpcBlockPublicAccessExclusionsRequest')
|
1139
|
+
DescribeVpcBlockPublicAccessExclusionsResult = Shapes::StructureShape.new(name: 'DescribeVpcBlockPublicAccessExclusionsResult')
|
1140
|
+
DescribeVpcBlockPublicAccessOptionsRequest = Shapes::StructureShape.new(name: 'DescribeVpcBlockPublicAccessOptionsRequest')
|
1141
|
+
DescribeVpcBlockPublicAccessOptionsResult = Shapes::StructureShape.new(name: 'DescribeVpcBlockPublicAccessOptionsResult')
|
1131
1142
|
DescribeVpcClassicLinkDnsSupportMaxResults = Shapes::IntegerShape.new(name: 'DescribeVpcClassicLinkDnsSupportMaxResults')
|
1132
1143
|
DescribeVpcClassicLinkDnsSupportNextToken = Shapes::StringShape.new(name: 'DescribeVpcClassicLinkDnsSupportNextToken')
|
1133
1144
|
DescribeVpcClassicLinkDnsSupportRequest = Shapes::StructureShape.new(name: 'DescribeVpcClassicLinkDnsSupportRequest')
|
@@ -1822,6 +1833,8 @@ module Aws::EC2
|
|
1822
1833
|
InternetGateway = Shapes::StructureShape.new(name: 'InternetGateway')
|
1823
1834
|
InternetGatewayAttachment = Shapes::StructureShape.new(name: 'InternetGatewayAttachment')
|
1824
1835
|
InternetGatewayAttachmentList = Shapes::ListShape.new(name: 'InternetGatewayAttachmentList')
|
1836
|
+
InternetGatewayBlockMode = Shapes::StringShape.new(name: 'InternetGatewayBlockMode')
|
1837
|
+
InternetGatewayExclusionMode = Shapes::StringShape.new(name: 'InternetGatewayExclusionMode')
|
1825
1838
|
InternetGatewayId = Shapes::StringShape.new(name: 'InternetGatewayId')
|
1826
1839
|
InternetGatewayIdList = Shapes::ListShape.new(name: 'InternetGatewayIdList')
|
1827
1840
|
InternetGatewayList = Shapes::ListShape.new(name: 'InternetGatewayList')
|
@@ -2242,6 +2255,10 @@ module Aws::EC2
|
|
2242
2255
|
ModifyVolumeRequest = Shapes::StructureShape.new(name: 'ModifyVolumeRequest')
|
2243
2256
|
ModifyVolumeResult = Shapes::StructureShape.new(name: 'ModifyVolumeResult')
|
2244
2257
|
ModifyVpcAttributeRequest = Shapes::StructureShape.new(name: 'ModifyVpcAttributeRequest')
|
2258
|
+
ModifyVpcBlockPublicAccessExclusionRequest = Shapes::StructureShape.new(name: 'ModifyVpcBlockPublicAccessExclusionRequest')
|
2259
|
+
ModifyVpcBlockPublicAccessExclusionResult = Shapes::StructureShape.new(name: 'ModifyVpcBlockPublicAccessExclusionResult')
|
2260
|
+
ModifyVpcBlockPublicAccessOptionsRequest = Shapes::StructureShape.new(name: 'ModifyVpcBlockPublicAccessOptionsRequest')
|
2261
|
+
ModifyVpcBlockPublicAccessOptionsResult = Shapes::StructureShape.new(name: 'ModifyVpcBlockPublicAccessOptionsResult')
|
2245
2262
|
ModifyVpcEndpointConnectionNotificationRequest = Shapes::StructureShape.new(name: 'ModifyVpcEndpointConnectionNotificationRequest')
|
2246
2263
|
ModifyVpcEndpointConnectionNotificationResult = Shapes::StructureShape.new(name: 'ModifyVpcEndpointConnectionNotificationResult')
|
2247
2264
|
ModifyVpcEndpointRequest = Shapes::StructureShape.new(name: 'ModifyVpcEndpointRequest')
|
@@ -3191,6 +3208,13 @@ module Aws::EC2
|
|
3191
3208
|
VpcAttachment = Shapes::StructureShape.new(name: 'VpcAttachment')
|
3192
3209
|
VpcAttachmentList = Shapes::ListShape.new(name: 'VpcAttachmentList')
|
3193
3210
|
VpcAttributeName = Shapes::StringShape.new(name: 'VpcAttributeName')
|
3211
|
+
VpcBlockPublicAccessExclusion = Shapes::StructureShape.new(name: 'VpcBlockPublicAccessExclusion')
|
3212
|
+
VpcBlockPublicAccessExclusionId = Shapes::StringShape.new(name: 'VpcBlockPublicAccessExclusionId')
|
3213
|
+
VpcBlockPublicAccessExclusionIdList = Shapes::ListShape.new(name: 'VpcBlockPublicAccessExclusionIdList')
|
3214
|
+
VpcBlockPublicAccessExclusionList = Shapes::ListShape.new(name: 'VpcBlockPublicAccessExclusionList')
|
3215
|
+
VpcBlockPublicAccessExclusionState = Shapes::StringShape.new(name: 'VpcBlockPublicAccessExclusionState')
|
3216
|
+
VpcBlockPublicAccessOptions = Shapes::StructureShape.new(name: 'VpcBlockPublicAccessOptions')
|
3217
|
+
VpcBlockPublicAccessState = Shapes::StringShape.new(name: 'VpcBlockPublicAccessState')
|
3194
3218
|
VpcCidrAssociationId = Shapes::StringShape.new(name: 'VpcCidrAssociationId')
|
3195
3219
|
VpcCidrBlockAssociation = Shapes::StructureShape.new(name: 'VpcCidrBlockAssociation')
|
3196
3220
|
VpcCidrBlockAssociationSet = Shapes::ListShape.new(name: 'VpcCidrBlockAssociationSet')
|
@@ -4030,6 +4054,9 @@ module Aws::EC2
|
|
4030
4054
|
|
4031
4055
|
BlockDeviceMappingRequestList.member = Shapes::ShapeRef.new(shape: BlockDeviceMapping, location_name: "BlockDeviceMapping")
|
4032
4056
|
|
4057
|
+
BlockPublicAccessStates.add_member(:internet_gateway_block_mode, Shapes::ShapeRef.new(shape: BlockPublicAccessMode, location_name: "internetGatewayBlockMode"))
|
4058
|
+
BlockPublicAccessStates.struct_class = Types::BlockPublicAccessStates
|
4059
|
+
|
4033
4060
|
BootModeTypeList.member = Shapes::ShapeRef.new(shape: BootModeType, location_name: "item")
|
4034
4061
|
|
4035
4062
|
BundleIdStringList.member = Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId")
|
@@ -5603,6 +5630,16 @@ module Aws::EC2
|
|
5603
5630
|
CreateVolumeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
5604
5631
|
CreateVolumeRequest.struct_class = Types::CreateVolumeRequest
|
5605
5632
|
|
5633
|
+
CreateVpcBlockPublicAccessExclusionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5634
|
+
CreateVpcBlockPublicAccessExclusionRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
|
5635
|
+
CreateVpcBlockPublicAccessExclusionRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
|
5636
|
+
CreateVpcBlockPublicAccessExclusionRequest.add_member(:internet_gateway_exclusion_mode, Shapes::ShapeRef.new(shape: InternetGatewayExclusionMode, required: true, location_name: "InternetGatewayExclusionMode"))
|
5637
|
+
CreateVpcBlockPublicAccessExclusionRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
5638
|
+
CreateVpcBlockPublicAccessExclusionRequest.struct_class = Types::CreateVpcBlockPublicAccessExclusionRequest
|
5639
|
+
|
5640
|
+
CreateVpcBlockPublicAccessExclusionResult.add_member(:vpc_block_public_access_exclusion, Shapes::ShapeRef.new(shape: VpcBlockPublicAccessExclusion, location_name: "vpcBlockPublicAccessExclusion"))
|
5641
|
+
CreateVpcBlockPublicAccessExclusionResult.struct_class = Types::CreateVpcBlockPublicAccessExclusionResult
|
5642
|
+
|
5606
5643
|
CreateVpcEndpointConnectionNotificationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5607
5644
|
CreateVpcEndpointConnectionNotificationRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: VpcEndpointServiceId, location_name: "ServiceId"))
|
5608
5645
|
CreateVpcEndpointConnectionNotificationRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "VpcEndpointId"))
|
@@ -6240,6 +6277,13 @@ module Aws::EC2
|
|
6240
6277
|
DeleteVolumeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
6241
6278
|
DeleteVolumeRequest.struct_class = Types::DeleteVolumeRequest
|
6242
6279
|
|
6280
|
+
DeleteVpcBlockPublicAccessExclusionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6281
|
+
DeleteVpcBlockPublicAccessExclusionRequest.add_member(:exclusion_id, Shapes::ShapeRef.new(shape: VpcBlockPublicAccessExclusionId, required: true, location_name: "ExclusionId"))
|
6282
|
+
DeleteVpcBlockPublicAccessExclusionRequest.struct_class = Types::DeleteVpcBlockPublicAccessExclusionRequest
|
6283
|
+
|
6284
|
+
DeleteVpcBlockPublicAccessExclusionResult.add_member(:vpc_block_public_access_exclusion, Shapes::ShapeRef.new(shape: VpcBlockPublicAccessExclusion, location_name: "vpcBlockPublicAccessExclusion"))
|
6285
|
+
DeleteVpcBlockPublicAccessExclusionResult.struct_class = Types::DeleteVpcBlockPublicAccessExclusionResult
|
6286
|
+
|
6243
6287
|
DeleteVpcEndpointConnectionNotificationsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6244
6288
|
DeleteVpcEndpointConnectionNotificationsRequest.add_member(:connection_notification_ids, Shapes::ShapeRef.new(shape: ConnectionNotificationIdsList, required: true, location_name: "ConnectionNotificationId"))
|
6245
6289
|
DeleteVpcEndpointConnectionNotificationsRequest.struct_class = Types::DeleteVpcEndpointConnectionNotificationsRequest
|
@@ -7942,6 +7986,23 @@ module Aws::EC2
|
|
7942
7986
|
DescribeVpcAttributeResult.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
7943
7987
|
DescribeVpcAttributeResult.struct_class = Types::DescribeVpcAttributeResult
|
7944
7988
|
|
7989
|
+
DescribeVpcBlockPublicAccessExclusionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7990
|
+
DescribeVpcBlockPublicAccessExclusionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
7991
|
+
DescribeVpcBlockPublicAccessExclusionsRequest.add_member(:exclusion_ids, Shapes::ShapeRef.new(shape: VpcBlockPublicAccessExclusionIdList, location_name: "ExclusionId"))
|
7992
|
+
DescribeVpcBlockPublicAccessExclusionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
7993
|
+
DescribeVpcBlockPublicAccessExclusionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeVpcBlockPublicAccessExclusionsMaxResults, location_name: "MaxResults"))
|
7994
|
+
DescribeVpcBlockPublicAccessExclusionsRequest.struct_class = Types::DescribeVpcBlockPublicAccessExclusionsRequest
|
7995
|
+
|
7996
|
+
DescribeVpcBlockPublicAccessExclusionsResult.add_member(:vpc_block_public_access_exclusions, Shapes::ShapeRef.new(shape: VpcBlockPublicAccessExclusionList, location_name: "vpcBlockPublicAccessExclusionSet"))
|
7997
|
+
DescribeVpcBlockPublicAccessExclusionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
7998
|
+
DescribeVpcBlockPublicAccessExclusionsResult.struct_class = Types::DescribeVpcBlockPublicAccessExclusionsResult
|
7999
|
+
|
8000
|
+
DescribeVpcBlockPublicAccessOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
8001
|
+
DescribeVpcBlockPublicAccessOptionsRequest.struct_class = Types::DescribeVpcBlockPublicAccessOptionsRequest
|
8002
|
+
|
8003
|
+
DescribeVpcBlockPublicAccessOptionsResult.add_member(:vpc_block_public_access_options, Shapes::ShapeRef.new(shape: VpcBlockPublicAccessOptions, location_name: "vpcBlockPublicAccessOptions"))
|
8004
|
+
DescribeVpcBlockPublicAccessOptionsResult.struct_class = Types::DescribeVpcBlockPublicAccessOptionsResult
|
8005
|
+
|
7945
8006
|
DescribeVpcClassicLinkDnsSupportRequest.add_member(:vpc_ids, Shapes::ShapeRef.new(shape: VpcClassicLinkIdList, location_name: "VpcIds"))
|
7946
8007
|
DescribeVpcClassicLinkDnsSupportRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeVpcClassicLinkDnsSupportMaxResults, location_name: "maxResults"))
|
7947
8008
|
DescribeVpcClassicLinkDnsSupportRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: DescribeVpcClassicLinkDnsSupportNextToken, location_name: "nextToken"))
|
@@ -12265,6 +12326,21 @@ module Aws::EC2
|
|
12265
12326
|
ModifyVpcAttributeRequest.add_member(:enable_network_address_usage_metrics, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "EnableNetworkAddressUsageMetrics"))
|
12266
12327
|
ModifyVpcAttributeRequest.struct_class = Types::ModifyVpcAttributeRequest
|
12267
12328
|
|
12329
|
+
ModifyVpcBlockPublicAccessExclusionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
12330
|
+
ModifyVpcBlockPublicAccessExclusionRequest.add_member(:exclusion_id, Shapes::ShapeRef.new(shape: VpcBlockPublicAccessExclusionId, required: true, location_name: "ExclusionId"))
|
12331
|
+
ModifyVpcBlockPublicAccessExclusionRequest.add_member(:internet_gateway_exclusion_mode, Shapes::ShapeRef.new(shape: InternetGatewayExclusionMode, required: true, location_name: "InternetGatewayExclusionMode"))
|
12332
|
+
ModifyVpcBlockPublicAccessExclusionRequest.struct_class = Types::ModifyVpcBlockPublicAccessExclusionRequest
|
12333
|
+
|
12334
|
+
ModifyVpcBlockPublicAccessExclusionResult.add_member(:vpc_block_public_access_exclusion, Shapes::ShapeRef.new(shape: VpcBlockPublicAccessExclusion, location_name: "vpcBlockPublicAccessExclusion"))
|
12335
|
+
ModifyVpcBlockPublicAccessExclusionResult.struct_class = Types::ModifyVpcBlockPublicAccessExclusionResult
|
12336
|
+
|
12337
|
+
ModifyVpcBlockPublicAccessOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
12338
|
+
ModifyVpcBlockPublicAccessOptionsRequest.add_member(:internet_gateway_block_mode, Shapes::ShapeRef.new(shape: InternetGatewayBlockMode, required: true, location_name: "InternetGatewayBlockMode"))
|
12339
|
+
ModifyVpcBlockPublicAccessOptionsRequest.struct_class = Types::ModifyVpcBlockPublicAccessOptionsRequest
|
12340
|
+
|
12341
|
+
ModifyVpcBlockPublicAccessOptionsResult.add_member(:vpc_block_public_access_options, Shapes::ShapeRef.new(shape: VpcBlockPublicAccessOptions, location_name: "vpcBlockPublicAccessOptions"))
|
12342
|
+
ModifyVpcBlockPublicAccessOptionsResult.struct_class = Types::ModifyVpcBlockPublicAccessOptionsResult
|
12343
|
+
|
12268
12344
|
ModifyVpcEndpointConnectionNotificationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
12269
12345
|
ModifyVpcEndpointConnectionNotificationRequest.add_member(:connection_notification_id, Shapes::ShapeRef.new(shape: ConnectionNotificationId, required: true, location_name: "ConnectionNotificationId"))
|
12270
12346
|
ModifyVpcEndpointConnectionNotificationRequest.add_member(:connection_notification_arn, Shapes::ShapeRef.new(shape: String, location_name: "ConnectionNotificationArn"))
|
@@ -14747,6 +14823,7 @@ module Aws::EC2
|
|
14747
14823
|
Subnet.add_member(:enable_dns_64, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableDns64"))
|
14748
14824
|
Subnet.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "ipv6Native"))
|
14749
14825
|
Subnet.add_member(:private_dns_name_options_on_launch, Shapes::ShapeRef.new(shape: PrivateDnsNameOptionsOnLaunch, location_name: "privateDnsNameOptionsOnLaunch"))
|
14826
|
+
Subnet.add_member(:block_public_access_states, Shapes::ShapeRef.new(shape: BlockPublicAccessStates, location_name: "blockPublicAccessStates"))
|
14750
14827
|
Subnet.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
14751
14828
|
Subnet.add_member(:state, Shapes::ShapeRef.new(shape: SubnetState, location_name: "state"))
|
14752
14829
|
Subnet.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
@@ -15833,6 +15910,7 @@ module Aws::EC2
|
|
15833
15910
|
Vpc.add_member(:cidr_block_association_set, Shapes::ShapeRef.new(shape: VpcCidrBlockAssociationSet, location_name: "cidrBlockAssociationSet"))
|
15834
15911
|
Vpc.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "isDefault"))
|
15835
15912
|
Vpc.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
15913
|
+
Vpc.add_member(:block_public_access_states, Shapes::ShapeRef.new(shape: BlockPublicAccessStates, location_name: "blockPublicAccessStates"))
|
15836
15914
|
Vpc.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
15837
15915
|
Vpc.add_member(:state, Shapes::ShapeRef.new(shape: VpcState, location_name: "state"))
|
15838
15916
|
Vpc.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "cidrBlock"))
|
@@ -15845,6 +15923,29 @@ module Aws::EC2
|
|
15845
15923
|
|
15846
15924
|
VpcAttachmentList.member = Shapes::ShapeRef.new(shape: VpcAttachment, location_name: "item")
|
15847
15925
|
|
15926
|
+
VpcBlockPublicAccessExclusion.add_member(:exclusion_id, Shapes::ShapeRef.new(shape: VpcBlockPublicAccessExclusionId, location_name: "exclusionId"))
|
15927
|
+
VpcBlockPublicAccessExclusion.add_member(:internet_gateway_exclusion_mode, Shapes::ShapeRef.new(shape: InternetGatewayExclusionMode, location_name: "internetGatewayExclusionMode"))
|
15928
|
+
VpcBlockPublicAccessExclusion.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "resourceArn"))
|
15929
|
+
VpcBlockPublicAccessExclusion.add_member(:state, Shapes::ShapeRef.new(shape: VpcBlockPublicAccessExclusionState, location_name: "state"))
|
15930
|
+
VpcBlockPublicAccessExclusion.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
15931
|
+
VpcBlockPublicAccessExclusion.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "creationTimestamp"))
|
15932
|
+
VpcBlockPublicAccessExclusion.add_member(:last_update_timestamp, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "lastUpdateTimestamp"))
|
15933
|
+
VpcBlockPublicAccessExclusion.add_member(:deletion_timestamp, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "deletionTimestamp"))
|
15934
|
+
VpcBlockPublicAccessExclusion.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
15935
|
+
VpcBlockPublicAccessExclusion.struct_class = Types::VpcBlockPublicAccessExclusion
|
15936
|
+
|
15937
|
+
VpcBlockPublicAccessExclusionIdList.member = Shapes::ShapeRef.new(shape: VpcBlockPublicAccessExclusionId, location_name: "item")
|
15938
|
+
|
15939
|
+
VpcBlockPublicAccessExclusionList.member = Shapes::ShapeRef.new(shape: VpcBlockPublicAccessExclusion, location_name: "item")
|
15940
|
+
|
15941
|
+
VpcBlockPublicAccessOptions.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: String, location_name: "awsAccountId"))
|
15942
|
+
VpcBlockPublicAccessOptions.add_member(:aws_region, Shapes::ShapeRef.new(shape: String, location_name: "awsRegion"))
|
15943
|
+
VpcBlockPublicAccessOptions.add_member(:state, Shapes::ShapeRef.new(shape: VpcBlockPublicAccessState, location_name: "state"))
|
15944
|
+
VpcBlockPublicAccessOptions.add_member(:internet_gateway_block_mode, Shapes::ShapeRef.new(shape: InternetGatewayBlockMode, location_name: "internetGatewayBlockMode"))
|
15945
|
+
VpcBlockPublicAccessOptions.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
15946
|
+
VpcBlockPublicAccessOptions.add_member(:last_update_timestamp, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "lastUpdateTimestamp"))
|
15947
|
+
VpcBlockPublicAccessOptions.struct_class = Types::VpcBlockPublicAccessOptions
|
15948
|
+
|
15848
15949
|
VpcCidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: String, location_name: "associationId"))
|
15849
15950
|
VpcCidrBlockAssociation.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "cidrBlock"))
|
15850
15951
|
VpcCidrBlockAssociation.add_member(:cidr_block_state, Shapes::ShapeRef.new(shape: VpcCidrBlockState, location_name: "cidrBlockState"))
|
@@ -17174,6 +17275,14 @@ module Aws::EC2
|
|
17174
17275
|
o.output = Shapes::ShapeRef.new(shape: CreateVpcResult)
|
17175
17276
|
end)
|
17176
17277
|
|
17278
|
+
api.add_operation(:create_vpc_block_public_access_exclusion, Seahorse::Model::Operation.new.tap do |o|
|
17279
|
+
o.name = "CreateVpcBlockPublicAccessExclusion"
|
17280
|
+
o.http_method = "POST"
|
17281
|
+
o.http_request_uri = "/"
|
17282
|
+
o.input = Shapes::ShapeRef.new(shape: CreateVpcBlockPublicAccessExclusionRequest)
|
17283
|
+
o.output = Shapes::ShapeRef.new(shape: CreateVpcBlockPublicAccessExclusionResult)
|
17284
|
+
end)
|
17285
|
+
|
17177
17286
|
api.add_operation(:create_vpc_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
17178
17287
|
o.name = "CreateVpcEndpoint"
|
17179
17288
|
o.http_method = "POST"
|
@@ -17774,6 +17883,14 @@ module Aws::EC2
|
|
17774
17883
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
17775
17884
|
end)
|
17776
17885
|
|
17886
|
+
api.add_operation(:delete_vpc_block_public_access_exclusion, Seahorse::Model::Operation.new.tap do |o|
|
17887
|
+
o.name = "DeleteVpcBlockPublicAccessExclusion"
|
17888
|
+
o.http_method = "POST"
|
17889
|
+
o.http_request_uri = "/"
|
17890
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteVpcBlockPublicAccessExclusionRequest)
|
17891
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteVpcBlockPublicAccessExclusionResult)
|
17892
|
+
end)
|
17893
|
+
|
17777
17894
|
api.add_operation(:delete_vpc_endpoint_connection_notifications, Seahorse::Model::Operation.new.tap do |o|
|
17778
17895
|
o.name = "DeleteVpcEndpointConnectionNotifications"
|
17779
17896
|
o.http_method = "POST"
|
@@ -19691,6 +19808,22 @@ module Aws::EC2
|
|
19691
19808
|
o.output = Shapes::ShapeRef.new(shape: DescribeVpcAttributeResult)
|
19692
19809
|
end)
|
19693
19810
|
|
19811
|
+
api.add_operation(:describe_vpc_block_public_access_exclusions, Seahorse::Model::Operation.new.tap do |o|
|
19812
|
+
o.name = "DescribeVpcBlockPublicAccessExclusions"
|
19813
|
+
o.http_method = "POST"
|
19814
|
+
o.http_request_uri = "/"
|
19815
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeVpcBlockPublicAccessExclusionsRequest)
|
19816
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeVpcBlockPublicAccessExclusionsResult)
|
19817
|
+
end)
|
19818
|
+
|
19819
|
+
api.add_operation(:describe_vpc_block_public_access_options, Seahorse::Model::Operation.new.tap do |o|
|
19820
|
+
o.name = "DescribeVpcBlockPublicAccessOptions"
|
19821
|
+
o.http_method = "POST"
|
19822
|
+
o.http_request_uri = "/"
|
19823
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeVpcBlockPublicAccessOptionsRequest)
|
19824
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeVpcBlockPublicAccessOptionsResult)
|
19825
|
+
end)
|
19826
|
+
|
19694
19827
|
api.add_operation(:describe_vpc_classic_link, Seahorse::Model::Operation.new.tap do |o|
|
19695
19828
|
o.name = "DescribeVpcClassicLink"
|
19696
19829
|
o.http_method = "POST"
|
@@ -21371,6 +21504,22 @@ module Aws::EC2
|
|
21371
21504
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
21372
21505
|
end)
|
21373
21506
|
|
21507
|
+
api.add_operation(:modify_vpc_block_public_access_exclusion, Seahorse::Model::Operation.new.tap do |o|
|
21508
|
+
o.name = "ModifyVpcBlockPublicAccessExclusion"
|
21509
|
+
o.http_method = "POST"
|
21510
|
+
o.http_request_uri = "/"
|
21511
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyVpcBlockPublicAccessExclusionRequest)
|
21512
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyVpcBlockPublicAccessExclusionResult)
|
21513
|
+
end)
|
21514
|
+
|
21515
|
+
api.add_operation(:modify_vpc_block_public_access_options, Seahorse::Model::Operation.new.tap do |o|
|
21516
|
+
o.name = "ModifyVpcBlockPublicAccessOptions"
|
21517
|
+
o.http_method = "POST"
|
21518
|
+
o.http_request_uri = "/"
|
21519
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyVpcBlockPublicAccessOptionsRequest)
|
21520
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyVpcBlockPublicAccessOptionsResult)
|
21521
|
+
end)
|
21522
|
+
|
21374
21523
|
api.add_operation(:modify_vpc_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
21375
21524
|
o.name = "ModifyVpcEndpoint"
|
21376
21525
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -2196,11 +2196,11 @@ module Aws::EC2
|
|
2196
2196
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
2197
2197
|
# DHCP options set.
|
2198
2198
|
#
|
2199
|
-
# * `tag
|
2200
|
-
#
|
2201
|
-
#
|
2202
|
-
#
|
2203
|
-
#
|
2199
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
2200
|
+
# Use the tag key in the filter name and the tag value as the filter
|
2201
|
+
# value. For example, to find all resources that have a tag with the
|
2202
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
2203
|
+
# filter name and `TeamA` for the filter value.
|
2204
2204
|
#
|
2205
2205
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2206
2206
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -2947,11 +2947,11 @@ module Aws::EC2
|
|
2947
2947
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
2948
2948
|
# internet gateway.
|
2949
2949
|
#
|
2950
|
-
# * `tag
|
2951
|
-
#
|
2952
|
-
#
|
2953
|
-
#
|
2954
|
-
#
|
2950
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
2951
|
+
# Use the tag key in the filter name and the tag value as the filter
|
2952
|
+
# value. For example, to find all resources that have a tag with the
|
2953
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
2954
|
+
# filter name and `TeamA` for the filter value.
|
2955
2955
|
#
|
2956
2956
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2957
2957
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -3090,11 +3090,11 @@ module Aws::EC2
|
|
3090
3090
|
#
|
3091
3091
|
# * `subnet-id` - The ID of the subnet in which the NAT gateway resides.
|
3092
3092
|
#
|
3093
|
-
# * `tag
|
3094
|
-
#
|
3095
|
-
#
|
3096
|
-
#
|
3097
|
-
#
|
3093
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
3094
|
+
# Use the tag key in the filter name and the tag value as the filter
|
3095
|
+
# value. For example, to find all resources that have a tag with the
|
3096
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
3097
|
+
# filter name and `TeamA` for the filter value.
|
3098
3098
|
#
|
3099
3099
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
3100
3100
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -3199,11 +3199,11 @@ module Aws::EC2
|
|
3199
3199
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
3200
3200
|
# network ACL.
|
3201
3201
|
#
|
3202
|
-
# * `tag
|
3203
|
-
#
|
3204
|
-
#
|
3205
|
-
#
|
3206
|
-
#
|
3202
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
3203
|
+
# Use the tag key in the filter name and the tag value as the filter
|
3204
|
+
# value. For example, to find all resources that have a tag with the
|
3205
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
3206
|
+
# filter name and `TeamA` for the filter value.
|
3207
3207
|
#
|
3208
3208
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
3209
3209
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -3583,11 +3583,11 @@ module Aws::EC2
|
|
3583
3583
|
# * `route.vpc-peering-connection-id` - The ID of a VPC peering
|
3584
3584
|
# connection specified in a route in the table.
|
3585
3585
|
#
|
3586
|
-
# * `tag
|
3587
|
-
#
|
3588
|
-
#
|
3589
|
-
#
|
3590
|
-
#
|
3586
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
3587
|
+
# Use the tag key in the filter name and the tag value as the filter
|
3588
|
+
# value. For example, to find all resources that have a tag with the
|
3589
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
3590
|
+
# filter name and `TeamA` for the filter value.
|
3591
3591
|
#
|
3592
3592
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
3593
3593
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -3960,11 +3960,11 @@ module Aws::EC2
|
|
3960
3960
|
#
|
3961
3961
|
# * `subnet-id` - The ID of the subnet.
|
3962
3962
|
#
|
3963
|
-
# * `tag
|
3964
|
-
#
|
3965
|
-
#
|
3966
|
-
#
|
3967
|
-
#
|
3963
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
3964
|
+
# Use the tag key in the filter name and the tag value as the filter
|
3965
|
+
# value. For example, to find all resources that have a tag with the
|
3966
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
3967
|
+
# filter name and `TeamA` for the filter value.
|
3968
3968
|
#
|
3969
3969
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
3970
3970
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -4257,11 +4257,11 @@ module Aws::EC2
|
|
4257
4257
|
# * `status-message` - A message that provides more information about
|
4258
4258
|
# the status of the VPC peering connection, if applicable.
|
4259
4259
|
#
|
4260
|
-
# * `tag
|
4261
|
-
#
|
4262
|
-
#
|
4263
|
-
#
|
4264
|
-
#
|
4260
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
4261
|
+
# Use the tag key in the filter name and the tag value as the filter
|
4262
|
+
# value. For example, to find all resources that have a tag with the
|
4263
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
4264
|
+
# filter name and `TeamA` for the filter value.
|
4265
4265
|
#
|
4266
4266
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
4267
4267
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -4340,11 +4340,11 @@ module Aws::EC2
|
|
4340
4340
|
#
|
4341
4341
|
# * `state` - The state of the VPC (`pending` \| `available`).
|
4342
4342
|
#
|
4343
|
-
# * `tag
|
4344
|
-
#
|
4345
|
-
#
|
4346
|
-
#
|
4347
|
-
#
|
4343
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
4344
|
+
# Use the tag key in the filter name and the tag value as the filter
|
4345
|
+
# value. For example, to find all resources that have a tag with the
|
4346
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
4347
|
+
# filter name and `TeamA` for the filter value.
|
4348
4348
|
#
|
4349
4349
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
4350
4350
|
# filter to find all resources assigned a tag with a specific key,
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -123,6 +123,12 @@ module Aws::EC2
|
|
123
123
|
data[:private_dns_name_options_on_launch]
|
124
124
|
end
|
125
125
|
|
126
|
+
# The state of VPC Block Public Access (BPA).
|
127
|
+
# @return [Types::BlockPublicAccessStates]
|
128
|
+
def block_public_access_states
|
129
|
+
data[:block_public_access_states]
|
130
|
+
end
|
131
|
+
|
126
132
|
# The current state of the subnet.
|
127
133
|
# @return [String]
|
128
134
|
def state
|
@@ -1654,11 +1660,11 @@ module Aws::EC2
|
|
1654
1660
|
#
|
1655
1661
|
# * `subnet-id` - The ID of the subnet in which the NAT gateway resides.
|
1656
1662
|
#
|
1657
|
-
# * `tag
|
1658
|
-
#
|
1659
|
-
#
|
1660
|
-
#
|
1661
|
-
#
|
1663
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
1664
|
+
# Use the tag key in the filter name and the tag value as the filter
|
1665
|
+
# value. For example, to find all resources that have a tag with the
|
1666
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
1667
|
+
# filter name and `TeamA` for the filter value.
|
1662
1668
|
#
|
1663
1669
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1664
1670
|
# filter to find all resources assigned a tag with a specific key,
|