aws-sdk-ec2 1.281.0 → 1.282.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +183 -37
- data/lib/aws-sdk-ec2/client_api.rb +66 -1
- data/lib/aws-sdk-ec2/instance.rb +14 -2
- data/lib/aws-sdk-ec2/network_interface.rb +13 -0
- data/lib/aws-sdk-ec2/resource.rb +30 -12
- data/lib/aws-sdk-ec2/subnet.rb +30 -8
- data/lib/aws-sdk-ec2/types.rb +499 -91
- data/lib/aws-sdk-ec2/vpc.rb +14 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bd20a79515d3fd0673d4b40ff28e0aeaefb1bed8625728c6c31c16eeaed930e
|
4
|
+
data.tar.gz: d2cfee4e24cebac560e25b6d30e664b6d2e817577eb654a25ed9c2f9e1e21f61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 337ae196ef9d758231d2fc7fee0d723b9730daf3303eae2af94f4fcca9d9c3157e2628690bf88413d20aba7f5ebae5cc8e10bd57a3cd2977a58ab19842231fe6
|
7
|
+
data.tar.gz: 3c396f6005d68a02634837577059415252b1eccd16f0222c6bd3999064f4d893196034772064231c8debbed19c3a47f74c0a10955bf96cde12610adad0054c35
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.282.0 (2021-11-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds a new parameter ipv6Native to the allow creation of IPv6-only subnets using the CreateSubnet operation, and the operation ModifySubnetAttribute includes new parameters to modify subnet attributes to use resource-based naming and enable DNS resolutions for Private DNS name.
|
8
|
+
|
4
9
|
1.281.0 (2021-11-15)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.282.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4951,6 +4951,11 @@ module Aws::EC2
|
|
4951
4951
|
# If you have the required permissions, the error response is
|
4952
4952
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
4953
4953
|
#
|
4954
|
+
# @option params [Boolean] :ipv_6_native
|
4955
|
+
# Indicates whether to create an IPv6 only subnet. If you already have a
|
4956
|
+
# default subnet for this Availability Zone, you must delete it before
|
4957
|
+
# you can create an IPv6 only subnet.
|
4958
|
+
#
|
4954
4959
|
# @return [Types::CreateDefaultSubnetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4955
4960
|
#
|
4956
4961
|
# * {Types::CreateDefaultSubnetResult#subnet #subnet} => Types::Subnet
|
@@ -4960,6 +4965,7 @@ module Aws::EC2
|
|
4960
4965
|
# resp = client.create_default_subnet({
|
4961
4966
|
# availability_zone: "String", # required
|
4962
4967
|
# dry_run: false,
|
4968
|
+
# ipv_6_native: false,
|
4963
4969
|
# })
|
4964
4970
|
#
|
4965
4971
|
# @example Response structure
|
@@ -4988,6 +4994,10 @@ module Aws::EC2
|
|
4988
4994
|
# resp.subnet.subnet_arn #=> String
|
4989
4995
|
# resp.subnet.outpost_arn #=> String
|
4990
4996
|
# resp.subnet.enable_dns_64 #=> Boolean
|
4997
|
+
# resp.subnet.ipv_6_native #=> Boolean
|
4998
|
+
# resp.subnet.private_dns_name_options_on_launch.hostname_type #=> String, one of "ip-name", "resource-name"
|
4999
|
+
# resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_a_record #=> Boolean
|
5000
|
+
# resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_aaaa_record #=> Boolean
|
4991
5001
|
#
|
4992
5002
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnet AWS API Documentation
|
4993
5003
|
#
|
@@ -6778,6 +6788,11 @@ module Aws::EC2
|
|
6778
6788
|
# max: 1,
|
6779
6789
|
# },
|
6780
6790
|
# },
|
6791
|
+
# private_dns_name_options: {
|
6792
|
+
# hostname_type: "ip-name", # accepts ip-name, resource-name
|
6793
|
+
# enable_resource_name_dns_a_record: false,
|
6794
|
+
# enable_resource_name_dns_aaaa_record: false,
|
6795
|
+
# },
|
6781
6796
|
# },
|
6782
6797
|
# tag_specifications: [
|
6783
6798
|
# {
|
@@ -7124,6 +7139,11 @@ module Aws::EC2
|
|
7124
7139
|
# max: 1,
|
7125
7140
|
# },
|
7126
7141
|
# },
|
7142
|
+
# private_dns_name_options: {
|
7143
|
+
# hostname_type: "ip-name", # accepts ip-name, resource-name
|
7144
|
+
# enable_resource_name_dns_a_record: false,
|
7145
|
+
# enable_resource_name_dns_aaaa_record: false,
|
7146
|
+
# },
|
7127
7147
|
# },
|
7128
7148
|
# })
|
7129
7149
|
#
|
@@ -7265,6 +7285,9 @@ module Aws::EC2
|
|
7265
7285
|
# resp.launch_template_version.launch_template_data.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
|
7266
7286
|
# resp.launch_template_version.launch_template_data.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
7267
7287
|
# resp.launch_template_version.launch_template_data.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
7288
|
+
# resp.launch_template_version.launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
|
7289
|
+
# resp.launch_template_version.launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
|
7290
|
+
# resp.launch_template_version.launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
7268
7291
|
# resp.warning.errors #=> Array
|
7269
7292
|
# resp.warning.errors[0].code #=> String
|
7270
7293
|
# resp.warning.errors[0].message #=> String
|
@@ -8245,6 +8268,8 @@ module Aws::EC2
|
|
8245
8268
|
# resp.network_interface.tag_set[0].value #=> String
|
8246
8269
|
# resp.network_interface.vpc_id #=> String
|
8247
8270
|
# resp.network_interface.deny_all_igw_traffic #=> Boolean
|
8271
|
+
# resp.network_interface.ipv_6_native #=> Boolean
|
8272
|
+
# resp.network_interface.ipv_6_address #=> String
|
8248
8273
|
# resp.client_token #=> String
|
8249
8274
|
#
|
8250
8275
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterface AWS API Documentation
|
@@ -9543,16 +9568,20 @@ module Aws::EC2
|
|
9543
9568
|
# @option params [String] :availability_zone_id
|
9544
9569
|
# The AZ ID or the Local Zone ID of the subnet.
|
9545
9570
|
#
|
9546
|
-
# @option params [
|
9571
|
+
# @option params [String] :cidr_block
|
9547
9572
|
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
9548
9573
|
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
9549
9574
|
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
9550
9575
|
# `100.68.0.0/18`.
|
9551
9576
|
#
|
9577
|
+
# This parameter is not supported for an IPv6 only subnet.
|
9578
|
+
#
|
9552
9579
|
# @option params [String] :ipv_6_cidr_block
|
9553
9580
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
9554
9581
|
# size must use a /64 prefix length.
|
9555
9582
|
#
|
9583
|
+
# This parameter is required for an IPv6 only subnet.
|
9584
|
+
#
|
9556
9585
|
# @option params [String] :outpost_arn
|
9557
9586
|
# The Amazon Resource Name (ARN) of the Outpost. If you specify an
|
9558
9587
|
# Outpost ARN, you must also specify the Availability Zone of the
|
@@ -9567,6 +9596,9 @@ module Aws::EC2
|
|
9567
9596
|
# If you have the required permissions, the error response is
|
9568
9597
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
9569
9598
|
#
|
9599
|
+
# @option params [Boolean] :ipv_6_native
|
9600
|
+
# Indicates whether to create an IPv6 only subnet.
|
9601
|
+
#
|
9570
9602
|
# @return [Types::CreateSubnetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9571
9603
|
#
|
9572
9604
|
# * {Types::CreateSubnetResult#subnet #subnet} => Types::Subnet
|
@@ -9610,11 +9642,12 @@ module Aws::EC2
|
|
9610
9642
|
# ],
|
9611
9643
|
# availability_zone: "String",
|
9612
9644
|
# availability_zone_id: "String",
|
9613
|
-
# cidr_block: "String",
|
9645
|
+
# cidr_block: "String",
|
9614
9646
|
# ipv_6_cidr_block: "String",
|
9615
9647
|
# outpost_arn: "String",
|
9616
9648
|
# vpc_id: "VpcId", # required
|
9617
9649
|
# dry_run: false,
|
9650
|
+
# ipv_6_native: false,
|
9618
9651
|
# })
|
9619
9652
|
#
|
9620
9653
|
# @example Response structure
|
@@ -9643,6 +9676,10 @@ module Aws::EC2
|
|
9643
9676
|
# resp.subnet.subnet_arn #=> String
|
9644
9677
|
# resp.subnet.outpost_arn #=> String
|
9645
9678
|
# resp.subnet.enable_dns_64 #=> Boolean
|
9679
|
+
# resp.subnet.ipv_6_native #=> Boolean
|
9680
|
+
# resp.subnet.private_dns_name_options_on_launch.hostname_type #=> String, one of "ip-name", "resource-name"
|
9681
|
+
# resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_a_record #=> Boolean
|
9682
|
+
# resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_aaaa_record #=> Boolean
|
9646
9683
|
#
|
9647
9684
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnet AWS API Documentation
|
9648
9685
|
#
|
@@ -19619,8 +19656,8 @@ module Aws::EC2
|
|
19619
19656
|
# * **Status checks** - Amazon EC2 performs status checks on running EC2
|
19620
19657
|
# instances to identify hardware and software issues. For more
|
19621
19658
|
# information, see [Status checks for your instances][1] and
|
19622
|
-
# [
|
19623
|
-
#
|
19659
|
+
# [Troubleshoot instances with failed status checks][2] in the *Amazon
|
19660
|
+
# EC2 User Guide*.
|
19624
19661
|
#
|
19625
19662
|
# * **Scheduled events** - Amazon EC2 can schedule events (such as
|
19626
19663
|
# reboot, stop, or terminate) for your instances related to hardware
|
@@ -20724,6 +20761,10 @@ module Aws::EC2
|
|
20724
20761
|
# resp.reservations[0].instances[0].platform_details #=> String
|
20725
20762
|
# resp.reservations[0].instances[0].usage_operation #=> String
|
20726
20763
|
# resp.reservations[0].instances[0].usage_operation_update_time #=> Time
|
20764
|
+
# resp.reservations[0].instances[0].private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
|
20765
|
+
# resp.reservations[0].instances[0].private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
|
20766
|
+
# resp.reservations[0].instances[0].private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
20767
|
+
# resp.reservations[0].instances[0].ipv_6_address #=> String
|
20727
20768
|
# resp.reservations[0].owner_id #=> String
|
20728
20769
|
# resp.reservations[0].requester_id #=> String
|
20729
20770
|
# resp.reservations[0].reservation_id #=> String
|
@@ -21350,6 +21391,9 @@ module Aws::EC2
|
|
21350
21391
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
|
21351
21392
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
21352
21393
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
21394
|
+
# resp.launch_template_versions[0].launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
|
21395
|
+
# resp.launch_template_versions[0].launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
|
21396
|
+
# resp.launch_template_versions[0].launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
21353
21397
|
# resp.next_token #=> String
|
21354
21398
|
#
|
21355
21399
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersions AWS API Documentation
|
@@ -23312,6 +23356,8 @@ module Aws::EC2
|
|
23312
23356
|
# resp.network_interfaces[0].tag_set[0].value #=> String
|
23313
23357
|
# resp.network_interfaces[0].vpc_id #=> String
|
23314
23358
|
# resp.network_interfaces[0].deny_all_igw_traffic #=> Boolean
|
23359
|
+
# resp.network_interfaces[0].ipv_6_native #=> Boolean
|
23360
|
+
# resp.network_interfaces[0].ipv_6_address #=> String
|
23315
23361
|
# resp.next_token #=> String
|
23316
23362
|
#
|
23317
23363
|
#
|
@@ -26907,8 +26953,8 @@ module Aws::EC2
|
|
26907
26953
|
# `cidrBlock` as the filter names.
|
26908
26954
|
#
|
26909
26955
|
# * `default-for-az` - Indicates whether this is the default subnet for
|
26910
|
-
# the Availability Zone. You can also use
|
26911
|
-
# name.
|
26956
|
+
# the Availability Zone (`true` \| `false`). You can also use
|
26957
|
+
# `defaultForAz` as the filter name.
|
26912
26958
|
#
|
26913
26959
|
# * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
|
26914
26960
|
# associated with the subnet.
|
@@ -26919,6 +26965,9 @@ module Aws::EC2
|
|
26919
26965
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
26920
26966
|
# block associated with the subnet.
|
26921
26967
|
#
|
26968
|
+
# * `ipv6-native` - Indicates whether this is an IPv6 only subnet
|
26969
|
+
# (`true` \| `false`).
|
26970
|
+
#
|
26922
26971
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
26923
26972
|
#
|
26924
26973
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
@@ -27042,6 +27091,10 @@ module Aws::EC2
|
|
27042
27091
|
# resp.subnets[0].subnet_arn #=> String
|
27043
27092
|
# resp.subnets[0].outpost_arn #=> String
|
27044
27093
|
# resp.subnets[0].enable_dns_64 #=> Boolean
|
27094
|
+
# resp.subnets[0].ipv_6_native #=> Boolean
|
27095
|
+
# resp.subnets[0].private_dns_name_options_on_launch.hostname_type #=> String, one of "ip-name", "resource-name"
|
27096
|
+
# resp.subnets[0].private_dns_name_options_on_launch.enable_resource_name_dns_a_record #=> Boolean
|
27097
|
+
# resp.subnets[0].private_dns_name_options_on_launch.enable_resource_name_dns_aaaa_record #=> Boolean
|
27045
27098
|
# resp.next_token #=> String
|
27046
27099
|
#
|
27047
27100
|
#
|
@@ -33139,6 +33192,9 @@ module Aws::EC2
|
|
33139
33192
|
# resp.launch_template_data.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
|
33140
33193
|
# resp.launch_template_data.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
33141
33194
|
# resp.launch_template_data.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
33195
|
+
# resp.launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
|
33196
|
+
# resp.launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
|
33197
|
+
# resp.launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
33142
33198
|
#
|
33143
33199
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateData AWS API Documentation
|
33144
33200
|
#
|
@@ -36097,8 +36153,8 @@ module Aws::EC2
|
|
36097
36153
|
# ModifyNetworkInterfaceAttribute action.
|
36098
36154
|
#
|
36099
36155
|
# To modify some attributes, the instance must be stopped. For more
|
36100
|
-
# information, see [
|
36101
|
-
#
|
36156
|
+
# information, see [Modify a stopped instance][1] in the *Amazon EC2
|
36157
|
+
# User Guide*.
|
36102
36158
|
#
|
36103
36159
|
#
|
36104
36160
|
#
|
@@ -36123,8 +36179,8 @@ module Aws::EC2
|
|
36123
36179
|
#
|
36124
36180
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
36125
36181
|
# must add them when you launch the instance. For more information, see
|
36126
|
-
# [
|
36127
|
-
#
|
36182
|
+
# [Update the block device mapping when launching an instance][1] in the
|
36183
|
+
# *Amazon EC2 User Guide*.
|
36128
36184
|
#
|
36129
36185
|
#
|
36130
36186
|
#
|
@@ -36618,14 +36674,11 @@ module Aws::EC2
|
|
36618
36674
|
# Possible values: Integers from 1 to 64
|
36619
36675
|
#
|
36620
36676
|
# @option params [String] :http_endpoint
|
36621
|
-
#
|
36622
|
-
#
|
36623
|
-
# maintained.
|
36624
|
-
#
|
36625
|
-
# <note markdown="1"> If you specify a value of `disabled`, you will not be able to access
|
36626
|
-
# your instance metadata.
|
36677
|
+
# Enables or disables the HTTP metadata endpoint on your instances. If
|
36678
|
+
# the parameter is not specified, the existing state is maintained.
|
36627
36679
|
#
|
36628
|
-
#
|
36680
|
+
# If you specify a value of `disabled`, you cannot access your instance
|
36681
|
+
# metadata.
|
36629
36682
|
#
|
36630
36683
|
# @option params [Boolean] :dry_run
|
36631
36684
|
# Checks whether you have the required permissions for the action,
|
@@ -36635,7 +36688,8 @@ module Aws::EC2
|
|
36635
36688
|
#
|
36636
36689
|
# @option params [String] :http_protocol_ipv_6
|
36637
36690
|
# Enables or disables the IPv6 endpoint for the instance metadata
|
36638
|
-
# service.
|
36691
|
+
# service. This setting applies only if you have enabled the HTTP
|
36692
|
+
# metadata endpoint.
|
36639
36693
|
#
|
36640
36694
|
# @return [Types::ModifyInstanceMetadataOptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
36641
36695
|
#
|
@@ -36728,7 +36782,8 @@ module Aws::EC2
|
|
36728
36782
|
# </note>
|
36729
36783
|
#
|
36730
36784
|
# @option params [Integer] :partition_number
|
36731
|
-
#
|
36785
|
+
# The number of the partition in which to place the instance. Valid only
|
36786
|
+
# if the placement group strategy is set to `partition`.
|
36732
36787
|
#
|
36733
36788
|
# @option params [String] :host_resource_group_arn
|
36734
36789
|
# The ARN of the host resource group in which to place the instance.
|
@@ -37051,6 +37106,60 @@ module Aws::EC2
|
|
37051
37106
|
req.send_request(options)
|
37052
37107
|
end
|
37053
37108
|
|
37109
|
+
# Modifies the options for instance hostnames for the specified
|
37110
|
+
# instance.
|
37111
|
+
#
|
37112
|
+
# @option params [Boolean] :dry_run
|
37113
|
+
# Checks whether you have the required permissions for the action,
|
37114
|
+
# without actually making the request, and provides an error response.
|
37115
|
+
# If you have the required permissions, the error response is
|
37116
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
37117
|
+
#
|
37118
|
+
# @option params [String] :instance_id
|
37119
|
+
# The ID of the instance.
|
37120
|
+
#
|
37121
|
+
# @option params [String] :private_dns_hostname_type
|
37122
|
+
# The type of hostname for EC2 instances. For IPv4 only subnets, an
|
37123
|
+
# instance DNS name must be based on the instance IPv4 address. For IPv6
|
37124
|
+
# only subnets, an instance DNS name must be based on the instance ID.
|
37125
|
+
# For dual-stack subnets, you can specify whether DNS names use the
|
37126
|
+
# instance IPv4 address or the instance ID.
|
37127
|
+
#
|
37128
|
+
# @option params [Boolean] :enable_resource_name_dns_a_record
|
37129
|
+
# Indicates whether to respond to DNS queries for instance hostnames
|
37130
|
+
# with DNS A records.
|
37131
|
+
#
|
37132
|
+
# @option params [Boolean] :enable_resource_name_dns_aaaa_record
|
37133
|
+
# Indicates whether to respond to DNS queries for instance hostnames
|
37134
|
+
# with DNS AAAA records.
|
37135
|
+
#
|
37136
|
+
# @return [Types::ModifyPrivateDnsNameOptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
37137
|
+
#
|
37138
|
+
# * {Types::ModifyPrivateDnsNameOptionsResult#return #return} => Boolean
|
37139
|
+
#
|
37140
|
+
# @example Request syntax with placeholder values
|
37141
|
+
#
|
37142
|
+
# resp = client.modify_private_dns_name_options({
|
37143
|
+
# dry_run: false,
|
37144
|
+
# instance_id: "InstanceId",
|
37145
|
+
# private_dns_hostname_type: "ip-name", # accepts ip-name, resource-name
|
37146
|
+
# enable_resource_name_dns_a_record: false,
|
37147
|
+
# enable_resource_name_dns_aaaa_record: false,
|
37148
|
+
# })
|
37149
|
+
#
|
37150
|
+
# @example Response structure
|
37151
|
+
#
|
37152
|
+
# resp.return #=> Boolean
|
37153
|
+
#
|
37154
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyPrivateDnsNameOptions AWS API Documentation
|
37155
|
+
#
|
37156
|
+
# @overload modify_private_dns_name_options(params = {})
|
37157
|
+
# @param [Hash] params ({})
|
37158
|
+
def modify_private_dns_name_options(params = {}, options = {})
|
37159
|
+
req = build_request(:modify_private_dns_name_options, params)
|
37160
|
+
req.send_request(options)
|
37161
|
+
end
|
37162
|
+
|
37054
37163
|
# Modifies the Availability Zone, instance count, instance type, or
|
37055
37164
|
# network platform (EC2-Classic or EC2-VPC) of your Reserved Instances.
|
37056
37165
|
# The Reserved Instances to be modified must be identical, except for
|
@@ -37501,6 +37610,22 @@ module Aws::EC2
|
|
37501
37610
|
# in this subnet should return synthetic IPv6 addresses for IPv4-only
|
37502
37611
|
# destinations.
|
37503
37612
|
#
|
37613
|
+
# @option params [String] :private_dns_hostname_type_on_launch
|
37614
|
+
# The type of hostnames to assign to instances in the subnet at launch.
|
37615
|
+
# For IPv4 only subnets, an instance DNS name must be based on the
|
37616
|
+
# instance IPv4 address. For IPv6 only subnets, an instance DNS name
|
37617
|
+
# must be based on the instance ID. For dual-stack subnets, you can
|
37618
|
+
# specify whether DNS names use the instance IPv4 address or the
|
37619
|
+
# instance ID.
|
37620
|
+
#
|
37621
|
+
# @option params [Types::AttributeBooleanValue] :enable_resource_name_dns_a_record_on_launch
|
37622
|
+
# Indicates whether to respond to DNS queries for instance hostnames
|
37623
|
+
# with DNS A records.
|
37624
|
+
#
|
37625
|
+
# @option params [Types::AttributeBooleanValue] :enable_resource_name_dns_aaaa_record_on_launch
|
37626
|
+
# Indicates whether to respond to DNS queries for instance hostnames
|
37627
|
+
# with DNS AAAA records.
|
37628
|
+
#
|
37504
37629
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
37505
37630
|
#
|
37506
37631
|
#
|
@@ -37533,6 +37658,13 @@ module Aws::EC2
|
|
37533
37658
|
# enable_dns_64: {
|
37534
37659
|
# value: false,
|
37535
37660
|
# },
|
37661
|
+
# private_dns_hostname_type_on_launch: "ip-name", # accepts ip-name, resource-name
|
37662
|
+
# enable_resource_name_dns_a_record_on_launch: {
|
37663
|
+
# value: false,
|
37664
|
+
# },
|
37665
|
+
# enable_resource_name_dns_aaaa_record_on_launch: {
|
37666
|
+
# value: false,
|
37667
|
+
# },
|
37536
37668
|
# })
|
37537
37669
|
#
|
37538
37670
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttribute AWS API Documentation
|
@@ -39252,8 +39384,8 @@ module Aws::EC2
|
|
39252
39384
|
end
|
39253
39385
|
|
39254
39386
|
# Enables detailed monitoring for a running instance. Otherwise, basic
|
39255
|
-
# monitoring is enabled. For more information, see [
|
39256
|
-
# instances
|
39387
|
+
# monitoring is enabled. For more information, see [Monitor your
|
39388
|
+
# instances using CloudWatch][1] in the *Amazon EC2 User Guide*.
|
39257
39389
|
#
|
39258
39390
|
# To disable detailed monitoring, see .
|
39259
39391
|
#
|
@@ -39754,8 +39886,8 @@ module Aws::EC2
|
|
39754
39886
|
# If an instance does not cleanly shut down within a few minutes, Amazon
|
39755
39887
|
# EC2 performs a hard reboot.
|
39756
39888
|
#
|
39757
|
-
# For more information about troubleshooting, see [
|
39758
|
-
#
|
39889
|
+
# For more information about troubleshooting, see [Troubleshoot an
|
39890
|
+
# unreachable instance][1] in the *Amazon EC2 User Guide*.
|
39759
39891
|
#
|
39760
39892
|
#
|
39761
39893
|
#
|
@@ -42964,16 +43096,16 @@ module Aws::EC2
|
|
42964
43096
|
#
|
42965
43097
|
# @option params [String] :user_data
|
42966
43098
|
# The user data to make available to the instance. For more information,
|
42967
|
-
# see [
|
42968
|
-
#
|
42969
|
-
# base64-encoding is performed for you, and you can
|
42970
|
-
# file. Otherwise, you must provide base64-encoded
|
42971
|
-
# limited to 16 KB.
|
43099
|
+
# see [Run commands on your Linux instance at launch][1] and [Run
|
43100
|
+
# commands on your Windows instance at launch][2]. If you are using a
|
43101
|
+
# command line tool, base64-encoding is performed for you, and you can
|
43102
|
+
# load the text from a file. Otherwise, you must provide base64-encoded
|
43103
|
+
# text. User data is limited to 16 KB.
|
42972
43104
|
#
|
42973
43105
|
#
|
42974
43106
|
#
|
42975
43107
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
42976
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-
|
43108
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-windows-user-data.html
|
42977
43109
|
#
|
42978
43110
|
# @option params [String] :additional_info
|
42979
43111
|
# Reserved.
|
@@ -43112,8 +43244,8 @@ module Aws::EC2
|
|
43112
43244
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
43113
43245
|
#
|
43114
43246
|
# @option params [Types::CpuOptionsRequest] :cpu_options
|
43115
|
-
# The CPU options for the instance. For more information, see
|
43116
|
-
#
|
43247
|
+
# The CPU options for the instance. For more information, see [Optimize
|
43248
|
+
# CPU options][1] in the *Amazon EC2 User Guide*.
|
43117
43249
|
#
|
43118
43250
|
#
|
43119
43251
|
#
|
@@ -43162,6 +43294,10 @@ module Aws::EC2
|
|
43162
43294
|
#
|
43163
43295
|
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
|
43164
43296
|
#
|
43297
|
+
# @option params [Types::PrivateDnsNameOptionsRequest] :private_dns_name_options
|
43298
|
+
# The options for the instance hostname. The default values are
|
43299
|
+
# inherited from the subnet.
|
43300
|
+
#
|
43165
43301
|
# @return [Types::Reservation] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
43166
43302
|
#
|
43167
43303
|
# * {Types::Reservation#groups #groups} => Array<Types::GroupIdentifier>
|
@@ -43381,6 +43517,11 @@ module Aws::EC2
|
|
43381
43517
|
# enclave_options: {
|
43382
43518
|
# enabled: false,
|
43383
43519
|
# },
|
43520
|
+
# private_dns_name_options: {
|
43521
|
+
# hostname_type: "ip-name", # accepts ip-name, resource-name
|
43522
|
+
# enable_resource_name_dns_a_record: false,
|
43523
|
+
# enable_resource_name_dns_aaaa_record: false,
|
43524
|
+
# },
|
43384
43525
|
# })
|
43385
43526
|
#
|
43386
43527
|
# @example Response structure
|
@@ -43518,6 +43659,10 @@ module Aws::EC2
|
|
43518
43659
|
# resp.instances[0].platform_details #=> String
|
43519
43660
|
# resp.instances[0].usage_operation #=> String
|
43520
43661
|
# resp.instances[0].usage_operation_update_time #=> Time
|
43662
|
+
# resp.instances[0].private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
|
43663
|
+
# resp.instances[0].private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
|
43664
|
+
# resp.instances[0].private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
43665
|
+
# resp.instances[0].ipv_6_address #=> String
|
43521
43666
|
# resp.owner_id #=> String
|
43522
43667
|
# resp.requester_id #=> String
|
43523
43668
|
# resp.reservation_id #=> String
|
@@ -43997,8 +44142,9 @@ module Aws::EC2
|
|
43997
44142
|
#
|
43998
44143
|
# For more information about configuring your operating system to
|
43999
44144
|
# generate a crash dump when a kernel panic or stop error occurs, see
|
44000
|
-
# [Send a diagnostic interrupt][1] (Linux
|
44001
|
-
#
|
44145
|
+
# [Send a diagnostic interrupt (for advanced users)][1] (Linux
|
44146
|
+
# instances) or [Send a diagnostic interrupt (for advanced users)][2]
|
44147
|
+
# (Windows instances).
|
44002
44148
|
#
|
44003
44149
|
#
|
44004
44150
|
#
|
@@ -44056,8 +44202,8 @@ module Aws::EC2
|
|
44056
44202
|
# the instance, either change its CPU credit option to `standard`, or
|
44057
44203
|
# change its tenancy to `default` or `dedicated`.
|
44058
44204
|
#
|
44059
|
-
# For more information, see [
|
44060
|
-
# User Guide*.
|
44205
|
+
# For more information, see [Stop and start your instance][1] in the
|
44206
|
+
# *Amazon EC2 User Guide*.
|
44061
44207
|
#
|
44062
44208
|
#
|
44063
44209
|
#
|
@@ -44522,7 +44668,7 @@ module Aws::EC2
|
|
44522
44668
|
# When you stop an instance, we attempt to shut it down forcibly after a
|
44523
44669
|
# short while. If your instance appears stuck in the stopping state
|
44524
44670
|
# after a period of time, there may be an issue with the underlying host
|
44525
|
-
# computer. For more information, see [
|
44671
|
+
# computer. For more information, see [Troubleshoot stopping your
|
44526
44672
|
# instance][6] in the *Amazon EC2 User Guide*.
|
44527
44673
|
#
|
44528
44674
|
#
|
@@ -45247,7 +45393,7 @@ module Aws::EC2
|
|
45247
45393
|
params: params,
|
45248
45394
|
config: config)
|
45249
45395
|
context[:gem_name] = 'aws-sdk-ec2'
|
45250
|
-
context[:gem_version] = '1.
|
45396
|
+
context[:gem_version] = '1.282.0'
|
45251
45397
|
Seahorse::Client::Request.new(handlers, context)
|
45252
45398
|
end
|
45253
45399
|
|