aws-sdk-ec2 1.220.0 → 1.225.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,7 +37,11 @@ module Aws::EC2
37
37
  AddPrefixListEntries = Shapes::ListShape.new(name: 'AddPrefixListEntries')
38
38
  AddPrefixListEntry = Shapes::StructureShape.new(name: 'AddPrefixListEntry')
39
39
  Address = Shapes::StructureShape.new(name: 'Address')
40
+ AddressAttribute = Shapes::StructureShape.new(name: 'AddressAttribute')
41
+ AddressAttributeName = Shapes::StringShape.new(name: 'AddressAttributeName')
40
42
  AddressList = Shapes::ListShape.new(name: 'AddressList')
43
+ AddressMaxResults = Shapes::IntegerShape.new(name: 'AddressMaxResults')
44
+ AddressSet = Shapes::ListShape.new(name: 'AddressSet')
41
45
  AdvertiseByoipCidrRequest = Shapes::StructureShape.new(name: 'AdvertiseByoipCidrRequest')
42
46
  AdvertiseByoipCidrResult = Shapes::StructureShape.new(name: 'AdvertiseByoipCidrResult')
43
47
  Affinity = Shapes::StringShape.new(name: 'Affinity')
@@ -47,6 +51,7 @@ module Aws::EC2
47
51
  AllocateHostsResult = Shapes::StructureShape.new(name: 'AllocateHostsResult')
48
52
  AllocationId = Shapes::StringShape.new(name: 'AllocationId')
49
53
  AllocationIdList = Shapes::ListShape.new(name: 'AllocationIdList')
54
+ AllocationIds = Shapes::ListShape.new(name: 'AllocationIds')
50
55
  AllocationState = Shapes::StringShape.new(name: 'AllocationState')
51
56
  AllocationStrategy = Shapes::StringShape.new(name: 'AllocationStrategy')
52
57
  AllowedPrincipal = Shapes::StructureShape.new(name: 'AllowedPrincipal')
@@ -531,6 +536,8 @@ module Aws::EC2
531
536
  DeregisterTransitGatewayMulticastGroupSourcesResult = Shapes::StructureShape.new(name: 'DeregisterTransitGatewayMulticastGroupSourcesResult')
532
537
  DescribeAccountAttributesRequest = Shapes::StructureShape.new(name: 'DescribeAccountAttributesRequest')
533
538
  DescribeAccountAttributesResult = Shapes::StructureShape.new(name: 'DescribeAccountAttributesResult')
539
+ DescribeAddressesAttributeRequest = Shapes::StructureShape.new(name: 'DescribeAddressesAttributeRequest')
540
+ DescribeAddressesAttributeResult = Shapes::StructureShape.new(name: 'DescribeAddressesAttributeResult')
534
541
  DescribeAddressesRequest = Shapes::StructureShape.new(name: 'DescribeAddressesRequest')
535
542
  DescribeAddressesResult = Shapes::StructureShape.new(name: 'DescribeAddressesResult')
536
543
  DescribeAggregateIdFormatRequest = Shapes::StructureShape.new(name: 'DescribeAggregateIdFormatRequest')
@@ -1404,6 +1411,8 @@ module Aws::EC2
1404
1411
  MemoryInfo = Shapes::StructureShape.new(name: 'MemoryInfo')
1405
1412
  MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
1406
1413
  MillisecondDateTime = Shapes::TimestampShape.new(name: 'MillisecondDateTime')
1414
+ ModifyAddressAttributeRequest = Shapes::StructureShape.new(name: 'ModifyAddressAttributeRequest')
1415
+ ModifyAddressAttributeResult = Shapes::StructureShape.new(name: 'ModifyAddressAttributeResult')
1407
1416
  ModifyAvailabilityZoneGroupRequest = Shapes::StructureShape.new(name: 'ModifyAvailabilityZoneGroupRequest')
1408
1417
  ModifyAvailabilityZoneGroupResult = Shapes::StructureShape.new(name: 'ModifyAvailabilityZoneGroupResult')
1409
1418
  ModifyAvailabilityZoneOptInStatus = Shapes::StringShape.new(name: 'ModifyAvailabilityZoneOptInStatus')
@@ -1656,6 +1665,7 @@ module Aws::EC2
1656
1665
  ProvisionByoipCidrRequest = Shapes::StructureShape.new(name: 'ProvisionByoipCidrRequest')
1657
1666
  ProvisionByoipCidrResult = Shapes::StructureShape.new(name: 'ProvisionByoipCidrResult')
1658
1667
  ProvisionedBandwidth = Shapes::StructureShape.new(name: 'ProvisionedBandwidth')
1668
+ PtrUpdateStatus = Shapes::StructureShape.new(name: 'PtrUpdateStatus')
1659
1669
  PublicIpAddress = Shapes::StringShape.new(name: 'PublicIpAddress')
1660
1670
  PublicIpStringList = Shapes::ListShape.new(name: 'PublicIpStringList')
1661
1671
  PublicIpv4Pool = Shapes::StructureShape.new(name: 'PublicIpv4Pool')
@@ -1763,6 +1773,8 @@ module Aws::EC2
1763
1773
  ReservedInstancesOfferingIdStringList = Shapes::ListShape.new(name: 'ReservedInstancesOfferingIdStringList')
1764
1774
  ReservedInstancesOfferingList = Shapes::ListShape.new(name: 'ReservedInstancesOfferingList')
1765
1775
  ReservedIntancesIds = Shapes::ListShape.new(name: 'ReservedIntancesIds')
1776
+ ResetAddressAttributeRequest = Shapes::StructureShape.new(name: 'ResetAddressAttributeRequest')
1777
+ ResetAddressAttributeResult = Shapes::StructureShape.new(name: 'ResetAddressAttributeResult')
1766
1778
  ResetEbsDefaultKmsKeyIdRequest = Shapes::StructureShape.new(name: 'ResetEbsDefaultKmsKeyIdRequest')
1767
1779
  ResetEbsDefaultKmsKeyIdResult = Shapes::StructureShape.new(name: 'ResetEbsDefaultKmsKeyIdResult')
1768
1780
  ResetFpgaImageAttributeName = Shapes::StringShape.new(name: 'ResetFpgaImageAttributeName')
@@ -2302,8 +2314,16 @@ module Aws::EC2
2302
2314
  Address.add_member(:carrier_ip, Shapes::ShapeRef.new(shape: String, location_name: "carrierIp"))
2303
2315
  Address.struct_class = Types::Address
2304
2316
 
2317
+ AddressAttribute.add_member(:public_ip, Shapes::ShapeRef.new(shape: PublicIpAddress, location_name: "publicIp"))
2318
+ AddressAttribute.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, location_name: "allocationId"))
2319
+ AddressAttribute.add_member(:ptr_record, Shapes::ShapeRef.new(shape: String, location_name: "ptrRecord"))
2320
+ AddressAttribute.add_member(:ptr_record_update, Shapes::ShapeRef.new(shape: PtrUpdateStatus, location_name: "ptrRecordUpdate"))
2321
+ AddressAttribute.struct_class = Types::AddressAttribute
2322
+
2305
2323
  AddressList.member = Shapes::ShapeRef.new(shape: Address, location_name: "item")
2306
2324
 
2325
+ AddressSet.member = Shapes::ShapeRef.new(shape: AddressAttribute, location_name: "item")
2326
+
2307
2327
  AdvertiseByoipCidrRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Cidr"))
2308
2328
  AdvertiseByoipCidrRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
2309
2329
  AdvertiseByoipCidrRequest.struct_class = Types::AdvertiseByoipCidrRequest
@@ -2345,6 +2365,8 @@ module Aws::EC2
2345
2365
 
2346
2366
  AllocationIdList.member = Shapes::ShapeRef.new(shape: AllocationId, location_name: "AllocationId")
2347
2367
 
2368
+ AllocationIds.member = Shapes::ShapeRef.new(shape: AllocationId, location_name: "item")
2369
+
2348
2370
  AllowedPrincipal.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "principalType"))
2349
2371
  AllowedPrincipal.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "principal"))
2350
2372
  AllowedPrincipal.struct_class = Types::AllowedPrincipal
@@ -2814,6 +2836,7 @@ module Aws::EC2
2814
2836
  CapacityReservation.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsOptimized"))
2815
2837
  CapacityReservation.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: Boolean, location_name: "ephemeralStorage"))
2816
2838
  CapacityReservation.add_member(:state, Shapes::ShapeRef.new(shape: CapacityReservationState, location_name: "state"))
2839
+ CapacityReservation.add_member(:start_date, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "startDate"))
2817
2840
  CapacityReservation.add_member(:end_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "endDate"))
2818
2841
  CapacityReservation.add_member(:end_date_type, Shapes::ShapeRef.new(shape: EndDateType, location_name: "endDateType"))
2819
2842
  CapacityReservation.add_member(:instance_match_criteria, Shapes::ShapeRef.new(shape: InstanceMatchCriteria, location_name: "instanceMatchCriteria"))
@@ -3092,6 +3115,7 @@ module Aws::EC2
3092
3115
  CopyImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
3093
3116
  CopyImageRequest.add_member(:source_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceImageId"))
3094
3117
  CopyImageRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceRegion"))
3118
+ CopyImageRequest.add_member(:destination_outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationOutpostArn"))
3095
3119
  CopyImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
3096
3120
  CopyImageRequest.struct_class = Types::CopyImageRequest
3097
3121
 
@@ -3099,6 +3123,7 @@ module Aws::EC2
3099
3123
  CopyImageResult.struct_class = Types::CopyImageResult
3100
3124
 
3101
3125
  CopySnapshotRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
3126
+ CopySnapshotRequest.add_member(:destination_outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationOutpostArn"))
3102
3127
  CopySnapshotRequest.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "destinationRegion"))
3103
3128
  CopySnapshotRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
3104
3129
  CopySnapshotRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
@@ -3516,6 +3541,7 @@ module Aws::EC2
3516
3541
  CreateSecurityGroupResult.struct_class = Types::CreateSecurityGroupResult
3517
3542
 
3518
3543
  CreateSnapshotRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
3544
+ CreateSnapshotRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
3519
3545
  CreateSnapshotRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "VolumeId"))
3520
3546
  CreateSnapshotRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3521
3547
  CreateSnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
@@ -3523,6 +3549,7 @@ module Aws::EC2
3523
3549
 
3524
3550
  CreateSnapshotsRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
3525
3551
  CreateSnapshotsRequest.add_member(:instance_specification, Shapes::ShapeRef.new(shape: InstanceSpecification, required: true, location_name: "InstanceSpecification"))
3552
+ CreateSnapshotsRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
3526
3553
  CreateSnapshotsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3527
3554
  CreateSnapshotsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3528
3555
  CreateSnapshotsRequest.add_member(:copy_tags_from_source, Shapes::ShapeRef.new(shape: CopyTagsFromSource, location_name: "CopyTagsFromSource"))
@@ -4274,6 +4301,17 @@ module Aws::EC2
4274
4301
  DescribeAccountAttributesResult.add_member(:account_attributes, Shapes::ShapeRef.new(shape: AccountAttributeList, location_name: "accountAttributeSet"))
4275
4302
  DescribeAccountAttributesResult.struct_class = Types::DescribeAccountAttributesResult
4276
4303
 
4304
+ DescribeAddressesAttributeRequest.add_member(:allocation_ids, Shapes::ShapeRef.new(shape: AllocationIds, location_name: "AllocationId"))
4305
+ DescribeAddressesAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: AddressAttributeName, location_name: "Attribute"))
4306
+ DescribeAddressesAttributeRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
4307
+ DescribeAddressesAttributeRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: AddressMaxResults, location_name: "MaxResults"))
4308
+ DescribeAddressesAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4309
+ DescribeAddressesAttributeRequest.struct_class = Types::DescribeAddressesAttributeRequest
4310
+
4311
+ DescribeAddressesAttributeResult.add_member(:addresses, Shapes::ShapeRef.new(shape: AddressSet, location_name: "addressSet"))
4312
+ DescribeAddressesAttributeResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
4313
+ DescribeAddressesAttributeResult.struct_class = Types::DescribeAddressesAttributeResult
4314
+
4277
4315
  DescribeAddressesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
4278
4316
  DescribeAddressesRequest.add_member(:public_ips, Shapes::ShapeRef.new(shape: PublicIpStringList, location_name: "PublicIp"))
4279
4317
  DescribeAddressesRequest.add_member(:allocation_ids, Shapes::ShapeRef.new(shape: AllocationIdList, location_name: "AllocationId"))
@@ -5788,6 +5826,7 @@ module Aws::EC2
5788
5826
  EbsBlockDevice.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "volumeType"))
5789
5827
  EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
5790
5828
  EbsBlockDevice.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
5829
+ EbsBlockDevice.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
5791
5830
  EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
5792
5831
  EbsBlockDevice.struct_class = Types::EbsBlockDevice
5793
5832
 
@@ -7697,6 +7736,14 @@ module Aws::EC2
7697
7736
  MemoryInfo.add_member(:size_in_mi_b, Shapes::ShapeRef.new(shape: MemorySize, location_name: "sizeInMiB"))
7698
7737
  MemoryInfo.struct_class = Types::MemoryInfo
7699
7738
 
7739
+ ModifyAddressAttributeRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
7740
+ ModifyAddressAttributeRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainName"))
7741
+ ModifyAddressAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
7742
+ ModifyAddressAttributeRequest.struct_class = Types::ModifyAddressAttributeRequest
7743
+
7744
+ ModifyAddressAttributeResult.add_member(:address, Shapes::ShapeRef.new(shape: AddressAttribute, location_name: "address"))
7745
+ ModifyAddressAttributeResult.struct_class = Types::ModifyAddressAttributeResult
7746
+
7700
7747
  ModifyAvailabilityZoneGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GroupName"))
7701
7748
  ModifyAvailabilityZoneGroupRequest.add_member(:opt_in_status, Shapes::ShapeRef.new(shape: ModifyAvailabilityZoneOptInStatus, required: true, location_name: "OptInStatus"))
7702
7749
  ModifyAvailabilityZoneGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
@@ -7709,6 +7756,7 @@ module Aws::EC2
7709
7756
  ModifyCapacityReservationRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstanceCount"))
7710
7757
  ModifyCapacityReservationRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndDate"))
7711
7758
  ModifyCapacityReservationRequest.add_member(:end_date_type, Shapes::ShapeRef.new(shape: EndDateType, location_name: "EndDateType"))
7759
+ ModifyCapacityReservationRequest.add_member(:accept, Shapes::ShapeRef.new(shape: Boolean, location_name: "Accept"))
7712
7760
  ModifyCapacityReservationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
7713
7761
  ModifyCapacityReservationRequest.struct_class = Types::ModifyCapacityReservationRequest
7714
7762
 
@@ -8664,6 +8712,11 @@ module Aws::EC2
8664
8712
  ProvisionedBandwidth.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
8665
8713
  ProvisionedBandwidth.struct_class = Types::ProvisionedBandwidth
8666
8714
 
8715
+ PtrUpdateStatus.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
8716
+ PtrUpdateStatus.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
8717
+ PtrUpdateStatus.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
8718
+ PtrUpdateStatus.struct_class = Types::PtrUpdateStatus
8719
+
8667
8720
  PublicIpStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "PublicIp")
8668
8721
 
8669
8722
  PublicIpv4Pool.add_member(:pool_id, Shapes::ShapeRef.new(shape: String, location_name: "poolId"))
@@ -9139,6 +9192,14 @@ module Aws::EC2
9139
9192
 
9140
9193
  ReservedIntancesIds.member = Shapes::ShapeRef.new(shape: ReservedInstancesId, location_name: "item")
9141
9194
 
9195
+ ResetAddressAttributeRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
9196
+ ResetAddressAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: AddressAttributeName, required: true, location_name: "Attribute"))
9197
+ ResetAddressAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
9198
+ ResetAddressAttributeRequest.struct_class = Types::ResetAddressAttributeRequest
9199
+
9200
+ ResetAddressAttributeResult.add_member(:address, Shapes::ShapeRef.new(shape: AddressAttribute, location_name: "address"))
9201
+ ResetAddressAttributeResult.struct_class = Types::ResetAddressAttributeResult
9202
+
9142
9203
  ResetEbsDefaultKmsKeyIdRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
9143
9204
  ResetEbsDefaultKmsKeyIdRequest.struct_class = Types::ResetEbsDefaultKmsKeyIdRequest
9144
9205
 
@@ -9626,6 +9687,7 @@ module Aws::EC2
9626
9687
  Snapshot.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
9627
9688
  Snapshot.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeSize"))
9628
9689
  Snapshot.add_member(:owner_alias, Shapes::ShapeRef.new(shape: String, location_name: "ownerAlias"))
9690
+ Snapshot.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
9629
9691
  Snapshot.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
9630
9692
  Snapshot.struct_class = Types::Snapshot
9631
9693
 
@@ -9661,6 +9723,7 @@ module Aws::EC2
9661
9723
  SnapshotInfo.add_member(:progress, Shapes::ShapeRef.new(shape: String, location_name: "progress"))
9662
9724
  SnapshotInfo.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
9663
9725
  SnapshotInfo.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
9726
+ SnapshotInfo.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
9664
9727
  SnapshotInfo.struct_class = Types::SnapshotInfo
9665
9728
 
9666
9729
  SnapshotList.member = Shapes::ShapeRef.new(shape: Snapshot, location_name: "item")
@@ -9933,7 +9996,7 @@ module Aws::EC2
9933
9996
 
9934
9997
  SubnetIdStringList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId")
9935
9998
 
9936
- SubnetIpv6CidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: String, location_name: "associationId"))
9999
+ SubnetIpv6CidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: SubnetCidrAssociationId, location_name: "associationId"))
9937
10000
  SubnetIpv6CidrBlockAssociation.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "ipv6CidrBlock"))
9938
10001
  SubnetIpv6CidrBlockAssociation.add_member(:ipv_6_cidr_block_state, Shapes::ShapeRef.new(shape: SubnetCidrBlockState, location_name: "ipv6CidrBlockState"))
9939
10002
  SubnetIpv6CidrBlockAssociation.struct_class = Types::SubnetIpv6CidrBlockAssociation
@@ -12181,6 +12244,20 @@ module Aws::EC2
12181
12244
  o.output = Shapes::ShapeRef.new(shape: DescribeAddressesResult)
12182
12245
  end)
12183
12246
 
12247
+ api.add_operation(:describe_addresses_attribute, Seahorse::Model::Operation.new.tap do |o|
12248
+ o.name = "DescribeAddressesAttribute"
12249
+ o.http_method = "POST"
12250
+ o.http_request_uri = "/"
12251
+ o.input = Shapes::ShapeRef.new(shape: DescribeAddressesAttributeRequest)
12252
+ o.output = Shapes::ShapeRef.new(shape: DescribeAddressesAttributeResult)
12253
+ o[:pager] = Aws::Pager.new(
12254
+ limit_key: "max_results",
12255
+ tokens: {
12256
+ "next_token" => "next_token"
12257
+ }
12258
+ )
12259
+ end)
12260
+
12184
12261
  api.add_operation(:describe_aggregate_id_format, Seahorse::Model::Operation.new.tap do |o|
12185
12262
  o.name = "DescribeAggregateIdFormat"
12186
12263
  o.http_method = "POST"
@@ -14138,6 +14215,14 @@ module Aws::EC2
14138
14215
  o.output = Shapes::ShapeRef.new(shape: ImportVolumeResult)
14139
14216
  end)
14140
14217
 
14218
+ api.add_operation(:modify_address_attribute, Seahorse::Model::Operation.new.tap do |o|
14219
+ o.name = "ModifyAddressAttribute"
14220
+ o.http_method = "POST"
14221
+ o.http_request_uri = "/"
14222
+ o.input = Shapes::ShapeRef.new(shape: ModifyAddressAttributeRequest)
14223
+ o.output = Shapes::ShapeRef.new(shape: ModifyAddressAttributeResult)
14224
+ end)
14225
+
14141
14226
  api.add_operation(:modify_availability_zone_group, Seahorse::Model::Operation.new.tap do |o|
14142
14227
  o.name = "ModifyAvailabilityZoneGroup"
14143
14228
  o.http_method = "POST"
@@ -14698,6 +14783,14 @@ module Aws::EC2
14698
14783
  o.output = Shapes::ShapeRef.new(shape: RequestSpotInstancesResult)
14699
14784
  end)
14700
14785
 
14786
+ api.add_operation(:reset_address_attribute, Seahorse::Model::Operation.new.tap do |o|
14787
+ o.name = "ResetAddressAttribute"
14788
+ o.http_method = "POST"
14789
+ o.http_request_uri = "/"
14790
+ o.input = Shapes::ShapeRef.new(shape: ResetAddressAttributeRequest)
14791
+ o.output = Shapes::ShapeRef.new(shape: ResetAddressAttributeResult)
14792
+ end)
14793
+
14701
14794
  api.add_operation(:reset_ebs_default_kms_key_id, Seahorse::Model::Operation.new.tap do |o|
14702
14795
  o.name = "ResetEbsDefaultKmsKeyId"
14703
14796
  o.http_method = "POST"
@@ -263,7 +263,7 @@ module Aws::EC2
263
263
  # the instance. A value of `true` means that checking is enabled, and
264
264
  # `false` means that checking is disabled. The value must be `false` for
265
265
  # the instance to perform NAT. For more information, see [NAT
266
- # Instances][1] in the *Amazon Virtual Private Cloud User Guide*.
266
+ # instances][1] in the *Amazon VPC User Guide*.
267
267
  #
268
268
  #
269
269
  #
@@ -654,6 +654,7 @@ module Aws::EC2
654
654
  # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
655
655
  # kms_key_id: "String",
656
656
  # throughput: 1,
657
+ # outpost_arn: "String",
657
658
  # encrypted: false,
658
659
  # },
659
660
  # no_device: "String",
@@ -942,7 +943,7 @@ module Aws::EC2
942
943
  # To add instance store volumes to an Amazon EBS-backed instance, you
943
944
  # must add them when you launch the instance. For more information, see
944
945
  # [Updating the block device mapping when launching an instance][1] in
945
- # the *Amazon Elastic Compute Cloud User Guide*.
946
+ # the *Amazon EC2 User Guide*.
946
947
  #
947
948
  #
948
949
  #
@@ -978,8 +979,9 @@ module Aws::EC2
978
979
  # system shutdown).
979
980
  # @option options [Types::AttributeValue] :instance_type
980
981
  # Changes the instance type to the specified value. For more
981
- # information, see [Instance types][1]. If the instance type is not
982
- # valid, the error returned is `InvalidInstanceAttributeValue`.
982
+ # information, see [Instance types][1] in the *Amazon EC2 User Guide*.
983
+ # If the instance type is not valid, the error returned is
984
+ # `InvalidInstanceAttributeValue`.
983
985
  #
984
986
  #
985
987
  #
@@ -1258,7 +1260,7 @@ module Aws::EC2
1258
1260
  # Hibernates the instance if the instance was enabled for hibernation at
1259
1261
  # launch. If the instance cannot hibernate successfully, a normal
1260
1262
  # shutdown occurs. For more information, see [Hibernate your
1261
- # instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
1263
+ # instance][1] in the *Amazon EC2 User Guide*.
1262
1264
  #
1263
1265
  # Default: `false`
1264
1266
  #
@@ -1797,7 +1799,7 @@ module Aws::EC2
1797
1799
  # Hibernates the instance if the instance was enabled for hibernation at
1798
1800
  # launch. If the instance cannot hibernate successfully, a normal
1799
1801
  # shutdown occurs. For more information, see [Hibernate your
1800
- # instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
1802
+ # instance][1] in the *Amazon EC2 User Guide*.
1801
1803
  #
1802
1804
  # Default: `false`
1803
1805
  #
@@ -107,8 +107,8 @@ module Aws::EC2
107
107
  data[:private_ip_addresses]
108
108
  end
109
109
 
110
- # The ID of the entity that launched the instance on your behalf (for
111
- # example, AWS Management Console or Auto Scaling).
110
+ # The alias or AWS account ID of the principal or service that created
111
+ # the network interface.
112
112
  # @return [String]
113
113
  def requester_id
114
114
  data[:requester_id]
@@ -92,6 +92,7 @@ module Aws::EC2
92
92
  # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
93
93
  # kms_key_id: "String",
94
94
  # throughput: 1,
95
+ # outpost_arn: "String",
95
96
  # encrypted: false,
96
97
  # },
97
98
  # no_device: "String",
@@ -242,7 +243,7 @@ module Aws::EC2
242
243
  # must be specified here or in a launch template.
243
244
  # @option options [String] :instance_type
244
245
  # The instance type. For more information, see [Instance types][1] in
245
- # the *Amazon Elastic Compute Cloud User Guide*.
246
+ # the *Amazon EC2 User Guide*.
246
247
  #
247
248
  # Default: `m1.small`
248
249
  #
@@ -272,8 +273,8 @@ module Aws::EC2
272
273
  # The ID of the kernel.
273
274
  #
274
275
  # We recommend that you use PV-GRUB instead of kernels and RAM disks.
275
- # For more information, see [ PV-GRUB][1] in the *Amazon Elastic Compute
276
- # Cloud User Guide*.
276
+ # For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
277
+ # Guide*.
277
278
  #
278
279
  #
279
280
  #
@@ -328,8 +329,8 @@ module Aws::EC2
328
329
  # go to the AWS Resource Center and search for the kernel ID.
329
330
  #
330
331
  # We recommend that you use PV-GRUB instead of kernels and RAM disks.
331
- # For more information, see [ PV-GRUB][1] in the *Amazon Elastic Compute
332
- # Cloud User Guide*.
332
+ # For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
333
+ # Guide*.
333
334
  #
334
335
  #
335
336
  #
@@ -412,7 +413,7 @@ module Aws::EC2
412
413
  #
413
414
  # Default: `false`
414
415
  # @option options [Types::IamInstanceProfileSpecification] :iam_instance_profile
415
- # The IAM instance profile.
416
+ # The name or Amazon Resource Name (ARN) of an IAM instance profile.
416
417
  # @option options [String] :instance_initiated_shutdown_behavior
417
418
  # Indicates whether an instance stops or terminates when you initiate
418
419
  # shutdown from the instance (using the operating system command for
@@ -439,8 +440,7 @@ module Aws::EC2
439
440
  # An elastic GPU to associate with the instance. An Elastic GPU is a GPU
440
441
  # resource that you can attach to your Windows instance to accelerate
441
442
  # the graphics performance of your applications. For more information,
442
- # see [ Amazon EC2 Elastic GPUs][1] in the *Amazon Elastic Compute Cloud
443
- # User Guide*.
443
+ # see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2 User Guide*.
444
444
  #
445
445
  #
446
446
  #
@@ -478,7 +478,7 @@ module Aws::EC2
478
478
  # Valid values are `standard` and `unlimited`. To change this attribute
479
479
  # after launch, use [ ModifyInstanceCreditSpecification][1]. For more
480
480
  # information, see [Burstable performance instances][2] in the *Amazon
481
- # Elastic Compute Cloud User Guide*.
481
+ # EC2 User Guide*.
482
482
  #
483
483
  # Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
484
484
  #
@@ -488,8 +488,7 @@ module Aws::EC2
488
488
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
489
489
  # @option options [Types::CpuOptionsRequest] :cpu_options
490
490
  # The CPU options for the instance. For more information, see
491
- # [Optimizing CPU options][1] in the *Amazon Elastic Compute Cloud User
492
- # Guide*.
491
+ # [Optimizing CPU options][1] in the *Amazon EC2 User Guide*.
493
492
  #
494
493
  #
495
494
  #
@@ -502,8 +501,8 @@ module Aws::EC2
502
501
  # platform, Availability Zone).
503
502
  # @option options [Types::HibernationOptionsRequest] :hibernation_options
504
503
  # Indicates whether an instance is enabled for hibernation. For more
505
- # information, see [Hibernate your instance][1] in the *Amazon Elastic
506
- # Compute Cloud User Guide*.
504
+ # information, see [Hibernate your instance][1] in the *Amazon EC2 User
505
+ # Guide*.
507
506
  #
508
507
  # You can't enable hibernation and AWS Nitro Enclaves on the same
509
508
  # instance.
@@ -950,6 +949,7 @@ module Aws::EC2
950
949
  #
951
950
  # snapshot = ec2.create_snapshot({
952
951
  # description: "String",
952
+ # outpost_arn: "String",
953
953
  # volume_id: "VolumeId", # required
954
954
  # tag_specifications: [
955
955
  # {
@@ -967,6 +967,27 @@ module Aws::EC2
967
967
  # @param [Hash] options ({})
968
968
  # @option options [String] :description
969
969
  # A description for the snapshot.
970
+ # @option options [String] :outpost_arn
971
+ # The Amazon Resource Name (ARN) of the AWS Outpost on which to create a
972
+ # local snapshot.
973
+ #
974
+ # * To create a snapshot of a volume in a Region, omit this parameter.
975
+ # The snapshot is created in the same Region as the volume.
976
+ #
977
+ # * To create a snapshot of a volume on an Outpost and store the
978
+ # snapshot in the Region, omit this parameter. The snapshot is created
979
+ # in the Region for the Outpost.
980
+ #
981
+ # * To create a snapshot of a volume on an Outpost and store the
982
+ # snapshot on an Outpost, specify the ARN of the destination Outpost.
983
+ # The snapshot must be created on the same Outpost as the volume.
984
+ #
985
+ # For more information, see [ Creating local snapshots from volumes on
986
+ # an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
987
+ #
988
+ #
989
+ #
990
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
970
991
  # @option options [required, String] :volume_id
971
992
  # The ID of the EBS volume.
972
993
  # @option options [Array<Types::TagSpecification>] :tag_specifications
@@ -1507,6 +1528,7 @@ module Aws::EC2
1507
1528
  # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
1508
1529
  # kms_key_id: "String",
1509
1530
  # throughput: 1,
1531
+ # outpost_arn: "String",
1510
1532
  # encrypted: false,
1511
1533
  # },
1512
1534
  # no_device: "String",
@@ -1540,6 +1562,20 @@ module Aws::EC2
1540
1562
  # AMIs, the architecture specified in the manifest file.
1541
1563
  # @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
1542
1564
  # The block device mapping entries.
1565
+ #
1566
+ # If you specify an EBS volume using the ID of an EBS snapshot, you
1567
+ # can't specify the encryption state of the volume.
1568
+ #
1569
+ # If you create an AMI on an Outpost, then all backing snapshots must be
1570
+ # on the same Outpost or in the Region of that Outpost. AMIs on an
1571
+ # Outpost that include local snapshots can be used to launch instances
1572
+ # on the same Outpost only. For more information, [ Amazon EBS local
1573
+ # snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
1574
+ # Guide*.
1575
+ #
1576
+ #
1577
+ #
1578
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
1543
1579
  # @option options [String] :description
1544
1580
  # A description for your AMI.
1545
1581
  # @option options [Boolean] :dry_run
@@ -1818,13 +1854,14 @@ module Aws::EC2
1818
1854
  #
1819
1855
  # * `name` - The name of the AMI (provided during image creation).
1820
1856
  #
1821
- # * `owner-alias` - The owner alias, from an Amazon-maintained list
1822
- # (`amazon` \| `aws-marketplace`). This is not the user-configured AWS
1823
- # account alias set using the IAM console. We recommend that you use
1824
- # the related parameter instead of this filter.
1857
+ # * `owner-alias` - The owner alias (`amazon` \| `aws-marketplace`). The
1858
+ # valid aliases are defined in an Amazon-maintained list. This is not
1859
+ # the AWS account alias that can be set using the IAM console. We
1860
+ # recommend that you use the **Owner** request parameter instead of
1861
+ # this filter.
1825
1862
  #
1826
1863
  # * `owner-id` - The AWS account ID of the owner. We recommend that you
1827
- # use the related parameter instead of this filter.
1864
+ # use the **Owner** request parameter instead of this filter.
1828
1865
  #
1829
1866
  # * `platform` - The platform. To only list Windows-based AMIs, use
1830
1867
  # `windows`.
@@ -2634,9 +2671,8 @@ module Aws::EC2
2634
2671
  # * `private-dns-name` - The private DNS name of the network interface
2635
2672
  # (IPv4).
2636
2673
  #
2637
- # * `requester-id` - The ID of the entity that launched the instance on
2638
- # your behalf (for example, AWS Management Console, Auto Scaling, and
2639
- # so on).
2674
+ # * `requester-id` - The alias or AWS account ID of the principal or
2675
+ # service that created the network interface.
2640
2676
  #
2641
2677
  # * `requester-managed` - Indicates whether the network interface is
2642
2678
  # being managed by an AWS service (for example, AWS Management
@@ -2934,7 +2970,7 @@ module Aws::EC2
2934
2970
  # has been referenced in an outbound security group rule.
2935
2971
  #
2936
2972
  # * `egress.ip-permission.group-name` - The name of a security group
2937
- # that has been referenced in an outbound security group rule.
2973
+ # that is referenced in an outbound security group rule.
2938
2974
  #
2939
2975
  # * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
2940
2976
  # outbound security group rule.
@@ -2943,7 +2979,8 @@ module Aws::EC2
2943
2979
  # which a security group rule allows outbound access.
2944
2980
  #
2945
2981
  # * `egress.ip-permission.protocol` - The IP protocol for an outbound
2946
- # security group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
2982
+ # security group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or
2983
+ # -1 for all protocols).
2947
2984
  #
2948
2985
  # * `egress.ip-permission.to-port` - For an outbound rule, the end of
2949
2986
  # port range for the TCP and UDP protocols, or an ICMP code.
@@ -2964,8 +3001,8 @@ module Aws::EC2
2964
3001
  # * `ip-permission.group-id` - The ID of a security group that has been
2965
3002
  # referenced in an inbound security group rule.
2966
3003
  #
2967
- # * `ip-permission.group-name` - The name of a security group that has
2968
- # been referenced in an inbound security group rule.
3004
+ # * `ip-permission.group-name` - The name of a security group that is
3005
+ # referenced in an inbound security group rule.
2969
3006
  #
2970
3007
  # * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
2971
3008
  # security group rule.
@@ -2974,7 +3011,8 @@ module Aws::EC2
2974
3011
  # a security group rule allows inbound access.
2975
3012
  #
2976
3013
  # * `ip-permission.protocol` - The IP protocol for an inbound security
2977
- # group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
3014
+ # group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or -1 for
3015
+ # all protocols).
2978
3016
  #
2979
3017
  # * `ip-permission.to-port` - For an inbound rule, the end of port range
2980
3018
  # for the TCP and UDP protocols, or an ICMP code.