aws-sdk-ec2 1.170.0 → 1.175.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +699 -87
- data/lib/aws-sdk-ec2/client_api.rb +226 -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 +875 -66
- 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: be3af733d996b8d3a5626a8eac45130fb73ca67ce24124c04eefc734ed231bd5
|
4
|
+
data.tar.gz: 43de4a15ba50af3b15bd66fc54ce6a442ff84fa754089accbc7c78751725864e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe1a374f7abd9cf2cdf5ccd6c41b5fbd6a057f56c5fdfc7ca41bb1d97079849de8d16558a20a2071153a8ef37b5a6a4bbfeaf6fe7a9cdfa56534c844e86b68ea
|
7
|
+
data.tar.gz: 897e67a7168f4509dbd61c699d177e7239337a582d5b8553c1b37502e58c39b41a0049f9b4b84feb08abe3a84a06ca9c28de07e6503e7481c8cb0e005bec613d
|
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
|
# })
|
@@ -12392,13 +12668,13 @@ module Aws::EC2
|
|
12392
12668
|
# Local Zones, use the name of the group associated with the Local
|
12393
12669
|
# Zone (for example, `us-west-2-lax-1`).
|
12394
12670
|
#
|
12395
|
-
# * `message` - The
|
12671
|
+
# * `message` - The Zone message.
|
12396
12672
|
#
|
12397
12673
|
# * `opt-in-status` - The opt in status (`opted-in`, and `not-opted-in`
|
12398
12674
|
# \| `opt-in-not-required`).
|
12399
12675
|
#
|
12400
|
-
# * `region-name` - The name of the Region for the
|
12401
|
-
#
|
12676
|
+
# * `region-name` - The name of the Region for the Zone (for example,
|
12677
|
+
# `us-east-1`).
|
12402
12678
|
#
|
12403
12679
|
# * `state` - The state of the Availability Zone or Local Zone
|
12404
12680
|
# (`available` \| `information` \| `impaired` \| `unavailable`).
|
@@ -12411,10 +12687,10 @@ module Aws::EC2
|
|
12411
12687
|
# `us-west-2-lax-1a`).
|
12412
12688
|
#
|
12413
12689
|
# @option params [Array<String>] :zone_names
|
12414
|
-
# The names of the
|
12690
|
+
# The names of the Zones.
|
12415
12691
|
#
|
12416
12692
|
# @option params [Array<String>] :zone_ids
|
12417
|
-
# The IDs of the
|
12693
|
+
# The IDs of the Zones.
|
12418
12694
|
#
|
12419
12695
|
# @option params [Boolean] :all_availability_zones
|
12420
12696
|
# Include all Availability Zones and Local Zones regardless of your opt
|
@@ -12503,6 +12779,9 @@ module Aws::EC2
|
|
12503
12779
|
# resp.availability_zones[0].zone_id #=> String
|
12504
12780
|
# resp.availability_zones[0].group_name #=> String
|
12505
12781
|
# resp.availability_zones[0].network_border_group #=> String
|
12782
|
+
# resp.availability_zones[0].zone_type #=> String
|
12783
|
+
# resp.availability_zones[0].parent_zone_name #=> String
|
12784
|
+
# resp.availability_zones[0].parent_zone_id #=> String
|
12506
12785
|
#
|
12507
12786
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZones AWS API Documentation
|
12508
12787
|
#
|
@@ -15833,7 +16112,7 @@ module Aws::EC2
|
|
15833
16112
|
# instance IDs at all, the call fails. If you specify only instance IDs
|
15834
16113
|
# in an unaffected zone, the call works normally.
|
15835
16114
|
#
|
15836
|
-
# For more information, see [Burstable
|
16115
|
+
# For more information, see [Burstable performance instances][1] in the
|
15837
16116
|
# *Amazon Elastic Compute Cloud User Guide*.
|
15838
16117
|
#
|
15839
16118
|
#
|
@@ -15949,19 +16228,19 @@ module Aws::EC2
|
|
15949
16228
|
#
|
15950
16229
|
# * **Status checks** - Amazon EC2 performs status checks on running EC2
|
15951
16230
|
# instances to identify hardware and software issues. For more
|
15952
|
-
# information, see [Status
|
15953
|
-
# [Troubleshooting
|
16231
|
+
# information, see [Status checks for your instances][1] and
|
16232
|
+
# [Troubleshooting instances with failed status checks][2] in the
|
15954
16233
|
# *Amazon Elastic Compute Cloud User Guide*.
|
15955
16234
|
#
|
15956
16235
|
# * **Scheduled events** - Amazon EC2 can schedule events (such as
|
15957
16236
|
# reboot, stop, or terminate) for your instances related to hardware
|
15958
16237
|
# issues, software updates, or system maintenance. For more
|
15959
|
-
# information, see [Scheduled
|
16238
|
+
# information, see [Scheduled events for your instances][3] in the
|
15960
16239
|
# *Amazon Elastic Compute Cloud User Guide*.
|
15961
16240
|
#
|
15962
16241
|
# * **Instance state** - You can manage your instances from the moment
|
15963
16242
|
# you launch them through their termination. For more information, see
|
15964
|
-
# [Instance
|
16243
|
+
# [Instance lifecycle][4] in the *Amazon Elastic Compute Cloud User
|
15965
16244
|
# Guide*.
|
15966
16245
|
#
|
15967
16246
|
#
|
@@ -18121,6 +18400,85 @@ module Aws::EC2
|
|
18121
18400
|
req.send_request(options)
|
18122
18401
|
end
|
18123
18402
|
|
18403
|
+
# Describes your managed prefix lists and any AWS-managed prefix lists.
|
18404
|
+
#
|
18405
|
+
# To view the entries for your prefix list, use
|
18406
|
+
# GetManagedPrefixListEntries.
|
18407
|
+
#
|
18408
|
+
# @option params [Boolean] :dry_run
|
18409
|
+
# Checks whether you have the required permissions for the action,
|
18410
|
+
# without actually making the request, and provides an error response.
|
18411
|
+
# If you have the required permissions, the error response is
|
18412
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
18413
|
+
#
|
18414
|
+
# @option params [Array<Types::Filter>] :filters
|
18415
|
+
# One or more filters.
|
18416
|
+
#
|
18417
|
+
# * `owner-id` - The ID of the prefix list owner.
|
18418
|
+
#
|
18419
|
+
# * `prefix-list-id` - The ID of the prefix list.
|
18420
|
+
#
|
18421
|
+
# * `prefix-list-name` - The name of the prefix list.
|
18422
|
+
#
|
18423
|
+
# @option params [Integer] :max_results
|
18424
|
+
# The maximum number of results to return with a single call. To
|
18425
|
+
# retrieve the remaining results, make another call with the returned
|
18426
|
+
# `nextToken` value.
|
18427
|
+
#
|
18428
|
+
# @option params [String] :next_token
|
18429
|
+
# The token for the next page of results.
|
18430
|
+
#
|
18431
|
+
# @option params [Array<String>] :prefix_list_ids
|
18432
|
+
# One or more prefix list IDs.
|
18433
|
+
#
|
18434
|
+
# @return [Types::DescribeManagedPrefixListsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
18435
|
+
#
|
18436
|
+
# * {Types::DescribeManagedPrefixListsResult#next_token #next_token} => String
|
18437
|
+
# * {Types::DescribeManagedPrefixListsResult#prefix_lists #prefix_lists} => Array<Types::ManagedPrefixList>
|
18438
|
+
#
|
18439
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
18440
|
+
#
|
18441
|
+
# @example Request syntax with placeholder values
|
18442
|
+
#
|
18443
|
+
# resp = client.describe_managed_prefix_lists({
|
18444
|
+
# dry_run: false,
|
18445
|
+
# filters: [
|
18446
|
+
# {
|
18447
|
+
# name: "String",
|
18448
|
+
# values: ["String"],
|
18449
|
+
# },
|
18450
|
+
# ],
|
18451
|
+
# max_results: 1,
|
18452
|
+
# next_token: "NextToken",
|
18453
|
+
# prefix_list_ids: ["String"],
|
18454
|
+
# })
|
18455
|
+
#
|
18456
|
+
# @example Response structure
|
18457
|
+
#
|
18458
|
+
# resp.next_token #=> String
|
18459
|
+
# resp.prefix_lists #=> Array
|
18460
|
+
# resp.prefix_lists[0].prefix_list_id #=> String
|
18461
|
+
# resp.prefix_lists[0].address_family #=> String
|
18462
|
+
# 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"
|
18463
|
+
# resp.prefix_lists[0].state_message #=> String
|
18464
|
+
# resp.prefix_lists[0].prefix_list_arn #=> String
|
18465
|
+
# resp.prefix_lists[0].prefix_list_name #=> String
|
18466
|
+
# resp.prefix_lists[0].max_entries #=> Integer
|
18467
|
+
# resp.prefix_lists[0].version #=> Integer
|
18468
|
+
# resp.prefix_lists[0].tags #=> Array
|
18469
|
+
# resp.prefix_lists[0].tags[0].key #=> String
|
18470
|
+
# resp.prefix_lists[0].tags[0].value #=> String
|
18471
|
+
# resp.prefix_lists[0].owner_id #=> String
|
18472
|
+
#
|
18473
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeManagedPrefixLists AWS API Documentation
|
18474
|
+
#
|
18475
|
+
# @overload describe_managed_prefix_lists(params = {})
|
18476
|
+
# @param [Hash] params ({})
|
18477
|
+
def describe_managed_prefix_lists(params = {}, options = {})
|
18478
|
+
req = build_request(:describe_managed_prefix_lists, params)
|
18479
|
+
req.send_request(options)
|
18480
|
+
end
|
18481
|
+
|
18124
18482
|
# Describes your Elastic IP addresses that are being moved to the
|
18125
18483
|
# EC2-VPC platform, or that are being restored to the EC2-Classic
|
18126
18484
|
# platform. This request does not return information about any other
|
@@ -18794,9 +19152,6 @@ module Aws::EC2
|
|
18794
19152
|
# * `attachment.instance-owner-id` - The owner ID of the instance to
|
18795
19153
|
# which the network interface is attached.
|
18796
19154
|
#
|
18797
|
-
# * `attachment.nat-gateway-id` - The ID of the NAT gateway to which the
|
18798
|
-
# network interface is attached.
|
18799
|
-
#
|
18800
19155
|
# * `attachment.status` - The status of the attachment (`attaching` \|
|
18801
19156
|
# `attached` \| `detaching` \| `detached`).
|
18802
19157
|
#
|
@@ -19030,7 +19385,7 @@ module Aws::EC2
|
|
19030
19385
|
end
|
19031
19386
|
|
19032
19387
|
# Describes the specified placement groups or all of your placement
|
19033
|
-
# groups. For more information, see [Placement
|
19388
|
+
# groups. For more information, see [Placement groups][1] in the *Amazon
|
19034
19389
|
# Elastic Compute Cloud User Guide*.
|
19035
19390
|
#
|
19036
19391
|
#
|
@@ -19114,11 +19469,9 @@ module Aws::EC2
|
|
19114
19469
|
|
19115
19470
|
# Describes available AWS services in a prefix list format, which
|
19116
19471
|
# 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.
|
19472
|
+
# the IP address range for the service.
|
19473
|
+
#
|
19474
|
+
# We recommend that you use DescribeManagedPrefixLists instead.
|
19122
19475
|
#
|
19123
19476
|
# @option params [Boolean] :dry_run
|
19124
19477
|
# Checks whether you have the required permissions for the action,
|
@@ -20627,8 +20980,8 @@ module Aws::EC2
|
|
20627
20980
|
# * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
|
20628
20981
|
# outbound security group rule.
|
20629
20982
|
#
|
20630
|
-
# * `egress.ip-permission.prefix-list-id` - The ID
|
20631
|
-
#
|
20983
|
+
# * `egress.ip-permission.prefix-list-id` - The ID of a prefix list to
|
20984
|
+
# which a security group rule allows outbound access.
|
20632
20985
|
#
|
20633
20986
|
# * `egress.ip-permission.protocol` - The IP protocol for an outbound
|
20634
20987
|
# security group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
|
@@ -20658,8 +21011,8 @@ module Aws::EC2
|
|
20658
21011
|
# * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
|
20659
21012
|
# security group rule.
|
20660
21013
|
#
|
20661
|
-
# * `ip-permission.prefix-list-id` - The ID
|
20662
|
-
#
|
21014
|
+
# * `ip-permission.prefix-list-id` - The ID of a prefix list from which
|
21015
|
+
# a security group rule allows inbound access.
|
20663
21016
|
#
|
20664
21017
|
# * `ip-permission.protocol` - The IP protocol for an inbound security
|
20665
21018
|
# group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
|
@@ -27130,7 +27483,7 @@ module Aws::EC2
|
|
27130
27483
|
# Describes the default credit option for CPU usage of a burstable
|
27131
27484
|
# performance instance family.
|
27132
27485
|
#
|
27133
|
-
# For more information, see [Burstable
|
27486
|
+
# For more information, see [Burstable performance instances][1] in the
|
27134
27487
|
# *Amazon Elastic Compute Cloud User Guide*.
|
27135
27488
|
#
|
27136
27489
|
#
|
@@ -27482,6 +27835,115 @@ module Aws::EC2
|
|
27482
27835
|
req.send_request(options)
|
27483
27836
|
end
|
27484
27837
|
|
27838
|
+
# Gets information about the resources that are associated with the
|
27839
|
+
# specified managed prefix list.
|
27840
|
+
#
|
27841
|
+
# @option params [Boolean] :dry_run
|
27842
|
+
# Checks whether you have the required permissions for the action,
|
27843
|
+
# without actually making the request, and provides an error response.
|
27844
|
+
# If you have the required permissions, the error response is
|
27845
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27846
|
+
#
|
27847
|
+
# @option params [required, String] :prefix_list_id
|
27848
|
+
# The ID of the prefix list.
|
27849
|
+
#
|
27850
|
+
# @option params [Integer] :max_results
|
27851
|
+
# The maximum number of results to return with a single call. To
|
27852
|
+
# retrieve the remaining results, make another call with the returned
|
27853
|
+
# `nextToken` value.
|
27854
|
+
#
|
27855
|
+
# @option params [String] :next_token
|
27856
|
+
# The token for the next page of results.
|
27857
|
+
#
|
27858
|
+
# @return [Types::GetManagedPrefixListAssociationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27859
|
+
#
|
27860
|
+
# * {Types::GetManagedPrefixListAssociationsResult#prefix_list_associations #prefix_list_associations} => Array<Types::PrefixListAssociation>
|
27861
|
+
# * {Types::GetManagedPrefixListAssociationsResult#next_token #next_token} => String
|
27862
|
+
#
|
27863
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
27864
|
+
#
|
27865
|
+
# @example Request syntax with placeholder values
|
27866
|
+
#
|
27867
|
+
# resp = client.get_managed_prefix_list_associations({
|
27868
|
+
# dry_run: false,
|
27869
|
+
# prefix_list_id: "PrefixListResourceId", # required
|
27870
|
+
# max_results: 1,
|
27871
|
+
# next_token: "NextToken",
|
27872
|
+
# })
|
27873
|
+
#
|
27874
|
+
# @example Response structure
|
27875
|
+
#
|
27876
|
+
# resp.prefix_list_associations #=> Array
|
27877
|
+
# resp.prefix_list_associations[0].resource_id #=> String
|
27878
|
+
# resp.prefix_list_associations[0].resource_owner #=> String
|
27879
|
+
# resp.next_token #=> String
|
27880
|
+
#
|
27881
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetManagedPrefixListAssociations AWS API Documentation
|
27882
|
+
#
|
27883
|
+
# @overload get_managed_prefix_list_associations(params = {})
|
27884
|
+
# @param [Hash] params ({})
|
27885
|
+
def get_managed_prefix_list_associations(params = {}, options = {})
|
27886
|
+
req = build_request(:get_managed_prefix_list_associations, params)
|
27887
|
+
req.send_request(options)
|
27888
|
+
end
|
27889
|
+
|
27890
|
+
# Gets information about the entries for a specified managed prefix
|
27891
|
+
# list.
|
27892
|
+
#
|
27893
|
+
# @option params [Boolean] :dry_run
|
27894
|
+
# Checks whether you have the required permissions for the action,
|
27895
|
+
# without actually making the request, and provides an error response.
|
27896
|
+
# If you have the required permissions, the error response is
|
27897
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27898
|
+
#
|
27899
|
+
# @option params [required, String] :prefix_list_id
|
27900
|
+
# The ID of the prefix list.
|
27901
|
+
#
|
27902
|
+
# @option params [Integer] :target_version
|
27903
|
+
# The version of the prefix list for which to return the entries. The
|
27904
|
+
# default is the current version.
|
27905
|
+
#
|
27906
|
+
# @option params [Integer] :max_results
|
27907
|
+
# The maximum number of results to return with a single call. To
|
27908
|
+
# retrieve the remaining results, make another call with the returned
|
27909
|
+
# `nextToken` value.
|
27910
|
+
#
|
27911
|
+
# @option params [String] :next_token
|
27912
|
+
# The token for the next page of results.
|
27913
|
+
#
|
27914
|
+
# @return [Types::GetManagedPrefixListEntriesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27915
|
+
#
|
27916
|
+
# * {Types::GetManagedPrefixListEntriesResult#entries #entries} => Array<Types::PrefixListEntry>
|
27917
|
+
# * {Types::GetManagedPrefixListEntriesResult#next_token #next_token} => String
|
27918
|
+
#
|
27919
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
27920
|
+
#
|
27921
|
+
# @example Request syntax with placeholder values
|
27922
|
+
#
|
27923
|
+
# resp = client.get_managed_prefix_list_entries({
|
27924
|
+
# dry_run: false,
|
27925
|
+
# prefix_list_id: "PrefixListResourceId", # required
|
27926
|
+
# target_version: 1,
|
27927
|
+
# max_results: 1,
|
27928
|
+
# next_token: "NextToken",
|
27929
|
+
# })
|
27930
|
+
#
|
27931
|
+
# @example Response structure
|
27932
|
+
#
|
27933
|
+
# resp.entries #=> Array
|
27934
|
+
# resp.entries[0].cidr #=> String
|
27935
|
+
# resp.entries[0].description #=> String
|
27936
|
+
# resp.next_token #=> String
|
27937
|
+
#
|
27938
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetManagedPrefixListEntries AWS API Documentation
|
27939
|
+
#
|
27940
|
+
# @overload get_managed_prefix_list_entries(params = {})
|
27941
|
+
# @param [Hash] params ({})
|
27942
|
+
def get_managed_prefix_list_entries(params = {}, options = {})
|
27943
|
+
req = build_request(:get_managed_prefix_list_entries, params)
|
27944
|
+
req.send_request(options)
|
27945
|
+
end
|
27946
|
+
|
27485
27947
|
# Retrieves the encrypted administrator password for a running Windows
|
27486
27948
|
# instance.
|
27487
27949
|
#
|
@@ -28625,12 +29087,11 @@ module Aws::EC2
|
|
28625
29087
|
|
28626
29088
|
# Enables or disables an Availability Zone group for your account.
|
28627
29089
|
#
|
28628
|
-
# Use [
|
28629
|
-
# `GroupName`.
|
29090
|
+
# Use [ DescribeAvailabilityZones][1] to view the value for `GroupName`.
|
28630
29091
|
#
|
28631
29092
|
#
|
28632
29093
|
#
|
28633
|
-
# [1]: https://docs.aws.amazon.com/
|
29094
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html
|
28634
29095
|
#
|
28635
29096
|
# @option params [required, String] :group_name
|
28636
29097
|
# The name of the Availability Zone Group.
|
@@ -28866,7 +29327,7 @@ module Aws::EC2
|
|
28866
29327
|
# `GetDefaultCreditSpecification` and check `DefaultCreditSpecification`
|
28867
29328
|
# for updates.
|
28868
29329
|
#
|
28869
|
-
# For more information, see [Burstable
|
29330
|
+
# For more information, see [Burstable performance instances][1] in the
|
28870
29331
|
# *Amazon Elastic Compute Cloud User Guide*.
|
28871
29332
|
#
|
28872
29333
|
#
|
@@ -29531,7 +29992,7 @@ module Aws::EC2
|
|
29531
29992
|
# ModifyNetworkInterfaceAttribute action.
|
29532
29993
|
#
|
29533
29994
|
# To modify some attributes, the instance must be stopped. For more
|
29534
|
-
# information, see [Modifying
|
29995
|
+
# information, see [Modifying attributes of a stopped instance][1] in
|
29535
29996
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
29536
29997
|
#
|
29537
29998
|
#
|
@@ -29555,7 +30016,7 @@ module Aws::EC2
|
|
29555
30016
|
#
|
29556
30017
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
29557
30018
|
# must add them when you launch the instance. For more information, see
|
29558
|
-
# [Updating the
|
30019
|
+
# [Updating the block device mapping when launching an instance][1] in
|
29559
30020
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
29560
30021
|
#
|
29561
30022
|
#
|
@@ -29602,7 +30063,7 @@ module Aws::EC2
|
|
29602
30063
|
#
|
29603
30064
|
# @option params [Types::AttributeValue] :instance_type
|
29604
30065
|
# Changes the instance type to the specified value. For more
|
29605
|
-
# information, see [Instance
|
30066
|
+
# information, see [Instance types][1]. If the instance type is not
|
29606
30067
|
# valid, the error returned is `InvalidInstanceAttributeValue`.
|
29607
30068
|
#
|
29608
30069
|
#
|
@@ -29782,7 +30243,7 @@ module Aws::EC2
|
|
29782
30243
|
# burstable performance instance. The credit options are `standard` and
|
29783
30244
|
# `unlimited`.
|
29784
30245
|
#
|
29785
|
-
# For more information, see [Burstable
|
30246
|
+
# For more information, see [Burstable performance instances][1] in the
|
29786
30247
|
# *Amazon Elastic Compute Cloud User Guide*.
|
29787
30248
|
#
|
29788
30249
|
#
|
@@ -29898,7 +30359,7 @@ module Aws::EC2
|
|
29898
30359
|
# “pending”. After the parameter modifications are successfully applied
|
29899
30360
|
# to the instance, the state of the modifications changes from “pending”
|
29900
30361
|
# to “applied” in subsequent describe-instances API calls. For more
|
29901
|
-
# information, see [Instance
|
30362
|
+
# information, see [Instance metadata and user data][1].
|
29902
30363
|
#
|
29903
30364
|
#
|
29904
30365
|
#
|
@@ -30156,6 +30617,84 @@ module Aws::EC2
|
|
30156
30617
|
req.send_request(options)
|
30157
30618
|
end
|
30158
30619
|
|
30620
|
+
# Modifies the specified managed prefix list.
|
30621
|
+
#
|
30622
|
+
# Adding or removing entries in a prefix list creates a new version of
|
30623
|
+
# the prefix list. Changing the name of the prefix list does not affect
|
30624
|
+
# the version.
|
30625
|
+
#
|
30626
|
+
# If you specify a current version number that does not match the true
|
30627
|
+
# current version number, the request fails.
|
30628
|
+
#
|
30629
|
+
# @option params [Boolean] :dry_run
|
30630
|
+
# Checks whether you have the required permissions for the action,
|
30631
|
+
# without actually making the request, and provides an error response.
|
30632
|
+
# If you have the required permissions, the error response is
|
30633
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
30634
|
+
#
|
30635
|
+
# @option params [required, String] :prefix_list_id
|
30636
|
+
# The ID of the prefix list.
|
30637
|
+
#
|
30638
|
+
# @option params [Integer] :current_version
|
30639
|
+
# The current version of the prefix list.
|
30640
|
+
#
|
30641
|
+
# @option params [String] :prefix_list_name
|
30642
|
+
# A name for the prefix list.
|
30643
|
+
#
|
30644
|
+
# @option params [Array<Types::AddPrefixListEntry>] :add_entries
|
30645
|
+
# One or more entries to add to the prefix list.
|
30646
|
+
#
|
30647
|
+
# @option params [Array<Types::RemovePrefixListEntry>] :remove_entries
|
30648
|
+
# One or more entries to remove from the prefix list.
|
30649
|
+
#
|
30650
|
+
# @return [Types::ModifyManagedPrefixListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
30651
|
+
#
|
30652
|
+
# * {Types::ModifyManagedPrefixListResult#prefix_list #prefix_list} => Types::ManagedPrefixList
|
30653
|
+
#
|
30654
|
+
# @example Request syntax with placeholder values
|
30655
|
+
#
|
30656
|
+
# resp = client.modify_managed_prefix_list({
|
30657
|
+
# dry_run: false,
|
30658
|
+
# prefix_list_id: "PrefixListResourceId", # required
|
30659
|
+
# current_version: 1,
|
30660
|
+
# prefix_list_name: "String",
|
30661
|
+
# add_entries: [
|
30662
|
+
# {
|
30663
|
+
# cidr: "String", # required
|
30664
|
+
# description: "String",
|
30665
|
+
# },
|
30666
|
+
# ],
|
30667
|
+
# remove_entries: [
|
30668
|
+
# {
|
30669
|
+
# cidr: "String", # required
|
30670
|
+
# },
|
30671
|
+
# ],
|
30672
|
+
# })
|
30673
|
+
#
|
30674
|
+
# @example Response structure
|
30675
|
+
#
|
30676
|
+
# resp.prefix_list.prefix_list_id #=> String
|
30677
|
+
# resp.prefix_list.address_family #=> String
|
30678
|
+
# 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"
|
30679
|
+
# resp.prefix_list.state_message #=> String
|
30680
|
+
# resp.prefix_list.prefix_list_arn #=> String
|
30681
|
+
# resp.prefix_list.prefix_list_name #=> String
|
30682
|
+
# resp.prefix_list.max_entries #=> Integer
|
30683
|
+
# resp.prefix_list.version #=> Integer
|
30684
|
+
# resp.prefix_list.tags #=> Array
|
30685
|
+
# resp.prefix_list.tags[0].key #=> String
|
30686
|
+
# resp.prefix_list.tags[0].value #=> String
|
30687
|
+
# resp.prefix_list.owner_id #=> String
|
30688
|
+
#
|
30689
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyManagedPrefixList AWS API Documentation
|
30690
|
+
#
|
30691
|
+
# @overload modify_managed_prefix_list(params = {})
|
30692
|
+
# @param [Hash] params ({})
|
30693
|
+
def modify_managed_prefix_list(params = {}, options = {})
|
30694
|
+
req = build_request(:modify_managed_prefix_list, params)
|
30695
|
+
req.send_request(options)
|
30696
|
+
end
|
30697
|
+
|
30159
30698
|
# Modifies the specified network interface attribute. You can specify
|
30160
30699
|
# only one attribute at a time. You can use this action to attach and
|
30161
30700
|
# detach security groups from an existing EC2 instance.
|
@@ -31999,8 +32538,8 @@ module Aws::EC2
|
|
31999
32538
|
end
|
32000
32539
|
|
32001
32540
|
# Enables detailed monitoring for a running instance. Otherwise, basic
|
32002
|
-
# monitoring is enabled. For more information, see [Monitoring
|
32003
|
-
#
|
32541
|
+
# monitoring is enabled. For more information, see [Monitoring your
|
32542
|
+
# instances and volumes][1] in the *Amazon Elastic Compute Cloud User
|
32004
32543
|
# Guide*.
|
32005
32544
|
#
|
32006
32545
|
# To disable detailed monitoring, see .
|
@@ -32234,6 +32773,9 @@ module Aws::EC2
|
|
32234
32773
|
# @option params [required, String] :offering_id
|
32235
32774
|
# The ID of the offering.
|
32236
32775
|
#
|
32776
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
32777
|
+
# The tags to apply to the Dedicated Host Reservation during purchase.
|
32778
|
+
#
|
32237
32779
|
# @return [Types::PurchaseHostReservationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
32238
32780
|
#
|
32239
32781
|
# * {Types::PurchaseHostReservationResult#client_token #client_token} => String
|
@@ -32250,6 +32792,17 @@ module Aws::EC2
|
|
32250
32792
|
# host_id_set: ["DedicatedHostId"], # required
|
32251
32793
|
# limit_price: "String",
|
32252
32794
|
# offering_id: "OfferingId", # required
|
32795
|
+
# tag_specifications: [
|
32796
|
+
# {
|
32797
|
+
# 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
|
32798
|
+
# tags: [
|
32799
|
+
# {
|
32800
|
+
# key: "String",
|
32801
|
+
# value: "String",
|
32802
|
+
# },
|
32803
|
+
# ],
|
32804
|
+
# },
|
32805
|
+
# ],
|
32253
32806
|
# })
|
32254
32807
|
#
|
32255
32808
|
# @example Response structure
|
@@ -32485,8 +33038,8 @@ module Aws::EC2
|
|
32485
33038
|
# If an instance does not cleanly shut down within four minutes, Amazon
|
32486
33039
|
# EC2 performs a hard reboot.
|
32487
33040
|
#
|
32488
|
-
# For more information about troubleshooting, see [Getting
|
32489
|
-
#
|
33041
|
+
# For more information about troubleshooting, see [Getting console
|
33042
|
+
# output and rebooting instances][1] in the *Amazon Elastic Compute
|
32490
33043
|
# Cloud User Guide*.
|
32491
33044
|
#
|
32492
33045
|
#
|
@@ -33428,6 +33981,9 @@ module Aws::EC2
|
|
33428
33981
|
# that you provide must match the CIDR of an existing route in the
|
33429
33982
|
# table.
|
33430
33983
|
#
|
33984
|
+
# @option params [String] :destination_prefix_list_id
|
33985
|
+
# The ID of the prefix list for the route.
|
33986
|
+
#
|
33431
33987
|
# @option params [Boolean] :dry_run
|
33432
33988
|
# Checks whether you have the required permissions for the action,
|
33433
33989
|
# without actually making the request, and provides an error response.
|
@@ -33484,6 +34040,7 @@ module Aws::EC2
|
|
33484
34040
|
# resp = client.replace_route({
|
33485
34041
|
# destination_cidr_block: "String",
|
33486
34042
|
# destination_ipv_6_cidr_block: "String",
|
34043
|
+
# destination_prefix_list_id: "PrefixListResourceId",
|
33487
34044
|
# dry_run: false,
|
33488
34045
|
# egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
|
33489
34046
|
# gateway_id: "RouteGatewayId",
|
@@ -34754,6 +35311,61 @@ module Aws::EC2
|
|
34754
35311
|
req.send_request(options)
|
34755
35312
|
end
|
34756
35313
|
|
35314
|
+
# Restores the entries from a previous version of a managed prefix list
|
35315
|
+
# to a new version of the prefix list.
|
35316
|
+
#
|
35317
|
+
# @option params [Boolean] :dry_run
|
35318
|
+
# Checks whether you have the required permissions for the action,
|
35319
|
+
# without actually making the request, and provides an error response.
|
35320
|
+
# If you have the required permissions, the error response is
|
35321
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
35322
|
+
#
|
35323
|
+
# @option params [required, String] :prefix_list_id
|
35324
|
+
# The ID of the prefix list.
|
35325
|
+
#
|
35326
|
+
# @option params [required, Integer] :previous_version
|
35327
|
+
# The version to restore.
|
35328
|
+
#
|
35329
|
+
# @option params [required, Integer] :current_version
|
35330
|
+
# The current version number for the prefix list.
|
35331
|
+
#
|
35332
|
+
# @return [Types::RestoreManagedPrefixListVersionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
35333
|
+
#
|
35334
|
+
# * {Types::RestoreManagedPrefixListVersionResult#prefix_list #prefix_list} => Types::ManagedPrefixList
|
35335
|
+
#
|
35336
|
+
# @example Request syntax with placeholder values
|
35337
|
+
#
|
35338
|
+
# resp = client.restore_managed_prefix_list_version({
|
35339
|
+
# dry_run: false,
|
35340
|
+
# prefix_list_id: "PrefixListResourceId", # required
|
35341
|
+
# previous_version: 1, # required
|
35342
|
+
# current_version: 1, # required
|
35343
|
+
# })
|
35344
|
+
#
|
35345
|
+
# @example Response structure
|
35346
|
+
#
|
35347
|
+
# resp.prefix_list.prefix_list_id #=> String
|
35348
|
+
# resp.prefix_list.address_family #=> String
|
35349
|
+
# 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"
|
35350
|
+
# resp.prefix_list.state_message #=> String
|
35351
|
+
# resp.prefix_list.prefix_list_arn #=> String
|
35352
|
+
# resp.prefix_list.prefix_list_name #=> String
|
35353
|
+
# resp.prefix_list.max_entries #=> Integer
|
35354
|
+
# resp.prefix_list.version #=> Integer
|
35355
|
+
# resp.prefix_list.tags #=> Array
|
35356
|
+
# resp.prefix_list.tags[0].key #=> String
|
35357
|
+
# resp.prefix_list.tags[0].value #=> String
|
35358
|
+
# resp.prefix_list.owner_id #=> String
|
35359
|
+
#
|
35360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreManagedPrefixListVersion AWS API Documentation
|
35361
|
+
#
|
35362
|
+
# @overload restore_managed_prefix_list_version(params = {})
|
35363
|
+
# @param [Hash] params ({})
|
35364
|
+
def restore_managed_prefix_list_version(params = {}, options = {})
|
35365
|
+
req = build_request(:restore_managed_prefix_list_version, params)
|
35366
|
+
req.send_request(options)
|
35367
|
+
end
|
35368
|
+
|
34757
35369
|
# Removes an ingress authorization rule from a Client VPN endpoint.
|
34758
35370
|
#
|
34759
35371
|
# @option params [required, String] :client_vpn_endpoint_id
|
@@ -35067,7 +35679,7 @@ module Aws::EC2
|
|
35067
35679
|
#
|
35068
35680
|
# * Some instance types must be launched into a VPC. If you do not have
|
35069
35681
|
# a default VPC, or if you do not specify a subnet ID, the request
|
35070
|
-
# fails. For more information, see [Instance
|
35682
|
+
# fails. For more information, see [Instance types available only in a
|
35071
35683
|
# VPC][1].
|
35072
35684
|
#
|
35073
35685
|
# * \[EC2-VPC\] All instances have a network interface with a primary
|
@@ -35075,10 +35687,10 @@ module Aws::EC2
|
|
35075
35687
|
# one from the IPv4 range of your subnet.
|
35076
35688
|
#
|
35077
35689
|
# * Not all instance types support IPv6 addresses. For more information,
|
35078
|
-
# see [Instance
|
35690
|
+
# see [Instance types][2].
|
35079
35691
|
#
|
35080
35692
|
# * If you don't specify a security group ID, we use the default
|
35081
|
-
# security group. For more information, see [Security
|
35693
|
+
# security group. For more information, see [Security groups][3].
|
35082
35694
|
#
|
35083
35695
|
# * If any of the AMIs have a product code attached for which the user
|
35084
35696
|
# has not subscribed, the request fails.
|
@@ -35095,17 +35707,17 @@ module Aws::EC2
|
|
35095
35707
|
# An instance is ready for you to use when it's in the `running` state.
|
35096
35708
|
# You can check the state of your instance using DescribeInstances. You
|
35097
35709
|
# can tag instances and EBS volumes during launch, after launch, or
|
35098
|
-
# both. For more information, see CreateTags and [Tagging
|
35099
|
-
# EC2
|
35710
|
+
# both. For more information, see CreateTags and [Tagging your Amazon
|
35711
|
+
# EC2 resources][5].
|
35100
35712
|
#
|
35101
35713
|
# Linux instances have access to the public key of the key pair at boot.
|
35102
35714
|
# You can use this key to provide secure access to the instance. Amazon
|
35103
35715
|
# EC2 public images use this feature to provide secure access without
|
35104
|
-
# passwords. For more information, see [Key
|
35716
|
+
# passwords. For more information, see [Key pairs][6] in the *Amazon
|
35105
35717
|
# Elastic Compute Cloud User Guide*.
|
35106
35718
|
#
|
35107
|
-
# For troubleshooting, see [What
|
35108
|
-
#
|
35719
|
+
# For troubleshooting, see [What to do if an instance immediately
|
35720
|
+
# terminates][7], and [Troubleshooting connecting to your instance][8]
|
35109
35721
|
# in the *Amazon Elastic Compute Cloud User Guide*.
|
35110
35722
|
#
|
35111
35723
|
#
|
@@ -35127,7 +35739,7 @@ module Aws::EC2
|
|
35127
35739
|
# must be specified here or in a launch template.
|
35128
35740
|
#
|
35129
35741
|
# @option params [String] :instance_type
|
35130
|
-
# The instance type. For more information, see [Instance
|
35742
|
+
# The instance type. For more information, see [Instance types][1] in
|
35131
35743
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
35132
35744
|
#
|
35133
35745
|
# Default: `m1.small`
|
@@ -35258,7 +35870,7 @@ module Aws::EC2
|
|
35258
35870
|
#
|
35259
35871
|
# @option params [String] :user_data
|
35260
35872
|
# The user data to make available to the instance. For more information,
|
35261
|
-
# see [Running
|
35873
|
+
# see [Running commands on your Linux instance at launch][1] (Linux) and
|
35262
35874
|
# [Adding User Data][2] (Windows). If you are using a command line tool,
|
35263
35875
|
# base64-encoding is performed for you, and you can load the text from a
|
35264
35876
|
# file. Otherwise, you must provide base64-encoded text. User data is
|
@@ -35394,7 +36006,7 @@ module Aws::EC2
|
|
35394
36006
|
# The credit option for CPU usage of the burstable performance instance.
|
35395
36007
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
35396
36008
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
35397
|
-
# information, see [Burstable
|
36009
|
+
# information, see [Burstable performance instances][2] in the *Amazon
|
35398
36010
|
# Elastic Compute Cloud User Guide*.
|
35399
36011
|
#
|
35400
36012
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
@@ -35406,7 +36018,7 @@ module Aws::EC2
|
|
35406
36018
|
#
|
35407
36019
|
# @option params [Types::CpuOptionsRequest] :cpu_options
|
35408
36020
|
# The CPU options for the instance. For more information, see
|
35409
|
-
# [Optimizing CPU
|
36021
|
+
# [Optimizing CPU options][1] in the *Amazon Elastic Compute Cloud User
|
35410
36022
|
# Guide*.
|
35411
36023
|
#
|
35412
36024
|
#
|
@@ -35422,7 +36034,7 @@ module Aws::EC2
|
|
35422
36034
|
#
|
35423
36035
|
# @option params [Types::HibernationOptionsRequest] :hibernation_options
|
35424
36036
|
# Indicates whether an instance is enabled for hibernation. For more
|
35425
|
-
# information, see [Hibernate
|
36037
|
+
# information, see [Hibernate your instance][1] in the *Amazon Elastic
|
35426
36038
|
# Compute Cloud User Guide*.
|
35427
36039
|
#
|
35428
36040
|
#
|
@@ -35434,7 +36046,7 @@ module Aws::EC2
|
|
35434
36046
|
#
|
35435
36047
|
# @option params [Types::InstanceMetadataOptionsRequest] :metadata_options
|
35436
36048
|
# The metadata options for the instance. For more information, see
|
35437
|
-
# [Instance
|
36049
|
+
# [Instance metadata and user data][1].
|
35438
36050
|
#
|
35439
36051
|
#
|
35440
36052
|
#
|
@@ -36234,7 +36846,7 @@ module Aws::EC2
|
|
36234
36846
|
#
|
36235
36847
|
# For more information about configuring your operating system to
|
36236
36848
|
# generate a crash dump when a kernel panic or stop error occurs, see
|
36237
|
-
# [Send a
|
36849
|
+
# [Send a diagnostic interrupt][1] (Linux instances) or [Send a
|
36238
36850
|
# Diagnostic Interrupt][2] (Windows instances).
|
36239
36851
|
#
|
36240
36852
|
#
|
@@ -36292,7 +36904,7 @@ module Aws::EC2
|
|
36292
36904
|
# Performing this operation on an instance that uses an instance store
|
36293
36905
|
# as its root device returns an error.
|
36294
36906
|
#
|
36295
|
-
# For more information, see [Stopping
|
36907
|
+
# For more information, see [Stopping instances][1] in the *Amazon
|
36296
36908
|
# Elastic Compute Cloud User Guide*.
|
36297
36909
|
#
|
36298
36910
|
#
|
@@ -36420,8 +37032,8 @@ module Aws::EC2
|
|
36420
37032
|
#
|
36421
37033
|
# You can use the Stop action to hibernate an instance if the instance
|
36422
37034
|
# is [enabled for hibernation][1] and it meets the [hibernation
|
36423
|
-
# prerequisites][2]. For more information, see [Hibernate
|
36424
|
-
#
|
37035
|
+
# prerequisites][2]. For more information, see [Hibernate your
|
37036
|
+
# instance][3] in the *Amazon Elastic Compute Cloud User Guide*.
|
36425
37037
|
#
|
36426
37038
|
# We don't charge usage for a stopped instance, or data transfer fees;
|
36427
37039
|
# however, your root partition Amazon EBS volume remains and continues
|
@@ -36437,7 +37049,7 @@ module Aws::EC2
|
|
36437
37049
|
# You can't stop or hibernate instance store-backed instances. You
|
36438
37050
|
# can't use the Stop action to hibernate Spot Instances, but you can
|
36439
37051
|
# specify that Amazon EC2 should hibernate Spot Instances when they are
|
36440
|
-
# interrupted. For more information, see [Hibernating
|
37052
|
+
# interrupted. For more information, see [Hibernating interrupted Spot
|
36441
37053
|
# Instances][4] in the *Amazon Elastic Compute Cloud User Guide*.
|
36442
37054
|
#
|
36443
37055
|
# When you stop or hibernate an instance, we shut it down. You can
|
@@ -36454,13 +37066,13 @@ module Aws::EC2
|
|
36454
37066
|
# devices attached during the instance launch are automatically deleted.
|
36455
37067
|
# For more information about the differences between rebooting,
|
36456
37068
|
# stopping, hibernating, and terminating instances, see [Instance
|
36457
|
-
#
|
37069
|
+
# lifecycle][5] in the *Amazon Elastic Compute Cloud User Guide*.
|
36458
37070
|
#
|
36459
37071
|
# When you stop an instance, we attempt to shut it down forcibly after a
|
36460
37072
|
# short while. If your instance appears stuck in the stopping state
|
36461
37073
|
# after a period of time, there may be an issue with the underlying host
|
36462
|
-
# computer. For more information, see [Troubleshooting
|
36463
|
-
#
|
37074
|
+
# computer. For more information, see [Troubleshooting stopping your
|
37075
|
+
# instance][6] in the *Amazon Elastic Compute Cloud User Guide*.
|
36464
37076
|
#
|
36465
37077
|
#
|
36466
37078
|
#
|
@@ -36477,8 +37089,8 @@ module Aws::EC2
|
|
36477
37089
|
# @option params [Boolean] :hibernate
|
36478
37090
|
# Hibernates the instance if the instance was enabled for hibernation at
|
36479
37091
|
# launch. If the instance cannot hibernate successfully, a normal
|
36480
|
-
# shutdown occurs. For more information, see [Hibernate
|
36481
|
-
#
|
37092
|
+
# shutdown occurs. For more information, see [Hibernate your
|
37093
|
+
# instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
36482
37094
|
#
|
36483
37095
|
# Default: `false`
|
36484
37096
|
#
|
@@ -36637,11 +37249,11 @@ module Aws::EC2
|
|
36637
37249
|
# volumes with the `DeleteOnTermination` block device mapping parameter
|
36638
37250
|
# set to `true` are automatically deleted. For more information about
|
36639
37251
|
# the differences between stopping and terminating instances, see
|
36640
|
-
# [Instance
|
37252
|
+
# [Instance lifecycle][1] in the *Amazon Elastic Compute Cloud User
|
36641
37253
|
# Guide*.
|
36642
37254
|
#
|
36643
37255
|
# For more information about troubleshooting, see [Troubleshooting
|
36644
|
-
#
|
37256
|
+
# terminating your instance][2] in the *Amazon Elastic Compute Cloud
|
36645
37257
|
# User Guide*.
|
36646
37258
|
#
|
36647
37259
|
#
|
@@ -36795,7 +37407,7 @@ module Aws::EC2
|
|
36795
37407
|
end
|
36796
37408
|
|
36797
37409
|
# Disables detailed monitoring for a running instance. For more
|
36798
|
-
# information, see [Monitoring
|
37410
|
+
# information, see [Monitoring your instances and volumes][1] in the
|
36799
37411
|
# *Amazon Elastic Compute Cloud User Guide*.
|
36800
37412
|
#
|
36801
37413
|
#
|
@@ -37123,7 +37735,7 @@ module Aws::EC2
|
|
37123
37735
|
params: params,
|
37124
37736
|
config: config)
|
37125
37737
|
context[:gem_name] = 'aws-sdk-ec2'
|
37126
|
-
context[:gem_version] = '1.
|
37738
|
+
context[:gem_version] = '1.175.0'
|
37127
37739
|
Seahorse::Client::Request.new(handlers, context)
|
37128
37740
|
end
|
37129
37741
|
|