aws-sdk-ec2 1.218.0 → 1.223.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +337 -104
- data/lib/aws-sdk-ec2/client_api.rb +90 -0
- data/lib/aws-sdk-ec2/instance.rb +7 -6
- data/lib/aws-sdk-ec2/resource.rb +13 -15
- data/lib/aws-sdk-ec2/subnet.rb +10 -12
- data/lib/aws-sdk-ec2/types.rb +365 -103
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c63a5cb99a8f98ab73d5f13e14cb672437d5db47cd45d7a726c27c81508000a
|
4
|
+
data.tar.gz: 0c12e6b05223f35412f35b56235a3a985a5e236b88a2f1107aa007fcd9ce750e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20e2b08fa113925d7fdf87b69b6bf96a1d7567d47b0faa343dec8a3e8762eb58e581b2791f3b77ae6d85b796c008cd0d8a5ed64df88a6c8329d089afe73e075d
|
7
|
+
data.tar.gz: a2ec48dd82e70d827167755761e930ffb72274dfbe97fba77471b4d9e311bbac6bd9f994b17d79022caa2fc3403415bcb52deeb3d09e08e70e036c744583ed2a
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -784,6 +784,9 @@ module Aws::EC2
|
|
784
784
|
# If you have the required permissions, the error response is
|
785
785
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
786
786
|
#
|
787
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
788
|
+
# The tags to assign to the Elastic IP address.
|
789
|
+
#
|
787
790
|
# @return [Types::AllocateAddressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
788
791
|
#
|
789
792
|
# * {Types::AllocateAddressResult#public_ip #public_ip} => String
|
@@ -833,6 +836,17 @@ module Aws::EC2
|
|
833
836
|
# network_border_group: "String",
|
834
837
|
# customer_owned_ipv_4_pool: "String",
|
835
838
|
# dry_run: false,
|
839
|
+
# tag_specifications: [
|
840
|
+
# {
|
841
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
842
|
+
# tags: [
|
843
|
+
# {
|
844
|
+
# key: "String",
|
845
|
+
# value: "String",
|
846
|
+
# },
|
847
|
+
# ],
|
848
|
+
# },
|
849
|
+
# ],
|
836
850
|
# })
|
837
851
|
#
|
838
852
|
# @example Response structure
|
@@ -863,8 +877,8 @@ module Aws::EC2
|
|
863
877
|
# Indicates whether the host accepts any untargeted instance launches
|
864
878
|
# that match its instance type configuration, or if it only accepts Host
|
865
879
|
# tenancy instance launches that specify its unique host ID. For more
|
866
|
-
# information, see [ Understanding
|
867
|
-
#
|
880
|
+
# information, see [ Understanding auto-placement and affinity][1] in
|
881
|
+
# the *Amazon EC2 User Guide*.
|
868
882
|
#
|
869
883
|
# Default: `on`
|
870
884
|
#
|
@@ -877,7 +891,7 @@ module Aws::EC2
|
|
877
891
|
#
|
878
892
|
# @option params [String] :client_token
|
879
893
|
# Unique, case-sensitive identifier that you provide to ensure the
|
880
|
-
# idempotency of the request. For more information, see [
|
894
|
+
# idempotency of the request. For more information, see [Ensuring
|
881
895
|
# Idempotency][1].
|
882
896
|
#
|
883
897
|
#
|
@@ -914,7 +928,7 @@ module Aws::EC2
|
|
914
928
|
# @option params [String] :host_recovery
|
915
929
|
# Indicates whether to enable or disable host recovery for the Dedicated
|
916
930
|
# Host. Host recovery is disabled by default. For more information, see
|
917
|
-
# [ Host
|
931
|
+
# [ Host recovery][1] in the *Amazon EC2 User Guide*.
|
918
932
|
#
|
919
933
|
# Default: `off`
|
920
934
|
#
|
@@ -2984,7 +2998,7 @@ module Aws::EC2
|
|
2984
2998
|
# Instance Marketplace.
|
2985
2999
|
#
|
2986
3000
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
2987
|
-
# *Amazon
|
3001
|
+
# *Amazon EC2 User Guide*.
|
2988
3002
|
#
|
2989
3003
|
#
|
2990
3004
|
#
|
@@ -3647,8 +3661,8 @@ module Aws::EC2
|
|
3647
3661
|
# still get the Regional RI discounts for that usage. By creating
|
3648
3662
|
# Capacity Reservations, you ensure that you always have access to
|
3649
3663
|
# Amazon EC2 capacity when you need it, for as long as you need it. For
|
3650
|
-
# more information, see [Capacity Reservations][1] in the *Amazon
|
3651
|
-
#
|
3664
|
+
# more information, see [Capacity Reservations][1] in the *Amazon EC2
|
3665
|
+
# User Guide*.
|
3652
3666
|
#
|
3653
3667
|
# Your request to create a Capacity Reservation could fail if Amazon EC2
|
3654
3668
|
# does not have sufficient capacity to fulfill the request. If your
|
@@ -3663,7 +3677,7 @@ module Aws::EC2
|
|
3663
3677
|
# request fails due to limit constraints, increase your On-Demand
|
3664
3678
|
# Instance limit for the required instance type and try again. For more
|
3665
3679
|
# information about increasing your instance limits, see [Amazon EC2
|
3666
|
-
# Service
|
3680
|
+
# Service Quotas][2] in the *Amazon EC2 User Guide*.
|
3667
3681
|
#
|
3668
3682
|
#
|
3669
3683
|
#
|
@@ -3672,7 +3686,7 @@ module Aws::EC2
|
|
3672
3686
|
#
|
3673
3687
|
# @option params [String] :client_token
|
3674
3688
|
# Unique, case-sensitive identifier that you provide to ensure the
|
3675
|
-
# idempotency of the request. For more information, see [
|
3689
|
+
# idempotency of the request. For more information, see [Ensure
|
3676
3690
|
# Idempotency][1].
|
3677
3691
|
#
|
3678
3692
|
#
|
@@ -3681,8 +3695,7 @@ module Aws::EC2
|
|
3681
3695
|
#
|
3682
3696
|
# @option params [required, String] :instance_type
|
3683
3697
|
# The instance type for which to reserve capacity. For more information,
|
3684
|
-
# see [Instance
|
3685
|
-
# Guide*.
|
3698
|
+
# see [Instance types][1] in the *Amazon EC2 User Guide*.
|
3686
3699
|
#
|
3687
3700
|
#
|
3688
3701
|
#
|
@@ -3824,6 +3837,7 @@ module Aws::EC2
|
|
3824
3837
|
# resp.capacity_reservation.ebs_optimized #=> Boolean
|
3825
3838
|
# resp.capacity_reservation.ephemeral_storage #=> Boolean
|
3826
3839
|
# resp.capacity_reservation.state #=> String, one of "active", "expired", "cancelled", "pending", "failed"
|
3840
|
+
# resp.capacity_reservation.start_date #=> Time
|
3827
3841
|
# resp.capacity_reservation.end_date #=> Time
|
3828
3842
|
# resp.capacity_reservation.end_date_type #=> String, one of "unlimited", "limited"
|
3829
3843
|
# resp.capacity_reservation.instance_match_criteria #=> String, one of "open", "targeted"
|
@@ -4685,7 +4699,7 @@ module Aws::EC2
|
|
4685
4699
|
# subnet.
|
4686
4700
|
#
|
4687
4701
|
# For more information, see [Launching an EC2 Fleet][1] in the *Amazon
|
4688
|
-
#
|
4702
|
+
# EC2 User Guide*.
|
4689
4703
|
#
|
4690
4704
|
#
|
4691
4705
|
#
|
@@ -4730,7 +4744,7 @@ module Aws::EC2
|
|
4730
4744
|
# @option params [String] :type
|
4731
4745
|
# The type of request. The default value is `maintain`.
|
4732
4746
|
#
|
4733
|
-
# * `maintain` - The EC2 Fleet
|
4747
|
+
# * `maintain` - The EC2 Fleet places an asynchronous request for your
|
4734
4748
|
# desired capacity, and continues to maintain your desired Spot
|
4735
4749
|
# capacity by replenishing interrupted Spot Instances.
|
4736
4750
|
#
|
@@ -4744,7 +4758,7 @@ module Aws::EC2
|
|
4744
4758
|
# could not be launched.
|
4745
4759
|
#
|
4746
4760
|
# For more information, see [EC2 Fleet request types][1] in the *Amazon
|
4747
|
-
#
|
4761
|
+
# EC2 User Guide*.
|
4748
4762
|
#
|
4749
4763
|
#
|
4750
4764
|
#
|
@@ -7190,8 +7204,8 @@ module Aws::EC2
|
|
7190
7204
|
# instances in different partitions, where instances in one partition do
|
7191
7205
|
# not share the same hardware with instances in another partition.
|
7192
7206
|
#
|
7193
|
-
# For more information, see [Placement groups][1] in the *Amazon
|
7194
|
-
#
|
7207
|
+
# For more information, see [Placement groups][1] in the *Amazon EC2
|
7208
|
+
# User Guide*.
|
7195
7209
|
#
|
7196
7210
|
#
|
7197
7211
|
#
|
@@ -7304,7 +7318,7 @@ module Aws::EC2
|
|
7304
7318
|
# DescribeReservedInstancesListings operation.
|
7305
7319
|
#
|
7306
7320
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
7307
|
-
# *Amazon
|
7321
|
+
# *Amazon EC2 User Guide*.
|
7308
7322
|
#
|
7309
7323
|
#
|
7310
7324
|
#
|
@@ -9594,9 +9608,9 @@ module Aws::EC2
|
|
9594
9608
|
# Indicates whether to enable Amazon EBS Multi-Attach. If you enable
|
9595
9609
|
# Multi-Attach, you can attach the volume to up to 16 [Instances built
|
9596
9610
|
# on the Nitro System][1] in the same Availability Zone. This parameter
|
9597
|
-
# is supported with `io1` volumes only. For more information,
|
9598
|
-
# Amazon EBS Multi-Attach][2] in the *Amazon Elastic Compute Cloud
|
9599
|
-
# Guide*.
|
9611
|
+
# is supported with `io1` and `io2` volumes only. For more information,
|
9612
|
+
# see [ Amazon EBS Multi-Attach][2] in the *Amazon Elastic Compute Cloud
|
9613
|
+
# User Guide*.
|
9600
9614
|
#
|
9601
9615
|
#
|
9602
9616
|
#
|
@@ -9991,7 +10005,9 @@ module Aws::EC2
|
|
9991
10005
|
# attributes to `true`\: `enableDnsHostnames` and `enableDnsSupport`.
|
9992
10006
|
# Use ModifyVpcAttribute to set the VPC attributes.
|
9993
10007
|
#
|
9994
|
-
#
|
10008
|
+
# Private DNS is not supported for Amazon S3 interface endpoints.
|
10009
|
+
#
|
10010
|
+
# Default: `true` for supported endpoints
|
9995
10011
|
#
|
9996
10012
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
9997
10013
|
# The tags to associate with the endpoint.
|
@@ -10983,7 +10999,7 @@ module Aws::EC2
|
|
10983
10999
|
# `instant` fleets.
|
10984
11000
|
#
|
10985
11001
|
# For more information, see [Deleting an EC2 Fleet][1] in the *Amazon
|
10986
|
-
#
|
11002
|
+
# EC2 User Guide*.
|
10987
11003
|
#
|
10988
11004
|
#
|
10989
11005
|
#
|
@@ -11789,7 +11805,7 @@ module Aws::EC2
|
|
11789
11805
|
# Deletes the specified placement group. You must terminate all
|
11790
11806
|
# instances in the placement group before you can delete the placement
|
11791
11807
|
# group. For more information, see [Placement groups][1] in the *Amazon
|
11792
|
-
#
|
11808
|
+
# EC2 User Guide*.
|
11793
11809
|
#
|
11794
11810
|
#
|
11795
11811
|
#
|
@@ -12982,12 +12998,28 @@ module Aws::EC2
|
|
12982
12998
|
req.send_request(options)
|
12983
12999
|
end
|
12984
13000
|
|
12985
|
-
# Deletes one or more specified VPC endpoints.
|
12986
|
-
#
|
12987
|
-
#
|
12988
|
-
# Gateway
|
12989
|
-
#
|
12990
|
-
#
|
13001
|
+
# Deletes one or more specified VPC endpoints. You can delete any of the
|
13002
|
+
# following types of VPC endpoints.
|
13003
|
+
#
|
13004
|
+
# * Gateway endpoint,
|
13005
|
+
#
|
13006
|
+
# * Gateway Load Balancer endpoint,
|
13007
|
+
#
|
13008
|
+
# * Interface endpoint
|
13009
|
+
#
|
13010
|
+
# The following rules apply when you delete a VPC endpoint:
|
13011
|
+
#
|
13012
|
+
# * When you delete a gateway endpoint, we delete the endpoint routes in
|
13013
|
+
# the route tables that are associated with the endpoint.
|
13014
|
+
#
|
13015
|
+
# * When you delete a Gateway Load Balancer endpoint, we delete the
|
13016
|
+
# endpoint network interfaces.
|
13017
|
+
#
|
13018
|
+
# You can only delete Gateway Load Balancer endpoints when the routes
|
13019
|
+
# that are associated with the endpoint are deleted.
|
13020
|
+
#
|
13021
|
+
# * When you delete an interface endpoint, we delete the endpoint
|
13022
|
+
# network interfaces.
|
12991
13023
|
#
|
12992
13024
|
# @option params [Boolean] :dry_run
|
12993
13025
|
# Checks whether you have the required permissions for the action,
|
@@ -13738,6 +13770,70 @@ module Aws::EC2
|
|
13738
13770
|
req.send_request(options)
|
13739
13771
|
end
|
13740
13772
|
|
13773
|
+
# Describes the attributes of the specified Elastic IP addresses. For
|
13774
|
+
# requirements, see [Using reverse DNS for email applications][1].
|
13775
|
+
#
|
13776
|
+
#
|
13777
|
+
#
|
13778
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS
|
13779
|
+
#
|
13780
|
+
# @option params [Array<String>] :allocation_ids
|
13781
|
+
# \[EC2-VPC\] The allocation IDs.
|
13782
|
+
#
|
13783
|
+
# @option params [String] :attribute
|
13784
|
+
# The attribute of the IP address.
|
13785
|
+
#
|
13786
|
+
# @option params [String] :next_token
|
13787
|
+
# The token for the next page of results.
|
13788
|
+
#
|
13789
|
+
# @option params [Integer] :max_results
|
13790
|
+
# The maximum number of results to return with a single call. To
|
13791
|
+
# retrieve the remaining results, make another call with the returned
|
13792
|
+
# `nextToken` value.
|
13793
|
+
#
|
13794
|
+
# @option params [Boolean] :dry_run
|
13795
|
+
# Checks whether you have the required permissions for the action,
|
13796
|
+
# without actually making the request, and provides an error response.
|
13797
|
+
# If you have the required permissions, the error response is
|
13798
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
13799
|
+
#
|
13800
|
+
# @return [Types::DescribeAddressesAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
13801
|
+
#
|
13802
|
+
# * {Types::DescribeAddressesAttributeResult#addresses #addresses} => Array<Types::AddressAttribute>
|
13803
|
+
# * {Types::DescribeAddressesAttributeResult#next_token #next_token} => String
|
13804
|
+
#
|
13805
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
13806
|
+
#
|
13807
|
+
# @example Request syntax with placeholder values
|
13808
|
+
#
|
13809
|
+
# resp = client.describe_addresses_attribute({
|
13810
|
+
# allocation_ids: ["AllocationId"],
|
13811
|
+
# attribute: "domain-name", # accepts domain-name
|
13812
|
+
# next_token: "NextToken",
|
13813
|
+
# max_results: 1,
|
13814
|
+
# dry_run: false,
|
13815
|
+
# })
|
13816
|
+
#
|
13817
|
+
# @example Response structure
|
13818
|
+
#
|
13819
|
+
# resp.addresses #=> Array
|
13820
|
+
# resp.addresses[0].public_ip #=> String
|
13821
|
+
# resp.addresses[0].allocation_id #=> String
|
13822
|
+
# resp.addresses[0].ptr_record #=> String
|
13823
|
+
# resp.addresses[0].ptr_record_update.value #=> String
|
13824
|
+
# resp.addresses[0].ptr_record_update.status #=> String
|
13825
|
+
# resp.addresses[0].ptr_record_update.reason #=> String
|
13826
|
+
# resp.next_token #=> String
|
13827
|
+
#
|
13828
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesAttribute AWS API Documentation
|
13829
|
+
#
|
13830
|
+
# @overload describe_addresses_attribute(params = {})
|
13831
|
+
# @param [Hash] params ({})
|
13832
|
+
def describe_addresses_attribute(params = {}, options = {})
|
13833
|
+
req = build_request(:describe_addresses_attribute, params)
|
13834
|
+
req.send_request(options)
|
13835
|
+
end
|
13836
|
+
|
13741
13837
|
# Describes the longer ID format settings for all resource types in a
|
13742
13838
|
# specific Region. This request is useful for performing a quick audit
|
13743
13839
|
# to determine whether a specific Region is fully opted in for longer
|
@@ -14155,8 +14251,8 @@ module Aws::EC2
|
|
14155
14251
|
# date and time specified in your request. The reserved capacity is
|
14156
14252
|
# no longer available for your use.
|
14157
14253
|
#
|
14158
|
-
# * `cancelled` - The Capacity Reservation was
|
14159
|
-
#
|
14254
|
+
# * `cancelled` - The Capacity Reservation was cancelled. The reserved
|
14255
|
+
# capacity is no longer available for your use.
|
14160
14256
|
#
|
14161
14257
|
# * `pending` - The Capacity Reservation request was successful but
|
14162
14258
|
# the capacity provisioning is still pending.
|
@@ -14242,6 +14338,7 @@ module Aws::EC2
|
|
14242
14338
|
# resp.capacity_reservations[0].ebs_optimized #=> Boolean
|
14243
14339
|
# resp.capacity_reservations[0].ephemeral_storage #=> Boolean
|
14244
14340
|
# resp.capacity_reservations[0].state #=> String, one of "active", "expired", "cancelled", "pending", "failed"
|
14341
|
+
# resp.capacity_reservations[0].start_date #=> Time
|
14245
14342
|
# resp.capacity_reservations[0].end_date #=> Time
|
14246
14343
|
# resp.capacity_reservations[0].end_date_type #=> String, one of "unlimited", "limited"
|
14247
14344
|
# resp.capacity_reservations[0].instance_match_criteria #=> String, one of "open", "targeted"
|
@@ -15616,6 +15713,13 @@ module Aws::EC2
|
|
15616
15713
|
# and not miss a recorded event. EC2 Fleet events are available for 48
|
15617
15714
|
# hours.
|
15618
15715
|
#
|
15716
|
+
# For more information, see [Monitoring your EC2 Fleet][1] in the
|
15717
|
+
# *Amazon EC2 User Guide*.
|
15718
|
+
#
|
15719
|
+
#
|
15720
|
+
#
|
15721
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet
|
15722
|
+
#
|
15619
15723
|
# @option params [Boolean] :dry_run
|
15620
15724
|
# Checks whether you have the required permissions for the action,
|
15621
15725
|
# without actually making the request, and provides an error response.
|
@@ -15684,6 +15788,13 @@ module Aws::EC2
|
|
15684
15788
|
|
15685
15789
|
# Describes the running instances for the specified EC2 Fleet.
|
15686
15790
|
#
|
15791
|
+
# For more information, see [Monitoring your EC2 Fleet][1] in the
|
15792
|
+
# *Amazon EC2 User Guide*.
|
15793
|
+
#
|
15794
|
+
#
|
15795
|
+
#
|
15796
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet
|
15797
|
+
#
|
15687
15798
|
# @option params [Boolean] :dry_run
|
15688
15799
|
# Checks whether you have the required permissions for the action,
|
15689
15800
|
# without actually making the request, and provides an error response.
|
@@ -15751,6 +15862,13 @@ module Aws::EC2
|
|
15751
15862
|
|
15752
15863
|
# Describes the specified EC2 Fleets or all of your EC2 Fleets.
|
15753
15864
|
#
|
15865
|
+
# For more information, see [Monitoring your EC2 Fleet][1] in the
|
15866
|
+
# *Amazon EC2 User Guide*.
|
15867
|
+
#
|
15868
|
+
#
|
15869
|
+
#
|
15870
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet
|
15871
|
+
#
|
15754
15872
|
# @option params [Boolean] :dry_run
|
15755
15873
|
# Checks whether you have the required permissions for the action,
|
15756
15874
|
# without actually making the request, and provides an error response.
|
@@ -16177,8 +16295,8 @@ module Aws::EC2
|
|
16177
16295
|
# Region of your Dedicated Hosts. When purchasing an offering, ensure
|
16178
16296
|
# that the instance family and Region of the offering matches that of
|
16179
16297
|
# the Dedicated Hosts with which it is to be associated. For more
|
16180
|
-
# information about supported instance types, see [Dedicated Hosts
|
16181
|
-
#
|
16298
|
+
# information about supported instance types, see [Dedicated Hosts][1]
|
16299
|
+
# in the *Amazon EC2 User Guide*.
|
16182
16300
|
#
|
16183
16301
|
#
|
16184
16302
|
#
|
@@ -17374,7 +17492,7 @@ module Aws::EC2
|
|
17374
17492
|
# in an unaffected zone, the call works normally.
|
17375
17493
|
#
|
17376
17494
|
# For more information, see [Burstable performance instances][1] in the
|
17377
|
-
# *Amazon
|
17495
|
+
# *Amazon EC2 User Guide*.
|
17378
17496
|
#
|
17379
17497
|
#
|
17380
17498
|
#
|
@@ -17491,18 +17609,17 @@ module Aws::EC2
|
|
17491
17609
|
# instances to identify hardware and software issues. For more
|
17492
17610
|
# information, see [Status checks for your instances][1] and
|
17493
17611
|
# [Troubleshooting instances with failed status checks][2] in the
|
17494
|
-
# *Amazon
|
17612
|
+
# *Amazon EC2 User Guide*.
|
17495
17613
|
#
|
17496
17614
|
# * **Scheduled events** - Amazon EC2 can schedule events (such as
|
17497
17615
|
# reboot, stop, or terminate) for your instances related to hardware
|
17498
17616
|
# issues, software updates, or system maintenance. For more
|
17499
17617
|
# information, see [Scheduled events for your instances][3] in the
|
17500
|
-
# *Amazon
|
17618
|
+
# *Amazon EC2 User Guide*.
|
17501
17619
|
#
|
17502
17620
|
# * **Instance state** - You can manage your instances from the moment
|
17503
17621
|
# you launch them through their termination. For more information, see
|
17504
|
-
# [Instance lifecycle][4] in the *Amazon
|
17505
|
-
# Guide*.
|
17622
|
+
# [Instance lifecycle][4] in the *Amazon EC2 User Guide*.
|
17506
17623
|
#
|
17507
17624
|
#
|
17508
17625
|
#
|
@@ -17777,8 +17894,8 @@ module Aws::EC2
|
|
17777
17894
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
17778
17895
|
#
|
17779
17896
|
# @option params [Array<String>] :instance_types
|
17780
|
-
# The instance types. For more information, see [Instance
|
17781
|
-
# the *Amazon
|
17897
|
+
# The instance types. For more information, see [Instance types][1] in
|
17898
|
+
# the *Amazon EC2 User Guide*.
|
17782
17899
|
#
|
17783
17900
|
#
|
17784
17901
|
#
|
@@ -21115,7 +21232,7 @@ module Aws::EC2
|
|
21115
21232
|
|
21116
21233
|
# Describes the specified placement groups or all of your placement
|
21117
21234
|
# groups. For more information, see [Placement groups][1] in the *Amazon
|
21118
|
-
#
|
21235
|
+
# EC2 User Guide*.
|
21119
21236
|
#
|
21120
21237
|
#
|
21121
21238
|
#
|
@@ -21556,7 +21673,7 @@ module Aws::EC2
|
|
21556
21673
|
# Describes one or more of the Reserved Instances that you purchased.
|
21557
21674
|
#
|
21558
21675
|
# For more information about Reserved Instances, see [Reserved
|
21559
|
-
# Instances][1] in the *Amazon
|
21676
|
+
# Instances][1] in the *Amazon EC2 User Guide*.
|
21560
21677
|
#
|
21561
21678
|
#
|
21562
21679
|
#
|
@@ -21712,7 +21829,7 @@ module Aws::EC2
|
|
21712
21829
|
# based on the total price of all of the listings that you purchase.
|
21713
21830
|
#
|
21714
21831
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
21715
|
-
# *Amazon
|
21832
|
+
# *Amazon EC2 User Guide*.
|
21716
21833
|
#
|
21717
21834
|
#
|
21718
21835
|
#
|
@@ -21791,7 +21908,7 @@ module Aws::EC2
|
|
21791
21908
|
# only information about the specific modification is returned.
|
21792
21909
|
#
|
21793
21910
|
# For more information, see [Modifying Reserved Instances][1] in the
|
21794
|
-
# Amazon
|
21911
|
+
# *Amazon EC2 User Guide*.
|
21795
21912
|
#
|
21796
21913
|
#
|
21797
21914
|
#
|
@@ -21904,7 +22021,7 @@ module Aws::EC2
|
|
21904
22021
|
# Instances.
|
21905
22022
|
#
|
21906
22023
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
21907
|
-
# *Amazon
|
22024
|
+
# *Amazon EC2 User Guide*.
|
21908
22025
|
#
|
21909
22026
|
#
|
21910
22027
|
#
|
@@ -21959,8 +22076,8 @@ module Aws::EC2
|
|
21959
22076
|
#
|
21960
22077
|
# @option params [String] :instance_type
|
21961
22078
|
# The instance type that the reservation will cover (for example,
|
21962
|
-
# `m1.small`). For more information, see [Instance
|
21963
|
-
# *Amazon
|
22079
|
+
# `m1.small`). For more information, see [Instance types][1] in the
|
22080
|
+
# *Amazon EC2 User Guide*.
|
21964
22081
|
#
|
21965
22082
|
#
|
21966
22083
|
#
|
@@ -26225,10 +26342,12 @@ module Aws::EC2
|
|
26225
26342
|
# resp.volumes_modifications[0].target_iops #=> Integer
|
26226
26343
|
# resp.volumes_modifications[0].target_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
26227
26344
|
# resp.volumes_modifications[0].target_throughput #=> Integer
|
26345
|
+
# resp.volumes_modifications[0].target_multi_attach_enabled #=> Boolean
|
26228
26346
|
# resp.volumes_modifications[0].original_size #=> Integer
|
26229
26347
|
# resp.volumes_modifications[0].original_iops #=> Integer
|
26230
26348
|
# resp.volumes_modifications[0].original_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
26231
26349
|
# resp.volumes_modifications[0].original_throughput #=> Integer
|
26350
|
+
# resp.volumes_modifications[0].original_multi_attach_enabled #=> Boolean
|
26232
26351
|
# resp.volumes_modifications[0].progress #=> Integer
|
26233
26352
|
# resp.volumes_modifications[0].start_time #=> Time
|
26234
26353
|
# resp.volumes_modifications[0].end_time #=> Time
|
@@ -26774,13 +26893,13 @@ module Aws::EC2
|
|
26774
26893
|
|
26775
26894
|
# Describes available services to which you can create a VPC endpoint.
|
26776
26895
|
#
|
26777
|
-
# When the service provider and the consumer have different accounts
|
26896
|
+
# When the service provider and the consumer have different accounts in
|
26778
26897
|
# multiple Availability Zones, and the consumer views the VPC endpoint
|
26779
26898
|
# service information, the response only includes the common
|
26780
26899
|
# Availability Zones. For example, when the service provider account
|
26781
26900
|
# uses `us-east-1a` and `us-east-1c` and the consumer uses `us-east-1a`
|
26782
|
-
# and us-east-
|
26783
|
-
#
|
26901
|
+
# and `us-east-1b`, the response includes the VPC endpoint services in
|
26902
|
+
# the common Availability Zone, `us-east-1a`.
|
26784
26903
|
#
|
26785
26904
|
# @option params [Boolean] :dry_run
|
26786
26905
|
# Checks whether you have the required permissions for the action,
|
@@ -29408,8 +29527,8 @@ module Aws::EC2
|
|
29408
29527
|
# time during the instance lifecycle. This option is supported on
|
29409
29528
|
# instance types that use the Nitro hypervisor.
|
29410
29529
|
#
|
29411
|
-
# For more information, see [Instance
|
29412
|
-
#
|
29530
|
+
# For more information, see [Instance console output][1] in the *Amazon
|
29531
|
+
# EC2 User Guide*.
|
29413
29532
|
#
|
29414
29533
|
#
|
29415
29534
|
#
|
@@ -29523,7 +29642,7 @@ module Aws::EC2
|
|
29523
29642
|
# performance instance family.
|
29524
29643
|
#
|
29525
29644
|
# For more information, see [Burstable performance instances][1] in the
|
29526
|
-
# *Amazon
|
29645
|
+
# *Amazon EC2 User Guide*.
|
29527
29646
|
#
|
29528
29647
|
#
|
29529
29648
|
#
|
@@ -30055,8 +30174,8 @@ module Aws::EC2
|
|
30055
30174
|
# The Windows password is generated at boot by the `EC2Config` service
|
30056
30175
|
# or `EC2Launch` scripts (Windows Server 2016 and later). This usually
|
30057
30176
|
# only happens the first time an instance is launched. For more
|
30058
|
-
# information, see [EC2Config][1] and [EC2Launch][2] in the Amazon
|
30059
|
-
#
|
30177
|
+
# information, see [EC2Config][1] and [EC2Launch][2] in the *Amazon EC2
|
30178
|
+
# User Guide*.
|
30060
30179
|
#
|
30061
30180
|
# For the `EC2Config` service, the password is not generated for
|
30062
30181
|
# rebundled AMIs unless `Ec2SetPassword` is enabled before bundling.
|
@@ -31280,6 +31399,55 @@ module Aws::EC2
|
|
31280
31399
|
req.send_request(options)
|
31281
31400
|
end
|
31282
31401
|
|
31402
|
+
# Modifies an attribute of the specified Elastic IP address. For
|
31403
|
+
# requirements, see [Using reverse DNS for email applications][1].
|
31404
|
+
#
|
31405
|
+
#
|
31406
|
+
#
|
31407
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS
|
31408
|
+
#
|
31409
|
+
# @option params [required, String] :allocation_id
|
31410
|
+
# \[EC2-VPC\] The allocation ID.
|
31411
|
+
#
|
31412
|
+
# @option params [String] :domain_name
|
31413
|
+
# The domain name to modify for the IP address.
|
31414
|
+
#
|
31415
|
+
# @option params [Boolean] :dry_run
|
31416
|
+
# Checks whether you have the required permissions for the action,
|
31417
|
+
# without actually making the request, and provides an error response.
|
31418
|
+
# If you have the required permissions, the error response is
|
31419
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
31420
|
+
#
|
31421
|
+
# @return [Types::ModifyAddressAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
31422
|
+
#
|
31423
|
+
# * {Types::ModifyAddressAttributeResult#address #address} => Types::AddressAttribute
|
31424
|
+
#
|
31425
|
+
# @example Request syntax with placeholder values
|
31426
|
+
#
|
31427
|
+
# resp = client.modify_address_attribute({
|
31428
|
+
# allocation_id: "AllocationId", # required
|
31429
|
+
# domain_name: "String",
|
31430
|
+
# dry_run: false,
|
31431
|
+
# })
|
31432
|
+
#
|
31433
|
+
# @example Response structure
|
31434
|
+
#
|
31435
|
+
# resp.address.public_ip #=> String
|
31436
|
+
# resp.address.allocation_id #=> String
|
31437
|
+
# resp.address.ptr_record #=> String
|
31438
|
+
# resp.address.ptr_record_update.value #=> String
|
31439
|
+
# resp.address.ptr_record_update.status #=> String
|
31440
|
+
# resp.address.ptr_record_update.reason #=> String
|
31441
|
+
#
|
31442
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAddressAttribute AWS API Documentation
|
31443
|
+
#
|
31444
|
+
# @overload modify_address_attribute(params = {})
|
31445
|
+
# @param [Hash] params ({})
|
31446
|
+
def modify_address_attribute(params = {}, options = {})
|
31447
|
+
req = build_request(:modify_address_attribute, params)
|
31448
|
+
req.send_request(options)
|
31449
|
+
end
|
31450
|
+
|
31283
31451
|
# Changes the opt-in status of the Local Zone and Wavelength Zone group
|
31284
31452
|
# for your account.
|
31285
31453
|
#
|
@@ -31375,6 +31543,10 @@ module Aws::EC2
|
|
31375
31543
|
# specified date and time. You must provide an `EndDate` value if
|
31376
31544
|
# `EndDateType` is `limited`.
|
31377
31545
|
#
|
31546
|
+
# @option params [Boolean] :accept
|
31547
|
+
# Reserved. Capacity Reservations you have created are accepted by
|
31548
|
+
# default.
|
31549
|
+
#
|
31378
31550
|
# @option params [Boolean] :dry_run
|
31379
31551
|
# Checks whether you have the required permissions for the action,
|
31380
31552
|
# without actually making the request, and provides an error response.
|
@@ -31392,6 +31564,7 @@ module Aws::EC2
|
|
31392
31564
|
# instance_count: 1,
|
31393
31565
|
# end_date: Time.now,
|
31394
31566
|
# end_date_type: "unlimited", # accepts unlimited, limited
|
31567
|
+
# accept: false,
|
31395
31568
|
# dry_run: false,
|
31396
31569
|
# })
|
31397
31570
|
#
|
@@ -31539,7 +31712,7 @@ module Aws::EC2
|
|
31539
31712
|
# for updates.
|
31540
31713
|
#
|
31541
31714
|
# For more information, see [Burstable performance instances][1] in the
|
31542
|
-
# *Amazon
|
31715
|
+
# *Amazon EC2 User Guide*.
|
31543
31716
|
#
|
31544
31717
|
#
|
31545
31718
|
#
|
@@ -31887,8 +32060,8 @@ module Aws::EC2
|
|
31887
32060
|
#
|
31888
32061
|
# @option params [String] :host_recovery
|
31889
32062
|
# Indicates whether to enable or disable host recovery for the Dedicated
|
31890
|
-
# Host. For more information, see [ Host
|
31891
|
-
#
|
32063
|
+
# Host. For more information, see [ Host recovery][1] in the *Amazon EC2
|
32064
|
+
# User Guide*.
|
31892
32065
|
#
|
31893
32066
|
#
|
31894
32067
|
#
|
@@ -32236,7 +32409,7 @@ module Aws::EC2
|
|
32236
32409
|
#
|
32237
32410
|
# To modify some attributes, the instance must be stopped. For more
|
32238
32411
|
# information, see [Modifying attributes of a stopped instance][1] in
|
32239
|
-
# the *Amazon
|
32412
|
+
# the *Amazon EC2 User Guide*.
|
32240
32413
|
#
|
32241
32414
|
#
|
32242
32415
|
#
|
@@ -32260,7 +32433,7 @@ module Aws::EC2
|
|
32260
32433
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
32261
32434
|
# must add them when you launch the instance. For more information, see
|
32262
32435
|
# [Updating the block device mapping when launching an instance][1] in
|
32263
|
-
# the *Amazon
|
32436
|
+
# the *Amazon EC2 User Guide*.
|
32264
32437
|
#
|
32265
32438
|
#
|
32266
32439
|
#
|
@@ -32306,8 +32479,9 @@ module Aws::EC2
|
|
32306
32479
|
#
|
32307
32480
|
# @option params [Types::AttributeValue] :instance_type
|
32308
32481
|
# Changes the instance type to the specified value. For more
|
32309
|
-
# information, see [Instance types][1]
|
32310
|
-
# valid, the error returned is
|
32482
|
+
# information, see [Instance types][1] in the *Amazon EC2 User Guide*.
|
32483
|
+
# If the instance type is not valid, the error returned is
|
32484
|
+
# `InvalidInstanceAttributeValue`.
|
32311
32485
|
#
|
32312
32486
|
#
|
32313
32487
|
#
|
@@ -32488,7 +32662,7 @@ module Aws::EC2
|
|
32488
32662
|
# `unlimited`.
|
32489
32663
|
#
|
32490
32664
|
# For more information, see [Burstable performance instances][1] in the
|
32491
|
-
# *Amazon
|
32665
|
+
# *Amazon EC2 User Guide*.
|
32492
32666
|
#
|
32493
32667
|
#
|
32494
32668
|
#
|
@@ -32603,7 +32777,8 @@ module Aws::EC2
|
|
32603
32777
|
# “pending”. After the parameter modifications are successfully applied
|
32604
32778
|
# to the instance, the state of the modifications changes from “pending”
|
32605
32779
|
# to “applied” in subsequent describe-instances API calls. For more
|
32606
|
-
# information, see [Instance metadata and user data][1]
|
32780
|
+
# information, see [Instance metadata and user data][1] in the *Amazon
|
32781
|
+
# EC2 User Guide*.
|
32607
32782
|
#
|
32608
32783
|
#
|
32609
32784
|
#
|
@@ -33057,7 +33232,7 @@ module Aws::EC2
|
|
33057
33232
|
# Availability Zone, network platform, and instance type.
|
33058
33233
|
#
|
33059
33234
|
# For more information, see [Modifying Reserved Instances][1] in the
|
33060
|
-
# Amazon
|
33235
|
+
# *Amazon EC2 User Guide*.
|
33061
33236
|
#
|
33062
33237
|
#
|
33063
33238
|
#
|
@@ -34020,6 +34195,19 @@ module Aws::EC2
|
|
34020
34195
|
#
|
34021
34196
|
# Valid Range: Minimum value of 125. Maximum value of 1000.
|
34022
34197
|
#
|
34198
|
+
# @option params [Boolean] :multi_attach_enabled
|
34199
|
+
# Specifies whether to enable Amazon EBS Multi-Attach. If you enable
|
34200
|
+
# Multi-Attach, you can attach the volume to up to 16 [ Nitro-based
|
34201
|
+
# instances][1] in the same Availability Zone. This parameter is
|
34202
|
+
# supported with `io1` and `io2` volumes only. For more information, see
|
34203
|
+
# [ Amazon EBS Multi-Attach][2] in the *Amazon Elastic Compute Cloud
|
34204
|
+
# User Guide*.
|
34205
|
+
#
|
34206
|
+
#
|
34207
|
+
#
|
34208
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
34209
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html
|
34210
|
+
#
|
34023
34211
|
# @return [Types::ModifyVolumeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
34024
34212
|
#
|
34025
34213
|
# * {Types::ModifyVolumeResult#volume_modification #volume_modification} => Types::VolumeModification
|
@@ -34033,6 +34221,7 @@ module Aws::EC2
|
|
34033
34221
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
34034
34222
|
# iops: 1,
|
34035
34223
|
# throughput: 1,
|
34224
|
+
# multi_attach_enabled: false,
|
34036
34225
|
# })
|
34037
34226
|
#
|
34038
34227
|
# @example Response structure
|
@@ -34044,10 +34233,12 @@ module Aws::EC2
|
|
34044
34233
|
# resp.volume_modification.target_iops #=> Integer
|
34045
34234
|
# resp.volume_modification.target_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
34046
34235
|
# resp.volume_modification.target_throughput #=> Integer
|
34236
|
+
# resp.volume_modification.target_multi_attach_enabled #=> Boolean
|
34047
34237
|
# resp.volume_modification.original_size #=> Integer
|
34048
34238
|
# resp.volume_modification.original_iops #=> Integer
|
34049
34239
|
# resp.volume_modification.original_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
34050
34240
|
# resp.volume_modification.original_throughput #=> Integer
|
34241
|
+
# resp.volume_modification.original_multi_attach_enabled #=> Boolean
|
34051
34242
|
# resp.volume_modification.progress #=> Integer
|
34052
34243
|
# resp.volume_modification.start_time #=> Time
|
34053
34244
|
# resp.volume_modification.end_time #=> Time
|
@@ -34255,6 +34446,8 @@ module Aws::EC2
|
|
34255
34446
|
# (Interface endpoint) Indicates whether a private hosted zone is
|
34256
34447
|
# associated with the VPC.
|
34257
34448
|
#
|
34449
|
+
# Private DNS is not supported for Amazon S3 interface endpoints.
|
34450
|
+
#
|
34258
34451
|
# @return [Types::ModifyVpcEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
34259
34452
|
#
|
34260
34453
|
# * {Types::ModifyVpcEndpointResult#return #return} => Boolean
|
@@ -35128,8 +35321,7 @@ module Aws::EC2
|
|
35128
35321
|
|
35129
35322
|
# Enables detailed monitoring for a running instance. Otherwise, basic
|
35130
35323
|
# monitoring is enabled. For more information, see [Monitoring your
|
35131
|
-
# instances and volumes][1] in the *Amazon
|
35132
|
-
# Guide*.
|
35324
|
+
# instances and volumes][1] in the *Amazon EC2 User Guide*.
|
35133
35325
|
#
|
35134
35326
|
# To disable detailed monitoring, see .
|
35135
35327
|
#
|
@@ -35334,7 +35526,7 @@ module Aws::EC2
|
|
35334
35526
|
#
|
35335
35527
|
# @option params [String] :client_token
|
35336
35528
|
# Unique, case-sensitive identifier that you provide to ensure the
|
35337
|
-
# idempotency of the request. For more information, see [
|
35529
|
+
# idempotency of the request. For more information, see [Ensuring
|
35338
35530
|
# Idempotency][1].
|
35339
35531
|
#
|
35340
35532
|
#
|
@@ -35434,8 +35626,7 @@ module Aws::EC2
|
|
35434
35626
|
# current time.
|
35435
35627
|
#
|
35436
35628
|
# For more information, see [Reserved Instances][1] and [Reserved
|
35437
|
-
# Instance Marketplace][2] in the *Amazon
|
35438
|
-
# Guide*.
|
35629
|
+
# Instance Marketplace][2] in the *Amazon EC2 User Guide*.
|
35439
35630
|
#
|
35440
35631
|
#
|
35441
35632
|
#
|
@@ -35628,8 +35819,7 @@ module Aws::EC2
|
|
35628
35819
|
# EC2 performs a hard reboot.
|
35629
35820
|
#
|
35630
35821
|
# For more information about troubleshooting, see [Getting console
|
35631
|
-
# output and rebooting instances][1] in the *Amazon
|
35632
|
-
# Cloud User Guide*.
|
35822
|
+
# output and rebooting instances][1] in the *Amazon EC2 User Guide*.
|
35633
35823
|
#
|
35634
35824
|
#
|
35635
35825
|
#
|
@@ -37665,6 +37855,55 @@ module Aws::EC2
|
|
37665
37855
|
req.send_request(options)
|
37666
37856
|
end
|
37667
37857
|
|
37858
|
+
# Resets the attribute of the specified IP address. For requirements,
|
37859
|
+
# see [Using reverse DNS for email applications][1].
|
37860
|
+
#
|
37861
|
+
#
|
37862
|
+
#
|
37863
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS
|
37864
|
+
#
|
37865
|
+
# @option params [required, String] :allocation_id
|
37866
|
+
# \[EC2-VPC\] The allocation ID.
|
37867
|
+
#
|
37868
|
+
# @option params [required, String] :attribute
|
37869
|
+
# The attribute of the IP address.
|
37870
|
+
#
|
37871
|
+
# @option params [Boolean] :dry_run
|
37872
|
+
# Checks whether you have the required permissions for the action,
|
37873
|
+
# without actually making the request, and provides an error response.
|
37874
|
+
# If you have the required permissions, the error response is
|
37875
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
37876
|
+
#
|
37877
|
+
# @return [Types::ResetAddressAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
37878
|
+
#
|
37879
|
+
# * {Types::ResetAddressAttributeResult#address #address} => Types::AddressAttribute
|
37880
|
+
#
|
37881
|
+
# @example Request syntax with placeholder values
|
37882
|
+
#
|
37883
|
+
# resp = client.reset_address_attribute({
|
37884
|
+
# allocation_id: "AllocationId", # required
|
37885
|
+
# attribute: "domain-name", # required, accepts domain-name
|
37886
|
+
# dry_run: false,
|
37887
|
+
# })
|
37888
|
+
#
|
37889
|
+
# @example Response structure
|
37890
|
+
#
|
37891
|
+
# resp.address.public_ip #=> String
|
37892
|
+
# resp.address.allocation_id #=> String
|
37893
|
+
# resp.address.ptr_record #=> String
|
37894
|
+
# resp.address.ptr_record_update.value #=> String
|
37895
|
+
# resp.address.ptr_record_update.status #=> String
|
37896
|
+
# resp.address.ptr_record_update.reason #=> String
|
37897
|
+
#
|
37898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetAddressAttribute AWS API Documentation
|
37899
|
+
#
|
37900
|
+
# @overload reset_address_attribute(params = {})
|
37901
|
+
# @param [Hash] params ({})
|
37902
|
+
def reset_address_attribute(params = {}, options = {})
|
37903
|
+
req = build_request(:reset_address_attribute, params)
|
37904
|
+
req.send_request(options)
|
37905
|
+
end
|
37906
|
+
|
37668
37907
|
# Resets the default customer master key (CMK) for EBS encryption for
|
37669
37908
|
# your account in this Region to the AWS managed CMK for EBS.
|
37670
37909
|
#
|
@@ -37807,8 +38046,8 @@ module Aws::EC2
|
|
37807
38046
|
# The `sourceDestCheck` attribute controls whether source/destination
|
37808
38047
|
# checking is enabled. The default value is `true`, which means checking
|
37809
38048
|
# is enabled. This value must be `false` for a NAT instance to perform
|
37810
|
-
# NAT. For more information, see [NAT Instances][1] in the *Amazon
|
37811
|
-
#
|
38049
|
+
# NAT. For more information, see [NAT Instances][1] in the *Amazon VPC
|
38050
|
+
# User Guide*.
|
37812
38051
|
#
|
37813
38052
|
#
|
37814
38053
|
#
|
@@ -38480,12 +38719,10 @@ module Aws::EC2
|
|
38480
38719
|
# Linux instances have access to the public key of the key pair at boot.
|
38481
38720
|
# You can use this key to provide secure access to the instance. Amazon
|
38482
38721
|
# EC2 public images use this feature to provide secure access without
|
38483
|
-
# passwords. For more information, see [Key pairs][6]
|
38484
|
-
# Elastic Compute Cloud User Guide*.
|
38722
|
+
# passwords. For more information, see [Key pairs][6].
|
38485
38723
|
#
|
38486
38724
|
# For troubleshooting, see [What to do if an instance immediately
|
38487
|
-
# terminates][7], and [Troubleshooting connecting to your instance][8]
|
38488
|
-
# in the *Amazon Elastic Compute Cloud User Guide*.
|
38725
|
+
# terminates][7], and [Troubleshooting connecting to your instance][8].
|
38489
38726
|
#
|
38490
38727
|
#
|
38491
38728
|
#
|
@@ -38507,7 +38744,7 @@ module Aws::EC2
|
|
38507
38744
|
#
|
38508
38745
|
# @option params [String] :instance_type
|
38509
38746
|
# The instance type. For more information, see [Instance types][1] in
|
38510
|
-
# the *Amazon
|
38747
|
+
# the *Amazon EC2 User Guide*.
|
38511
38748
|
#
|
38512
38749
|
# Default: `m1.small`
|
38513
38750
|
#
|
@@ -38540,8 +38777,8 @@ module Aws::EC2
|
|
38540
38777
|
# The ID of the kernel.
|
38541
38778
|
#
|
38542
38779
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
38543
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
38544
|
-
#
|
38780
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
38781
|
+
# Guide*.
|
38545
38782
|
#
|
38546
38783
|
#
|
38547
38784
|
#
|
@@ -38602,8 +38839,8 @@ module Aws::EC2
|
|
38602
38839
|
# go to the AWS Resource Center and search for the kernel ID.
|
38603
38840
|
#
|
38604
38841
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
38605
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
38606
|
-
#
|
38842
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
38843
|
+
# Guide*.
|
38607
38844
|
#
|
38608
38845
|
#
|
38609
38846
|
#
|
@@ -38730,8 +38967,7 @@ module Aws::EC2
|
|
38730
38967
|
# An elastic GPU to associate with the instance. An Elastic GPU is a GPU
|
38731
38968
|
# resource that you can attach to your Windows instance to accelerate
|
38732
38969
|
# the graphics performance of your applications. For more information,
|
38733
|
-
# see [
|
38734
|
-
# User Guide*.
|
38970
|
+
# see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2 User Guide*.
|
38735
38971
|
#
|
38736
38972
|
#
|
38737
38973
|
#
|
@@ -38774,7 +39010,7 @@ module Aws::EC2
|
|
38774
39010
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
38775
39011
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
38776
39012
|
# information, see [Burstable performance instances][2] in the *Amazon
|
38777
|
-
#
|
39013
|
+
# EC2 User Guide*.
|
38778
39014
|
#
|
38779
39015
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
38780
39016
|
#
|
@@ -38785,8 +39021,7 @@ module Aws::EC2
|
|
38785
39021
|
#
|
38786
39022
|
# @option params [Types::CpuOptionsRequest] :cpu_options
|
38787
39023
|
# The CPU options for the instance. For more information, see
|
38788
|
-
# [Optimizing CPU options][1] in the *Amazon
|
38789
|
-
# Guide*.
|
39024
|
+
# [Optimizing CPU options][1] in the *Amazon EC2 User Guide*.
|
38790
39025
|
#
|
38791
39026
|
#
|
38792
39027
|
#
|
@@ -38801,8 +39036,8 @@ module Aws::EC2
|
|
38801
39036
|
#
|
38802
39037
|
# @option params [Types::HibernationOptionsRequest] :hibernation_options
|
38803
39038
|
# Indicates whether an instance is enabled for hibernation. For more
|
38804
|
-
# information, see [Hibernate your instance][1] in the *Amazon
|
38805
|
-
#
|
39039
|
+
# information, see [Hibernate your instance][1] in the *Amazon EC2 User
|
39040
|
+
# Guide*.
|
38806
39041
|
#
|
38807
39042
|
# You can't enable hibernation and AWS Nitro Enclaves on the same
|
38808
39043
|
# instance.
|
@@ -39188,7 +39423,7 @@ module Aws::EC2
|
|
39188
39423
|
# it as needed. If you terminate a Scheduled Instance before the current
|
39189
39424
|
# scheduled time period ends, you can launch it again after a few
|
39190
39425
|
# minutes. For more information, see [Scheduled Instances][1] in the
|
39191
|
-
# *Amazon
|
39426
|
+
# *Amazon EC2 User Guide*.
|
39192
39427
|
#
|
39193
39428
|
#
|
39194
39429
|
#
|
@@ -39705,8 +39940,8 @@ module Aws::EC2
|
|
39705
39940
|
# Performing this operation on an instance that uses an instance store
|
39706
39941
|
# as its root device returns an error.
|
39707
39942
|
#
|
39708
|
-
# For more information, see [Stopping instances][1] in the *Amazon
|
39709
|
-
#
|
39943
|
+
# For more information, see [Stopping instances][1] in the *Amazon EC2
|
39944
|
+
# User Guide*.
|
39710
39945
|
#
|
39711
39946
|
#
|
39712
39947
|
#
|
@@ -40137,7 +40372,7 @@ module Aws::EC2
|
|
40137
40372
|
# You can use the Stop action to hibernate an instance if the instance
|
40138
40373
|
# is [enabled for hibernation][1] and it meets the [hibernation
|
40139
40374
|
# prerequisites][2]. For more information, see [Hibernate your
|
40140
|
-
# instance][3] in the *Amazon
|
40375
|
+
# instance][3] in the *Amazon EC2 User Guide*.
|
40141
40376
|
#
|
40142
40377
|
# We don't charge usage for a stopped instance, or data transfer fees;
|
40143
40378
|
# however, your root partition Amazon EBS volume remains and continues
|
@@ -40154,7 +40389,7 @@ module Aws::EC2
|
|
40154
40389
|
# can't use the Stop action to hibernate Spot Instances, but you can
|
40155
40390
|
# specify that Amazon EC2 should hibernate Spot Instances when they are
|
40156
40391
|
# interrupted. For more information, see [Hibernating interrupted Spot
|
40157
|
-
# Instances][4] in the *Amazon
|
40392
|
+
# Instances][4] in the *Amazon EC2 User Guide*.
|
40158
40393
|
#
|
40159
40394
|
# When you stop or hibernate an instance, we shut it down. You can
|
40160
40395
|
# restart your instance at any time. Before stopping or hibernating an
|
@@ -40170,13 +40405,13 @@ module Aws::EC2
|
|
40170
40405
|
# devices attached during the instance launch are automatically deleted.
|
40171
40406
|
# For more information about the differences between rebooting,
|
40172
40407
|
# stopping, hibernating, and terminating instances, see [Instance
|
40173
|
-
# lifecycle][5] in the *Amazon
|
40408
|
+
# lifecycle][5] in the *Amazon EC2 User Guide*.
|
40174
40409
|
#
|
40175
40410
|
# When you stop an instance, we attempt to shut it down forcibly after a
|
40176
40411
|
# short while. If your instance appears stuck in the stopping state
|
40177
40412
|
# after a period of time, there may be an issue with the underlying host
|
40178
40413
|
# computer. For more information, see [Troubleshooting stopping your
|
40179
|
-
# instance][6] in the *Amazon
|
40414
|
+
# instance][6] in the *Amazon EC2 User Guide*.
|
40180
40415
|
#
|
40181
40416
|
#
|
40182
40417
|
#
|
@@ -40194,7 +40429,7 @@ module Aws::EC2
|
|
40194
40429
|
# Hibernates the instance if the instance was enabled for hibernation at
|
40195
40430
|
# launch. If the instance cannot hibernate successfully, a normal
|
40196
40431
|
# shutdown occurs. For more information, see [Hibernate your
|
40197
|
-
# instance][1] in the *Amazon
|
40432
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
40198
40433
|
#
|
40199
40434
|
# Default: `false`
|
40200
40435
|
#
|
@@ -40353,12 +40588,10 @@ module Aws::EC2
|
|
40353
40588
|
# volumes with the `DeleteOnTermination` block device mapping parameter
|
40354
40589
|
# set to `true` are automatically deleted. For more information about
|
40355
40590
|
# the differences between stopping and terminating instances, see
|
40356
|
-
# [Instance lifecycle][1] in the *Amazon
|
40357
|
-
# Guide*.
|
40591
|
+
# [Instance lifecycle][1] in the *Amazon EC2 User Guide*.
|
40358
40592
|
#
|
40359
40593
|
# For more information about troubleshooting, see [Troubleshooting
|
40360
|
-
# terminating your instance][2] in the *Amazon
|
40361
|
-
# User Guide*.
|
40594
|
+
# terminating your instance][2] in the *Amazon EC2 User Guide*.
|
40362
40595
|
#
|
40363
40596
|
#
|
40364
40597
|
#
|
@@ -40512,7 +40745,7 @@ module Aws::EC2
|
|
40512
40745
|
|
40513
40746
|
# Disables detailed monitoring for a running instance. For more
|
40514
40747
|
# information, see [Monitoring your instances and volumes][1] in the
|
40515
|
-
# *Amazon
|
40748
|
+
# *Amazon EC2 User Guide*.
|
40516
40749
|
#
|
40517
40750
|
#
|
40518
40751
|
#
|
@@ -40839,7 +41072,7 @@ module Aws::EC2
|
|
40839
41072
|
params: params,
|
40840
41073
|
config: config)
|
40841
41074
|
context[:gem_name] = 'aws-sdk-ec2'
|
40842
|
-
context[:gem_version] = '1.
|
41075
|
+
context[:gem_version] = '1.223.0'
|
40843
41076
|
Seahorse::Client::Request.new(handlers, context)
|
40844
41077
|
end
|
40845
41078
|
|