aws-sdk-ec2 1.342.0 → 1.344.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +259 -7
- data/lib/aws-sdk-ec2/client_api.rb +98 -0
- data/lib/aws-sdk-ec2/endpoints.rb +56 -0
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-ec2/types.rb +306 -10
- data/lib/aws-sdk-ec2.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4607d6cd3dee5d845cfeedec1ab2e4c57a166ccf02920a29effe618076ed65d
|
|
4
|
+
data.tar.gz: 574a5240bc084bc98af10e17219eeb199251396ea519ecec8e9122c8a5f44436
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1dbf4ead34d9589345e3287bdd021bcb3666d4245c662bf488e4f6f77ac748f227142a7fe25d4da66a80cadb744d2e0f1636a464d5028e5508744ccc57a8e8ae
|
|
7
|
+
data.tar.gz: dd5af856ccdb1942a12ebd7262849e731494e4ca39cb391c9a3d5840d8fa1d0329009876444e4c4d59ded0c7d03645a152b099bbe30e2af00c0290c7f36d26cc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.344.0 (2022-10-31)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Elastic IP transfer is a new Amazon VPC feature that allows you to transfer your Elastic IP addresses from one AWS Account to another.
|
|
8
|
+
|
|
9
|
+
1.343.0 (2022-10-27)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Feature supports the replacement of instance root volume using an updated AMI without requiring customers to stop their instance.
|
|
13
|
+
|
|
4
14
|
1.342.0 (2022-10-25)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.344.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -372,6 +372,70 @@ module Aws::EC2
|
|
|
372
372
|
|
|
373
373
|
# @!group API Operations
|
|
374
374
|
|
|
375
|
+
# Accepts an Elastic IP address transfer. For more information, see
|
|
376
|
+
# [Accept a transferred Elastic IP address][1] in the *Amazon Virtual
|
|
377
|
+
# Private Cloud User Guide*.
|
|
378
|
+
#
|
|
379
|
+
#
|
|
380
|
+
#
|
|
381
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#using-instance-addressing-eips-transfer-accept
|
|
382
|
+
#
|
|
383
|
+
# @option params [required, String] :address
|
|
384
|
+
# The Elastic IP address you are accepting for transfer.
|
|
385
|
+
#
|
|
386
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
|
387
|
+
# `tag`\:<key> - The key/value combination of a tag assigned to
|
|
388
|
+
# the resource. Use the tag key in the filter name and the tag value as
|
|
389
|
+
# the filter value. For example, to find all resources that have a tag
|
|
390
|
+
# with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
|
|
391
|
+
# the filter name and `TeamA` for the filter value.
|
|
392
|
+
#
|
|
393
|
+
# @option params [Boolean] :dry_run
|
|
394
|
+
# Checks whether you have the required permissions for the action,
|
|
395
|
+
# without actually making the request, and provides an error response.
|
|
396
|
+
# If you have the required permissions, the error response is
|
|
397
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
398
|
+
#
|
|
399
|
+
# @return [Types::AcceptAddressTransferResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
400
|
+
#
|
|
401
|
+
# * {Types::AcceptAddressTransferResult#address_transfer #address_transfer} => Types::AddressTransfer
|
|
402
|
+
#
|
|
403
|
+
# @example Request syntax with placeholder values
|
|
404
|
+
#
|
|
405
|
+
# resp = client.accept_address_transfer({
|
|
406
|
+
# address: "String", # required
|
|
407
|
+
# tag_specifications: [
|
|
408
|
+
# {
|
|
409
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, vpn-connection-device-type
|
|
410
|
+
# tags: [
|
|
411
|
+
# {
|
|
412
|
+
# key: "String",
|
|
413
|
+
# value: "String",
|
|
414
|
+
# },
|
|
415
|
+
# ],
|
|
416
|
+
# },
|
|
417
|
+
# ],
|
|
418
|
+
# dry_run: false,
|
|
419
|
+
# })
|
|
420
|
+
#
|
|
421
|
+
# @example Response structure
|
|
422
|
+
#
|
|
423
|
+
# resp.address_transfer.public_ip #=> String
|
|
424
|
+
# resp.address_transfer.allocation_id #=> String
|
|
425
|
+
# resp.address_transfer.transfer_account_id #=> String
|
|
426
|
+
# resp.address_transfer.transfer_offer_expiration_timestamp #=> Time
|
|
427
|
+
# resp.address_transfer.transfer_offer_accepted_timestamp #=> Time
|
|
428
|
+
# resp.address_transfer.address_transfer_status #=> String, one of "pending", "disabled", "accepted"
|
|
429
|
+
#
|
|
430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptAddressTransfer AWS API Documentation
|
|
431
|
+
#
|
|
432
|
+
# @overload accept_address_transfer(params = {})
|
|
433
|
+
# @param [Hash] params ({})
|
|
434
|
+
def accept_address_transfer(params = {}, options = {})
|
|
435
|
+
req = build_request(:accept_address_transfer, params)
|
|
436
|
+
req.send_request(options)
|
|
437
|
+
end
|
|
438
|
+
|
|
375
439
|
# Accepts the Convertible Reserved Instance exchange quote described in
|
|
376
440
|
# the GetReservedInstancesExchangeQuote call.
|
|
377
441
|
#
|
|
@@ -9777,9 +9841,11 @@ module Aws::EC2
|
|
|
9777
9841
|
req.send_request(options)
|
|
9778
9842
|
end
|
|
9779
9843
|
|
|
9780
|
-
#
|
|
9781
|
-
#
|
|
9782
|
-
#
|
|
9844
|
+
# Replaces the EBS-backed root volume for a `running` instance with a
|
|
9845
|
+
# new volume that is restored to the original root volume's launch
|
|
9846
|
+
# state, that is restored to a specific snapshot taken from the original
|
|
9847
|
+
# root volume, or that is restored from an AMI that has the same key
|
|
9848
|
+
# characteristics as that of the instance.
|
|
9783
9849
|
#
|
|
9784
9850
|
# For more information, see [Replace a root volume][1] in the *Amazon
|
|
9785
9851
|
# Elastic Compute Cloud User Guide*.
|
|
@@ -9793,8 +9859,12 @@ module Aws::EC2
|
|
|
9793
9859
|
#
|
|
9794
9860
|
# @option params [String] :snapshot_id
|
|
9795
9861
|
# The ID of the snapshot from which to restore the replacement root
|
|
9796
|
-
# volume.
|
|
9797
|
-
#
|
|
9862
|
+
# volume. The specified snapshot must be a snapshot that you previously
|
|
9863
|
+
# created from the original root volume.
|
|
9864
|
+
#
|
|
9865
|
+
# If you want to restore the replacement root volume to the initial
|
|
9866
|
+
# launch state, or if you want to restore the replacement root volume
|
|
9867
|
+
# from an AMI, omit this parameter.
|
|
9798
9868
|
#
|
|
9799
9869
|
# @option params [String] :client_token
|
|
9800
9870
|
# Unique, case-sensitive identifier you provide to ensure the
|
|
@@ -9818,6 +9888,22 @@ module Aws::EC2
|
|
|
9818
9888
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
|
9819
9889
|
# The tags to apply to the root volume replacement task.
|
|
9820
9890
|
#
|
|
9891
|
+
# @option params [String] :image_id
|
|
9892
|
+
# The ID of the AMI to use to restore the root volume. The specified AMI
|
|
9893
|
+
# must have the same product code, billing information, architecture
|
|
9894
|
+
# type, and virtualization type as that of the instance.
|
|
9895
|
+
#
|
|
9896
|
+
# If you want to restore the replacement volume from a specific
|
|
9897
|
+
# snapshot, or if you want to restore it to its launch state, omit this
|
|
9898
|
+
# parameter.
|
|
9899
|
+
#
|
|
9900
|
+
# @option params [Boolean] :delete_replaced_root_volume
|
|
9901
|
+
# Indicates whether to automatically delete the original root volume
|
|
9902
|
+
# after the root volume replacement task completes. To delete the
|
|
9903
|
+
# original root volume, specify `true`. If you choose to keep the
|
|
9904
|
+
# original root volume after the replacement task completes, you must
|
|
9905
|
+
# manually delete it when you no longer need it.
|
|
9906
|
+
#
|
|
9821
9907
|
# @return [Types::CreateReplaceRootVolumeTaskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
9822
9908
|
#
|
|
9823
9909
|
# * {Types::CreateReplaceRootVolumeTaskResult#replace_root_volume_task #replace_root_volume_task} => Types::ReplaceRootVolumeTask
|
|
@@ -9840,6 +9926,8 @@ module Aws::EC2
|
|
|
9840
9926
|
# ],
|
|
9841
9927
|
# },
|
|
9842
9928
|
# ],
|
|
9929
|
+
# image_id: "ImageId",
|
|
9930
|
+
# delete_replaced_root_volume: false,
|
|
9843
9931
|
# })
|
|
9844
9932
|
#
|
|
9845
9933
|
# @example Response structure
|
|
@@ -9852,6 +9940,9 @@ module Aws::EC2
|
|
|
9852
9940
|
# resp.replace_root_volume_task.tags #=> Array
|
|
9853
9941
|
# resp.replace_root_volume_task.tags[0].key #=> String
|
|
9854
9942
|
# resp.replace_root_volume_task.tags[0].value #=> String
|
|
9943
|
+
# resp.replace_root_volume_task.image_id #=> String
|
|
9944
|
+
# resp.replace_root_volume_task.snapshot_id #=> String
|
|
9945
|
+
# resp.replace_root_volume_task.delete_replaced_root_volume #=> Boolean
|
|
9855
9946
|
#
|
|
9856
9947
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReplaceRootVolumeTask AWS API Documentation
|
|
9857
9948
|
#
|
|
@@ -17511,6 +17602,67 @@ module Aws::EC2
|
|
|
17511
17602
|
req.send_request(options)
|
|
17512
17603
|
end
|
|
17513
17604
|
|
|
17605
|
+
# Describes an Elastic IP address transfer. For more information, see
|
|
17606
|
+
# [Transfer Elastic IP addresses][1] in the *Amazon Virtual Private
|
|
17607
|
+
# Cloud User Guide*.
|
|
17608
|
+
#
|
|
17609
|
+
#
|
|
17610
|
+
#
|
|
17611
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro
|
|
17612
|
+
#
|
|
17613
|
+
# @option params [Array<String>] :allocation_ids
|
|
17614
|
+
# The allocation IDs of Elastic IP addresses.
|
|
17615
|
+
#
|
|
17616
|
+
# @option params [String] :next_token
|
|
17617
|
+
# Specify the pagination token from a previous request to retrieve the
|
|
17618
|
+
# next page of results.
|
|
17619
|
+
#
|
|
17620
|
+
# @option params [Integer] :max_results
|
|
17621
|
+
# The maximum number of address transfers to return in one page of
|
|
17622
|
+
# results.
|
|
17623
|
+
#
|
|
17624
|
+
# @option params [Boolean] :dry_run
|
|
17625
|
+
# Checks whether you have the required permissions for the action,
|
|
17626
|
+
# without actually making the request, and provides an error response.
|
|
17627
|
+
# If you have the required permissions, the error response is
|
|
17628
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
17629
|
+
#
|
|
17630
|
+
# @return [Types::DescribeAddressTransfersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
17631
|
+
#
|
|
17632
|
+
# * {Types::DescribeAddressTransfersResult#address_transfers #address_transfers} => Array<Types::AddressTransfer>
|
|
17633
|
+
# * {Types::DescribeAddressTransfersResult#next_token #next_token} => String
|
|
17634
|
+
#
|
|
17635
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
17636
|
+
#
|
|
17637
|
+
# @example Request syntax with placeholder values
|
|
17638
|
+
#
|
|
17639
|
+
# resp = client.describe_address_transfers({
|
|
17640
|
+
# allocation_ids: ["AllocationId"],
|
|
17641
|
+
# next_token: "String",
|
|
17642
|
+
# max_results: 1,
|
|
17643
|
+
# dry_run: false,
|
|
17644
|
+
# })
|
|
17645
|
+
#
|
|
17646
|
+
# @example Response structure
|
|
17647
|
+
#
|
|
17648
|
+
# resp.address_transfers #=> Array
|
|
17649
|
+
# resp.address_transfers[0].public_ip #=> String
|
|
17650
|
+
# resp.address_transfers[0].allocation_id #=> String
|
|
17651
|
+
# resp.address_transfers[0].transfer_account_id #=> String
|
|
17652
|
+
# resp.address_transfers[0].transfer_offer_expiration_timestamp #=> Time
|
|
17653
|
+
# resp.address_transfers[0].transfer_offer_accepted_timestamp #=> Time
|
|
17654
|
+
# resp.address_transfers[0].address_transfer_status #=> String, one of "pending", "disabled", "accepted"
|
|
17655
|
+
# resp.next_token #=> String
|
|
17656
|
+
#
|
|
17657
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressTransfers AWS API Documentation
|
|
17658
|
+
#
|
|
17659
|
+
# @overload describe_address_transfers(params = {})
|
|
17660
|
+
# @param [Hash] params ({})
|
|
17661
|
+
def describe_address_transfers(params = {}, options = {})
|
|
17662
|
+
req = build_request(:describe_address_transfers, params)
|
|
17663
|
+
req.send_request(options)
|
|
17664
|
+
end
|
|
17665
|
+
|
|
17514
17666
|
# Describes the specified Elastic IP addresses or all of your Elastic IP
|
|
17515
17667
|
# addresses.
|
|
17516
17668
|
#
|
|
@@ -27178,6 +27330,9 @@ module Aws::EC2
|
|
|
27178
27330
|
# resp.replace_root_volume_tasks[0].tags #=> Array
|
|
27179
27331
|
# resp.replace_root_volume_tasks[0].tags[0].key #=> String
|
|
27180
27332
|
# resp.replace_root_volume_tasks[0].tags[0].value #=> String
|
|
27333
|
+
# resp.replace_root_volume_tasks[0].image_id #=> String
|
|
27334
|
+
# resp.replace_root_volume_tasks[0].snapshot_id #=> String
|
|
27335
|
+
# resp.replace_root_volume_tasks[0].delete_replaced_root_volume #=> Boolean
|
|
27181
27336
|
# resp.next_token #=> String
|
|
27182
27337
|
#
|
|
27183
27338
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReplaceRootVolumeTasks AWS API Documentation
|
|
@@ -34180,6 +34335,52 @@ module Aws::EC2
|
|
|
34180
34335
|
req.send_request(options)
|
|
34181
34336
|
end
|
|
34182
34337
|
|
|
34338
|
+
# Disables Elastic IP address transfer. For more information, see
|
|
34339
|
+
# [Transfer Elastic IP addresses][1] in the *Amazon Virtual Private
|
|
34340
|
+
# Cloud User Guide*.
|
|
34341
|
+
#
|
|
34342
|
+
#
|
|
34343
|
+
#
|
|
34344
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro
|
|
34345
|
+
#
|
|
34346
|
+
# @option params [required, String] :allocation_id
|
|
34347
|
+
# The allocation ID of an Elastic IP address.
|
|
34348
|
+
#
|
|
34349
|
+
# @option params [Boolean] :dry_run
|
|
34350
|
+
# Checks whether you have the required permissions for the action,
|
|
34351
|
+
# without actually making the request, and provides an error response.
|
|
34352
|
+
# If you have the required permissions, the error response is
|
|
34353
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
34354
|
+
#
|
|
34355
|
+
# @return [Types::DisableAddressTransferResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
34356
|
+
#
|
|
34357
|
+
# * {Types::DisableAddressTransferResult#address_transfer #address_transfer} => Types::AddressTransfer
|
|
34358
|
+
#
|
|
34359
|
+
# @example Request syntax with placeholder values
|
|
34360
|
+
#
|
|
34361
|
+
# resp = client.disable_address_transfer({
|
|
34362
|
+
# allocation_id: "AllocationId", # required
|
|
34363
|
+
# dry_run: false,
|
|
34364
|
+
# })
|
|
34365
|
+
#
|
|
34366
|
+
# @example Response structure
|
|
34367
|
+
#
|
|
34368
|
+
# resp.address_transfer.public_ip #=> String
|
|
34369
|
+
# resp.address_transfer.allocation_id #=> String
|
|
34370
|
+
# resp.address_transfer.transfer_account_id #=> String
|
|
34371
|
+
# resp.address_transfer.transfer_offer_expiration_timestamp #=> Time
|
|
34372
|
+
# resp.address_transfer.transfer_offer_accepted_timestamp #=> Time
|
|
34373
|
+
# resp.address_transfer.address_transfer_status #=> String, one of "pending", "disabled", "accepted"
|
|
34374
|
+
#
|
|
34375
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableAddressTransfer AWS API Documentation
|
|
34376
|
+
#
|
|
34377
|
+
# @overload disable_address_transfer(params = {})
|
|
34378
|
+
# @param [Hash] params ({})
|
|
34379
|
+
def disable_address_transfer(params = {}, options = {})
|
|
34380
|
+
req = build_request(:disable_address_transfer, params)
|
|
34381
|
+
req.send_request(options)
|
|
34382
|
+
end
|
|
34383
|
+
|
|
34183
34384
|
# Disables EBS encryption by default for your account in the current
|
|
34184
34385
|
# Region.
|
|
34185
34386
|
#
|
|
@@ -35286,6 +35487,57 @@ module Aws::EC2
|
|
|
35286
35487
|
req.send_request(options)
|
|
35287
35488
|
end
|
|
35288
35489
|
|
|
35490
|
+
# Enables Elastic IP address transfer. For more information, see
|
|
35491
|
+
# [Transfer Elastic IP addresses][1] in the *Amazon Virtual Private
|
|
35492
|
+
# Cloud User Guide*.
|
|
35493
|
+
#
|
|
35494
|
+
#
|
|
35495
|
+
#
|
|
35496
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro
|
|
35497
|
+
#
|
|
35498
|
+
# @option params [required, String] :allocation_id
|
|
35499
|
+
# The allocation ID of an Elastic IP address.
|
|
35500
|
+
#
|
|
35501
|
+
# @option params [required, String] :transfer_account_id
|
|
35502
|
+
# The ID of the account that you want to transfer the Elastic IP address
|
|
35503
|
+
# to.
|
|
35504
|
+
#
|
|
35505
|
+
# @option params [Boolean] :dry_run
|
|
35506
|
+
# Checks whether you have the required permissions for the action,
|
|
35507
|
+
# without actually making the request, and provides an error response.
|
|
35508
|
+
# If you have the required permissions, the error response is
|
|
35509
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
35510
|
+
#
|
|
35511
|
+
# @return [Types::EnableAddressTransferResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
35512
|
+
#
|
|
35513
|
+
# * {Types::EnableAddressTransferResult#address_transfer #address_transfer} => Types::AddressTransfer
|
|
35514
|
+
#
|
|
35515
|
+
# @example Request syntax with placeholder values
|
|
35516
|
+
#
|
|
35517
|
+
# resp = client.enable_address_transfer({
|
|
35518
|
+
# allocation_id: "AllocationId", # required
|
|
35519
|
+
# transfer_account_id: "String", # required
|
|
35520
|
+
# dry_run: false,
|
|
35521
|
+
# })
|
|
35522
|
+
#
|
|
35523
|
+
# @example Response structure
|
|
35524
|
+
#
|
|
35525
|
+
# resp.address_transfer.public_ip #=> String
|
|
35526
|
+
# resp.address_transfer.allocation_id #=> String
|
|
35527
|
+
# resp.address_transfer.transfer_account_id #=> String
|
|
35528
|
+
# resp.address_transfer.transfer_offer_expiration_timestamp #=> Time
|
|
35529
|
+
# resp.address_transfer.transfer_offer_accepted_timestamp #=> Time
|
|
35530
|
+
# resp.address_transfer.address_transfer_status #=> String, one of "pending", "disabled", "accepted"
|
|
35531
|
+
#
|
|
35532
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableAddressTransfer AWS API Documentation
|
|
35533
|
+
#
|
|
35534
|
+
# @overload enable_address_transfer(params = {})
|
|
35535
|
+
# @param [Hash] params ({})
|
|
35536
|
+
def enable_address_transfer(params = {}, options = {})
|
|
35537
|
+
req = build_request(:enable_address_transfer, params)
|
|
35538
|
+
req.send_request(options)
|
|
35539
|
+
end
|
|
35540
|
+
|
|
35289
35541
|
# Enables EBS encryption by default for your account in the current
|
|
35290
35542
|
# Region.
|
|
35291
35543
|
#
|
|
@@ -37247,7 +37499,7 @@ module Aws::EC2
|
|
|
37247
37499
|
# The resource type.
|
|
37248
37500
|
#
|
|
37249
37501
|
# @option params [Types::RequestIpamResourceTag] :resource_tag
|
|
37250
|
-
#
|
|
37502
|
+
# The resource tag.
|
|
37251
37503
|
#
|
|
37252
37504
|
# @option params [String] :resource_owner
|
|
37253
37505
|
# The ID of the Amazon Web Services account that owns the resource.
|
|
@@ -52181,7 +52433,7 @@ module Aws::EC2
|
|
|
52181
52433
|
params: params,
|
|
52182
52434
|
config: config)
|
|
52183
52435
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
52184
|
-
context[:gem_version] = '1.
|
|
52436
|
+
context[:gem_version] = '1.344.0'
|
|
52185
52437
|
Seahorse::Client::Request.new(handlers, context)
|
|
52186
52438
|
end
|
|
52187
52439
|
|
|
@@ -23,6 +23,8 @@ module Aws::EC2
|
|
|
23
23
|
AcceleratorTotalMemoryMiBRequest = Shapes::StructureShape.new(name: 'AcceleratorTotalMemoryMiBRequest')
|
|
24
24
|
AcceleratorType = Shapes::StringShape.new(name: 'AcceleratorType')
|
|
25
25
|
AcceleratorTypeSet = Shapes::ListShape.new(name: 'AcceleratorTypeSet')
|
|
26
|
+
AcceptAddressTransferRequest = Shapes::StructureShape.new(name: 'AcceptAddressTransferRequest')
|
|
27
|
+
AcceptAddressTransferResult = Shapes::StructureShape.new(name: 'AcceptAddressTransferResult')
|
|
26
28
|
AcceptReservedInstancesExchangeQuoteRequest = Shapes::StructureShape.new(name: 'AcceptReservedInstancesExchangeQuoteRequest')
|
|
27
29
|
AcceptReservedInstancesExchangeQuoteResult = Shapes::StructureShape.new(name: 'AcceptReservedInstancesExchangeQuoteResult')
|
|
28
30
|
AcceptTransitGatewayMulticastDomainAssociationsRequest = Shapes::StructureShape.new(name: 'AcceptTransitGatewayMulticastDomainAssociationsRequest')
|
|
@@ -65,6 +67,9 @@ module Aws::EC2
|
|
|
65
67
|
AddressList = Shapes::ListShape.new(name: 'AddressList')
|
|
66
68
|
AddressMaxResults = Shapes::IntegerShape.new(name: 'AddressMaxResults')
|
|
67
69
|
AddressSet = Shapes::ListShape.new(name: 'AddressSet')
|
|
70
|
+
AddressTransfer = Shapes::StructureShape.new(name: 'AddressTransfer')
|
|
71
|
+
AddressTransferList = Shapes::ListShape.new(name: 'AddressTransferList')
|
|
72
|
+
AddressTransferStatus = Shapes::StringShape.new(name: 'AddressTransferStatus')
|
|
68
73
|
AdvertiseByoipCidrRequest = Shapes::StructureShape.new(name: 'AdvertiseByoipCidrRequest')
|
|
69
74
|
AdvertiseByoipCidrResult = Shapes::StructureShape.new(name: 'AdvertiseByoipCidrResult')
|
|
70
75
|
Affinity = Shapes::StringShape.new(name: 'Affinity')
|
|
@@ -676,6 +681,9 @@ module Aws::EC2
|
|
|
676
681
|
DeregisterTransitGatewayMulticastGroupSourcesResult = Shapes::StructureShape.new(name: 'DeregisterTransitGatewayMulticastGroupSourcesResult')
|
|
677
682
|
DescribeAccountAttributesRequest = Shapes::StructureShape.new(name: 'DescribeAccountAttributesRequest')
|
|
678
683
|
DescribeAccountAttributesResult = Shapes::StructureShape.new(name: 'DescribeAccountAttributesResult')
|
|
684
|
+
DescribeAddressTransfersMaxResults = Shapes::IntegerShape.new(name: 'DescribeAddressTransfersMaxResults')
|
|
685
|
+
DescribeAddressTransfersRequest = Shapes::StructureShape.new(name: 'DescribeAddressTransfersRequest')
|
|
686
|
+
DescribeAddressTransfersResult = Shapes::StructureShape.new(name: 'DescribeAddressTransfersResult')
|
|
679
687
|
DescribeAddressesAttributeRequest = Shapes::StructureShape.new(name: 'DescribeAddressesAttributeRequest')
|
|
680
688
|
DescribeAddressesAttributeResult = Shapes::StructureShape.new(name: 'DescribeAddressesAttributeResult')
|
|
681
689
|
DescribeAddressesRequest = Shapes::StructureShape.new(name: 'DescribeAddressesRequest')
|
|
@@ -1014,6 +1022,8 @@ module Aws::EC2
|
|
|
1014
1022
|
DhcpOptionsList = Shapes::ListShape.new(name: 'DhcpOptionsList')
|
|
1015
1023
|
DirectoryServiceAuthentication = Shapes::StructureShape.new(name: 'DirectoryServiceAuthentication')
|
|
1016
1024
|
DirectoryServiceAuthenticationRequest = Shapes::StructureShape.new(name: 'DirectoryServiceAuthenticationRequest')
|
|
1025
|
+
DisableAddressTransferRequest = Shapes::StructureShape.new(name: 'DisableAddressTransferRequest')
|
|
1026
|
+
DisableAddressTransferResult = Shapes::StructureShape.new(name: 'DisableAddressTransferResult')
|
|
1017
1027
|
DisableEbsEncryptionByDefaultRequest = Shapes::StructureShape.new(name: 'DisableEbsEncryptionByDefaultRequest')
|
|
1018
1028
|
DisableEbsEncryptionByDefaultResult = Shapes::StructureShape.new(name: 'DisableEbsEncryptionByDefaultResult')
|
|
1019
1029
|
DisableFastLaunchRequest = Shapes::StructureShape.new(name: 'DisableFastLaunchRequest')
|
|
@@ -1120,6 +1130,8 @@ module Aws::EC2
|
|
|
1120
1130
|
ElasticInferenceAccelerators = Shapes::ListShape.new(name: 'ElasticInferenceAccelerators')
|
|
1121
1131
|
ElasticIpAssociationId = Shapes::StringShape.new(name: 'ElasticIpAssociationId')
|
|
1122
1132
|
EnaSupport = Shapes::StringShape.new(name: 'EnaSupport')
|
|
1133
|
+
EnableAddressTransferRequest = Shapes::StructureShape.new(name: 'EnableAddressTransferRequest')
|
|
1134
|
+
EnableAddressTransferResult = Shapes::StructureShape.new(name: 'EnableAddressTransferResult')
|
|
1123
1135
|
EnableEbsEncryptionByDefaultRequest = Shapes::StructureShape.new(name: 'EnableEbsEncryptionByDefaultRequest')
|
|
1124
1136
|
EnableEbsEncryptionByDefaultResult = Shapes::StructureShape.new(name: 'EnableEbsEncryptionByDefaultResult')
|
|
1125
1137
|
EnableFastLaunchRequest = Shapes::StructureShape.new(name: 'EnableFastLaunchRequest')
|
|
@@ -2790,6 +2802,14 @@ module Aws::EC2
|
|
|
2790
2802
|
|
|
2791
2803
|
AcceleratorTypeSet.member = Shapes::ShapeRef.new(shape: AcceleratorType, location_name: "item")
|
|
2792
2804
|
|
|
2805
|
+
AcceptAddressTransferRequest.add_member(:address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Address"))
|
|
2806
|
+
AcceptAddressTransferRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
|
2807
|
+
AcceptAddressTransferRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
2808
|
+
AcceptAddressTransferRequest.struct_class = Types::AcceptAddressTransferRequest
|
|
2809
|
+
|
|
2810
|
+
AcceptAddressTransferResult.add_member(:address_transfer, Shapes::ShapeRef.new(shape: AddressTransfer, location_name: "addressTransfer"))
|
|
2811
|
+
AcceptAddressTransferResult.struct_class = Types::AcceptAddressTransferResult
|
|
2812
|
+
|
|
2793
2813
|
AcceptReservedInstancesExchangeQuoteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
2794
2814
|
AcceptReservedInstancesExchangeQuoteRequest.add_member(:reserved_instance_ids, Shapes::ShapeRef.new(shape: ReservedInstanceIdSet, required: true, location_name: "ReservedInstanceId"))
|
|
2795
2815
|
AcceptReservedInstancesExchangeQuoteRequest.add_member(:target_configurations, Shapes::ShapeRef.new(shape: TargetConfigurationRequestSet, location_name: "TargetConfiguration"))
|
|
@@ -2930,6 +2950,16 @@ module Aws::EC2
|
|
|
2930
2950
|
|
|
2931
2951
|
AddressSet.member = Shapes::ShapeRef.new(shape: AddressAttribute, location_name: "item")
|
|
2932
2952
|
|
|
2953
|
+
AddressTransfer.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
|
|
2954
|
+
AddressTransfer.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
|
|
2955
|
+
AddressTransfer.add_member(:transfer_account_id, Shapes::ShapeRef.new(shape: String, location_name: "transferAccountId"))
|
|
2956
|
+
AddressTransfer.add_member(:transfer_offer_expiration_timestamp, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "transferOfferExpirationTimestamp"))
|
|
2957
|
+
AddressTransfer.add_member(:transfer_offer_accepted_timestamp, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "transferOfferAcceptedTimestamp"))
|
|
2958
|
+
AddressTransfer.add_member(:address_transfer_status, Shapes::ShapeRef.new(shape: AddressTransferStatus, location_name: "addressTransferStatus"))
|
|
2959
|
+
AddressTransfer.struct_class = Types::AddressTransfer
|
|
2960
|
+
|
|
2961
|
+
AddressTransferList.member = Shapes::ShapeRef.new(shape: AddressTransfer, location_name: "item")
|
|
2962
|
+
|
|
2933
2963
|
AdvertiseByoipCidrRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Cidr"))
|
|
2934
2964
|
AdvertiseByoipCidrRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
2935
2965
|
AdvertiseByoipCidrRequest.struct_class = Types::AdvertiseByoipCidrRequest
|
|
@@ -4410,6 +4440,8 @@ module Aws::EC2
|
|
|
4410
4440
|
CreateReplaceRootVolumeTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
|
4411
4441
|
CreateReplaceRootVolumeTaskRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
4412
4442
|
CreateReplaceRootVolumeTaskRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
|
4443
|
+
CreateReplaceRootVolumeTaskRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId"))
|
|
4444
|
+
CreateReplaceRootVolumeTaskRequest.add_member(:delete_replaced_root_volume, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteReplacedRootVolume"))
|
|
4413
4445
|
CreateReplaceRootVolumeTaskRequest.struct_class = Types::CreateReplaceRootVolumeTaskRequest
|
|
4414
4446
|
|
|
4415
4447
|
CreateReplaceRootVolumeTaskResult.add_member(:replace_root_volume_task, Shapes::ShapeRef.new(shape: ReplaceRootVolumeTask, location_name: "replaceRootVolumeTask"))
|
|
@@ -5408,6 +5440,16 @@ module Aws::EC2
|
|
|
5408
5440
|
DescribeAccountAttributesResult.add_member(:account_attributes, Shapes::ShapeRef.new(shape: AccountAttributeList, location_name: "accountAttributeSet"))
|
|
5409
5441
|
DescribeAccountAttributesResult.struct_class = Types::DescribeAccountAttributesResult
|
|
5410
5442
|
|
|
5443
|
+
DescribeAddressTransfersRequest.add_member(:allocation_ids, Shapes::ShapeRef.new(shape: AllocationIdList, location_name: "AllocationId"))
|
|
5444
|
+
DescribeAddressTransfersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
|
5445
|
+
DescribeAddressTransfersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeAddressTransfersMaxResults, location_name: "MaxResults"))
|
|
5446
|
+
DescribeAddressTransfersRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
5447
|
+
DescribeAddressTransfersRequest.struct_class = Types::DescribeAddressTransfersRequest
|
|
5448
|
+
|
|
5449
|
+
DescribeAddressTransfersResult.add_member(:address_transfers, Shapes::ShapeRef.new(shape: AddressTransferList, location_name: "addressTransferSet"))
|
|
5450
|
+
DescribeAddressTransfersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
5451
|
+
DescribeAddressTransfersResult.struct_class = Types::DescribeAddressTransfersResult
|
|
5452
|
+
|
|
5411
5453
|
DescribeAddressesAttributeRequest.add_member(:allocation_ids, Shapes::ShapeRef.new(shape: AllocationIds, location_name: "AllocationId"))
|
|
5412
5454
|
DescribeAddressesAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: AddressAttributeName, location_name: "Attribute"))
|
|
5413
5455
|
DescribeAddressesAttributeRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
@@ -6944,6 +6986,13 @@ module Aws::EC2
|
|
|
6944
6986
|
DirectoryServiceAuthenticationRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: String, location_name: "DirectoryId"))
|
|
6945
6987
|
DirectoryServiceAuthenticationRequest.struct_class = Types::DirectoryServiceAuthenticationRequest
|
|
6946
6988
|
|
|
6989
|
+
DisableAddressTransferRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
|
6990
|
+
DisableAddressTransferRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
6991
|
+
DisableAddressTransferRequest.struct_class = Types::DisableAddressTransferRequest
|
|
6992
|
+
|
|
6993
|
+
DisableAddressTransferResult.add_member(:address_transfer, Shapes::ShapeRef.new(shape: AddressTransfer, location_name: "addressTransfer"))
|
|
6994
|
+
DisableAddressTransferResult.struct_class = Types::DisableAddressTransferResult
|
|
6995
|
+
|
|
6947
6996
|
DisableEbsEncryptionByDefaultRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
6948
6997
|
DisableEbsEncryptionByDefaultRequest.struct_class = Types::DisableEbsEncryptionByDefaultRequest
|
|
6949
6998
|
|
|
@@ -7284,6 +7333,14 @@ module Aws::EC2
|
|
|
7284
7333
|
|
|
7285
7334
|
ElasticInferenceAccelerators.member = Shapes::ShapeRef.new(shape: ElasticInferenceAccelerator, location_name: "item")
|
|
7286
7335
|
|
|
7336
|
+
EnableAddressTransferRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
|
7337
|
+
EnableAddressTransferRequest.add_member(:transfer_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TransferAccountId"))
|
|
7338
|
+
EnableAddressTransferRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
7339
|
+
EnableAddressTransferRequest.struct_class = Types::EnableAddressTransferRequest
|
|
7340
|
+
|
|
7341
|
+
EnableAddressTransferResult.add_member(:address_transfer, Shapes::ShapeRef.new(shape: AddressTransfer, location_name: "addressTransfer"))
|
|
7342
|
+
EnableAddressTransferResult.struct_class = Types::EnableAddressTransferResult
|
|
7343
|
+
|
|
7287
7344
|
EnableEbsEncryptionByDefaultRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
7288
7345
|
EnableEbsEncryptionByDefaultRequest.struct_class = Types::EnableEbsEncryptionByDefaultRequest
|
|
7289
7346
|
|
|
@@ -11313,6 +11370,9 @@ module Aws::EC2
|
|
|
11313
11370
|
ReplaceRootVolumeTask.add_member(:start_time, Shapes::ShapeRef.new(shape: String, location_name: "startTime"))
|
|
11314
11371
|
ReplaceRootVolumeTask.add_member(:complete_time, Shapes::ShapeRef.new(shape: String, location_name: "completeTime"))
|
|
11315
11372
|
ReplaceRootVolumeTask.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
|
11373
|
+
ReplaceRootVolumeTask.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "imageId"))
|
|
11374
|
+
ReplaceRootVolumeTask.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "snapshotId"))
|
|
11375
|
+
ReplaceRootVolumeTask.add_member(:delete_replaced_root_volume, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteReplacedRootVolume"))
|
|
11316
11376
|
ReplaceRootVolumeTask.struct_class = Types::ReplaceRootVolumeTask
|
|
11317
11377
|
|
|
11318
11378
|
ReplaceRootVolumeTaskIds.member = Shapes::ShapeRef.new(shape: ReplaceRootVolumeTaskId, location_name: "ReplaceRootVolumeTaskId")
|
|
@@ -13666,6 +13726,14 @@ module Aws::EC2
|
|
|
13666
13726
|
"xmlNamespace" => "http://ec2.amazonaws.com/doc/2016-11-15",
|
|
13667
13727
|
}
|
|
13668
13728
|
|
|
13729
|
+
api.add_operation(:accept_address_transfer, Seahorse::Model::Operation.new.tap do |o|
|
|
13730
|
+
o.name = "AcceptAddressTransfer"
|
|
13731
|
+
o.http_method = "POST"
|
|
13732
|
+
o.http_request_uri = "/"
|
|
13733
|
+
o.input = Shapes::ShapeRef.new(shape: AcceptAddressTransferRequest)
|
|
13734
|
+
o.output = Shapes::ShapeRef.new(shape: AcceptAddressTransferResult)
|
|
13735
|
+
end)
|
|
13736
|
+
|
|
13669
13737
|
api.add_operation(:accept_reserved_instances_exchange_quote, Seahorse::Model::Operation.new.tap do |o|
|
|
13670
13738
|
o.name = "AcceptReservedInstancesExchangeQuote"
|
|
13671
13739
|
o.http_method = "POST"
|
|
@@ -15266,6 +15334,20 @@ module Aws::EC2
|
|
|
15266
15334
|
o.output = Shapes::ShapeRef.new(shape: DescribeAccountAttributesResult)
|
|
15267
15335
|
end)
|
|
15268
15336
|
|
|
15337
|
+
api.add_operation(:describe_address_transfers, Seahorse::Model::Operation.new.tap do |o|
|
|
15338
|
+
o.name = "DescribeAddressTransfers"
|
|
15339
|
+
o.http_method = "POST"
|
|
15340
|
+
o.http_request_uri = "/"
|
|
15341
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAddressTransfersRequest)
|
|
15342
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAddressTransfersResult)
|
|
15343
|
+
o[:pager] = Aws::Pager.new(
|
|
15344
|
+
limit_key: "max_results",
|
|
15345
|
+
tokens: {
|
|
15346
|
+
"next_token" => "next_token"
|
|
15347
|
+
}
|
|
15348
|
+
)
|
|
15349
|
+
end)
|
|
15350
|
+
|
|
15269
15351
|
api.add_operation(:describe_addresses, Seahorse::Model::Operation.new.tap do |o|
|
|
15270
15352
|
o.name = "DescribeAddresses"
|
|
15271
15353
|
o.http_method = "POST"
|
|
@@ -16977,6 +17059,14 @@ module Aws::EC2
|
|
|
16977
17059
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
16978
17060
|
end)
|
|
16979
17061
|
|
|
17062
|
+
api.add_operation(:disable_address_transfer, Seahorse::Model::Operation.new.tap do |o|
|
|
17063
|
+
o.name = "DisableAddressTransfer"
|
|
17064
|
+
o.http_method = "POST"
|
|
17065
|
+
o.http_request_uri = "/"
|
|
17066
|
+
o.input = Shapes::ShapeRef.new(shape: DisableAddressTransferRequest)
|
|
17067
|
+
o.output = Shapes::ShapeRef.new(shape: DisableAddressTransferResult)
|
|
17068
|
+
end)
|
|
17069
|
+
|
|
16980
17070
|
api.add_operation(:disable_ebs_encryption_by_default, Seahorse::Model::Operation.new.tap do |o|
|
|
16981
17071
|
o.name = "DisableEbsEncryptionByDefault"
|
|
16982
17072
|
o.http_method = "POST"
|
|
@@ -17153,6 +17243,14 @@ module Aws::EC2
|
|
|
17153
17243
|
o.output = Shapes::ShapeRef.new(shape: DisassociateVpcCidrBlockResult)
|
|
17154
17244
|
end)
|
|
17155
17245
|
|
|
17246
|
+
api.add_operation(:enable_address_transfer, Seahorse::Model::Operation.new.tap do |o|
|
|
17247
|
+
o.name = "EnableAddressTransfer"
|
|
17248
|
+
o.http_method = "POST"
|
|
17249
|
+
o.http_request_uri = "/"
|
|
17250
|
+
o.input = Shapes::ShapeRef.new(shape: EnableAddressTransferRequest)
|
|
17251
|
+
o.output = Shapes::ShapeRef.new(shape: EnableAddressTransferResult)
|
|
17252
|
+
end)
|
|
17253
|
+
|
|
17156
17254
|
api.add_operation(:enable_ebs_encryption_by_default, Seahorse::Model::Operation.new.tap do |o|
|
|
17157
17255
|
o.name = "EnableEbsEncryptionByDefault"
|
|
17158
17256
|
o.http_method = "POST"
|
|
@@ -11,6 +11,20 @@
|
|
|
11
11
|
module Aws::EC2
|
|
12
12
|
module Endpoints
|
|
13
13
|
|
|
14
|
+
class AcceptAddressTransfer
|
|
15
|
+
def self.build(context)
|
|
16
|
+
unless context.config.regional_endpoint
|
|
17
|
+
endpoint = context.config.endpoint.to_s
|
|
18
|
+
end
|
|
19
|
+
Aws::EC2::EndpointParameters.new(
|
|
20
|
+
region: context.config.region,
|
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
|
23
|
+
endpoint: endpoint,
|
|
24
|
+
)
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
|
|
14
28
|
class AcceptReservedInstancesExchangeQuote
|
|
15
29
|
def self.build(context)
|
|
16
30
|
unless context.config.regional_endpoint
|
|
@@ -2811,6 +2825,20 @@ module Aws::EC2
|
|
|
2811
2825
|
end
|
|
2812
2826
|
end
|
|
2813
2827
|
|
|
2828
|
+
class DescribeAddressTransfers
|
|
2829
|
+
def self.build(context)
|
|
2830
|
+
unless context.config.regional_endpoint
|
|
2831
|
+
endpoint = context.config.endpoint.to_s
|
|
2832
|
+
end
|
|
2833
|
+
Aws::EC2::EndpointParameters.new(
|
|
2834
|
+
region: context.config.region,
|
|
2835
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
2836
|
+
use_fips: context.config.use_fips_endpoint,
|
|
2837
|
+
endpoint: endpoint,
|
|
2838
|
+
)
|
|
2839
|
+
end
|
|
2840
|
+
end
|
|
2841
|
+
|
|
2814
2842
|
class DescribeAddresses
|
|
2815
2843
|
def self.build(context)
|
|
2816
2844
|
unless context.config.regional_endpoint
|
|
@@ -4757,6 +4785,20 @@ module Aws::EC2
|
|
|
4757
4785
|
end
|
|
4758
4786
|
end
|
|
4759
4787
|
|
|
4788
|
+
class DisableAddressTransfer
|
|
4789
|
+
def self.build(context)
|
|
4790
|
+
unless context.config.regional_endpoint
|
|
4791
|
+
endpoint = context.config.endpoint.to_s
|
|
4792
|
+
end
|
|
4793
|
+
Aws::EC2::EndpointParameters.new(
|
|
4794
|
+
region: context.config.region,
|
|
4795
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
4796
|
+
use_fips: context.config.use_fips_endpoint,
|
|
4797
|
+
endpoint: endpoint,
|
|
4798
|
+
)
|
|
4799
|
+
end
|
|
4800
|
+
end
|
|
4801
|
+
|
|
4760
4802
|
class DisableEbsEncryptionByDefault
|
|
4761
4803
|
def self.build(context)
|
|
4762
4804
|
unless context.config.regional_endpoint
|
|
@@ -5065,6 +5107,20 @@ module Aws::EC2
|
|
|
5065
5107
|
end
|
|
5066
5108
|
end
|
|
5067
5109
|
|
|
5110
|
+
class EnableAddressTransfer
|
|
5111
|
+
def self.build(context)
|
|
5112
|
+
unless context.config.regional_endpoint
|
|
5113
|
+
endpoint = context.config.endpoint.to_s
|
|
5114
|
+
end
|
|
5115
|
+
Aws::EC2::EndpointParameters.new(
|
|
5116
|
+
region: context.config.region,
|
|
5117
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
5118
|
+
use_fips: context.config.use_fips_endpoint,
|
|
5119
|
+
endpoint: endpoint,
|
|
5120
|
+
)
|
|
5121
|
+
end
|
|
5122
|
+
end
|
|
5123
|
+
|
|
5068
5124
|
class EnableEbsEncryptionByDefault
|
|
5069
5125
|
def self.build(context)
|
|
5070
5126
|
unless context.config.regional_endpoint
|
|
@@ -56,6 +56,8 @@ module Aws::EC2
|
|
|
56
56
|
|
|
57
57
|
def parameters_for_operation(context)
|
|
58
58
|
case context.operation_name
|
|
59
|
+
when :accept_address_transfer
|
|
60
|
+
Aws::EC2::Endpoints::AcceptAddressTransfer.build(context)
|
|
59
61
|
when :accept_reserved_instances_exchange_quote
|
|
60
62
|
Aws::EC2::Endpoints::AcceptReservedInstancesExchangeQuote.build(context)
|
|
61
63
|
when :accept_transit_gateway_multicast_domain_associations
|
|
@@ -456,6 +458,8 @@ module Aws::EC2
|
|
|
456
458
|
Aws::EC2::Endpoints::DeregisterTransitGatewayMulticastGroupSources.build(context)
|
|
457
459
|
when :describe_account_attributes
|
|
458
460
|
Aws::EC2::Endpoints::DescribeAccountAttributes.build(context)
|
|
461
|
+
when :describe_address_transfers
|
|
462
|
+
Aws::EC2::Endpoints::DescribeAddressTransfers.build(context)
|
|
459
463
|
when :describe_addresses
|
|
460
464
|
Aws::EC2::Endpoints::DescribeAddresses.build(context)
|
|
461
465
|
when :describe_addresses_attribute
|
|
@@ -734,6 +738,8 @@ module Aws::EC2
|
|
|
734
738
|
Aws::EC2::Endpoints::DetachVolume.build(context)
|
|
735
739
|
when :detach_vpn_gateway
|
|
736
740
|
Aws::EC2::Endpoints::DetachVpnGateway.build(context)
|
|
741
|
+
when :disable_address_transfer
|
|
742
|
+
Aws::EC2::Endpoints::DisableAddressTransfer.build(context)
|
|
737
743
|
when :disable_ebs_encryption_by_default
|
|
738
744
|
Aws::EC2::Endpoints::DisableEbsEncryptionByDefault.build(context)
|
|
739
745
|
when :disable_fast_launch
|
|
@@ -778,6 +784,8 @@ module Aws::EC2
|
|
|
778
784
|
Aws::EC2::Endpoints::DisassociateTrunkInterface.build(context)
|
|
779
785
|
when :disassociate_vpc_cidr_block
|
|
780
786
|
Aws::EC2::Endpoints::DisassociateVpcCidrBlock.build(context)
|
|
787
|
+
when :enable_address_transfer
|
|
788
|
+
Aws::EC2::Endpoints::EnableAddressTransfer.build(context)
|
|
781
789
|
when :enable_ebs_encryption_by_default
|
|
782
790
|
Aws::EC2::Endpoints::EnableEbsEncryptionByDefault.build(context)
|
|
783
791
|
when :enable_fast_launch
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -130,6 +130,66 @@ module Aws::EC2
|
|
|
130
130
|
include Aws::Structure
|
|
131
131
|
end
|
|
132
132
|
|
|
133
|
+
# @note When making an API call, you may pass AcceptAddressTransferRequest
|
|
134
|
+
# data as a hash:
|
|
135
|
+
#
|
|
136
|
+
# {
|
|
137
|
+
# address: "String", # required
|
|
138
|
+
# tag_specifications: [
|
|
139
|
+
# {
|
|
140
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, vpn-connection-device-type
|
|
141
|
+
# tags: [
|
|
142
|
+
# {
|
|
143
|
+
# key: "String",
|
|
144
|
+
# value: "String",
|
|
145
|
+
# },
|
|
146
|
+
# ],
|
|
147
|
+
# },
|
|
148
|
+
# ],
|
|
149
|
+
# dry_run: false,
|
|
150
|
+
# }
|
|
151
|
+
#
|
|
152
|
+
# @!attribute [rw] address
|
|
153
|
+
# The Elastic IP address you are accepting for transfer.
|
|
154
|
+
# @return [String]
|
|
155
|
+
#
|
|
156
|
+
# @!attribute [rw] tag_specifications
|
|
157
|
+
# `tag`\:<key> - The key/value combination of a tag assigned to
|
|
158
|
+
# the resource. Use the tag key in the filter name and the tag value
|
|
159
|
+
# as the filter value. For example, to find all resources that have a
|
|
160
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
|
161
|
+
# for the filter name and `TeamA` for the filter value.
|
|
162
|
+
# @return [Array<Types::TagSpecification>]
|
|
163
|
+
#
|
|
164
|
+
# @!attribute [rw] dry_run
|
|
165
|
+
# Checks whether you have the required permissions for the action,
|
|
166
|
+
# without actually making the request, and provides an error response.
|
|
167
|
+
# If you have the required permissions, the error response is
|
|
168
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
169
|
+
# @return [Boolean]
|
|
170
|
+
#
|
|
171
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptAddressTransferRequest AWS API Documentation
|
|
172
|
+
#
|
|
173
|
+
class AcceptAddressTransferRequest < Struct.new(
|
|
174
|
+
:address,
|
|
175
|
+
:tag_specifications,
|
|
176
|
+
:dry_run)
|
|
177
|
+
SENSITIVE = []
|
|
178
|
+
include Aws::Structure
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
# @!attribute [rw] address_transfer
|
|
182
|
+
# An Elastic IP address transfer.
|
|
183
|
+
# @return [Types::AddressTransfer]
|
|
184
|
+
#
|
|
185
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptAddressTransferResult AWS API Documentation
|
|
186
|
+
#
|
|
187
|
+
class AcceptAddressTransferResult < Struct.new(
|
|
188
|
+
:address_transfer)
|
|
189
|
+
SENSITIVE = []
|
|
190
|
+
include Aws::Structure
|
|
191
|
+
end
|
|
192
|
+
|
|
133
193
|
# Contains the parameters for accepting the quote.
|
|
134
194
|
#
|
|
135
195
|
# @note When making an API call, you may pass AcceptReservedInstancesExchangeQuoteRequest
|
|
@@ -818,6 +878,55 @@ module Aws::EC2
|
|
|
818
878
|
include Aws::Structure
|
|
819
879
|
end
|
|
820
880
|
|
|
881
|
+
# Details on the Elastic IP address transfer. For more information, see
|
|
882
|
+
# [Transfer Elastic IP addresses][1] in the *Amazon Virtual Private
|
|
883
|
+
# Cloud User Guide*.
|
|
884
|
+
#
|
|
885
|
+
#
|
|
886
|
+
#
|
|
887
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro
|
|
888
|
+
#
|
|
889
|
+
# @!attribute [rw] public_ip
|
|
890
|
+
# The Elastic IP address being transferred.
|
|
891
|
+
# @return [String]
|
|
892
|
+
#
|
|
893
|
+
# @!attribute [rw] allocation_id
|
|
894
|
+
# The allocation ID of an Elastic IP address.
|
|
895
|
+
# @return [String]
|
|
896
|
+
#
|
|
897
|
+
# @!attribute [rw] transfer_account_id
|
|
898
|
+
# The ID of the account that you want to transfer the Elastic IP
|
|
899
|
+
# address to.
|
|
900
|
+
# @return [String]
|
|
901
|
+
#
|
|
902
|
+
# @!attribute [rw] transfer_offer_expiration_timestamp
|
|
903
|
+
# The timestamp when the Elastic IP address transfer expired. When the
|
|
904
|
+
# source account starts the transfer, the transfer account has seven
|
|
905
|
+
# hours to allocate the Elastic IP address to complete the transfer,
|
|
906
|
+
# or the Elastic IP address will return to its original owner.
|
|
907
|
+
# @return [Time]
|
|
908
|
+
#
|
|
909
|
+
# @!attribute [rw] transfer_offer_accepted_timestamp
|
|
910
|
+
# The timestamp when the Elastic IP address transfer was accepted.
|
|
911
|
+
# @return [Time]
|
|
912
|
+
#
|
|
913
|
+
# @!attribute [rw] address_transfer_status
|
|
914
|
+
# The Elastic IP address transfer status.
|
|
915
|
+
# @return [String]
|
|
916
|
+
#
|
|
917
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AddressTransfer AWS API Documentation
|
|
918
|
+
#
|
|
919
|
+
class AddressTransfer < Struct.new(
|
|
920
|
+
:public_ip,
|
|
921
|
+
:allocation_id,
|
|
922
|
+
:transfer_account_id,
|
|
923
|
+
:transfer_offer_expiration_timestamp,
|
|
924
|
+
:transfer_offer_accepted_timestamp,
|
|
925
|
+
:address_transfer_status)
|
|
926
|
+
SENSITIVE = []
|
|
927
|
+
include Aws::Structure
|
|
928
|
+
end
|
|
929
|
+
|
|
821
930
|
# @note When making an API call, you may pass AdvertiseByoipCidrRequest
|
|
822
931
|
# data as a hash:
|
|
823
932
|
#
|
|
@@ -11326,6 +11435,8 @@ module Aws::EC2
|
|
|
11326
11435
|
# ],
|
|
11327
11436
|
# },
|
|
11328
11437
|
# ],
|
|
11438
|
+
# image_id: "ImageId",
|
|
11439
|
+
# delete_replaced_root_volume: false,
|
|
11329
11440
|
# }
|
|
11330
11441
|
#
|
|
11331
11442
|
# @!attribute [rw] instance_id
|
|
@@ -11334,8 +11445,12 @@ module Aws::EC2
|
|
|
11334
11445
|
#
|
|
11335
11446
|
# @!attribute [rw] snapshot_id
|
|
11336
11447
|
# The ID of the snapshot from which to restore the replacement root
|
|
11337
|
-
# volume.
|
|
11338
|
-
#
|
|
11448
|
+
# volume. The specified snapshot must be a snapshot that you
|
|
11449
|
+
# previously created from the original root volume.
|
|
11450
|
+
#
|
|
11451
|
+
# If you want to restore the replacement root volume to the initial
|
|
11452
|
+
# launch state, or if you want to restore the replacement root volume
|
|
11453
|
+
# from an AMI, omit this parameter.
|
|
11339
11454
|
# @return [String]
|
|
11340
11455
|
#
|
|
11341
11456
|
# @!attribute [rw] client_token
|
|
@@ -11363,6 +11478,24 @@ module Aws::EC2
|
|
|
11363
11478
|
# The tags to apply to the root volume replacement task.
|
|
11364
11479
|
# @return [Array<Types::TagSpecification>]
|
|
11365
11480
|
#
|
|
11481
|
+
# @!attribute [rw] image_id
|
|
11482
|
+
# The ID of the AMI to use to restore the root volume. The specified
|
|
11483
|
+
# AMI must have the same product code, billing information,
|
|
11484
|
+
# architecture type, and virtualization type as that of the instance.
|
|
11485
|
+
#
|
|
11486
|
+
# If you want to restore the replacement volume from a specific
|
|
11487
|
+
# snapshot, or if you want to restore it to its launch state, omit
|
|
11488
|
+
# this parameter.
|
|
11489
|
+
# @return [String]
|
|
11490
|
+
#
|
|
11491
|
+
# @!attribute [rw] delete_replaced_root_volume
|
|
11492
|
+
# Indicates whether to automatically delete the original root volume
|
|
11493
|
+
# after the root volume replacement task completes. To delete the
|
|
11494
|
+
# original root volume, specify `true`. If you choose to keep the
|
|
11495
|
+
# original root volume after the replacement task completes, you must
|
|
11496
|
+
# manually delete it when you no longer need it.
|
|
11497
|
+
# @return [Boolean]
|
|
11498
|
+
#
|
|
11366
11499
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReplaceRootVolumeTaskRequest AWS API Documentation
|
|
11367
11500
|
#
|
|
11368
11501
|
class CreateReplaceRootVolumeTaskRequest < Struct.new(
|
|
@@ -11370,7 +11503,9 @@ module Aws::EC2
|
|
|
11370
11503
|
:snapshot_id,
|
|
11371
11504
|
:client_token,
|
|
11372
11505
|
:dry_run,
|
|
11373
|
-
:tag_specifications
|
|
11506
|
+
:tag_specifications,
|
|
11507
|
+
:image_id,
|
|
11508
|
+
:delete_replaced_root_volume)
|
|
11374
11509
|
SENSITIVE = []
|
|
11375
11510
|
include Aws::Structure
|
|
11376
11511
|
end
|
|
@@ -18137,6 +18272,66 @@ module Aws::EC2
|
|
|
18137
18272
|
include Aws::Structure
|
|
18138
18273
|
end
|
|
18139
18274
|
|
|
18275
|
+
# @note When making an API call, you may pass DescribeAddressTransfersRequest
|
|
18276
|
+
# data as a hash:
|
|
18277
|
+
#
|
|
18278
|
+
# {
|
|
18279
|
+
# allocation_ids: ["AllocationId"],
|
|
18280
|
+
# next_token: "String",
|
|
18281
|
+
# max_results: 1,
|
|
18282
|
+
# dry_run: false,
|
|
18283
|
+
# }
|
|
18284
|
+
#
|
|
18285
|
+
# @!attribute [rw] allocation_ids
|
|
18286
|
+
# The allocation IDs of Elastic IP addresses.
|
|
18287
|
+
# @return [Array<String>]
|
|
18288
|
+
#
|
|
18289
|
+
# @!attribute [rw] next_token
|
|
18290
|
+
# Specify the pagination token from a previous request to retrieve the
|
|
18291
|
+
# next page of results.
|
|
18292
|
+
# @return [String]
|
|
18293
|
+
#
|
|
18294
|
+
# @!attribute [rw] max_results
|
|
18295
|
+
# The maximum number of address transfers to return in one page of
|
|
18296
|
+
# results.
|
|
18297
|
+
# @return [Integer]
|
|
18298
|
+
#
|
|
18299
|
+
# @!attribute [rw] dry_run
|
|
18300
|
+
# Checks whether you have the required permissions for the action,
|
|
18301
|
+
# without actually making the request, and provides an error response.
|
|
18302
|
+
# If you have the required permissions, the error response is
|
|
18303
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
18304
|
+
# @return [Boolean]
|
|
18305
|
+
#
|
|
18306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressTransfersRequest AWS API Documentation
|
|
18307
|
+
#
|
|
18308
|
+
class DescribeAddressTransfersRequest < Struct.new(
|
|
18309
|
+
:allocation_ids,
|
|
18310
|
+
:next_token,
|
|
18311
|
+
:max_results,
|
|
18312
|
+
:dry_run)
|
|
18313
|
+
SENSITIVE = []
|
|
18314
|
+
include Aws::Structure
|
|
18315
|
+
end
|
|
18316
|
+
|
|
18317
|
+
# @!attribute [rw] address_transfers
|
|
18318
|
+
# The Elastic IP address transfer.
|
|
18319
|
+
# @return [Array<Types::AddressTransfer>]
|
|
18320
|
+
#
|
|
18321
|
+
# @!attribute [rw] next_token
|
|
18322
|
+
# Specify the pagination token from a previous request to retrieve the
|
|
18323
|
+
# next page of results.
|
|
18324
|
+
# @return [String]
|
|
18325
|
+
#
|
|
18326
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressTransfersResult AWS API Documentation
|
|
18327
|
+
#
|
|
18328
|
+
class DescribeAddressTransfersResult < Struct.new(
|
|
18329
|
+
:address_transfers,
|
|
18330
|
+
:next_token)
|
|
18331
|
+
SENSITIVE = []
|
|
18332
|
+
include Aws::Structure
|
|
18333
|
+
end
|
|
18334
|
+
|
|
18140
18335
|
# @note When making an API call, you may pass DescribeAddressesAttributeRequest
|
|
18141
18336
|
# data as a hash:
|
|
18142
18337
|
#
|
|
@@ -30972,6 +31167,46 @@ module Aws::EC2
|
|
|
30972
31167
|
include Aws::Structure
|
|
30973
31168
|
end
|
|
30974
31169
|
|
|
31170
|
+
# @note When making an API call, you may pass DisableAddressTransferRequest
|
|
31171
|
+
# data as a hash:
|
|
31172
|
+
#
|
|
31173
|
+
# {
|
|
31174
|
+
# allocation_id: "AllocationId", # required
|
|
31175
|
+
# dry_run: false,
|
|
31176
|
+
# }
|
|
31177
|
+
#
|
|
31178
|
+
# @!attribute [rw] allocation_id
|
|
31179
|
+
# The allocation ID of an Elastic IP address.
|
|
31180
|
+
# @return [String]
|
|
31181
|
+
#
|
|
31182
|
+
# @!attribute [rw] dry_run
|
|
31183
|
+
# Checks whether you have the required permissions for the action,
|
|
31184
|
+
# without actually making the request, and provides an error response.
|
|
31185
|
+
# If you have the required permissions, the error response is
|
|
31186
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
31187
|
+
# @return [Boolean]
|
|
31188
|
+
#
|
|
31189
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableAddressTransferRequest AWS API Documentation
|
|
31190
|
+
#
|
|
31191
|
+
class DisableAddressTransferRequest < Struct.new(
|
|
31192
|
+
:allocation_id,
|
|
31193
|
+
:dry_run)
|
|
31194
|
+
SENSITIVE = []
|
|
31195
|
+
include Aws::Structure
|
|
31196
|
+
end
|
|
31197
|
+
|
|
31198
|
+
# @!attribute [rw] address_transfer
|
|
31199
|
+
# An Elastic IP address transfer.
|
|
31200
|
+
# @return [Types::AddressTransfer]
|
|
31201
|
+
#
|
|
31202
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableAddressTransferResult AWS API Documentation
|
|
31203
|
+
#
|
|
31204
|
+
class DisableAddressTransferResult < Struct.new(
|
|
31205
|
+
:address_transfer)
|
|
31206
|
+
SENSITIVE = []
|
|
31207
|
+
include Aws::Structure
|
|
31208
|
+
end
|
|
31209
|
+
|
|
30975
31210
|
# @note When making an API call, you may pass DisableEbsEncryptionByDefaultRequest
|
|
30976
31211
|
# data as a hash:
|
|
30977
31212
|
#
|
|
@@ -32902,6 +33137,53 @@ module Aws::EC2
|
|
|
32902
33137
|
include Aws::Structure
|
|
32903
33138
|
end
|
|
32904
33139
|
|
|
33140
|
+
# @note When making an API call, you may pass EnableAddressTransferRequest
|
|
33141
|
+
# data as a hash:
|
|
33142
|
+
#
|
|
33143
|
+
# {
|
|
33144
|
+
# allocation_id: "AllocationId", # required
|
|
33145
|
+
# transfer_account_id: "String", # required
|
|
33146
|
+
# dry_run: false,
|
|
33147
|
+
# }
|
|
33148
|
+
#
|
|
33149
|
+
# @!attribute [rw] allocation_id
|
|
33150
|
+
# The allocation ID of an Elastic IP address.
|
|
33151
|
+
# @return [String]
|
|
33152
|
+
#
|
|
33153
|
+
# @!attribute [rw] transfer_account_id
|
|
33154
|
+
# The ID of the account that you want to transfer the Elastic IP
|
|
33155
|
+
# address to.
|
|
33156
|
+
# @return [String]
|
|
33157
|
+
#
|
|
33158
|
+
# @!attribute [rw] dry_run
|
|
33159
|
+
# Checks whether you have the required permissions for the action,
|
|
33160
|
+
# without actually making the request, and provides an error response.
|
|
33161
|
+
# If you have the required permissions, the error response is
|
|
33162
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
33163
|
+
# @return [Boolean]
|
|
33164
|
+
#
|
|
33165
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableAddressTransferRequest AWS API Documentation
|
|
33166
|
+
#
|
|
33167
|
+
class EnableAddressTransferRequest < Struct.new(
|
|
33168
|
+
:allocation_id,
|
|
33169
|
+
:transfer_account_id,
|
|
33170
|
+
:dry_run)
|
|
33171
|
+
SENSITIVE = []
|
|
33172
|
+
include Aws::Structure
|
|
33173
|
+
end
|
|
33174
|
+
|
|
33175
|
+
# @!attribute [rw] address_transfer
|
|
33176
|
+
# An Elastic IP address transfer.
|
|
33177
|
+
# @return [Types::AddressTransfer]
|
|
33178
|
+
#
|
|
33179
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableAddressTransferResult AWS API Documentation
|
|
33180
|
+
#
|
|
33181
|
+
class EnableAddressTransferResult < Struct.new(
|
|
33182
|
+
:address_transfer)
|
|
33183
|
+
SENSITIVE = []
|
|
33184
|
+
include Aws::Structure
|
|
33185
|
+
end
|
|
33186
|
+
|
|
32905
33187
|
# @note When making an API call, you may pass EnableEbsEncryptionByDefaultRequest
|
|
32906
33188
|
# data as a hash:
|
|
32907
33189
|
#
|
|
@@ -37147,7 +37429,7 @@ module Aws::EC2
|
|
|
37147
37429
|
# @return [String]
|
|
37148
37430
|
#
|
|
37149
37431
|
# @!attribute [rw] resource_tag
|
|
37150
|
-
#
|
|
37432
|
+
# The resource tag.
|
|
37151
37433
|
# @return [Types::RequestIpamResourceTag]
|
|
37152
37434
|
#
|
|
37153
37435
|
# @!attribute [rw] resource_owner
|
|
@@ -50208,7 +50490,7 @@ module Aws::EC2
|
|
|
50208
50490
|
end
|
|
50209
50491
|
|
|
50210
50492
|
# @!attribute [rw] ipam_resource_cidr
|
|
50211
|
-
# The CIDR
|
|
50493
|
+
# The CIDR of the resource.
|
|
50212
50494
|
# @return [Types::IpamResourceCidr]
|
|
50213
50495
|
#
|
|
50214
50496
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpamResourceCidrResult AWS API Documentation
|
|
@@ -53103,9 +53385,7 @@ module Aws::EC2
|
|
|
53103
53385
|
end
|
|
53104
53386
|
|
|
53105
53387
|
# @!attribute [rw] byoip_cidr
|
|
53106
|
-
#
|
|
53107
|
-
# your Amazon Web Services resources through bring your own IP
|
|
53108
|
-
# addresses (BYOIP).
|
|
53388
|
+
# The BYOIP CIDR.
|
|
53109
53389
|
# @return [Types::ByoipCidr]
|
|
53110
53390
|
#
|
|
53111
53391
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveByoipCidrToIpamResult AWS API Documentation
|
|
@@ -55892,7 +56172,7 @@ module Aws::EC2
|
|
|
55892
56172
|
# @return [String]
|
|
55893
56173
|
#
|
|
55894
56174
|
# @!attribute [rw] pool_address_range
|
|
55895
|
-
#
|
|
56175
|
+
# Information about the address range of the public IPv4 pool.
|
|
55896
56176
|
# @return [Types::PublicIpv4PoolRange]
|
|
55897
56177
|
#
|
|
55898
56178
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionPublicIpv4PoolCidrResult AWS API Documentation
|
|
@@ -57568,6 +57848,19 @@ module Aws::EC2
|
|
|
57568
57848
|
# The tags assigned to the task.
|
|
57569
57849
|
# @return [Array<Types::Tag>]
|
|
57570
57850
|
#
|
|
57851
|
+
# @!attribute [rw] image_id
|
|
57852
|
+
# The ID of the AMI used to create the replacement root volume.
|
|
57853
|
+
# @return [String]
|
|
57854
|
+
#
|
|
57855
|
+
# @!attribute [rw] snapshot_id
|
|
57856
|
+
# The ID of the snapshot used to create the replacement root volume.
|
|
57857
|
+
# @return [String]
|
|
57858
|
+
#
|
|
57859
|
+
# @!attribute [rw] delete_replaced_root_volume
|
|
57860
|
+
# Indicates whether the original root volume is to be deleted after
|
|
57861
|
+
# the root volume replacement task completes.
|
|
57862
|
+
# @return [Boolean]
|
|
57863
|
+
#
|
|
57571
57864
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRootVolumeTask AWS API Documentation
|
|
57572
57865
|
#
|
|
57573
57866
|
class ReplaceRootVolumeTask < Struct.new(
|
|
@@ -57576,7 +57869,10 @@ module Aws::EC2
|
|
|
57576
57869
|
:task_state,
|
|
57577
57870
|
:start_time,
|
|
57578
57871
|
:complete_time,
|
|
57579
|
-
:tags
|
|
57872
|
+
:tags,
|
|
57873
|
+
:image_id,
|
|
57874
|
+
:snapshot_id,
|
|
57875
|
+
:delete_replaced_root_volume)
|
|
57580
57876
|
SENSITIVE = []
|
|
57581
57877
|
include Aws::Structure
|
|
57582
57878
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
|
@@ -56,7 +56,7 @@ require_relative 'aws-sdk-ec2/customizations'
|
|
|
56
56
|
# structure.
|
|
57
57
|
#
|
|
58
58
|
# ec2 = Aws::EC2::Client.new
|
|
59
|
-
# resp = ec2.
|
|
59
|
+
# resp = ec2.accept_address_transfer(params)
|
|
60
60
|
#
|
|
61
61
|
# See {Client} for more information.
|
|
62
62
|
#
|
|
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
|
|
|
76
76
|
# @!group service
|
|
77
77
|
module Aws::EC2
|
|
78
78
|
|
|
79
|
-
GEM_VERSION = '1.
|
|
79
|
+
GEM_VERSION = '1.344.0'
|
|
80
80
|
|
|
81
81
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-ec2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.344.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-10-
|
|
11
|
+
date: 2022-10-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sigv4
|