aws-sdk-ec2 1.0.0.rc18 → 1.0.0.rc19

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b96ba612ee5d0bff68d1ecc997c5797b963fc8b9
4
- data.tar.gz: ded642904f38e11403b93f2174dfcbbe1a2af949
3
+ metadata.gz: 1ad0e1478bb85a3d9a7a4b9cae9991af58244773
4
+ data.tar.gz: abe5ea8ad51e742e772661f41782e3e44953bb59
5
5
  SHA512:
6
- metadata.gz: 072f68c561ca355f29b581fc4206f516b84c5eda0f28fdb8f47cb8fddfe4872292c69b3f72e130e78b68b1df4f708279e69a5c55e5e0e225361a57b96adec15d
7
- data.tar.gz: bc4e58883b63b0b3fdc3fbeec375311351450eea5a0a16b14e60e0775e792482ab72e64adbea4320df8e53620dbf011f2b02c12d37fb0a98ab42ced41820eea2
6
+ metadata.gz: 8649bf5c173b1e867dfab897130ca386c57e1f0cf00179cadc0e3abc0d5aa022b6b08a07d2fb87eb696c34d4f720f81d2ccc90282e5be5944ffd680667a7e9f8
7
+ data.tar.gz: b230706481fe3ed72b42a57765133ed4b78de790d13919053526a14ff5be8329cf69da50586bd371878350c509ec6faa168cc16b645e0c1ea80909fa5812102e
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.0.0.rc18'
68
+ GEM_VERSION = '1.0.0.rc19'
69
69
 
70
70
  end
@@ -226,6 +226,8 @@ module Aws::EC2
226
226
  # resp.vpc_peering_connection.accepter_vpc_info.cidr_block #=> String
227
227
  # resp.vpc_peering_connection.accepter_vpc_info.ipv_6_cidr_block_set #=> Array
228
228
  # resp.vpc_peering_connection.accepter_vpc_info.ipv_6_cidr_block_set[0].ipv_6_cidr_block #=> String
229
+ # resp.vpc_peering_connection.accepter_vpc_info.cidr_block_set #=> Array
230
+ # resp.vpc_peering_connection.accepter_vpc_info.cidr_block_set[0].cidr_block #=> String
229
231
  # resp.vpc_peering_connection.accepter_vpc_info.owner_id #=> String
230
232
  # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_dns_resolution_from_remote_vpc #=> Boolean
231
233
  # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
@@ -235,6 +237,8 @@ module Aws::EC2
235
237
  # resp.vpc_peering_connection.requester_vpc_info.cidr_block #=> String
236
238
  # resp.vpc_peering_connection.requester_vpc_info.ipv_6_cidr_block_set #=> Array
237
239
  # resp.vpc_peering_connection.requester_vpc_info.ipv_6_cidr_block_set[0].ipv_6_cidr_block #=> String
240
+ # resp.vpc_peering_connection.requester_vpc_info.cidr_block_set #=> Array
241
+ # resp.vpc_peering_connection.requester_vpc_info.cidr_block_set[0].cidr_block #=> String
238
242
  # resp.vpc_peering_connection.requester_vpc_info.owner_id #=> String
239
243
  # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_dns_resolution_from_remote_vpc #=> Boolean
240
244
  # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
@@ -896,27 +900,40 @@ module Aws::EC2
896
900
  req.send_request(options)
897
901
  end
898
902
 
899
- # Associates a CIDR block with your VPC. You can only associate a single
900
- # Amazon-provided IPv6 CIDR block with your VPC. The IPv6 CIDR block
901
- # size is fixed at /56.
903
+ # Associates a CIDR block with your VPC. You can associate a secondary
904
+ # IPv4 CIDR block, or you can associate an Amazon-provided IPv6 CIDR
905
+ # block. The IPv6 CIDR block size is fixed at /56.
906
+ #
907
+ # For more information about associating CIDR blocks with your VPC and
908
+ # applicable restrictions, see [VPC and Subnet Sizing][1] in the *Amazon
909
+ # Virtual Private Cloud User Guide*.
910
+ #
911
+ #
912
+ #
913
+ # [1]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Subnets.html#VPC_Sizing
902
914
  #
903
915
  # @option params [Boolean] :amazon_provided_ipv_6_cidr_block
904
916
  # Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length
905
917
  # for the VPC. You cannot specify the range of IPv6 addresses, or the
906
918
  # size of the CIDR block.
907
919
  #
920
+ # @option params [String] :cidr_block
921
+ # An IPv4 CIDR block to associate with the VPC.
922
+ #
908
923
  # @option params [required, String] :vpc_id
909
924
  # The ID of the VPC.
910
925
  #
911
926
  # @return [Types::AssociateVpcCidrBlockResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
912
927
  #
913
928
  # * {Types::AssociateVpcCidrBlockResult#ipv_6_cidr_block_association #ipv_6_cidr_block_association} => Types::VpcIpv6CidrBlockAssociation
929
+ # * {Types::AssociateVpcCidrBlockResult#cidr_block_association #cidr_block_association} => Types::VpcCidrBlockAssociation
914
930
  # * {Types::AssociateVpcCidrBlockResult#vpc_id #vpc_id} => String
915
931
  #
916
932
  # @example Request syntax with placeholder values
917
933
  #
918
934
  # resp = client.associate_vpc_cidr_block({
919
935
  # amazon_provided_ipv_6_cidr_block: false,
936
+ # cidr_block: "String",
920
937
  # vpc_id: "String", # required
921
938
  # })
922
939
  #
@@ -926,6 +943,10 @@ module Aws::EC2
926
943
  # resp.ipv_6_cidr_block_association.ipv_6_cidr_block #=> String
927
944
  # resp.ipv_6_cidr_block_association.ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
928
945
  # resp.ipv_6_cidr_block_association.ipv_6_cidr_block_state.status_message #=> String
946
+ # resp.cidr_block_association.association_id #=> String
947
+ # resp.cidr_block_association.cidr_block #=> String
948
+ # resp.cidr_block_association.cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
949
+ # resp.cidr_block_association.cidr_block_state.status_message #=> String
929
950
  # resp.vpc_id #=> String
930
951
  #
931
952
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateVpcCidrBlock AWS API Documentation
@@ -2478,6 +2499,11 @@ module Aws::EC2
2478
2499
  # resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block #=> String
2479
2500
  # resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
2480
2501
  # resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.status_message #=> String
2502
+ # resp.vpc.cidr_block_association_set #=> Array
2503
+ # resp.vpc.cidr_block_association_set[0].association_id #=> String
2504
+ # resp.vpc.cidr_block_association_set[0].cidr_block #=> String
2505
+ # resp.vpc.cidr_block_association_set[0].cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
2506
+ # resp.vpc.cidr_block_association_set[0].cidr_block_state.status_message #=> String
2481
2507
  # resp.vpc.is_default #=> Boolean
2482
2508
  # resp.vpc.tags #=> Array
2483
2509
  # resp.vpc.tags[0].key #=> String
@@ -4340,15 +4366,14 @@ module Aws::EC2
4340
4366
 
4341
4367
  # Creates a subnet in an existing VPC.
4342
4368
  #
4343
- # When you create each subnet, you provide the VPC ID and the CIDR block
4344
- # you want for the subnet. After you create a subnet, you can't change
4345
- # its CIDR block. The subnet's IPv4 CIDR block can be the same as the
4346
- # VPC's IPv4 CIDR block (assuming you want only a single subnet in the
4347
- # VPC), or a subset of the VPC's IPv4 CIDR block. If you create more
4348
- # than one subnet in a VPC, the subnets' CIDR blocks must not overlap.
4349
- # The smallest IPv4 subnet (and VPC) you can create uses a /28 netmask
4350
- # (16 IPv4 addresses), and the largest uses a /16 netmask (65,536 IPv4
4351
- # addresses).
4369
+ # When you create each subnet, you provide the VPC ID and the IPv4 CIDR
4370
+ # block you want for the subnet. After you create a subnet, you can't
4371
+ # change its CIDR block. The size of the subnet's IPv4 CIDR block can
4372
+ # be the same as a VPC's IPv4 CIDR block, or a subset of a VPC's IPv4
4373
+ # CIDR block. If you create more than one subnet in a VPC, the subnets'
4374
+ # CIDR blocks must not overlap. The smallest IPv4 subnet (and VPC) you
4375
+ # can create uses a /28 netmask (16 IPv4 addresses), and the largest
4376
+ # uses a /16 netmask (65,536 IPv4 addresses).
4352
4377
  #
4353
4378
  # If you've associated an IPv6 CIDR block with your VPC, you can create
4354
4379
  # a subnet with an IPv6 CIDR block that uses a /64 prefix length.
@@ -4852,6 +4877,11 @@ module Aws::EC2
4852
4877
  # resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block #=> String
4853
4878
  # resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
4854
4879
  # resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.status_message #=> String
4880
+ # resp.vpc.cidr_block_association_set #=> Array
4881
+ # resp.vpc.cidr_block_association_set[0].association_id #=> String
4882
+ # resp.vpc.cidr_block_association_set[0].cidr_block #=> String
4883
+ # resp.vpc.cidr_block_association_set[0].cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
4884
+ # resp.vpc.cidr_block_association_set[0].cidr_block_state.status_message #=> String
4855
4885
  # resp.vpc.is_default #=> Boolean
4856
4886
  # resp.vpc.tags #=> Array
4857
4887
  # resp.vpc.tags[0].key #=> String
@@ -4994,6 +5024,8 @@ module Aws::EC2
4994
5024
  # resp.vpc_peering_connection.accepter_vpc_info.cidr_block #=> String
4995
5025
  # resp.vpc_peering_connection.accepter_vpc_info.ipv_6_cidr_block_set #=> Array
4996
5026
  # resp.vpc_peering_connection.accepter_vpc_info.ipv_6_cidr_block_set[0].ipv_6_cidr_block #=> String
5027
+ # resp.vpc_peering_connection.accepter_vpc_info.cidr_block_set #=> Array
5028
+ # resp.vpc_peering_connection.accepter_vpc_info.cidr_block_set[0].cidr_block #=> String
4997
5029
  # resp.vpc_peering_connection.accepter_vpc_info.owner_id #=> String
4998
5030
  # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_dns_resolution_from_remote_vpc #=> Boolean
4999
5031
  # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
@@ -5003,6 +5035,8 @@ module Aws::EC2
5003
5035
  # resp.vpc_peering_connection.requester_vpc_info.cidr_block #=> String
5004
5036
  # resp.vpc_peering_connection.requester_vpc_info.ipv_6_cidr_block_set #=> Array
5005
5037
  # resp.vpc_peering_connection.requester_vpc_info.ipv_6_cidr_block_set[0].ipv_6_cidr_block #=> String
5038
+ # resp.vpc_peering_connection.requester_vpc_info.cidr_block_set #=> Array
5039
+ # resp.vpc_peering_connection.requester_vpc_info.cidr_block_set[0].cidr_block #=> String
5006
5040
  # resp.vpc_peering_connection.requester_vpc_info.owner_id #=> String
5007
5041
  # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_dns_resolution_from_remote_vpc #=> Boolean
5008
5042
  # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
@@ -5969,10 +6003,10 @@ module Aws::EC2
5969
6003
  end
5970
6004
 
5971
6005
  # Deletes the specified set of tags from the specified set of resources.
5972
- # This call is designed to follow a `DescribeTags` request.
5973
6006
  #
5974
- # For more information about tags, see [Tagging Your Resources][1] in
5975
- # the *Amazon Elastic Compute Cloud User Guide*.
6007
+ # To list the current tags, use DescribeTags. For more information about
6008
+ # tags, see [Tagging Your Resources][1] in the *Amazon Elastic Compute
6009
+ # Cloud User Guide*.
5976
6010
  #
5977
6011
  #
5978
6012
  #
@@ -5985,14 +6019,15 @@ module Aws::EC2
5985
6019
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
5986
6020
  #
5987
6021
  # @option params [required, Array<String>] :resources
5988
- # The ID of the resource. For example, ami-1a2b3c4d. You can specify
5989
- # more than one resource ID.
6022
+ # The IDs of one or more resources.
5990
6023
  #
5991
6024
  # @option params [Array<Types::Tag>] :tags
5992
- # One or more tags to delete. If you omit the `value` parameter, we
5993
- # delete the tag regardless of its value. If you specify this parameter
5994
- # with an empty string as the value, we delete the key only if its value
5995
- # is an empty string.
6025
+ # One or more tags to delete. If you omit this parameter, we delete all
6026
+ # tags for the specified resources. Specify a tag key and an optional
6027
+ # tag value to delete specific tags. If you specify a tag key without a
6028
+ # tag value, we delete any tag with this key regardless of its value. If
6029
+ # you specify a tag key with an empty string as the tag value, we delete
6030
+ # the tag only if its value is an empty string.
5996
6031
  #
5997
6032
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5998
6033
  #
@@ -14355,6 +14390,8 @@ module Aws::EC2
14355
14390
  # resp.vpc_peering_connections[0].accepter_vpc_info.cidr_block #=> String
14356
14391
  # resp.vpc_peering_connections[0].accepter_vpc_info.ipv_6_cidr_block_set #=> Array
14357
14392
  # resp.vpc_peering_connections[0].accepter_vpc_info.ipv_6_cidr_block_set[0].ipv_6_cidr_block #=> String
14393
+ # resp.vpc_peering_connections[0].accepter_vpc_info.cidr_block_set #=> Array
14394
+ # resp.vpc_peering_connections[0].accepter_vpc_info.cidr_block_set[0].cidr_block #=> String
14358
14395
  # resp.vpc_peering_connections[0].accepter_vpc_info.owner_id #=> String
14359
14396
  # resp.vpc_peering_connections[0].accepter_vpc_info.peering_options.allow_dns_resolution_from_remote_vpc #=> Boolean
14360
14397
  # resp.vpc_peering_connections[0].accepter_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
@@ -14364,6 +14401,8 @@ module Aws::EC2
14364
14401
  # resp.vpc_peering_connections[0].requester_vpc_info.cidr_block #=> String
14365
14402
  # resp.vpc_peering_connections[0].requester_vpc_info.ipv_6_cidr_block_set #=> Array
14366
14403
  # resp.vpc_peering_connections[0].requester_vpc_info.ipv_6_cidr_block_set[0].ipv_6_cidr_block #=> String
14404
+ # resp.vpc_peering_connections[0].requester_vpc_info.cidr_block_set #=> Array
14405
+ # resp.vpc_peering_connections[0].requester_vpc_info.cidr_block_set[0].cidr_block #=> String
14367
14406
  # resp.vpc_peering_connections[0].requester_vpc_info.owner_id #=> String
14368
14407
  # resp.vpc_peering_connections[0].requester_vpc_info.peering_options.allow_dns_resolution_from_remote_vpc #=> Boolean
14369
14408
  # resp.vpc_peering_connections[0].requester_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
@@ -14390,10 +14429,19 @@ module Aws::EC2
14390
14429
  # @option params [Array<Types::Filter>] :filters
14391
14430
  # One or more filters.
14392
14431
  #
14393
- # * `cidr` - The IPv4 CIDR block of the VPC. The CIDR block you specify
14394
- # must exactly match the VPC's CIDR block for information to be
14395
- # returned for the VPC. Must contain the slash followed by one or two
14396
- # digits (for example, `/28`).
14432
+ # * `cidr` - The primary IPv4 CIDR block of the VPC. The CIDR block you
14433
+ # specify must exactly match the VPC's CIDR block for information to
14434
+ # be returned for the VPC. Must contain the slash followed by one or
14435
+ # two digits (for example, `/28`).
14436
+ #
14437
+ # * `cidr-block-association.cidr-block` - An IPv4 CIDR block associated
14438
+ # with the VPC.
14439
+ #
14440
+ # * `cidr-block-association.association-id` - The association ID for an
14441
+ # IPv4 CIDR block associated with the VPC.
14442
+ #
14443
+ # * `cidr-block-association.state` - The state of an IPv4 CIDR block
14444
+ # associated with the VPC.
14397
14445
  #
14398
14446
  # * `dhcp-options-id` - The ID of a set of DHCP options.
14399
14447
  #
@@ -14501,6 +14549,11 @@ module Aws::EC2
14501
14549
  # resp.vpcs[0].ipv_6_cidr_block_association_set[0].ipv_6_cidr_block #=> String
14502
14550
  # resp.vpcs[0].ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
14503
14551
  # resp.vpcs[0].ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.status_message #=> String
14552
+ # resp.vpcs[0].cidr_block_association_set #=> Array
14553
+ # resp.vpcs[0].cidr_block_association_set[0].association_id #=> String
14554
+ # resp.vpcs[0].cidr_block_association_set[0].cidr_block #=> String
14555
+ # resp.vpcs[0].cidr_block_association_set[0].cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
14556
+ # resp.vpcs[0].cidr_block_association_set[0].cidr_block_state.status_message #=> String
14504
14557
  # resp.vpcs[0].is_default #=> Boolean
14505
14558
  # resp.vpcs[0].tags #=> Array
14506
14559
  # resp.vpcs[0].tags[0].key #=> String
@@ -15291,17 +15344,22 @@ module Aws::EC2
15291
15344
  req.send_request(options)
15292
15345
  end
15293
15346
 
15294
- # Disassociates a CIDR block from a VPC. Currently, you can disassociate
15295
- # an IPv6 CIDR block only. You must detach or delete all gateways and
15347
+ # Disassociates a CIDR block from a VPC. To disassociate the CIDR block,
15348
+ # you must specify its association ID. You can get the association ID by
15349
+ # using DescribeVpcs. You must detach or delete all gateways and
15296
15350
  # resources that are associated with the CIDR block before you can
15297
15351
  # disassociate it.
15298
15352
  #
15353
+ # You cannot disassociate the CIDR block with which you originally
15354
+ # created the VPC (the primary CIDR block).
15355
+ #
15299
15356
  # @option params [required, String] :association_id
15300
15357
  # The association ID for the CIDR block.
15301
15358
  #
15302
15359
  # @return [Types::DisassociateVpcCidrBlockResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
15303
15360
  #
15304
15361
  # * {Types::DisassociateVpcCidrBlockResult#ipv_6_cidr_block_association #ipv_6_cidr_block_association} => Types::VpcIpv6CidrBlockAssociation
15362
+ # * {Types::DisassociateVpcCidrBlockResult#cidr_block_association #cidr_block_association} => Types::VpcCidrBlockAssociation
15305
15363
  # * {Types::DisassociateVpcCidrBlockResult#vpc_id #vpc_id} => String
15306
15364
  #
15307
15365
  # @example Request syntax with placeholder values
@@ -15316,6 +15374,10 @@ module Aws::EC2
15316
15374
  # resp.ipv_6_cidr_block_association.ipv_6_cidr_block #=> String
15317
15375
  # resp.ipv_6_cidr_block_association.ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
15318
15376
  # resp.ipv_6_cidr_block_association.ipv_6_cidr_block_state.status_message #=> String
15377
+ # resp.cidr_block_association.association_id #=> String
15378
+ # resp.cidr_block_association.cidr_block #=> String
15379
+ # resp.cidr_block_association.cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
15380
+ # resp.cidr_block_association.cidr_block_state.status_message #=> String
15319
15381
  # resp.vpc_id #=> String
15320
15382
  #
15321
15383
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateVpcCidrBlock AWS API Documentation
@@ -20857,7 +20919,7 @@ module Aws::EC2
20857
20919
  params: params,
20858
20920
  config: config)
20859
20921
  context[:gem_name] = 'aws-sdk-ec2'
20860
- context[:gem_version] = '1.0.0.rc18'
20922
+ context[:gem_version] = '1.0.0.rc19'
20861
20923
  Seahorse::Client::Request.new(handlers, context)
20862
20924
  end
20863
20925
 
@@ -107,6 +107,8 @@ module Aws::EC2
107
107
  CancelSpotInstanceRequestsResult = Shapes::StructureShape.new(name: 'CancelSpotInstanceRequestsResult')
108
108
  CancelledSpotInstanceRequest = Shapes::StructureShape.new(name: 'CancelledSpotInstanceRequest')
109
109
  CancelledSpotInstanceRequestList = Shapes::ListShape.new(name: 'CancelledSpotInstanceRequestList')
110
+ CidrBlock = Shapes::StructureShape.new(name: 'CidrBlock')
111
+ CidrBlockSet = Shapes::ListShape.new(name: 'CidrBlockSet')
110
112
  ClassicLinkDnsSupport = Shapes::StructureShape.new(name: 'ClassicLinkDnsSupport')
111
113
  ClassicLinkDnsSupportList = Shapes::ListShape.new(name: 'ClassicLinkDnsSupportList')
112
114
  ClassicLinkInstance = Shapes::StructureShape.new(name: 'ClassicLinkInstance')
@@ -929,6 +931,8 @@ module Aws::EC2
929
931
  VpcAttachment = Shapes::StructureShape.new(name: 'VpcAttachment')
930
932
  VpcAttachmentList = Shapes::ListShape.new(name: 'VpcAttachmentList')
931
933
  VpcAttributeName = Shapes::StringShape.new(name: 'VpcAttributeName')
934
+ VpcCidrBlockAssociation = Shapes::StructureShape.new(name: 'VpcCidrBlockAssociation')
935
+ VpcCidrBlockAssociationSet = Shapes::ListShape.new(name: 'VpcCidrBlockAssociationSet')
932
936
  VpcCidrBlockState = Shapes::StructureShape.new(name: 'VpcCidrBlockState')
933
937
  VpcCidrBlockStateCode = Shapes::StringShape.new(name: 'VpcCidrBlockStateCode')
934
938
  VpcClassicLink = Shapes::StructureShape.new(name: 'VpcClassicLink')
@@ -1088,10 +1092,12 @@ module Aws::EC2
1088
1092
  AssociateSubnetCidrBlockResult.struct_class = Types::AssociateSubnetCidrBlockResult
1089
1093
 
1090
1094
  AssociateVpcCidrBlockRequest.add_member(:amazon_provided_ipv_6_cidr_block, Shapes::ShapeRef.new(shape: Boolean, location_name: "amazonProvidedIpv6CidrBlock"))
1095
+ AssociateVpcCidrBlockRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "CidrBlock"))
1091
1096
  AssociateVpcCidrBlockRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "vpcId"))
1092
1097
  AssociateVpcCidrBlockRequest.struct_class = Types::AssociateVpcCidrBlockRequest
1093
1098
 
1094
1099
  AssociateVpcCidrBlockResult.add_member(:ipv_6_cidr_block_association, Shapes::ShapeRef.new(shape: VpcIpv6CidrBlockAssociation, location_name: "ipv6CidrBlockAssociation"))
1100
+ AssociateVpcCidrBlockResult.add_member(:cidr_block_association, Shapes::ShapeRef.new(shape: VpcCidrBlockAssociation, location_name: "cidrBlockAssociation"))
1095
1101
  AssociateVpcCidrBlockResult.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
1096
1102
  AssociateVpcCidrBlockResult.struct_class = Types::AssociateVpcCidrBlockResult
1097
1103
 
@@ -1293,6 +1299,11 @@ module Aws::EC2
1293
1299
 
1294
1300
  CancelledSpotInstanceRequestList.member = Shapes::ShapeRef.new(shape: CancelledSpotInstanceRequest, location_name: "item")
1295
1301
 
1302
+ CidrBlock.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "cidrBlock"))
1303
+ CidrBlock.struct_class = Types::CidrBlock
1304
+
1305
+ CidrBlockSet.member = Shapes::ShapeRef.new(shape: CidrBlock, location_name: "item")
1306
+
1296
1307
  ClassicLinkDnsSupport.add_member(:classic_link_dns_supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "classicLinkDnsSupported"))
1297
1308
  ClassicLinkDnsSupport.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
1298
1309
  ClassicLinkDnsSupport.struct_class = Types::ClassicLinkDnsSupport
@@ -2551,6 +2562,7 @@ module Aws::EC2
2551
2562
  DisassociateVpcCidrBlockRequest.struct_class = Types::DisassociateVpcCidrBlockRequest
2552
2563
 
2553
2564
  DisassociateVpcCidrBlockResult.add_member(:ipv_6_cidr_block_association, Shapes::ShapeRef.new(shape: VpcIpv6CidrBlockAssociation, location_name: "ipv6CidrBlockAssociation"))
2565
+ DisassociateVpcCidrBlockResult.add_member(:cidr_block_association, Shapes::ShapeRef.new(shape: VpcCidrBlockAssociation, location_name: "cidrBlockAssociation"))
2554
2566
  DisassociateVpcCidrBlockResult.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
2555
2567
  DisassociateVpcCidrBlockResult.struct_class = Types::DisassociateVpcCidrBlockResult
2556
2568
 
@@ -4804,6 +4816,7 @@ module Aws::EC2
4804
4816
  Vpc.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
4805
4817
  Vpc.add_member(:instance_tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "instanceTenancy"))
4806
4818
  Vpc.add_member(:ipv_6_cidr_block_association_set, Shapes::ShapeRef.new(shape: VpcIpv6CidrBlockAssociationSet, location_name: "ipv6CidrBlockAssociationSet"))
4819
+ Vpc.add_member(:cidr_block_association_set, Shapes::ShapeRef.new(shape: VpcCidrBlockAssociationSet, location_name: "cidrBlockAssociationSet"))
4807
4820
  Vpc.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "isDefault"))
4808
4821
  Vpc.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
4809
4822
  Vpc.struct_class = Types::Vpc
@@ -4814,6 +4827,13 @@ module Aws::EC2
4814
4827
 
4815
4828
  VpcAttachmentList.member = Shapes::ShapeRef.new(shape: VpcAttachment, location_name: "item")
4816
4829
 
4830
+ VpcCidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: String, location_name: "associationId"))
4831
+ VpcCidrBlockAssociation.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "cidrBlock"))
4832
+ VpcCidrBlockAssociation.add_member(:cidr_block_state, Shapes::ShapeRef.new(shape: VpcCidrBlockState, location_name: "cidrBlockState"))
4833
+ VpcCidrBlockAssociation.struct_class = Types::VpcCidrBlockAssociation
4834
+
4835
+ VpcCidrBlockAssociationSet.member = Shapes::ShapeRef.new(shape: VpcCidrBlockAssociation, location_name: "item")
4836
+
4817
4837
  VpcCidrBlockState.add_member(:state, Shapes::ShapeRef.new(shape: VpcCidrBlockStateCode, location_name: "state"))
4818
4838
  VpcCidrBlockState.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
4819
4839
  VpcCidrBlockState.struct_class = Types::VpcCidrBlockState
@@ -4870,6 +4890,7 @@ module Aws::EC2
4870
4890
 
4871
4891
  VpcPeeringConnectionVpcInfo.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "cidrBlock"))
4872
4892
  VpcPeeringConnectionVpcInfo.add_member(:ipv_6_cidr_block_set, Shapes::ShapeRef.new(shape: Ipv6CidrBlockSet, location_name: "ipv6CidrBlockSet"))
4893
+ VpcPeeringConnectionVpcInfo.add_member(:cidr_block_set, Shapes::ShapeRef.new(shape: CidrBlockSet, location_name: "cidrBlockSet"))
4873
4894
  VpcPeeringConnectionVpcInfo.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
4874
4895
  VpcPeeringConnectionVpcInfo.add_member(:peering_options, Shapes::ShapeRef.new(shape: VpcPeeringConnectionOptionsDescription, location_name: "peeringOptions"))
4875
4896
  VpcPeeringConnectionVpcInfo.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
@@ -2780,10 +2780,19 @@ module Aws::EC2
2780
2780
  # @option options [Array<Types::Filter>] :filters
2781
2781
  # One or more filters.
2782
2782
  #
2783
- # * `cidr` - The IPv4 CIDR block of the VPC. The CIDR block you specify
2784
- # must exactly match the VPC's CIDR block for information to be
2785
- # returned for the VPC. Must contain the slash followed by one or two
2786
- # digits (for example, `/28`).
2783
+ # * `cidr` - The primary IPv4 CIDR block of the VPC. The CIDR block you
2784
+ # specify must exactly match the VPC's CIDR block for information to
2785
+ # be returned for the VPC. Must contain the slash followed by one or
2786
+ # two digits (for example, `/28`).
2787
+ #
2788
+ # * `cidr-block-association.cidr-block` - An IPv4 CIDR block associated
2789
+ # with the VPC.
2790
+ #
2791
+ # * `cidr-block-association.association-id` - The association ID for an
2792
+ # IPv4 CIDR block associated with the VPC.
2793
+ #
2794
+ # * `cidr-block-association.state` - The state of an IPv4 CIDR block
2795
+ # associated with the VPC.
2787
2796
  #
2788
2797
  # * `dhcp-options-id` - The ID of a set of DHCP options.
2789
2798
  #
@@ -116,10 +116,12 @@ module Aws::EC2
116
116
  # If you have the required permissions, the error response is
117
117
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
118
118
  # @option options [Array<Types::Tag>] :tags
119
- # One or more tags to delete. If you omit the `value` parameter, we
120
- # delete the tag regardless of its value. If you specify this parameter
121
- # with an empty string as the value, we delete the key only if its value
122
- # is an empty string.
119
+ # One or more tags to delete. If you omit this parameter, we delete all
120
+ # tags for the specified resources. Specify a tag key and an optional
121
+ # tag value to delete specific tags. If you specify a tag key without a
122
+ # tag value, we delete any tag with this key regardless of its value. If
123
+ # you specify a tag key with an empty string as the tag value, we delete
124
+ # the tag only if its value is an empty string.
123
125
  # @return [EmptyStructure]
124
126
  def delete(options = {})
125
127
  options = Aws::Util.deep_merge(options,
@@ -706,6 +706,7 @@ module Aws::EC2
706
706
  #
707
707
  # {
708
708
  # amazon_provided_ipv_6_cidr_block: false,
709
+ # cidr_block: "String",
709
710
  # vpc_id: "String", # required
710
711
  # }
711
712
  #
@@ -715,6 +716,10 @@ module Aws::EC2
715
716
  # size of the CIDR block.
716
717
  # @return [Boolean]
717
718
  #
719
+ # @!attribute [rw] cidr_block
720
+ # An IPv4 CIDR block to associate with the VPC.
721
+ # @return [String]
722
+ #
718
723
  # @!attribute [rw] vpc_id
719
724
  # The ID of the VPC.
720
725
  # @return [String]
@@ -723,6 +728,7 @@ module Aws::EC2
723
728
  #
724
729
  class AssociateVpcCidrBlockRequest < Struct.new(
725
730
  :amazon_provided_ipv_6_cidr_block,
731
+ :cidr_block,
726
732
  :vpc_id)
727
733
  include Aws::Structure
728
734
  end
@@ -731,6 +737,10 @@ module Aws::EC2
731
737
  # Information about the IPv6 CIDR block association.
732
738
  # @return [Types::VpcIpv6CidrBlockAssociation]
733
739
  #
740
+ # @!attribute [rw] cidr_block_association
741
+ # Information about the IPv4 CIDR block association.
742
+ # @return [Types::VpcCidrBlockAssociation]
743
+ #
734
744
  # @!attribute [rw] vpc_id
735
745
  # The ID of the VPC.
736
746
  # @return [String]
@@ -739,6 +749,7 @@ module Aws::EC2
739
749
  #
740
750
  class AssociateVpcCidrBlockResult < Struct.new(
741
751
  :ipv_6_cidr_block_association,
752
+ :cidr_block_association,
742
753
  :vpc_id)
743
754
  include Aws::Structure
744
755
  end
@@ -1902,6 +1913,19 @@ module Aws::EC2
1902
1913
  include Aws::Structure
1903
1914
  end
1904
1915
 
1916
+ # Describes an IPv4 CIDR block.
1917
+ #
1918
+ # @!attribute [rw] cidr_block
1919
+ # The IPv4 CIDR block.
1920
+ # @return [String]
1921
+ #
1922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CidrBlock AWS API Documentation
1923
+ #
1924
+ class CidrBlock < Struct.new(
1925
+ :cidr_block)
1926
+ include Aws::Structure
1927
+ end
1928
+
1905
1929
  # Describes the ClassicLink DNS support status of a VPC.
1906
1930
  #
1907
1931
  # @!attribute [rw] classic_link_dns_supported
@@ -4958,15 +4982,16 @@ module Aws::EC2
4958
4982
  # @return [Boolean]
4959
4983
  #
4960
4984
  # @!attribute [rw] resources
4961
- # The ID of the resource. For example, ami-1a2b3c4d. You can specify
4962
- # more than one resource ID.
4985
+ # The IDs of one or more resources.
4963
4986
  # @return [Array<String>]
4964
4987
  #
4965
4988
  # @!attribute [rw] tags
4966
- # One or more tags to delete. If you omit the `value` parameter, we
4967
- # delete the tag regardless of its value. If you specify this
4968
- # parameter with an empty string as the value, we delete the key only
4969
- # if its value is an empty string.
4989
+ # One or more tags to delete. If you omit this parameter, we delete
4990
+ # all tags for the specified resources. Specify a tag key and an
4991
+ # optional tag value to delete specific tags. If you specify a tag key
4992
+ # without a tag value, we delete any tag with this key regardless of
4993
+ # its value. If you specify a tag key with an empty string as the tag
4994
+ # value, we delete the tag only if its value is an empty string.
4970
4995
  # @return [Array<Types::Tag>]
4971
4996
  #
4972
4997
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTagsRequest AWS API Documentation
@@ -11205,10 +11230,19 @@ module Aws::EC2
11205
11230
  # @!attribute [rw] filters
11206
11231
  # One or more filters.
11207
11232
  #
11208
- # * `cidr` - The IPv4 CIDR block of the VPC. The CIDR block you
11209
- # specify must exactly match the VPC's CIDR block for information
11210
- # to be returned for the VPC. Must contain the slash followed by one
11211
- # or two digits (for example, `/28`).
11233
+ # * `cidr` - The primary IPv4 CIDR block of the VPC. The CIDR block
11234
+ # you specify must exactly match the VPC's CIDR block for
11235
+ # information to be returned for the VPC. Must contain the slash
11236
+ # followed by one or two digits (for example, `/28`).
11237
+ #
11238
+ # * `cidr-block-association.cidr-block` - An IPv4 CIDR block
11239
+ # associated with the VPC.
11240
+ #
11241
+ # * `cidr-block-association.association-id` - The association ID for
11242
+ # an IPv4 CIDR block associated with the VPC.
11243
+ #
11244
+ # * `cidr-block-association.state` - The state of an IPv4 CIDR block
11245
+ # associated with the VPC.
11212
11246
  #
11213
11247
  # * `dhcp-options-id` - The ID of a set of DHCP options.
11214
11248
  #
@@ -11973,6 +12007,10 @@ module Aws::EC2
11973
12007
  # Information about the IPv6 CIDR block association.
11974
12008
  # @return [Types::VpcIpv6CidrBlockAssociation]
11975
12009
  #
12010
+ # @!attribute [rw] cidr_block_association
12011
+ # Information about the IPv4 CIDR block association.
12012
+ # @return [Types::VpcCidrBlockAssociation]
12013
+ #
11976
12014
  # @!attribute [rw] vpc_id
11977
12015
  # The ID of the VPC.
11978
12016
  # @return [String]
@@ -11981,6 +12019,7 @@ module Aws::EC2
11981
12019
  #
11982
12020
  class DisassociateVpcCidrBlockResult < Struct.new(
11983
12021
  :ipv_6_cidr_block_association,
12022
+ :cidr_block_association,
11984
12023
  :vpc_id)
11985
12024
  include Aws::Structure
11986
12025
  end
@@ -23534,6 +23573,9 @@ module Aws::EC2
23534
23573
  # * `Client.InstanceInitiatedShutdown`\: The instance was shut down
23535
23574
  # using the `shutdown -h` command from the instance.
23536
23575
  #
23576
+ # * `Client.InstanceTerminated`\: The instance was terminated or
23577
+ # rebooted during AMI creation.
23578
+ #
23537
23579
  # * `Client.UserInitiatedShutdown`\: The instance was shut down using
23538
23580
  # the Amazon EC2 API.
23539
23581
  #
@@ -24636,7 +24678,7 @@ module Aws::EC2
24636
24678
  # Describes a VPC.
24637
24679
  #
24638
24680
  # @!attribute [rw] cidr_block
24639
- # The IPv4 CIDR block for the VPC.
24681
+ # The primary IPv4 CIDR block for the VPC.
24640
24682
  # @return [String]
24641
24683
  #
24642
24684
  # @!attribute [rw] dhcp_options_id
@@ -24660,6 +24702,10 @@ module Aws::EC2
24660
24702
  # Information about the IPv6 CIDR blocks associated with the VPC.
24661
24703
  # @return [Array<Types::VpcIpv6CidrBlockAssociation>]
24662
24704
  #
24705
+ # @!attribute [rw] cidr_block_association_set
24706
+ # Information about the IPv4 CIDR blocks associated with the VPC.
24707
+ # @return [Array<Types::VpcCidrBlockAssociation>]
24708
+ #
24663
24709
  # @!attribute [rw] is_default
24664
24710
  # Indicates whether the VPC is the default VPC.
24665
24711
  # @return [Boolean]
@@ -24677,6 +24723,7 @@ module Aws::EC2
24677
24723
  :vpc_id,
24678
24724
  :instance_tenancy,
24679
24725
  :ipv_6_cidr_block_association_set,
24726
+ :cidr_block_association_set,
24680
24727
  :is_default,
24681
24728
  :tags)
24682
24729
  include Aws::Structure
@@ -24700,6 +24747,29 @@ module Aws::EC2
24700
24747
  include Aws::Structure
24701
24748
  end
24702
24749
 
24750
+ # Describes an IPv4 CIDR block associated with a VPC.
24751
+ #
24752
+ # @!attribute [rw] association_id
24753
+ # The association ID for the IPv4 CIDR block.
24754
+ # @return [String]
24755
+ #
24756
+ # @!attribute [rw] cidr_block
24757
+ # The IPv4 CIDR block.
24758
+ # @return [String]
24759
+ #
24760
+ # @!attribute [rw] cidr_block_state
24761
+ # Information about the state of the CIDR block.
24762
+ # @return [Types::VpcCidrBlockState]
24763
+ #
24764
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcCidrBlockAssociation AWS API Documentation
24765
+ #
24766
+ class VpcCidrBlockAssociation < Struct.new(
24767
+ :association_id,
24768
+ :cidr_block,
24769
+ :cidr_block_state)
24770
+ include Aws::Structure
24771
+ end
24772
+
24703
24773
  # Describes the state of a CIDR block.
24704
24774
  #
24705
24775
  # @!attribute [rw] state
@@ -24902,6 +24972,10 @@ module Aws::EC2
24902
24972
  # The IPv6 CIDR block for the VPC.
24903
24973
  # @return [Array<Types::Ipv6CidrBlock>]
24904
24974
  #
24975
+ # @!attribute [rw] cidr_block_set
24976
+ # Information about the IPv4 CIDR blocks for the VPC.
24977
+ # @return [Array<Types::CidrBlock>]
24978
+ #
24905
24979
  # @!attribute [rw] owner_id
24906
24980
  # The AWS account ID of the VPC owner.
24907
24981
  # @return [String]
@@ -24920,6 +24994,7 @@ module Aws::EC2
24920
24994
  class VpcPeeringConnectionVpcInfo < Struct.new(
24921
24995
  :cidr_block,
24922
24996
  :ipv_6_cidr_block_set,
24997
+ :cidr_block_set,
24923
24998
  :owner_id,
24924
24999
  :peering_options,
24925
25000
  :vpc_id)
@@ -31,7 +31,7 @@ module Aws::EC2
31
31
  end
32
32
  alias :vpc_id :id
33
33
 
34
- # The IPv4 CIDR block for the VPC.
34
+ # The primary IPv4 CIDR block for the VPC.
35
35
  # @return [String]
36
36
  def cidr_block
37
37
  data.cidr_block
@@ -62,6 +62,12 @@ module Aws::EC2
62
62
  data.ipv_6_cidr_block_association_set
63
63
  end
64
64
 
65
+ # Information about the IPv4 CIDR blocks associated with the VPC.
66
+ # @return [Array<Types::VpcCidrBlockAssociation>]
67
+ def cidr_block_association_set
68
+ data.cidr_block_association_set
69
+ end
70
+
65
71
  # Indicates whether the VPC is the default VPC.
66
72
  # @return [Boolean]
67
73
  def is_default
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc18
4
+ version: 1.0.0.rc19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-16 00:00:00.000000000 Z
11
+ date: 2017-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4