aws-sdk-ec2 1.467.0 → 1.469.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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')
@@ -1800,6 +1802,7 @@ module Aws::EC2
1800
1802
  IpRange = Shapes::StructureShape.new(name: 'IpRange')
1801
1803
  IpRangeList = Shapes::ListShape.new(name: 'IpRangeList')
1802
1804
  IpRanges = Shapes::ListShape.new(name: 'IpRanges')
1805
+ IpSource = Shapes::StringShape.new(name: 'IpSource')
1803
1806
  Ipam = Shapes::StructureShape.new(name: 'Ipam')
1804
1807
  IpamAddressHistoryMaxResults = Shapes::IntegerShape.new(name: 'IpamAddressHistoryMaxResults')
1805
1808
  IpamAddressHistoryRecord = Shapes::StructureShape.new(name: 'IpamAddressHistoryRecord')
@@ -1858,6 +1861,7 @@ module Aws::EC2
1858
1861
  IpamPublicAddressTags = Shapes::StructureShape.new(name: 'IpamPublicAddressTags')
1859
1862
  IpamPublicAddressType = Shapes::StringShape.new(name: 'IpamPublicAddressType')
1860
1863
  IpamResourceCidr = Shapes::StructureShape.new(name: 'IpamResourceCidr')
1864
+ IpamResourceCidrIpSource = Shapes::StringShape.new(name: 'IpamResourceCidrIpSource')
1861
1865
  IpamResourceCidrSet = Shapes::ListShape.new(name: 'IpamResourceCidrSet')
1862
1866
  IpamResourceDiscovery = Shapes::StructureShape.new(name: 'IpamResourceDiscovery')
1863
1867
  IpamResourceDiscoveryAssociation = Shapes::StructureShape.new(name: 'IpamResourceDiscoveryAssociation')
@@ -1887,6 +1891,7 @@ module Aws::EC2
1887
1891
  Ipv4PrefixSpecificationResponse = Shapes::StructureShape.new(name: 'Ipv4PrefixSpecificationResponse')
1888
1892
  Ipv4PrefixesList = Shapes::ListShape.new(name: 'Ipv4PrefixesList')
1889
1893
  Ipv6Address = Shapes::StringShape.new(name: 'Ipv6Address')
1894
+ Ipv6AddressAttribute = Shapes::StringShape.new(name: 'Ipv6AddressAttribute')
1890
1895
  Ipv6AddressList = Shapes::ListShape.new(name: 'Ipv6AddressList')
1891
1896
  Ipv6CidrAssociation = Shapes::StructureShape.new(name: 'Ipv6CidrAssociation')
1892
1897
  Ipv6CidrAssociationSet = Shapes::ListShape.new(name: 'Ipv6CidrAssociationSet')
@@ -2232,6 +2237,8 @@ module Aws::EC2
2232
2237
  MoveAddressToVpcResult = Shapes::StructureShape.new(name: 'MoveAddressToVpcResult')
2233
2238
  MoveByoipCidrToIpamRequest = Shapes::StructureShape.new(name: 'MoveByoipCidrToIpamRequest')
2234
2239
  MoveByoipCidrToIpamResult = Shapes::StructureShape.new(name: 'MoveByoipCidrToIpamResult')
2240
+ MoveCapacityReservationInstancesRequest = Shapes::StructureShape.new(name: 'MoveCapacityReservationInstancesRequest')
2241
+ MoveCapacityReservationInstancesResult = Shapes::StructureShape.new(name: 'MoveCapacityReservationInstancesResult')
2235
2242
  MoveStatus = Shapes::StringShape.new(name: 'MoveStatus')
2236
2243
  MovingAddressStatus = Shapes::StructureShape.new(name: 'MovingAddressStatus')
2237
2244
  MovingAddressStatusSet = Shapes::ListShape.new(name: 'MovingAddressStatusSet')
@@ -4521,6 +4528,18 @@ module Aws::EC2
4521
4528
  CpuOptionsRequest.add_member(:amd_sev_snp, Shapes::ShapeRef.new(shape: AmdSevSnpSpecification, location_name: "AmdSevSnp"))
4522
4529
  CpuOptionsRequest.struct_class = Types::CpuOptionsRequest
4523
4530
 
4531
+ CreateCapacityReservationBySplittingRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4532
+ CreateCapacityReservationBySplittingRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
4533
+ CreateCapacityReservationBySplittingRequest.add_member(:source_capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "SourceCapacityReservationId"))
4534
+ CreateCapacityReservationBySplittingRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "InstanceCount"))
4535
+ CreateCapacityReservationBySplittingRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
4536
+ CreateCapacityReservationBySplittingRequest.struct_class = Types::CreateCapacityReservationBySplittingRequest
4537
+
4538
+ CreateCapacityReservationBySplittingResult.add_member(:source_capacity_reservation, Shapes::ShapeRef.new(shape: CapacityReservation, location_name: "sourceCapacityReservation"))
4539
+ CreateCapacityReservationBySplittingResult.add_member(:destination_capacity_reservation, Shapes::ShapeRef.new(shape: CapacityReservation, location_name: "destinationCapacityReservation"))
4540
+ CreateCapacityReservationBySplittingResult.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instanceCount"))
4541
+ CreateCapacityReservationBySplittingResult.struct_class = Types::CreateCapacityReservationBySplittingResult
4542
+
4524
4543
  CreateCapacityReservationFleetRequest.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: String, location_name: "AllocationStrategy"))
4525
4544
  CreateCapacityReservationFleetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
4526
4545
  CreateCapacityReservationFleetRequest.add_member(:instance_type_specifications, Shapes::ShapeRef.new(shape: ReservationFleetInstanceSpecificationList, required: true, location_name: "InstanceTypeSpecification"))
@@ -4833,6 +4852,7 @@ module Aws::EC2
4833
4852
  CreateIpamRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
4834
4853
  CreateIpamRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
4835
4854
  CreateIpamRequest.add_member(:tier, Shapes::ShapeRef.new(shape: IpamTier, location_name: "Tier"))
4855
+ CreateIpamRequest.add_member(:enable_private_gua, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnablePrivateGua"))
4836
4856
  CreateIpamRequest.struct_class = Types::CreateIpamRequest
4837
4857
 
4838
4858
  CreateIpamResourceDiscoveryRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
@@ -10519,6 +10539,7 @@ module Aws::EC2
10519
10539
  Ipam.add_member(:resource_discovery_association_count, Shapes::ShapeRef.new(shape: Integer, location_name: "resourceDiscoveryAssociationCount"))
10520
10540
  Ipam.add_member(:state_message, Shapes::ShapeRef.new(shape: String, location_name: "stateMessage"))
10521
10541
  Ipam.add_member(:tier, Shapes::ShapeRef.new(shape: IpamTier, location_name: "tier"))
10542
+ Ipam.add_member(:enable_private_gua, Shapes::ShapeRef.new(shape: Boolean, location_name: "enablePrivateGua"))
10522
10543
  Ipam.struct_class = Types::Ipam
10523
10544
 
10524
10545
  IpamAddressHistoryRecord.add_member(:resource_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceOwnerId"))
@@ -10577,6 +10598,7 @@ module Aws::EC2
10577
10598
  IpamDiscoveredResourceCidr.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
10578
10599
  IpamDiscoveredResourceCidr.add_member(:resource_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceOwnerId"))
10579
10600
  IpamDiscoveredResourceCidr.add_member(:resource_cidr, Shapes::ShapeRef.new(shape: String, location_name: "resourceCidr"))
10601
+ IpamDiscoveredResourceCidr.add_member(:ip_source, Shapes::ShapeRef.new(shape: IpamResourceCidrIpSource, location_name: "ipSource"))
10580
10602
  IpamDiscoveredResourceCidr.add_member(:resource_type, Shapes::ShapeRef.new(shape: IpamResourceType, location_name: "resourceType"))
10581
10603
  IpamDiscoveredResourceCidr.add_member(:resource_tags, Shapes::ShapeRef.new(shape: IpamResourceTagList, location_name: "resourceTagSet"))
10582
10604
  IpamDiscoveredResourceCidr.add_member(:ip_usage, Shapes::ShapeRef.new(shape: BoxedDouble, location_name: "ipUsage"))
@@ -11463,6 +11485,7 @@ module Aws::EC2
11463
11485
  ModifyCapacityReservationRequest.add_member(:accept, Shapes::ShapeRef.new(shape: Boolean, location_name: "Accept"))
11464
11486
  ModifyCapacityReservationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
11465
11487
  ModifyCapacityReservationRequest.add_member(:additional_info, Shapes::ShapeRef.new(shape: String, location_name: "AdditionalInfo"))
11488
+ ModifyCapacityReservationRequest.add_member(:instance_match_criteria, Shapes::ShapeRef.new(shape: InstanceMatchCriteria, location_name: "InstanceMatchCriteria"))
11466
11489
  ModifyCapacityReservationRequest.struct_class = Types::ModifyCapacityReservationRequest
11467
11490
 
11468
11491
  ModifyCapacityReservationResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
@@ -11685,6 +11708,7 @@ module Aws::EC2
11685
11708
  ModifyIpamRequest.add_member(:add_operating_regions, Shapes::ShapeRef.new(shape: AddIpamOperatingRegionSet, location_name: "AddOperatingRegion"))
11686
11709
  ModifyIpamRequest.add_member(:remove_operating_regions, Shapes::ShapeRef.new(shape: RemoveIpamOperatingRegionSet, location_name: "RemoveOperatingRegion"))
11687
11710
  ModifyIpamRequest.add_member(:tier, Shapes::ShapeRef.new(shape: IpamTier, location_name: "Tier"))
11711
+ ModifyIpamRequest.add_member(:enable_private_gua, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnablePrivateGua"))
11688
11712
  ModifyIpamRequest.struct_class = Types::ModifyIpamRequest
11689
11713
 
11690
11714
  ModifyIpamResourceCidrRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
@@ -12213,6 +12237,18 @@ module Aws::EC2
12213
12237
  MoveByoipCidrToIpamResult.add_member(:byoip_cidr, Shapes::ShapeRef.new(shape: ByoipCidr, location_name: "byoipCidr"))
12214
12238
  MoveByoipCidrToIpamResult.struct_class = Types::MoveByoipCidrToIpamResult
12215
12239
 
12240
+ MoveCapacityReservationInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
12241
+ MoveCapacityReservationInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
12242
+ MoveCapacityReservationInstancesRequest.add_member(:source_capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "SourceCapacityReservationId"))
12243
+ MoveCapacityReservationInstancesRequest.add_member(:destination_capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "DestinationCapacityReservationId"))
12244
+ MoveCapacityReservationInstancesRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "InstanceCount"))
12245
+ MoveCapacityReservationInstancesRequest.struct_class = Types::MoveCapacityReservationInstancesRequest
12246
+
12247
+ MoveCapacityReservationInstancesResult.add_member(:source_capacity_reservation, Shapes::ShapeRef.new(shape: CapacityReservation, location_name: "sourceCapacityReservation"))
12248
+ MoveCapacityReservationInstancesResult.add_member(:destination_capacity_reservation, Shapes::ShapeRef.new(shape: CapacityReservation, location_name: "destinationCapacityReservation"))
12249
+ MoveCapacityReservationInstancesResult.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instanceCount"))
12250
+ MoveCapacityReservationInstancesResult.struct_class = Types::MoveCapacityReservationInstancesResult
12251
+
12216
12252
  MovingAddressStatus.add_member(:move_status, Shapes::ShapeRef.new(shape: MoveStatus, location_name: "moveStatus"))
12217
12253
  MovingAddressStatus.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
12218
12254
  MovingAddressStatus.struct_class = Types::MovingAddressStatus
@@ -14512,6 +14548,8 @@ module Aws::EC2
14512
14548
  SubnetIpv6CidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: SubnetCidrAssociationId, location_name: "associationId"))
14513
14549
  SubnetIpv6CidrBlockAssociation.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "ipv6CidrBlock"))
14514
14550
  SubnetIpv6CidrBlockAssociation.add_member(:ipv_6_cidr_block_state, Shapes::ShapeRef.new(shape: SubnetCidrBlockState, location_name: "ipv6CidrBlockState"))
14551
+ SubnetIpv6CidrBlockAssociation.add_member(:ipv_6_address_attribute, Shapes::ShapeRef.new(shape: Ipv6AddressAttribute, location_name: "ipv6AddressAttribute"))
14552
+ SubnetIpv6CidrBlockAssociation.add_member(:ip_source, Shapes::ShapeRef.new(shape: IpSource, location_name: "ipSource"))
14515
14553
  SubnetIpv6CidrBlockAssociation.struct_class = Types::SubnetIpv6CidrBlockAssociation
14516
14554
 
14517
14555
  SubnetIpv6CidrBlockAssociationSet.member = Shapes::ShapeRef.new(shape: SubnetIpv6CidrBlockAssociation, location_name: "item")
@@ -15639,6 +15677,8 @@ module Aws::EC2
15639
15677
  VpcIpv6CidrBlockAssociation.add_member(:ipv_6_cidr_block_state, Shapes::ShapeRef.new(shape: VpcCidrBlockState, location_name: "ipv6CidrBlockState"))
15640
15678
  VpcIpv6CidrBlockAssociation.add_member(:network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "networkBorderGroup"))
15641
15679
  VpcIpv6CidrBlockAssociation.add_member(:ipv_6_pool, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Pool"))
15680
+ VpcIpv6CidrBlockAssociation.add_member(:ipv_6_address_attribute, Shapes::ShapeRef.new(shape: Ipv6AddressAttribute, location_name: "ipv6AddressAttribute"))
15681
+ VpcIpv6CidrBlockAssociation.add_member(:ip_source, Shapes::ShapeRef.new(shape: IpSource, location_name: "ipSource"))
15642
15682
  VpcIpv6CidrBlockAssociation.struct_class = Types::VpcIpv6CidrBlockAssociation
15643
15683
 
15644
15684
  VpcIpv6CidrBlockAssociationSet.member = Shapes::ShapeRef.new(shape: VpcIpv6CidrBlockAssociation, location_name: "item")
@@ -16259,6 +16299,14 @@ module Aws::EC2
16259
16299
  o.output = Shapes::ShapeRef.new(shape: CreateCapacityReservationResult)
16260
16300
  end)
16261
16301
 
16302
+ api.add_operation(:create_capacity_reservation_by_splitting, Seahorse::Model::Operation.new.tap do |o|
16303
+ o.name = "CreateCapacityReservationBySplitting"
16304
+ o.http_method = "POST"
16305
+ o.http_request_uri = "/"
16306
+ o.input = Shapes::ShapeRef.new(shape: CreateCapacityReservationBySplittingRequest)
16307
+ o.output = Shapes::ShapeRef.new(shape: CreateCapacityReservationBySplittingResult)
16308
+ end)
16309
+
16262
16310
  api.add_operation(:create_capacity_reservation_fleet, Seahorse::Model::Operation.new.tap do |o|
16263
16311
  o.name = "CreateCapacityReservationFleet"
16264
16312
  o.http_method = "POST"
@@ -21102,6 +21150,14 @@ module Aws::EC2
21102
21150
  o.output = Shapes::ShapeRef.new(shape: MoveByoipCidrToIpamResult)
21103
21151
  end)
21104
21152
 
21153
+ api.add_operation(:move_capacity_reservation_instances, Seahorse::Model::Operation.new.tap do |o|
21154
+ o.name = "MoveCapacityReservationInstances"
21155
+ o.http_method = "POST"
21156
+ o.http_request_uri = "/"
21157
+ o.input = Shapes::ShapeRef.new(shape: MoveCapacityReservationInstancesRequest)
21158
+ o.output = Shapes::ShapeRef.new(shape: MoveCapacityReservationInstancesResult)
21159
+ end)
21160
+
21105
21161
  api.add_operation(:provision_byoip_cidr, Seahorse::Model::Operation.new.tap do |o|
21106
21162
  o.name = "ProvisionByoipCidr"
21107
21163
  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
@@ -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 Service (for example, 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 Service specified in a route in the table.
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.
@@ -48,7 +48,7 @@ module Aws::EC2
48
48
  data[:destination_ipv_6_cidr_block]
49
49
  end
50
50
 
51
- # The prefix of the Amazon Web Service.
51
+ # The prefix of the Amazon Web Services service.
52
52
  # @return [String]
53
53
  def destination_prefix_list_id
54
54
  data[:destination_prefix_list_id]
@@ -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 Service (for example, 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