aws-sdk-ec2 1.343.0 → 1.344.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0dbab6093923da9c9f66c8e6caa56b25e2abe05076fd47adfebb7abb709d490f
4
- data.tar.gz: 916aeea7bea6bf97a945b2e1e92fa483d40cefc4a48e392c53caf5a65163c391
3
+ metadata.gz: b4607d6cd3dee5d845cfeedec1ab2e4c57a166ccf02920a29effe618076ed65d
4
+ data.tar.gz: 574a5240bc084bc98af10e17219eeb199251396ea519ecec8e9122c8a5f44436
5
5
  SHA512:
6
- metadata.gz: 68a188ce1260c632cbdc2f7222f9ed4b0e7e01eb80c641776b770639e7e1d02f3ed6513b62f5eb58e150a84928b56424a048757c97eaeb040a4b9525240f1b3a
7
- data.tar.gz: 3c2d8ead1b12ff6bbdb4094aedd982f763b82159153a5912ba1bf1dae57e5665fb9e93e78444427d3caffd48cb514a9decade44b44977264f435ca35e8d1435c
6
+ metadata.gz: 1dbf4ead34d9589345e3287bdd021bcb3666d4245c662bf488e4f6f77ac748f227142a7fe25d4da66a80cadb744d2e0f1636a464d5028e5508744ccc57a8e8ae
7
+ data.tar.gz: dd5af856ccdb1942a12ebd7262849e731494e4ca39cb391c9a3d5840d8fa1d0329009876444e4c4d59ded0c7d03645a152b099bbe30e2af00c0290c7f36d26cc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.343.0 (2022-10-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.343.0
1
+ 1.344.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
  #
@@ -17538,6 +17602,67 @@ module Aws::EC2
17538
17602
  req.send_request(options)
17539
17603
  end
17540
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&lt;Types::AddressTransfer&gt;
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
+
17541
17666
  # Describes the specified Elastic IP addresses or all of your Elastic IP
17542
17667
  # addresses.
17543
17668
  #
@@ -34210,6 +34335,52 @@ module Aws::EC2
34210
34335
  req.send_request(options)
34211
34336
  end
34212
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
+
34213
34384
  # Disables EBS encryption by default for your account in the current
34214
34385
  # Region.
34215
34386
  #
@@ -35316,6 +35487,57 @@ module Aws::EC2
35316
35487
  req.send_request(options)
35317
35488
  end
35318
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
+
35319
35541
  # Enables EBS encryption by default for your account in the current
35320
35542
  # Region.
35321
35543
  #
@@ -37277,7 +37499,7 @@ module Aws::EC2
37277
37499
  # The resource type.
37278
37500
  #
37279
37501
  # @option params [Types::RequestIpamResourceTag] :resource_tag
37280
- # A tag on an IPAM resource.
37502
+ # The resource tag.
37281
37503
  #
37282
37504
  # @option params [String] :resource_owner
37283
37505
  # The ID of the Amazon Web Services account that owns the resource.
@@ -52211,7 +52433,7 @@ module Aws::EC2
52211
52433
  params: params,
52212
52434
  config: config)
52213
52435
  context[:gem_name] = 'aws-sdk-ec2'
52214
- context[:gem_version] = '1.343.0'
52436
+ context[:gem_version] = '1.344.0'
52215
52437
  Seahorse::Client::Request.new(handlers, context)
52216
52438
  end
52217
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
@@ -5410,6 +5440,16 @@ module Aws::EC2
5410
5440
  DescribeAccountAttributesResult.add_member(:account_attributes, Shapes::ShapeRef.new(shape: AccountAttributeList, location_name: "accountAttributeSet"))
5411
5441
  DescribeAccountAttributesResult.struct_class = Types::DescribeAccountAttributesResult
5412
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
+
5413
5453
  DescribeAddressesAttributeRequest.add_member(:allocation_ids, Shapes::ShapeRef.new(shape: AllocationIds, location_name: "AllocationId"))
5414
5454
  DescribeAddressesAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: AddressAttributeName, location_name: "Attribute"))
5415
5455
  DescribeAddressesAttributeRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -6946,6 +6986,13 @@ module Aws::EC2
6946
6986
  DirectoryServiceAuthenticationRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: String, location_name: "DirectoryId"))
6947
6987
  DirectoryServiceAuthenticationRequest.struct_class = Types::DirectoryServiceAuthenticationRequest
6948
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
+
6949
6996
  DisableEbsEncryptionByDefaultRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6950
6997
  DisableEbsEncryptionByDefaultRequest.struct_class = Types::DisableEbsEncryptionByDefaultRequest
6951
6998
 
@@ -7286,6 +7333,14 @@ module Aws::EC2
7286
7333
 
7287
7334
  ElasticInferenceAccelerators.member = Shapes::ShapeRef.new(shape: ElasticInferenceAccelerator, location_name: "item")
7288
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
+
7289
7344
  EnableEbsEncryptionByDefaultRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
7290
7345
  EnableEbsEncryptionByDefaultRequest.struct_class = Types::EnableEbsEncryptionByDefaultRequest
7291
7346
 
@@ -13671,6 +13726,14 @@ module Aws::EC2
13671
13726
  "xmlNamespace" => "http://ec2.amazonaws.com/doc/2016-11-15",
13672
13727
  }
13673
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
+
13674
13737
  api.add_operation(:accept_reserved_instances_exchange_quote, Seahorse::Model::Operation.new.tap do |o|
13675
13738
  o.name = "AcceptReservedInstancesExchangeQuote"
13676
13739
  o.http_method = "POST"
@@ -15271,6 +15334,20 @@ module Aws::EC2
15271
15334
  o.output = Shapes::ShapeRef.new(shape: DescribeAccountAttributesResult)
15272
15335
  end)
15273
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
+
15274
15351
  api.add_operation(:describe_addresses, Seahorse::Model::Operation.new.tap do |o|
15275
15352
  o.name = "DescribeAddresses"
15276
15353
  o.http_method = "POST"
@@ -16982,6 +17059,14 @@ module Aws::EC2
16982
17059
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
16983
17060
  end)
16984
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
+
16985
17070
  api.add_operation(:disable_ebs_encryption_by_default, Seahorse::Model::Operation.new.tap do |o|
16986
17071
  o.name = "DisableEbsEncryptionByDefault"
16987
17072
  o.http_method = "POST"
@@ -17158,6 +17243,14 @@ module Aws::EC2
17158
17243
  o.output = Shapes::ShapeRef.new(shape: DisassociateVpcCidrBlockResult)
17159
17244
  end)
17160
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
+
17161
17254
  api.add_operation(:enable_ebs_encryption_by_default, Seahorse::Model::Operation.new.tap do |o|
17162
17255
  o.name = "EnableEbsEncryptionByDefault"
17163
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
@@ -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
  #
@@ -18163,6 +18272,66 @@ module Aws::EC2
18163
18272
  include Aws::Structure
18164
18273
  end
18165
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
+
18166
18335
  # @note When making an API call, you may pass DescribeAddressesAttributeRequest
18167
18336
  # data as a hash:
18168
18337
  #
@@ -30998,6 +31167,46 @@ module Aws::EC2
30998
31167
  include Aws::Structure
30999
31168
  end
31000
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
+
31001
31210
  # @note When making an API call, you may pass DisableEbsEncryptionByDefaultRequest
31002
31211
  # data as a hash:
31003
31212
  #
@@ -32928,6 +33137,53 @@ module Aws::EC2
32928
33137
  include Aws::Structure
32929
33138
  end
32930
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
+
32931
33187
  # @note When making an API call, you may pass EnableEbsEncryptionByDefaultRequest
32932
33188
  # data as a hash:
32933
33189
  #
@@ -37173,7 +37429,7 @@ module Aws::EC2
37173
37429
  # @return [String]
37174
37430
  #
37175
37431
  # @!attribute [rw] resource_tag
37176
- # A tag on an IPAM resource.
37432
+ # The resource tag.
37177
37433
  # @return [Types::RequestIpamResourceTag]
37178
37434
  #
37179
37435
  # @!attribute [rw] resource_owner
@@ -50234,7 +50490,7 @@ module Aws::EC2
50234
50490
  end
50235
50491
 
50236
50492
  # @!attribute [rw] ipam_resource_cidr
50237
- # The CIDR for an IPAM resource.
50493
+ # The CIDR of the resource.
50238
50494
  # @return [Types::IpamResourceCidr]
50239
50495
  #
50240
50496
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpamResourceCidrResult AWS API Documentation
@@ -53129,9 +53385,7 @@ module Aws::EC2
53129
53385
  end
53130
53386
 
53131
53387
  # @!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).
53388
+ # The BYOIP CIDR.
53135
53389
  # @return [Types::ByoipCidr]
53136
53390
  #
53137
53391
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveByoipCidrToIpamResult AWS API Documentation
@@ -55918,7 +56172,7 @@ module Aws::EC2
55918
56172
  # @return [String]
55919
56173
  #
55920
56174
  # @!attribute [rw] pool_address_range
55921
- # Describes an address range of an IPv4 address pool.
56175
+ # Information about the address range of the public IPv4 pool.
55922
56176
  # @return [Types::PublicIpv4PoolRange]
55923
56177
  #
55924
56178
  # @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.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.343.0
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-27 00:00:00.000000000 Z
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4