aws-sdk-ec2 1.64.0 → 1.65.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae1f64acb3e8d4e1101231a17227481e6dd0521d
4
- data.tar.gz: 0ff93c8b834e217aa8d337cd01f072f9192797dd
3
+ metadata.gz: 29e45edfa05bf4685dfbb03cbf578570d03d794e
4
+ data.tar.gz: 23ef2659eecf1f4d6a1a04046ef914302ec5b1ee
5
5
  SHA512:
6
- metadata.gz: 0475f853783fbef53d4c1fc24439b669ccd4a285e3f19269639f5f151735a267bf373b7d996a116e29213aa58fa473663afbaa04a46b77eb65f5724dd3e0de19
7
- data.tar.gz: c68392707237a651ca152457fec35c600ffba22478fd92691108323a15c651c545dea15be5a1e50880bd07dfa4adfd8e3f685d9a4f2f1effc4217a58e9bb43b1
6
+ metadata.gz: 6fda0769c21d9d83d12cb8a743893800222b774a38700c69e64f067a849fa1032913481c9d1dd0e2f5632b90bf13a73df3b4ab3bfaea2bf7d8dc1af099dec186
7
+ data.tar.gz: afcfab0da18a57a5e51d521ed94ff3a02e2614847a19cc86212dfb016547fa181a9f8500c522c39764ba635ba0e5124e1913411143ce1c3949af9d1e628e1502
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.64.0'
68
+ GEM_VERSION = '1.65.0'
69
69
 
70
70
  end
@@ -4039,6 +4039,7 @@ module Aws::EC2
4039
4039
  # availability_zone: "String",
4040
4040
  # affinity: "String",
4041
4041
  # group_name: "String",
4042
+ # partition_number: 1,
4042
4043
  # host_id: "String",
4043
4044
  # tenancy: "default", # accepts default, dedicated, host
4044
4045
  # spread_domain: "String",
@@ -5760,7 +5761,9 @@ module Aws::EC2
5760
5761
  # A `cluster` placement group is a logical grouping of instances within
5761
5762
  # a single Availability Zone that benefit from low network latency, high
5762
5763
  # network throughput. A `spread` placement group places instances on
5763
- # distinct hardware.
5764
+ # distinct hardware. A `partition` placement group places groups of
5765
+ # instances in different partitions, where instances in one partition do
5766
+ # not share the same hardware with instances in another partition.
5764
5767
  #
5765
5768
  # For more information, see [Placement Groups][1] in the *Amazon Elastic
5766
5769
  # Compute Cloud User Guide*.
@@ -5775,15 +5778,19 @@ module Aws::EC2
5775
5778
  # If you have the required permissions, the error response is
5776
5779
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
5777
5780
  #
5778
- # @option params [required, String] :group_name
5781
+ # @option params [String] :group_name
5779
5782
  # A name for the placement group. Must be unique within the scope of
5780
- # your account for the region.
5783
+ # your account for the Region.
5781
5784
  #
5782
5785
  # Constraints: Up to 255 ASCII characters
5783
5786
  #
5784
- # @option params [required, String] :strategy
5787
+ # @option params [String] :strategy
5785
5788
  # The placement strategy.
5786
5789
  #
5790
+ # @option params [Integer] :partition_count
5791
+ # The number of partitions. Valid only when **Strategy** is set to
5792
+ # `partition`.
5793
+ #
5787
5794
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5788
5795
  #
5789
5796
  #
@@ -5804,8 +5811,9 @@ module Aws::EC2
5804
5811
  #
5805
5812
  # resp = client.create_placement_group({
5806
5813
  # dry_run: false,
5807
- # group_name: "String", # required
5808
- # strategy: "cluster", # required, accepts cluster, spread
5814
+ # group_name: "String",
5815
+ # strategy: "cluster", # accepts cluster, spread, partition
5816
+ # partition_count: 1,
5809
5817
  # })
5810
5818
  #
5811
5819
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroup AWS API Documentation
@@ -11913,7 +11921,7 @@ module Aws::EC2
11913
11921
  # purchase.
11914
11922
  #
11915
11923
  # The results describe all the Dedicated Host reservation offerings,
11916
- # including offerings that may not match the instance family and region
11924
+ # including offerings that may not match the instance family and Region
11917
11925
  # of your Dedicated Hosts. When purchasing an offering, ensure that the
11918
11926
  # instance family and Region of the offering matches that of the
11919
11927
  # Dedicated Hosts with which it is to be associated. For more
@@ -12078,7 +12086,7 @@ module Aws::EC2
12078
12086
 
12079
12087
  # Describes one or more of your Dedicated Hosts.
12080
12088
  #
12081
- # The results describe only the Dedicated Hosts in the region you're
12089
+ # The results describe only the Dedicated Hosts in the Region you're
12082
12090
  # currently using. All listed instances consume capacity on your
12083
12091
  # Dedicated Host. Dedicated Hosts that have recently been released are
12084
12092
  # listed with the state `released`.
@@ -13529,6 +13537,8 @@ module Aws::EC2
13529
13537
  #
13530
13538
  # * `owner-id` - The AWS account ID of the instance owner.
13531
13539
  #
13540
+ # * `partition-number` - The partition in which the instance is located.
13541
+ #
13532
13542
  # * `placement-group-name` - The name of the placement group for the
13533
13543
  # instance.
13534
13544
  #
@@ -13723,6 +13733,7 @@ module Aws::EC2
13723
13733
  # resp.reservations[0].instances[0].placement.availability_zone #=> String
13724
13734
  # resp.reservations[0].instances[0].placement.affinity #=> String
13725
13735
  # resp.reservations[0].instances[0].placement.group_name #=> String
13736
+ # resp.reservations[0].instances[0].placement.partition_number #=> Integer
13726
13737
  # resp.reservations[0].instances[0].placement.host_id #=> String
13727
13738
  # resp.reservations[0].instances[0].placement.tenancy #=> String, one of "default", "dedicated", "host"
13728
13739
  # resp.reservations[0].instances[0].placement.spread_domain #=> String
@@ -15249,7 +15260,7 @@ module Aws::EC2
15249
15260
  # \| `deleting` \| `deleted`).
15250
15261
  #
15251
15262
  # * `strategy` - The strategy of the placement group (`cluster` \|
15252
- # `spread`).
15263
+ # `spread` \| `partition`).
15253
15264
  #
15254
15265
  # @option params [Boolean] :dry_run
15255
15266
  # Checks whether you have the required permissions for the action,
@@ -15285,7 +15296,8 @@ module Aws::EC2
15285
15296
  # resp.placement_groups #=> Array
15286
15297
  # resp.placement_groups[0].group_name #=> String
15287
15298
  # resp.placement_groups[0].state #=> String, one of "pending", "available", "deleting", "deleted"
15288
- # resp.placement_groups[0].strategy #=> String, one of "cluster", "spread"
15299
+ # resp.placement_groups[0].strategy #=> String, one of "cluster", "spread", "partition"
15300
+ # resp.placement_groups[0].partition_count #=> Integer
15289
15301
  #
15290
15302
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroups AWS API Documentation
15291
15303
  #
@@ -21628,10 +21640,11 @@ module Aws::EC2
21628
21640
  req.send_request(options)
21629
21641
  end
21630
21642
 
21631
- # Downloads the contents of the client configuration file for the
21632
- # specified Client VPN endpoint. The client configuration file includes
21633
- # the Client VPN endpoint and certificate information clients need to
21634
- # establish a connection with the Client VPN endpoint.
21643
+ # Downloads the contents of the Client VPN endpoint configuration file
21644
+ # for the specified Client VPN endpoint. The Client VPN endpoint
21645
+ # configuration file includes the Client VPN endpoint and certificate
21646
+ # information clients need to establish a connection with the Client VPN
21647
+ # endpoint.
21635
21648
  #
21636
21649
  # @option params [required, String] :client_vpn_endpoint_id
21637
21650
  # The ID of the Client VPN endpoint.
@@ -22724,6 +22737,7 @@ module Aws::EC2
22724
22737
  # availability_zone: "String",
22725
22738
  # affinity: "String",
22726
22739
  # group_name: "String",
22740
+ # partition_number: 1,
22727
22741
  # host_id: "String",
22728
22742
  # tenancy: "default", # accepts default, dedicated, host
22729
22743
  # spread_domain: "String",
@@ -24009,8 +24023,8 @@ module Aws::EC2
24009
24023
  # group name must be specified in the request. Affinity and tenancy can
24010
24024
  # be modified in the same request.
24011
24025
  #
24012
- # To modify the host ID, tenancy, or placement group for an instance,
24013
- # the instance must be in the `stopped` state.
24026
+ # To modify the host ID, tenancy, placement group, or partition for an
24027
+ # instance, the instance must be in the `stopped` state.
24014
24028
  #
24015
24029
  #
24016
24030
  #
@@ -24023,8 +24037,8 @@ module Aws::EC2
24023
24037
  # @option params [String] :group_name
24024
24038
  # The name of the placement group in which to place the instance. For
24025
24039
  # spread placement groups, the instance must have a tenancy of
24026
- # `default`. For cluster placement groups, the instance must have a
24027
- # tenancy of `default` or `dedicated`.
24040
+ # `default`. For cluster and partition placement groups, the instance
24041
+ # must have a tenancy of `default` or `dedicated`.
24028
24042
  #
24029
24043
  # To remove an instance from a placement group, specify an empty string
24030
24044
  # ("").
@@ -24038,6 +24052,9 @@ module Aws::EC2
24038
24052
  # @option params [String] :tenancy
24039
24053
  # The tenancy for the instance.
24040
24054
  #
24055
+ # @option params [Integer] :partition_number
24056
+ # Reserved for future use.
24057
+ #
24041
24058
  # @return [Types::ModifyInstancePlacementResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
24042
24059
  #
24043
24060
  # * {Types::ModifyInstancePlacementResult#return #return} => Boolean
@@ -24050,6 +24067,7 @@ module Aws::EC2
24050
24067
  # host_id: "String",
24051
24068
  # instance_id: "String", # required
24052
24069
  # tenancy: "dedicated", # accepts dedicated, host
24070
+ # partition_number: 1,
24053
24071
  # })
24054
24072
  #
24055
24073
  # @example Response structure
@@ -28404,6 +28422,7 @@ module Aws::EC2
28404
28422
  # availability_zone: "String",
28405
28423
  # affinity: "String",
28406
28424
  # group_name: "String",
28425
+ # partition_number: 1,
28407
28426
  # host_id: "String",
28408
28427
  # tenancy: "default", # accepts default, dedicated, host
28409
28428
  # spread_domain: "String",
@@ -28525,6 +28544,7 @@ module Aws::EC2
28525
28544
  # resp.instances[0].placement.availability_zone #=> String
28526
28545
  # resp.instances[0].placement.affinity #=> String
28527
28546
  # resp.instances[0].placement.group_name #=> String
28547
+ # resp.instances[0].placement.partition_number #=> Integer
28528
28548
  # resp.instances[0].placement.host_id #=> String
28529
28549
  # resp.instances[0].placement.tenancy #=> String, one of "default", "dedicated", "host"
28530
28550
  # resp.instances[0].placement.spread_domain #=> String
@@ -29710,7 +29730,7 @@ module Aws::EC2
29710
29730
  params: params,
29711
29731
  config: config)
29712
29732
  context[:gem_name] = 'aws-sdk-ec2'
29713
- context[:gem_version] = '1.64.0'
29733
+ context[:gem_version] = '1.65.0'
29714
29734
  Seahorse::Client::Request.new(handlers, context)
29715
29735
  end
29716
29736
 
@@ -2386,8 +2386,9 @@ module Aws::EC2
2386
2386
  CreateNetworkInterfaceResult.struct_class = Types::CreateNetworkInterfaceResult
2387
2387
 
2388
2388
  CreatePlacementGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
2389
- CreatePlacementGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "groupName"))
2390
- CreatePlacementGroupRequest.add_member(:strategy, Shapes::ShapeRef.new(shape: PlacementStrategy, required: true, location_name: "strategy"))
2389
+ CreatePlacementGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
2390
+ CreatePlacementGroupRequest.add_member(:strategy, Shapes::ShapeRef.new(shape: PlacementStrategy, location_name: "strategy"))
2391
+ CreatePlacementGroupRequest.add_member(:partition_count, Shapes::ShapeRef.new(shape: Integer, location_name: "PartitionCount"))
2391
2392
  CreatePlacementGroupRequest.struct_class = Types::CreatePlacementGroupRequest
2392
2393
 
2393
2394
  CreateReservedInstancesListingRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clientToken"))
@@ -5399,6 +5400,7 @@ module Aws::EC2
5399
5400
  ModifyInstancePlacementRequest.add_member(:host_id, Shapes::ShapeRef.new(shape: String, location_name: "hostId"))
5400
5401
  ModifyInstancePlacementRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "instanceId"))
5401
5402
  ModifyInstancePlacementRequest.add_member(:tenancy, Shapes::ShapeRef.new(shape: HostTenancy, location_name: "tenancy"))
5403
+ ModifyInstancePlacementRequest.add_member(:partition_number, Shapes::ShapeRef.new(shape: Integer, location_name: "PartitionNumber"))
5402
5404
  ModifyInstancePlacementRequest.struct_class = Types::ModifyInstancePlacementRequest
5403
5405
 
5404
5406
  ModifyInstancePlacementResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
@@ -5741,6 +5743,7 @@ module Aws::EC2
5741
5743
  Placement.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
5742
5744
  Placement.add_member(:affinity, Shapes::ShapeRef.new(shape: String, location_name: "affinity"))
5743
5745
  Placement.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
5746
+ Placement.add_member(:partition_number, Shapes::ShapeRef.new(shape: Integer, location_name: "partitionNumber"))
5744
5747
  Placement.add_member(:host_id, Shapes::ShapeRef.new(shape: String, location_name: "hostId"))
5745
5748
  Placement.add_member(:tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "tenancy"))
5746
5749
  Placement.add_member(:spread_domain, Shapes::ShapeRef.new(shape: String, location_name: "spreadDomain"))
@@ -5749,6 +5752,7 @@ module Aws::EC2
5749
5752
  PlacementGroup.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
5750
5753
  PlacementGroup.add_member(:state, Shapes::ShapeRef.new(shape: PlacementGroupState, location_name: "state"))
5751
5754
  PlacementGroup.add_member(:strategy, Shapes::ShapeRef.new(shape: PlacementStrategy, location_name: "strategy"))
5755
+ PlacementGroup.add_member(:partition_count, Shapes::ShapeRef.new(shape: Integer, location_name: "partitionCount"))
5752
5756
  PlacementGroup.struct_class = Types::PlacementGroup
5753
5757
 
5754
5758
  PlacementGroupList.member = Shapes::ShapeRef.new(shape: PlacementGroup, location_name: "item")
@@ -43,6 +43,13 @@ module Aws::EC2
43
43
  data[:strategy]
44
44
  end
45
45
 
46
+ # The number of partitions. Valid only if **strategy** is set to
47
+ # `partition`.
48
+ # @return [Integer]
49
+ def partition_count
50
+ data[:partition_count]
51
+ end
52
+
46
53
  # @!endgroup
47
54
 
48
55
  # @return [Client]
@@ -395,6 +402,8 @@ module Aws::EC2
395
402
  #
396
403
  # * `owner-id` - The AWS account ID of the instance owner.
397
404
  #
405
+ # * `partition-number` - The partition in which the instance is located.
406
+ #
398
407
  # * `placement-group-name` - The name of the placement group for the
399
408
  # instance.
400
409
  #
@@ -88,6 +88,7 @@ module Aws::EC2
88
88
  # availability_zone: "String",
89
89
  # affinity: "String",
90
90
  # group_name: "String",
91
+ # partition_number: 1,
91
92
  # host_id: "String",
92
93
  # tenancy: "default", # accepts default, dedicated, host
93
94
  # spread_domain: "String",
@@ -577,8 +578,9 @@ module Aws::EC2
577
578
  #
578
579
  # placementgroup = ec2.create_placement_group({
579
580
  # dry_run: false,
580
- # group_name: "String", # required
581
- # strategy: "cluster", # required, accepts cluster, spread
581
+ # group_name: "String",
582
+ # strategy: "cluster", # accepts cluster, spread, partition
583
+ # partition_count: 1,
582
584
  # })
583
585
  # @param [Hash] options ({})
584
586
  # @option options [Boolean] :dry_run
@@ -586,13 +588,16 @@ module Aws::EC2
586
588
  # without actually making the request, and provides an error response.
587
589
  # If you have the required permissions, the error response is
588
590
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
589
- # @option options [required, String] :group_name
591
+ # @option options [String] :group_name
590
592
  # A name for the placement group. Must be unique within the scope of
591
- # your account for the region.
593
+ # your account for the Region.
592
594
  #
593
595
  # Constraints: Up to 255 ASCII characters
594
- # @option options [required, String] :strategy
596
+ # @option options [String] :strategy
595
597
  # The placement strategy.
598
+ # @option options [Integer] :partition_count
599
+ # The number of partitions. Valid only when **Strategy** is set to
600
+ # `partition`.
596
601
  # @return [PlacementGroup]
597
602
  def create_placement_group(options = {})
598
603
  resp = @client.create_placement_group(options)
@@ -1636,6 +1641,8 @@ module Aws::EC2
1636
1641
  #
1637
1642
  # * `owner-id` - The AWS account ID of the instance owner.
1638
1643
  #
1644
+ # * `partition-number` - The partition in which the instance is located.
1645
+ #
1639
1646
  # * `placement-group-name` - The name of the placement group for the
1640
1647
  # instance.
1641
1648
  #
@@ -2157,7 +2164,7 @@ module Aws::EC2
2157
2164
  # \| `deleting` \| `deleted`).
2158
2165
  #
2159
2166
  # * `strategy` - The strategy of the placement group (`cluster` \|
2160
- # `spread`).
2167
+ # `spread` \| `partition`).
2161
2168
  # @option options [Boolean] :dry_run
2162
2169
  # Checks whether you have the required permissions for the action,
2163
2170
  # without actually making the request, and provides an error response.
@@ -284,6 +284,7 @@ module Aws::EC2
284
284
  # availability_zone: "String",
285
285
  # affinity: "String",
286
286
  # group_name: "String",
287
+ # partition_number: 1,
287
288
  # host_id: "String",
288
289
  # tenancy: "default", # accepts default, dedicated, host
289
290
  # spread_domain: "String",
@@ -951,6 +952,8 @@ module Aws::EC2
951
952
  #
952
953
  # * `owner-id` - The AWS account ID of the instance owner.
953
954
  #
955
+ # * `partition-number` - The partition in which the instance is located.
956
+ #
954
957
  # * `placement-group-name` - The name of the placement group for the
955
958
  # instance.
956
959
  #
@@ -2944,7 +2944,7 @@ module Aws::EC2
2944
2944
  # Describes the authentication method to be used by a Client VPN
2945
2945
  # endpoint. Client VPN supports Active Directory and mutual
2946
2946
  # authentication. For more information, see
2947
- # [Athentication](vpn/latest/clientvpn-admin/authentication-authrization.html#client-authentication)
2947
+ # [Authentication](vpn/latest/clientvpn-admin/authentication-authrization.html#client-authentication)
2948
2948
  # in the *AWS Client VPN Admin Guide*.
2949
2949
  #
2950
2950
  # @note When making an API call, you may pass ClientVpnAuthenticationRequest
@@ -4597,6 +4597,7 @@ module Aws::EC2
4597
4597
  # availability_zone: "String",
4598
4598
  # affinity: "String",
4599
4599
  # group_name: "String",
4600
+ # partition_number: 1,
4600
4601
  # host_id: "String",
4601
4602
  # tenancy: "default", # accepts default, dedicated, host
4602
4603
  # spread_domain: "String",
@@ -5932,8 +5933,9 @@ module Aws::EC2
5932
5933
  #
5933
5934
  # {
5934
5935
  # dry_run: false,
5935
- # group_name: "String", # required
5936
- # strategy: "cluster", # required, accepts cluster, spread
5936
+ # group_name: "String",
5937
+ # strategy: "cluster", # accepts cluster, spread, partition
5938
+ # partition_count: 1,
5937
5939
  # }
5938
5940
  #
5939
5941
  # @!attribute [rw] dry_run
@@ -5945,7 +5947,7 @@ module Aws::EC2
5945
5947
  #
5946
5948
  # @!attribute [rw] group_name
5947
5949
  # A name for the placement group. Must be unique within the scope of
5948
- # your account for the region.
5950
+ # your account for the Region.
5949
5951
  #
5950
5952
  # Constraints: Up to 255 ASCII characters
5951
5953
  # @return [String]
@@ -5954,12 +5956,18 @@ module Aws::EC2
5954
5956
  # The placement strategy.
5955
5957
  # @return [String]
5956
5958
  #
5959
+ # @!attribute [rw] partition_count
5960
+ # The number of partitions. Valid only when **Strategy** is set to
5961
+ # `partition`.
5962
+ # @return [Integer]
5963
+ #
5957
5964
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroupRequest AWS API Documentation
5958
5965
  #
5959
5966
  class CreatePlacementGroupRequest < Struct.new(
5960
5967
  :dry_run,
5961
5968
  :group_name,
5962
- :strategy)
5969
+ :strategy,
5970
+ :partition_count)
5963
5971
  include Aws::Structure
5964
5972
  end
5965
5973
 
@@ -12129,6 +12137,9 @@ module Aws::EC2
12129
12137
  #
12130
12138
  # * `owner-id` - The AWS account ID of the instance owner.
12131
12139
  #
12140
+ # * `partition-number` - The partition in which the instance is
12141
+ # located.
12142
+ #
12132
12143
  # * `placement-group-name` - The name of the placement group for the
12133
12144
  # instance.
12134
12145
  #
@@ -13204,7 +13215,7 @@ module Aws::EC2
13204
13215
  # `available` \| `deleting` \| `deleted`).
13205
13216
  #
13206
13217
  # * `strategy` - The strategy of the placement group (`cluster` \|
13207
- # `spread`).
13218
+ # `spread` \| `partition`).
13208
13219
  # @return [Array<Types::Filter>]
13209
13220
  #
13210
13221
  # @!attribute [rw] dry_run
@@ -18808,7 +18819,7 @@ module Aws::EC2
18808
18819
  end
18809
18820
 
18810
18821
  # @!attribute [rw] client_configuration
18811
- # the contents of the client configuration file.
18822
+ # The contents of the Client VPN endpoint configuration file.
18812
18823
  # @return [String]
18813
18824
  #
18814
18825
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportClientVpnClientConfigurationResult AWS API Documentation
@@ -19236,6 +19247,7 @@ module Aws::EC2
19236
19247
  # availability_zone: "String",
19237
19248
  # affinity: "String",
19238
19249
  # group_name: "String",
19250
+ # partition_number: 1,
19239
19251
  # host_id: "String",
19240
19252
  # tenancy: "default", # accepts default, dedicated, host
19241
19253
  # spread_domain: "String",
@@ -19328,6 +19340,7 @@ module Aws::EC2
19328
19340
  # availability_zone: "String",
19329
19341
  # affinity: "String",
19330
19342
  # group_name: "String",
19343
+ # partition_number: 1,
19331
19344
  # host_id: "String",
19332
19345
  # tenancy: "default", # accepts default, dedicated, host
19333
19346
  # spread_domain: "String",
@@ -21376,6 +21389,7 @@ module Aws::EC2
21376
21389
  # availability_zone: "String",
21377
21390
  # affinity: "String",
21378
21391
  # group_name: "String",
21392
+ # partition_number: 1,
21379
21393
  # host_id: "String",
21380
21394
  # tenancy: "default", # accepts default, dedicated, host
21381
21395
  # spread_domain: "String",
@@ -21490,6 +21504,7 @@ module Aws::EC2
21490
21504
  # availability_zone: "String",
21491
21505
  # affinity: "String",
21492
21506
  # group_name: "String",
21507
+ # partition_number: 1,
21493
21508
  # host_id: "String",
21494
21509
  # tenancy: "default", # accepts default, dedicated, host
21495
21510
  # spread_domain: "String",
@@ -25663,6 +25678,7 @@ module Aws::EC2
25663
25678
  # host_id: "String",
25664
25679
  # instance_id: "String", # required
25665
25680
  # tenancy: "dedicated", # accepts dedicated, host
25681
+ # partition_number: 1,
25666
25682
  # }
25667
25683
  #
25668
25684
  # @!attribute [rw] affinity
@@ -25672,8 +25688,8 @@ module Aws::EC2
25672
25688
  # @!attribute [rw] group_name
25673
25689
  # The name of the placement group in which to place the instance. For
25674
25690
  # spread placement groups, the instance must have a tenancy of
25675
- # `default`. For cluster placement groups, the instance must have a
25676
- # tenancy of `default` or `dedicated`.
25691
+ # `default`. For cluster and partition placement groups, the instance
25692
+ # must have a tenancy of `default` or `dedicated`.
25677
25693
  #
25678
25694
  # To remove an instance from a placement group, specify an empty
25679
25695
  # string ("").
@@ -25691,6 +25707,10 @@ module Aws::EC2
25691
25707
  # The tenancy for the instance.
25692
25708
  # @return [String]
25693
25709
  #
25710
+ # @!attribute [rw] partition_number
25711
+ # Reserved for future use.
25712
+ # @return [Integer]
25713
+ #
25694
25714
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstancePlacementRequest AWS API Documentation
25695
25715
  #
25696
25716
  class ModifyInstancePlacementRequest < Struct.new(
@@ -25698,7 +25718,8 @@ module Aws::EC2
25698
25718
  :group_name,
25699
25719
  :host_id,
25700
25720
  :instance_id,
25701
- :tenancy)
25721
+ :tenancy,
25722
+ :partition_number)
25702
25723
  include Aws::Structure
25703
25724
  end
25704
25725
 
@@ -27589,6 +27610,7 @@ module Aws::EC2
27589
27610
  # availability_zone: "String",
27590
27611
  # affinity: "String",
27591
27612
  # group_name: "String",
27613
+ # partition_number: 1,
27592
27614
  # host_id: "String",
27593
27615
  # tenancy: "default", # accepts default, dedicated, host
27594
27616
  # spread_domain: "String",
@@ -27607,6 +27629,11 @@ module Aws::EC2
27607
27629
  # The name of the placement group the instance is in.
27608
27630
  # @return [String]
27609
27631
  #
27632
+ # @!attribute [rw] partition_number
27633
+ # The number of the partition the instance is in. Valid only if the
27634
+ # placement group strategy is set to `partition`.
27635
+ # @return [Integer]
27636
+ #
27610
27637
  # @!attribute [rw] host_id
27611
27638
  # The ID of the Dedicated Host on which the instance resides. This
27612
27639
  # parameter is not supported for the ImportInstance command.
@@ -27629,6 +27656,7 @@ module Aws::EC2
27629
27656
  :availability_zone,
27630
27657
  :affinity,
27631
27658
  :group_name,
27659
+ :partition_number,
27632
27660
  :host_id,
27633
27661
  :tenancy,
27634
27662
  :spread_domain)
@@ -27649,12 +27677,18 @@ module Aws::EC2
27649
27677
  # The placement strategy.
27650
27678
  # @return [String]
27651
27679
  #
27680
+ # @!attribute [rw] partition_count
27681
+ # The number of partitions. Valid only if **strategy** is set to
27682
+ # `partition`.
27683
+ # @return [Integer]
27684
+ #
27652
27685
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PlacementGroup AWS API Documentation
27653
27686
  #
27654
27687
  class PlacementGroup < Struct.new(
27655
27688
  :group_name,
27656
27689
  :state,
27657
- :strategy)
27690
+ :strategy,
27691
+ :partition_count)
27658
27692
  include Aws::Structure
27659
27693
  end
27660
27694
 
@@ -31582,6 +31616,7 @@ module Aws::EC2
31582
31616
  # availability_zone: "String",
31583
31617
  # affinity: "String",
31584
31618
  # group_name: "String",
31619
+ # partition_number: 1,
31585
31620
  # host_id: "String",
31586
31621
  # tenancy: "default", # accepts default, dedicated, host
31587
31622
  # spread_domain: "String",
@@ -984,6 +984,8 @@ module Aws::EC2
984
984
  #
985
985
  # * `owner-id` - The AWS account ID of the instance owner.
986
986
  #
987
+ # * `partition-number` - The partition in which the instance is located.
988
+ #
987
989
  # * `placement-group-name` - The name of the placement group for the
988
990
  # instance.
989
991
  #
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.64.0
4
+ version: 1.65.0
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: 2018-12-18 00:00:00.000000000 Z
11
+ date: 2018-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4