aws-sdk-ec2 1.468.0 → 1.470.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +355 -62
- data/lib/aws-sdk-ec2/client_api.rb +60 -0
- data/lib/aws-sdk-ec2/endpoints.rb +28 -0
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-ec2/resource.rb +3 -3
- data/lib/aws-sdk-ec2/route.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +250 -34
- data/lib/aws-sdk-ec2/vpc.rb +3 -3
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +44 -1
- data/sig/types.rbs +47 -0
- metadata +2 -2
@@ -401,6 +401,8 @@ module Aws::EC2
|
|
401
401
|
CpuManufacturerSet = Shapes::ListShape.new(name: 'CpuManufacturerSet')
|
402
402
|
CpuOptions = Shapes::StructureShape.new(name: 'CpuOptions')
|
403
403
|
CpuOptionsRequest = Shapes::StructureShape.new(name: 'CpuOptionsRequest')
|
404
|
+
CreateCapacityReservationBySplittingRequest = Shapes::StructureShape.new(name: 'CreateCapacityReservationBySplittingRequest')
|
405
|
+
CreateCapacityReservationBySplittingResult = Shapes::StructureShape.new(name: 'CreateCapacityReservationBySplittingResult')
|
404
406
|
CreateCapacityReservationFleetRequest = Shapes::StructureShape.new(name: 'CreateCapacityReservationFleetRequest')
|
405
407
|
CreateCapacityReservationFleetResult = Shapes::StructureShape.new(name: 'CreateCapacityReservationFleetResult')
|
406
408
|
CreateCapacityReservationRequest = Shapes::StructureShape.new(name: 'CreateCapacityReservationRequest')
|
@@ -1253,6 +1255,9 @@ module Aws::EC2
|
|
1253
1255
|
EbsNvmeSupport = Shapes::StringShape.new(name: 'EbsNvmeSupport')
|
1254
1256
|
EbsOptimizedInfo = Shapes::StructureShape.new(name: 'EbsOptimizedInfo')
|
1255
1257
|
EbsOptimizedSupport = Shapes::StringShape.new(name: 'EbsOptimizedSupport')
|
1258
|
+
EbsStatusDetails = Shapes::StructureShape.new(name: 'EbsStatusDetails')
|
1259
|
+
EbsStatusDetailsList = Shapes::ListShape.new(name: 'EbsStatusDetailsList')
|
1260
|
+
EbsStatusSummary = Shapes::StructureShape.new(name: 'EbsStatusSummary')
|
1256
1261
|
Ec2InstanceConnectEndpoint = Shapes::StructureShape.new(name: 'Ec2InstanceConnectEndpoint')
|
1257
1262
|
Ec2InstanceConnectEndpointState = Shapes::StringShape.new(name: 'Ec2InstanceConnectEndpointState')
|
1258
1263
|
EfaInfo = Shapes::StructureShape.new(name: 'EfaInfo')
|
@@ -2235,6 +2240,8 @@ module Aws::EC2
|
|
2235
2240
|
MoveAddressToVpcResult = Shapes::StructureShape.new(name: 'MoveAddressToVpcResult')
|
2236
2241
|
MoveByoipCidrToIpamRequest = Shapes::StructureShape.new(name: 'MoveByoipCidrToIpamRequest')
|
2237
2242
|
MoveByoipCidrToIpamResult = Shapes::StructureShape.new(name: 'MoveByoipCidrToIpamResult')
|
2243
|
+
MoveCapacityReservationInstancesRequest = Shapes::StructureShape.new(name: 'MoveCapacityReservationInstancesRequest')
|
2244
|
+
MoveCapacityReservationInstancesResult = Shapes::StructureShape.new(name: 'MoveCapacityReservationInstancesResult')
|
2238
2245
|
MoveStatus = Shapes::StringShape.new(name: 'MoveStatus')
|
2239
2246
|
MovingAddressStatus = Shapes::StructureShape.new(name: 'MovingAddressStatus')
|
2240
2247
|
MovingAddressStatusSet = Shapes::ListShape.new(name: 'MovingAddressStatusSet')
|
@@ -4524,6 +4531,18 @@ module Aws::EC2
|
|
4524
4531
|
CpuOptionsRequest.add_member(:amd_sev_snp, Shapes::ShapeRef.new(shape: AmdSevSnpSpecification, location_name: "AmdSevSnp"))
|
4525
4532
|
CpuOptionsRequest.struct_class = Types::CpuOptionsRequest
|
4526
4533
|
|
4534
|
+
CreateCapacityReservationBySplittingRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
4535
|
+
CreateCapacityReservationBySplittingRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
4536
|
+
CreateCapacityReservationBySplittingRequest.add_member(:source_capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "SourceCapacityReservationId"))
|
4537
|
+
CreateCapacityReservationBySplittingRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "InstanceCount"))
|
4538
|
+
CreateCapacityReservationBySplittingRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4539
|
+
CreateCapacityReservationBySplittingRequest.struct_class = Types::CreateCapacityReservationBySplittingRequest
|
4540
|
+
|
4541
|
+
CreateCapacityReservationBySplittingResult.add_member(:source_capacity_reservation, Shapes::ShapeRef.new(shape: CapacityReservation, location_name: "sourceCapacityReservation"))
|
4542
|
+
CreateCapacityReservationBySplittingResult.add_member(:destination_capacity_reservation, Shapes::ShapeRef.new(shape: CapacityReservation, location_name: "destinationCapacityReservation"))
|
4543
|
+
CreateCapacityReservationBySplittingResult.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instanceCount"))
|
4544
|
+
CreateCapacityReservationBySplittingResult.struct_class = Types::CreateCapacityReservationBySplittingResult
|
4545
|
+
|
4527
4546
|
CreateCapacityReservationFleetRequest.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: String, location_name: "AllocationStrategy"))
|
4528
4547
|
CreateCapacityReservationFleetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
4529
4548
|
CreateCapacityReservationFleetRequest.add_member(:instance_type_specifications, Shapes::ShapeRef.new(shape: ReservationFleetInstanceSpecificationList, required: true, location_name: "InstanceTypeSpecification"))
|
@@ -8351,6 +8370,17 @@ module Aws::EC2
|
|
8351
8370
|
EbsOptimizedInfo.add_member(:maximum_iops, Shapes::ShapeRef.new(shape: MaximumIops, location_name: "maximumIops"))
|
8352
8371
|
EbsOptimizedInfo.struct_class = Types::EbsOptimizedInfo
|
8353
8372
|
|
8373
|
+
EbsStatusDetails.add_member(:impaired_since, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "impairedSince"))
|
8374
|
+
EbsStatusDetails.add_member(:name, Shapes::ShapeRef.new(shape: StatusName, location_name: "name"))
|
8375
|
+
EbsStatusDetails.add_member(:status, Shapes::ShapeRef.new(shape: StatusType, location_name: "status"))
|
8376
|
+
EbsStatusDetails.struct_class = Types::EbsStatusDetails
|
8377
|
+
|
8378
|
+
EbsStatusDetailsList.member = Shapes::ShapeRef.new(shape: EbsStatusDetails, location_name: "item")
|
8379
|
+
|
8380
|
+
EbsStatusSummary.add_member(:details, Shapes::ShapeRef.new(shape: EbsStatusDetailsList, location_name: "details"))
|
8381
|
+
EbsStatusSummary.add_member(:status, Shapes::ShapeRef.new(shape: SummaryStatus, location_name: "status"))
|
8382
|
+
EbsStatusSummary.struct_class = Types::EbsStatusSummary
|
8383
|
+
|
8354
8384
|
Ec2InstanceConnectEndpoint.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
8355
8385
|
Ec2InstanceConnectEndpoint.add_member(:instance_connect_endpoint_id, Shapes::ShapeRef.new(shape: InstanceConnectEndpointId, location_name: "instanceConnectEndpointId"))
|
8356
8386
|
Ec2InstanceConnectEndpoint.add_member(:instance_connect_endpoint_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "instanceConnectEndpointArn"))
|
@@ -10360,6 +10390,7 @@ module Aws::EC2
|
|
10360
10390
|
InstanceStatus.add_member(:instance_state, Shapes::ShapeRef.new(shape: InstanceState, location_name: "instanceState"))
|
10361
10391
|
InstanceStatus.add_member(:instance_status, Shapes::ShapeRef.new(shape: InstanceStatusSummary, location_name: "instanceStatus"))
|
10362
10392
|
InstanceStatus.add_member(:system_status, Shapes::ShapeRef.new(shape: InstanceStatusSummary, location_name: "systemStatus"))
|
10393
|
+
InstanceStatus.add_member(:attached_ebs_status, Shapes::ShapeRef.new(shape: EbsStatusSummary, location_name: "attachedEbsStatus"))
|
10363
10394
|
InstanceStatus.struct_class = Types::InstanceStatus
|
10364
10395
|
|
10365
10396
|
InstanceStatusDetails.add_member(:impaired_since, Shapes::ShapeRef.new(shape: DateTime, location_name: "impairedSince"))
|
@@ -11469,6 +11500,7 @@ module Aws::EC2
|
|
11469
11500
|
ModifyCapacityReservationRequest.add_member(:accept, Shapes::ShapeRef.new(shape: Boolean, location_name: "Accept"))
|
11470
11501
|
ModifyCapacityReservationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
11471
11502
|
ModifyCapacityReservationRequest.add_member(:additional_info, Shapes::ShapeRef.new(shape: String, location_name: "AdditionalInfo"))
|
11503
|
+
ModifyCapacityReservationRequest.add_member(:instance_match_criteria, Shapes::ShapeRef.new(shape: InstanceMatchCriteria, location_name: "InstanceMatchCriteria"))
|
11472
11504
|
ModifyCapacityReservationRequest.struct_class = Types::ModifyCapacityReservationRequest
|
11473
11505
|
|
11474
11506
|
ModifyCapacityReservationResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
@@ -12220,6 +12252,18 @@ module Aws::EC2
|
|
12220
12252
|
MoveByoipCidrToIpamResult.add_member(:byoip_cidr, Shapes::ShapeRef.new(shape: ByoipCidr, location_name: "byoipCidr"))
|
12221
12253
|
MoveByoipCidrToIpamResult.struct_class = Types::MoveByoipCidrToIpamResult
|
12222
12254
|
|
12255
|
+
MoveCapacityReservationInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
12256
|
+
MoveCapacityReservationInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
12257
|
+
MoveCapacityReservationInstancesRequest.add_member(:source_capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "SourceCapacityReservationId"))
|
12258
|
+
MoveCapacityReservationInstancesRequest.add_member(:destination_capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "DestinationCapacityReservationId"))
|
12259
|
+
MoveCapacityReservationInstancesRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "InstanceCount"))
|
12260
|
+
MoveCapacityReservationInstancesRequest.struct_class = Types::MoveCapacityReservationInstancesRequest
|
12261
|
+
|
12262
|
+
MoveCapacityReservationInstancesResult.add_member(:source_capacity_reservation, Shapes::ShapeRef.new(shape: CapacityReservation, location_name: "sourceCapacityReservation"))
|
12263
|
+
MoveCapacityReservationInstancesResult.add_member(:destination_capacity_reservation, Shapes::ShapeRef.new(shape: CapacityReservation, location_name: "destinationCapacityReservation"))
|
12264
|
+
MoveCapacityReservationInstancesResult.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instanceCount"))
|
12265
|
+
MoveCapacityReservationInstancesResult.struct_class = Types::MoveCapacityReservationInstancesResult
|
12266
|
+
|
12223
12267
|
MovingAddressStatus.add_member(:move_status, Shapes::ShapeRef.new(shape: MoveStatus, location_name: "moveStatus"))
|
12224
12268
|
MovingAddressStatus.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
|
12225
12269
|
MovingAddressStatus.struct_class = Types::MovingAddressStatus
|
@@ -16270,6 +16314,14 @@ module Aws::EC2
|
|
16270
16314
|
o.output = Shapes::ShapeRef.new(shape: CreateCapacityReservationResult)
|
16271
16315
|
end)
|
16272
16316
|
|
16317
|
+
api.add_operation(:create_capacity_reservation_by_splitting, Seahorse::Model::Operation.new.tap do |o|
|
16318
|
+
o.name = "CreateCapacityReservationBySplitting"
|
16319
|
+
o.http_method = "POST"
|
16320
|
+
o.http_request_uri = "/"
|
16321
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCapacityReservationBySplittingRequest)
|
16322
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCapacityReservationBySplittingResult)
|
16323
|
+
end)
|
16324
|
+
|
16273
16325
|
api.add_operation(:create_capacity_reservation_fleet, Seahorse::Model::Operation.new.tap do |o|
|
16274
16326
|
o.name = "CreateCapacityReservationFleet"
|
16275
16327
|
o.http_method = "POST"
|
@@ -21113,6 +21165,14 @@ module Aws::EC2
|
|
21113
21165
|
o.output = Shapes::ShapeRef.new(shape: MoveByoipCidrToIpamResult)
|
21114
21166
|
end)
|
21115
21167
|
|
21168
|
+
api.add_operation(:move_capacity_reservation_instances, Seahorse::Model::Operation.new.tap do |o|
|
21169
|
+
o.name = "MoveCapacityReservationInstances"
|
21170
|
+
o.http_method = "POST"
|
21171
|
+
o.http_request_uri = "/"
|
21172
|
+
o.input = Shapes::ShapeRef.new(shape: MoveCapacityReservationInstancesRequest)
|
21173
|
+
o.output = Shapes::ShapeRef.new(shape: MoveCapacityReservationInstancesResult)
|
21174
|
+
end)
|
21175
|
+
|
21116
21176
|
api.add_operation(:provision_byoip_cidr, Seahorse::Model::Operation.new.tap do |o|
|
21117
21177
|
o.name = "ProvisionByoipCidr"
|
21118
21178
|
o.http_method = "POST"
|
@@ -796,6 +796,20 @@ module Aws::EC2
|
|
796
796
|
end
|
797
797
|
end
|
798
798
|
|
799
|
+
class CreateCapacityReservationBySplitting
|
800
|
+
def self.build(context)
|
801
|
+
unless context.config.regional_endpoint
|
802
|
+
endpoint = context.config.endpoint.to_s
|
803
|
+
end
|
804
|
+
Aws::EC2::EndpointParameters.new(
|
805
|
+
region: context.config.region,
|
806
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
807
|
+
use_fips: context.config.use_fips_endpoint,
|
808
|
+
endpoint: endpoint,
|
809
|
+
)
|
810
|
+
end
|
811
|
+
end
|
812
|
+
|
799
813
|
class CreateCapacityReservationFleet
|
800
814
|
def self.build(context)
|
801
815
|
unless context.config.regional_endpoint
|
@@ -7824,6 +7838,20 @@ module Aws::EC2
|
|
7824
7838
|
end
|
7825
7839
|
end
|
7826
7840
|
|
7841
|
+
class MoveCapacityReservationInstances
|
7842
|
+
def self.build(context)
|
7843
|
+
unless context.config.regional_endpoint
|
7844
|
+
endpoint = context.config.endpoint.to_s
|
7845
|
+
end
|
7846
|
+
Aws::EC2::EndpointParameters.new(
|
7847
|
+
region: context.config.region,
|
7848
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
7849
|
+
use_fips: context.config.use_fips_endpoint,
|
7850
|
+
endpoint: endpoint,
|
7851
|
+
)
|
7852
|
+
end
|
7853
|
+
end
|
7854
|
+
|
7827
7855
|
class ProvisionByoipCidr
|
7828
7856
|
def self.build(context)
|
7829
7857
|
unless context.config.regional_endpoint
|
@@ -170,6 +170,8 @@ module Aws::EC2
|
|
170
170
|
Aws::EC2::Endpoints::CopySnapshot.build(context)
|
171
171
|
when :create_capacity_reservation
|
172
172
|
Aws::EC2::Endpoints::CreateCapacityReservation.build(context)
|
173
|
+
when :create_capacity_reservation_by_splitting
|
174
|
+
Aws::EC2::Endpoints::CreateCapacityReservationBySplitting.build(context)
|
173
175
|
when :create_capacity_reservation_fleet
|
174
176
|
Aws::EC2::Endpoints::CreateCapacityReservationFleet.build(context)
|
175
177
|
when :create_carrier_gateway
|
@@ -1174,6 +1176,8 @@ module Aws::EC2
|
|
1174
1176
|
Aws::EC2::Endpoints::MoveAddressToVpc.build(context)
|
1175
1177
|
when :move_byoip_cidr_to_ipam
|
1176
1178
|
Aws::EC2::Endpoints::MoveByoipCidrToIpam.build(context)
|
1179
|
+
when :move_capacity_reservation_instances
|
1180
|
+
Aws::EC2::Endpoints::MoveCapacityReservationInstances.build(context)
|
1177
1181
|
when :provision_byoip_cidr
|
1178
1182
|
Aws::EC2::Endpoints::ProvisionByoipCidr.build(context)
|
1179
1183
|
when :provision_ipam_byoasn
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -3330,8 +3330,8 @@ module Aws::EC2
|
|
3330
3330
|
# principal or service that created the network interface.
|
3331
3331
|
#
|
3332
3332
|
# * `requester-managed` - Indicates whether the network interface is
|
3333
|
-
# being managed by an Amazon Web
|
3334
|
-
# Services Management Console, Auto Scaling, and so on).
|
3333
|
+
# being managed by an Amazon Web Services service (for example, Amazon
|
3334
|
+
# Web Services Management Console, Auto Scaling, and so on).
|
3335
3335
|
#
|
3336
3336
|
# * `source-dest-check` - Indicates whether the network interface
|
3337
3337
|
# performs source/destination checking. A value of `true` means
|
@@ -3534,7 +3534,7 @@ module Aws::EC2
|
|
3534
3534
|
# in a route in the route table.
|
3535
3535
|
#
|
3536
3536
|
# * `route.destination-prefix-list-id` - The ID (prefix) of the Amazon
|
3537
|
-
# Web
|
3537
|
+
# Web Services service specified in a route in the table.
|
3538
3538
|
#
|
3539
3539
|
# * `route.egress-only-internet-gateway-id` - The ID of an egress-only
|
3540
3540
|
# Internet gateway specified in a route in the route table.
|
data/lib/aws-sdk-ec2/route.rb
CHANGED
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -1786,8 +1786,8 @@ module Aws::EC2
|
|
1786
1786
|
# principal or service that created the network interface.
|
1787
1787
|
#
|
1788
1788
|
# * `requester-managed` - Indicates whether the network interface is
|
1789
|
-
# being managed by an Amazon Web
|
1790
|
-
# Services Management Console, Auto Scaling, and so on).
|
1789
|
+
# being managed by an Amazon Web Services service (for example, Amazon
|
1790
|
+
# Web Services Management Console, Auto Scaling, and so on).
|
1791
1791
|
#
|
1792
1792
|
# * `source-dest-check` - Indicates whether the network interface
|
1793
1793
|
# performs source/destination checking. A value of `true` means
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -1413,7 +1413,7 @@ module Aws::EC2
|
|
1413
1413
|
# @return [String]
|
1414
1414
|
#
|
1415
1415
|
# @!attribute [rw] destination_prefix_list_id
|
1416
|
-
# The prefix of the Amazon Web
|
1416
|
+
# The prefix of the Amazon Web Services service.
|
1417
1417
|
# @return [String]
|
1418
1418
|
#
|
1419
1419
|
# @!attribute [rw] egress_only_internet_gateway_id
|
@@ -6364,12 +6364,12 @@ module Aws::EC2
|
|
6364
6364
|
# snapshot, but you cannot create an unencrypted copy of an encrypted
|
6365
6365
|
# snapshot. The default KMS key for Amazon EBS is used unless you
|
6366
6366
|
# specify a non-default Key Management Service (KMS) KMS key using
|
6367
|
-
# `KmsKeyId`. For more information, see [
|
6368
|
-
# the *Amazon
|
6367
|
+
# `KmsKeyId`. For more information, see [Use encryption with
|
6368
|
+
# EBS-backed AMIs][1] in the *Amazon EC2 User Guide*.
|
6369
6369
|
#
|
6370
6370
|
#
|
6371
6371
|
#
|
6372
|
-
# [1]: https://docs.aws.amazon.com/
|
6372
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html
|
6373
6373
|
# @return [Boolean]
|
6374
6374
|
#
|
6375
6375
|
# @!attribute [rw] kms_key_id
|
@@ -6707,6 +6707,76 @@ module Aws::EC2
|
|
6707
6707
|
include Aws::Structure
|
6708
6708
|
end
|
6709
6709
|
|
6710
|
+
# @!attribute [rw] dry_run
|
6711
|
+
# Checks whether you have the required permissions for the action,
|
6712
|
+
# without actually making the request, and provides an error response.
|
6713
|
+
# If you have the required permissions, the error response is
|
6714
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
6715
|
+
# @return [Boolean]
|
6716
|
+
#
|
6717
|
+
# @!attribute [rw] client_token
|
6718
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
6719
|
+
# idempotency of the request. For more information, see [Ensure
|
6720
|
+
# Idempotency][1].
|
6721
|
+
#
|
6722
|
+
# **A suitable default value is auto-generated.** You should normally
|
6723
|
+
# not need to pass this option.
|
6724
|
+
#
|
6725
|
+
#
|
6726
|
+
#
|
6727
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
6728
|
+
# @return [String]
|
6729
|
+
#
|
6730
|
+
# @!attribute [rw] source_capacity_reservation_id
|
6731
|
+
# The ID of the Capacity Reservation from which you want to split the
|
6732
|
+
# available capacity.
|
6733
|
+
# @return [String]
|
6734
|
+
#
|
6735
|
+
# @!attribute [rw] instance_count
|
6736
|
+
# The number of instances to split from the source Capacity
|
6737
|
+
# Reservation.
|
6738
|
+
# @return [Integer]
|
6739
|
+
#
|
6740
|
+
# @!attribute [rw] tag_specifications
|
6741
|
+
# The tags to apply to the new Capacity Reservation.
|
6742
|
+
# @return [Array<Types::TagSpecification>]
|
6743
|
+
#
|
6744
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservationBySplittingRequest AWS API Documentation
|
6745
|
+
#
|
6746
|
+
class CreateCapacityReservationBySplittingRequest < Struct.new(
|
6747
|
+
:dry_run,
|
6748
|
+
:client_token,
|
6749
|
+
:source_capacity_reservation_id,
|
6750
|
+
:instance_count,
|
6751
|
+
:tag_specifications)
|
6752
|
+
SENSITIVE = []
|
6753
|
+
include Aws::Structure
|
6754
|
+
end
|
6755
|
+
|
6756
|
+
# @!attribute [rw] source_capacity_reservation
|
6757
|
+
# Information about the source Capacity Reservation.
|
6758
|
+
# @return [Types::CapacityReservation]
|
6759
|
+
#
|
6760
|
+
# @!attribute [rw] destination_capacity_reservation
|
6761
|
+
# Information about the destination Capacity Reservation.
|
6762
|
+
# @return [Types::CapacityReservation]
|
6763
|
+
#
|
6764
|
+
# @!attribute [rw] instance_count
|
6765
|
+
# The number of instances in the new Capacity Reservation. The number
|
6766
|
+
# of instances in the source Capacity Reservation was reduced by this
|
6767
|
+
# amount.
|
6768
|
+
# @return [Integer]
|
6769
|
+
#
|
6770
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservationBySplittingResult AWS API Documentation
|
6771
|
+
#
|
6772
|
+
class CreateCapacityReservationBySplittingResult < Struct.new(
|
6773
|
+
:source_capacity_reservation,
|
6774
|
+
:destination_capacity_reservation,
|
6775
|
+
:instance_count)
|
6776
|
+
SENSITIVE = []
|
6777
|
+
include Aws::Structure
|
6778
|
+
end
|
6779
|
+
|
6710
6780
|
# @!attribute [rw] allocation_strategy
|
6711
6781
|
# The strategy used by the Capacity Reservation Fleet to determine
|
6712
6782
|
# which of the specified instance types to use. Currently, only the
|
@@ -9847,7 +9917,7 @@ module Aws::EC2
|
|
9847
9917
|
# @return [String]
|
9848
9918
|
#
|
9849
9919
|
# @!attribute [rw] aws_service
|
9850
|
-
# The Amazon Web
|
9920
|
+
# The Amazon Web Services service. Currently not supported.
|
9851
9921
|
# @return [String]
|
9852
9922
|
#
|
9853
9923
|
# @!attribute [rw] permission
|
@@ -13446,8 +13516,7 @@ module Aws::EC2
|
|
13446
13516
|
# @return [String]
|
13447
13517
|
#
|
13448
13518
|
# @!attribute [rw] metric
|
13449
|
-
# The metric
|
13450
|
-
# is aggregated for the query. This is the only supported metric.
|
13519
|
+
# The metric used for the network performance request.
|
13451
13520
|
# @return [String]
|
13452
13521
|
#
|
13453
13522
|
# @!attribute [rw] statistic
|
@@ -13491,9 +13560,7 @@ module Aws::EC2
|
|
13491
13560
|
# @return [String]
|
13492
13561
|
#
|
13493
13562
|
# @!attribute [rw] metric
|
13494
|
-
# The metric used for the network performance request.
|
13495
|
-
# `aggregate-latency` is supported, which shows network latency during
|
13496
|
-
# a specified period.
|
13563
|
+
# The metric used for the network performance request.
|
13497
13564
|
# @return [String]
|
13498
13565
|
#
|
13499
13566
|
# @!attribute [rw] statistic
|
@@ -20052,6 +20119,10 @@ module Aws::EC2
|
|
20052
20119
|
# * `system-status.status` - The system status of the instance (`ok`
|
20053
20120
|
# \| `impaired` \| `initializing` \| `insufficient-data` \|
|
20054
20121
|
# `not-applicable`).
|
20122
|
+
#
|
20123
|
+
# * `attached-ebs-status.status` - The status of the attached EBS
|
20124
|
+
# volume for the instance (`ok` \| `impaired` \| `initializing` \|
|
20125
|
+
# `insufficient-data` \| `not-applicable`).
|
20055
20126
|
# @return [Array<Types::Filter>]
|
20056
20127
|
#
|
20057
20128
|
# @!attribute [rw] instance_ids
|
@@ -23114,7 +23185,7 @@ module Aws::EC2
|
|
23114
23185
|
# Services account ID.
|
23115
23186
|
#
|
23116
23187
|
# * `network-interface-permission.aws-service` - The Amazon Web
|
23117
|
-
#
|
23188
|
+
# Services service.
|
23118
23189
|
#
|
23119
23190
|
# * `network-interface-permission.permission` - The type of permission
|
23120
23191
|
# (`INSTANCE-ATTACH` \| `EIP-ASSOCIATE`).
|
@@ -23259,8 +23330,8 @@ module Aws::EC2
|
|
23259
23330
|
# the principal or service that created the network interface.
|
23260
23331
|
#
|
23261
23332
|
# * `requester-managed` - Indicates whether the network interface is
|
23262
|
-
# being managed by an Amazon Web
|
23263
|
-
# Services Management Console, Auto Scaling, and so on).
|
23333
|
+
# being managed by an Amazon Web Services service (for example,
|
23334
|
+
# Amazon Web Services Management Console, Auto Scaling, and so on).
|
23264
23335
|
#
|
23265
23336
|
# * `source-dest-check` - Indicates whether the network interface
|
23266
23337
|
# performs source/destination checking. A value of `true` means
|
@@ -24153,7 +24224,7 @@ module Aws::EC2
|
|
24153
24224
|
# specified in a route in the route table.
|
24154
24225
|
#
|
24155
24226
|
# * `route.destination-prefix-list-id` - The ID (prefix) of the Amazon
|
24156
|
-
# Web
|
24227
|
+
# Web Services service specified in a route in the table.
|
24157
24228
|
#
|
24158
24229
|
# * `route.egress-only-internet-gateway-id` - The ID of an egress-only
|
24159
24230
|
# Internet gateway specified in a route in the route table.
|
@@ -30654,6 +30725,49 @@ module Aws::EC2
|
|
30654
30725
|
include Aws::Structure
|
30655
30726
|
end
|
30656
30727
|
|
30728
|
+
# Describes the attached EBS status check for an instance.
|
30729
|
+
#
|
30730
|
+
# @!attribute [rw] impaired_since
|
30731
|
+
# The date and time when the attached EBS status check failed.
|
30732
|
+
# @return [Time]
|
30733
|
+
#
|
30734
|
+
# @!attribute [rw] name
|
30735
|
+
# The name of the attached EBS status check.
|
30736
|
+
# @return [String]
|
30737
|
+
#
|
30738
|
+
# @!attribute [rw] status
|
30739
|
+
# The result of the attached EBS status check.
|
30740
|
+
# @return [String]
|
30741
|
+
#
|
30742
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsStatusDetails AWS API Documentation
|
30743
|
+
#
|
30744
|
+
class EbsStatusDetails < Struct.new(
|
30745
|
+
:impaired_since,
|
30746
|
+
:name,
|
30747
|
+
:status)
|
30748
|
+
SENSITIVE = []
|
30749
|
+
include Aws::Structure
|
30750
|
+
end
|
30751
|
+
|
30752
|
+
# Provides a summary of the attached EBS volume status for an instance.
|
30753
|
+
#
|
30754
|
+
# @!attribute [rw] details
|
30755
|
+
# Details about the attached EBS status check for an instance.
|
30756
|
+
# @return [Array<Types::EbsStatusDetails>]
|
30757
|
+
#
|
30758
|
+
# @!attribute [rw] status
|
30759
|
+
# The current status.
|
30760
|
+
# @return [String]
|
30761
|
+
#
|
30762
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsStatusSummary AWS API Documentation
|
30763
|
+
#
|
30764
|
+
class EbsStatusSummary < Struct.new(
|
30765
|
+
:details,
|
30766
|
+
:status)
|
30767
|
+
SENSITIVE = []
|
30768
|
+
include Aws::Structure
|
30769
|
+
end
|
30770
|
+
|
30657
30771
|
# The EC2 Instance Connect Endpoint.
|
30658
30772
|
#
|
30659
30773
|
# @!attribute [rw] owner_id
|
@@ -31758,16 +31872,6 @@ module Aws::EC2
|
|
31758
31872
|
# publicly shared are treated as private and they are no longer
|
31759
31873
|
# publicly available.
|
31760
31874
|
#
|
31761
|
-
# <note markdown="1"> If you enable block public access for snapshots in
|
31762
|
-
# `block-all-sharing` mode, it does not change the permissions for
|
31763
|
-
# snapshots that are already publicly shared. Instead, it prevents
|
31764
|
-
# these snapshots from be publicly visible and publicly accessible.
|
31765
|
-
# Therefore, the attributes for these snapshots still indicate that
|
31766
|
-
# they are publicly shared, even though they are not publicly
|
31767
|
-
# available.
|
31768
|
-
#
|
31769
|
-
# </note>
|
31770
|
-
#
|
31771
31875
|
# * `block-new-sharing` - Prevents only new public sharing of
|
31772
31876
|
# snapshots in the Region. Users in the account will no longer be
|
31773
31877
|
# able to request new public sharing. However, snapshots that are
|
@@ -41921,6 +42025,12 @@ module Aws::EC2
|
|
41921
42025
|
# network connectivity problems.
|
41922
42026
|
# @return [Types::InstanceStatusSummary]
|
41923
42027
|
#
|
42028
|
+
# @!attribute [rw] attached_ebs_status
|
42029
|
+
# Reports impaired functionality that stems from an attached Amazon
|
42030
|
+
# EBS volume that is unreachable and unable to complete I/O
|
42031
|
+
# operations.
|
42032
|
+
# @return [Types::EbsStatusSummary]
|
42033
|
+
#
|
41924
42034
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatus AWS API Documentation
|
41925
42035
|
#
|
41926
42036
|
class InstanceStatus < Struct.new(
|
@@ -41930,7 +42040,8 @@ module Aws::EC2
|
|
41930
42040
|
:instance_id,
|
41931
42041
|
:instance_state,
|
41932
42042
|
:instance_status,
|
41933
|
-
:system_status
|
42043
|
+
:system_status,
|
42044
|
+
:attached_ebs_status)
|
41934
42045
|
SENSITIVE = []
|
41935
42046
|
include Aws::Structure
|
41936
42047
|
end
|
@@ -47551,6 +47662,19 @@ module Aws::EC2
|
|
47551
47662
|
# Reserved for future use.
|
47552
47663
|
# @return [String]
|
47553
47664
|
#
|
47665
|
+
# @!attribute [rw] instance_match_criteria
|
47666
|
+
# The matching criteria (instance eligibility) that you want to use in
|
47667
|
+
# the modified Capacity Reservation. If you change the instance
|
47668
|
+
# eligibility of an existing Capacity Reservation from `targeted` to
|
47669
|
+
# `open`, any running instances that match the attributes of the
|
47670
|
+
# Capacity Reservation, have the `CapacityReservationPreference` set
|
47671
|
+
# to `open`, and are not yet running in the Capacity Reservation, will
|
47672
|
+
# automatically use the modified Capacity Reservation.
|
47673
|
+
#
|
47674
|
+
# To modify the instance eligibility, the Capacity Reservation must be
|
47675
|
+
# completely idle (zero usage).
|
47676
|
+
# @return [String]
|
47677
|
+
#
|
47554
47678
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyCapacityReservationRequest AWS API Documentation
|
47555
47679
|
#
|
47556
47680
|
class ModifyCapacityReservationRequest < Struct.new(
|
@@ -47560,7 +47684,8 @@ module Aws::EC2
|
|
47560
47684
|
:end_date_type,
|
47561
47685
|
:accept,
|
47562
47686
|
:dry_run,
|
47563
|
-
:additional_info
|
47687
|
+
:additional_info,
|
47688
|
+
:instance_match_criteria)
|
47564
47689
|
SENSITIVE = []
|
47565
47690
|
include Aws::Structure
|
47566
47691
|
end
|
@@ -49793,6 +49918,18 @@ module Aws::EC2
|
|
49793
49918
|
# Indicates whether DNS queries made to the Amazon-provided DNS
|
49794
49919
|
# Resolver in this subnet should return synthetic IPv6 addresses for
|
49795
49920
|
# IPv4-only destinations.
|
49921
|
+
#
|
49922
|
+
# <note markdown="1"> You must first configure a NAT gateway in a public subnet (separate
|
49923
|
+
# from the subnet containing the IPv6-only workloads). For example,
|
49924
|
+
# the subnet containing the NAT gateway should have a `0.0.0.0/0`
|
49925
|
+
# route pointing to the internet gateway. For more information, see
|
49926
|
+
# [Configure DNS64 and NAT64][1] in the *Amazon VPC User Guide*.
|
49927
|
+
#
|
49928
|
+
# </note>
|
49929
|
+
#
|
49930
|
+
#
|
49931
|
+
#
|
49932
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-nat64-dns64.html#nat-gateway-nat64-dns64-walkthrough
|
49796
49933
|
# @return [Types::AttributeBooleanValue]
|
49797
49934
|
#
|
49798
49935
|
# @!attribute [rw] private_dns_hostname_type_on_launch
|
@@ -50130,10 +50267,19 @@ module Aws::EC2
|
|
50130
50267
|
# BGP session. The range is 64512 to 65534 for 16-bit ASNs and
|
50131
50268
|
# 4200000000 to 4294967294 for 32-bit ASNs.
|
50132
50269
|
#
|
50133
|
-
# The modify ASN operation is not allowed on a transit gateway
|
50134
|
-
#
|
50135
|
-
#
|
50136
|
-
#
|
50270
|
+
# The modify ASN operation is not allowed on a transit gateway if it
|
50271
|
+
# has the following attachments:
|
50272
|
+
#
|
50273
|
+
# * Dynamic VPN
|
50274
|
+
#
|
50275
|
+
# * Static VPN
|
50276
|
+
#
|
50277
|
+
# * Direct Connect Gateway
|
50278
|
+
#
|
50279
|
+
# * Connect
|
50280
|
+
#
|
50281
|
+
# You must first delete all transit gateway attachments configured
|
50282
|
+
# prior to modifying the ASN on the transit gateway.
|
50137
50283
|
# @return [Integer]
|
50138
50284
|
#
|
50139
50285
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayOptions AWS API Documentation
|
@@ -52000,6 +52146,76 @@ module Aws::EC2
|
|
52000
52146
|
include Aws::Structure
|
52001
52147
|
end
|
52002
52148
|
|
52149
|
+
# @!attribute [rw] dry_run
|
52150
|
+
# Checks whether you have the required permissions for the action,
|
52151
|
+
# without actually making the request, and provides an error response.
|
52152
|
+
# If you have the required permissions, the error response is
|
52153
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
52154
|
+
# @return [Boolean]
|
52155
|
+
#
|
52156
|
+
# @!attribute [rw] client_token
|
52157
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
52158
|
+
# idempotency of the request. For more information, see [Ensure
|
52159
|
+
# Idempotency][1].
|
52160
|
+
#
|
52161
|
+
# **A suitable default value is auto-generated.** You should normally
|
52162
|
+
# not need to pass this option.
|
52163
|
+
#
|
52164
|
+
#
|
52165
|
+
#
|
52166
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
52167
|
+
# @return [String]
|
52168
|
+
#
|
52169
|
+
# @!attribute [rw] source_capacity_reservation_id
|
52170
|
+
# The ID of the Capacity Reservation from which you want to move
|
52171
|
+
# capacity.
|
52172
|
+
# @return [String]
|
52173
|
+
#
|
52174
|
+
# @!attribute [rw] destination_capacity_reservation_id
|
52175
|
+
# The ID of the Capacity Reservation that you want to move capacity
|
52176
|
+
# into.
|
52177
|
+
# @return [String]
|
52178
|
+
#
|
52179
|
+
# @!attribute [rw] instance_count
|
52180
|
+
# The number of instances that you want to move from the source
|
52181
|
+
# Capacity Reservation.
|
52182
|
+
# @return [Integer]
|
52183
|
+
#
|
52184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveCapacityReservationInstancesRequest AWS API Documentation
|
52185
|
+
#
|
52186
|
+
class MoveCapacityReservationInstancesRequest < Struct.new(
|
52187
|
+
:dry_run,
|
52188
|
+
:client_token,
|
52189
|
+
:source_capacity_reservation_id,
|
52190
|
+
:destination_capacity_reservation_id,
|
52191
|
+
:instance_count)
|
52192
|
+
SENSITIVE = []
|
52193
|
+
include Aws::Structure
|
52194
|
+
end
|
52195
|
+
|
52196
|
+
# @!attribute [rw] source_capacity_reservation
|
52197
|
+
# Information about the source Capacity Reservation.
|
52198
|
+
# @return [Types::CapacityReservation]
|
52199
|
+
#
|
52200
|
+
# @!attribute [rw] destination_capacity_reservation
|
52201
|
+
# Information about the destination Capacity Reservation.
|
52202
|
+
# @return [Types::CapacityReservation]
|
52203
|
+
#
|
52204
|
+
# @!attribute [rw] instance_count
|
52205
|
+
# The number of instances that were moved from the source Capacity
|
52206
|
+
# Reservation to the destination Capacity Reservation.
|
52207
|
+
# @return [Integer]
|
52208
|
+
#
|
52209
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveCapacityReservationInstancesResult AWS API Documentation
|
52210
|
+
#
|
52211
|
+
class MoveCapacityReservationInstancesResult < Struct.new(
|
52212
|
+
:source_capacity_reservation,
|
52213
|
+
:destination_capacity_reservation,
|
52214
|
+
:instance_count)
|
52215
|
+
SENSITIVE = []
|
52216
|
+
include Aws::Structure
|
52217
|
+
end
|
52218
|
+
|
52003
52219
|
# <note markdown="1"> This action is deprecated.
|
52004
52220
|
#
|
52005
52221
|
# </note>
|
@@ -53168,7 +53384,7 @@ module Aws::EC2
|
|
53168
53384
|
# @return [String]
|
53169
53385
|
#
|
53170
53386
|
# @!attribute [rw] aws_service
|
53171
|
-
# The Amazon Web
|
53387
|
+
# The Amazon Web Services service.
|
53172
53388
|
# @return [String]
|
53173
53389
|
#
|
53174
53390
|
# @!attribute [rw] permission
|
@@ -54382,7 +54598,7 @@ module Aws::EC2
|
|
54382
54598
|
# Describes prefixes for Amazon Web Services services.
|
54383
54599
|
#
|
54384
54600
|
# @!attribute [rw] cidrs
|
54385
|
-
# The IP address range of the Amazon Web
|
54601
|
+
# The IP address range of the Amazon Web Services service.
|
54386
54602
|
# @return [Array<String>]
|
54387
54603
|
#
|
54388
54604
|
# @!attribute [rw] prefix_list_id
|
@@ -56916,7 +57132,7 @@ module Aws::EC2
|
|
56916
57132
|
# @return [Array<Types::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest>]
|
56917
57133
|
#
|
56918
57134
|
# @!attribute [rw] image_id
|
56919
|
-
# The ID of the AMI in the format `ami-
|
57135
|
+
# The ID of the AMI in the format `ami-0ac394d6a3example`.
|
56920
57136
|
#
|
56921
57137
|
# Alternatively, you can specify a Systems Manager parameter, using
|
56922
57138
|
# one of the following formats. The Systems Manager parameter will
|
@@ -59184,7 +59400,7 @@ module Aws::EC2
|
|
59184
59400
|
# @return [String]
|
59185
59401
|
#
|
59186
59402
|
# @!attribute [rw] destination_prefix_list_id
|
59187
|
-
# The prefix of the Amazon Web
|
59403
|
+
# The prefix of the Amazon Web Services service.
|
59188
59404
|
# @return [String]
|
59189
59405
|
#
|
59190
59406
|
# @!attribute [rw] egress_only_internet_gateway_id
|