aws-sdk-ec2 1.343.0 → 1.345.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0dbab6093923da9c9f66c8e6caa56b25e2abe05076fd47adfebb7abb709d490f
4
- data.tar.gz: 916aeea7bea6bf97a945b2e1e92fa483d40cefc4a48e392c53caf5a65163c391
3
+ metadata.gz: ebd42b04d705e2ea33f8f94e3064f9658b63b953866e54143ec91e53b1e97f08
4
+ data.tar.gz: 160509c26fc1d5cb52fc7557dca753b309082df7130077307a108510202a2802
5
5
  SHA512:
6
- metadata.gz: 68a188ce1260c632cbdc2f7222f9ed4b0e7e01eb80c641776b770639e7e1d02f3ed6513b62f5eb58e150a84928b56424a048757c97eaeb040a4b9525240f1b3a
7
- data.tar.gz: 3c2d8ead1b12ff6bbdb4094aedd982f763b82159153a5912ba1bf1dae57e5665fb9e93e78444427d3caffd48cb514a9decade44b44977264f435ca35e8d1435c
6
+ metadata.gz: 24e4e60c7c2526ccf451ab7dc76af05714192745de207b8d3948a0c740f11144f32c553a29d3e9c0468c6fccfcf994e71968fe21032f0eda09c964d5562600f0
7
+ data.tar.gz: 9f59694d115e175100ef7ae1ae918c6aa6e0e05d03178df3b9c871b32e6bec29d8f2de61a727e1530ffae5175cd4f684deb94cbaac91d1554817d5f66b4d9e3c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.345.0 (2022-11-04)
5
+ ------------------
6
+
7
+ * Feature - This release adds API support for the recipient of an AMI account share to remove shared AMI launch permissions.
8
+
9
+ 1.344.0 (2022-10-31)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.343.0 (2022-10-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.343.0
1
+ 1.345.0
@@ -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`\:&lt;key&gt; - 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
  #
@@ -3574,6 +3638,49 @@ module Aws::EC2
3574
3638
  req.send_request(options)
3575
3639
  end
3576
3640
 
3641
+ # Removes your Amazon Web Services account from the launch permissions
3642
+ # for the specified AMI. For more information, see [Cancel sharing an
3643
+ # AMI with your Amazon Web Services account][1] in the *Amazon Elastic
3644
+ # Compute Cloud User Guide*.
3645
+ #
3646
+ #
3647
+ #
3648
+ # [1]: https://docs.aws.amazon.com/
3649
+ #
3650
+ # @option params [required, String] :image_id
3651
+ # The ID of the AMI that was shared with your Amazon Web Services
3652
+ # account.
3653
+ #
3654
+ # @option params [Boolean] :dry_run
3655
+ # Checks whether you have the required permissions for the action,
3656
+ # without actually making the request, and provides an error response.
3657
+ # If you have the required permissions, the error response is
3658
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
3659
+ #
3660
+ # @return [Types::CancelImageLaunchPermissionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3661
+ #
3662
+ # * {Types::CancelImageLaunchPermissionResult#return #return} => Boolean
3663
+ #
3664
+ # @example Request syntax with placeholder values
3665
+ #
3666
+ # resp = client.cancel_image_launch_permission({
3667
+ # image_id: "ImageId", # required
3668
+ # dry_run: false,
3669
+ # })
3670
+ #
3671
+ # @example Response structure
3672
+ #
3673
+ # resp.return #=> Boolean
3674
+ #
3675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImageLaunchPermission AWS API Documentation
3676
+ #
3677
+ # @overload cancel_image_launch_permission(params = {})
3678
+ # @param [Hash] params ({})
3679
+ def cancel_image_launch_permission(params = {}, options = {})
3680
+ req = build_request(:cancel_image_launch_permission, params)
3681
+ req.send_request(options)
3682
+ end
3683
+
3577
3684
  # Cancels an in-process import virtual machine or import snapshot task.
3578
3685
  #
3579
3686
  # @option params [String] :cancel_reason
@@ -17538,6 +17645,67 @@ module Aws::EC2
17538
17645
  req.send_request(options)
17539
17646
  end
17540
17647
 
17648
+ # Describes an Elastic IP address transfer. For more information, see
17649
+ # [Transfer Elastic IP addresses][1] in the *Amazon Virtual Private
17650
+ # Cloud User Guide*.
17651
+ #
17652
+ #
17653
+ #
17654
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro
17655
+ #
17656
+ # @option params [Array<String>] :allocation_ids
17657
+ # The allocation IDs of Elastic IP addresses.
17658
+ #
17659
+ # @option params [String] :next_token
17660
+ # Specify the pagination token from a previous request to retrieve the
17661
+ # next page of results.
17662
+ #
17663
+ # @option params [Integer] :max_results
17664
+ # The maximum number of address transfers to return in one page of
17665
+ # results.
17666
+ #
17667
+ # @option params [Boolean] :dry_run
17668
+ # Checks whether you have the required permissions for the action,
17669
+ # without actually making the request, and provides an error response.
17670
+ # If you have the required permissions, the error response is
17671
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
17672
+ #
17673
+ # @return [Types::DescribeAddressTransfersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
17674
+ #
17675
+ # * {Types::DescribeAddressTransfersResult#address_transfers #address_transfers} => Array&lt;Types::AddressTransfer&gt;
17676
+ # * {Types::DescribeAddressTransfersResult#next_token #next_token} => String
17677
+ #
17678
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
17679
+ #
17680
+ # @example Request syntax with placeholder values
17681
+ #
17682
+ # resp = client.describe_address_transfers({
17683
+ # allocation_ids: ["AllocationId"],
17684
+ # next_token: "String",
17685
+ # max_results: 1,
17686
+ # dry_run: false,
17687
+ # })
17688
+ #
17689
+ # @example Response structure
17690
+ #
17691
+ # resp.address_transfers #=> Array
17692
+ # resp.address_transfers[0].public_ip #=> String
17693
+ # resp.address_transfers[0].allocation_id #=> String
17694
+ # resp.address_transfers[0].transfer_account_id #=> String
17695
+ # resp.address_transfers[0].transfer_offer_expiration_timestamp #=> Time
17696
+ # resp.address_transfers[0].transfer_offer_accepted_timestamp #=> Time
17697
+ # resp.address_transfers[0].address_transfer_status #=> String, one of "pending", "disabled", "accepted"
17698
+ # resp.next_token #=> String
17699
+ #
17700
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressTransfers AWS API Documentation
17701
+ #
17702
+ # @overload describe_address_transfers(params = {})
17703
+ # @param [Hash] params ({})
17704
+ def describe_address_transfers(params = {}, options = {})
17705
+ req = build_request(:describe_address_transfers, params)
17706
+ req.send_request(options)
17707
+ end
17708
+
17541
17709
  # Describes the specified Elastic IP addresses or all of your Elastic IP
17542
17710
  # addresses.
17543
17711
  #
@@ -34210,6 +34378,52 @@ module Aws::EC2
34210
34378
  req.send_request(options)
34211
34379
  end
34212
34380
 
34381
+ # Disables Elastic IP address transfer. For more information, see
34382
+ # [Transfer Elastic IP addresses][1] in the *Amazon Virtual Private
34383
+ # Cloud User Guide*.
34384
+ #
34385
+ #
34386
+ #
34387
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro
34388
+ #
34389
+ # @option params [required, String] :allocation_id
34390
+ # The allocation ID of an Elastic IP address.
34391
+ #
34392
+ # @option params [Boolean] :dry_run
34393
+ # Checks whether you have the required permissions for the action,
34394
+ # without actually making the request, and provides an error response.
34395
+ # If you have the required permissions, the error response is
34396
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
34397
+ #
34398
+ # @return [Types::DisableAddressTransferResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
34399
+ #
34400
+ # * {Types::DisableAddressTransferResult#address_transfer #address_transfer} => Types::AddressTransfer
34401
+ #
34402
+ # @example Request syntax with placeholder values
34403
+ #
34404
+ # resp = client.disable_address_transfer({
34405
+ # allocation_id: "AllocationId", # required
34406
+ # dry_run: false,
34407
+ # })
34408
+ #
34409
+ # @example Response structure
34410
+ #
34411
+ # resp.address_transfer.public_ip #=> String
34412
+ # resp.address_transfer.allocation_id #=> String
34413
+ # resp.address_transfer.transfer_account_id #=> String
34414
+ # resp.address_transfer.transfer_offer_expiration_timestamp #=> Time
34415
+ # resp.address_transfer.transfer_offer_accepted_timestamp #=> Time
34416
+ # resp.address_transfer.address_transfer_status #=> String, one of "pending", "disabled", "accepted"
34417
+ #
34418
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableAddressTransfer AWS API Documentation
34419
+ #
34420
+ # @overload disable_address_transfer(params = {})
34421
+ # @param [Hash] params ({})
34422
+ def disable_address_transfer(params = {}, options = {})
34423
+ req = build_request(:disable_address_transfer, params)
34424
+ req.send_request(options)
34425
+ end
34426
+
34213
34427
  # Disables EBS encryption by default for your account in the current
34214
34428
  # Region.
34215
34429
  #
@@ -35316,6 +35530,57 @@ module Aws::EC2
35316
35530
  req.send_request(options)
35317
35531
  end
35318
35532
 
35533
+ # Enables Elastic IP address transfer. For more information, see
35534
+ # [Transfer Elastic IP addresses][1] in the *Amazon Virtual Private
35535
+ # Cloud User Guide*.
35536
+ #
35537
+ #
35538
+ #
35539
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro
35540
+ #
35541
+ # @option params [required, String] :allocation_id
35542
+ # The allocation ID of an Elastic IP address.
35543
+ #
35544
+ # @option params [required, String] :transfer_account_id
35545
+ # The ID of the account that you want to transfer the Elastic IP address
35546
+ # to.
35547
+ #
35548
+ # @option params [Boolean] :dry_run
35549
+ # Checks whether you have the required permissions for the action,
35550
+ # without actually making the request, and provides an error response.
35551
+ # If you have the required permissions, the error response is
35552
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
35553
+ #
35554
+ # @return [Types::EnableAddressTransferResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
35555
+ #
35556
+ # * {Types::EnableAddressTransferResult#address_transfer #address_transfer} => Types::AddressTransfer
35557
+ #
35558
+ # @example Request syntax with placeholder values
35559
+ #
35560
+ # resp = client.enable_address_transfer({
35561
+ # allocation_id: "AllocationId", # required
35562
+ # transfer_account_id: "String", # required
35563
+ # dry_run: false,
35564
+ # })
35565
+ #
35566
+ # @example Response structure
35567
+ #
35568
+ # resp.address_transfer.public_ip #=> String
35569
+ # resp.address_transfer.allocation_id #=> String
35570
+ # resp.address_transfer.transfer_account_id #=> String
35571
+ # resp.address_transfer.transfer_offer_expiration_timestamp #=> Time
35572
+ # resp.address_transfer.transfer_offer_accepted_timestamp #=> Time
35573
+ # resp.address_transfer.address_transfer_status #=> String, one of "pending", "disabled", "accepted"
35574
+ #
35575
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableAddressTransfer AWS API Documentation
35576
+ #
35577
+ # @overload enable_address_transfer(params = {})
35578
+ # @param [Hash] params ({})
35579
+ def enable_address_transfer(params = {}, options = {})
35580
+ req = build_request(:enable_address_transfer, params)
35581
+ req.send_request(options)
35582
+ end
35583
+
35319
35584
  # Enables EBS encryption by default for your account in the current
35320
35585
  # Region.
35321
35586
  #
@@ -35552,7 +35817,8 @@ module Aws::EC2
35552
35817
  # seconds, Amazon EC2 rounds the seconds to the nearest minute.
35553
35818
  #
35554
35819
  # You can’t specify a date in the past. The upper limit for
35555
- # `DeprecateAt` is 10 years from now.
35820
+ # `DeprecateAt` is 10 years from now, except for public AMIs, where the
35821
+ # upper limit is 2 years from the creation date.
35556
35822
  #
35557
35823
  # @option params [Boolean] :dry_run
35558
35824
  # Checks whether you have the required permissions for the action,
@@ -37277,7 +37543,7 @@ module Aws::EC2
37277
37543
  # The resource type.
37278
37544
  #
37279
37545
  # @option params [Types::RequestIpamResourceTag] :resource_tag
37280
- # A tag on an IPAM resource.
37546
+ # The resource tag.
37281
37547
  #
37282
37548
  # @option params [String] :resource_owner
37283
37549
  # The ID of the Amazon Web Services account that owns the resource.
@@ -52211,7 +52477,7 @@ module Aws::EC2
52211
52477
  params: params,
52212
52478
  config: config)
52213
52479
  context[:gem_name] = 'aws-sdk-ec2'
52214
- context[:gem_version] = '1.343.0'
52480
+ context[:gem_version] = '1.345.0'
52215
52481
  Seahorse::Client::Request.new(handlers, context)
52216
52482
  end
52217
52483
 
@@ -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')
@@ -220,6 +225,8 @@ module Aws::EC2
220
225
  CancelCapacityReservationResult = Shapes::StructureShape.new(name: 'CancelCapacityReservationResult')
221
226
  CancelConversionRequest = Shapes::StructureShape.new(name: 'CancelConversionRequest')
222
227
  CancelExportTaskRequest = Shapes::StructureShape.new(name: 'CancelExportTaskRequest')
228
+ CancelImageLaunchPermissionRequest = Shapes::StructureShape.new(name: 'CancelImageLaunchPermissionRequest')
229
+ CancelImageLaunchPermissionResult = Shapes::StructureShape.new(name: 'CancelImageLaunchPermissionResult')
223
230
  CancelImportTaskRequest = Shapes::StructureShape.new(name: 'CancelImportTaskRequest')
224
231
  CancelImportTaskResult = Shapes::StructureShape.new(name: 'CancelImportTaskResult')
225
232
  CancelReservedInstancesListingRequest = Shapes::StructureShape.new(name: 'CancelReservedInstancesListingRequest')
@@ -676,6 +683,9 @@ module Aws::EC2
676
683
  DeregisterTransitGatewayMulticastGroupSourcesResult = Shapes::StructureShape.new(name: 'DeregisterTransitGatewayMulticastGroupSourcesResult')
677
684
  DescribeAccountAttributesRequest = Shapes::StructureShape.new(name: 'DescribeAccountAttributesRequest')
678
685
  DescribeAccountAttributesResult = Shapes::StructureShape.new(name: 'DescribeAccountAttributesResult')
686
+ DescribeAddressTransfersMaxResults = Shapes::IntegerShape.new(name: 'DescribeAddressTransfersMaxResults')
687
+ DescribeAddressTransfersRequest = Shapes::StructureShape.new(name: 'DescribeAddressTransfersRequest')
688
+ DescribeAddressTransfersResult = Shapes::StructureShape.new(name: 'DescribeAddressTransfersResult')
679
689
  DescribeAddressesAttributeRequest = Shapes::StructureShape.new(name: 'DescribeAddressesAttributeRequest')
680
690
  DescribeAddressesAttributeResult = Shapes::StructureShape.new(name: 'DescribeAddressesAttributeResult')
681
691
  DescribeAddressesRequest = Shapes::StructureShape.new(name: 'DescribeAddressesRequest')
@@ -1014,6 +1024,8 @@ module Aws::EC2
1014
1024
  DhcpOptionsList = Shapes::ListShape.new(name: 'DhcpOptionsList')
1015
1025
  DirectoryServiceAuthentication = Shapes::StructureShape.new(name: 'DirectoryServiceAuthentication')
1016
1026
  DirectoryServiceAuthenticationRequest = Shapes::StructureShape.new(name: 'DirectoryServiceAuthenticationRequest')
1027
+ DisableAddressTransferRequest = Shapes::StructureShape.new(name: 'DisableAddressTransferRequest')
1028
+ DisableAddressTransferResult = Shapes::StructureShape.new(name: 'DisableAddressTransferResult')
1017
1029
  DisableEbsEncryptionByDefaultRequest = Shapes::StructureShape.new(name: 'DisableEbsEncryptionByDefaultRequest')
1018
1030
  DisableEbsEncryptionByDefaultResult = Shapes::StructureShape.new(name: 'DisableEbsEncryptionByDefaultResult')
1019
1031
  DisableFastLaunchRequest = Shapes::StructureShape.new(name: 'DisableFastLaunchRequest')
@@ -1120,6 +1132,8 @@ module Aws::EC2
1120
1132
  ElasticInferenceAccelerators = Shapes::ListShape.new(name: 'ElasticInferenceAccelerators')
1121
1133
  ElasticIpAssociationId = Shapes::StringShape.new(name: 'ElasticIpAssociationId')
1122
1134
  EnaSupport = Shapes::StringShape.new(name: 'EnaSupport')
1135
+ EnableAddressTransferRequest = Shapes::StructureShape.new(name: 'EnableAddressTransferRequest')
1136
+ EnableAddressTransferResult = Shapes::StructureShape.new(name: 'EnableAddressTransferResult')
1123
1137
  EnableEbsEncryptionByDefaultRequest = Shapes::StructureShape.new(name: 'EnableEbsEncryptionByDefaultRequest')
1124
1138
  EnableEbsEncryptionByDefaultResult = Shapes::StructureShape.new(name: 'EnableEbsEncryptionByDefaultResult')
1125
1139
  EnableFastLaunchRequest = Shapes::StructureShape.new(name: 'EnableFastLaunchRequest')
@@ -2790,6 +2804,14 @@ module Aws::EC2
2790
2804
 
2791
2805
  AcceleratorTypeSet.member = Shapes::ShapeRef.new(shape: AcceleratorType, location_name: "item")
2792
2806
 
2807
+ AcceptAddressTransferRequest.add_member(:address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Address"))
2808
+ AcceptAddressTransferRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
2809
+ AcceptAddressTransferRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
2810
+ AcceptAddressTransferRequest.struct_class = Types::AcceptAddressTransferRequest
2811
+
2812
+ AcceptAddressTransferResult.add_member(:address_transfer, Shapes::ShapeRef.new(shape: AddressTransfer, location_name: "addressTransfer"))
2813
+ AcceptAddressTransferResult.struct_class = Types::AcceptAddressTransferResult
2814
+
2793
2815
  AcceptReservedInstancesExchangeQuoteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
2794
2816
  AcceptReservedInstancesExchangeQuoteRequest.add_member(:reserved_instance_ids, Shapes::ShapeRef.new(shape: ReservedInstanceIdSet, required: true, location_name: "ReservedInstanceId"))
2795
2817
  AcceptReservedInstancesExchangeQuoteRequest.add_member(:target_configurations, Shapes::ShapeRef.new(shape: TargetConfigurationRequestSet, location_name: "TargetConfiguration"))
@@ -2930,6 +2952,16 @@ module Aws::EC2
2930
2952
 
2931
2953
  AddressSet.member = Shapes::ShapeRef.new(shape: AddressAttribute, location_name: "item")
2932
2954
 
2955
+ AddressTransfer.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
2956
+ AddressTransfer.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
2957
+ AddressTransfer.add_member(:transfer_account_id, Shapes::ShapeRef.new(shape: String, location_name: "transferAccountId"))
2958
+ AddressTransfer.add_member(:transfer_offer_expiration_timestamp, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "transferOfferExpirationTimestamp"))
2959
+ AddressTransfer.add_member(:transfer_offer_accepted_timestamp, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "transferOfferAcceptedTimestamp"))
2960
+ AddressTransfer.add_member(:address_transfer_status, Shapes::ShapeRef.new(shape: AddressTransferStatus, location_name: "addressTransferStatus"))
2961
+ AddressTransfer.struct_class = Types::AddressTransfer
2962
+
2963
+ AddressTransferList.member = Shapes::ShapeRef.new(shape: AddressTransfer, location_name: "item")
2964
+
2933
2965
  AdvertiseByoipCidrRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Cidr"))
2934
2966
  AdvertiseByoipCidrRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
2935
2967
  AdvertiseByoipCidrRequest.struct_class = Types::AdvertiseByoipCidrRequest
@@ -3473,6 +3505,13 @@ module Aws::EC2
3473
3505
  CancelExportTaskRequest.add_member(:export_task_id, Shapes::ShapeRef.new(shape: ExportVmTaskId, required: true, location_name: "exportTaskId"))
3474
3506
  CancelExportTaskRequest.struct_class = Types::CancelExportTaskRequest
3475
3507
 
3508
+ CancelImageLaunchPermissionRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
3509
+ CancelImageLaunchPermissionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3510
+ CancelImageLaunchPermissionRequest.struct_class = Types::CancelImageLaunchPermissionRequest
3511
+
3512
+ CancelImageLaunchPermissionResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
3513
+ CancelImageLaunchPermissionResult.struct_class = Types::CancelImageLaunchPermissionResult
3514
+
3476
3515
  CancelImportTaskRequest.add_member(:cancel_reason, Shapes::ShapeRef.new(shape: String, location_name: "CancelReason"))
3477
3516
  CancelImportTaskRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3478
3517
  CancelImportTaskRequest.add_member(:import_task_id, Shapes::ShapeRef.new(shape: ImportTaskId, location_name: "ImportTaskId"))
@@ -5410,6 +5449,16 @@ module Aws::EC2
5410
5449
  DescribeAccountAttributesResult.add_member(:account_attributes, Shapes::ShapeRef.new(shape: AccountAttributeList, location_name: "accountAttributeSet"))
5411
5450
  DescribeAccountAttributesResult.struct_class = Types::DescribeAccountAttributesResult
5412
5451
 
5452
+ DescribeAddressTransfersRequest.add_member(:allocation_ids, Shapes::ShapeRef.new(shape: AllocationIdList, location_name: "AllocationId"))
5453
+ DescribeAddressTransfersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
5454
+ DescribeAddressTransfersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeAddressTransfersMaxResults, location_name: "MaxResults"))
5455
+ DescribeAddressTransfersRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5456
+ DescribeAddressTransfersRequest.struct_class = Types::DescribeAddressTransfersRequest
5457
+
5458
+ DescribeAddressTransfersResult.add_member(:address_transfers, Shapes::ShapeRef.new(shape: AddressTransferList, location_name: "addressTransferSet"))
5459
+ DescribeAddressTransfersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
5460
+ DescribeAddressTransfersResult.struct_class = Types::DescribeAddressTransfersResult
5461
+
5413
5462
  DescribeAddressesAttributeRequest.add_member(:allocation_ids, Shapes::ShapeRef.new(shape: AllocationIds, location_name: "AllocationId"))
5414
5463
  DescribeAddressesAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: AddressAttributeName, location_name: "Attribute"))
5415
5464
  DescribeAddressesAttributeRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -6946,6 +6995,13 @@ module Aws::EC2
6946
6995
  DirectoryServiceAuthenticationRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: String, location_name: "DirectoryId"))
6947
6996
  DirectoryServiceAuthenticationRequest.struct_class = Types::DirectoryServiceAuthenticationRequest
6948
6997
 
6998
+ DisableAddressTransferRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
6999
+ DisableAddressTransferRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
7000
+ DisableAddressTransferRequest.struct_class = Types::DisableAddressTransferRequest
7001
+
7002
+ DisableAddressTransferResult.add_member(:address_transfer, Shapes::ShapeRef.new(shape: AddressTransfer, location_name: "addressTransfer"))
7003
+ DisableAddressTransferResult.struct_class = Types::DisableAddressTransferResult
7004
+
6949
7005
  DisableEbsEncryptionByDefaultRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6950
7006
  DisableEbsEncryptionByDefaultRequest.struct_class = Types::DisableEbsEncryptionByDefaultRequest
6951
7007
 
@@ -7286,6 +7342,14 @@ module Aws::EC2
7286
7342
 
7287
7343
  ElasticInferenceAccelerators.member = Shapes::ShapeRef.new(shape: ElasticInferenceAccelerator, location_name: "item")
7288
7344
 
7345
+ EnableAddressTransferRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
7346
+ EnableAddressTransferRequest.add_member(:transfer_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TransferAccountId"))
7347
+ EnableAddressTransferRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
7348
+ EnableAddressTransferRequest.struct_class = Types::EnableAddressTransferRequest
7349
+
7350
+ EnableAddressTransferResult.add_member(:address_transfer, Shapes::ShapeRef.new(shape: AddressTransfer, location_name: "addressTransfer"))
7351
+ EnableAddressTransferResult.struct_class = Types::EnableAddressTransferResult
7352
+
7289
7353
  EnableEbsEncryptionByDefaultRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
7290
7354
  EnableEbsEncryptionByDefaultRequest.struct_class = Types::EnableEbsEncryptionByDefaultRequest
7291
7355
 
@@ -13671,6 +13735,14 @@ module Aws::EC2
13671
13735
  "xmlNamespace" => "http://ec2.amazonaws.com/doc/2016-11-15",
13672
13736
  }
13673
13737
 
13738
+ api.add_operation(:accept_address_transfer, Seahorse::Model::Operation.new.tap do |o|
13739
+ o.name = "AcceptAddressTransfer"
13740
+ o.http_method = "POST"
13741
+ o.http_request_uri = "/"
13742
+ o.input = Shapes::ShapeRef.new(shape: AcceptAddressTransferRequest)
13743
+ o.output = Shapes::ShapeRef.new(shape: AcceptAddressTransferResult)
13744
+ end)
13745
+
13674
13746
  api.add_operation(:accept_reserved_instances_exchange_quote, Seahorse::Model::Operation.new.tap do |o|
13675
13747
  o.name = "AcceptReservedInstancesExchangeQuote"
13676
13748
  o.http_method = "POST"
@@ -13991,6 +14063,14 @@ module Aws::EC2
13991
14063
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
13992
14064
  end)
13993
14065
 
14066
+ api.add_operation(:cancel_image_launch_permission, Seahorse::Model::Operation.new.tap do |o|
14067
+ o.name = "CancelImageLaunchPermission"
14068
+ o.http_method = "POST"
14069
+ o.http_request_uri = "/"
14070
+ o.input = Shapes::ShapeRef.new(shape: CancelImageLaunchPermissionRequest)
14071
+ o.output = Shapes::ShapeRef.new(shape: CancelImageLaunchPermissionResult)
14072
+ end)
14073
+
13994
14074
  api.add_operation(:cancel_import_task, Seahorse::Model::Operation.new.tap do |o|
13995
14075
  o.name = "CancelImportTask"
13996
14076
  o.http_method = "POST"
@@ -15271,6 +15351,20 @@ module Aws::EC2
15271
15351
  o.output = Shapes::ShapeRef.new(shape: DescribeAccountAttributesResult)
15272
15352
  end)
15273
15353
 
15354
+ api.add_operation(:describe_address_transfers, Seahorse::Model::Operation.new.tap do |o|
15355
+ o.name = "DescribeAddressTransfers"
15356
+ o.http_method = "POST"
15357
+ o.http_request_uri = "/"
15358
+ o.input = Shapes::ShapeRef.new(shape: DescribeAddressTransfersRequest)
15359
+ o.output = Shapes::ShapeRef.new(shape: DescribeAddressTransfersResult)
15360
+ o[:pager] = Aws::Pager.new(
15361
+ limit_key: "max_results",
15362
+ tokens: {
15363
+ "next_token" => "next_token"
15364
+ }
15365
+ )
15366
+ end)
15367
+
15274
15368
  api.add_operation(:describe_addresses, Seahorse::Model::Operation.new.tap do |o|
15275
15369
  o.name = "DescribeAddresses"
15276
15370
  o.http_method = "POST"
@@ -16982,6 +17076,14 @@ module Aws::EC2
16982
17076
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
16983
17077
  end)
16984
17078
 
17079
+ api.add_operation(:disable_address_transfer, Seahorse::Model::Operation.new.tap do |o|
17080
+ o.name = "DisableAddressTransfer"
17081
+ o.http_method = "POST"
17082
+ o.http_request_uri = "/"
17083
+ o.input = Shapes::ShapeRef.new(shape: DisableAddressTransferRequest)
17084
+ o.output = Shapes::ShapeRef.new(shape: DisableAddressTransferResult)
17085
+ end)
17086
+
16985
17087
  api.add_operation(:disable_ebs_encryption_by_default, Seahorse::Model::Operation.new.tap do |o|
16986
17088
  o.name = "DisableEbsEncryptionByDefault"
16987
17089
  o.http_method = "POST"
@@ -17158,6 +17260,14 @@ module Aws::EC2
17158
17260
  o.output = Shapes::ShapeRef.new(shape: DisassociateVpcCidrBlockResult)
17159
17261
  end)
17160
17262
 
17263
+ api.add_operation(:enable_address_transfer, Seahorse::Model::Operation.new.tap do |o|
17264
+ o.name = "EnableAddressTransfer"
17265
+ o.http_method = "POST"
17266
+ o.http_request_uri = "/"
17267
+ o.input = Shapes::ShapeRef.new(shape: EnableAddressTransferRequest)
17268
+ o.output = Shapes::ShapeRef.new(shape: EnableAddressTransferResult)
17269
+ end)
17270
+
17161
17271
  api.add_operation(:enable_ebs_encryption_by_default, Seahorse::Model::Operation.new.tap do |o|
17162
17272
  o.name = "EnableEbsEncryptionByDefault"
17163
17273
  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
@@ -571,6 +585,20 @@ module Aws::EC2
571
585
  end
572
586
  end
573
587
 
588
+ class CancelImageLaunchPermission
589
+ def self.build(context)
590
+ unless context.config.regional_endpoint
591
+ endpoint = context.config.endpoint.to_s
592
+ end
593
+ Aws::EC2::EndpointParameters.new(
594
+ region: context.config.region,
595
+ use_dual_stack: context.config.use_dualstack_endpoint,
596
+ use_fips: context.config.use_fips_endpoint,
597
+ endpoint: endpoint,
598
+ )
599
+ end
600
+ end
601
+
574
602
  class CancelImportTask
575
603
  def self.build(context)
576
604
  unless context.config.regional_endpoint
@@ -2811,6 +2839,20 @@ module Aws::EC2
2811
2839
  end
2812
2840
  end
2813
2841
 
2842
+ class DescribeAddressTransfers
2843
+ def self.build(context)
2844
+ unless context.config.regional_endpoint
2845
+ endpoint = context.config.endpoint.to_s
2846
+ end
2847
+ Aws::EC2::EndpointParameters.new(
2848
+ region: context.config.region,
2849
+ use_dual_stack: context.config.use_dualstack_endpoint,
2850
+ use_fips: context.config.use_fips_endpoint,
2851
+ endpoint: endpoint,
2852
+ )
2853
+ end
2854
+ end
2855
+
2814
2856
  class DescribeAddresses
2815
2857
  def self.build(context)
2816
2858
  unless context.config.regional_endpoint
@@ -4757,6 +4799,20 @@ module Aws::EC2
4757
4799
  end
4758
4800
  end
4759
4801
 
4802
+ class DisableAddressTransfer
4803
+ def self.build(context)
4804
+ unless context.config.regional_endpoint
4805
+ endpoint = context.config.endpoint.to_s
4806
+ end
4807
+ Aws::EC2::EndpointParameters.new(
4808
+ region: context.config.region,
4809
+ use_dual_stack: context.config.use_dualstack_endpoint,
4810
+ use_fips: context.config.use_fips_endpoint,
4811
+ endpoint: endpoint,
4812
+ )
4813
+ end
4814
+ end
4815
+
4760
4816
  class DisableEbsEncryptionByDefault
4761
4817
  def self.build(context)
4762
4818
  unless context.config.regional_endpoint
@@ -5065,6 +5121,20 @@ module Aws::EC2
5065
5121
  end
5066
5122
  end
5067
5123
 
5124
+ class EnableAddressTransfer
5125
+ def self.build(context)
5126
+ unless context.config.regional_endpoint
5127
+ endpoint = context.config.endpoint.to_s
5128
+ end
5129
+ Aws::EC2::EndpointParameters.new(
5130
+ region: context.config.region,
5131
+ use_dual_stack: context.config.use_dualstack_endpoint,
5132
+ use_fips: context.config.use_fips_endpoint,
5133
+ endpoint: endpoint,
5134
+ )
5135
+ end
5136
+ end
5137
+
5068
5138
  class EnableEbsEncryptionByDefault
5069
5139
  def self.build(context)
5070
5140
  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
@@ -136,6 +138,8 @@ module Aws::EC2
136
138
  Aws::EC2::Endpoints::CancelConversionTask.build(context)
137
139
  when :cancel_export_task
138
140
  Aws::EC2::Endpoints::CancelExportTask.build(context)
141
+ when :cancel_image_launch_permission
142
+ Aws::EC2::Endpoints::CancelImageLaunchPermission.build(context)
139
143
  when :cancel_import_task
140
144
  Aws::EC2::Endpoints::CancelImportTask.build(context)
141
145
  when :cancel_reserved_instances_listing
@@ -456,6 +460,8 @@ module Aws::EC2
456
460
  Aws::EC2::Endpoints::DeregisterTransitGatewayMulticastGroupSources.build(context)
457
461
  when :describe_account_attributes
458
462
  Aws::EC2::Endpoints::DescribeAccountAttributes.build(context)
463
+ when :describe_address_transfers
464
+ Aws::EC2::Endpoints::DescribeAddressTransfers.build(context)
459
465
  when :describe_addresses
460
466
  Aws::EC2::Endpoints::DescribeAddresses.build(context)
461
467
  when :describe_addresses_attribute
@@ -734,6 +740,8 @@ module Aws::EC2
734
740
  Aws::EC2::Endpoints::DetachVolume.build(context)
735
741
  when :detach_vpn_gateway
736
742
  Aws::EC2::Endpoints::DetachVpnGateway.build(context)
743
+ when :disable_address_transfer
744
+ Aws::EC2::Endpoints::DisableAddressTransfer.build(context)
737
745
  when :disable_ebs_encryption_by_default
738
746
  Aws::EC2::Endpoints::DisableEbsEncryptionByDefault.build(context)
739
747
  when :disable_fast_launch
@@ -778,6 +786,8 @@ module Aws::EC2
778
786
  Aws::EC2::Endpoints::DisassociateTrunkInterface.build(context)
779
787
  when :disassociate_vpc_cidr_block
780
788
  Aws::EC2::Endpoints::DisassociateVpcCidrBlock.build(context)
789
+ when :enable_address_transfer
790
+ Aws::EC2::Endpoints::EnableAddressTransfer.build(context)
781
791
  when :enable_ebs_encryption_by_default
782
792
  Aws::EC2::Endpoints::EnableEbsEncryptionByDefault.build(context)
783
793
  when :enable_fast_launch
@@ -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`\:&lt;key&gt; - 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
  #
@@ -4129,6 +4238,48 @@ module Aws::EC2
4129
4238
  include Aws::Structure
4130
4239
  end
4131
4240
 
4241
+ # @note When making an API call, you may pass CancelImageLaunchPermissionRequest
4242
+ # data as a hash:
4243
+ #
4244
+ # {
4245
+ # image_id: "ImageId", # required
4246
+ # dry_run: false,
4247
+ # }
4248
+ #
4249
+ # @!attribute [rw] image_id
4250
+ # The ID of the AMI that was shared with your Amazon Web Services
4251
+ # account.
4252
+ # @return [String]
4253
+ #
4254
+ # @!attribute [rw] dry_run
4255
+ # Checks whether you have the required permissions for the action,
4256
+ # without actually making the request, and provides an error response.
4257
+ # If you have the required permissions, the error response is
4258
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
4259
+ # @return [Boolean]
4260
+ #
4261
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImageLaunchPermissionRequest AWS API Documentation
4262
+ #
4263
+ class CancelImageLaunchPermissionRequest < Struct.new(
4264
+ :image_id,
4265
+ :dry_run)
4266
+ SENSITIVE = []
4267
+ include Aws::Structure
4268
+ end
4269
+
4270
+ # @!attribute [rw] return
4271
+ # Returns `true` if the request succeeds; otherwise, it returns an
4272
+ # error.
4273
+ # @return [Boolean]
4274
+ #
4275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImageLaunchPermissionResult AWS API Documentation
4276
+ #
4277
+ class CancelImageLaunchPermissionResult < Struct.new(
4278
+ :return)
4279
+ SENSITIVE = []
4280
+ include Aws::Structure
4281
+ end
4282
+
4132
4283
  # @note When making an API call, you may pass CancelImportTaskRequest
4133
4284
  # data as a hash:
4134
4285
  #
@@ -18163,6 +18314,66 @@ module Aws::EC2
18163
18314
  include Aws::Structure
18164
18315
  end
18165
18316
 
18317
+ # @note When making an API call, you may pass DescribeAddressTransfersRequest
18318
+ # data as a hash:
18319
+ #
18320
+ # {
18321
+ # allocation_ids: ["AllocationId"],
18322
+ # next_token: "String",
18323
+ # max_results: 1,
18324
+ # dry_run: false,
18325
+ # }
18326
+ #
18327
+ # @!attribute [rw] allocation_ids
18328
+ # The allocation IDs of Elastic IP addresses.
18329
+ # @return [Array<String>]
18330
+ #
18331
+ # @!attribute [rw] next_token
18332
+ # Specify the pagination token from a previous request to retrieve the
18333
+ # next page of results.
18334
+ # @return [String]
18335
+ #
18336
+ # @!attribute [rw] max_results
18337
+ # The maximum number of address transfers to return in one page of
18338
+ # results.
18339
+ # @return [Integer]
18340
+ #
18341
+ # @!attribute [rw] dry_run
18342
+ # Checks whether you have the required permissions for the action,
18343
+ # without actually making the request, and provides an error response.
18344
+ # If you have the required permissions, the error response is
18345
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18346
+ # @return [Boolean]
18347
+ #
18348
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressTransfersRequest AWS API Documentation
18349
+ #
18350
+ class DescribeAddressTransfersRequest < Struct.new(
18351
+ :allocation_ids,
18352
+ :next_token,
18353
+ :max_results,
18354
+ :dry_run)
18355
+ SENSITIVE = []
18356
+ include Aws::Structure
18357
+ end
18358
+
18359
+ # @!attribute [rw] address_transfers
18360
+ # The Elastic IP address transfer.
18361
+ # @return [Array<Types::AddressTransfer>]
18362
+ #
18363
+ # @!attribute [rw] next_token
18364
+ # Specify the pagination token from a previous request to retrieve the
18365
+ # next page of results.
18366
+ # @return [String]
18367
+ #
18368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressTransfersResult AWS API Documentation
18369
+ #
18370
+ class DescribeAddressTransfersResult < Struct.new(
18371
+ :address_transfers,
18372
+ :next_token)
18373
+ SENSITIVE = []
18374
+ include Aws::Structure
18375
+ end
18376
+
18166
18377
  # @note When making an API call, you may pass DescribeAddressesAttributeRequest
18167
18378
  # data as a hash:
18168
18379
  #
@@ -30998,6 +31209,46 @@ module Aws::EC2
30998
31209
  include Aws::Structure
30999
31210
  end
31000
31211
 
31212
+ # @note When making an API call, you may pass DisableAddressTransferRequest
31213
+ # data as a hash:
31214
+ #
31215
+ # {
31216
+ # allocation_id: "AllocationId", # required
31217
+ # dry_run: false,
31218
+ # }
31219
+ #
31220
+ # @!attribute [rw] allocation_id
31221
+ # The allocation ID of an Elastic IP address.
31222
+ # @return [String]
31223
+ #
31224
+ # @!attribute [rw] dry_run
31225
+ # Checks whether you have the required permissions for the action,
31226
+ # without actually making the request, and provides an error response.
31227
+ # If you have the required permissions, the error response is
31228
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
31229
+ # @return [Boolean]
31230
+ #
31231
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableAddressTransferRequest AWS API Documentation
31232
+ #
31233
+ class DisableAddressTransferRequest < Struct.new(
31234
+ :allocation_id,
31235
+ :dry_run)
31236
+ SENSITIVE = []
31237
+ include Aws::Structure
31238
+ end
31239
+
31240
+ # @!attribute [rw] address_transfer
31241
+ # An Elastic IP address transfer.
31242
+ # @return [Types::AddressTransfer]
31243
+ #
31244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableAddressTransferResult AWS API Documentation
31245
+ #
31246
+ class DisableAddressTransferResult < Struct.new(
31247
+ :address_transfer)
31248
+ SENSITIVE = []
31249
+ include Aws::Structure
31250
+ end
31251
+
31001
31252
  # @note When making an API call, you may pass DisableEbsEncryptionByDefaultRequest
31002
31253
  # data as a hash:
31003
31254
  #
@@ -32928,6 +33179,53 @@ module Aws::EC2
32928
33179
  include Aws::Structure
32929
33180
  end
32930
33181
 
33182
+ # @note When making an API call, you may pass EnableAddressTransferRequest
33183
+ # data as a hash:
33184
+ #
33185
+ # {
33186
+ # allocation_id: "AllocationId", # required
33187
+ # transfer_account_id: "String", # required
33188
+ # dry_run: false,
33189
+ # }
33190
+ #
33191
+ # @!attribute [rw] allocation_id
33192
+ # The allocation ID of an Elastic IP address.
33193
+ # @return [String]
33194
+ #
33195
+ # @!attribute [rw] transfer_account_id
33196
+ # The ID of the account that you want to transfer the Elastic IP
33197
+ # address to.
33198
+ # @return [String]
33199
+ #
33200
+ # @!attribute [rw] dry_run
33201
+ # Checks whether you have the required permissions for the action,
33202
+ # without actually making the request, and provides an error response.
33203
+ # If you have the required permissions, the error response is
33204
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
33205
+ # @return [Boolean]
33206
+ #
33207
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableAddressTransferRequest AWS API Documentation
33208
+ #
33209
+ class EnableAddressTransferRequest < Struct.new(
33210
+ :allocation_id,
33211
+ :transfer_account_id,
33212
+ :dry_run)
33213
+ SENSITIVE = []
33214
+ include Aws::Structure
33215
+ end
33216
+
33217
+ # @!attribute [rw] address_transfer
33218
+ # An Elastic IP address transfer.
33219
+ # @return [Types::AddressTransfer]
33220
+ #
33221
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableAddressTransferResult AWS API Documentation
33222
+ #
33223
+ class EnableAddressTransferResult < Struct.new(
33224
+ :address_transfer)
33225
+ SENSITIVE = []
33226
+ include Aws::Structure
33227
+ end
33228
+
32931
33229
  # @note When making an API call, you may pass EnableEbsEncryptionByDefaultRequest
32932
33230
  # data as a hash:
32933
33231
  #
@@ -33301,7 +33599,8 @@ module Aws::EC2
33301
33599
  # for seconds, Amazon EC2 rounds the seconds to the nearest minute.
33302
33600
  #
33303
33601
  # You can’t specify a date in the past. The upper limit for
33304
- # `DeprecateAt` is 10 years from now.
33602
+ # `DeprecateAt` is 10 years from now, except for public AMIs, where
33603
+ # the upper limit is 2 years from the creation date.
33305
33604
  # @return [Time]
33306
33605
  #
33307
33606
  # @!attribute [rw] dry_run
@@ -37173,7 +37472,7 @@ module Aws::EC2
37173
37472
  # @return [String]
37174
37473
  #
37175
37474
  # @!attribute [rw] resource_tag
37176
- # A tag on an IPAM resource.
37475
+ # The resource tag.
37177
37476
  # @return [Types::RequestIpamResourceTag]
37178
37477
  #
37179
37478
  # @!attribute [rw] resource_owner
@@ -50234,7 +50533,7 @@ module Aws::EC2
50234
50533
  end
50235
50534
 
50236
50535
  # @!attribute [rw] ipam_resource_cidr
50237
- # The CIDR for an IPAM resource.
50536
+ # The CIDR of the resource.
50238
50537
  # @return [Types::IpamResourceCidr]
50239
50538
  #
50240
50539
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpamResourceCidrResult AWS API Documentation
@@ -53129,9 +53428,7 @@ module Aws::EC2
53129
53428
  end
53130
53429
 
53131
53430
  # @!attribute [rw] byoip_cidr
53132
- # Information about an address range that is provisioned for use with
53133
- # your Amazon Web Services resources through bring your own IP
53134
- # addresses (BYOIP).
53431
+ # The BYOIP CIDR.
53135
53432
  # @return [Types::ByoipCidr]
53136
53433
  #
53137
53434
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveByoipCidrToIpamResult AWS API Documentation
@@ -55918,7 +56215,7 @@ module Aws::EC2
55918
56215
  # @return [String]
55919
56216
  #
55920
56217
  # @!attribute [rw] pool_address_range
55921
- # Describes an address range of an IPv4 address pool.
56218
+ # Information about the address range of the public IPv4 pool.
55922
56219
  # @return [Types::PublicIpv4PoolRange]
55923
56220
  #
55924
56221
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionPublicIpv4PoolCidrResult AWS API Documentation
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.accept_reserved_instances_exchange_quote(params)
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.343.0'
79
+ GEM_VERSION = '1.345.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.343.0
4
+ version: 1.345.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-27 00:00:00.000000000 Z
11
+ date: 2022-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4