aws-sdk-ec2 1.20.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8377f665b3c3b7006522a9c16237100a42dd2243
4
- data.tar.gz: e40108eccd24ac2c6377d56a83ab760a3dc561a0
3
+ metadata.gz: 2035edb4a49cb8d6aa6c2ded68299cec1b02b599
4
+ data.tar.gz: eafaf9910fe7317074957cf170fcb15b5755f434
5
5
  SHA512:
6
- metadata.gz: 95f168d43d6740ee7e9de93b588ed4d9e6079f89b12e5faa61ae582d2ff7f2a5ec3aa93dbc945b8fbf6e9ba9853a424c539b3d69f6645760609e9901f602f68a
7
- data.tar.gz: 039521dac1672079cd4fea10007766a83beb5457e4b2d524aec3dc8fd22c871c13ed5d564eea5a1e340e28d7b3ebc090e533293f83b9471273c34f2a49d9685e
6
+ metadata.gz: 270573c79e5d7249e6353e995421055740e39c456721fcc8bb2256111d2713b30531e786a71aa7e5cfb0f2dc2491331dc1e232cc2f66bbb81c02ad4edb59d744
7
+ data.tar.gz: d09405221b9e2e209d75a354ee57b7a0432280ede0761f081529a46b81f54f57b402772797981bc455d634a22183768203fd798ee6d373c072c8d8a2ef54bf8f
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.20.0'
68
+ GEM_VERSION = '1.21.0'
69
69
 
70
70
  end
@@ -244,6 +244,9 @@ module Aws::EC2
244
244
  # must be the owner of the peer VPC. Use DescribeVpcPeeringConnections
245
245
  # to view your outstanding VPC peering connection requests.
246
246
  #
247
+ # For an inter-region VPC peering connection request, you must accept
248
+ # the VPC peering connection in the region of the accepter VPC.
249
+ #
247
250
  # @option params [Boolean] :dry_run
248
251
  # Checks whether you have the required permissions for the action,
249
252
  # without actually making the request, and provides an error response.
@@ -251,7 +254,8 @@ module Aws::EC2
251
254
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
252
255
  #
253
256
  # @option params [String] :vpc_peering_connection_id
254
- # The ID of the VPC peering connection.
257
+ # The ID of the VPC peering connection. You must specify this parameter
258
+ # in the request.
255
259
  #
256
260
  # @return [Types::AcceptVpcPeeringConnectionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
257
261
  #
@@ -276,6 +280,7 @@ module Aws::EC2
276
280
  # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
277
281
  # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_egress_from_local_vpc_to_remote_classic_link #=> Boolean
278
282
  # resp.vpc_peering_connection.accepter_vpc_info.vpc_id #=> String
283
+ # resp.vpc_peering_connection.accepter_vpc_info.region #=> String
279
284
  # resp.vpc_peering_connection.expiration_time #=> Time
280
285
  # resp.vpc_peering_connection.requester_vpc_info.cidr_block #=> String
281
286
  # resp.vpc_peering_connection.requester_vpc_info.ipv_6_cidr_block_set #=> Array
@@ -287,6 +292,7 @@ module Aws::EC2
287
292
  # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
288
293
  # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_egress_from_local_vpc_to_remote_classic_link #=> Boolean
289
294
  # resp.vpc_peering_connection.requester_vpc_info.vpc_id #=> String
295
+ # resp.vpc_peering_connection.requester_vpc_info.region #=> String
290
296
  # resp.vpc_peering_connection.status.code #=> String, one of "initiating-request", "pending-acceptance", "active", "deleted", "rejected", "failed", "expired", "provisioning", "deleting"
291
297
  # resp.vpc_peering_connection.status.message #=> String
292
298
  # resp.vpc_peering_connection.tags #=> Array
@@ -4286,16 +4292,21 @@ module Aws::EC2
4286
4292
  req.send_request(options)
4287
4293
  end
4288
4294
 
4289
- # Creates a placement group that you launch cluster instances into. Give
4290
- # the group a name that's unique within the scope of your account.
4295
+ # Creates a placement group in which to launch instances. The strategy
4296
+ # of the placement group determines how the instances are organized
4297
+ # within the group.
4291
4298
  #
4292
- # For more information about placement groups and cluster instances, see
4293
- # [Cluster Instances][1] in the *Amazon Elastic Compute Cloud User
4294
- # Guide*.
4299
+ # A `cluster` placement group is a logical grouping of instances within
4300
+ # a single Availability Zone that benefit from low network latency, high
4301
+ # network throughput. A `spread` placement group places instances on
4302
+ # distinct hardware.
4303
+ #
4304
+ # For more information, see [Placement Groups][1] in the *Amazon Elastic
4305
+ # Compute Cloud User Guide*.
4295
4306
  #
4296
4307
  #
4297
4308
  #
4298
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cluster_computing.html
4309
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
4299
4310
  #
4300
4311
  # @option params [Boolean] :dry_run
4301
4312
  # Checks whether you have the required permissions for the action,
@@ -4304,7 +4315,8 @@ module Aws::EC2
4304
4315
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
4305
4316
  #
4306
4317
  # @option params [required, String] :group_name
4307
- # A name for the placement group.
4318
+ # A name for the placement group. Must be unique within the scope of
4319
+ # your account for the region.
4308
4320
  #
4309
4321
  # Constraints: Up to 255 ASCII characters
4310
4322
  #
@@ -4332,7 +4344,7 @@ module Aws::EC2
4332
4344
  # resp = client.create_placement_group({
4333
4345
  # dry_run: false,
4334
4346
  # group_name: "String", # required
4335
- # strategy: "cluster", # required, accepts cluster
4347
+ # strategy: "cluster", # required, accepts cluster, spread
4336
4348
  # })
4337
4349
  #
4338
4350
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroup AWS API Documentation
@@ -5767,16 +5779,17 @@ module Aws::EC2
5767
5779
  end
5768
5780
 
5769
5781
  # Requests a VPC peering connection between two VPCs: a requester VPC
5770
- # that you own and a peer VPC with which to create the connection. The
5771
- # peer VPC can belong to another AWS account. The requester VPC and peer
5782
+ # that you own and an accepter VPC with which to create the connection.
5783
+ # The accepter VPC can belong to another AWS account and can be in a
5784
+ # different region to the requester VPC. The requester VPC and accepter
5772
5785
  # VPC cannot have overlapping CIDR blocks.
5773
5786
  #
5774
- # The owner of the peer VPC must accept the peering request to activate
5775
- # the peering connection. The VPC peering connection request expires
5776
- # after 7 days, after which it cannot be accepted or rejected.
5787
+ # The owner of the accepter VPC must accept the peering request to
5788
+ # activate the peering connection. The VPC peering connection request
5789
+ # expires after 7 days, after which it cannot be accepted or rejected.
5777
5790
  #
5778
- # If you try to create a VPC peering connection between VPCs that have
5779
- # overlapping CIDR blocks, the VPC peering connection status goes to
5791
+ # If you create a VPC peering connection request between VPCs with
5792
+ # overlapping CIDR blocks, the VPC peering connection has a status of
5780
5793
  # `failed`.
5781
5794
  #
5782
5795
  # @option params [Boolean] :dry_run
@@ -5786,16 +5799,23 @@ module Aws::EC2
5786
5799
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
5787
5800
  #
5788
5801
  # @option params [String] :peer_owner_id
5789
- # The AWS account ID of the owner of the peer VPC.
5802
+ # The AWS account ID of the owner of the accepter VPC.
5790
5803
  #
5791
5804
  # Default: Your AWS account ID
5792
5805
  #
5793
5806
  # @option params [String] :peer_vpc_id
5794
5807
  # The ID of the VPC with which you are creating the VPC peering
5795
- # connection.
5808
+ # connection. You must specify this parameter in the request.
5796
5809
  #
5797
5810
  # @option params [String] :vpc_id
5798
- # The ID of the requester VPC.
5811
+ # The ID of the requester VPC. You must specify this parameter in the
5812
+ # request.
5813
+ #
5814
+ # @option params [String] :peer_region
5815
+ # The region code for the accepter VPC, if the accepter VPC is located
5816
+ # in a region other than the region in which you make the request.
5817
+ #
5818
+ # Default: The region in which you make the request.
5799
5819
  #
5800
5820
  # @return [Types::CreateVpcPeeringConnectionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5801
5821
  #
@@ -5808,6 +5828,7 @@ module Aws::EC2
5808
5828
  # peer_owner_id: "String",
5809
5829
  # peer_vpc_id: "String",
5810
5830
  # vpc_id: "String",
5831
+ # peer_region: "String",
5811
5832
  # })
5812
5833
  #
5813
5834
  # @example Response structure
@@ -5822,6 +5843,7 @@ module Aws::EC2
5822
5843
  # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
5823
5844
  # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_egress_from_local_vpc_to_remote_classic_link #=> Boolean
5824
5845
  # resp.vpc_peering_connection.accepter_vpc_info.vpc_id #=> String
5846
+ # resp.vpc_peering_connection.accepter_vpc_info.region #=> String
5825
5847
  # resp.vpc_peering_connection.expiration_time #=> Time
5826
5848
  # resp.vpc_peering_connection.requester_vpc_info.cidr_block #=> String
5827
5849
  # resp.vpc_peering_connection.requester_vpc_info.ipv_6_cidr_block_set #=> Array
@@ -5833,6 +5855,7 @@ module Aws::EC2
5833
5855
  # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
5834
5856
  # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_egress_from_local_vpc_to_remote_classic_link #=> Boolean
5835
5857
  # resp.vpc_peering_connection.requester_vpc_info.vpc_id #=> String
5858
+ # resp.vpc_peering_connection.requester_vpc_info.region #=> String
5836
5859
  # resp.vpc_peering_connection.status.code #=> String, one of "initiating-request", "pending-acceptance", "active", "deleted", "rejected", "failed", "expired", "provisioning", "deleting"
5837
5860
  # resp.vpc_peering_connection.status.message #=> String
5838
5861
  # resp.vpc_peering_connection.tags #=> Array
@@ -6637,13 +6660,12 @@ module Aws::EC2
6637
6660
 
6638
6661
  # Deletes the specified placement group. You must terminate all
6639
6662
  # instances in the placement group before you can delete the placement
6640
- # group. For more information about placement groups and cluster
6641
- # instances, see [Cluster Instances][1] in the *Amazon Elastic Compute
6642
- # Cloud User Guide*.
6663
+ # group. For more information, see [Placement Groups][1] in the *Amazon
6664
+ # Elastic Compute Cloud User Guide*.
6643
6665
  #
6644
6666
  #
6645
6667
  #
6646
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cluster_computing.html
6668
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
6647
6669
  #
6648
6670
  # @option params [Boolean] :dry_run
6649
6671
  # Checks whether you have the required permissions for the action,
@@ -7234,9 +7256,10 @@ module Aws::EC2
7234
7256
  end
7235
7257
 
7236
7258
  # Deletes a VPC peering connection. Either the owner of the requester
7237
- # VPC or the owner of the peer VPC can delete the VPC peering connection
7238
- # if it's in the `active` state. The owner of the requester VPC can
7239
- # delete a VPC peering connection in the `pending-acceptance` state.
7259
+ # VPC or the owner of the accepter VPC can delete the VPC peering
7260
+ # connection if it's in the `active` state. The owner of the requester
7261
+ # VPC can delete a VPC peering connection in the `pending-acceptance`
7262
+ # state.
7240
7263
  #
7241
7264
  # @option params [Boolean] :dry_run
7242
7265
  # Checks whether you have the required permissions for the action,
@@ -11747,13 +11770,13 @@ module Aws::EC2
11747
11770
  req.send_request(options)
11748
11771
  end
11749
11772
 
11750
- # Describes one or more of your placement groups. For more information
11751
- # about placement groups and cluster instances, see [Cluster
11752
- # Instances][1] in the *Amazon Elastic Compute Cloud User Guide*.
11773
+ # Describes one or more of your placement groups. For more information,
11774
+ # see [Placement Groups][1] in the *Amazon Elastic Compute Cloud User
11775
+ # Guide*.
11753
11776
  #
11754
11777
  #
11755
11778
  #
11756
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cluster_computing.html
11779
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
11757
11780
  #
11758
11781
  # @option params [Array<Types::Filter>] :filters
11759
11782
  # One or more filters.
@@ -11763,7 +11786,8 @@ module Aws::EC2
11763
11786
  # * `state` - The state of the placement group (`pending` \| `available`
11764
11787
  # \| `deleting` \| `deleted`).
11765
11788
  #
11766
- # * `strategy` - The strategy of the placement group (`cluster`).
11789
+ # * `strategy` - The strategy of the placement group (`cluster` \|
11790
+ # `spread`).
11767
11791
  #
11768
11792
  # @option params [Boolean] :dry_run
11769
11793
  # Checks whether you have the required permissions for the action,
@@ -11799,7 +11823,7 @@ module Aws::EC2
11799
11823
  # resp.placement_groups #=> Array
11800
11824
  # resp.placement_groups[0].group_name #=> String
11801
11825
  # resp.placement_groups[0].state #=> String, one of "pending", "available", "deleting", "deleted"
11802
- # resp.placement_groups[0].strategy #=> String, one of "cluster"
11826
+ # resp.placement_groups[0].strategy #=> String, one of "cluster", "spread"
11803
11827
  #
11804
11828
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroups AWS API Documentation
11805
11829
  #
@@ -16139,13 +16163,13 @@ module Aws::EC2
16139
16163
  # @option params [Array<Types::Filter>] :filters
16140
16164
  # One or more filters.
16141
16165
  #
16142
- # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the peer
16166
+ # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
16143
16167
  # VPC.
16144
16168
  #
16145
16169
  # * `accepter-vpc-info.owner-id` - The AWS account ID of the owner of
16146
- # the peer VPC.
16170
+ # the accepter VPC.
16147
16171
  #
16148
- # * `accepter-vpc-info.vpc-id` - The ID of the peer VPC.
16172
+ # * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
16149
16173
  #
16150
16174
  # * `expiration-time` - The expiration date and time for the VPC peering
16151
16175
  # connection.
@@ -16160,7 +16184,7 @@ module Aws::EC2
16160
16184
  #
16161
16185
  # * `status-code` - The status of the VPC peering connection
16162
16186
  # (`pending-acceptance` \| `failed` \| `expired` \| `provisioning` \|
16163
- # `active` \| `deleted` \| `rejected`).
16187
+ # `active` \| `deleting` \| `deleted` \| `rejected`).
16164
16188
  #
16165
16189
  # * `status-message` - A message that provides more information about
16166
16190
  # the status of the VPC peering connection, if applicable.
@@ -16225,6 +16249,7 @@ module Aws::EC2
16225
16249
  # resp.vpc_peering_connections[0].accepter_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
16226
16250
  # resp.vpc_peering_connections[0].accepter_vpc_info.peering_options.allow_egress_from_local_vpc_to_remote_classic_link #=> Boolean
16227
16251
  # resp.vpc_peering_connections[0].accepter_vpc_info.vpc_id #=> String
16252
+ # resp.vpc_peering_connections[0].accepter_vpc_info.region #=> String
16228
16253
  # resp.vpc_peering_connections[0].expiration_time #=> Time
16229
16254
  # resp.vpc_peering_connections[0].requester_vpc_info.cidr_block #=> String
16230
16255
  # resp.vpc_peering_connections[0].requester_vpc_info.ipv_6_cidr_block_set #=> Array
@@ -16236,6 +16261,7 @@ module Aws::EC2
16236
16261
  # resp.vpc_peering_connections[0].requester_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
16237
16262
  # resp.vpc_peering_connections[0].requester_vpc_info.peering_options.allow_egress_from_local_vpc_to_remote_classic_link #=> Boolean
16238
16263
  # resp.vpc_peering_connections[0].requester_vpc_info.vpc_id #=> String
16264
+ # resp.vpc_peering_connections[0].requester_vpc_info.region #=> String
16239
16265
  # resp.vpc_peering_connections[0].status.code #=> String, one of "initiating-request", "pending-acceptance", "active", "deleted", "rejected", "failed", "expired", "provisioning", "deleting"
16240
16266
  # resp.vpc_peering_connections[0].status.message #=> String
16241
16267
  # resp.vpc_peering_connections[0].tags #=> Array
@@ -23704,7 +23730,7 @@ module Aws::EC2
23704
23730
  params: params,
23705
23731
  config: config)
23706
23732
  context[:gem_name] = 'aws-sdk-ec2'
23707
- context[:gem_version] = '1.20.0'
23733
+ context[:gem_version] = '1.21.0'
23708
23734
  Seahorse::Client::Request.new(handlers, context)
23709
23735
  end
23710
23736
 
@@ -1888,6 +1888,7 @@ module Aws::EC2
1888
1888
  CreateVpcPeeringConnectionRequest.add_member(:peer_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "peerOwnerId"))
1889
1889
  CreateVpcPeeringConnectionRequest.add_member(:peer_vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "peerVpcId"))
1890
1890
  CreateVpcPeeringConnectionRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
1891
+ CreateVpcPeeringConnectionRequest.add_member(:peer_region, Shapes::ShapeRef.new(shape: String, location_name: "PeerRegion"))
1891
1892
  CreateVpcPeeringConnectionRequest.struct_class = Types::CreateVpcPeeringConnectionRequest
1892
1893
 
1893
1894
  CreateVpcPeeringConnectionResult.add_member(:vpc_peering_connection, Shapes::ShapeRef.new(shape: VpcPeeringConnection, location_name: "vpcPeeringConnection"))
@@ -5825,6 +5826,7 @@ module Aws::EC2
5825
5826
  VpcPeeringConnectionVpcInfo.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
5826
5827
  VpcPeeringConnectionVpcInfo.add_member(:peering_options, Shapes::ShapeRef.new(shape: VpcPeeringConnectionOptionsDescription, location_name: "peeringOptions"))
5827
5828
  VpcPeeringConnectionVpcInfo.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
5829
+ VpcPeeringConnectionVpcInfo.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "region"))
5828
5830
  VpcPeeringConnectionVpcInfo.struct_class = Types::VpcPeeringConnectionVpcInfo
5829
5831
 
5830
5832
  VpnConnection.add_member(:customer_gateway_configuration, Shapes::ShapeRef.new(shape: String, location_name: "customerGatewayConfiguration"))
@@ -524,7 +524,7 @@ module Aws::EC2
524
524
  # placementgroup = ec2.create_placement_group({
525
525
  # dry_run: false,
526
526
  # group_name: "String", # required
527
- # strategy: "cluster", # required, accepts cluster
527
+ # strategy: "cluster", # required, accepts cluster, spread
528
528
  # })
529
529
  # @param [Hash] options ({})
530
530
  # @option options [Boolean] :dry_run
@@ -533,7 +533,8 @@ module Aws::EC2
533
533
  # If you have the required permissions, the error response is
534
534
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
535
535
  # @option options [required, String] :group_name
536
- # A name for the placement group.
536
+ # A name for the placement group. Must be unique within the scope of
537
+ # your account for the region.
537
538
  #
538
539
  # Constraints: Up to 255 ASCII characters
539
540
  # @option options [required, String] :strategy
@@ -852,6 +853,7 @@ module Aws::EC2
852
853
  # peer_owner_id: "String",
853
854
  # peer_vpc_id: "String",
854
855
  # vpc_id: "String",
856
+ # peer_region: "String",
855
857
  # })
856
858
  # @param [Hash] options ({})
857
859
  # @option options [Boolean] :dry_run
@@ -860,14 +862,20 @@ module Aws::EC2
860
862
  # If you have the required permissions, the error response is
861
863
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
862
864
  # @option options [String] :peer_owner_id
863
- # The AWS account ID of the owner of the peer VPC.
865
+ # The AWS account ID of the owner of the accepter VPC.
864
866
  #
865
867
  # Default: Your AWS account ID
866
868
  # @option options [String] :peer_vpc_id
867
869
  # The ID of the VPC with which you are creating the VPC peering
868
- # connection.
870
+ # connection. You must specify this parameter in the request.
869
871
  # @option options [String] :vpc_id
870
- # The ID of the requester VPC.
872
+ # The ID of the requester VPC. You must specify this parameter in the
873
+ # request.
874
+ # @option options [String] :peer_region
875
+ # The region code for the accepter VPC, if the accepter VPC is located
876
+ # in a region other than the region in which you make the request.
877
+ #
878
+ # Default: The region in which you make the request.
871
879
  # @return [VpcPeeringConnection]
872
880
  def create_vpc_peering_connection(options = {})
873
881
  resp = @client.create_vpc_peering_connection(options)
@@ -2066,7 +2074,8 @@ module Aws::EC2
2066
2074
  # * `state` - The state of the placement group (`pending` \| `available`
2067
2075
  # \| `deleting` \| `deleted`).
2068
2076
  #
2069
- # * `strategy` - The strategy of the placement group (`cluster`).
2077
+ # * `strategy` - The strategy of the placement group (`cluster` \|
2078
+ # `spread`).
2070
2079
  # @option options [Boolean] :dry_run
2071
2080
  # Checks whether you have the required permissions for the action,
2072
2081
  # without actually making the request, and provides an error response.
@@ -2765,13 +2774,13 @@ module Aws::EC2
2765
2774
  # @option options [Array<Types::Filter>] :filters
2766
2775
  # One or more filters.
2767
2776
  #
2768
- # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the peer
2777
+ # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
2769
2778
  # VPC.
2770
2779
  #
2771
2780
  # * `accepter-vpc-info.owner-id` - The AWS account ID of the owner of
2772
- # the peer VPC.
2781
+ # the accepter VPC.
2773
2782
  #
2774
- # * `accepter-vpc-info.vpc-id` - The ID of the peer VPC.
2783
+ # * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
2775
2784
  #
2776
2785
  # * `expiration-time` - The expiration date and time for the VPC peering
2777
2786
  # connection.
@@ -2786,7 +2795,7 @@ module Aws::EC2
2786
2795
  #
2787
2796
  # * `status-code` - The status of the VPC peering connection
2788
2797
  # (`pending-acceptance` \| `failed` \| `expired` \| `provisioning` \|
2789
- # `active` \| `deleted` \| `rejected`).
2798
+ # `active` \| `deleting` \| `deleted` \| `rejected`).
2790
2799
  #
2791
2800
  # * `status-message` - A message that provides more information about
2792
2801
  # the status of the VPC peering connection, if applicable.
@@ -126,7 +126,8 @@ module Aws::EC2
126
126
  # @return [Boolean]
127
127
  #
128
128
  # @!attribute [rw] vpc_peering_connection_id
129
- # The ID of the VPC peering connection.
129
+ # The ID of the VPC peering connection. You must specify this
130
+ # parameter in the request.
130
131
  # @return [String]
131
132
  #
132
133
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcPeeringConnectionRequest AWS API Documentation
@@ -3904,7 +3905,7 @@ module Aws::EC2
3904
3905
  # {
3905
3906
  # dry_run: false,
3906
3907
  # group_name: "String", # required
3907
- # strategy: "cluster", # required, accepts cluster
3908
+ # strategy: "cluster", # required, accepts cluster, spread
3908
3909
  # }
3909
3910
  #
3910
3911
  # @!attribute [rw] dry_run
@@ -3915,7 +3916,8 @@ module Aws::EC2
3915
3916
  # @return [Boolean]
3916
3917
  #
3917
3918
  # @!attribute [rw] group_name
3918
- # A name for the placement group.
3919
+ # A name for the placement group. Must be unique within the scope of
3920
+ # your account for the region.
3919
3921
  #
3920
3922
  # Constraints: Up to 255 ASCII characters
3921
3923
  # @return [String]
@@ -4855,6 +4857,7 @@ module Aws::EC2
4855
4857
  # peer_owner_id: "String",
4856
4858
  # peer_vpc_id: "String",
4857
4859
  # vpc_id: "String",
4860
+ # peer_region: "String",
4858
4861
  # }
4859
4862
  #
4860
4863
  # @!attribute [rw] dry_run
@@ -4865,18 +4868,26 @@ module Aws::EC2
4865
4868
  # @return [Boolean]
4866
4869
  #
4867
4870
  # @!attribute [rw] peer_owner_id
4868
- # The AWS account ID of the owner of the peer VPC.
4871
+ # The AWS account ID of the owner of the accepter VPC.
4869
4872
  #
4870
4873
  # Default: Your AWS account ID
4871
4874
  # @return [String]
4872
4875
  #
4873
4876
  # @!attribute [rw] peer_vpc_id
4874
4877
  # The ID of the VPC with which you are creating the VPC peering
4875
- # connection.
4878
+ # connection. You must specify this parameter in the request.
4876
4879
  # @return [String]
4877
4880
  #
4878
4881
  # @!attribute [rw] vpc_id
4879
- # The ID of the requester VPC.
4882
+ # The ID of the requester VPC. You must specify this parameter in the
4883
+ # request.
4884
+ # @return [String]
4885
+ #
4886
+ # @!attribute [rw] peer_region
4887
+ # The region code for the accepter VPC, if the accepter VPC is located
4888
+ # in a region other than the region in which you make the request.
4889
+ #
4890
+ # Default: The region in which you make the request.
4880
4891
  # @return [String]
4881
4892
  #
4882
4893
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnectionRequest AWS API Documentation
@@ -4885,7 +4896,8 @@ module Aws::EC2
4885
4896
  :dry_run,
4886
4897
  :peer_owner_id,
4887
4898
  :peer_vpc_id,
4888
- :vpc_id)
4899
+ :vpc_id,
4900
+ :peer_region)
4889
4901
  include Aws::Structure
4890
4902
  end
4891
4903
 
@@ -9660,7 +9672,8 @@ module Aws::EC2
9660
9672
  # * `state` - The state of the placement group (`pending` \|
9661
9673
  # `available` \| `deleting` \| `deleted`).
9662
9674
  #
9663
- # * `strategy` - The strategy of the placement group (`cluster`).
9675
+ # * `strategy` - The strategy of the placement group (`cluster` \|
9676
+ # `spread`).
9664
9677
  # @return [Array<Types::Filter>]
9665
9678
  #
9666
9679
  # @!attribute [rw] dry_run
@@ -12952,13 +12965,13 @@ module Aws::EC2
12952
12965
  # @!attribute [rw] filters
12953
12966
  # One or more filters.
12954
12967
  #
12955
- # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the peer
12956
- # VPC.
12968
+ # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the
12969
+ # accepter VPC.
12957
12970
  #
12958
12971
  # * `accepter-vpc-info.owner-id` - The AWS account ID of the owner of
12959
- # the peer VPC.
12972
+ # the accepter VPC.
12960
12973
  #
12961
- # * `accepter-vpc-info.vpc-id` - The ID of the peer VPC.
12974
+ # * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
12962
12975
  #
12963
12976
  # * `expiration-time` - The expiration date and time for the VPC
12964
12977
  # peering connection.
@@ -12973,7 +12986,7 @@ module Aws::EC2
12973
12986
  #
12974
12987
  # * `status-code` - The status of the VPC peering connection
12975
12988
  # (`pending-acceptance` \| `failed` \| `expired` \| `provisioning`
12976
- # \| `active` \| `deleted` \| `rejected`).
12989
+ # \| `active` \| `deleting` \| `deleted` \| `rejected`).
12977
12990
  #
12978
12991
  # * `status-message` - A message that provides more information about
12979
12992
  # the status of the VPC peering connection, if applicable.
@@ -27878,7 +27891,7 @@ module Aws::EC2
27878
27891
  # @return [String]
27879
27892
  #
27880
27893
  # @!attribute [rw] group_name
27881
- # The name of the placement group (for cluster instances).
27894
+ # The name of the placement group.
27882
27895
  # @return [String]
27883
27896
  #
27884
27897
  # @!attribute [rw] tenancy
@@ -29874,6 +29887,10 @@ module Aws::EC2
29874
29887
  # The ID of the VPC.
29875
29888
  # @return [String]
29876
29889
  #
29890
+ # @!attribute [rw] region
29891
+ # The region in which the VPC is located.
29892
+ # @return [String]
29893
+ #
29877
29894
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnectionVpcInfo AWS API Documentation
29878
29895
  #
29879
29896
  class VpcPeeringConnectionVpcInfo < Struct.new(
@@ -29882,7 +29899,8 @@ module Aws::EC2
29882
29899
  :cidr_block_set,
29883
29900
  :owner_id,
29884
29901
  :peering_options,
29885
- :vpc_id)
29902
+ :vpc_id,
29903
+ :region)
29886
29904
  include Aws::Structure
29887
29905
  end
29888
29906
 
@@ -647,6 +647,7 @@ module Aws::EC2
647
647
  # dry_run: false,
648
648
  # peer_owner_id: "String",
649
649
  # peer_vpc_id: "String",
650
+ # peer_region: "String",
650
651
  # })
651
652
  # @param [Hash] options ({})
652
653
  # @option options [Boolean] :dry_run
@@ -655,12 +656,17 @@ module Aws::EC2
655
656
  # If you have the required permissions, the error response is
656
657
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
657
658
  # @option options [String] :peer_owner_id
658
- # The AWS account ID of the owner of the peer VPC.
659
+ # The AWS account ID of the owner of the accepter VPC.
659
660
  #
660
661
  # Default: Your AWS account ID
661
662
  # @option options [String] :peer_vpc_id
662
663
  # The ID of the VPC with which you are creating the VPC peering
663
- # connection.
664
+ # connection. You must specify this parameter in the request.
665
+ # @option options [String] :peer_region
666
+ # The region code for the accepter VPC, if the accepter VPC is located
667
+ # in a region other than the region in which you make the request.
668
+ #
669
+ # Default: The region in which you make the request.
664
670
  # @return [VpcPeeringConnection]
665
671
  def request_vpc_peering_connection(options = {})
666
672
  options = options.merge(vpc_id: @id)
@@ -690,13 +696,13 @@ module Aws::EC2
690
696
  # @option options [Array<Types::Filter>] :filters
691
697
  # One or more filters.
692
698
  #
693
- # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the peer
699
+ # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
694
700
  # VPC.
695
701
  #
696
702
  # * `accepter-vpc-info.owner-id` - The AWS account ID of the owner of
697
- # the peer VPC.
703
+ # the accepter VPC.
698
704
  #
699
- # * `accepter-vpc-info.vpc-id` - The ID of the peer VPC.
705
+ # * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
700
706
  #
701
707
  # * `expiration-time` - The expiration date and time for the VPC peering
702
708
  # connection.
@@ -711,7 +717,7 @@ module Aws::EC2
711
717
  #
712
718
  # * `status-code` - The status of the VPC peering connection
713
719
  # (`pending-acceptance` \| `failed` \| `expired` \| `provisioning` \|
714
- # `active` \| `deleted` \| `rejected`).
720
+ # `active` \| `deleting` \| `deleted` \| `rejected`).
715
721
  #
716
722
  # * `status-message` - A message that provides more information about
717
723
  # the status of the VPC peering connection, if applicable.
@@ -1437,13 +1443,13 @@ module Aws::EC2
1437
1443
  # @option options [Array<Types::Filter>] :filters
1438
1444
  # One or more filters.
1439
1445
  #
1440
- # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the peer
1446
+ # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
1441
1447
  # VPC.
1442
1448
  #
1443
1449
  # * `accepter-vpc-info.owner-id` - The AWS account ID of the owner of
1444
- # the peer VPC.
1450
+ # the accepter VPC.
1445
1451
  #
1446
- # * `accepter-vpc-info.vpc-id` - The ID of the peer VPC.
1452
+ # * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
1447
1453
  #
1448
1454
  # * `expiration-time` - The expiration date and time for the VPC peering
1449
1455
  # connection.
@@ -1458,7 +1464,7 @@ module Aws::EC2
1458
1464
  #
1459
1465
  # * `status-code` - The status of the VPC peering connection
1460
1466
  # (`pending-acceptance` \| `failed` \| `expired` \| `provisioning` \|
1461
- # `active` \| `deleted` \| `rejected`).
1467
+ # `active` \| `deleting` \| `deleted` \| `rejected`).
1462
1468
  #
1463
1469
  # * `status-message` - A message that provides more information about
1464
1470
  # the status of the VPC peering connection, if applicable.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services