aws-sdk-ec2 1.82.0 → 1.83.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
  SHA1:
3
- metadata.gz: 8e74e5f950ba14b86218179944c025b56779b126
4
- data.tar.gz: 0e9efb9de416f805612044420677a62a69da4a32
3
+ metadata.gz: 7d2da8a68a092f8272ba4e4e83e95462d6f378a8
4
+ data.tar.gz: b909321da73b8226c632e8734a0de60d2233c859
5
5
  SHA512:
6
- metadata.gz: 01b753989a44d49064a38c9f043d3ecdefc5bccb78b612675ecbd7f321abff7db3d4cfcf9d33b7683eb333c72cfe03154425892130e16159bf7b5aa8ca390e4d
7
- data.tar.gz: 68653c78265778191029db275b8027d0bbc88a0535303fe5e6e9206af68696821fc8ceb70cb5452bff59410e7eb5f6084b733323535df15da7c7f002c54e438b
6
+ metadata.gz: 98cec3e7d796023971025c54449cb9b7ab8deafa2d433f52944977b92e7f34c0872dc795b14c4498eea2e8caee2a9f2f09d9ffc82c9267cea081af3ceb8d60bf
7
+ data.tar.gz: c58f9f8e183419ddc8e8180e8cae918a37cc392f333e03134d9bf6e169674568676bf63f7f2255f054c6d9664160e3f3a873387f8e167938869cf445b3cd4704
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.82.0'
68
+ GEM_VERSION = '1.83.0'
69
69
 
70
70
  end
@@ -23,6 +23,7 @@ require 'aws-sdk-core/plugins/idempotency_token.rb'
23
23
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
+ require 'aws-sdk-core/plugins/transfer_encoding.rb'
26
27
  require 'aws-sdk-core/plugins/signature_v4.rb'
27
28
  require 'aws-sdk-core/plugins/protocols/ec2.rb'
28
29
  require 'aws-sdk-ec2/plugins/copy_encrypted_snapshot.rb'
@@ -57,6 +58,7 @@ module Aws::EC2
57
58
  add_plugin(Aws::Plugins::JsonvalueConverter)
58
59
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
59
60
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
61
+ add_plugin(Aws::Plugins::TransferEncoding)
60
62
  add_plugin(Aws::Plugins::SignatureV4)
61
63
  add_plugin(Aws::Plugins::Protocols::EC2)
62
64
  add_plugin(Aws::EC2::Plugins::CopyEncryptedSnapshot)
@@ -399,8 +401,8 @@ module Aws::EC2
399
401
  # must be the owner of the peer VPC. Use DescribeVpcPeeringConnections
400
402
  # to view your outstanding VPC peering connection requests.
401
403
  #
402
- # For an inter-region VPC peering connection request, you must accept
403
- # the VPC peering connection in the region of the accepter VPC.
404
+ # For an inter-Region VPC peering connection request, you must accept
405
+ # the VPC peering connection in the Region of the accepter VPC.
404
406
  #
405
407
  # @option params [Boolean] :dry_run
406
408
  # Checks whether you have the required permissions for the action,
@@ -540,8 +542,8 @@ module Aws::EC2
540
542
  #
541
543
  # An Elastic IP address is for use either in the EC2-Classic platform or
542
544
  # in a VPC. By default, you can allocate 5 Elastic IP addresses for
543
- # EC2-Classic per region and 5 Elastic IP addresses for EC2-VPC per
544
- # region.
545
+ # EC2-Classic per Region and 5 Elastic IP addresses for EC2-VPC per
546
+ # Region.
545
547
  #
546
548
  # For more information, see [Elastic IP Addresses][2] in the *Amazon
547
549
  # Elastic Compute Cloud User Guide*.
@@ -2778,7 +2780,7 @@ module Aws::EC2
2778
2780
  req.send_request(options)
2779
2781
  end
2780
2782
 
2781
- # Copies the specified Amazon FPGA Image (AFI) to the current region.
2783
+ # Copies the specified Amazon FPGA Image (AFI) to the current Region.
2782
2784
  #
2783
2785
  # @option params [Boolean] :dry_run
2784
2786
  # Checks whether you have the required permissions for the action,
@@ -2796,7 +2798,7 @@ module Aws::EC2
2796
2798
  # The name for the new AFI. The default is the name of the source AFI.
2797
2799
  #
2798
2800
  # @option params [required, String] :source_region
2799
- # The region that contains the source AFI.
2801
+ # The Region that contains the source AFI.
2800
2802
  #
2801
2803
  # @option params [String] :client_token
2802
2804
  # Unique, case-sensitive identifier that you provide to ensure the
@@ -2835,8 +2837,8 @@ module Aws::EC2
2835
2837
  req.send_request(options)
2836
2838
  end
2837
2839
 
2838
- # Initiates the copy of an AMI from the specified source region to the
2839
- # current region. You specify the destination region by using its
2840
+ # Initiates the copy of an AMI from the specified source Region to the
2841
+ # current Region. You specify the destination Region by using its
2840
2842
  # endpoint when making the request.
2841
2843
  #
2842
2844
  # Copies of encrypted backing snapshots for the AMI are encrypted.
@@ -2862,7 +2864,7 @@ module Aws::EC2
2862
2864
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
2863
2865
  #
2864
2866
  # @option params [String] :description
2865
- # A description for the new AMI in the destination region.
2867
+ # A description for the new AMI in the destination Region.
2866
2868
  #
2867
2869
  # @option params [Boolean] :encrypted
2868
2870
  # Specifies whether the destination snapshots of the copied image should
@@ -2889,17 +2891,17 @@ module Aws::EC2
2889
2891
  # * Key ID
2890
2892
  #
2891
2893
  # * Key alias. The alias ARN contains the `arn:aws:kms` namespace,
2892
- # followed by the region of the CMK, the AWS account ID of the CMK
2894
+ # followed by the Region of the CMK, the AWS account ID of the CMK
2893
2895
  # owner, the `alias` namespace, and then the CMK alias. For example,
2894
2896
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
2895
2897
  #
2896
2898
  # * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
2897
- # followed by the region of the CMK, the AWS account ID of the CMK
2899
+ # followed by the Region of the CMK, the AWS account ID of the CMK
2898
2900
  # owner, the `key` namespace, and then the CMK ID. For example,
2899
2901
  # arn:aws:kms:*us-east-1*\:*012345678910*\:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*.
2900
2902
  #
2901
2903
  # * ARN using key alias. The alias ARN contains the `arn:aws:kms`
2902
- # namespace, followed by the region of the CMK, the AWS account ID of
2904
+ # namespace, followed by the Region of the CMK, the AWS account ID of
2903
2905
  # the CMK owner, the `alias` namespace, and then the CMK alias. For
2904
2906
  # example,
2905
2907
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
@@ -2908,17 +2910,17 @@ module Aws::EC2
2908
2910
  # may appear to complete even though you provided an invalid identifier.
2909
2911
  # This action will eventually report failure.
2910
2912
  #
2911
- # The specified CMK must exist in the region that the snapshot is being
2913
+ # The specified CMK must exist in the Region that the snapshot is being
2912
2914
  # copied to.
2913
2915
  #
2914
2916
  # @option params [required, String] :name
2915
- # The name of the new AMI in the destination region.
2917
+ # The name of the new AMI in the destination Region.
2916
2918
  #
2917
2919
  # @option params [required, String] :source_image_id
2918
2920
  # The ID of the AMI to copy.
2919
2921
  #
2920
2922
  # @option params [required, String] :source_region
2921
- # The name of the region that contains the AMI to copy.
2923
+ # The name of the Region that contains the AMI to copy.
2922
2924
  #
2923
2925
  # @option params [Boolean] :dry_run
2924
2926
  # Checks whether you have the required permissions for the action,
@@ -3039,17 +3041,17 @@ module Aws::EC2
3039
3041
  # * Key ID
3040
3042
  #
3041
3043
  # * Key alias. The alias ARN contains the `arn:aws:kms` namespace,
3042
- # followed by the region of the CMK, the AWS account ID of the CMK
3044
+ # followed by the Region of the CMK, the AWS account ID of the CMK
3043
3045
  # owner, the `alias` namespace, and then the CMK alias. For example,
3044
3046
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
3045
3047
  #
3046
3048
  # * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
3047
- # followed by the region of the CMK, the AWS account ID of the CMK
3049
+ # followed by the Region of the CMK, the AWS account ID of the CMK
3048
3050
  # owner, the `key` namespace, and then the CMK ID. For example,
3049
3051
  # arn:aws:kms:*us-east-1*\:*012345678910*\:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*.
3050
3052
  #
3051
3053
  # * ARN using key alias. The alias ARN contains the `arn:aws:kms`
3052
- # namespace, followed by the region of the CMK, the AWS account ID of
3054
+ # namespace, followed by the Region of the CMK, the AWS account ID of
3053
3055
  # the CMK owner, the `alias` namespace, and then the CMK alias. For
3054
3056
  # example,
3055
3057
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
@@ -3576,7 +3578,7 @@ module Aws::EC2
3576
3578
  #
3577
3579
  # <note markdown="1"> Amazon EC2 supports all 2-byte ASN numbers in the range of 1 - 65534,
3578
3580
  # with the exception of 7224, which is reserved in the `us-east-1`
3579
- # region, and 9059, which is reserved in the `eu-west-1` region.
3581
+ # Region, and 9059, which is reserved in the `eu-west-1` Region.
3580
3582
  #
3581
3583
  # </note>
3582
3584
  #
@@ -3814,7 +3816,7 @@ module Aws::EC2
3814
3816
  #
3815
3817
  # * `domain-name` - If you're using AmazonProvidedDNS in `us-east-1`,
3816
3818
  # specify `ec2.internal`. If you're using AmazonProvidedDNS in
3817
- # another region, specify `region.compute.internal` (for example,
3819
+ # another Region, specify `region.compute.internal` (for example,
3818
3820
  # `ap-northeast-1.compute.internal`). Otherwise, specify a domain name
3819
3821
  # (for example, `MyCompany.com`). This value is used to complete
3820
3822
  # unqualified DNS hostnames. **Important**\: Some Linux operating
@@ -4666,11 +4668,11 @@ module Aws::EC2
4666
4668
  # PKCS#1 private key. If a key with the specified name already exists,
4667
4669
  # Amazon EC2 returns an error.
4668
4670
  #
4669
- # You can have up to five thousand key pairs per region.
4671
+ # You can have up to five thousand key pairs per Region.
4670
4672
  #
4671
- # The key pair returned to you is available only in the region in which
4673
+ # The key pair returned to you is available only in the Region in which
4672
4674
  # you create it. If you prefer, you can create your own key pair using a
4673
- # third-party tool and upload it to any region using ImportKeyPair.
4675
+ # third-party tool and upload it to any Region using ImportKeyPair.
4674
4676
  #
4675
4677
  # For more information, see [Key Pairs][1] in the *Amazon Elastic
4676
4678
  # Compute Cloud User Guide*.
@@ -5673,12 +5675,15 @@ module Aws::EC2
5673
5675
  # @option params [String] :interface_type
5674
5676
  # Indicates whether the network interface is an Elastic Fabric Adapter
5675
5677
  # (EFA). Only specify this parameter to create an EFA. For more
5676
- # information, see [Elastic Fabric
5677
- # Adapter](AWSEC2/latest/UserGuide/efa.html) in the *Amazon Elastic
5678
+ # information, see [Elastic Fabric Adapter][1] in the *Amazon Elastic
5678
5679
  # Compute Cloud User Guide*.
5679
5680
  #
5680
5681
  # If you are not creating an EFA ENI, omit this parameter.
5681
5682
  #
5683
+ #
5684
+ #
5685
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
5686
+ #
5682
5687
  # @option params [required, String] :subnet_id
5683
5688
  # The ID of the subnet to associate with the network interface.
5684
5689
  #
@@ -6890,7 +6895,7 @@ module Aws::EC2
6890
6895
  # The ID of the attachment.
6891
6896
  #
6892
6897
  # @option params [Boolean] :blackhole
6893
- # Indicates whether to drop traffic if the target isn't available.
6898
+ # Indicates whether to drop traffic that matches this route.
6894
6899
  #
6895
6900
  # @option params [Boolean] :dry_run
6896
6901
  # Checks whether you have the required permissions for the action,
@@ -7150,17 +7155,17 @@ module Aws::EC2
7150
7155
  # * Key ID
7151
7156
  #
7152
7157
  # * Key alias. The alias ARN contains the `arn:aws:kms` namespace,
7153
- # followed by the region of the CMK, the AWS account ID of the CMK
7158
+ # followed by the Region of the CMK, the AWS account ID of the CMK
7154
7159
  # owner, the `alias` namespace, and then the CMK alias. For example,
7155
7160
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
7156
7161
  #
7157
7162
  # * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
7158
- # followed by the region of the CMK, the AWS account ID of the CMK
7163
+ # followed by the Region of the CMK, the AWS account ID of the CMK
7159
7164
  # owner, the `key` namespace, and then the CMK ID. For example,
7160
7165
  # arn:aws:kms:*us-east-1*\:*012345678910*\:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*.
7161
7166
  #
7162
7167
  # * ARN using key alias. The alias ARN contains the `arn:aws:kms`
7163
- # namespace, followed by the region of the CMK, the AWS account ID of
7168
+ # namespace, followed by the Region of the CMK, the AWS account ID of
7164
7169
  # the CMK owner, the `alias` namespace, and then the CMK alias. For
7165
7170
  # example,
7166
7171
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
@@ -7525,7 +7530,7 @@ module Aws::EC2
7525
7530
  # @option params [Boolean] :private_dns_enabled
7526
7531
  # (Interface endpoint) Indicate whether to associate a private hosted
7527
7532
  # zone with the specified VPC. The private hosted zone contains a record
7528
- # set for the default public DNS name for the service for the region
7533
+ # set for the default public DNS name for the service for the Region
7529
7534
  # (for example, `kinesis.us-east-1.amazonaws.com`) which resolves to the
7530
7535
  # private IP addresses of the endpoint network interfaces in the VPC.
7531
7536
  # This enables you to make requests to the default public DNS name for
@@ -7792,10 +7797,10 @@ module Aws::EC2
7792
7797
  # request.
7793
7798
  #
7794
7799
  # @option params [String] :peer_region
7795
- # The region code for the accepter VPC, if the accepter VPC is located
7796
- # in a region other than the region in which you make the request.
7800
+ # The Region code for the accepter VPC, if the accepter VPC is located
7801
+ # in a Region other than the Region in which you make the request.
7797
7802
  #
7798
- # Default: The region in which you make the request.
7803
+ # Default: The Region in which you make the request.
7799
7804
  #
7800
7805
  # @return [Types::CreateVpcPeeringConnectionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7801
7806
  #
@@ -10206,8 +10211,8 @@ module Aws::EC2
10206
10211
  end
10207
10212
 
10208
10213
  # Describes the longer ID format settings for all resource types in a
10209
- # specific region. This request is useful for performing a quick audit
10210
- # to determine whether a specific region is fully opted in for longer
10214
+ # specific Region. This request is useful for performing a quick audit
10215
+ # to determine whether a specific Region is fully opted in for longer
10211
10216
  # IDs (17-character IDs).
10212
10217
  #
10213
10218
  # This request only returns information about resource types that
@@ -10260,7 +10265,7 @@ module Aws::EC2
10260
10265
  end
10261
10266
 
10262
10267
  # Describes the Availability Zones that are available to you. The
10263
- # results include zones only for the region you're currently using. If
10268
+ # results include zones only for the Region you're currently using. If
10264
10269
  # there is an event impacting an Availability Zone, you can use this
10265
10270
  # request to view the state and any provided message for that
10266
10271
  # Availability Zone.
@@ -10277,7 +10282,7 @@ module Aws::EC2
10277
10282
  #
10278
10283
  # * `message` - Information about the Availability Zone.
10279
10284
  #
10280
- # * `region-name` - The name of the region for the Availability Zone
10285
+ # * `region-name` - The name of the Region for the Availability Zone
10281
10286
  # (for example, `us-east-1`).
10282
10287
  #
10283
10288
  # * `state` - The state of the Availability Zone (`available` \|
@@ -11264,9 +11269,18 @@ module Aws::EC2
11264
11269
  # If you have the required permissions, the error response is
11265
11270
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
11266
11271
  #
11272
+ # @option params [String] :next_token
11273
+ # The token for the next page of results.
11274
+ #
11275
+ # @option params [Integer] :max_results
11276
+ # The maximum number of results to return with a single call. To
11277
+ # retrieve the remaining results, make another call with the returned
11278
+ # `nextToken` value.
11279
+ #
11267
11280
  # @return [Types::DescribeDhcpOptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11268
11281
  #
11269
11282
  # * {Types::DescribeDhcpOptionsResult#dhcp_options #dhcp_options} => Array&lt;Types::DhcpOptions&gt;
11283
+ # * {Types::DescribeDhcpOptionsResult#next_token #next_token} => String
11270
11284
  #
11271
11285
  #
11272
11286
  # @example Example: To describe a DHCP options set
@@ -11312,6 +11326,8 @@ module Aws::EC2
11312
11326
  # },
11313
11327
  # ],
11314
11328
  # dry_run: false,
11329
+ # next_token: "String",
11330
+ # max_results: 1,
11315
11331
  # })
11316
11332
  #
11317
11333
  # @example Response structure
@@ -11326,6 +11342,7 @@ module Aws::EC2
11326
11342
  # resp.dhcp_options[0].tags #=> Array
11327
11343
  # resp.dhcp_options[0].tags[0].key #=> String
11328
11344
  # resp.dhcp_options[0].tags[0].value #=> String
11345
+ # resp.next_token #=> String
11329
11346
  #
11330
11347
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeDhcpOptions AWS API Documentation
11331
11348
  #
@@ -12408,7 +12425,7 @@ module Aws::EC2
12408
12425
  req.send_request(options)
12409
12426
  end
12410
12427
 
12411
- # Describes the ID format settings for your resources on a per-region
12428
+ # Describes the ID format settings for your resources on a per-Region
12412
12429
  # basis, for example, to view which resource types are enabled for
12413
12430
  # longer IDs. This request only returns information about resource types
12414
12431
  # whose ID formats can be modified; it does not return information about
@@ -12642,8 +12659,10 @@ module Aws::EC2
12642
12659
  # you own, and private images owned by other AWS accounts for which you
12643
12660
  # have explicit launch permissions.
12644
12661
  #
12645
- # Recently deregistered images might appear in the returned results for
12646
- # a short interval.
12662
+ # Recently deregistered images appear in the returned results for a
12663
+ # short interval and then return empty results. After all instances that
12664
+ # reference a deregistered AMI are terminated, specifying the ID of the
12665
+ # image results in an error indicating that the AMI ID cannot be found.
12647
12666
  #
12648
12667
  # @option params [Array<String>] :executable_users
12649
12668
  # Scopes the images by users with explicit launch permissions. Specify
@@ -15677,25 +15696,30 @@ module Aws::EC2
15677
15696
  req.send_request(options)
15678
15697
  end
15679
15698
 
15680
- # Describes the regions that are currently available to you.
15699
+ # Describes the Regions that are currently available to you. The API
15700
+ # returns a list of all the Regions, including Regions that are disabled
15701
+ # for your account. For information about enabling Regions for your
15702
+ # account, see [Enabling and Disabling Regions][1] in the *AWS Billing
15703
+ # and Cost Management User Guide*.
15681
15704
  #
15682
- # For a list of the regions supported by Amazon EC2, see [Regions and
15683
- # Endpoints][1].
15705
+ # For a list of the Regions supported by Amazon EC2, see [ Regions and
15706
+ # Endpoints][2].
15684
15707
  #
15685
15708
  #
15686
15709
  #
15687
- # [1]: https://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
15710
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-account-payment.html#manage-account-payment-enable-disable-regions
15711
+ # [2]: https://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region
15688
15712
  #
15689
15713
  # @option params [Array<Types::Filter>] :filters
15690
15714
  # The filters.
15691
15715
  #
15692
- # * `endpoint` - The endpoint of the region (for example,
15716
+ # * `endpoint` - The endpoint of the Region (for example,
15693
15717
  # `ec2.us-east-1.amazonaws.com`).
15694
15718
  #
15695
- # * `region-name` - The name of the region (for example, `us-east-1`).
15719
+ # * `region-name` - The name of the Region (for example, `us-east-1`).
15696
15720
  #
15697
15721
  # @option params [Array<String>] :region_names
15698
- # The names of the regions.
15722
+ # The names of the Regions.
15699
15723
  #
15700
15724
  # @option params [Boolean] :dry_run
15701
15725
  # Checks whether you have the required permissions for the action,
@@ -18539,9 +18563,18 @@ module Aws::EC2
18539
18563
  # If you have the required permissions, the error response is
18540
18564
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18541
18565
  #
18566
+ # @option params [String] :next_token
18567
+ # The token for the next page of results.
18568
+ #
18569
+ # @option params [Integer] :max_results
18570
+ # The maximum number of results to return with a single call. To
18571
+ # retrieve the remaining results, make another call with the returned
18572
+ # `nextToken` value.
18573
+ #
18542
18574
  # @return [Types::DescribeSubnetsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18543
18575
  #
18544
18576
  # * {Types::DescribeSubnetsResult#subnets #subnets} => Array&lt;Types::Subnet&gt;
18577
+ # * {Types::DescribeSubnetsResult#next_token #next_token} => String
18545
18578
  #
18546
18579
  #
18547
18580
  # @example Example: To describe the subnets for a VPC
@@ -18586,6 +18619,8 @@ module Aws::EC2
18586
18619
  # ],
18587
18620
  # subnet_ids: ["String"],
18588
18621
  # dry_run: false,
18622
+ # next_token: "String",
18623
+ # max_results: 1,
18589
18624
  # })
18590
18625
  #
18591
18626
  # @example Response structure
@@ -18611,6 +18646,7 @@ module Aws::EC2
18611
18646
  # resp.subnets[0].tags[0].key #=> String
18612
18647
  # resp.subnets[0].tags[0].value #=> String
18613
18648
  # resp.subnets[0].subnet_arn #=> String
18649
+ # resp.next_token #=> String
18614
18650
  #
18615
18651
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSubnets AWS API Documentation
18616
18652
  #
@@ -22796,17 +22832,17 @@ module Aws::EC2
22796
22832
  # * Key ID
22797
22833
  #
22798
22834
  # * Key alias. The alias ARN contains the `arn:aws:kms` namespace,
22799
- # followed by the region of the CMK, the AWS account ID of the CMK
22835
+ # followed by the Region of the CMK, the AWS account ID of the CMK
22800
22836
  # owner, the `alias` namespace, and then the CMK alias. For example,
22801
22837
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
22802
22838
  #
22803
22839
  # * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
22804
- # followed by the region of the CMK, the AWS account ID of the CMK
22840
+ # followed by the Region of the CMK, the AWS account ID of the CMK
22805
22841
  # owner, the `key` namespace, and then the CMK ID. For example,
22806
22842
  # arn:aws:kms:*us-east-1*\:*012345678910*\:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*.
22807
22843
  #
22808
22844
  # * ARN using key alias. The alias ARN contains the `arn:aws:kms`
22809
- # namespace, followed by the region of the CMK, the AWS account ID of
22845
+ # namespace, followed by the Region of the CMK, the AWS account ID of
22810
22846
  # the CMK owner, the `alias` namespace, and then the CMK alias. For
22811
22847
  # example,
22812
22848
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
@@ -22815,7 +22851,7 @@ module Aws::EC2
22815
22851
  # may appear to complete even though you provided an invalid identifier.
22816
22852
  # This action will eventually report failure.
22817
22853
  #
22818
- # The specified CMK must exist in the region that the AMI is being
22854
+ # The specified CMK must exist in the Region that the AMI is being
22819
22855
  # copied to.
22820
22856
  #
22821
22857
  # @option params [String] :license_type
@@ -23157,17 +23193,17 @@ module Aws::EC2
23157
23193
  # * Key ID
23158
23194
  #
23159
23195
  # * Key alias. The alias ARN contains the `arn:aws:kms` namespace,
23160
- # followed by the region of the CMK, the AWS account ID of the CMK
23196
+ # followed by the Region of the CMK, the AWS account ID of the CMK
23161
23197
  # owner, the `alias` namespace, and then the CMK alias. For example,
23162
23198
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
23163
23199
  #
23164
23200
  # * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
23165
- # followed by the region of the CMK, the AWS account ID of the CMK
23201
+ # followed by the Region of the CMK, the AWS account ID of the CMK
23166
23202
  # owner, the `key` namespace, and then the CMK ID. For example,
23167
23203
  # arn:aws:kms:*us-east-1*\:*012345678910*\:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*.
23168
23204
  #
23169
23205
  # * ARN using key alias. The alias ARN contains the `arn:aws:kms`
23170
- # namespace, followed by the region of the CMK, the AWS account ID of
23206
+ # namespace, followed by the Region of the CMK, the AWS account ID of
23171
23207
  # the CMK owner, the `alias` namespace, and then the CMK alias. For
23172
23208
  # example,
23173
23209
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
@@ -23176,7 +23212,7 @@ module Aws::EC2
23176
23212
  # may appear to complete even though you provided an invalid identifier.
23177
23213
  # This action will eventually report failure.
23178
23214
  #
23179
- # The specified CMK must exist in the region that the snapshot is being
23215
+ # The specified CMK must exist in the Region that the snapshot is being
23180
23216
  # copied to.
23181
23217
  #
23182
23218
  # @option params [String] :role_name
@@ -23672,7 +23708,7 @@ module Aws::EC2
23672
23708
  req.send_request(options)
23673
23709
  end
23674
23710
 
23675
- # Modifies the ID format for the specified resource on a per-region
23711
+ # Modifies the ID format for the specified resource on a per-Region
23676
23712
  # basis. You can specify that resources should receive longer IDs
23677
23713
  # (17-character IDs) when they are created.
23678
23714
  #
@@ -25515,11 +25551,11 @@ module Aws::EC2
25515
25551
  # resolution for queries from the local VPC. This ensures that queries
25516
25552
  # from the local VPC resolve to private IP addresses in the peer VPC.
25517
25553
  # This option is not available if the peered VPCs are in different AWS
25518
- # accounts or different regions. For peered VPCs in different AWS
25554
+ # accounts or different Regions. For peered VPCs in different AWS
25519
25555
  # accounts, each AWS account owner must initiate a separate request to
25520
25556
  # modify the peering connection options. For inter-region peering
25521
- # connections, you must use the region for the requester VPC to modify
25522
- # the requester VPC peering options and the region for the accepter VPC
25557
+ # connections, you must use the Region for the requester VPC to modify
25558
+ # the requester VPC peering options and the Region for the accepter VPC
25523
25559
  # to modify the accepter VPC peering options. To verify which VPCs are
25524
25560
  # the accepter and the requester for a VPC peering connection, use the
25525
25561
  # DescribeVpcPeeringConnections command.
@@ -25632,13 +25668,67 @@ module Aws::EC2
25632
25668
  req.send_request(options)
25633
25669
  end
25634
25670
 
25671
+ # Modifies the target gateway of a AWS Site-to-Site VPN connection. The
25672
+ # following migration options are available:
25673
+ #
25674
+ # * An existing virtual private gateway to a new virtual private gateway
25675
+ #
25676
+ # * An existing virtual private gateway to a transit gateway
25677
+ #
25678
+ # * An existing transit gateway to a new transit gateway
25679
+ #
25680
+ # * An existing transit gateway to a virtual private gateway
25681
+ #
25682
+ # Before you perform the migration to the new gateway, you must
25683
+ # configure the new gateway. Use CreateVpnGateway to create a virtual
25684
+ # private gateway, or CreateTransitGateway to create a transit gateway.
25685
+ #
25686
+ # This step is required when you migrate from a virtual private gateway
25687
+ # with static routes to a transit gateway.
25688
+ #
25689
+ # You must delete the static routes before you migrate to the new
25690
+ # gateway.
25691
+ #
25692
+ # Keep a copy of the static route before you delete it. You will need to
25693
+ # add back these routes to the transit gateway after the VPN connection
25694
+ # migration is complete.
25695
+ #
25696
+ # After you migrate to the new gateway, you might need to modify your
25697
+ # VPC route table. Use CreateRoute and DeleteRoute to make the changes
25698
+ # described in [VPN Gateway Target Modification Required VPC Route Table
25699
+ # Updates][1] in the *AWS Site-to-Site VPN User Guide*.
25700
+ #
25701
+ # When the new gateway is a transit gateway, modify the transit gateway
25702
+ # route table to allow traffic between the VPC and the AWS Site-to-Site
25703
+ # VPN connection. Use CreateTransitGatewayRoute to add the routes.
25704
+ #
25705
+ # If you deleted VPN static routes, you must add the static routes to
25706
+ # the transit gateway route table.
25707
+ #
25708
+ # After you perform this operation, the AWS VPN endpoint's IP addresses
25709
+ # on the AWS side and the tunnel options remain intact. Your s2slong;
25710
+ # connection will be temporarily unavailable for approximately 10
25711
+ # minutes while we provision the new endpoints
25712
+ #
25713
+ #
25714
+ #
25715
+ # [1]: https://docs.aws.amazon.com/vpn/latest/s2svpn/modify-vpn-target.html#step-update-routing
25716
+ #
25635
25717
  # @option params [required, String] :vpn_connection_id
25718
+ # The ID of the VPN connection.
25636
25719
  #
25637
25720
  # @option params [String] :transit_gateway_id
25721
+ # The ID of the transit gateway.
25638
25722
  #
25639
25723
  # @option params [String] :vpn_gateway_id
25724
+ # The ID of the virtual private gateway at the AWS side of the VPN
25725
+ # connection.
25640
25726
  #
25641
25727
  # @option params [Boolean] :dry_run
25728
+ # Checks whether you have the required permissions for the action,
25729
+ # without actually making the request, and provides an error response.
25730
+ # If you have the required permissions, the error response is
25731
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
25642
25732
  #
25643
25733
  # @return [Types::ModifyVpnConnectionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
25644
25734
  #
@@ -25819,7 +25909,7 @@ module Aws::EC2
25819
25909
  # The public IPv4 address range, in CIDR notation. The most specific
25820
25910
  # prefix that you can specify is /24. The address range cannot overlap
25821
25911
  # with another address range that you've brought to this or another
25822
- # region.
25912
+ # Region.
25823
25913
  #
25824
25914
  # @option params [Types::CidrAuthorizationContext] :cidr_authorization_context
25825
25915
  # A signed document that proves that you are authorized to bring the
@@ -28513,12 +28603,17 @@ module Aws::EC2
28513
28603
  #
28514
28604
  # @option params [String] :key_name
28515
28605
  # The name of the key pair. You can create a key pair using
28516
- # CreateKeyPair or ImportKeyPair.
28606
+ # [CreateKeyPair][1] or [ImportKeyPair][2].
28517
28607
  #
28518
28608
  # If you do not specify a key pair, you can't connect to the instance
28519
28609
  # unless you choose an AMI that is configured to allow users another way
28520
28610
  # to log in.
28521
28611
  #
28612
+ #
28613
+ #
28614
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html
28615
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html
28616
+ #
28522
28617
  # @option params [required, Integer] :max_count
28523
28618
  # The maximum number of instances to launch. If you specify more
28524
28619
  # instances than Amazon EC2 can launch in the target Availability Zone,
@@ -28570,19 +28665,21 @@ module Aws::EC2
28570
28665
  #
28571
28666
  # @option params [Array<String>] :security_group_ids
28572
28667
  # The IDs of the security groups. You can create a security group using
28573
- # CreateSecurityGroup.
28668
+ # [CreateSecurityGroup][1].
28669
+ #
28670
+ # If you specify a network interface, you must specify any security
28671
+ # groups as part of the network interface.
28574
28672
  #
28575
- # Default: Amazon EC2 uses the default security group.
28576
28673
  #
28577
- # You cannot specify this option and the network interfaces option in
28578
- # the same request.
28674
+ #
28675
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
28579
28676
  #
28580
28677
  # @option params [Array<String>] :security_groups
28581
28678
  # \[EC2-Classic, default VPC\] The names of the security groups. For a
28582
28679
  # nondefault VPC, you must use security group IDs instead.
28583
28680
  #
28584
- # You cannot specify this option and the network interfaces option in
28585
- # the same request.
28681
+ # If you specify a network interface, you must specify any security
28682
+ # groups as part of the network interface.
28586
28683
  #
28587
28684
  # Default: Amazon EC2 uses the default security group.
28588
28685
  #
@@ -28623,12 +28720,16 @@ module Aws::EC2
28623
28720
  # If you set this parameter to `true`, you can't terminate the instance
28624
28721
  # using the Amazon EC2 console, CLI, or API; otherwise, you can. To
28625
28722
  # change this attribute to `false` after launch, use
28626
- # ModifyInstanceAttribute. Alternatively, if you set
28723
+ # [ModifyInstanceAttribute][1]. Alternatively, if you set
28627
28724
  # `InstanceInitiatedShutdownBehavior` to `terminate`, you can terminate
28628
28725
  # the instance by running the shutdown command from the instance.
28629
28726
  #
28630
28727
  # Default: `false`
28631
28728
  #
28729
+ #
28730
+ #
28731
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
28732
+ #
28632
28733
  # @option params [Boolean] :dry_run
28633
28734
  # Checks whether you have the required permissions for the action,
28634
28735
  # without actually making the request, and provides an error response.
@@ -28656,7 +28757,9 @@ module Aws::EC2
28656
28757
  # Default: `stop`
28657
28758
  #
28658
28759
  # @option params [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
28659
- # The network interfaces to associate with the instance.
28760
+ # The network interfaces to associate with the instance. If you specify
28761
+ # a network interface, you must specify any security groups as part of
28762
+ # the network interface.
28660
28763
  #
28661
28764
  # @option params [String] :private_ip_address
28662
28765
  # \[EC2-VPC\] The primary IPv4 address. You must specify a value from
@@ -28692,7 +28795,11 @@ module Aws::EC2
28692
28795
  # The tags to apply to the resources during launch. You can only tag
28693
28796
  # instances and volumes on launch. The specified tags are applied to all
28694
28797
  # instances or volumes that are created during launch. To tag a resource
28695
- # after it has been created, see CreateTags.
28798
+ # after it has been created, see [CreateTags][1].
28799
+ #
28800
+ #
28801
+ #
28802
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
28696
28803
  #
28697
28804
  # @option params [Types::LaunchTemplateSpecification] :launch_template
28698
28805
  # The launch template to use to launch the instances. Any parameters
@@ -28710,15 +28817,16 @@ module Aws::EC2
28710
28817
  # @option params [Types::CreditSpecificationRequest] :credit_specification
28711
28818
  # The credit option for CPU usage of the T2 or T3 instance. Valid values
28712
28819
  # are `standard` and `unlimited`. To change this attribute after launch,
28713
- # use ModifyInstanceCreditSpecification. For more information, see
28714
- # [Burstable Performance Instances][1] in the *Amazon Elastic Compute
28820
+ # use [ ModifyInstanceCreditSpecification][1]. For more information, see
28821
+ # [Burstable Performance Instances][2] in the *Amazon Elastic Compute
28715
28822
  # Cloud User Guide*.
28716
28823
  #
28717
28824
  # Default: `standard` (T2 instances) or `unlimited` (T3 instances)
28718
28825
  #
28719
28826
  #
28720
28827
  #
28721
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
28828
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceCreditSpecification.html
28829
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
28722
28830
  #
28723
28831
  # @option params [Types::CpuOptionsRequest] :cpu_options
28724
28832
  # The CPU options for the instance. For more information, see
@@ -30161,7 +30269,7 @@ module Aws::EC2
30161
30269
  params: params,
30162
30270
  config: config)
30163
30271
  context[:gem_name] = 'aws-sdk-ec2'
30164
- context[:gem_version] = '1.82.0'
30272
+ context[:gem_version] = '1.83.0'
30165
30273
  Seahorse::Client::Request.new(handlers, context)
30166
30274
  end
30167
30275