aws-sdk-ec2 1.219.0 → 1.224.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +496 -131
- data/lib/aws-sdk-ec2/client_api.rb +94 -0
- data/lib/aws-sdk-ec2/instance.rb +8 -6
- data/lib/aws-sdk-ec2/resource.rb +51 -17
- data/lib/aws-sdk-ec2/snapshot.rb +26 -0
- data/lib/aws-sdk-ec2/subnet.rb +11 -12
- data/lib/aws-sdk-ec2/types.rb +498 -109
- data/lib/aws-sdk-ec2/volume.rb +22 -0
- metadata +4 -4
@@ -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
|
@@ -2317,6 +2337,7 @@ module Aws::EC2
|
|
2317
2337
|
AllocateAddressRequest.add_member(:network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "NetworkBorderGroup"))
|
2318
2338
|
AllocateAddressRequest.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "CustomerOwnedIpv4Pool"))
|
2319
2339
|
AllocateAddressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
2340
|
+
AllocateAddressRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
2320
2341
|
AllocateAddressRequest.struct_class = Types::AllocateAddressRequest
|
2321
2342
|
|
2322
2343
|
AllocateAddressResult.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
|
@@ -2344,6 +2365,8 @@ module Aws::EC2
|
|
2344
2365
|
|
2345
2366
|
AllocationIdList.member = Shapes::ShapeRef.new(shape: AllocationId, location_name: "AllocationId")
|
2346
2367
|
|
2368
|
+
AllocationIds.member = Shapes::ShapeRef.new(shape: AllocationId, location_name: "item")
|
2369
|
+
|
2347
2370
|
AllowedPrincipal.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "principalType"))
|
2348
2371
|
AllowedPrincipal.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "principal"))
|
2349
2372
|
AllowedPrincipal.struct_class = Types::AllowedPrincipal
|
@@ -2813,6 +2836,7 @@ module Aws::EC2
|
|
2813
2836
|
CapacityReservation.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsOptimized"))
|
2814
2837
|
CapacityReservation.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: Boolean, location_name: "ephemeralStorage"))
|
2815
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"))
|
2816
2840
|
CapacityReservation.add_member(:end_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "endDate"))
|
2817
2841
|
CapacityReservation.add_member(:end_date_type, Shapes::ShapeRef.new(shape: EndDateType, location_name: "endDateType"))
|
2818
2842
|
CapacityReservation.add_member(:instance_match_criteria, Shapes::ShapeRef.new(shape: InstanceMatchCriteria, location_name: "instanceMatchCriteria"))
|
@@ -3091,6 +3115,7 @@ module Aws::EC2
|
|
3091
3115
|
CopyImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
3092
3116
|
CopyImageRequest.add_member(:source_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceImageId"))
|
3093
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"))
|
3094
3119
|
CopyImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3095
3120
|
CopyImageRequest.struct_class = Types::CopyImageRequest
|
3096
3121
|
|
@@ -3098,6 +3123,7 @@ module Aws::EC2
|
|
3098
3123
|
CopyImageResult.struct_class = Types::CopyImageResult
|
3099
3124
|
|
3100
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"))
|
3101
3127
|
CopySnapshotRequest.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "destinationRegion"))
|
3102
3128
|
CopySnapshotRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
3103
3129
|
CopySnapshotRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
@@ -3515,6 +3541,7 @@ module Aws::EC2
|
|
3515
3541
|
CreateSecurityGroupResult.struct_class = Types::CreateSecurityGroupResult
|
3516
3542
|
|
3517
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"))
|
3518
3545
|
CreateSnapshotRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "VolumeId"))
|
3519
3546
|
CreateSnapshotRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3520
3547
|
CreateSnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
@@ -3522,6 +3549,7 @@ module Aws::EC2
|
|
3522
3549
|
|
3523
3550
|
CreateSnapshotsRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
3524
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"))
|
3525
3553
|
CreateSnapshotsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3526
3554
|
CreateSnapshotsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3527
3555
|
CreateSnapshotsRequest.add_member(:copy_tags_from_source, Shapes::ShapeRef.new(shape: CopyTagsFromSource, location_name: "CopyTagsFromSource"))
|
@@ -4273,6 +4301,17 @@ module Aws::EC2
|
|
4273
4301
|
DescribeAccountAttributesResult.add_member(:account_attributes, Shapes::ShapeRef.new(shape: AccountAttributeList, location_name: "accountAttributeSet"))
|
4274
4302
|
DescribeAccountAttributesResult.struct_class = Types::DescribeAccountAttributesResult
|
4275
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
|
+
|
4276
4315
|
DescribeAddressesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
4277
4316
|
DescribeAddressesRequest.add_member(:public_ips, Shapes::ShapeRef.new(shape: PublicIpStringList, location_name: "PublicIp"))
|
4278
4317
|
DescribeAddressesRequest.add_member(:allocation_ids, Shapes::ShapeRef.new(shape: AllocationIdList, location_name: "AllocationId"))
|
@@ -5787,6 +5826,7 @@ module Aws::EC2
|
|
5787
5826
|
EbsBlockDevice.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "volumeType"))
|
5788
5827
|
EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
5789
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"))
|
5790
5830
|
EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
5791
5831
|
EbsBlockDevice.struct_class = Types::EbsBlockDevice
|
5792
5832
|
|
@@ -7696,6 +7736,14 @@ module Aws::EC2
|
|
7696
7736
|
MemoryInfo.add_member(:size_in_mi_b, Shapes::ShapeRef.new(shape: MemorySize, location_name: "sizeInMiB"))
|
7697
7737
|
MemoryInfo.struct_class = Types::MemoryInfo
|
7698
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
|
+
|
7699
7747
|
ModifyAvailabilityZoneGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GroupName"))
|
7700
7748
|
ModifyAvailabilityZoneGroupRequest.add_member(:opt_in_status, Shapes::ShapeRef.new(shape: ModifyAvailabilityZoneOptInStatus, required: true, location_name: "OptInStatus"))
|
7701
7749
|
ModifyAvailabilityZoneGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -7708,6 +7756,7 @@ module Aws::EC2
|
|
7708
7756
|
ModifyCapacityReservationRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstanceCount"))
|
7709
7757
|
ModifyCapacityReservationRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndDate"))
|
7710
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"))
|
7711
7760
|
ModifyCapacityReservationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7712
7761
|
ModifyCapacityReservationRequest.struct_class = Types::ModifyCapacityReservationRequest
|
7713
7762
|
|
@@ -8663,6 +8712,11 @@ module Aws::EC2
|
|
8663
8712
|
ProvisionedBandwidth.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
8664
8713
|
ProvisionedBandwidth.struct_class = Types::ProvisionedBandwidth
|
8665
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
|
+
|
8666
8720
|
PublicIpStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "PublicIp")
|
8667
8721
|
|
8668
8722
|
PublicIpv4Pool.add_member(:pool_id, Shapes::ShapeRef.new(shape: String, location_name: "poolId"))
|
@@ -9138,6 +9192,14 @@ module Aws::EC2
|
|
9138
9192
|
|
9139
9193
|
ReservedIntancesIds.member = Shapes::ShapeRef.new(shape: ReservedInstancesId, location_name: "item")
|
9140
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
|
+
|
9141
9203
|
ResetEbsDefaultKmsKeyIdRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
9142
9204
|
ResetEbsDefaultKmsKeyIdRequest.struct_class = Types::ResetEbsDefaultKmsKeyIdRequest
|
9143
9205
|
|
@@ -9625,6 +9687,7 @@ module Aws::EC2
|
|
9625
9687
|
Snapshot.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
|
9626
9688
|
Snapshot.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeSize"))
|
9627
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"))
|
9628
9691
|
Snapshot.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
9629
9692
|
Snapshot.struct_class = Types::Snapshot
|
9630
9693
|
|
@@ -9660,6 +9723,7 @@ module Aws::EC2
|
|
9660
9723
|
SnapshotInfo.add_member(:progress, Shapes::ShapeRef.new(shape: String, location_name: "progress"))
|
9661
9724
|
SnapshotInfo.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
9662
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"))
|
9663
9727
|
SnapshotInfo.struct_class = Types::SnapshotInfo
|
9664
9728
|
|
9665
9729
|
SnapshotList.member = Shapes::ShapeRef.new(shape: Snapshot, location_name: "item")
|
@@ -12180,6 +12244,20 @@ module Aws::EC2
|
|
12180
12244
|
o.output = Shapes::ShapeRef.new(shape: DescribeAddressesResult)
|
12181
12245
|
end)
|
12182
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
|
+
|
12183
12261
|
api.add_operation(:describe_aggregate_id_format, Seahorse::Model::Operation.new.tap do |o|
|
12184
12262
|
o.name = "DescribeAggregateIdFormat"
|
12185
12263
|
o.http_method = "POST"
|
@@ -14137,6 +14215,14 @@ module Aws::EC2
|
|
14137
14215
|
o.output = Shapes::ShapeRef.new(shape: ImportVolumeResult)
|
14138
14216
|
end)
|
14139
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
|
+
|
14140
14226
|
api.add_operation(:modify_availability_zone_group, Seahorse::Model::Operation.new.tap do |o|
|
14141
14227
|
o.name = "ModifyAvailabilityZoneGroup"
|
14142
14228
|
o.http_method = "POST"
|
@@ -14697,6 +14783,14 @@ module Aws::EC2
|
|
14697
14783
|
o.output = Shapes::ShapeRef.new(shape: RequestSpotInstancesResult)
|
14698
14784
|
end)
|
14699
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
|
+
|
14700
14794
|
api.add_operation(:reset_ebs_default_kms_key_id, Seahorse::Model::Operation.new.tap do |o|
|
14701
14795
|
o.name = "ResetEbsDefaultKmsKeyId"
|
14702
14796
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -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
|
-
#
|
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
|
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]
|
982
|
-
# valid, the error returned is
|
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
|
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
|
1802
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
1801
1803
|
#
|
1802
1804
|
# Default: `false`
|
1803
1805
|
#
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -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
|
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
|
276
|
-
#
|
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
|
332
|
-
#
|
332
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
333
|
+
# Guide*.
|
333
334
|
#
|
334
335
|
#
|
335
336
|
#
|
@@ -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 [
|
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
|
-
#
|
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
|
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
|
506
|
-
#
|
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,17 @@ 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 create an AMI on an Outpost, then all backing snapshots must be
|
1567
|
+
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
1568
|
+
# Outpost that include local snapshots can be used to launch instances
|
1569
|
+
# on the same Outpost only. For more information, [ Amazon EBS local
|
1570
|
+
# snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
|
1571
|
+
# Guide*.
|
1572
|
+
#
|
1573
|
+
#
|
1574
|
+
#
|
1575
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
1543
1576
|
# @option options [String] :description
|
1544
1577
|
# A description for your AMI.
|
1545
1578
|
# @option options [Boolean] :dry_run
|
@@ -1818,13 +1851,14 @@ module Aws::EC2
|
|
1818
1851
|
#
|
1819
1852
|
# * `name` - The name of the AMI (provided during image creation).
|
1820
1853
|
#
|
1821
|
-
# * `owner-alias` - The owner alias
|
1822
|
-
#
|
1823
|
-
# account alias set using the IAM console. We
|
1824
|
-
# the
|
1854
|
+
# * `owner-alias` - The owner alias (`amazon` \| `aws-marketplace`). The
|
1855
|
+
# valid aliases are defined in an Amazon-maintained list. This is not
|
1856
|
+
# the AWS account alias that can be set using the IAM console. We
|
1857
|
+
# recommend that you use the **Owner** request parameter instead of
|
1858
|
+
# this filter.
|
1825
1859
|
#
|
1826
1860
|
# * `owner-id` - The AWS account ID of the owner. We recommend that you
|
1827
|
-
# use the
|
1861
|
+
# use the **Owner** request parameter instead of this filter.
|
1828
1862
|
#
|
1829
1863
|
# * `platform` - The platform. To only list Windows-based AMIs, use
|
1830
1864
|
# `windows`.
|