aws-sdk-ec2 1.205.0 → 1.206.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
  SHA256:
3
- metadata.gz: a66e132ceec5c398af378f488fe87010c2e5c8504cb91da70674e31fb5ddaff8
4
- data.tar.gz: 3c28ef703492d2ffb185d45bc20058c3b06201366784097638378f75946140cf
3
+ metadata.gz: a4d23597e7cc0b278ec9aa8144ece74dda08269049f8b1afdfbfdf350db1e6de
4
+ data.tar.gz: 99658a12bf6e214b9c76db9604f534aac72d8ea9cc8a9b48ee9b77a6a2909af4
5
5
  SHA512:
6
- metadata.gz: db10c1392441dc1d12e053bd612cbb9c4adbf87e91a1a9776e4967a233ea0a0b8dbc598f1d692d6354aa9640c7fbfbaca4f78e330a17cc13e35b8bc10a8539da
7
- data.tar.gz: b70cc26b6dee773b428fa2522b55c9e5c1fdadb1351228a67cad5d00dcd29b111b81a809aab76b22c0903ab7103380ae41300fd7dd0c80208f90e7c633c59829
6
+ metadata.gz: b0c7bd41d8472816f18d275605b2a918606550e6ce2ee1f34131607d66f173c55fb3099832b76bd71dbcde35820af93cbb597aa3efb5a9b131778c2013288192
7
+ data.tar.gz: 41f480046d6ed342c109ca4ecf805cf75d575e60fe83109ec2ad4bd378622814c7f86648a36ea480f4ccf06fb019a3a96040be35d6f9fb101583ceba146fdf1d
@@ -72,6 +72,6 @@ require_relative 'aws-sdk-ec2/customizations'
72
72
  # @!group service
73
73
  module Aws::EC2
74
74
 
75
- GEM_VERSION = '1.205.0'
75
+ GEM_VERSION = '1.206.0'
76
76
 
77
77
  end
@@ -3979,6 +3979,10 @@ module Aws::EC2
3979
3979
  #
3980
3980
  # Default Value: `enabled`
3981
3981
  #
3982
+ # @option params [Types::ClientConnectOptions] :client_connect_options
3983
+ # The options for managing connection authorization for new client
3984
+ # connections.
3985
+ #
3982
3986
  # @return [Types::CreateClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3983
3987
  #
3984
3988
  # * {Types::CreateClientVpnEndpointResult#client_vpn_endpoint_id #client_vpn_endpoint_id} => String
@@ -4031,6 +4035,10 @@ module Aws::EC2
4031
4035
  # security_group_ids: ["SecurityGroupId"],
4032
4036
  # vpc_id: "VpcId",
4033
4037
  # self_service_portal: "enabled", # accepts enabled, disabled
4038
+ # client_connect_options: {
4039
+ # enabled: false,
4040
+ # lambda_function_arn: "String",
4041
+ # },
4034
4042
  # })
4035
4043
  #
4036
4044
  # @example Response structure
@@ -4671,15 +4679,23 @@ module Aws::EC2
4671
4679
  # Fleet expires.
4672
4680
  #
4673
4681
  # @option params [String] :type
4674
- # The type of the request. By default, the EC2 Fleet places an
4675
- # asynchronous request for your desired capacity, and maintains it by
4676
- # replenishing interrupted Spot Instances (`maintain`). A value of
4677
- # `instant` places a synchronous one-time request, and returns errors
4678
- # for any instances that could not be launched. A value of `request`
4679
- # places an asynchronous one-time request without maintaining capacity
4680
- # or submitting requests in alternative capacity pools if capacity is
4681
- # unavailable. For more information, see [EC2 Fleet Request Types][1] in
4682
- # the *Amazon Elastic Compute Cloud User Guide*.
4682
+ # The type of request. The default value is `maintain`.
4683
+ #
4684
+ # * `maintain` - The EC2 Fleet plaees an asynchronous request for your
4685
+ # desired capacity, and continues to maintain your desired Spot
4686
+ # capacity by replenishing interrupted Spot Instances.
4687
+ #
4688
+ # * `request` - The EC2 Fleet places an asynchronous one-time request
4689
+ # for your desired capacity, but does submit Spot requests in
4690
+ # alternative capacity pools if Spot capacity is unavailable, and does
4691
+ # not maintain Spot capacity if Spot Instances are interrupted.
4692
+ #
4693
+ # * `instant` - The EC2 Fleet places a synchronous one-time request for
4694
+ # your desired capacity, and returns errors for any instances that
4695
+ # could not be launched.
4696
+ #
4697
+ # For more information, see [EC2 Fleet request types][1] in the *Amazon
4698
+ # Elastic Compute Cloud User Guide*.
4683
4699
  #
4684
4700
  #
4685
4701
  #
@@ -4704,7 +4720,7 @@ module Aws::EC2
4704
4720
  # value for `ResourceType` must be `fleet`, otherwise the fleet request
4705
4721
  # fails. To tag instances at launch, specify the tags in the [launch
4706
4722
  # template][1]. For information about tagging after launch, see [Tagging
4707
- # Your Resources][2].
4723
+ # your resources][2].
4708
4724
  #
4709
4725
  #
4710
4726
  #
@@ -4724,6 +4740,11 @@ module Aws::EC2
4724
4740
  # client_token: "String",
4725
4741
  # spot_options: {
4726
4742
  # allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized
4743
+ # maintenance_strategies: {
4744
+ # capacity_rebalance: {
4745
+ # replacement_strategy: "launch", # accepts launch
4746
+ # },
4747
+ # },
4727
4748
  # instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
4728
4749
  # instance_pools_to_use_count: 1,
4729
4750
  # single_instance_type: false,
@@ -13913,6 +13934,8 @@ module Aws::EC2
13913
13934
  # resp.connections[0].status.code #=> String, one of "active", "failed-to-terminate", "terminating", "terminated"
13914
13935
  # resp.connections[0].status.message #=> String
13915
13936
  # resp.connections[0].connection_end_time #=> String
13937
+ # resp.connections[0].posture_compliance_statuses #=> Array
13938
+ # resp.connections[0].posture_compliance_statuses[0] #=> String
13916
13939
  # resp.next_token #=> String
13917
13940
  #
13918
13941
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnConnections AWS API Documentation
@@ -14009,6 +14032,10 @@ module Aws::EC2
14009
14032
  # resp.client_vpn_endpoints[0].security_group_ids[0] #=> String
14010
14033
  # resp.client_vpn_endpoints[0].vpc_id #=> String
14011
14034
  # resp.client_vpn_endpoints[0].self_service_portal_url #=> String
14035
+ # resp.client_vpn_endpoints[0].client_connect_options.enabled #=> Boolean
14036
+ # resp.client_vpn_endpoints[0].client_connect_options.lambda_function_arn #=> String
14037
+ # resp.client_vpn_endpoints[0].client_connect_options.status.code #=> String, one of "applying", "applied"
14038
+ # resp.client_vpn_endpoints[0].client_connect_options.status.message #=> String
14012
14039
  # resp.next_token #=> String
14013
14040
  #
14014
14041
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnEndpoints AWS API Documentation
@@ -15175,6 +15202,7 @@ module Aws::EC2
15175
15202
  # resp.fleets[0].valid_until #=> Time
15176
15203
  # resp.fleets[0].replace_unhealthy_instances #=> Boolean
15177
15204
  # resp.fleets[0].spot_options.allocation_strategy #=> String, one of "lowest-price", "diversified", "capacity-optimized"
15205
+ # resp.fleets[0].spot_options.maintenance_strategies.capacity_rebalance.replacement_strategy #=> String, one of "launch"
15178
15206
  # resp.fleets[0].spot_options.instance_interruption_behavior #=> String, one of "hibernate", "stop", "terminate"
15179
15207
  # resp.fleets[0].spot_options.instance_pools_to_use_count #=> Integer
15180
15208
  # resp.fleets[0].spot_options.single_instance_type #=> Boolean
@@ -22541,6 +22569,7 @@ module Aws::EC2
22541
22569
  # resp.spot_fleet_request_configs[0].create_time #=> Time
22542
22570
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.allocation_strategy #=> String, one of "lowestPrice", "diversified", "capacityOptimized"
22543
22571
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.on_demand_allocation_strategy #=> String, one of "lowestPrice", "prioritized"
22572
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_maintenance_strategies.capacity_rebalance.replacement_strategy #=> String, one of "launch"
22544
22573
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.client_token #=> String
22545
22574
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.excess_capacity_termination_policy #=> String, one of "noTermination", "default"
22546
22575
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.fulfilled_capacity #=> Float
@@ -30197,6 +30226,10 @@ module Aws::EC2
30197
30226
  # Specify whether to enable the self-service portal for the Client VPN
30198
30227
  # endpoint.
30199
30228
  #
30229
+ # @option params [Types::ClientConnectOptions] :client_connect_options
30230
+ # The options for managing connection authorization for new client
30231
+ # connections.
30232
+ #
30200
30233
  # @return [Types::ModifyClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
30201
30234
  #
30202
30235
  # * {Types::ModifyClientVpnEndpointResult#return #return} => Boolean
@@ -30222,6 +30255,10 @@ module Aws::EC2
30222
30255
  # security_group_ids: ["SecurityGroupId"],
30223
30256
  # vpc_id: "VpcId",
30224
30257
  # self_service_portal: "enabled", # accepts enabled, disabled
30258
+ # client_connect_options: {
30259
+ # enabled: false,
30260
+ # lambda_function_arn: "String",
30261
+ # },
30225
30262
  # })
30226
30263
  #
30227
30264
  # @example Response structure
@@ -30424,7 +30461,7 @@ module Aws::EC2
30424
30461
  # @option params [required, String] :fleet_id
30425
30462
  # The ID of the EC2 Fleet.
30426
30463
  #
30427
- # @option params [required, Types::TargetCapacitySpecificationRequest] :target_capacity_specification
30464
+ # @option params [Types::TargetCapacitySpecificationRequest] :target_capacity_specification
30428
30465
  # The size of the EC2 Fleet.
30429
30466
  #
30430
30467
  # @return [Types::ModifyFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -30466,7 +30503,7 @@ module Aws::EC2
30466
30503
  # },
30467
30504
  # ],
30468
30505
  # fleet_id: "FleetId", # required
30469
- # target_capacity_specification: { # required
30506
+ # target_capacity_specification: {
30470
30507
  # total_target_capacity: 1, # required
30471
30508
  # on_demand_target_capacity: 1,
30472
30509
  # spot_target_capacity: 1,
@@ -35741,6 +35778,11 @@ module Aws::EC2
35741
35778
  # spot_fleet_request_config: { # required
35742
35779
  # allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized
35743
35780
  # on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
35781
+ # spot_maintenance_strategies: {
35782
+ # capacity_rebalance: {
35783
+ # replacement_strategy: "launch", # accepts launch
35784
+ # },
35785
+ # },
35744
35786
  # client_token: "String",
35745
35787
  # excess_capacity_termination_policy: "noTermination", # accepts noTermination, default
35746
35788
  # fulfilled_capacity: 1.0,
@@ -37429,18 +37471,15 @@ module Aws::EC2
37429
37471
  #
37430
37472
  # @option params [Types::EnclaveOptionsRequest] :enclave_options
37431
37473
  # Indicates whether the instance is enabled for AWS Nitro Enclaves. For
37432
- # more information, see [ AWS Nitro Enclaves][1] in the *Amazon Elastic
37433
- # Compute Cloud User Guide*.
37474
+ # more information, see [ What is AWS Nitro Enclaves?][1] in the *AWS
37475
+ # Nitro Enclaves User Guide*.
37434
37476
  #
37435
37477
  # You can't enable AWS Nitro Enclaves and hibernation on the same
37436
- # instance. For more information about AWS Nitro Enclaves requirements,
37437
- # see [ AWS Nitro Enclaves][2] in the *Amazon Elastic Compute Cloud User
37438
- # Guide*.
37478
+ # instance.
37439
37479
  #
37440
37480
  #
37441
37481
  #
37442
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html
37443
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html#nitro-enclave-reqs
37482
+ # [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
37444
37483
  #
37445
37484
  # @return [Types::Reservation] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
37446
37485
  #
@@ -39141,7 +39180,7 @@ module Aws::EC2
39141
39180
  params: params,
39142
39181
  config: config)
39143
39182
  context[:gem_name] = 'aws-sdk-ec2'
39144
- context[:gem_version] = '1.205.0'
39183
+ context[:gem_version] = '1.206.0'
39145
39184
  Seahorse::Client::Request.new(handlers, context)
39146
39185
  end
39147
39186
 
@@ -201,6 +201,8 @@ module Aws::EC2
201
201
  ClassicLoadBalancersConfig = Shapes::StructureShape.new(name: 'ClassicLoadBalancersConfig')
202
202
  ClientCertificateRevocationListStatus = Shapes::StructureShape.new(name: 'ClientCertificateRevocationListStatus')
203
203
  ClientCertificateRevocationListStatusCode = Shapes::StringShape.new(name: 'ClientCertificateRevocationListStatusCode')
204
+ ClientConnectOptions = Shapes::StructureShape.new(name: 'ClientConnectOptions')
205
+ ClientConnectResponseOptions = Shapes::StructureShape.new(name: 'ClientConnectResponseOptions')
204
206
  ClientData = Shapes::StructureShape.new(name: 'ClientData')
205
207
  ClientVpnAssociationId = Shapes::StringShape.new(name: 'ClientVpnAssociationId')
206
208
  ClientVpnAuthentication = Shapes::StructureShape.new(name: 'ClientVpnAuthentication')
@@ -215,6 +217,8 @@ module Aws::EC2
215
217
  ClientVpnConnectionStatus = Shapes::StructureShape.new(name: 'ClientVpnConnectionStatus')
216
218
  ClientVpnConnectionStatusCode = Shapes::StringShape.new(name: 'ClientVpnConnectionStatusCode')
217
219
  ClientVpnEndpoint = Shapes::StructureShape.new(name: 'ClientVpnEndpoint')
220
+ ClientVpnEndpointAttributeStatus = Shapes::StructureShape.new(name: 'ClientVpnEndpointAttributeStatus')
221
+ ClientVpnEndpointAttributeStatusCode = Shapes::StringShape.new(name: 'ClientVpnEndpointAttributeStatusCode')
218
222
  ClientVpnEndpointId = Shapes::StringShape.new(name: 'ClientVpnEndpointId')
219
223
  ClientVpnEndpointIdList = Shapes::ListShape.new(name: 'ClientVpnEndpointIdList')
220
224
  ClientVpnEndpointStatus = Shapes::StructureShape.new(name: 'ClientVpnEndpointStatus')
@@ -944,7 +948,12 @@ module Aws::EC2
944
948
  FleetLaunchTemplateSpecification = Shapes::StructureShape.new(name: 'FleetLaunchTemplateSpecification')
945
949
  FleetLaunchTemplateSpecificationRequest = Shapes::StructureShape.new(name: 'FleetLaunchTemplateSpecificationRequest')
946
950
  FleetOnDemandAllocationStrategy = Shapes::StringShape.new(name: 'FleetOnDemandAllocationStrategy')
951
+ FleetReplacementStrategy = Shapes::StringShape.new(name: 'FleetReplacementStrategy')
947
952
  FleetSet = Shapes::ListShape.new(name: 'FleetSet')
953
+ FleetSpotCapacityRebalance = Shapes::StructureShape.new(name: 'FleetSpotCapacityRebalance')
954
+ FleetSpotCapacityRebalanceRequest = Shapes::StructureShape.new(name: 'FleetSpotCapacityRebalanceRequest')
955
+ FleetSpotMaintenanceStrategies = Shapes::StructureShape.new(name: 'FleetSpotMaintenanceStrategies')
956
+ FleetSpotMaintenanceStrategiesRequest = Shapes::StructureShape.new(name: 'FleetSpotMaintenanceStrategiesRequest')
948
957
  FleetStateCode = Shapes::StringShape.new(name: 'FleetStateCode')
949
958
  FleetType = Shapes::StringShape.new(name: 'FleetType')
950
959
  Float = Shapes::FloatShape.new(name: 'Float')
@@ -1639,6 +1648,7 @@ module Aws::EC2
1639
1648
  ReplaceRouteTableAssociationResult = Shapes::StructureShape.new(name: 'ReplaceRouteTableAssociationResult')
1640
1649
  ReplaceTransitGatewayRouteRequest = Shapes::StructureShape.new(name: 'ReplaceTransitGatewayRouteRequest')
1641
1650
  ReplaceTransitGatewayRouteResult = Shapes::StructureShape.new(name: 'ReplaceTransitGatewayRouteResult')
1651
+ ReplacementStrategy = Shapes::StringShape.new(name: 'ReplacementStrategy')
1642
1652
  ReportInstanceReasonCodes = Shapes::StringShape.new(name: 'ReportInstanceReasonCodes')
1643
1653
  ReportInstanceStatusRequest = Shapes::StructureShape.new(name: 'ReportInstanceStatusRequest')
1644
1654
  ReportStatusType = Shapes::StringShape.new(name: 'ReportStatusType')
@@ -1797,6 +1807,7 @@ module Aws::EC2
1797
1807
  SnapshotState = Shapes::StringShape.new(name: 'SnapshotState')
1798
1808
  SnapshotTaskDetail = Shapes::StructureShape.new(name: 'SnapshotTaskDetail')
1799
1809
  SpotAllocationStrategy = Shapes::StringShape.new(name: 'SpotAllocationStrategy')
1810
+ SpotCapacityRebalance = Shapes::StructureShape.new(name: 'SpotCapacityRebalance')
1800
1811
  SpotDatafeedSubscription = Shapes::StructureShape.new(name: 'SpotDatafeedSubscription')
1801
1812
  SpotFleetLaunchSpecification = Shapes::StructureShape.new(name: 'SpotFleetLaunchSpecification')
1802
1813
  SpotFleetMonitoring = Shapes::StructureShape.new(name: 'SpotFleetMonitoring')
@@ -1816,6 +1827,7 @@ module Aws::EC2
1816
1827
  SpotInstanceStateFault = Shapes::StructureShape.new(name: 'SpotInstanceStateFault')
1817
1828
  SpotInstanceStatus = Shapes::StructureShape.new(name: 'SpotInstanceStatus')
1818
1829
  SpotInstanceType = Shapes::StringShape.new(name: 'SpotInstanceType')
1830
+ SpotMaintenanceStrategies = Shapes::StructureShape.new(name: 'SpotMaintenanceStrategies')
1819
1831
  SpotMarketOptions = Shapes::StructureShape.new(name: 'SpotMarketOptions')
1820
1832
  SpotOptions = Shapes::StructureShape.new(name: 'SpotOptions')
1821
1833
  SpotOptionsRequest = Shapes::StructureShape.new(name: 'SpotOptionsRequest')
@@ -2736,6 +2748,15 @@ module Aws::EC2
2736
2748
  ClientCertificateRevocationListStatus.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2737
2749
  ClientCertificateRevocationListStatus.struct_class = Types::ClientCertificateRevocationListStatus
2738
2750
 
2751
+ ClientConnectOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
2752
+ ClientConnectOptions.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: String, location_name: "LambdaFunctionArn"))
2753
+ ClientConnectOptions.struct_class = Types::ClientConnectOptions
2754
+
2755
+ ClientConnectResponseOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
2756
+ ClientConnectResponseOptions.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: String, location_name: "lambdaFunctionArn"))
2757
+ ClientConnectResponseOptions.add_member(:status, Shapes::ShapeRef.new(shape: ClientVpnEndpointAttributeStatus, location_name: "status"))
2758
+ ClientConnectResponseOptions.struct_class = Types::ClientConnectResponseOptions
2759
+
2739
2760
  ClientData.add_member(:comment, Shapes::ShapeRef.new(shape: String, location_name: "Comment"))
2740
2761
  ClientData.add_member(:upload_end, Shapes::ShapeRef.new(shape: DateTime, location_name: "UploadEnd"))
2741
2762
  ClientData.add_member(:upload_size, Shapes::ShapeRef.new(shape: Double, location_name: "UploadSize"))
@@ -2775,6 +2796,7 @@ module Aws::EC2
2775
2796
  ClientVpnConnection.add_member(:common_name, Shapes::ShapeRef.new(shape: String, location_name: "commonName"))
2776
2797
  ClientVpnConnection.add_member(:status, Shapes::ShapeRef.new(shape: ClientVpnConnectionStatus, location_name: "status"))
2777
2798
  ClientVpnConnection.add_member(:connection_end_time, Shapes::ShapeRef.new(shape: String, location_name: "connectionEndTime"))
2799
+ ClientVpnConnection.add_member(:posture_compliance_statuses, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "postureComplianceStatusSet"))
2778
2800
  ClientVpnConnection.struct_class = Types::ClientVpnConnection
2779
2801
 
2780
2802
  ClientVpnConnectionSet.member = Shapes::ShapeRef.new(shape: ClientVpnConnection, location_name: "item")
@@ -2803,8 +2825,13 @@ module Aws::EC2
2803
2825
  ClientVpnEndpoint.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: ClientVpnSecurityGroupIdSet, location_name: "securityGroupIdSet"))
2804
2826
  ClientVpnEndpoint.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "vpcId"))
2805
2827
  ClientVpnEndpoint.add_member(:self_service_portal_url, Shapes::ShapeRef.new(shape: String, location_name: "selfServicePortalUrl"))
2828
+ ClientVpnEndpoint.add_member(:client_connect_options, Shapes::ShapeRef.new(shape: ClientConnectResponseOptions, location_name: "clientConnectOptions"))
2806
2829
  ClientVpnEndpoint.struct_class = Types::ClientVpnEndpoint
2807
2830
 
2831
+ ClientVpnEndpointAttributeStatus.add_member(:code, Shapes::ShapeRef.new(shape: ClientVpnEndpointAttributeStatusCode, location_name: "code"))
2832
+ ClientVpnEndpointAttributeStatus.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2833
+ ClientVpnEndpointAttributeStatus.struct_class = Types::ClientVpnEndpointAttributeStatus
2834
+
2808
2835
  ClientVpnEndpointIdList.member = Shapes::ShapeRef.new(shape: ClientVpnEndpointId, location_name: "item")
2809
2836
 
2810
2837
  ClientVpnEndpointStatus.add_member(:code, Shapes::ShapeRef.new(shape: ClientVpnEndpointStatusCode, location_name: "code"))
@@ -2982,6 +3009,7 @@ module Aws::EC2
2982
3009
  CreateClientVpnEndpointRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: ClientVpnSecurityGroupIdSet, location_name: "SecurityGroupId"))
2983
3010
  CreateClientVpnEndpointRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
2984
3011
  CreateClientVpnEndpointRequest.add_member(:self_service_portal, Shapes::ShapeRef.new(shape: SelfServicePortal, location_name: "SelfServicePortal"))
3012
+ CreateClientVpnEndpointRequest.add_member(:client_connect_options, Shapes::ShapeRef.new(shape: ClientConnectOptions, location_name: "ClientConnectOptions"))
2985
3013
  CreateClientVpnEndpointRequest.struct_class = Types::CreateClientVpnEndpointRequest
2986
3014
 
2987
3015
  CreateClientVpnEndpointResult.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: String, location_name: "clientVpnEndpointId"))
@@ -5841,6 +5869,18 @@ module Aws::EC2
5841
5869
 
5842
5870
  FleetSet.member = Shapes::ShapeRef.new(shape: FleetData, location_name: "item")
5843
5871
 
5872
+ FleetSpotCapacityRebalance.add_member(:replacement_strategy, Shapes::ShapeRef.new(shape: FleetReplacementStrategy, location_name: "replacementStrategy"))
5873
+ FleetSpotCapacityRebalance.struct_class = Types::FleetSpotCapacityRebalance
5874
+
5875
+ FleetSpotCapacityRebalanceRequest.add_member(:replacement_strategy, Shapes::ShapeRef.new(shape: FleetReplacementStrategy, location_name: "ReplacementStrategy"))
5876
+ FleetSpotCapacityRebalanceRequest.struct_class = Types::FleetSpotCapacityRebalanceRequest
5877
+
5878
+ FleetSpotMaintenanceStrategies.add_member(:capacity_rebalance, Shapes::ShapeRef.new(shape: FleetSpotCapacityRebalance, location_name: "capacityRebalance"))
5879
+ FleetSpotMaintenanceStrategies.struct_class = Types::FleetSpotMaintenanceStrategies
5880
+
5881
+ FleetSpotMaintenanceStrategiesRequest.add_member(:capacity_rebalance, Shapes::ShapeRef.new(shape: FleetSpotCapacityRebalanceRequest, location_name: "CapacityRebalance"))
5882
+ FleetSpotMaintenanceStrategiesRequest.struct_class = Types::FleetSpotMaintenanceStrategiesRequest
5883
+
5844
5884
  FlowLog.add_member(:creation_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "creationTime"))
5845
5885
  FlowLog.add_member(:deliver_logs_error_message, Shapes::ShapeRef.new(shape: String, location_name: "deliverLogsErrorMessage"))
5846
5886
  FlowLog.add_member(:deliver_logs_permission_arn, Shapes::ShapeRef.new(shape: String, location_name: "deliverLogsPermissionArn"))
@@ -7350,6 +7390,7 @@ module Aws::EC2
7350
7390
  ModifyClientVpnEndpointRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: ClientVpnSecurityGroupIdSet, location_name: "SecurityGroupId"))
7351
7391
  ModifyClientVpnEndpointRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
7352
7392
  ModifyClientVpnEndpointRequest.add_member(:self_service_portal, Shapes::ShapeRef.new(shape: SelfServicePortal, location_name: "SelfServicePortal"))
7393
+ ModifyClientVpnEndpointRequest.add_member(:client_connect_options, Shapes::ShapeRef.new(shape: ClientConnectOptions, location_name: "ClientConnectOptions"))
7353
7394
  ModifyClientVpnEndpointRequest.struct_class = Types::ModifyClientVpnEndpointRequest
7354
7395
 
7355
7396
  ModifyClientVpnEndpointResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
@@ -7374,7 +7415,7 @@ module Aws::EC2
7374
7415
  ModifyFleetRequest.add_member(:excess_capacity_termination_policy, Shapes::ShapeRef.new(shape: FleetExcessCapacityTerminationPolicy, location_name: "ExcessCapacityTerminationPolicy"))
7375
7416
  ModifyFleetRequest.add_member(:launch_template_configs, Shapes::ShapeRef.new(shape: FleetLaunchTemplateConfigListRequest, location_name: "LaunchTemplateConfig"))
7376
7417
  ModifyFleetRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location_name: "FleetId"))
7377
- ModifyFleetRequest.add_member(:target_capacity_specification, Shapes::ShapeRef.new(shape: TargetCapacitySpecificationRequest, required: true, location_name: "TargetCapacitySpecification"))
7418
+ ModifyFleetRequest.add_member(:target_capacity_specification, Shapes::ShapeRef.new(shape: TargetCapacitySpecificationRequest, location_name: "TargetCapacitySpecification"))
7378
7419
  ModifyFleetRequest.struct_class = Types::ModifyFleetRequest
7379
7420
 
7380
7421
  ModifyFleetResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
@@ -9218,6 +9259,9 @@ module Aws::EC2
9218
9259
  SnapshotTaskDetail.add_member(:user_bucket, Shapes::ShapeRef.new(shape: UserBucketDetails, location_name: "userBucket"))
9219
9260
  SnapshotTaskDetail.struct_class = Types::SnapshotTaskDetail
9220
9261
 
9262
+ SpotCapacityRebalance.add_member(:replacement_strategy, Shapes::ShapeRef.new(shape: ReplacementStrategy, location_name: "replacementStrategy"))
9263
+ SpotCapacityRebalance.struct_class = Types::SpotCapacityRebalance
9264
+
9221
9265
  SpotDatafeedSubscription.add_member(:bucket, Shapes::ShapeRef.new(shape: String, location_name: "bucket"))
9222
9266
  SpotDatafeedSubscription.add_member(:fault, Shapes::ShapeRef.new(shape: SpotInstanceStateFault, location_name: "fault"))
9223
9267
  SpotDatafeedSubscription.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
@@ -9258,6 +9302,7 @@ module Aws::EC2
9258
9302
 
9259
9303
  SpotFleetRequestConfigData.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: AllocationStrategy, location_name: "allocationStrategy"))
9260
9304
  SpotFleetRequestConfigData.add_member(:on_demand_allocation_strategy, Shapes::ShapeRef.new(shape: OnDemandAllocationStrategy, location_name: "onDemandAllocationStrategy"))
9305
+ SpotFleetRequestConfigData.add_member(:spot_maintenance_strategies, Shapes::ShapeRef.new(shape: SpotMaintenanceStrategies, location_name: "spotMaintenanceStrategies"))
9261
9306
  SpotFleetRequestConfigData.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
9262
9307
  SpotFleetRequestConfigData.add_member(:excess_capacity_termination_policy, Shapes::ShapeRef.new(shape: ExcessCapacityTerminationPolicy, location_name: "excessCapacityTerminationPolicy"))
9263
9308
  SpotFleetRequestConfigData.add_member(:fulfilled_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "fulfilledCapacity"))
@@ -9325,6 +9370,9 @@ module Aws::EC2
9325
9370
  SpotInstanceStatus.add_member(:update_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "updateTime"))
9326
9371
  SpotInstanceStatus.struct_class = Types::SpotInstanceStatus
9327
9372
 
9373
+ SpotMaintenanceStrategies.add_member(:capacity_rebalance, Shapes::ShapeRef.new(shape: SpotCapacityRebalance, location_name: "capacityRebalance"))
9374
+ SpotMaintenanceStrategies.struct_class = Types::SpotMaintenanceStrategies
9375
+
9328
9376
  SpotMarketOptions.add_member(:max_price, Shapes::ShapeRef.new(shape: String, location_name: "MaxPrice"))
9329
9377
  SpotMarketOptions.add_member(:spot_instance_type, Shapes::ShapeRef.new(shape: SpotInstanceType, location_name: "SpotInstanceType"))
9330
9378
  SpotMarketOptions.add_member(:block_duration_minutes, Shapes::ShapeRef.new(shape: Integer, location_name: "BlockDurationMinutes"))
@@ -9333,6 +9381,7 @@ module Aws::EC2
9333
9381
  SpotMarketOptions.struct_class = Types::SpotMarketOptions
9334
9382
 
9335
9383
  SpotOptions.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotAllocationStrategy, location_name: "allocationStrategy"))
9384
+ SpotOptions.add_member(:maintenance_strategies, Shapes::ShapeRef.new(shape: FleetSpotMaintenanceStrategies, location_name: "maintenanceStrategies"))
9336
9385
  SpotOptions.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: SpotInstanceInterruptionBehavior, location_name: "instanceInterruptionBehavior"))
9337
9386
  SpotOptions.add_member(:instance_pools_to_use_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instancePoolsToUseCount"))
9338
9387
  SpotOptions.add_member(:single_instance_type, Shapes::ShapeRef.new(shape: Boolean, location_name: "singleInstanceType"))
@@ -9342,6 +9391,7 @@ module Aws::EC2
9342
9391
  SpotOptions.struct_class = Types::SpotOptions
9343
9392
 
9344
9393
  SpotOptionsRequest.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotAllocationStrategy, location_name: "AllocationStrategy"))
9394
+ SpotOptionsRequest.add_member(:maintenance_strategies, Shapes::ShapeRef.new(shape: FleetSpotMaintenanceStrategiesRequest, location_name: "MaintenanceStrategies"))
9345
9395
  SpotOptionsRequest.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: SpotInstanceInterruptionBehavior, location_name: "InstanceInterruptionBehavior"))
9346
9396
  SpotOptionsRequest.add_member(:instance_pools_to_use_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancePoolsToUseCount"))
9347
9397
  SpotOptionsRequest.add_member(:single_instance_type, Shapes::ShapeRef.new(shape: Boolean, location_name: "SingleInstanceType"))
@@ -521,18 +521,15 @@ module Aws::EC2
521
521
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
522
522
  # @option options [Types::EnclaveOptionsRequest] :enclave_options
523
523
  # Indicates whether the instance is enabled for AWS Nitro Enclaves. For
524
- # more information, see [ AWS Nitro Enclaves][1] in the *Amazon Elastic
525
- # Compute Cloud User Guide*.
524
+ # more information, see [ What is AWS Nitro Enclaves?][1] in the *AWS
525
+ # Nitro Enclaves User Guide*.
526
526
  #
527
527
  # You can't enable AWS Nitro Enclaves and hibernation on the same
528
- # instance. For more information about AWS Nitro Enclaves requirements,
529
- # see [ AWS Nitro Enclaves][2] in the *Amazon Elastic Compute Cloud User
530
- # Guide*.
528
+ # instance.
531
529
  #
532
530
  #
533
531
  #
534
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html
535
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html#nitro-enclave-reqs
532
+ # [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
536
533
  # @return [Instance::Collection]
537
534
  def create_instances(options = {})
538
535
  batch = []
@@ -710,18 +710,15 @@ module Aws::EC2
710
710
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
711
711
  # @option options [Types::EnclaveOptionsRequest] :enclave_options
712
712
  # Indicates whether the instance is enabled for AWS Nitro Enclaves. For
713
- # more information, see [ AWS Nitro Enclaves][1] in the *Amazon Elastic
714
- # Compute Cloud User Guide*.
713
+ # more information, see [ What is AWS Nitro Enclaves?][1] in the *AWS
714
+ # Nitro Enclaves User Guide*.
715
715
  #
716
716
  # You can't enable AWS Nitro Enclaves and hibernation on the same
717
- # instance. For more information about AWS Nitro Enclaves requirements,
718
- # see [ AWS Nitro Enclaves][2] in the *Amazon Elastic Compute Cloud User
719
- # Guide*.
717
+ # instance.
720
718
  #
721
719
  #
722
720
  #
723
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html
724
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html#nitro-enclave-reqs
721
+ # [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
725
722
  # @return [Instance::Collection]
726
723
  def create_instances(options = {})
727
724
  batch = []
@@ -3221,7 +3221,7 @@ module Aws::EC2
3221
3221
  # For more information about Capacity Reservations, see [On-Demand
3222
3222
  # Capacity Reservations][1] in the *Amazon Elastic Compute Cloud User
3223
3223
  # Guide*. For examples of using Capacity Reservations in an EC2 Fleet,
3224
- # see [EC2 Fleet Example Configurations][2] in the *Amazon Elastic
3224
+ # see [EC2 Fleet example configurations][2] in the *Amazon Elastic
3225
3225
  # Compute Cloud User Guide*.
3226
3226
  #
3227
3227
  #
@@ -3265,7 +3265,7 @@ module Aws::EC2
3265
3265
  # For more information about Capacity Reservations, see [On-Demand
3266
3266
  # Capacity Reservations][1] in the *Amazon Elastic Compute Cloud User
3267
3267
  # Guide*. For examples of using Capacity Reservations in an EC2 Fleet,
3268
- # see [EC2 Fleet Example Configurations][2] in the *Amazon Elastic
3268
+ # see [EC2 Fleet example configurations][2] in the *Amazon Elastic
3269
3269
  # Compute Cloud User Guide*.
3270
3270
  #
3271
3271
  #
@@ -3674,6 +3674,62 @@ module Aws::EC2
3674
3674
  include Aws::Structure
3675
3675
  end
3676
3676
 
3677
+ # The options for managing connection authorization for new client
3678
+ # connections.
3679
+ #
3680
+ # @note When making an API call, you may pass ClientConnectOptions
3681
+ # data as a hash:
3682
+ #
3683
+ # {
3684
+ # enabled: false,
3685
+ # lambda_function_arn: "String",
3686
+ # }
3687
+ #
3688
+ # @!attribute [rw] enabled
3689
+ # Indicates whether client connect options are enabled. The default is
3690
+ # `false` (not enabled).
3691
+ # @return [Boolean]
3692
+ #
3693
+ # @!attribute [rw] lambda_function_arn
3694
+ # The Amazon Resource Name (ARN) of the AWS Lambda function used for
3695
+ # connection authorization.
3696
+ # @return [String]
3697
+ #
3698
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientConnectOptions AWS API Documentation
3699
+ #
3700
+ class ClientConnectOptions < Struct.new(
3701
+ :enabled,
3702
+ :lambda_function_arn)
3703
+ SENSITIVE = []
3704
+ include Aws::Structure
3705
+ end
3706
+
3707
+ # The options for managing connection authorization for new client
3708
+ # connections.
3709
+ #
3710
+ # @!attribute [rw] enabled
3711
+ # Indicates whether client connect options are enabled.
3712
+ # @return [Boolean]
3713
+ #
3714
+ # @!attribute [rw] lambda_function_arn
3715
+ # The Amazon Resource Name (ARN) of the AWS Lambda function used for
3716
+ # connection authorization.
3717
+ # @return [String]
3718
+ #
3719
+ # @!attribute [rw] status
3720
+ # The status of any updates to the client connect options.
3721
+ # @return [Types::ClientVpnEndpointAttributeStatus]
3722
+ #
3723
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientConnectResponseOptions AWS API Documentation
3724
+ #
3725
+ class ClientConnectResponseOptions < Struct.new(
3726
+ :enabled,
3727
+ :lambda_function_arn,
3728
+ :status)
3729
+ SENSITIVE = []
3730
+ include Aws::Structure
3731
+ end
3732
+
3677
3733
  # Describes the client-specific data.
3678
3734
  #
3679
3735
  # @note When making an API call, you may pass ClientData
@@ -3882,6 +3938,11 @@ module Aws::EC2
3882
3938
  # The date and time the client connection was terminated.
3883
3939
  # @return [String]
3884
3940
  #
3941
+ # @!attribute [rw] posture_compliance_statuses
3942
+ # The statuses returned by the client connect handler for posture
3943
+ # compliance, if applicable.
3944
+ # @return [Array<String>]
3945
+ #
3885
3946
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientVpnConnection AWS API Documentation
3886
3947
  #
3887
3948
  class ClientVpnConnection < Struct.new(
@@ -3897,7 +3958,8 @@ module Aws::EC2
3897
3958
  :client_ip,
3898
3959
  :common_name,
3899
3960
  :status,
3900
- :connection_end_time)
3961
+ :connection_end_time,
3962
+ :posture_compliance_statuses)
3901
3963
  SENSITIVE = []
3902
3964
  include Aws::Structure
3903
3965
  end
@@ -4018,6 +4080,11 @@ module Aws::EC2
4018
4080
  # The URL of the self-service portal.
4019
4081
  # @return [String]
4020
4082
  #
4083
+ # @!attribute [rw] client_connect_options
4084
+ # The options for managing connection authorization for new client
4085
+ # connections.
4086
+ # @return [Types::ClientConnectResponseOptions]
4087
+ #
4021
4088
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientVpnEndpoint AWS API Documentation
4022
4089
  #
4023
4090
  class ClientVpnEndpoint < Struct.new(
@@ -4040,7 +4107,27 @@ module Aws::EC2
4040
4107
  :tags,
4041
4108
  :security_group_ids,
4042
4109
  :vpc_id,
4043
- :self_service_portal_url)
4110
+ :self_service_portal_url,
4111
+ :client_connect_options)
4112
+ SENSITIVE = []
4113
+ include Aws::Structure
4114
+ end
4115
+
4116
+ # Describes the status of the Client VPN endpoint attribute.
4117
+ #
4118
+ # @!attribute [rw] code
4119
+ # The status code.
4120
+ # @return [String]
4121
+ #
4122
+ # @!attribute [rw] message
4123
+ # The status message.
4124
+ # @return [String]
4125
+ #
4126
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientVpnEndpointAttributeStatus AWS API Documentation
4127
+ #
4128
+ class ClientVpnEndpointAttributeStatus < Struct.new(
4129
+ :code,
4130
+ :message)
4044
4131
  SENSITIVE = []
4045
4132
  include Aws::Structure
4046
4133
  end
@@ -5119,6 +5206,10 @@ module Aws::EC2
5119
5206
  # security_group_ids: ["SecurityGroupId"],
5120
5207
  # vpc_id: "VpcId",
5121
5208
  # self_service_portal: "enabled", # accepts enabled, disabled
5209
+ # client_connect_options: {
5210
+ # enabled: false,
5211
+ # lambda_function_arn: "String",
5212
+ # },
5122
5213
  # }
5123
5214
  #
5124
5215
  # @!attribute [rw] client_cidr_block
@@ -5244,6 +5335,11 @@ module Aws::EC2
5244
5335
  # Default Value: `enabled`
5245
5336
  # @return [String]
5246
5337
  #
5338
+ # @!attribute [rw] client_connect_options
5339
+ # The options for managing connection authorization for new client
5340
+ # connections.
5341
+ # @return [Types::ClientConnectOptions]
5342
+ #
5247
5343
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateClientVpnEndpointRequest AWS API Documentation
5248
5344
  #
5249
5345
  class CreateClientVpnEndpointRequest < Struct.new(
@@ -5261,7 +5357,8 @@ module Aws::EC2
5261
5357
  :tag_specifications,
5262
5358
  :security_group_ids,
5263
5359
  :vpc_id,
5264
- :self_service_portal)
5360
+ :self_service_portal,
5361
+ :client_connect_options)
5265
5362
  SENSITIVE = []
5266
5363
  include Aws::Structure
5267
5364
  end
@@ -5768,6 +5865,11 @@ module Aws::EC2
5768
5865
  # client_token: "String",
5769
5866
  # spot_options: {
5770
5867
  # allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized
5868
+ # maintenance_strategies: {
5869
+ # capacity_rebalance: {
5870
+ # replacement_strategy: "launch", # accepts launch
5871
+ # },
5872
+ # },
5771
5873
  # instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
5772
5874
  # instance_pools_to_use_count: 1,
5773
5875
  # single_instance_type: false,
@@ -5884,15 +5986,23 @@ module Aws::EC2
5884
5986
  # @return [Boolean]
5885
5987
  #
5886
5988
  # @!attribute [rw] type
5887
- # The type of the request. By default, the EC2 Fleet places an
5888
- # asynchronous request for your desired capacity, and maintains it by
5889
- # replenishing interrupted Spot Instances (`maintain`). A value of
5890
- # `instant` places a synchronous one-time request, and returns errors
5891
- # for any instances that could not be launched. A value of `request`
5892
- # places an asynchronous one-time request without maintaining capacity
5893
- # or submitting requests in alternative capacity pools if capacity is
5894
- # unavailable. For more information, see [EC2 Fleet Request Types][1]
5895
- # in the *Amazon Elastic Compute Cloud User Guide*.
5989
+ # The type of request. The default value is `maintain`.
5990
+ #
5991
+ # * `maintain` - The EC2 Fleet plaees an asynchronous request for your
5992
+ # desired capacity, and continues to maintain your desired Spot
5993
+ # capacity by replenishing interrupted Spot Instances.
5994
+ #
5995
+ # * `request` - The EC2 Fleet places an asynchronous one-time request
5996
+ # for your desired capacity, but does submit Spot requests in
5997
+ # alternative capacity pools if Spot capacity is unavailable, and
5998
+ # does not maintain Spot capacity if Spot Instances are interrupted.
5999
+ #
6000
+ # * `instant` - The EC2 Fleet places a synchronous one-time request
6001
+ # for your desired capacity, and returns errors for any instances
6002
+ # that could not be launched.
6003
+ #
6004
+ # For more information, see [EC2 Fleet request types][1] in the
6005
+ # *Amazon Elastic Compute Cloud User Guide*.
5896
6006
  #
5897
6007
  #
5898
6008
  #
@@ -5921,7 +6031,7 @@ module Aws::EC2
5921
6031
  # The value for `ResourceType` must be `fleet`, otherwise the fleet
5922
6032
  # request fails. To tag instances at launch, specify the tags in the
5923
6033
  # [launch template][1]. For information about tagging after launch,
5924
- # see [Tagging Your Resources][2].
6034
+ # see [Tagging your resources][2].
5925
6035
  #
5926
6036
  #
5927
6037
  #
@@ -25519,12 +25629,12 @@ module Aws::EC2
25519
25629
  end
25520
25630
 
25521
25631
  # Indicates whether the instance is enabled for AWS Nitro Enclaves. For
25522
- # more information, see [ AWS Nitro Enclaves][1] in the *Amazon Elastic
25523
- # Compute Cloud User Guide*.
25632
+ # more information, see [ What is AWS Nitro Enclaves?][1] in the *AWS
25633
+ # Nitro Enclaves User Guide*.
25524
25634
  #
25525
25635
  #
25526
25636
  #
25527
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html
25637
+ # [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
25528
25638
  #
25529
25639
  # @note When making an API call, you may pass EnclaveOptionsRequest
25530
25640
  # data as a hash:
@@ -26733,6 +26843,113 @@ module Aws::EC2
26733
26843
  include Aws::Structure
26734
26844
  end
26735
26845
 
26846
+ # The strategy to use when Amazon EC2 emits a signal that your Spot
26847
+ # Instance is at an elevated risk of being interrupted.
26848
+ #
26849
+ # @!attribute [rw] replacement_strategy
26850
+ # To allow EC2 Fleet to launch a replacement Spot Instance when an
26851
+ # instance rebalance notification is emitted for an existing Spot
26852
+ # Instance in the fleet, specify `launch`. Only available for fleets
26853
+ # of type `maintain`.
26854
+ #
26855
+ # <note markdown="1"> When a replacement instance is launched, the instance marked for
26856
+ # rebalance is not automatically terminated. You can terminate it, or
26857
+ # you can wait until Amazon EC2 interrupts it. You are charged for
26858
+ # both instances while they are running.
26859
+ #
26860
+ # </note>
26861
+ # @return [String]
26862
+ #
26863
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetSpotCapacityRebalance AWS API Documentation
26864
+ #
26865
+ class FleetSpotCapacityRebalance < Struct.new(
26866
+ :replacement_strategy)
26867
+ SENSITIVE = []
26868
+ include Aws::Structure
26869
+ end
26870
+
26871
+ # The Spot Instance replacement strategy to use when Amazon EC2 emits a
26872
+ # signal that your Spot Instance is at an elevated risk of being
26873
+ # interrupted. For more information, see [Capacity rebalancing][1] in
26874
+ # the *Amazon Elastic Compute Cloud User Guide*.
26875
+ #
26876
+ #
26877
+ #
26878
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-configuration-strategies.html#ec2-fleet-capacity-rebalance
26879
+ #
26880
+ # @note When making an API call, you may pass FleetSpotCapacityRebalanceRequest
26881
+ # data as a hash:
26882
+ #
26883
+ # {
26884
+ # replacement_strategy: "launch", # accepts launch
26885
+ # }
26886
+ #
26887
+ # @!attribute [rw] replacement_strategy
26888
+ # The replacement strategy to use. Only available for fleets of type
26889
+ # `maintain`.
26890
+ #
26891
+ # To allow EC2 Fleet to launch a replacement Spot Instance when an
26892
+ # instance rebalance notification is emitted for an existing Spot
26893
+ # Instance in the fleet, specify `launch`. You must specify a value,
26894
+ # otherwise you get an error.
26895
+ #
26896
+ # <note markdown="1"> When a replacement instance is launched, the instance marked for
26897
+ # rebalance is not automatically terminated. You can terminate it, or
26898
+ # you can wait until Amazon EC2 interrupts it. You are charged for all
26899
+ # instances while they are running.
26900
+ #
26901
+ # </note>
26902
+ # @return [String]
26903
+ #
26904
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetSpotCapacityRebalanceRequest AWS API Documentation
26905
+ #
26906
+ class FleetSpotCapacityRebalanceRequest < Struct.new(
26907
+ :replacement_strategy)
26908
+ SENSITIVE = []
26909
+ include Aws::Structure
26910
+ end
26911
+
26912
+ # The strategies for managing your Spot Instances that are at an
26913
+ # elevated risk of being interrupted.
26914
+ #
26915
+ # @!attribute [rw] capacity_rebalance
26916
+ # The strategy to use when Amazon EC2 emits a signal that your Spot
26917
+ # Instance is at an elevated risk of being interrupted.
26918
+ # @return [Types::FleetSpotCapacityRebalance]
26919
+ #
26920
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetSpotMaintenanceStrategies AWS API Documentation
26921
+ #
26922
+ class FleetSpotMaintenanceStrategies < Struct.new(
26923
+ :capacity_rebalance)
26924
+ SENSITIVE = []
26925
+ include Aws::Structure
26926
+ end
26927
+
26928
+ # The strategies for managing your Spot Instances that are at an
26929
+ # elevated risk of being interrupted.
26930
+ #
26931
+ # @note When making an API call, you may pass FleetSpotMaintenanceStrategiesRequest
26932
+ # data as a hash:
26933
+ #
26934
+ # {
26935
+ # capacity_rebalance: {
26936
+ # replacement_strategy: "launch", # accepts launch
26937
+ # },
26938
+ # }
26939
+ #
26940
+ # @!attribute [rw] capacity_rebalance
26941
+ # The strategy to use when Amazon EC2 emits a signal that your Spot
26942
+ # Instance is at an elevated risk of being interrupted.
26943
+ # @return [Types::FleetSpotCapacityRebalanceRequest]
26944
+ #
26945
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetSpotMaintenanceStrategiesRequest AWS API Documentation
26946
+ #
26947
+ class FleetSpotMaintenanceStrategiesRequest < Struct.new(
26948
+ :capacity_rebalance)
26949
+ SENSITIVE = []
26950
+ include Aws::Structure
26951
+ end
26952
+
26736
26953
  # Describes a flow log.
26737
26954
  #
26738
26955
  # @!attribute [rw] creation_time
@@ -34904,6 +35121,10 @@ module Aws::EC2
34904
35121
  # security_group_ids: ["SecurityGroupId"],
34905
35122
  # vpc_id: "VpcId",
34906
35123
  # self_service_portal: "enabled", # accepts enabled, disabled
35124
+ # client_connect_options: {
35125
+ # enabled: false,
35126
+ # lambda_function_arn: "String",
35127
+ # },
34907
35128
  # }
34908
35129
  #
34909
35130
  # @!attribute [rw] client_vpn_endpoint_id
@@ -34982,6 +35203,11 @@ module Aws::EC2
34982
35203
  # endpoint.
34983
35204
  # @return [String]
34984
35205
  #
35206
+ # @!attribute [rw] client_connect_options
35207
+ # The options for managing connection authorization for new client
35208
+ # connections.
35209
+ # @return [Types::ClientConnectOptions]
35210
+ #
34985
35211
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyClientVpnEndpointRequest AWS API Documentation
34986
35212
  #
34987
35213
  class ModifyClientVpnEndpointRequest < Struct.new(
@@ -34995,7 +35221,8 @@ module Aws::EC2
34995
35221
  :dry_run,
34996
35222
  :security_group_ids,
34997
35223
  :vpc_id,
34998
- :self_service_portal)
35224
+ :self_service_portal,
35225
+ :client_connect_options)
34999
35226
  SENSITIVE = []
35000
35227
  include Aws::Structure
35001
35228
  end
@@ -35159,7 +35386,7 @@ module Aws::EC2
35159
35386
  # },
35160
35387
  # ],
35161
35388
  # fleet_id: "FleetId", # required
35162
- # target_capacity_specification: { # required
35389
+ # target_capacity_specification: {
35163
35390
  # total_target_capacity: 1, # required
35164
35391
  # on_demand_target_capacity: 1,
35165
35392
  # spot_target_capacity: 1,
@@ -42209,6 +42436,11 @@ module Aws::EC2
42209
42436
  # spot_fleet_request_config: { # required
42210
42437
  # allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized
42211
42438
  # on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
42439
+ # spot_maintenance_strategies: {
42440
+ # capacity_rebalance: {
42441
+ # replacement_strategy: "launch", # accepts launch
42442
+ # },
42443
+ # },
42212
42444
  # client_token: "String",
42213
42445
  # excess_capacity_termination_policy: "noTermination", # accepts noTermination, default
42214
42446
  # fulfilled_capacity: 1.0,
@@ -44968,18 +45200,15 @@ module Aws::EC2
44968
45200
  #
44969
45201
  # @!attribute [rw] enclave_options
44970
45202
  # Indicates whether the instance is enabled for AWS Nitro Enclaves.
44971
- # For more information, see [ AWS Nitro Enclaves][1] in the *Amazon
44972
- # Elastic Compute Cloud User Guide*.
45203
+ # For more information, see [ What is AWS Nitro Enclaves?][1] in the
45204
+ # *AWS Nitro Enclaves User Guide*.
44973
45205
  #
44974
45206
  # You can't enable AWS Nitro Enclaves and hibernation on the same
44975
- # instance. For more information about AWS Nitro Enclaves
44976
- # requirements, see [ AWS Nitro Enclaves][2] in the *Amazon Elastic
44977
- # Compute Cloud User Guide*.
45207
+ # instance.
44978
45208
  #
44979
45209
  #
44980
45210
  #
44981
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html
44982
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html#nitro-enclave-reqs
45211
+ # [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
44983
45212
  # @return [Types::EnclaveOptionsRequest]
44984
45213
  #
44985
45214
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstancesRequest AWS API Documentation
@@ -46922,6 +47151,46 @@ module Aws::EC2
46922
47151
  include Aws::Structure
46923
47152
  end
46924
47153
 
47154
+ # The Spot Instance replacement strategy to use when Amazon EC2 emits a
47155
+ # signal that your Spot Instance is at an elevated risk of being
47156
+ # interrupted. For more information, see [Capacity rebalancing][1] in
47157
+ # the *Amazon EC2 User Guide for Linux Instances*.
47158
+ #
47159
+ #
47160
+ #
47161
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-configuration-strategies.html#spot-fleet-capacity-rebalance
47162
+ #
47163
+ # @note When making an API call, you may pass SpotCapacityRebalance
47164
+ # data as a hash:
47165
+ #
47166
+ # {
47167
+ # replacement_strategy: "launch", # accepts launch
47168
+ # }
47169
+ #
47170
+ # @!attribute [rw] replacement_strategy
47171
+ # The replacement strategy to use. Only available for fleets of type
47172
+ # `maintain`. You must specify a value, otherwise you get an error.
47173
+ #
47174
+ # To allow Spot Fleet to launch a replacement Spot Instance when an
47175
+ # instance rebalance notification is emitted for a Spot Instance in
47176
+ # the fleet, specify `launch`.
47177
+ #
47178
+ # <note markdown="1"> When a replacement instance is launched, the instance marked for
47179
+ # rebalance is not automatically terminated. You can terminate it, or
47180
+ # you can wait until Amazon EC2 interrupts it. You are charged for all
47181
+ # instances while they are running.
47182
+ #
47183
+ # </note>
47184
+ # @return [String]
47185
+ #
47186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotCapacityRebalance AWS API Documentation
47187
+ #
47188
+ class SpotCapacityRebalance < Struct.new(
47189
+ :replacement_strategy)
47190
+ SENSITIVE = []
47191
+ include Aws::Structure
47192
+ end
47193
+
46925
47194
  # Describes the data feed for a Spot Instance.
46926
47195
  #
46927
47196
  # @!attribute [rw] bucket
@@ -47270,6 +47539,11 @@ module Aws::EC2
47270
47539
  # {
47271
47540
  # allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized
47272
47541
  # on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
47542
+ # spot_maintenance_strategies: {
47543
+ # capacity_rebalance: {
47544
+ # replacement_strategy: "launch", # accepts launch
47545
+ # },
47546
+ # },
47273
47547
  # client_token: "String",
47274
47548
  # excess_capacity_termination_policy: "noTermination", # accepts noTermination, default
47275
47549
  # fulfilled_capacity: 1.0,
@@ -47449,6 +47723,11 @@ module Aws::EC2
47449
47723
  # defaults to `lowestPrice`.
47450
47724
  # @return [String]
47451
47725
  #
47726
+ # @!attribute [rw] spot_maintenance_strategies
47727
+ # The strategies for managing your Spot Instances that are at an
47728
+ # elevated risk of being interrupted.
47729
+ # @return [Types::SpotMaintenanceStrategies]
47730
+ #
47452
47731
  # @!attribute [rw] client_token
47453
47732
  # A unique, case-sensitive identifier that you provide to ensure the
47454
47733
  # idempotency of your listings. This helps to avoid duplicate
@@ -47631,6 +47910,7 @@ module Aws::EC2
47631
47910
  class SpotFleetRequestConfigData < Struct.new(
47632
47911
  :allocation_strategy,
47633
47912
  :on_demand_allocation_strategy,
47913
+ :spot_maintenance_strategies,
47634
47914
  :client_token,
47635
47915
  :excess_capacity_termination_policy,
47636
47916
  :fulfilled_capacity,
@@ -47875,6 +48155,31 @@ module Aws::EC2
47875
48155
  include Aws::Structure
47876
48156
  end
47877
48157
 
48158
+ # The strategies for managing your Spot Instances that are at an
48159
+ # elevated risk of being interrupted.
48160
+ #
48161
+ # @note When making an API call, you may pass SpotMaintenanceStrategies
48162
+ # data as a hash:
48163
+ #
48164
+ # {
48165
+ # capacity_rebalance: {
48166
+ # replacement_strategy: "launch", # accepts launch
48167
+ # },
48168
+ # }
48169
+ #
48170
+ # @!attribute [rw] capacity_rebalance
48171
+ # The strategy to use when Amazon EC2 emits a signal that your Spot
48172
+ # Instance is at an elevated risk of being interrupted.
48173
+ # @return [Types::SpotCapacityRebalance]
48174
+ #
48175
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotMaintenanceStrategies AWS API Documentation
48176
+ #
48177
+ class SpotMaintenanceStrategies < Struct.new(
48178
+ :capacity_rebalance)
48179
+ SENSITIVE = []
48180
+ include Aws::Structure
48181
+ end
48182
+
47878
48183
  # The options for Spot Instances.
47879
48184
  #
47880
48185
  # @note When making an API call, you may pass SpotMarketOptions
@@ -47972,6 +48277,12 @@ module Aws::EC2
47972
48277
  # for the number of instances that are launching.
47973
48278
  # @return [String]
47974
48279
  #
48280
+ # @!attribute [rw] maintenance_strategies
48281
+ # The strategies for managing your workloads on your Spot Instances
48282
+ # that will be interrupted. Currently only the capacity rebalance
48283
+ # strategy is available.
48284
+ # @return [Types::FleetSpotMaintenanceStrategies]
48285
+ #
47975
48286
  # @!attribute [rw] instance_interruption_behavior
47976
48287
  # The behavior when a Spot Instance is interrupted. The default is
47977
48288
  # `terminate`.
@@ -48011,6 +48322,7 @@ module Aws::EC2
48011
48322
  #
48012
48323
  class SpotOptions < Struct.new(
48013
48324
  :allocation_strategy,
48325
+ :maintenance_strategies,
48014
48326
  :instance_interruption_behavior,
48015
48327
  :instance_pools_to_use_count,
48016
48328
  :single_instance_type,
@@ -48028,6 +48340,11 @@ module Aws::EC2
48028
48340
  #
48029
48341
  # {
48030
48342
  # allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized
48343
+ # maintenance_strategies: {
48344
+ # capacity_rebalance: {
48345
+ # replacement_strategy: "launch", # accepts launch
48346
+ # },
48347
+ # },
48031
48348
  # instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
48032
48349
  # instance_pools_to_use_count: 1,
48033
48350
  # single_instance_type: false,
@@ -48052,6 +48369,11 @@ module Aws::EC2
48052
48369
  # for the number of instances that are launching.
48053
48370
  # @return [String]
48054
48371
  #
48372
+ # @!attribute [rw] maintenance_strategies
48373
+ # The strategies for managing your Spot Instances that are at an
48374
+ # elevated risk of being interrupted.
48375
+ # @return [Types::FleetSpotMaintenanceStrategiesRequest]
48376
+ #
48055
48377
  # @!attribute [rw] instance_interruption_behavior
48056
48378
  # The behavior when a Spot Instance is interrupted. The default is
48057
48379
  # `terminate`.
@@ -48091,6 +48413,7 @@ module Aws::EC2
48091
48413
  #
48092
48414
  class SpotOptionsRequest < Struct.new(
48093
48415
  :allocation_strategy,
48416
+ :maintenance_strategies,
48094
48417
  :instance_interruption_behavior,
48095
48418
  :instance_pools_to_use_count,
48096
48419
  :single_instance_type,
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.205.0
4
+ version: 1.206.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: 2020-11-02 00:00:00.000000000 Z
11
+ date: 2020-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4