aws-sdk-ec2 1.169.0 → 1.174.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +689 -79
- data/lib/aws-sdk-ec2/client_api.rb +223 -0
- data/lib/aws-sdk-ec2/instance.rb +6 -6
- data/lib/aws-sdk-ec2/network_acl.rb +3 -1
- data/lib/aws-sdk-ec2/resource.rb +107 -15
- data/lib/aws-sdk-ec2/route.rb +6 -0
- data/lib/aws-sdk-ec2/route_table.rb +6 -1
- data/lib/aws-sdk-ec2/subnet.rb +19 -9
- data/lib/aws-sdk-ec2/types.rb +2061 -52
- data/lib/aws-sdk-ec2/vpc.rb +46 -8
- 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: c5d3d1352660f6cc2b57fd9206366fa93b62731d325b9e1447ba55fe5a8d76e7
|
4
|
+
data.tar.gz: d018070806e2ea1e777ebabae1e600a0da301b3284582a249f3abdc6f9f85314
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72e623b07774f37cbbea6970b2912829e0c72f3d1db1dc2fe0f79a14f3c9465e6bd2d4d4bb226e09629f44aeb35308457ce3b65cedc4565ddbb2f55eaa5d7427
|
7
|
+
data.tar.gz: d8773af5a204f63f9c7de17ad8e5c0e7fe2e132348c791a78e7feab115c50f844571a597b6204e8220724981c320eb4f80754b9d7b72e3fada19c4f9b6020ae0
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4213,7 +4213,7 @@ module Aws::EC2
|
|
4213
4213
|
# specify `ec2.internal`. If you're using AmazonProvidedDNS in
|
4214
4214
|
# another Region, specify `region.compute.internal` (for example,
|
4215
4215
|
# `ap-northeast-1.compute.internal`). Otherwise, specify a domain name
|
4216
|
-
# (for example, `
|
4216
|
+
# (for example, `ExampleCompany.com`). This value is used to complete
|
4217
4217
|
# unqualified DNS hostnames. **Important**\: Some Linux operating
|
4218
4218
|
# systems accept multiple domain names separated by spaces. However,
|
4219
4219
|
# Windows and other Linux operating systems treat the value as a
|
@@ -4248,6 +4248,9 @@ module Aws::EC2
|
|
4248
4248
|
# @option params [required, Array<Types::NewDhcpConfiguration>] :dhcp_configurations
|
4249
4249
|
# A DHCP configuration option.
|
4250
4250
|
#
|
4251
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
4252
|
+
# The tags to assign to the DHCP option.
|
4253
|
+
#
|
4251
4254
|
# @option params [Boolean] :dry_run
|
4252
4255
|
# Checks whether you have the required permissions for the action,
|
4253
4256
|
# without actually making the request, and provides an error response.
|
@@ -4304,6 +4307,17 @@ module Aws::EC2
|
|
4304
4307
|
# values: ["String"],
|
4305
4308
|
# },
|
4306
4309
|
# ],
|
4310
|
+
# tag_specifications: [
|
4311
|
+
# {
|
4312
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, 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, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
4313
|
+
# tags: [
|
4314
|
+
# {
|
4315
|
+
# key: "String",
|
4316
|
+
# value: "String",
|
4317
|
+
# },
|
4318
|
+
# ],
|
4319
|
+
# },
|
4320
|
+
# ],
|
4307
4321
|
# dry_run: false,
|
4308
4322
|
# })
|
4309
4323
|
#
|
@@ -4353,6 +4367,9 @@ module Aws::EC2
|
|
4353
4367
|
# The ID of the VPC for which to create the egress-only internet
|
4354
4368
|
# gateway.
|
4355
4369
|
#
|
4370
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
4371
|
+
# The tags to assign to the egress-only internet gateway.
|
4372
|
+
#
|
4356
4373
|
# @return [Types::CreateEgressOnlyInternetGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4357
4374
|
#
|
4358
4375
|
# * {Types::CreateEgressOnlyInternetGatewayResult#client_token #client_token} => String
|
@@ -4364,6 +4381,17 @@ module Aws::EC2
|
|
4364
4381
|
# client_token: "String",
|
4365
4382
|
# dry_run: false,
|
4366
4383
|
# vpc_id: "VpcId", # required
|
4384
|
+
# tag_specifications: [
|
4385
|
+
# {
|
4386
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, 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, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
4387
|
+
# tags: [
|
4388
|
+
# {
|
4389
|
+
# key: "String",
|
4390
|
+
# value: "String",
|
4391
|
+
# },
|
4392
|
+
# ],
|
4393
|
+
# },
|
4394
|
+
# ],
|
4367
4395
|
# })
|
4368
4396
|
#
|
4369
4397
|
# @example Response structure
|
@@ -5090,6 +5118,9 @@ module Aws::EC2
|
|
5090
5118
|
#
|
5091
5119
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
5092
5120
|
#
|
5121
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
5122
|
+
# The tags to assign to the internet gateway.
|
5123
|
+
#
|
5093
5124
|
# @option params [Boolean] :dry_run
|
5094
5125
|
# Checks whether you have the required permissions for the action,
|
5095
5126
|
# without actually making the request, and provides an error response.
|
@@ -5122,6 +5153,17 @@ module Aws::EC2
|
|
5122
5153
|
# @example Request syntax with placeholder values
|
5123
5154
|
#
|
5124
5155
|
# resp = client.create_internet_gateway({
|
5156
|
+
# tag_specifications: [
|
5157
|
+
# {
|
5158
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, 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, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
5159
|
+
# tags: [
|
5160
|
+
# {
|
5161
|
+
# key: "String",
|
5162
|
+
# value: "String",
|
5163
|
+
# },
|
5164
|
+
# ],
|
5165
|
+
# },
|
5166
|
+
# ],
|
5125
5167
|
# dry_run: false,
|
5126
5168
|
# })
|
5127
5169
|
#
|
@@ -5953,6 +5995,108 @@ module Aws::EC2
|
|
5953
5995
|
req.send_request(options)
|
5954
5996
|
end
|
5955
5997
|
|
5998
|
+
# Creates a managed prefix list. You can specify one or more entries for
|
5999
|
+
# the prefix list. Each entry consists of a CIDR block and an optional
|
6000
|
+
# description.
|
6001
|
+
#
|
6002
|
+
# You must specify the maximum number of entries for the prefix list.
|
6003
|
+
# The maximum number of entries cannot be changed later.
|
6004
|
+
#
|
6005
|
+
# @option params [Boolean] :dry_run
|
6006
|
+
# Checks whether you have the required permissions for the action,
|
6007
|
+
# without actually making the request, and provides an error response.
|
6008
|
+
# If you have the required permissions, the error response is
|
6009
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
6010
|
+
#
|
6011
|
+
# @option params [required, String] :prefix_list_name
|
6012
|
+
# A name for the prefix list.
|
6013
|
+
#
|
6014
|
+
# Constraints: Up to 255 characters in length. The name cannot start
|
6015
|
+
# with `com.amazonaws`.
|
6016
|
+
#
|
6017
|
+
# @option params [Array<Types::AddPrefixListEntry>] :entries
|
6018
|
+
# One or more entries for the prefix list.
|
6019
|
+
#
|
6020
|
+
# @option params [required, Integer] :max_entries
|
6021
|
+
# The maximum number of entries for the prefix list.
|
6022
|
+
#
|
6023
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
6024
|
+
# The tags to apply to the prefix list during creation.
|
6025
|
+
#
|
6026
|
+
# @option params [required, String] :address_family
|
6027
|
+
# The IP address type.
|
6028
|
+
#
|
6029
|
+
# Valid Values: `IPv4` \| `IPv6`
|
6030
|
+
#
|
6031
|
+
# @option params [String] :client_token
|
6032
|
+
# Unique, case-sensitive identifier you provide to ensure the
|
6033
|
+
# idempotency of the request. For more information, see [Ensuring
|
6034
|
+
# Idempotency][1].
|
6035
|
+
#
|
6036
|
+
# Constraints: Up to 255 UTF-8 characters in length.
|
6037
|
+
#
|
6038
|
+
# **A suitable default value is auto-generated.** You should normally
|
6039
|
+
# not need to pass this option.**
|
6040
|
+
#
|
6041
|
+
#
|
6042
|
+
#
|
6043
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
6044
|
+
#
|
6045
|
+
# @return [Types::CreateManagedPrefixListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6046
|
+
#
|
6047
|
+
# * {Types::CreateManagedPrefixListResult#prefix_list #prefix_list} => Types::ManagedPrefixList
|
6048
|
+
#
|
6049
|
+
# @example Request syntax with placeholder values
|
6050
|
+
#
|
6051
|
+
# resp = client.create_managed_prefix_list({
|
6052
|
+
# dry_run: false,
|
6053
|
+
# prefix_list_name: "String", # required
|
6054
|
+
# entries: [
|
6055
|
+
# {
|
6056
|
+
# cidr: "String", # required
|
6057
|
+
# description: "String",
|
6058
|
+
# },
|
6059
|
+
# ],
|
6060
|
+
# max_entries: 1, # required
|
6061
|
+
# tag_specifications: [
|
6062
|
+
# {
|
6063
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, 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, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
6064
|
+
# tags: [
|
6065
|
+
# {
|
6066
|
+
# key: "String",
|
6067
|
+
# value: "String",
|
6068
|
+
# },
|
6069
|
+
# ],
|
6070
|
+
# },
|
6071
|
+
# ],
|
6072
|
+
# address_family: "String", # required
|
6073
|
+
# client_token: "String",
|
6074
|
+
# })
|
6075
|
+
#
|
6076
|
+
# @example Response structure
|
6077
|
+
#
|
6078
|
+
# resp.prefix_list.prefix_list_id #=> String
|
6079
|
+
# resp.prefix_list.address_family #=> String
|
6080
|
+
# resp.prefix_list.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "modify-in-progress", "modify-complete", "modify-failed", "restore-in-progress", "restore-complete", "restore-failed", "delete-in-progress", "delete-complete", "delete-failed"
|
6081
|
+
# resp.prefix_list.state_message #=> String
|
6082
|
+
# resp.prefix_list.prefix_list_arn #=> String
|
6083
|
+
# resp.prefix_list.prefix_list_name #=> String
|
6084
|
+
# resp.prefix_list.max_entries #=> Integer
|
6085
|
+
# resp.prefix_list.version #=> Integer
|
6086
|
+
# resp.prefix_list.tags #=> Array
|
6087
|
+
# resp.prefix_list.tags[0].key #=> String
|
6088
|
+
# resp.prefix_list.tags[0].value #=> String
|
6089
|
+
# resp.prefix_list.owner_id #=> String
|
6090
|
+
#
|
6091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateManagedPrefixList AWS API Documentation
|
6092
|
+
#
|
6093
|
+
# @overload create_managed_prefix_list(params = {})
|
6094
|
+
# @param [Hash] params ({})
|
6095
|
+
def create_managed_prefix_list(params = {}, options = {})
|
6096
|
+
req = build_request(:create_managed_prefix_list, params)
|
6097
|
+
req.send_request(options)
|
6098
|
+
end
|
6099
|
+
|
5956
6100
|
# Creates a NAT gateway in the specified public subnet. This action
|
5957
6101
|
# creates a network interface in the specified subnet with a private IP
|
5958
6102
|
# address from the IP address range of the subnet. Internet-bound
|
@@ -6102,6 +6246,9 @@ module Aws::EC2
|
|
6102
6246
|
# @option params [required, String] :vpc_id
|
6103
6247
|
# The ID of the VPC.
|
6104
6248
|
#
|
6249
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
6250
|
+
# The tags to assign to the network ACL.
|
6251
|
+
#
|
6105
6252
|
# @return [Types::CreateNetworkAclResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6106
6253
|
#
|
6107
6254
|
# * {Types::CreateNetworkAclResult#network_acl #network_acl} => Types::NetworkAcl
|
@@ -6149,6 +6296,17 @@ module Aws::EC2
|
|
6149
6296
|
# resp = client.create_network_acl({
|
6150
6297
|
# dry_run: false,
|
6151
6298
|
# vpc_id: "VpcId", # required
|
6299
|
+
# tag_specifications: [
|
6300
|
+
# {
|
6301
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, 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, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
6302
|
+
# tags: [
|
6303
|
+
# {
|
6304
|
+
# key: "String",
|
6305
|
+
# value: "String",
|
6306
|
+
# },
|
6307
|
+
# ],
|
6308
|
+
# },
|
6309
|
+
# ],
|
6152
6310
|
# })
|
6153
6311
|
#
|
6154
6312
|
# @example Response structure
|
@@ -6210,7 +6368,9 @@ module Aws::EC2
|
|
6210
6368
|
#
|
6211
6369
|
# @option params [String] :cidr_block
|
6212
6370
|
# The IPv4 network range to allow or deny, in CIDR notation (for example
|
6213
|
-
# `172.16.0.0/24`).
|
6371
|
+
# `172.16.0.0/24`). We modify the specified CIDR block to its canonical
|
6372
|
+
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
6373
|
+
# `100.68.0.0/18`.
|
6214
6374
|
#
|
6215
6375
|
# @option params [Boolean] :dry_run
|
6216
6376
|
# Checks whether you have the required permissions for the action,
|
@@ -6380,6 +6540,9 @@ module Aws::EC2
|
|
6380
6540
|
# @option params [required, String] :subnet_id
|
6381
6541
|
# The ID of the subnet to associate with the network interface.
|
6382
6542
|
#
|
6543
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
6544
|
+
# The tags to apply to the new network interface.
|
6545
|
+
#
|
6383
6546
|
# @return [Types::CreateNetworkInterfaceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6384
6547
|
#
|
6385
6548
|
# * {Types::CreateNetworkInterfaceResult#network_interface #network_interface} => Types::NetworkInterface
|
@@ -6451,6 +6614,17 @@ module Aws::EC2
|
|
6451
6614
|
# secondary_private_ip_address_count: 1,
|
6452
6615
|
# interface_type: "efa", # accepts efa
|
6453
6616
|
# subnet_id: "SubnetId", # required
|
6617
|
+
# tag_specifications: [
|
6618
|
+
# {
|
6619
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, 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, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
6620
|
+
# tags: [
|
6621
|
+
# {
|
6622
|
+
# key: "String",
|
6623
|
+
# value: "String",
|
6624
|
+
# },
|
6625
|
+
# ],
|
6626
|
+
# },
|
6627
|
+
# ],
|
6454
6628
|
# })
|
6455
6629
|
#
|
6456
6630
|
# @example Response structure
|
@@ -6577,7 +6751,7 @@ module Aws::EC2
|
|
6577
6751
|
# instances in different partitions, where instances in one partition do
|
6578
6752
|
# not share the same hardware with instances in another partition.
|
6579
6753
|
#
|
6580
|
-
# For more information, see [Placement
|
6754
|
+
# For more information, see [Placement groups][1] in the *Amazon Elastic
|
6581
6755
|
# Compute Cloud User Guide*.
|
6582
6756
|
#
|
6583
6757
|
#
|
@@ -6799,12 +6973,17 @@ module Aws::EC2
|
|
6799
6973
|
#
|
6800
6974
|
# @option params [String] :destination_cidr_block
|
6801
6975
|
# The IPv4 CIDR address block used for the destination match. Routing
|
6802
|
-
# decisions are based on the most specific match.
|
6976
|
+
# decisions are based on the most specific match. We modify the
|
6977
|
+
# specified CIDR block to its canonical form; for example, if you
|
6978
|
+
# specify `100.68.0.18/18`, we modify it to `100.68.0.0/18`.
|
6803
6979
|
#
|
6804
6980
|
# @option params [String] :destination_ipv_6_cidr_block
|
6805
6981
|
# The IPv6 CIDR block used for the destination match. Routing decisions
|
6806
6982
|
# are based on the most specific match.
|
6807
6983
|
#
|
6984
|
+
# @option params [String] :destination_prefix_list_id
|
6985
|
+
# The ID of a prefix list used for the destination match.
|
6986
|
+
#
|
6808
6987
|
# @option params [Boolean] :dry_run
|
6809
6988
|
# Checks whether you have the required permissions for the action,
|
6810
6989
|
# without actually making the request, and provides an error response.
|
@@ -6862,6 +7041,7 @@ module Aws::EC2
|
|
6862
7041
|
# resp = client.create_route({
|
6863
7042
|
# destination_cidr_block: "String",
|
6864
7043
|
# destination_ipv_6_cidr_block: "String",
|
7044
|
+
# destination_prefix_list_id: "PrefixListResourceId",
|
6865
7045
|
# dry_run: false,
|
6866
7046
|
# egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
|
6867
7047
|
# gateway_id: "RouteGatewayId",
|
@@ -7047,6 +7227,9 @@ module Aws::EC2
|
|
7047
7227
|
# @option params [String] :vpc_id
|
7048
7228
|
# \[EC2-VPC\] The ID of the VPC. Required for EC2-VPC.
|
7049
7229
|
#
|
7230
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
7231
|
+
# The tags to assign to the security group.
|
7232
|
+
#
|
7050
7233
|
# @option params [Boolean] :dry_run
|
7051
7234
|
# Checks whether you have the required permissions for the action,
|
7052
7235
|
# without actually making the request, and provides an error response.
|
@@ -7056,6 +7239,7 @@ module Aws::EC2
|
|
7056
7239
|
# @return [Types::CreateSecurityGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7057
7240
|
#
|
7058
7241
|
# * {Types::CreateSecurityGroupResult#group_id #group_id} => String
|
7242
|
+
# * {Types::CreateSecurityGroupResult#tags #tags} => Array<Types::Tag>
|
7059
7243
|
#
|
7060
7244
|
#
|
7061
7245
|
# @example Example: To create a security group for a VPC
|
@@ -7079,12 +7263,26 @@ module Aws::EC2
|
|
7079
7263
|
# description: "String", # required
|
7080
7264
|
# group_name: "String", # required
|
7081
7265
|
# vpc_id: "VpcId",
|
7266
|
+
# tag_specifications: [
|
7267
|
+
# {
|
7268
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, 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, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
7269
|
+
# tags: [
|
7270
|
+
# {
|
7271
|
+
# key: "String",
|
7272
|
+
# value: "String",
|
7273
|
+
# },
|
7274
|
+
# ],
|
7275
|
+
# },
|
7276
|
+
# ],
|
7082
7277
|
# dry_run: false,
|
7083
7278
|
# })
|
7084
7279
|
#
|
7085
7280
|
# @example Response structure
|
7086
7281
|
#
|
7087
7282
|
# resp.group_id #=> String
|
7283
|
+
# resp.tags #=> Array
|
7284
|
+
# resp.tags[0].key #=> String
|
7285
|
+
# resp.tags[0].value #=> String
|
7088
7286
|
#
|
7089
7287
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroup AWS API Documentation
|
7090
7288
|
#
|
@@ -7385,16 +7583,13 @@ module Aws::EC2
|
|
7385
7583
|
req.send_request(options)
|
7386
7584
|
end
|
7387
7585
|
|
7388
|
-
# Creates a subnet in
|
7586
|
+
# Creates a subnet in a specified VPC.
|
7389
7587
|
#
|
7390
|
-
#
|
7391
|
-
#
|
7392
|
-
#
|
7393
|
-
#
|
7394
|
-
#
|
7395
|
-
# must not overlap. The smallest IPv4 subnet (and VPC) you can create
|
7396
|
-
# uses a /28 netmask (16 IPv4 addresses), and the largest uses a /16
|
7397
|
-
# netmask (65,536 IPv4 addresses).
|
7588
|
+
# You must specify an IPv4 CIDR block for the subnet. After you create a
|
7589
|
+
# subnet, you can't change its CIDR block. The allowed block size is
|
7590
|
+
# between a /16 netmask (65,536 IP addresses) and /28 netmask (16 IP
|
7591
|
+
# addresses). The CIDR block must not overlap with the CIDR block of an
|
7592
|
+
# existing subnet in the VPC.
|
7398
7593
|
#
|
7399
7594
|
# If you've associated an IPv6 CIDR block with your VPC, you can create
|
7400
7595
|
# a subnet with an IPv6 CIDR block that uses a /64 prefix length.
|
@@ -7405,12 +7600,10 @@ module Aws::EC2
|
|
7405
7600
|
# If you add more than one subnet to a VPC, they're set up in a star
|
7406
7601
|
# topology with a logical router in the middle.
|
7407
7602
|
#
|
7408
|
-
#
|
7409
|
-
#
|
7410
|
-
# (
|
7411
|
-
#
|
7412
|
-
# with no running instances (they're all stopped), but no remaining IP
|
7413
|
-
# addresses available.
|
7603
|
+
# When you stop an instance in a subnet, it retains its private IPv4
|
7604
|
+
# address. It's therefore possible to have a subnet with no running
|
7605
|
+
# instances (they're all stopped), but no remaining IP addresses
|
7606
|
+
# available.
|
7414
7607
|
#
|
7415
7608
|
# For more information about subnets, see [Your VPC and Subnets][1] in
|
7416
7609
|
# the *Amazon Virtual Private Cloud User Guide*.
|
@@ -7419,6 +7612,9 @@ module Aws::EC2
|
|
7419
7612
|
#
|
7420
7613
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
|
7421
7614
|
#
|
7615
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
7616
|
+
# The tags to assign to the subnet.
|
7617
|
+
#
|
7422
7618
|
# @option params [String] :availability_zone
|
7423
7619
|
# The Availability Zone or Local Zone for the subnet.
|
7424
7620
|
#
|
@@ -7443,7 +7639,9 @@ module Aws::EC2
|
|
7443
7639
|
#
|
7444
7640
|
# @option params [required, String] :cidr_block
|
7445
7641
|
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
7446
|
-
# `10.0.0.0/24`.
|
7642
|
+
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
7643
|
+
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
7644
|
+
# `100.68.0.0/18`.
|
7447
7645
|
#
|
7448
7646
|
# @option params [String] :ipv_6_cidr_block
|
7449
7647
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
@@ -7493,6 +7691,17 @@ module Aws::EC2
|
|
7493
7691
|
# @example Request syntax with placeholder values
|
7494
7692
|
#
|
7495
7693
|
# resp = client.create_subnet({
|
7694
|
+
# tag_specifications: [
|
7695
|
+
# {
|
7696
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, 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, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
7697
|
+
# tags: [
|
7698
|
+
# {
|
7699
|
+
# key: "String",
|
7700
|
+
# value: "String",
|
7701
|
+
# },
|
7702
|
+
# ],
|
7703
|
+
# },
|
7704
|
+
# ],
|
7496
7705
|
# availability_zone: "String",
|
7497
7706
|
# availability_zone_id: "String",
|
7498
7707
|
# cidr_block: "String", # required
|
@@ -8807,7 +9016,9 @@ module Aws::EC2
|
|
8807
9016
|
#
|
8808
9017
|
# @option params [required, String] :cidr_block
|
8809
9018
|
# The IPv4 network range for the VPC, in CIDR notation. For example,
|
8810
|
-
# `10.0.0.0/16`.
|
9019
|
+
# `10.0.0.0/16`. We modify the specified CIDR block to its canonical
|
9020
|
+
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
9021
|
+
# `100.68.0.0/18`.
|
8811
9022
|
#
|
8812
9023
|
# @option params [Boolean] :amazon_provided_ipv_6_cidr_block
|
8813
9024
|
# Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length
|
@@ -8850,6 +9061,9 @@ module Aws::EC2
|
|
8850
9061
|
# You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
|
8851
9062
|
# parameter.
|
8852
9063
|
#
|
9064
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
9065
|
+
# The tags to assign to the VPC.
|
9066
|
+
#
|
8853
9067
|
# @return [Types::CreateVpcResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8854
9068
|
#
|
8855
9069
|
# * {Types::CreateVpcResult#vpc #vpc} => Types::Vpc
|
@@ -8884,6 +9098,17 @@ module Aws::EC2
|
|
8884
9098
|
# dry_run: false,
|
8885
9099
|
# instance_tenancy: "default", # accepts default, dedicated, host
|
8886
9100
|
# ipv_6_cidr_block_network_border_group: "String",
|
9101
|
+
# tag_specifications: [
|
9102
|
+
# {
|
9103
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, 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, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
9104
|
+
# tags: [
|
9105
|
+
# {
|
9106
|
+
# key: "String",
|
9107
|
+
# value: "String",
|
9108
|
+
# },
|
9109
|
+
# ],
|
9110
|
+
# },
|
9111
|
+
# ],
|
8887
9112
|
# })
|
8888
9113
|
#
|
8889
9114
|
# @example Response structure
|
@@ -10302,6 +10527,53 @@ module Aws::EC2
|
|
10302
10527
|
req.send_request(options)
|
10303
10528
|
end
|
10304
10529
|
|
10530
|
+
# Deletes the specified managed prefix list. You must first remove all
|
10531
|
+
# references to the prefix list in your resources.
|
10532
|
+
#
|
10533
|
+
# @option params [Boolean] :dry_run
|
10534
|
+
# Checks whether you have the required permissions for the action,
|
10535
|
+
# without actually making the request, and provides an error response.
|
10536
|
+
# If you have the required permissions, the error response is
|
10537
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
10538
|
+
#
|
10539
|
+
# @option params [required, String] :prefix_list_id
|
10540
|
+
# The ID of the prefix list.
|
10541
|
+
#
|
10542
|
+
# @return [Types::DeleteManagedPrefixListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10543
|
+
#
|
10544
|
+
# * {Types::DeleteManagedPrefixListResult#prefix_list #prefix_list} => Types::ManagedPrefixList
|
10545
|
+
#
|
10546
|
+
# @example Request syntax with placeholder values
|
10547
|
+
#
|
10548
|
+
# resp = client.delete_managed_prefix_list({
|
10549
|
+
# dry_run: false,
|
10550
|
+
# prefix_list_id: "PrefixListResourceId", # required
|
10551
|
+
# })
|
10552
|
+
#
|
10553
|
+
# @example Response structure
|
10554
|
+
#
|
10555
|
+
# resp.prefix_list.prefix_list_id #=> String
|
10556
|
+
# resp.prefix_list.address_family #=> String
|
10557
|
+
# resp.prefix_list.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "modify-in-progress", "modify-complete", "modify-failed", "restore-in-progress", "restore-complete", "restore-failed", "delete-in-progress", "delete-complete", "delete-failed"
|
10558
|
+
# resp.prefix_list.state_message #=> String
|
10559
|
+
# resp.prefix_list.prefix_list_arn #=> String
|
10560
|
+
# resp.prefix_list.prefix_list_name #=> String
|
10561
|
+
# resp.prefix_list.max_entries #=> Integer
|
10562
|
+
# resp.prefix_list.version #=> Integer
|
10563
|
+
# resp.prefix_list.tags #=> Array
|
10564
|
+
# resp.prefix_list.tags[0].key #=> String
|
10565
|
+
# resp.prefix_list.tags[0].value #=> String
|
10566
|
+
# resp.prefix_list.owner_id #=> String
|
10567
|
+
#
|
10568
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteManagedPrefixList AWS API Documentation
|
10569
|
+
#
|
10570
|
+
# @overload delete_managed_prefix_list(params = {})
|
10571
|
+
# @param [Hash] params ({})
|
10572
|
+
def delete_managed_prefix_list(params = {}, options = {})
|
10573
|
+
req = build_request(:delete_managed_prefix_list, params)
|
10574
|
+
req.send_request(options)
|
10575
|
+
end
|
10576
|
+
|
10305
10577
|
# Deletes the specified NAT gateway. Deleting a NAT gateway
|
10306
10578
|
# disassociates its Elastic IP address, but does not release the address
|
10307
10579
|
# from your account. Deleting a NAT gateway does not delete any NAT
|
@@ -10527,7 +10799,7 @@ module Aws::EC2
|
|
10527
10799
|
|
10528
10800
|
# Deletes the specified placement group. You must terminate all
|
10529
10801
|
# instances in the placement group before you can delete the placement
|
10530
|
-
# group. For more information, see [Placement
|
10802
|
+
# group. For more information, see [Placement groups][1] in the *Amazon
|
10531
10803
|
# Elastic Compute Cloud User Guide*.
|
10532
10804
|
#
|
10533
10805
|
#
|
@@ -10625,6 +10897,9 @@ module Aws::EC2
|
|
10625
10897
|
# The IPv6 CIDR range for the route. The value you specify must match
|
10626
10898
|
# the CIDR for the route exactly.
|
10627
10899
|
#
|
10900
|
+
# @option params [String] :destination_prefix_list_id
|
10901
|
+
# The ID of the prefix list for the route.
|
10902
|
+
#
|
10628
10903
|
# @option params [Boolean] :dry_run
|
10629
10904
|
# Checks whether you have the required permissions for the action,
|
10630
10905
|
# without actually making the request, and provides an error response.
|
@@ -10651,6 +10926,7 @@ module Aws::EC2
|
|
10651
10926
|
# resp = client.delete_route({
|
10652
10927
|
# destination_cidr_block: "String",
|
10653
10928
|
# destination_ipv_6_cidr_block: "String",
|
10929
|
+
# destination_prefix_list_id: "PrefixListResourceId",
|
10654
10930
|
# dry_run: false,
|
10655
10931
|
# route_table_id: "RouteTableId", # required
|
10656
10932
|
# })
|
@@ -15833,7 +16109,7 @@ module Aws::EC2
|
|
15833
16109
|
# instance IDs at all, the call fails. If you specify only instance IDs
|
15834
16110
|
# in an unaffected zone, the call works normally.
|
15835
16111
|
#
|
15836
|
-
# For more information, see [Burstable
|
16112
|
+
# For more information, see [Burstable performance instances][1] in the
|
15837
16113
|
# *Amazon Elastic Compute Cloud User Guide*.
|
15838
16114
|
#
|
15839
16115
|
#
|
@@ -15949,19 +16225,19 @@ module Aws::EC2
|
|
15949
16225
|
#
|
15950
16226
|
# * **Status checks** - Amazon EC2 performs status checks on running EC2
|
15951
16227
|
# instances to identify hardware and software issues. For more
|
15952
|
-
# information, see [Status
|
15953
|
-
# [Troubleshooting
|
16228
|
+
# information, see [Status checks for your instances][1] and
|
16229
|
+
# [Troubleshooting instances with failed status checks][2] in the
|
15954
16230
|
# *Amazon Elastic Compute Cloud User Guide*.
|
15955
16231
|
#
|
15956
16232
|
# * **Scheduled events** - Amazon EC2 can schedule events (such as
|
15957
16233
|
# reboot, stop, or terminate) for your instances related to hardware
|
15958
16234
|
# issues, software updates, or system maintenance. For more
|
15959
|
-
# information, see [Scheduled
|
16235
|
+
# information, see [Scheduled events for your instances][3] in the
|
15960
16236
|
# *Amazon Elastic Compute Cloud User Guide*.
|
15961
16237
|
#
|
15962
16238
|
# * **Instance state** - You can manage your instances from the moment
|
15963
16239
|
# you launch them through their termination. For more information, see
|
15964
|
-
# [Instance
|
16240
|
+
# [Instance lifecycle][4] in the *Amazon Elastic Compute Cloud User
|
15965
16241
|
# Guide*.
|
15966
16242
|
#
|
15967
16243
|
#
|
@@ -18121,6 +18397,85 @@ module Aws::EC2
|
|
18121
18397
|
req.send_request(options)
|
18122
18398
|
end
|
18123
18399
|
|
18400
|
+
# Describes your managed prefix lists and any AWS-managed prefix lists.
|
18401
|
+
#
|
18402
|
+
# To view the entries for your prefix list, use
|
18403
|
+
# GetManagedPrefixListEntries.
|
18404
|
+
#
|
18405
|
+
# @option params [Boolean] :dry_run
|
18406
|
+
# Checks whether you have the required permissions for the action,
|
18407
|
+
# without actually making the request, and provides an error response.
|
18408
|
+
# If you have the required permissions, the error response is
|
18409
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
18410
|
+
#
|
18411
|
+
# @option params [Array<Types::Filter>] :filters
|
18412
|
+
# One or more filters.
|
18413
|
+
#
|
18414
|
+
# * `owner-id` - The ID of the prefix list owner.
|
18415
|
+
#
|
18416
|
+
# * `prefix-list-id` - The ID of the prefix list.
|
18417
|
+
#
|
18418
|
+
# * `prefix-list-name` - The name of the prefix list.
|
18419
|
+
#
|
18420
|
+
# @option params [Integer] :max_results
|
18421
|
+
# The maximum number of results to return with a single call. To
|
18422
|
+
# retrieve the remaining results, make another call with the returned
|
18423
|
+
# `nextToken` value.
|
18424
|
+
#
|
18425
|
+
# @option params [String] :next_token
|
18426
|
+
# The token for the next page of results.
|
18427
|
+
#
|
18428
|
+
# @option params [Array<String>] :prefix_list_ids
|
18429
|
+
# One or more prefix list IDs.
|
18430
|
+
#
|
18431
|
+
# @return [Types::DescribeManagedPrefixListsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
18432
|
+
#
|
18433
|
+
# * {Types::DescribeManagedPrefixListsResult#next_token #next_token} => String
|
18434
|
+
# * {Types::DescribeManagedPrefixListsResult#prefix_lists #prefix_lists} => Array<Types::ManagedPrefixList>
|
18435
|
+
#
|
18436
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
18437
|
+
#
|
18438
|
+
# @example Request syntax with placeholder values
|
18439
|
+
#
|
18440
|
+
# resp = client.describe_managed_prefix_lists({
|
18441
|
+
# dry_run: false,
|
18442
|
+
# filters: [
|
18443
|
+
# {
|
18444
|
+
# name: "String",
|
18445
|
+
# values: ["String"],
|
18446
|
+
# },
|
18447
|
+
# ],
|
18448
|
+
# max_results: 1,
|
18449
|
+
# next_token: "NextToken",
|
18450
|
+
# prefix_list_ids: ["String"],
|
18451
|
+
# })
|
18452
|
+
#
|
18453
|
+
# @example Response structure
|
18454
|
+
#
|
18455
|
+
# resp.next_token #=> String
|
18456
|
+
# resp.prefix_lists #=> Array
|
18457
|
+
# resp.prefix_lists[0].prefix_list_id #=> String
|
18458
|
+
# resp.prefix_lists[0].address_family #=> String
|
18459
|
+
# resp.prefix_lists[0].state #=> String, one of "create-in-progress", "create-complete", "create-failed", "modify-in-progress", "modify-complete", "modify-failed", "restore-in-progress", "restore-complete", "restore-failed", "delete-in-progress", "delete-complete", "delete-failed"
|
18460
|
+
# resp.prefix_lists[0].state_message #=> String
|
18461
|
+
# resp.prefix_lists[0].prefix_list_arn #=> String
|
18462
|
+
# resp.prefix_lists[0].prefix_list_name #=> String
|
18463
|
+
# resp.prefix_lists[0].max_entries #=> Integer
|
18464
|
+
# resp.prefix_lists[0].version #=> Integer
|
18465
|
+
# resp.prefix_lists[0].tags #=> Array
|
18466
|
+
# resp.prefix_lists[0].tags[0].key #=> String
|
18467
|
+
# resp.prefix_lists[0].tags[0].value #=> String
|
18468
|
+
# resp.prefix_lists[0].owner_id #=> String
|
18469
|
+
#
|
18470
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeManagedPrefixLists AWS API Documentation
|
18471
|
+
#
|
18472
|
+
# @overload describe_managed_prefix_lists(params = {})
|
18473
|
+
# @param [Hash] params ({})
|
18474
|
+
def describe_managed_prefix_lists(params = {}, options = {})
|
18475
|
+
req = build_request(:describe_managed_prefix_lists, params)
|
18476
|
+
req.send_request(options)
|
18477
|
+
end
|
18478
|
+
|
18124
18479
|
# Describes your Elastic IP addresses that are being moved to the
|
18125
18480
|
# EC2-VPC platform, or that are being restored to the EC2-Classic
|
18126
18481
|
# platform. This request does not return information about any other
|
@@ -18794,9 +19149,6 @@ module Aws::EC2
|
|
18794
19149
|
# * `attachment.instance-owner-id` - The owner ID of the instance to
|
18795
19150
|
# which the network interface is attached.
|
18796
19151
|
#
|
18797
|
-
# * `attachment.nat-gateway-id` - The ID of the NAT gateway to which the
|
18798
|
-
# network interface is attached.
|
18799
|
-
#
|
18800
19152
|
# * `attachment.status` - The status of the attachment (`attaching` \|
|
18801
19153
|
# `attached` \| `detaching` \| `detached`).
|
18802
19154
|
#
|
@@ -19030,7 +19382,7 @@ module Aws::EC2
|
|
19030
19382
|
end
|
19031
19383
|
|
19032
19384
|
# Describes the specified placement groups or all of your placement
|
19033
|
-
# groups. For more information, see [Placement
|
19385
|
+
# groups. For more information, see [Placement groups][1] in the *Amazon
|
19034
19386
|
# Elastic Compute Cloud User Guide*.
|
19035
19387
|
#
|
19036
19388
|
#
|
@@ -19114,11 +19466,9 @@ module Aws::EC2
|
|
19114
19466
|
|
19115
19467
|
# Describes available AWS services in a prefix list format, which
|
19116
19468
|
# includes the prefix list name and prefix list ID of the service and
|
19117
|
-
# the IP address range for the service.
|
19118
|
-
#
|
19119
|
-
#
|
19120
|
-
# Currently, the services that support this action are Amazon S3 and
|
19121
|
-
# Amazon DynamoDB.
|
19469
|
+
# the IP address range for the service.
|
19470
|
+
#
|
19471
|
+
# We recommend that you use DescribeManagedPrefixLists instead.
|
19122
19472
|
#
|
19123
19473
|
# @option params [Boolean] :dry_run
|
19124
19474
|
# Checks whether you have the required permissions for the action,
|
@@ -20627,8 +20977,8 @@ module Aws::EC2
|
|
20627
20977
|
# * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
|
20628
20978
|
# outbound security group rule.
|
20629
20979
|
#
|
20630
|
-
# * `egress.ip-permission.prefix-list-id` - The ID
|
20631
|
-
#
|
20980
|
+
# * `egress.ip-permission.prefix-list-id` - The ID of a prefix list to
|
20981
|
+
# which a security group rule allows outbound access.
|
20632
20982
|
#
|
20633
20983
|
# * `egress.ip-permission.protocol` - The IP protocol for an outbound
|
20634
20984
|
# security group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
|
@@ -20658,8 +21008,8 @@ module Aws::EC2
|
|
20658
21008
|
# * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
|
20659
21009
|
# security group rule.
|
20660
21010
|
#
|
20661
|
-
# * `ip-permission.prefix-list-id` - The ID
|
20662
|
-
#
|
21011
|
+
# * `ip-permission.prefix-list-id` - The ID of a prefix list from which
|
21012
|
+
# a security group rule allows inbound access.
|
20663
21013
|
#
|
20664
21014
|
# * `ip-permission.protocol` - The IP protocol for an inbound security
|
20665
21015
|
# group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
|
@@ -27130,7 +27480,7 @@ module Aws::EC2
|
|
27130
27480
|
# Describes the default credit option for CPU usage of a burstable
|
27131
27481
|
# performance instance family.
|
27132
27482
|
#
|
27133
|
-
# For more information, see [Burstable
|
27483
|
+
# For more information, see [Burstable performance instances][1] in the
|
27134
27484
|
# *Amazon Elastic Compute Cloud User Guide*.
|
27135
27485
|
#
|
27136
27486
|
#
|
@@ -27482,6 +27832,115 @@ module Aws::EC2
|
|
27482
27832
|
req.send_request(options)
|
27483
27833
|
end
|
27484
27834
|
|
27835
|
+
# Gets information about the resources that are associated with the
|
27836
|
+
# specified managed prefix list.
|
27837
|
+
#
|
27838
|
+
# @option params [Boolean] :dry_run
|
27839
|
+
# Checks whether you have the required permissions for the action,
|
27840
|
+
# without actually making the request, and provides an error response.
|
27841
|
+
# If you have the required permissions, the error response is
|
27842
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27843
|
+
#
|
27844
|
+
# @option params [required, String] :prefix_list_id
|
27845
|
+
# The ID of the prefix list.
|
27846
|
+
#
|
27847
|
+
# @option params [Integer] :max_results
|
27848
|
+
# The maximum number of results to return with a single call. To
|
27849
|
+
# retrieve the remaining results, make another call with the returned
|
27850
|
+
# `nextToken` value.
|
27851
|
+
#
|
27852
|
+
# @option params [String] :next_token
|
27853
|
+
# The token for the next page of results.
|
27854
|
+
#
|
27855
|
+
# @return [Types::GetManagedPrefixListAssociationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27856
|
+
#
|
27857
|
+
# * {Types::GetManagedPrefixListAssociationsResult#prefix_list_associations #prefix_list_associations} => Array<Types::PrefixListAssociation>
|
27858
|
+
# * {Types::GetManagedPrefixListAssociationsResult#next_token #next_token} => String
|
27859
|
+
#
|
27860
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
27861
|
+
#
|
27862
|
+
# @example Request syntax with placeholder values
|
27863
|
+
#
|
27864
|
+
# resp = client.get_managed_prefix_list_associations({
|
27865
|
+
# dry_run: false,
|
27866
|
+
# prefix_list_id: "PrefixListResourceId", # required
|
27867
|
+
# max_results: 1,
|
27868
|
+
# next_token: "NextToken",
|
27869
|
+
# })
|
27870
|
+
#
|
27871
|
+
# @example Response structure
|
27872
|
+
#
|
27873
|
+
# resp.prefix_list_associations #=> Array
|
27874
|
+
# resp.prefix_list_associations[0].resource_id #=> String
|
27875
|
+
# resp.prefix_list_associations[0].resource_owner #=> String
|
27876
|
+
# resp.next_token #=> String
|
27877
|
+
#
|
27878
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetManagedPrefixListAssociations AWS API Documentation
|
27879
|
+
#
|
27880
|
+
# @overload get_managed_prefix_list_associations(params = {})
|
27881
|
+
# @param [Hash] params ({})
|
27882
|
+
def get_managed_prefix_list_associations(params = {}, options = {})
|
27883
|
+
req = build_request(:get_managed_prefix_list_associations, params)
|
27884
|
+
req.send_request(options)
|
27885
|
+
end
|
27886
|
+
|
27887
|
+
# Gets information about the entries for a specified managed prefix
|
27888
|
+
# list.
|
27889
|
+
#
|
27890
|
+
# @option params [Boolean] :dry_run
|
27891
|
+
# Checks whether you have the required permissions for the action,
|
27892
|
+
# without actually making the request, and provides an error response.
|
27893
|
+
# If you have the required permissions, the error response is
|
27894
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27895
|
+
#
|
27896
|
+
# @option params [required, String] :prefix_list_id
|
27897
|
+
# The ID of the prefix list.
|
27898
|
+
#
|
27899
|
+
# @option params [Integer] :target_version
|
27900
|
+
# The version of the prefix list for which to return the entries. The
|
27901
|
+
# default is the current version.
|
27902
|
+
#
|
27903
|
+
# @option params [Integer] :max_results
|
27904
|
+
# The maximum number of results to return with a single call. To
|
27905
|
+
# retrieve the remaining results, make another call with the returned
|
27906
|
+
# `nextToken` value.
|
27907
|
+
#
|
27908
|
+
# @option params [String] :next_token
|
27909
|
+
# The token for the next page of results.
|
27910
|
+
#
|
27911
|
+
# @return [Types::GetManagedPrefixListEntriesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27912
|
+
#
|
27913
|
+
# * {Types::GetManagedPrefixListEntriesResult#entries #entries} => Array<Types::PrefixListEntry>
|
27914
|
+
# * {Types::GetManagedPrefixListEntriesResult#next_token #next_token} => String
|
27915
|
+
#
|
27916
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
27917
|
+
#
|
27918
|
+
# @example Request syntax with placeholder values
|
27919
|
+
#
|
27920
|
+
# resp = client.get_managed_prefix_list_entries({
|
27921
|
+
# dry_run: false,
|
27922
|
+
# prefix_list_id: "PrefixListResourceId", # required
|
27923
|
+
# target_version: 1,
|
27924
|
+
# max_results: 1,
|
27925
|
+
# next_token: "NextToken",
|
27926
|
+
# })
|
27927
|
+
#
|
27928
|
+
# @example Response structure
|
27929
|
+
#
|
27930
|
+
# resp.entries #=> Array
|
27931
|
+
# resp.entries[0].cidr #=> String
|
27932
|
+
# resp.entries[0].description #=> String
|
27933
|
+
# resp.next_token #=> String
|
27934
|
+
#
|
27935
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetManagedPrefixListEntries AWS API Documentation
|
27936
|
+
#
|
27937
|
+
# @overload get_managed_prefix_list_entries(params = {})
|
27938
|
+
# @param [Hash] params ({})
|
27939
|
+
def get_managed_prefix_list_entries(params = {}, options = {})
|
27940
|
+
req = build_request(:get_managed_prefix_list_entries, params)
|
27941
|
+
req.send_request(options)
|
27942
|
+
end
|
27943
|
+
|
27485
27944
|
# Retrieves the encrypted administrator password for a running Windows
|
27486
27945
|
# instance.
|
27487
27946
|
#
|
@@ -28866,7 +29325,7 @@ module Aws::EC2
|
|
28866
29325
|
# `GetDefaultCreditSpecification` and check `DefaultCreditSpecification`
|
28867
29326
|
# for updates.
|
28868
29327
|
#
|
28869
|
-
# For more information, see [Burstable
|
29328
|
+
# For more information, see [Burstable performance instances][1] in the
|
28870
29329
|
# *Amazon Elastic Compute Cloud User Guide*.
|
28871
29330
|
#
|
28872
29331
|
#
|
@@ -29531,7 +29990,7 @@ module Aws::EC2
|
|
29531
29990
|
# ModifyNetworkInterfaceAttribute action.
|
29532
29991
|
#
|
29533
29992
|
# To modify some attributes, the instance must be stopped. For more
|
29534
|
-
# information, see [Modifying
|
29993
|
+
# information, see [Modifying attributes of a stopped instance][1] in
|
29535
29994
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
29536
29995
|
#
|
29537
29996
|
#
|
@@ -29555,7 +30014,7 @@ module Aws::EC2
|
|
29555
30014
|
#
|
29556
30015
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
29557
30016
|
# must add them when you launch the instance. For more information, see
|
29558
|
-
# [Updating the
|
30017
|
+
# [Updating the block device mapping when launching an instance][1] in
|
29559
30018
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
29560
30019
|
#
|
29561
30020
|
#
|
@@ -29602,7 +30061,7 @@ module Aws::EC2
|
|
29602
30061
|
#
|
29603
30062
|
# @option params [Types::AttributeValue] :instance_type
|
29604
30063
|
# Changes the instance type to the specified value. For more
|
29605
|
-
# information, see [Instance
|
30064
|
+
# information, see [Instance types][1]. If the instance type is not
|
29606
30065
|
# valid, the error returned is `InvalidInstanceAttributeValue`.
|
29607
30066
|
#
|
29608
30067
|
#
|
@@ -29782,7 +30241,7 @@ module Aws::EC2
|
|
29782
30241
|
# burstable performance instance. The credit options are `standard` and
|
29783
30242
|
# `unlimited`.
|
29784
30243
|
#
|
29785
|
-
# For more information, see [Burstable
|
30244
|
+
# For more information, see [Burstable performance instances][1] in the
|
29786
30245
|
# *Amazon Elastic Compute Cloud User Guide*.
|
29787
30246
|
#
|
29788
30247
|
#
|
@@ -29898,7 +30357,7 @@ module Aws::EC2
|
|
29898
30357
|
# “pending”. After the parameter modifications are successfully applied
|
29899
30358
|
# to the instance, the state of the modifications changes from “pending”
|
29900
30359
|
# to “applied” in subsequent describe-instances API calls. For more
|
29901
|
-
# information, see [Instance
|
30360
|
+
# information, see [Instance metadata and user data][1].
|
29902
30361
|
#
|
29903
30362
|
#
|
29904
30363
|
#
|
@@ -30156,6 +30615,84 @@ module Aws::EC2
|
|
30156
30615
|
req.send_request(options)
|
30157
30616
|
end
|
30158
30617
|
|
30618
|
+
# Modifies the specified managed prefix list.
|
30619
|
+
#
|
30620
|
+
# Adding or removing entries in a prefix list creates a new version of
|
30621
|
+
# the prefix list. Changing the name of the prefix list does not affect
|
30622
|
+
# the version.
|
30623
|
+
#
|
30624
|
+
# If you specify a current version number that does not match the true
|
30625
|
+
# current version number, the request fails.
|
30626
|
+
#
|
30627
|
+
# @option params [Boolean] :dry_run
|
30628
|
+
# Checks whether you have the required permissions for the action,
|
30629
|
+
# without actually making the request, and provides an error response.
|
30630
|
+
# If you have the required permissions, the error response is
|
30631
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
30632
|
+
#
|
30633
|
+
# @option params [required, String] :prefix_list_id
|
30634
|
+
# The ID of the prefix list.
|
30635
|
+
#
|
30636
|
+
# @option params [Integer] :current_version
|
30637
|
+
# The current version of the prefix list.
|
30638
|
+
#
|
30639
|
+
# @option params [String] :prefix_list_name
|
30640
|
+
# A name for the prefix list.
|
30641
|
+
#
|
30642
|
+
# @option params [Array<Types::AddPrefixListEntry>] :add_entries
|
30643
|
+
# One or more entries to add to the prefix list.
|
30644
|
+
#
|
30645
|
+
# @option params [Array<Types::RemovePrefixListEntry>] :remove_entries
|
30646
|
+
# One or more entries to remove from the prefix list.
|
30647
|
+
#
|
30648
|
+
# @return [Types::ModifyManagedPrefixListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
30649
|
+
#
|
30650
|
+
# * {Types::ModifyManagedPrefixListResult#prefix_list #prefix_list} => Types::ManagedPrefixList
|
30651
|
+
#
|
30652
|
+
# @example Request syntax with placeholder values
|
30653
|
+
#
|
30654
|
+
# resp = client.modify_managed_prefix_list({
|
30655
|
+
# dry_run: false,
|
30656
|
+
# prefix_list_id: "PrefixListResourceId", # required
|
30657
|
+
# current_version: 1,
|
30658
|
+
# prefix_list_name: "String",
|
30659
|
+
# add_entries: [
|
30660
|
+
# {
|
30661
|
+
# cidr: "String", # required
|
30662
|
+
# description: "String",
|
30663
|
+
# },
|
30664
|
+
# ],
|
30665
|
+
# remove_entries: [
|
30666
|
+
# {
|
30667
|
+
# cidr: "String", # required
|
30668
|
+
# },
|
30669
|
+
# ],
|
30670
|
+
# })
|
30671
|
+
#
|
30672
|
+
# @example Response structure
|
30673
|
+
#
|
30674
|
+
# resp.prefix_list.prefix_list_id #=> String
|
30675
|
+
# resp.prefix_list.address_family #=> String
|
30676
|
+
# resp.prefix_list.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "modify-in-progress", "modify-complete", "modify-failed", "restore-in-progress", "restore-complete", "restore-failed", "delete-in-progress", "delete-complete", "delete-failed"
|
30677
|
+
# resp.prefix_list.state_message #=> String
|
30678
|
+
# resp.prefix_list.prefix_list_arn #=> String
|
30679
|
+
# resp.prefix_list.prefix_list_name #=> String
|
30680
|
+
# resp.prefix_list.max_entries #=> Integer
|
30681
|
+
# resp.prefix_list.version #=> Integer
|
30682
|
+
# resp.prefix_list.tags #=> Array
|
30683
|
+
# resp.prefix_list.tags[0].key #=> String
|
30684
|
+
# resp.prefix_list.tags[0].value #=> String
|
30685
|
+
# resp.prefix_list.owner_id #=> String
|
30686
|
+
#
|
30687
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyManagedPrefixList AWS API Documentation
|
30688
|
+
#
|
30689
|
+
# @overload modify_managed_prefix_list(params = {})
|
30690
|
+
# @param [Hash] params ({})
|
30691
|
+
def modify_managed_prefix_list(params = {}, options = {})
|
30692
|
+
req = build_request(:modify_managed_prefix_list, params)
|
30693
|
+
req.send_request(options)
|
30694
|
+
end
|
30695
|
+
|
30159
30696
|
# Modifies the specified network interface attribute. You can specify
|
30160
30697
|
# only one attribute at a time. You can use this action to attach and
|
30161
30698
|
# detach security groups from an existing EC2 instance.
|
@@ -31999,8 +32536,8 @@ module Aws::EC2
|
|
31999
32536
|
end
|
32000
32537
|
|
32001
32538
|
# Enables detailed monitoring for a running instance. Otherwise, basic
|
32002
|
-
# monitoring is enabled. For more information, see [Monitoring
|
32003
|
-
#
|
32539
|
+
# monitoring is enabled. For more information, see [Monitoring your
|
32540
|
+
# instances and volumes][1] in the *Amazon Elastic Compute Cloud User
|
32004
32541
|
# Guide*.
|
32005
32542
|
#
|
32006
32543
|
# To disable detailed monitoring, see .
|
@@ -32234,6 +32771,9 @@ module Aws::EC2
|
|
32234
32771
|
# @option params [required, String] :offering_id
|
32235
32772
|
# The ID of the offering.
|
32236
32773
|
#
|
32774
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
32775
|
+
# The tags to apply to the Dedicated Host Reservation during purchase.
|
32776
|
+
#
|
32237
32777
|
# @return [Types::PurchaseHostReservationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
32238
32778
|
#
|
32239
32779
|
# * {Types::PurchaseHostReservationResult#client_token #client_token} => String
|
@@ -32250,6 +32790,17 @@ module Aws::EC2
|
|
32250
32790
|
# host_id_set: ["DedicatedHostId"], # required
|
32251
32791
|
# limit_price: "String",
|
32252
32792
|
# offering_id: "OfferingId", # required
|
32793
|
+
# tag_specifications: [
|
32794
|
+
# {
|
32795
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, 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, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
32796
|
+
# tags: [
|
32797
|
+
# {
|
32798
|
+
# key: "String",
|
32799
|
+
# value: "String",
|
32800
|
+
# },
|
32801
|
+
# ],
|
32802
|
+
# },
|
32803
|
+
# ],
|
32253
32804
|
# })
|
32254
32805
|
#
|
32255
32806
|
# @example Response structure
|
@@ -32485,8 +33036,8 @@ module Aws::EC2
|
|
32485
33036
|
# If an instance does not cleanly shut down within four minutes, Amazon
|
32486
33037
|
# EC2 performs a hard reboot.
|
32487
33038
|
#
|
32488
|
-
# For more information about troubleshooting, see [Getting
|
32489
|
-
#
|
33039
|
+
# For more information about troubleshooting, see [Getting console
|
33040
|
+
# output and rebooting instances][1] in the *Amazon Elastic Compute
|
32490
33041
|
# Cloud User Guide*.
|
32491
33042
|
#
|
32492
33043
|
#
|
@@ -33428,6 +33979,9 @@ module Aws::EC2
|
|
33428
33979
|
# that you provide must match the CIDR of an existing route in the
|
33429
33980
|
# table.
|
33430
33981
|
#
|
33982
|
+
# @option params [String] :destination_prefix_list_id
|
33983
|
+
# The ID of the prefix list for the route.
|
33984
|
+
#
|
33431
33985
|
# @option params [Boolean] :dry_run
|
33432
33986
|
# Checks whether you have the required permissions for the action,
|
33433
33987
|
# without actually making the request, and provides an error response.
|
@@ -33484,6 +34038,7 @@ module Aws::EC2
|
|
33484
34038
|
# resp = client.replace_route({
|
33485
34039
|
# destination_cidr_block: "String",
|
33486
34040
|
# destination_ipv_6_cidr_block: "String",
|
34041
|
+
# destination_prefix_list_id: "PrefixListResourceId",
|
33487
34042
|
# dry_run: false,
|
33488
34043
|
# egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
|
33489
34044
|
# gateway_id: "RouteGatewayId",
|
@@ -34754,6 +35309,61 @@ module Aws::EC2
|
|
34754
35309
|
req.send_request(options)
|
34755
35310
|
end
|
34756
35311
|
|
35312
|
+
# Restores the entries from a previous version of a managed prefix list
|
35313
|
+
# to a new version of the prefix list.
|
35314
|
+
#
|
35315
|
+
# @option params [Boolean] :dry_run
|
35316
|
+
# Checks whether you have the required permissions for the action,
|
35317
|
+
# without actually making the request, and provides an error response.
|
35318
|
+
# If you have the required permissions, the error response is
|
35319
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
35320
|
+
#
|
35321
|
+
# @option params [required, String] :prefix_list_id
|
35322
|
+
# The ID of the prefix list.
|
35323
|
+
#
|
35324
|
+
# @option params [required, Integer] :previous_version
|
35325
|
+
# The version to restore.
|
35326
|
+
#
|
35327
|
+
# @option params [required, Integer] :current_version
|
35328
|
+
# The current version number for the prefix list.
|
35329
|
+
#
|
35330
|
+
# @return [Types::RestoreManagedPrefixListVersionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
35331
|
+
#
|
35332
|
+
# * {Types::RestoreManagedPrefixListVersionResult#prefix_list #prefix_list} => Types::ManagedPrefixList
|
35333
|
+
#
|
35334
|
+
# @example Request syntax with placeholder values
|
35335
|
+
#
|
35336
|
+
# resp = client.restore_managed_prefix_list_version({
|
35337
|
+
# dry_run: false,
|
35338
|
+
# prefix_list_id: "PrefixListResourceId", # required
|
35339
|
+
# previous_version: 1, # required
|
35340
|
+
# current_version: 1, # required
|
35341
|
+
# })
|
35342
|
+
#
|
35343
|
+
# @example Response structure
|
35344
|
+
#
|
35345
|
+
# resp.prefix_list.prefix_list_id #=> String
|
35346
|
+
# resp.prefix_list.address_family #=> String
|
35347
|
+
# resp.prefix_list.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "modify-in-progress", "modify-complete", "modify-failed", "restore-in-progress", "restore-complete", "restore-failed", "delete-in-progress", "delete-complete", "delete-failed"
|
35348
|
+
# resp.prefix_list.state_message #=> String
|
35349
|
+
# resp.prefix_list.prefix_list_arn #=> String
|
35350
|
+
# resp.prefix_list.prefix_list_name #=> String
|
35351
|
+
# resp.prefix_list.max_entries #=> Integer
|
35352
|
+
# resp.prefix_list.version #=> Integer
|
35353
|
+
# resp.prefix_list.tags #=> Array
|
35354
|
+
# resp.prefix_list.tags[0].key #=> String
|
35355
|
+
# resp.prefix_list.tags[0].value #=> String
|
35356
|
+
# resp.prefix_list.owner_id #=> String
|
35357
|
+
#
|
35358
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreManagedPrefixListVersion AWS API Documentation
|
35359
|
+
#
|
35360
|
+
# @overload restore_managed_prefix_list_version(params = {})
|
35361
|
+
# @param [Hash] params ({})
|
35362
|
+
def restore_managed_prefix_list_version(params = {}, options = {})
|
35363
|
+
req = build_request(:restore_managed_prefix_list_version, params)
|
35364
|
+
req.send_request(options)
|
35365
|
+
end
|
35366
|
+
|
34757
35367
|
# Removes an ingress authorization rule from a Client VPN endpoint.
|
34758
35368
|
#
|
34759
35369
|
# @option params [required, String] :client_vpn_endpoint_id
|
@@ -35067,7 +35677,7 @@ module Aws::EC2
|
|
35067
35677
|
#
|
35068
35678
|
# * Some instance types must be launched into a VPC. If you do not have
|
35069
35679
|
# a default VPC, or if you do not specify a subnet ID, the request
|
35070
|
-
# fails. For more information, see [Instance
|
35680
|
+
# fails. For more information, see [Instance types available only in a
|
35071
35681
|
# VPC][1].
|
35072
35682
|
#
|
35073
35683
|
# * \[EC2-VPC\] All instances have a network interface with a primary
|
@@ -35075,10 +35685,10 @@ module Aws::EC2
|
|
35075
35685
|
# one from the IPv4 range of your subnet.
|
35076
35686
|
#
|
35077
35687
|
# * Not all instance types support IPv6 addresses. For more information,
|
35078
|
-
# see [Instance
|
35688
|
+
# see [Instance types][2].
|
35079
35689
|
#
|
35080
35690
|
# * If you don't specify a security group ID, we use the default
|
35081
|
-
# security group. For more information, see [Security
|
35691
|
+
# security group. For more information, see [Security groups][3].
|
35082
35692
|
#
|
35083
35693
|
# * If any of the AMIs have a product code attached for which the user
|
35084
35694
|
# has not subscribed, the request fails.
|
@@ -35095,17 +35705,17 @@ module Aws::EC2
|
|
35095
35705
|
# An instance is ready for you to use when it's in the `running` state.
|
35096
35706
|
# You can check the state of your instance using DescribeInstances. You
|
35097
35707
|
# can tag instances and EBS volumes during launch, after launch, or
|
35098
|
-
# both. For more information, see CreateTags and [Tagging
|
35099
|
-
# EC2
|
35708
|
+
# both. For more information, see CreateTags and [Tagging your Amazon
|
35709
|
+
# EC2 resources][5].
|
35100
35710
|
#
|
35101
35711
|
# Linux instances have access to the public key of the key pair at boot.
|
35102
35712
|
# You can use this key to provide secure access to the instance. Amazon
|
35103
35713
|
# EC2 public images use this feature to provide secure access without
|
35104
|
-
# passwords. For more information, see [Key
|
35714
|
+
# passwords. For more information, see [Key pairs][6] in the *Amazon
|
35105
35715
|
# Elastic Compute Cloud User Guide*.
|
35106
35716
|
#
|
35107
|
-
# For troubleshooting, see [What
|
35108
|
-
#
|
35717
|
+
# For troubleshooting, see [What to do if an instance immediately
|
35718
|
+
# terminates][7], and [Troubleshooting connecting to your instance][8]
|
35109
35719
|
# in the *Amazon Elastic Compute Cloud User Guide*.
|
35110
35720
|
#
|
35111
35721
|
#
|
@@ -35127,7 +35737,7 @@ module Aws::EC2
|
|
35127
35737
|
# must be specified here or in a launch template.
|
35128
35738
|
#
|
35129
35739
|
# @option params [String] :instance_type
|
35130
|
-
# The instance type. For more information, see [Instance
|
35740
|
+
# The instance type. For more information, see [Instance types][1] in
|
35131
35741
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
35132
35742
|
#
|
35133
35743
|
# Default: `m1.small`
|
@@ -35258,7 +35868,7 @@ module Aws::EC2
|
|
35258
35868
|
#
|
35259
35869
|
# @option params [String] :user_data
|
35260
35870
|
# The user data to make available to the instance. For more information,
|
35261
|
-
# see [Running
|
35871
|
+
# see [Running commands on your Linux instance at launch][1] (Linux) and
|
35262
35872
|
# [Adding User Data][2] (Windows). If you are using a command line tool,
|
35263
35873
|
# base64-encoding is performed for you, and you can load the text from a
|
35264
35874
|
# file. Otherwise, you must provide base64-encoded text. User data is
|
@@ -35394,7 +36004,7 @@ module Aws::EC2
|
|
35394
36004
|
# The credit option for CPU usage of the burstable performance instance.
|
35395
36005
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
35396
36006
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
35397
|
-
# information, see [Burstable
|
36007
|
+
# information, see [Burstable performance instances][2] in the *Amazon
|
35398
36008
|
# Elastic Compute Cloud User Guide*.
|
35399
36009
|
#
|
35400
36010
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
@@ -35406,7 +36016,7 @@ module Aws::EC2
|
|
35406
36016
|
#
|
35407
36017
|
# @option params [Types::CpuOptionsRequest] :cpu_options
|
35408
36018
|
# The CPU options for the instance. For more information, see
|
35409
|
-
# [Optimizing CPU
|
36019
|
+
# [Optimizing CPU options][1] in the *Amazon Elastic Compute Cloud User
|
35410
36020
|
# Guide*.
|
35411
36021
|
#
|
35412
36022
|
#
|
@@ -35422,7 +36032,7 @@ module Aws::EC2
|
|
35422
36032
|
#
|
35423
36033
|
# @option params [Types::HibernationOptionsRequest] :hibernation_options
|
35424
36034
|
# Indicates whether an instance is enabled for hibernation. For more
|
35425
|
-
# information, see [Hibernate
|
36035
|
+
# information, see [Hibernate your instance][1] in the *Amazon Elastic
|
35426
36036
|
# Compute Cloud User Guide*.
|
35427
36037
|
#
|
35428
36038
|
#
|
@@ -35434,7 +36044,7 @@ module Aws::EC2
|
|
35434
36044
|
#
|
35435
36045
|
# @option params [Types::InstanceMetadataOptionsRequest] :metadata_options
|
35436
36046
|
# The metadata options for the instance. For more information, see
|
35437
|
-
# [Instance
|
36047
|
+
# [Instance metadata and user data][1].
|
35438
36048
|
#
|
35439
36049
|
#
|
35440
36050
|
#
|
@@ -36234,7 +36844,7 @@ module Aws::EC2
|
|
36234
36844
|
#
|
36235
36845
|
# For more information about configuring your operating system to
|
36236
36846
|
# generate a crash dump when a kernel panic or stop error occurs, see
|
36237
|
-
# [Send a
|
36847
|
+
# [Send a diagnostic interrupt][1] (Linux instances) or [Send a
|
36238
36848
|
# Diagnostic Interrupt][2] (Windows instances).
|
36239
36849
|
#
|
36240
36850
|
#
|
@@ -36292,7 +36902,7 @@ module Aws::EC2
|
|
36292
36902
|
# Performing this operation on an instance that uses an instance store
|
36293
36903
|
# as its root device returns an error.
|
36294
36904
|
#
|
36295
|
-
# For more information, see [Stopping
|
36905
|
+
# For more information, see [Stopping instances][1] in the *Amazon
|
36296
36906
|
# Elastic Compute Cloud User Guide*.
|
36297
36907
|
#
|
36298
36908
|
#
|
@@ -36420,8 +37030,8 @@ module Aws::EC2
|
|
36420
37030
|
#
|
36421
37031
|
# You can use the Stop action to hibernate an instance if the instance
|
36422
37032
|
# is [enabled for hibernation][1] and it meets the [hibernation
|
36423
|
-
# prerequisites][2]. For more information, see [Hibernate
|
36424
|
-
#
|
37033
|
+
# prerequisites][2]. For more information, see [Hibernate your
|
37034
|
+
# instance][3] in the *Amazon Elastic Compute Cloud User Guide*.
|
36425
37035
|
#
|
36426
37036
|
# We don't charge usage for a stopped instance, or data transfer fees;
|
36427
37037
|
# however, your root partition Amazon EBS volume remains and continues
|
@@ -36437,7 +37047,7 @@ module Aws::EC2
|
|
36437
37047
|
# You can't stop or hibernate instance store-backed instances. You
|
36438
37048
|
# can't use the Stop action to hibernate Spot Instances, but you can
|
36439
37049
|
# specify that Amazon EC2 should hibernate Spot Instances when they are
|
36440
|
-
# interrupted. For more information, see [Hibernating
|
37050
|
+
# interrupted. For more information, see [Hibernating interrupted Spot
|
36441
37051
|
# Instances][4] in the *Amazon Elastic Compute Cloud User Guide*.
|
36442
37052
|
#
|
36443
37053
|
# When you stop or hibernate an instance, we shut it down. You can
|
@@ -36454,13 +37064,13 @@ module Aws::EC2
|
|
36454
37064
|
# devices attached during the instance launch are automatically deleted.
|
36455
37065
|
# For more information about the differences between rebooting,
|
36456
37066
|
# stopping, hibernating, and terminating instances, see [Instance
|
36457
|
-
#
|
37067
|
+
# lifecycle][5] in the *Amazon Elastic Compute Cloud User Guide*.
|
36458
37068
|
#
|
36459
37069
|
# When you stop an instance, we attempt to shut it down forcibly after a
|
36460
37070
|
# short while. If your instance appears stuck in the stopping state
|
36461
37071
|
# after a period of time, there may be an issue with the underlying host
|
36462
|
-
# computer. For more information, see [Troubleshooting
|
36463
|
-
#
|
37072
|
+
# computer. For more information, see [Troubleshooting stopping your
|
37073
|
+
# instance][6] in the *Amazon Elastic Compute Cloud User Guide*.
|
36464
37074
|
#
|
36465
37075
|
#
|
36466
37076
|
#
|
@@ -36477,8 +37087,8 @@ module Aws::EC2
|
|
36477
37087
|
# @option params [Boolean] :hibernate
|
36478
37088
|
# Hibernates the instance if the instance was enabled for hibernation at
|
36479
37089
|
# launch. If the instance cannot hibernate successfully, a normal
|
36480
|
-
# shutdown occurs. For more information, see [Hibernate
|
36481
|
-
#
|
37090
|
+
# shutdown occurs. For more information, see [Hibernate your
|
37091
|
+
# instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
36482
37092
|
#
|
36483
37093
|
# Default: `false`
|
36484
37094
|
#
|
@@ -36637,11 +37247,11 @@ module Aws::EC2
|
|
36637
37247
|
# volumes with the `DeleteOnTermination` block device mapping parameter
|
36638
37248
|
# set to `true` are automatically deleted. For more information about
|
36639
37249
|
# the differences between stopping and terminating instances, see
|
36640
|
-
# [Instance
|
37250
|
+
# [Instance lifecycle][1] in the *Amazon Elastic Compute Cloud User
|
36641
37251
|
# Guide*.
|
36642
37252
|
#
|
36643
37253
|
# For more information about troubleshooting, see [Troubleshooting
|
36644
|
-
#
|
37254
|
+
# terminating your instance][2] in the *Amazon Elastic Compute Cloud
|
36645
37255
|
# User Guide*.
|
36646
37256
|
#
|
36647
37257
|
#
|
@@ -36795,7 +37405,7 @@ module Aws::EC2
|
|
36795
37405
|
end
|
36796
37406
|
|
36797
37407
|
# Disables detailed monitoring for a running instance. For more
|
36798
|
-
# information, see [Monitoring
|
37408
|
+
# information, see [Monitoring your instances and volumes][1] in the
|
36799
37409
|
# *Amazon Elastic Compute Cloud User Guide*.
|
36800
37410
|
#
|
36801
37411
|
#
|
@@ -37123,7 +37733,7 @@ module Aws::EC2
|
|
37123
37733
|
params: params,
|
37124
37734
|
config: config)
|
37125
37735
|
context[:gem_name] = 'aws-sdk-ec2'
|
37126
|
-
context[:gem_version] = '1.
|
37736
|
+
context[:gem_version] = '1.174.0'
|
37127
37737
|
Seahorse::Client::Request.new(handlers, context)
|
37128
37738
|
end
|
37129
37739
|
|