aws-sdk-ec2 1.168.0 → 1.173.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 +830 -149
- data/lib/aws-sdk-ec2/client_api.rb +233 -2
- data/lib/aws-sdk-ec2/instance.rb +7 -7
- data/lib/aws-sdk-ec2/network_acl.rb +3 -1
- data/lib/aws-sdk-ec2/resource.rb +117 -25
- data/lib/aws-sdk-ec2/route.rb +6 -0
- data/lib/aws-sdk-ec2/route_table.rb +6 -1
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +21 -11
- data/lib/aws-sdk-ec2/types.rb +2237 -144
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- 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: 74b8950b066d1ef0de87b333ef51abbfe1f125c8f7a6e7cab6ac941b4f03d344
|
4
|
+
data.tar.gz: 137cb4c3bde3e1443050052a4bb4f58ac8dd7c7c2afbc467ef9cf9ee60777500
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bb44458e04d13777f80fc5e453578fc91e7fe43d86b758e2a2fee1f8fdc0a41fe1e78dcec31ecef31836f60a80801e498cd0b85e0d5898ac69ec0ab24e8b146
|
7
|
+
data.tar.gz: 901cbd9451c4e4ac5dc4319bbdad337f40a42c7e977be367f93414b333eba98c7e82e0f866f750d11b372867096e4c13da9538b93b8307c5d83c7e721bbd1f28
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -863,7 +863,7 @@ module Aws::EC2
|
|
863
863
|
# quantity: 1, # required
|
864
864
|
# tag_specifications: [
|
865
865
|
# {
|
866
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
866
|
+
# 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
|
867
867
|
# tags: [
|
868
868
|
# {
|
869
869
|
# key: "String",
|
@@ -3458,7 +3458,7 @@ module Aws::EC2
|
|
3458
3458
|
# source_snapshot_id: "String", # required
|
3459
3459
|
# tag_specifications: [
|
3460
3460
|
# {
|
3461
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
3461
|
+
# 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
|
3462
3462
|
# tags: [
|
3463
3463
|
# {
|
3464
3464
|
# key: "String",
|
@@ -3646,7 +3646,7 @@ module Aws::EC2
|
|
3646
3646
|
# instance_match_criteria: "open", # accepts open, targeted
|
3647
3647
|
# tag_specifications: [
|
3648
3648
|
# {
|
3649
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
3649
|
+
# 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
|
3650
3650
|
# tags: [
|
3651
3651
|
# {
|
3652
3652
|
# key: "String",
|
@@ -3836,7 +3836,7 @@ module Aws::EC2
|
|
3836
3836
|
# client_token: "String",
|
3837
3837
|
# tag_specifications: [
|
3838
3838
|
# {
|
3839
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
3839
|
+
# 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
|
3840
3840
|
# tags: [
|
3841
3841
|
# {
|
3842
3842
|
# key: "String",
|
@@ -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
|
@@ -4549,7 +4577,7 @@ module Aws::EC2
|
|
4549
4577
|
# replace_unhealthy_instances: false,
|
4550
4578
|
# tag_specifications: [
|
4551
4579
|
# {
|
4552
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
4580
|
+
# 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
|
4553
4581
|
# tags: [
|
4554
4582
|
# {
|
4555
4583
|
# key: "String",
|
@@ -4755,7 +4783,7 @@ module Aws::EC2
|
|
4755
4783
|
# log_format: "String",
|
4756
4784
|
# tag_specifications: [
|
4757
4785
|
# {
|
4758
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
4786
|
+
# 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
|
4759
4787
|
# tags: [
|
4760
4788
|
# {
|
4761
4789
|
# key: "String",
|
@@ -4854,7 +4882,7 @@ module Aws::EC2
|
|
4854
4882
|
# client_token: "String",
|
4855
4883
|
# tag_specifications: [
|
4856
4884
|
# {
|
4857
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
4885
|
+
# 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
|
4858
4886
|
# tags: [
|
4859
4887
|
# {
|
4860
4888
|
# key: "String",
|
@@ -4972,7 +5000,7 @@ module Aws::EC2
|
|
4972
5000
|
# iops: 1,
|
4973
5001
|
# snapshot_id: "String",
|
4974
5002
|
# volume_size: 1,
|
4975
|
-
# volume_type: "standard", # accepts standard, io1,
|
5003
|
+
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
4976
5004
|
# kms_key_id: "String",
|
4977
5005
|
# encrypted: false,
|
4978
5006
|
# },
|
@@ -4999,7 +5027,7 @@ module Aws::EC2
|
|
4999
5027
|
req.send_request(options)
|
5000
5028
|
end
|
5001
5029
|
|
5002
|
-
# Exports a running or stopped instance to an S3 bucket.
|
5030
|
+
# Exports a running or stopped instance to an Amazon S3 bucket.
|
5003
5031
|
#
|
5004
5032
|
# For information about the supported operating systems, image formats,
|
5005
5033
|
# and known limitations for the types of instances you can export, see
|
@@ -5012,7 +5040,7 @@ module Aws::EC2
|
|
5012
5040
|
#
|
5013
5041
|
# @option params [String] :description
|
5014
5042
|
# A description for the conversion task or the resource being exported.
|
5015
|
-
# The maximum length is 255
|
5043
|
+
# The maximum length is 255 characters.
|
5016
5044
|
#
|
5017
5045
|
# @option params [Types::ExportToS3TaskSpecification] :export_to_s3_task
|
5018
5046
|
# The format and location for an instance export task.
|
@@ -5023,6 +5051,9 @@ module Aws::EC2
|
|
5023
5051
|
# @option params [String] :target_environment
|
5024
5052
|
# The target virtualization environment.
|
5025
5053
|
#
|
5054
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
5055
|
+
# The tags to apply to the instance export task during creation.
|
5056
|
+
#
|
5026
5057
|
# @return [Types::CreateInstanceExportTaskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5027
5058
|
#
|
5028
5059
|
# * {Types::CreateInstanceExportTaskResult#export_task #export_task} => Types::ExportTask
|
@@ -5039,6 +5070,17 @@ module Aws::EC2
|
|
5039
5070
|
# },
|
5040
5071
|
# instance_id: "InstanceId", # required
|
5041
5072
|
# target_environment: "citrix", # accepts citrix, vmware, microsoft
|
5073
|
+
# tag_specifications: [
|
5074
|
+
# {
|
5075
|
+
# 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
|
5076
|
+
# tags: [
|
5077
|
+
# {
|
5078
|
+
# key: "String",
|
5079
|
+
# value: "String",
|
5080
|
+
# },
|
5081
|
+
# ],
|
5082
|
+
# },
|
5083
|
+
# ],
|
5042
5084
|
# })
|
5043
5085
|
#
|
5044
5086
|
# @example Response structure
|
@@ -5076,6 +5118,9 @@ module Aws::EC2
|
|
5076
5118
|
#
|
5077
5119
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
5078
5120
|
#
|
5121
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
5122
|
+
# The tags to assign to the internet gateway.
|
5123
|
+
#
|
5079
5124
|
# @option params [Boolean] :dry_run
|
5080
5125
|
# Checks whether you have the required permissions for the action,
|
5081
5126
|
# without actually making the request, and provides an error response.
|
@@ -5108,6 +5153,17 @@ module Aws::EC2
|
|
5108
5153
|
# @example Request syntax with placeholder values
|
5109
5154
|
#
|
5110
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
|
+
# ],
|
5111
5167
|
# dry_run: false,
|
5112
5168
|
# })
|
5113
5169
|
#
|
@@ -5188,7 +5244,7 @@ module Aws::EC2
|
|
5188
5244
|
# dry_run: false,
|
5189
5245
|
# tag_specifications: [
|
5190
5246
|
# {
|
5191
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
5247
|
+
# 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
|
5192
5248
|
# tags: [
|
5193
5249
|
# {
|
5194
5250
|
# key: "String",
|
@@ -5334,7 +5390,7 @@ module Aws::EC2
|
|
5334
5390
|
# kms_key_id: "KmsKeyId",
|
5335
5391
|
# snapshot_id: "SnapshotId",
|
5336
5392
|
# volume_size: 1,
|
5337
|
-
# volume_type: "standard", # accepts standard, io1,
|
5393
|
+
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
5338
5394
|
# },
|
5339
5395
|
# no_device: "String",
|
5340
5396
|
# },
|
@@ -5387,7 +5443,7 @@ module Aws::EC2
|
|
5387
5443
|
# user_data: "String",
|
5388
5444
|
# tag_specifications: [
|
5389
5445
|
# {
|
5390
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
5446
|
+
# 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
|
5391
5447
|
# tags: [
|
5392
5448
|
# {
|
5393
5449
|
# key: "String",
|
@@ -5448,7 +5504,7 @@ module Aws::EC2
|
|
5448
5504
|
# },
|
5449
5505
|
# tag_specifications: [
|
5450
5506
|
# {
|
5451
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
5507
|
+
# 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
|
5452
5508
|
# tags: [
|
5453
5509
|
# {
|
5454
5510
|
# key: "String",
|
@@ -5613,7 +5669,7 @@ module Aws::EC2
|
|
5613
5669
|
# kms_key_id: "KmsKeyId",
|
5614
5670
|
# snapshot_id: "SnapshotId",
|
5615
5671
|
# volume_size: 1,
|
5616
|
-
# volume_type: "standard", # accepts standard, io1,
|
5672
|
+
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
5617
5673
|
# },
|
5618
5674
|
# no_device: "String",
|
5619
5675
|
# },
|
@@ -5666,7 +5722,7 @@ module Aws::EC2
|
|
5666
5722
|
# user_data: "String",
|
5667
5723
|
# tag_specifications: [
|
5668
5724
|
# {
|
5669
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
5725
|
+
# 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
|
5670
5726
|
# tags: [
|
5671
5727
|
# {
|
5672
5728
|
# key: "String",
|
@@ -5749,7 +5805,7 @@ module Aws::EC2
|
|
5749
5805
|
# resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.kms_key_id #=> String
|
5750
5806
|
# resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.snapshot_id #=> String
|
5751
5807
|
# resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.volume_size #=> Integer
|
5752
|
-
# resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "
|
5808
|
+
# resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
5753
5809
|
# resp.launch_template_version.launch_template_data.block_device_mappings[0].no_device #=> String
|
5754
5810
|
# resp.launch_template_version.launch_template_data.network_interfaces #=> Array
|
5755
5811
|
# resp.launch_template_version.launch_template_data.network_interfaces[0].associate_public_ip_address #=> Boolean
|
@@ -5786,7 +5842,7 @@ module Aws::EC2
|
|
5786
5842
|
# resp.launch_template_version.launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
|
5787
5843
|
# resp.launch_template_version.launch_template_data.user_data #=> String
|
5788
5844
|
# resp.launch_template_version.launch_template_data.tag_specifications #=> Array
|
5789
|
-
# resp.launch_template_version.launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "elastic-ip", "elastic-gpu", "fleet", "fpga-image", "host-reservation", "image", "instance", "internet-gateway", "key-pair", "launch-template", "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"
|
5845
|
+
# resp.launch_template_version.launch_template_data.tag_specifications[0].resource_type #=> String, one of "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"
|
5790
5846
|
# resp.launch_template_version.launch_template_data.tag_specifications[0].tags #=> Array
|
5791
5847
|
# resp.launch_template_version.launch_template_data.tag_specifications[0].tags[0].key #=> String
|
5792
5848
|
# resp.launch_template_version.launch_template_data.tag_specifications[0].tags[0].value #=> String
|
@@ -5907,7 +5963,7 @@ module Aws::EC2
|
|
5907
5963
|
# vpc_id: "VpcId", # required
|
5908
5964
|
# tag_specifications: [
|
5909
5965
|
# {
|
5910
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
5966
|
+
# 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
|
5911
5967
|
# tags: [
|
5912
5968
|
# {
|
5913
5969
|
# key: "String",
|
@@ -5939,6 +5995,108 @@ module Aws::EC2
|
|
5939
5995
|
req.send_request(options)
|
5940
5996
|
end
|
5941
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
|
+
|
5942
6100
|
# Creates a NAT gateway in the specified public subnet. This action
|
5943
6101
|
# creates a network interface in the specified subnet with a private IP
|
5944
6102
|
# address from the IP address range of the subnet. Internet-bound
|
@@ -6023,7 +6181,7 @@ module Aws::EC2
|
|
6023
6181
|
# subnet_id: "SubnetId", # required
|
6024
6182
|
# tag_specifications: [
|
6025
6183
|
# {
|
6026
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
6184
|
+
# 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
|
6027
6185
|
# tags: [
|
6028
6186
|
# {
|
6029
6187
|
# key: "String",
|
@@ -6088,6 +6246,9 @@ module Aws::EC2
|
|
6088
6246
|
# @option params [required, String] :vpc_id
|
6089
6247
|
# The ID of the VPC.
|
6090
6248
|
#
|
6249
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
6250
|
+
# The tags to assign to the network ACL.
|
6251
|
+
#
|
6091
6252
|
# @return [Types::CreateNetworkAclResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6092
6253
|
#
|
6093
6254
|
# * {Types::CreateNetworkAclResult#network_acl #network_acl} => Types::NetworkAcl
|
@@ -6135,6 +6296,17 @@ module Aws::EC2
|
|
6135
6296
|
# resp = client.create_network_acl({
|
6136
6297
|
# dry_run: false,
|
6137
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
|
+
# ],
|
6138
6310
|
# })
|
6139
6311
|
#
|
6140
6312
|
# @example Response structure
|
@@ -6196,7 +6368,9 @@ module Aws::EC2
|
|
6196
6368
|
#
|
6197
6369
|
# @option params [String] :cidr_block
|
6198
6370
|
# The IPv4 network range to allow or deny, in CIDR notation (for example
|
6199
|
-
# `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`.
|
6200
6374
|
#
|
6201
6375
|
# @option params [Boolean] :dry_run
|
6202
6376
|
# Checks whether you have the required permissions for the action,
|
@@ -6366,6 +6540,9 @@ module Aws::EC2
|
|
6366
6540
|
# @option params [required, String] :subnet_id
|
6367
6541
|
# The ID of the subnet to associate with the network interface.
|
6368
6542
|
#
|
6543
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
6544
|
+
# The tags to apply to the new network interface.
|
6545
|
+
#
|
6369
6546
|
# @return [Types::CreateNetworkInterfaceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6370
6547
|
#
|
6371
6548
|
# * {Types::CreateNetworkInterfaceResult#network_interface #network_interface} => Types::NetworkInterface
|
@@ -6437,6 +6614,17 @@ module Aws::EC2
|
|
6437
6614
|
# secondary_private_ip_address_count: 1,
|
6438
6615
|
# interface_type: "efa", # accepts efa
|
6439
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
|
+
# ],
|
6440
6628
|
# })
|
6441
6629
|
#
|
6442
6630
|
# @example Response structure
|
@@ -6563,7 +6751,7 @@ module Aws::EC2
|
|
6563
6751
|
# instances in different partitions, where instances in one partition do
|
6564
6752
|
# not share the same hardware with instances in another partition.
|
6565
6753
|
#
|
6566
|
-
# For more information, see [Placement
|
6754
|
+
# For more information, see [Placement groups][1] in the *Amazon Elastic
|
6567
6755
|
# Compute Cloud User Guide*.
|
6568
6756
|
#
|
6569
6757
|
#
|
@@ -6619,7 +6807,7 @@ module Aws::EC2
|
|
6619
6807
|
# partition_count: 1,
|
6620
6808
|
# tag_specifications: [
|
6621
6809
|
# {
|
6622
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
6810
|
+
# 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
|
6623
6811
|
# tags: [
|
6624
6812
|
# {
|
6625
6813
|
# key: "String",
|
@@ -6785,12 +6973,17 @@ module Aws::EC2
|
|
6785
6973
|
#
|
6786
6974
|
# @option params [String] :destination_cidr_block
|
6787
6975
|
# The IPv4 CIDR address block used for the destination match. Routing
|
6788
|
-
# 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`.
|
6789
6979
|
#
|
6790
6980
|
# @option params [String] :destination_ipv_6_cidr_block
|
6791
6981
|
# The IPv6 CIDR block used for the destination match. Routing decisions
|
6792
6982
|
# are based on the most specific match.
|
6793
6983
|
#
|
6984
|
+
# @option params [String] :destination_prefix_list_id
|
6985
|
+
# The ID of a prefix list used for the destination match.
|
6986
|
+
#
|
6794
6987
|
# @option params [Boolean] :dry_run
|
6795
6988
|
# Checks whether you have the required permissions for the action,
|
6796
6989
|
# without actually making the request, and provides an error response.
|
@@ -6848,6 +7041,7 @@ module Aws::EC2
|
|
6848
7041
|
# resp = client.create_route({
|
6849
7042
|
# destination_cidr_block: "String",
|
6850
7043
|
# destination_ipv_6_cidr_block: "String",
|
7044
|
+
# destination_prefix_list_id: "PrefixListResourceId",
|
6851
7045
|
# dry_run: false,
|
6852
7046
|
# egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
|
6853
7047
|
# gateway_id: "RouteGatewayId",
|
@@ -7033,6 +7227,9 @@ module Aws::EC2
|
|
7033
7227
|
# @option params [String] :vpc_id
|
7034
7228
|
# \[EC2-VPC\] The ID of the VPC. Required for EC2-VPC.
|
7035
7229
|
#
|
7230
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
7231
|
+
# The tags to assign to the security group.
|
7232
|
+
#
|
7036
7233
|
# @option params [Boolean] :dry_run
|
7037
7234
|
# Checks whether you have the required permissions for the action,
|
7038
7235
|
# without actually making the request, and provides an error response.
|
@@ -7042,6 +7239,7 @@ module Aws::EC2
|
|
7042
7239
|
# @return [Types::CreateSecurityGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7043
7240
|
#
|
7044
7241
|
# * {Types::CreateSecurityGroupResult#group_id #group_id} => String
|
7242
|
+
# * {Types::CreateSecurityGroupResult#tags #tags} => Array<Types::Tag>
|
7045
7243
|
#
|
7046
7244
|
#
|
7047
7245
|
# @example Example: To create a security group for a VPC
|
@@ -7065,12 +7263,26 @@ module Aws::EC2
|
|
7065
7263
|
# description: "String", # required
|
7066
7264
|
# group_name: "String", # required
|
7067
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
|
+
# ],
|
7068
7277
|
# dry_run: false,
|
7069
7278
|
# })
|
7070
7279
|
#
|
7071
7280
|
# @example Response structure
|
7072
7281
|
#
|
7073
7282
|
# resp.group_id #=> String
|
7283
|
+
# resp.tags #=> Array
|
7284
|
+
# resp.tags[0].key #=> String
|
7285
|
+
# resp.tags[0].value #=> String
|
7074
7286
|
#
|
7075
7287
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroup AWS API Documentation
|
7076
7288
|
#
|
@@ -7183,7 +7395,7 @@ module Aws::EC2
|
|
7183
7395
|
# volume_id: "VolumeId", # required
|
7184
7396
|
# tag_specifications: [
|
7185
7397
|
# {
|
7186
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
7398
|
+
# 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
|
7187
7399
|
# tags: [
|
7188
7400
|
# {
|
7189
7401
|
# key: "String",
|
@@ -7262,7 +7474,7 @@ module Aws::EC2
|
|
7262
7474
|
# },
|
7263
7475
|
# tag_specifications: [
|
7264
7476
|
# {
|
7265
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
7477
|
+
# 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
|
7266
7478
|
# tags: [
|
7267
7479
|
# {
|
7268
7480
|
# key: "String",
|
@@ -7371,16 +7583,13 @@ module Aws::EC2
|
|
7371
7583
|
req.send_request(options)
|
7372
7584
|
end
|
7373
7585
|
|
7374
|
-
# Creates a subnet in
|
7586
|
+
# Creates a subnet in a specified VPC.
|
7375
7587
|
#
|
7376
|
-
#
|
7377
|
-
#
|
7378
|
-
#
|
7379
|
-
#
|
7380
|
-
#
|
7381
|
-
# must not overlap. The smallest IPv4 subnet (and VPC) you can create
|
7382
|
-
# uses a /28 netmask (16 IPv4 addresses), and the largest uses a /16
|
7383
|
-
# 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.
|
7384
7593
|
#
|
7385
7594
|
# If you've associated an IPv6 CIDR block with your VPC, you can create
|
7386
7595
|
# a subnet with an IPv6 CIDR block that uses a /64 prefix length.
|
@@ -7391,12 +7600,10 @@ module Aws::EC2
|
|
7391
7600
|
# If you add more than one subnet to a VPC, they're set up in a star
|
7392
7601
|
# topology with a logical router in the middle.
|
7393
7602
|
#
|
7394
|
-
#
|
7395
|
-
#
|
7396
|
-
# (
|
7397
|
-
#
|
7398
|
-
# with no running instances (they're all stopped), but no remaining IP
|
7399
|
-
# 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.
|
7400
7607
|
#
|
7401
7608
|
# For more information about subnets, see [Your VPC and Subnets][1] in
|
7402
7609
|
# the *Amazon Virtual Private Cloud User Guide*.
|
@@ -7405,6 +7612,9 @@ module Aws::EC2
|
|
7405
7612
|
#
|
7406
7613
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
|
7407
7614
|
#
|
7615
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
7616
|
+
# The tags to assign to the subnet.
|
7617
|
+
#
|
7408
7618
|
# @option params [String] :availability_zone
|
7409
7619
|
# The Availability Zone or Local Zone for the subnet.
|
7410
7620
|
#
|
@@ -7429,7 +7639,9 @@ module Aws::EC2
|
|
7429
7639
|
#
|
7430
7640
|
# @option params [required, String] :cidr_block
|
7431
7641
|
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
7432
|
-
# `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`.
|
7433
7645
|
#
|
7434
7646
|
# @option params [String] :ipv_6_cidr_block
|
7435
7647
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
@@ -7479,6 +7691,17 @@ module Aws::EC2
|
|
7479
7691
|
# @example Request syntax with placeholder values
|
7480
7692
|
#
|
7481
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
|
+
# ],
|
7482
7705
|
# availability_zone: "String",
|
7483
7706
|
# availability_zone_id: "String",
|
7484
7707
|
# cidr_block: "String", # required
|
@@ -7650,7 +7873,7 @@ module Aws::EC2
|
|
7650
7873
|
# description: "String",
|
7651
7874
|
# tag_specifications: [
|
7652
7875
|
# {
|
7653
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
7876
|
+
# 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
|
7654
7877
|
# tags: [
|
7655
7878
|
# {
|
7656
7879
|
# key: "String",
|
@@ -7924,7 +8147,7 @@ module Aws::EC2
|
|
7924
8147
|
# description: "String",
|
7925
8148
|
# tag_specifications: [
|
7926
8149
|
# {
|
7927
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
8150
|
+
# 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
|
7928
8151
|
# tags: [
|
7929
8152
|
# {
|
7930
8153
|
# key: "String",
|
@@ -8023,7 +8246,7 @@ module Aws::EC2
|
|
8023
8246
|
# description: "String",
|
8024
8247
|
# tag_specifications: [
|
8025
8248
|
# {
|
8026
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
8249
|
+
# 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
|
8027
8250
|
# tags: [
|
8028
8251
|
# {
|
8029
8252
|
# key: "String",
|
@@ -8116,7 +8339,7 @@ module Aws::EC2
|
|
8116
8339
|
# },
|
8117
8340
|
# tag_specifications: [
|
8118
8341
|
# {
|
8119
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
8342
|
+
# 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
|
8120
8343
|
# tags: [
|
8121
8344
|
# {
|
8122
8345
|
# key: "String",
|
@@ -8190,7 +8413,7 @@ module Aws::EC2
|
|
8190
8413
|
# transit_gateway_id: "TransitGatewayId", # required
|
8191
8414
|
# tag_specifications: [
|
8192
8415
|
# {
|
8193
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
8416
|
+
# 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
|
8194
8417
|
# tags: [
|
8195
8418
|
# {
|
8196
8419
|
# key: "String",
|
@@ -8264,7 +8487,7 @@ module Aws::EC2
|
|
8264
8487
|
# peer_region: "String", # required
|
8265
8488
|
# tag_specifications: [
|
8266
8489
|
# {
|
8267
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
8490
|
+
# 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
|
8268
8491
|
# tags: [
|
8269
8492
|
# {
|
8270
8493
|
# key: "String",
|
@@ -8380,7 +8603,7 @@ module Aws::EC2
|
|
8380
8603
|
# transit_gateway_id: "TransitGatewayId", # required
|
8381
8604
|
# tag_specifications: [
|
8382
8605
|
# {
|
8383
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
8606
|
+
# 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
|
8384
8607
|
# tags: [
|
8385
8608
|
# {
|
8386
8609
|
# key: "String",
|
@@ -8462,7 +8685,7 @@ module Aws::EC2
|
|
8462
8685
|
# },
|
8463
8686
|
# tag_specifications: [
|
8464
8687
|
# {
|
8465
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
8688
|
+
# 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
|
8466
8689
|
# tags: [
|
8467
8690
|
# {
|
8468
8691
|
# key: "String",
|
@@ -8712,11 +8935,11 @@ module Aws::EC2
|
|
8712
8935
|
# outpost_arn: "String",
|
8713
8936
|
# size: 1,
|
8714
8937
|
# snapshot_id: "SnapshotId",
|
8715
|
-
# volume_type: "standard", # accepts standard, io1,
|
8938
|
+
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
8716
8939
|
# dry_run: false,
|
8717
8940
|
# tag_specifications: [
|
8718
8941
|
# {
|
8719
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
8942
|
+
# 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
|
8720
8943
|
# tags: [
|
8721
8944
|
# {
|
8722
8945
|
# key: "String",
|
@@ -8750,7 +8973,7 @@ module Aws::EC2
|
|
8750
8973
|
# resp.tags #=> Array
|
8751
8974
|
# resp.tags[0].key #=> String
|
8752
8975
|
# resp.tags[0].value #=> String
|
8753
|
-
# resp.volume_type #=> String, one of "standard", "io1", "
|
8976
|
+
# resp.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
8754
8977
|
# resp.fast_restored #=> Boolean
|
8755
8978
|
# resp.multi_attach_enabled #=> Boolean
|
8756
8979
|
#
|
@@ -8793,7 +9016,9 @@ module Aws::EC2
|
|
8793
9016
|
#
|
8794
9017
|
# @option params [required, String] :cidr_block
|
8795
9018
|
# The IPv4 network range for the VPC, in CIDR notation. For example,
|
8796
|
-
# `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`.
|
8797
9022
|
#
|
8798
9023
|
# @option params [Boolean] :amazon_provided_ipv_6_cidr_block
|
8799
9024
|
# Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length
|
@@ -8836,6 +9061,9 @@ module Aws::EC2
|
|
8836
9061
|
# You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
|
8837
9062
|
# parameter.
|
8838
9063
|
#
|
9064
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
9065
|
+
# The tags to assign to the VPC.
|
9066
|
+
#
|
8839
9067
|
# @return [Types::CreateVpcResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8840
9068
|
#
|
8841
9069
|
# * {Types::CreateVpcResult#vpc #vpc} => Types::Vpc
|
@@ -8870,6 +9098,17 @@ module Aws::EC2
|
|
8870
9098
|
# dry_run: false,
|
8871
9099
|
# instance_tenancy: "default", # accepts default, dedicated, host
|
8872
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
|
+
# ],
|
8873
9112
|
# })
|
8874
9113
|
#
|
8875
9114
|
# @example Response structure
|
@@ -9013,7 +9252,7 @@ module Aws::EC2
|
|
9013
9252
|
# private_dns_enabled: false,
|
9014
9253
|
# tag_specifications: [
|
9015
9254
|
# {
|
9016
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
9255
|
+
# 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
|
9017
9256
|
# tags: [
|
9018
9257
|
# {
|
9019
9258
|
# key: "String",
|
@@ -9206,7 +9445,7 @@ module Aws::EC2
|
|
9206
9445
|
# client_token: "String",
|
9207
9446
|
# tag_specifications: [
|
9208
9447
|
# {
|
9209
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
9448
|
+
# 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
|
9210
9449
|
# tags: [
|
9211
9450
|
# {
|
9212
9451
|
# key: "String",
|
@@ -10288,6 +10527,53 @@ module Aws::EC2
|
|
10288
10527
|
req.send_request(options)
|
10289
10528
|
end
|
10290
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
|
+
|
10291
10577
|
# Deletes the specified NAT gateway. Deleting a NAT gateway
|
10292
10578
|
# disassociates its Elastic IP address, but does not release the address
|
10293
10579
|
# from your account. Deleting a NAT gateway does not delete any NAT
|
@@ -10513,7 +10799,7 @@ module Aws::EC2
|
|
10513
10799
|
|
10514
10800
|
# Deletes the specified placement group. You must terminate all
|
10515
10801
|
# instances in the placement group before you can delete the placement
|
10516
|
-
# group. For more information, see [Placement
|
10802
|
+
# group. For more information, see [Placement groups][1] in the *Amazon
|
10517
10803
|
# Elastic Compute Cloud User Guide*.
|
10518
10804
|
#
|
10519
10805
|
#
|
@@ -10611,6 +10897,9 @@ module Aws::EC2
|
|
10611
10897
|
# The IPv6 CIDR range for the route. The value you specify must match
|
10612
10898
|
# the CIDR for the route exactly.
|
10613
10899
|
#
|
10900
|
+
# @option params [String] :destination_prefix_list_id
|
10901
|
+
# The ID of the prefix list for the route.
|
10902
|
+
#
|
10614
10903
|
# @option params [Boolean] :dry_run
|
10615
10904
|
# Checks whether you have the required permissions for the action,
|
10616
10905
|
# without actually making the request, and provides an error response.
|
@@ -10637,6 +10926,7 @@ module Aws::EC2
|
|
10637
10926
|
# resp = client.delete_route({
|
10638
10927
|
# destination_cidr_block: "String",
|
10639
10928
|
# destination_ipv_6_cidr_block: "String",
|
10929
|
+
# destination_prefix_list_id: "PrefixListResourceId",
|
10640
10930
|
# dry_run: false,
|
10641
10931
|
# route_table_id: "RouteTableId", # required
|
10642
10932
|
# })
|
@@ -13857,7 +14147,7 @@ module Aws::EC2
|
|
13857
14147
|
req.send_request(options)
|
13858
14148
|
end
|
13859
14149
|
|
13860
|
-
# Describes the specified export image tasks or all your export image
|
14150
|
+
# Describes the specified export image tasks or all of your export image
|
13861
14151
|
# tasks.
|
13862
14152
|
#
|
13863
14153
|
# @option params [Boolean] :dry_run
|
@@ -13912,6 +14202,9 @@ module Aws::EC2
|
|
13912
14202
|
# resp.export_image_tasks[0].s3_export_location.s3_prefix #=> String
|
13913
14203
|
# resp.export_image_tasks[0].status #=> String
|
13914
14204
|
# resp.export_image_tasks[0].status_message #=> String
|
14205
|
+
# resp.export_image_tasks[0].tags #=> Array
|
14206
|
+
# resp.export_image_tasks[0].tags[0].key #=> String
|
14207
|
+
# resp.export_image_tasks[0].tags[0].value #=> String
|
13915
14208
|
# resp.next_token #=> String
|
13916
14209
|
#
|
13917
14210
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportImageTasks AWS API Documentation
|
@@ -13923,7 +14216,7 @@ module Aws::EC2
|
|
13923
14216
|
req.send_request(options)
|
13924
14217
|
end
|
13925
14218
|
|
13926
|
-
# Describes the specified export instance tasks or all your export
|
14219
|
+
# Describes the specified export instance tasks or all of your export
|
13927
14220
|
# instance tasks.
|
13928
14221
|
#
|
13929
14222
|
# @option params [Array<String>] :export_task_ids
|
@@ -15204,7 +15497,7 @@ module Aws::EC2
|
|
15204
15497
|
# resp.block_device_mappings[0].ebs.iops #=> Integer
|
15205
15498
|
# resp.block_device_mappings[0].ebs.snapshot_id #=> String
|
15206
15499
|
# resp.block_device_mappings[0].ebs.volume_size #=> Integer
|
15207
|
-
# resp.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "
|
15500
|
+
# resp.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
15208
15501
|
# resp.block_device_mappings[0].ebs.kms_key_id #=> String
|
15209
15502
|
# resp.block_device_mappings[0].ebs.encrypted #=> Boolean
|
15210
15503
|
# resp.block_device_mappings[0].no_device #=> String
|
@@ -15444,7 +15737,7 @@ module Aws::EC2
|
|
15444
15737
|
# resp.images[0].block_device_mappings[0].ebs.iops #=> Integer
|
15445
15738
|
# resp.images[0].block_device_mappings[0].ebs.snapshot_id #=> String
|
15446
15739
|
# resp.images[0].block_device_mappings[0].ebs.volume_size #=> Integer
|
15447
|
-
# resp.images[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "
|
15740
|
+
# resp.images[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
15448
15741
|
# resp.images[0].block_device_mappings[0].ebs.kms_key_id #=> String
|
15449
15742
|
# resp.images[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
15450
15743
|
# resp.images[0].block_device_mappings[0].no_device #=> String
|
@@ -15816,7 +16109,7 @@ module Aws::EC2
|
|
15816
16109
|
# instance IDs at all, the call fails. If you specify only instance IDs
|
15817
16110
|
# in an unaffected zone, the call works normally.
|
15818
16111
|
#
|
15819
|
-
# For more information, see [Burstable
|
16112
|
+
# For more information, see [Burstable performance instances][1] in the
|
15820
16113
|
# *Amazon Elastic Compute Cloud User Guide*.
|
15821
16114
|
#
|
15822
16115
|
#
|
@@ -15932,19 +16225,19 @@ module Aws::EC2
|
|
15932
16225
|
#
|
15933
16226
|
# * **Status checks** - Amazon EC2 performs status checks on running EC2
|
15934
16227
|
# instances to identify hardware and software issues. For more
|
15935
|
-
# information, see [Status
|
15936
|
-
# [Troubleshooting
|
16228
|
+
# information, see [Status checks for your instances][1] and
|
16229
|
+
# [Troubleshooting instances with failed status checks][2] in the
|
15937
16230
|
# *Amazon Elastic Compute Cloud User Guide*.
|
15938
16231
|
#
|
15939
16232
|
# * **Scheduled events** - Amazon EC2 can schedule events (such as
|
15940
16233
|
# reboot, stop, or terminate) for your instances related to hardware
|
15941
16234
|
# issues, software updates, or system maintenance. For more
|
15942
|
-
# information, see [Scheduled
|
16235
|
+
# information, see [Scheduled events for your instances][3] in the
|
15943
16236
|
# *Amazon Elastic Compute Cloud User Guide*.
|
15944
16237
|
#
|
15945
16238
|
# * **Instance state** - You can manage your instances from the moment
|
15946
16239
|
# you launch them through their termination. For more information, see
|
15947
|
-
# [Instance
|
16240
|
+
# [Instance lifecycle][4] in the *Amazon Elastic Compute Cloud User
|
15948
16241
|
# Guide*.
|
15949
16242
|
#
|
15950
16243
|
#
|
@@ -17458,7 +17751,7 @@ module Aws::EC2
|
|
17458
17751
|
# resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.kms_key_id #=> String
|
17459
17752
|
# resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.snapshot_id #=> String
|
17460
17753
|
# resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.volume_size #=> Integer
|
17461
|
-
# resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "
|
17754
|
+
# resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
17462
17755
|
# resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].no_device #=> String
|
17463
17756
|
# resp.launch_template_versions[0].launch_template_data.network_interfaces #=> Array
|
17464
17757
|
# resp.launch_template_versions[0].launch_template_data.network_interfaces[0].associate_public_ip_address #=> Boolean
|
@@ -17495,7 +17788,7 @@ module Aws::EC2
|
|
17495
17788
|
# resp.launch_template_versions[0].launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
|
17496
17789
|
# resp.launch_template_versions[0].launch_template_data.user_data #=> String
|
17497
17790
|
# resp.launch_template_versions[0].launch_template_data.tag_specifications #=> Array
|
17498
|
-
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "elastic-ip", "elastic-gpu", "fleet", "fpga-image", "host-reservation", "image", "instance", "internet-gateway", "key-pair", "launch-template", "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"
|
17791
|
+
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].resource_type #=> String, one of "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"
|
17499
17792
|
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags #=> Array
|
17500
17793
|
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags[0].key #=> String
|
17501
17794
|
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags[0].value #=> String
|
@@ -18104,6 +18397,85 @@ module Aws::EC2
|
|
18104
18397
|
req.send_request(options)
|
18105
18398
|
end
|
18106
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
|
+
|
18107
18479
|
# Describes your Elastic IP addresses that are being moved to the
|
18108
18480
|
# EC2-VPC platform, or that are being restored to the EC2-Classic
|
18109
18481
|
# platform. This request does not return information about any other
|
@@ -18777,9 +19149,6 @@ module Aws::EC2
|
|
18777
19149
|
# * `attachment.instance-owner-id` - The owner ID of the instance to
|
18778
19150
|
# which the network interface is attached.
|
18779
19151
|
#
|
18780
|
-
# * `attachment.nat-gateway-id` - The ID of the NAT gateway to which the
|
18781
|
-
# network interface is attached.
|
18782
|
-
#
|
18783
19152
|
# * `attachment.status` - The status of the attachment (`attaching` \|
|
18784
19153
|
# `attached` \| `detaching` \| `detached`).
|
18785
19154
|
#
|
@@ -19013,7 +19382,7 @@ module Aws::EC2
|
|
19013
19382
|
end
|
19014
19383
|
|
19015
19384
|
# Describes the specified placement groups or all of your placement
|
19016
|
-
# groups. For more information, see [Placement
|
19385
|
+
# groups. For more information, see [Placement groups][1] in the *Amazon
|
19017
19386
|
# Elastic Compute Cloud User Guide*.
|
19018
19387
|
#
|
19019
19388
|
#
|
@@ -19097,11 +19466,9 @@ module Aws::EC2
|
|
19097
19466
|
|
19098
19467
|
# Describes available AWS services in a prefix list format, which
|
19099
19468
|
# includes the prefix list name and prefix list ID of the service and
|
19100
|
-
# the IP address range for the service.
|
19101
|
-
#
|
19102
|
-
#
|
19103
|
-
# Currently, the services that support this action are Amazon S3 and
|
19104
|
-
# Amazon DynamoDB.
|
19469
|
+
# the IP address range for the service.
|
19470
|
+
#
|
19471
|
+
# We recommend that you use DescribeManagedPrefixLists instead.
|
19105
19472
|
#
|
19106
19473
|
# @option params [Boolean] :dry_run
|
19107
19474
|
# Checks whether you have the required permissions for the action,
|
@@ -20610,8 +20977,8 @@ module Aws::EC2
|
|
20610
20977
|
# * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
|
20611
20978
|
# outbound security group rule.
|
20612
20979
|
#
|
20613
|
-
# * `egress.ip-permission.prefix-list-id` - The ID
|
20614
|
-
#
|
20980
|
+
# * `egress.ip-permission.prefix-list-id` - The ID of a prefix list to
|
20981
|
+
# which a security group rule allows outbound access.
|
20615
20982
|
#
|
20616
20983
|
# * `egress.ip-permission.protocol` - The IP protocol for an outbound
|
20617
20984
|
# security group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
|
@@ -20641,8 +21008,8 @@ module Aws::EC2
|
|
20641
21008
|
# * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
|
20642
21009
|
# security group rule.
|
20643
21010
|
#
|
20644
|
-
# * `ip-permission.prefix-list-id` - The ID
|
20645
|
-
#
|
21011
|
+
# * `ip-permission.prefix-list-id` - The ID of a prefix list from which
|
21012
|
+
# a security group rule allows inbound access.
|
20646
21013
|
#
|
20647
21014
|
# * `ip-permission.protocol` - The IP protocol for an inbound security
|
20648
21015
|
# group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
|
@@ -21532,7 +21899,7 @@ module Aws::EC2
|
|
21532
21899
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.iops #=> Integer
|
21533
21900
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.snapshot_id #=> String
|
21534
21901
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_size #=> Integer
|
21535
|
-
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "
|
21902
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
21536
21903
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.kms_key_id #=> String
|
21537
21904
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
21538
21905
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].no_device #=> String
|
@@ -21571,7 +21938,7 @@ module Aws::EC2
|
|
21571
21938
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].user_data #=> String
|
21572
21939
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].weighted_capacity #=> Float
|
21573
21940
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications #=> Array
|
21574
|
-
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "elastic-ip", "elastic-gpu", "fleet", "fpga-image", "host-reservation", "image", "instance", "internet-gateway", "key-pair", "launch-template", "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"
|
21941
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].resource_type #=> String, one of "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"
|
21575
21942
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags #=> Array
|
21576
21943
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags[0].key #=> String
|
21577
21944
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags[0].value #=> String
|
@@ -21603,7 +21970,7 @@ module Aws::EC2
|
|
21603
21970
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups[0].arn #=> String
|
21604
21971
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.instance_pools_to_use_count #=> Integer
|
21605
21972
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications #=> Array
|
21606
|
-
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "elastic-ip", "elastic-gpu", "fleet", "fpga-image", "host-reservation", "image", "instance", "internet-gateway", "key-pair", "launch-template", "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"
|
21973
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].resource_type #=> String, one of "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"
|
21607
21974
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags #=> Array
|
21608
21975
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].key #=> String
|
21609
21976
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].value #=> String
|
@@ -21885,7 +22252,7 @@ module Aws::EC2
|
|
21885
22252
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.iops #=> Integer
|
21886
22253
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.snapshot_id #=> String
|
21887
22254
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_size #=> Integer
|
21888
|
-
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "
|
22255
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
21889
22256
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
|
21890
22257
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
|
21891
22258
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
|
@@ -22472,7 +22839,7 @@ module Aws::EC2
|
|
22472
22839
|
# resp.tags #=> Array
|
22473
22840
|
# resp.tags[0].key #=> String
|
22474
22841
|
# resp.tags[0].resource_id #=> String
|
22475
|
-
# resp.tags[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "elastic-ip", "elastic-gpu", "fleet", "fpga-image", "host-reservation", "image", "instance", "internet-gateway", "key-pair", "launch-template", "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"
|
22842
|
+
# resp.tags[0].resource_type #=> String, one of "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"
|
22476
22843
|
# resp.tags[0].value #=> String
|
22477
22844
|
#
|
22478
22845
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTags AWS API Documentation
|
@@ -23819,7 +24186,7 @@ module Aws::EC2
|
|
23819
24186
|
# resp.volumes[0].tags #=> Array
|
23820
24187
|
# resp.volumes[0].tags[0].key #=> String
|
23821
24188
|
# resp.volumes[0].tags[0].value #=> String
|
23822
|
-
# resp.volumes[0].volume_type #=> String, one of "standard", "io1", "
|
24189
|
+
# resp.volumes[0].volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
23823
24190
|
# resp.volumes[0].fast_restored #=> Boolean
|
23824
24191
|
# resp.volumes[0].multi_attach_enabled #=> Boolean
|
23825
24192
|
# resp.next_token #=> String
|
@@ -23934,10 +24301,10 @@ module Aws::EC2
|
|
23934
24301
|
# resp.volumes_modifications[0].status_message #=> String
|
23935
24302
|
# resp.volumes_modifications[0].target_size #=> Integer
|
23936
24303
|
# resp.volumes_modifications[0].target_iops #=> Integer
|
23937
|
-
# resp.volumes_modifications[0].target_volume_type #=> String, one of "standard", "io1", "
|
24304
|
+
# resp.volumes_modifications[0].target_volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
23938
24305
|
# resp.volumes_modifications[0].original_size #=> Integer
|
23939
24306
|
# resp.volumes_modifications[0].original_iops #=> Integer
|
23940
|
-
# resp.volumes_modifications[0].original_volume_type #=> String, one of "standard", "io1", "
|
24307
|
+
# resp.volumes_modifications[0].original_volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
23941
24308
|
# resp.volumes_modifications[0].progress #=> Integer
|
23942
24309
|
# resp.volumes_modifications[0].start_time #=> Time
|
23943
24310
|
# resp.volumes_modifications[0].end_time #=> Time
|
@@ -26606,7 +26973,7 @@ module Aws::EC2
|
|
26606
26973
|
#
|
26607
26974
|
# @option params [String] :description
|
26608
26975
|
# A description of the image being exported. The maximum length is 255
|
26609
|
-
#
|
26976
|
+
# characters.
|
26610
26977
|
#
|
26611
26978
|
# @option params [required, String] :disk_image_format
|
26612
26979
|
# The disk image format.
|
@@ -26621,14 +26988,17 @@ module Aws::EC2
|
|
26621
26988
|
# The ID of the image.
|
26622
26989
|
#
|
26623
26990
|
# @option params [required, Types::ExportTaskS3LocationRequest] :s3_export_location
|
26624
|
-
# Information about the destination S3 bucket. The bucket must
|
26625
|
-
# grant WRITE and READ\_ACP permissions to the AWS account
|
26991
|
+
# Information about the destination Amazon S3 bucket. The bucket must
|
26992
|
+
# exist and grant WRITE and READ\_ACP permissions to the AWS account
|
26626
26993
|
# vm-import-export@amazon.com.
|
26627
26994
|
#
|
26628
26995
|
# @option params [String] :role_name
|
26629
26996
|
# The name of the role that grants VM Import/Export permission to export
|
26630
|
-
# images to your S3 bucket. If this parameter is not specified,
|
26631
|
-
# default role is named 'vmimport'.
|
26997
|
+
# images to your Amazon S3 bucket. If this parameter is not specified,
|
26998
|
+
# the default role is named 'vmimport'.
|
26999
|
+
#
|
27000
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
27001
|
+
# The tags to apply to the image being exported.
|
26632
27002
|
#
|
26633
27003
|
# @return [Types::ExportImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
26634
27004
|
#
|
@@ -26641,6 +27011,7 @@ module Aws::EC2
|
|
26641
27011
|
# * {Types::ExportImageResult#s3_export_location #s3_export_location} => Types::ExportTaskS3Location
|
26642
27012
|
# * {Types::ExportImageResult#status #status} => String
|
26643
27013
|
# * {Types::ExportImageResult#status_message #status_message} => String
|
27014
|
+
# * {Types::ExportImageResult#tags #tags} => Array<Types::Tag>
|
26644
27015
|
#
|
26645
27016
|
# @example Request syntax with placeholder values
|
26646
27017
|
#
|
@@ -26655,6 +27026,17 @@ module Aws::EC2
|
|
26655
27026
|
# s3_prefix: "String",
|
26656
27027
|
# },
|
26657
27028
|
# role_name: "String",
|
27029
|
+
# tag_specifications: [
|
27030
|
+
# {
|
27031
|
+
# 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
|
27032
|
+
# tags: [
|
27033
|
+
# {
|
27034
|
+
# key: "String",
|
27035
|
+
# value: "String",
|
27036
|
+
# },
|
27037
|
+
# ],
|
27038
|
+
# },
|
27039
|
+
# ],
|
26658
27040
|
# })
|
26659
27041
|
#
|
26660
27042
|
# @example Response structure
|
@@ -26669,6 +27051,9 @@ module Aws::EC2
|
|
26669
27051
|
# resp.s3_export_location.s3_prefix #=> String
|
26670
27052
|
# resp.status #=> String
|
26671
27053
|
# resp.status_message #=> String
|
27054
|
+
# resp.tags #=> Array
|
27055
|
+
# resp.tags[0].key #=> String
|
27056
|
+
# resp.tags[0].value #=> String
|
26672
27057
|
#
|
26673
27058
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportImage AWS API Documentation
|
26674
27059
|
#
|
@@ -27095,7 +27480,7 @@ module Aws::EC2
|
|
27095
27480
|
# Describes the default credit option for CPU usage of a burstable
|
27096
27481
|
# performance instance family.
|
27097
27482
|
#
|
27098
|
-
# For more information, see [Burstable
|
27483
|
+
# For more information, see [Burstable performance instances][1] in the
|
27099
27484
|
# *Amazon Elastic Compute Cloud User Guide*.
|
27100
27485
|
#
|
27101
27486
|
#
|
@@ -27369,7 +27754,7 @@ module Aws::EC2
|
|
27369
27754
|
# resp.launch_template_data.block_device_mappings[0].ebs.kms_key_id #=> String
|
27370
27755
|
# resp.launch_template_data.block_device_mappings[0].ebs.snapshot_id #=> String
|
27371
27756
|
# resp.launch_template_data.block_device_mappings[0].ebs.volume_size #=> Integer
|
27372
|
-
# resp.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "
|
27757
|
+
# resp.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
27373
27758
|
# resp.launch_template_data.block_device_mappings[0].no_device #=> String
|
27374
27759
|
# resp.launch_template_data.network_interfaces #=> Array
|
27375
27760
|
# resp.launch_template_data.network_interfaces[0].associate_public_ip_address #=> Boolean
|
@@ -27406,7 +27791,7 @@ module Aws::EC2
|
|
27406
27791
|
# resp.launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
|
27407
27792
|
# resp.launch_template_data.user_data #=> String
|
27408
27793
|
# resp.launch_template_data.tag_specifications #=> Array
|
27409
|
-
# resp.launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "elastic-ip", "elastic-gpu", "fleet", "fpga-image", "host-reservation", "image", "instance", "internet-gateway", "key-pair", "launch-template", "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"
|
27794
|
+
# resp.launch_template_data.tag_specifications[0].resource_type #=> String, one of "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"
|
27410
27795
|
# resp.launch_template_data.tag_specifications[0].tags #=> Array
|
27411
27796
|
# resp.launch_template_data.tag_specifications[0].tags[0].key #=> String
|
27412
27797
|
# resp.launch_template_data.tag_specifications[0].tags[0].value #=> String
|
@@ -27447,6 +27832,115 @@ module Aws::EC2
|
|
27447
27832
|
req.send_request(options)
|
27448
27833
|
end
|
27449
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
|
+
|
27450
27944
|
# Retrieves the encrypted administrator password for a running Windows
|
27451
27945
|
# instance.
|
27452
27946
|
#
|
@@ -28040,6 +28534,9 @@ module Aws::EC2
|
|
28040
28534
|
# @option params [Array<Types::ImportImageLicenseConfigurationRequest>] :license_specifications
|
28041
28535
|
# The ARNs of the license configurations.
|
28042
28536
|
#
|
28537
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
28538
|
+
# The tags to apply to the image being imported.
|
28539
|
+
#
|
28043
28540
|
# @return [Types::ImportImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
28044
28541
|
#
|
28045
28542
|
# * {Types::ImportImageResult#architecture #architecture} => String
|
@@ -28056,6 +28553,7 @@ module Aws::EC2
|
|
28056
28553
|
# * {Types::ImportImageResult#status #status} => String
|
28057
28554
|
# * {Types::ImportImageResult#status_message #status_message} => String
|
28058
28555
|
# * {Types::ImportImageResult#license_specifications #license_specifications} => Array<Types::ImportImageLicenseConfigurationResponse>
|
28556
|
+
# * {Types::ImportImageResult#tags #tags} => Array<Types::Tag>
|
28059
28557
|
#
|
28060
28558
|
# @example Request syntax with placeholder values
|
28061
28559
|
#
|
@@ -28094,6 +28592,17 @@ module Aws::EC2
|
|
28094
28592
|
# license_configuration_arn: "String",
|
28095
28593
|
# },
|
28096
28594
|
# ],
|
28595
|
+
# tag_specifications: [
|
28596
|
+
# {
|
28597
|
+
# 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
|
28598
|
+
# tags: [
|
28599
|
+
# {
|
28600
|
+
# key: "String",
|
28601
|
+
# value: "String",
|
28602
|
+
# },
|
28603
|
+
# ],
|
28604
|
+
# },
|
28605
|
+
# ],
|
28097
28606
|
# })
|
28098
28607
|
#
|
28099
28608
|
# @example Response structure
|
@@ -28124,6 +28633,9 @@ module Aws::EC2
|
|
28124
28633
|
# resp.status_message #=> String
|
28125
28634
|
# resp.license_specifications #=> Array
|
28126
28635
|
# resp.license_specifications[0].license_configuration_arn #=> String
|
28636
|
+
# resp.tags #=> Array
|
28637
|
+
# resp.tags[0].key #=> String
|
28638
|
+
# resp.tags[0].value #=> String
|
28127
28639
|
#
|
28128
28640
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImage AWS API Documentation
|
28129
28641
|
#
|
@@ -28302,7 +28814,7 @@ module Aws::EC2
|
|
28302
28814
|
# public_key_material: "data", # required
|
28303
28815
|
# tag_specifications: [
|
28304
28816
|
# {
|
28305
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
28817
|
+
# 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
|
28306
28818
|
# tags: [
|
28307
28819
|
# {
|
28308
28820
|
# key: "String",
|
@@ -28402,11 +28914,15 @@ module Aws::EC2
|
|
28402
28914
|
# The name of the role to use when not using the default role,
|
28403
28915
|
# 'vmimport'.
|
28404
28916
|
#
|
28917
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
28918
|
+
# The tags to apply to the snapshot being imported.
|
28919
|
+
#
|
28405
28920
|
# @return [Types::ImportSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
28406
28921
|
#
|
28407
28922
|
# * {Types::ImportSnapshotResult#description #description} => String
|
28408
28923
|
# * {Types::ImportSnapshotResult#import_task_id #import_task_id} => String
|
28409
28924
|
# * {Types::ImportSnapshotResult#snapshot_task_detail #snapshot_task_detail} => Types::SnapshotTaskDetail
|
28925
|
+
# * {Types::ImportSnapshotResult#tags #tags} => Array<Types::Tag>
|
28410
28926
|
#
|
28411
28927
|
# @example Request syntax with placeholder values
|
28412
28928
|
#
|
@@ -28432,6 +28948,17 @@ module Aws::EC2
|
|
28432
28948
|
# encrypted: false,
|
28433
28949
|
# kms_key_id: "KmsKeyId",
|
28434
28950
|
# role_name: "String",
|
28951
|
+
# tag_specifications: [
|
28952
|
+
# {
|
28953
|
+
# 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
|
28954
|
+
# tags: [
|
28955
|
+
# {
|
28956
|
+
# key: "String",
|
28957
|
+
# value: "String",
|
28958
|
+
# },
|
28959
|
+
# ],
|
28960
|
+
# },
|
28961
|
+
# ],
|
28435
28962
|
# })
|
28436
28963
|
#
|
28437
28964
|
# @example Response structure
|
@@ -28450,6 +28977,9 @@ module Aws::EC2
|
|
28450
28977
|
# resp.snapshot_task_detail.url #=> String
|
28451
28978
|
# resp.snapshot_task_detail.user_bucket.s3_bucket #=> String
|
28452
28979
|
# resp.snapshot_task_detail.user_bucket.s3_key #=> String
|
28980
|
+
# resp.tags #=> Array
|
28981
|
+
# resp.tags[0].key #=> String
|
28982
|
+
# resp.tags[0].value #=> String
|
28453
28983
|
#
|
28454
28984
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshot AWS API Documentation
|
28455
28985
|
#
|
@@ -28795,7 +29325,7 @@ module Aws::EC2
|
|
28795
29325
|
# `GetDefaultCreditSpecification` and check `DefaultCreditSpecification`
|
28796
29326
|
# for updates.
|
28797
29327
|
#
|
28798
|
-
# For more information, see [Burstable
|
29328
|
+
# For more information, see [Burstable performance instances][1] in the
|
28799
29329
|
# *Amazon Elastic Compute Cloud User Guide*.
|
28800
29330
|
#
|
28801
29331
|
#
|
@@ -29460,7 +29990,7 @@ module Aws::EC2
|
|
29460
29990
|
# ModifyNetworkInterfaceAttribute action.
|
29461
29991
|
#
|
29462
29992
|
# To modify some attributes, the instance must be stopped. For more
|
29463
|
-
# information, see [Modifying
|
29993
|
+
# information, see [Modifying attributes of a stopped instance][1] in
|
29464
29994
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
29465
29995
|
#
|
29466
29996
|
#
|
@@ -29484,7 +30014,7 @@ module Aws::EC2
|
|
29484
30014
|
#
|
29485
30015
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
29486
30016
|
# must add them when you launch the instance. For more information, see
|
29487
|
-
# [Updating the
|
30017
|
+
# [Updating the block device mapping when launching an instance][1] in
|
29488
30018
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
29489
30019
|
#
|
29490
30020
|
#
|
@@ -29531,7 +30061,7 @@ module Aws::EC2
|
|
29531
30061
|
#
|
29532
30062
|
# @option params [Types::AttributeValue] :instance_type
|
29533
30063
|
# Changes the instance type to the specified value. For more
|
29534
|
-
# information, see [Instance
|
30064
|
+
# information, see [Instance types][1]. If the instance type is not
|
29535
30065
|
# valid, the error returned is `InvalidInstanceAttributeValue`.
|
29536
30066
|
#
|
29537
30067
|
#
|
@@ -29711,7 +30241,7 @@ module Aws::EC2
|
|
29711
30241
|
# burstable performance instance. The credit options are `standard` and
|
29712
30242
|
# `unlimited`.
|
29713
30243
|
#
|
29714
|
-
# For more information, see [Burstable
|
30244
|
+
# For more information, see [Burstable performance instances][1] in the
|
29715
30245
|
# *Amazon Elastic Compute Cloud User Guide*.
|
29716
30246
|
#
|
29717
30247
|
#
|
@@ -29827,7 +30357,7 @@ module Aws::EC2
|
|
29827
30357
|
# “pending”. After the parameter modifications are successfully applied
|
29828
30358
|
# to the instance, the state of the modifications changes from “pending”
|
29829
30359
|
# to “applied” in subsequent describe-instances API calls. For more
|
29830
|
-
# information, see [Instance
|
30360
|
+
# information, see [Instance metadata and user data][1].
|
29831
30361
|
#
|
29832
30362
|
#
|
29833
30363
|
#
|
@@ -30085,6 +30615,84 @@ module Aws::EC2
|
|
30085
30615
|
req.send_request(options)
|
30086
30616
|
end
|
30087
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
|
+
|
30088
30696
|
# Modifies the specified network interface attribute. You can specify
|
30089
30697
|
# only one attribute at a time. You can use this action to attach and
|
30090
30698
|
# detach security groups from an existing EC2 instance.
|
@@ -30997,7 +31605,7 @@ module Aws::EC2
|
|
30997
31605
|
# dry_run: false,
|
30998
31606
|
# volume_id: "VolumeId", # required
|
30999
31607
|
# size: 1,
|
31000
|
-
# volume_type: "standard", # accepts standard, io1,
|
31608
|
+
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
31001
31609
|
# iops: 1,
|
31002
31610
|
# })
|
31003
31611
|
#
|
@@ -31008,10 +31616,10 @@ module Aws::EC2
|
|
31008
31616
|
# resp.volume_modification.status_message #=> String
|
31009
31617
|
# resp.volume_modification.target_size #=> Integer
|
31010
31618
|
# resp.volume_modification.target_iops #=> Integer
|
31011
|
-
# resp.volume_modification.target_volume_type #=> String, one of "standard", "io1", "
|
31619
|
+
# resp.volume_modification.target_volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
31012
31620
|
# resp.volume_modification.original_size #=> Integer
|
31013
31621
|
# resp.volume_modification.original_iops #=> Integer
|
31014
|
-
# resp.volume_modification.original_volume_type #=> String, one of "standard", "io1", "
|
31622
|
+
# resp.volume_modification.original_volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
31015
31623
|
# resp.volume_modification.progress #=> Integer
|
31016
31624
|
# resp.volume_modification.start_time #=> Time
|
31017
31625
|
# resp.volume_modification.end_time #=> Time
|
@@ -31928,8 +32536,8 @@ module Aws::EC2
|
|
31928
32536
|
end
|
31929
32537
|
|
31930
32538
|
# Enables detailed monitoring for a running instance. Otherwise, basic
|
31931
|
-
# monitoring is enabled. For more information, see [Monitoring
|
31932
|
-
#
|
32539
|
+
# monitoring is enabled. For more information, see [Monitoring your
|
32540
|
+
# instances and volumes][1] in the *Amazon Elastic Compute Cloud User
|
31933
32541
|
# Guide*.
|
31934
32542
|
#
|
31935
32543
|
# To disable detailed monitoring, see .
|
@@ -32101,7 +32709,7 @@ module Aws::EC2
|
|
32101
32709
|
# dry_run: false,
|
32102
32710
|
# pool_tag_specifications: [
|
32103
32711
|
# {
|
32104
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
32712
|
+
# 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
|
32105
32713
|
# tags: [
|
32106
32714
|
# {
|
32107
32715
|
# key: "String",
|
@@ -32163,6 +32771,9 @@ module Aws::EC2
|
|
32163
32771
|
# @option params [required, String] :offering_id
|
32164
32772
|
# The ID of the offering.
|
32165
32773
|
#
|
32774
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
32775
|
+
# The tags to apply to the Dedicated Host Reservation during purchase.
|
32776
|
+
#
|
32166
32777
|
# @return [Types::PurchaseHostReservationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
32167
32778
|
#
|
32168
32779
|
# * {Types::PurchaseHostReservationResult#client_token #client_token} => String
|
@@ -32179,6 +32790,17 @@ module Aws::EC2
|
|
32179
32790
|
# host_id_set: ["DedicatedHostId"], # required
|
32180
32791
|
# limit_price: "String",
|
32181
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
|
+
# ],
|
32182
32804
|
# })
|
32183
32805
|
#
|
32184
32806
|
# @example Response structure
|
@@ -32414,8 +33036,8 @@ module Aws::EC2
|
|
32414
33036
|
# If an instance does not cleanly shut down within four minutes, Amazon
|
32415
33037
|
# EC2 performs a hard reboot.
|
32416
33038
|
#
|
32417
|
-
# For more information about troubleshooting, see [Getting
|
32418
|
-
#
|
33039
|
+
# For more information about troubleshooting, see [Getting console
|
33040
|
+
# output and rebooting instances][1] in the *Amazon Elastic Compute
|
32419
33041
|
# Cloud User Guide*.
|
32420
33042
|
#
|
32421
33043
|
#
|
@@ -32607,7 +33229,7 @@ module Aws::EC2
|
|
32607
33229
|
# iops: 1,
|
32608
33230
|
# snapshot_id: "String",
|
32609
33231
|
# volume_size: 1,
|
32610
|
-
# volume_type: "standard", # accepts standard, io1,
|
33232
|
+
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
32611
33233
|
# kms_key_id: "String",
|
32612
33234
|
# encrypted: false,
|
32613
33235
|
# },
|
@@ -33357,6 +33979,9 @@ module Aws::EC2
|
|
33357
33979
|
# that you provide must match the CIDR of an existing route in the
|
33358
33980
|
# table.
|
33359
33981
|
#
|
33982
|
+
# @option params [String] :destination_prefix_list_id
|
33983
|
+
# The ID of the prefix list for the route.
|
33984
|
+
#
|
33360
33985
|
# @option params [Boolean] :dry_run
|
33361
33986
|
# Checks whether you have the required permissions for the action,
|
33362
33987
|
# without actually making the request, and provides an error response.
|
@@ -33413,6 +34038,7 @@ module Aws::EC2
|
|
33413
34038
|
# resp = client.replace_route({
|
33414
34039
|
# destination_cidr_block: "String",
|
33415
34040
|
# destination_ipv_6_cidr_block: "String",
|
34041
|
+
# destination_prefix_list_id: "PrefixListResourceId",
|
33416
34042
|
# dry_run: false,
|
33417
34043
|
# egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
|
33418
34044
|
# gateway_id: "RouteGatewayId",
|
@@ -33869,7 +34495,7 @@ module Aws::EC2
|
|
33869
34495
|
# iops: 1,
|
33870
34496
|
# snapshot_id: "String",
|
33871
34497
|
# volume_size: 1,
|
33872
|
-
# volume_type: "standard", # accepts standard, io1,
|
34498
|
+
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
33873
34499
|
# kms_key_id: "String",
|
33874
34500
|
# encrypted: false,
|
33875
34501
|
# },
|
@@ -33926,7 +34552,7 @@ module Aws::EC2
|
|
33926
34552
|
# weighted_capacity: 1.0,
|
33927
34553
|
# tag_specifications: [
|
33928
34554
|
# {
|
33929
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
34555
|
+
# 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
|
33930
34556
|
# tags: [
|
33931
34557
|
# {
|
33932
34558
|
# key: "String",
|
@@ -33986,7 +34612,7 @@ module Aws::EC2
|
|
33986
34612
|
# instance_pools_to_use_count: 1,
|
33987
34613
|
# tag_specifications: [
|
33988
34614
|
# {
|
33989
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
34615
|
+
# 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
|
33990
34616
|
# tags: [
|
33991
34617
|
# {
|
33992
34618
|
# key: "String",
|
@@ -34194,7 +34820,7 @@ module Aws::EC2
|
|
34194
34820
|
# iops: 1,
|
34195
34821
|
# snapshot_id: "String",
|
34196
34822
|
# volume_size: 1,
|
34197
|
-
# volume_type: "standard", # accepts standard, io1,
|
34823
|
+
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
34198
34824
|
# kms_key_id: "String",
|
34199
34825
|
# encrypted: false,
|
34200
34826
|
# },
|
@@ -34278,7 +34904,7 @@ module Aws::EC2
|
|
34278
34904
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.iops #=> Integer
|
34279
34905
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.snapshot_id #=> String
|
34280
34906
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_size #=> Integer
|
34281
|
-
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "
|
34907
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
34282
34908
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
|
34283
34909
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
|
34284
34910
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
|
@@ -34683,6 +35309,61 @@ module Aws::EC2
|
|
34683
35309
|
req.send_request(options)
|
34684
35310
|
end
|
34685
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
|
+
|
34686
35367
|
# Removes an ingress authorization rule from a Client VPN endpoint.
|
34687
35368
|
#
|
34688
35369
|
# @option params [required, String] :client_vpn_endpoint_id
|
@@ -34996,7 +35677,7 @@ module Aws::EC2
|
|
34996
35677
|
#
|
34997
35678
|
# * Some instance types must be launched into a VPC. If you do not have
|
34998
35679
|
# a default VPC, or if you do not specify a subnet ID, the request
|
34999
|
-
# fails. For more information, see [Instance
|
35680
|
+
# fails. For more information, see [Instance types available only in a
|
35000
35681
|
# VPC][1].
|
35001
35682
|
#
|
35002
35683
|
# * \[EC2-VPC\] All instances have a network interface with a primary
|
@@ -35004,10 +35685,10 @@ module Aws::EC2
|
|
35004
35685
|
# one from the IPv4 range of your subnet.
|
35005
35686
|
#
|
35006
35687
|
# * Not all instance types support IPv6 addresses. For more information,
|
35007
|
-
# see [Instance
|
35688
|
+
# see [Instance types][2].
|
35008
35689
|
#
|
35009
35690
|
# * If you don't specify a security group ID, we use the default
|
35010
|
-
# security group. For more information, see [Security
|
35691
|
+
# security group. For more information, see [Security groups][3].
|
35011
35692
|
#
|
35012
35693
|
# * If any of the AMIs have a product code attached for which the user
|
35013
35694
|
# has not subscribed, the request fails.
|
@@ -35024,17 +35705,17 @@ module Aws::EC2
|
|
35024
35705
|
# An instance is ready for you to use when it's in the `running` state.
|
35025
35706
|
# You can check the state of your instance using DescribeInstances. You
|
35026
35707
|
# can tag instances and EBS volumes during launch, after launch, or
|
35027
|
-
# both. For more information, see CreateTags and [Tagging
|
35028
|
-
# EC2
|
35708
|
+
# both. For more information, see CreateTags and [Tagging your Amazon
|
35709
|
+
# EC2 resources][5].
|
35029
35710
|
#
|
35030
35711
|
# Linux instances have access to the public key of the key pair at boot.
|
35031
35712
|
# You can use this key to provide secure access to the instance. Amazon
|
35032
35713
|
# EC2 public images use this feature to provide secure access without
|
35033
|
-
# passwords. For more information, see [Key
|
35714
|
+
# passwords. For more information, see [Key pairs][6] in the *Amazon
|
35034
35715
|
# Elastic Compute Cloud User Guide*.
|
35035
35716
|
#
|
35036
|
-
# For troubleshooting, see [What
|
35037
|
-
#
|
35717
|
+
# For troubleshooting, see [What to do if an instance immediately
|
35718
|
+
# terminates][7], and [Troubleshooting connecting to your instance][8]
|
35038
35719
|
# in the *Amazon Elastic Compute Cloud User Guide*.
|
35039
35720
|
#
|
35040
35721
|
#
|
@@ -35056,7 +35737,7 @@ module Aws::EC2
|
|
35056
35737
|
# must be specified here or in a launch template.
|
35057
35738
|
#
|
35058
35739
|
# @option params [String] :instance_type
|
35059
|
-
# The instance type. For more information, see [Instance
|
35740
|
+
# The instance type. For more information, see [Instance types][1] in
|
35060
35741
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
35061
35742
|
#
|
35062
35743
|
# Default: `m1.small`
|
@@ -35187,7 +35868,7 @@ module Aws::EC2
|
|
35187
35868
|
#
|
35188
35869
|
# @option params [String] :user_data
|
35189
35870
|
# The user data to make available to the instance. For more information,
|
35190
|
-
# see [Running
|
35871
|
+
# see [Running commands on your Linux instance at launch][1] (Linux) and
|
35191
35872
|
# [Adding User Data][2] (Windows). If you are using a command line tool,
|
35192
35873
|
# base64-encoding is performed for you, and you can load the text from a
|
35193
35874
|
# file. Otherwise, you must provide base64-encoded text. User data is
|
@@ -35323,7 +36004,7 @@ module Aws::EC2
|
|
35323
36004
|
# The credit option for CPU usage of the burstable performance instance.
|
35324
36005
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
35325
36006
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
35326
|
-
# information, see [Burstable
|
36007
|
+
# information, see [Burstable performance instances][2] in the *Amazon
|
35327
36008
|
# Elastic Compute Cloud User Guide*.
|
35328
36009
|
#
|
35329
36010
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
@@ -35335,7 +36016,7 @@ module Aws::EC2
|
|
35335
36016
|
#
|
35336
36017
|
# @option params [Types::CpuOptionsRequest] :cpu_options
|
35337
36018
|
# The CPU options for the instance. For more information, see
|
35338
|
-
# [Optimizing CPU
|
36019
|
+
# [Optimizing CPU options][1] in the *Amazon Elastic Compute Cloud User
|
35339
36020
|
# Guide*.
|
35340
36021
|
#
|
35341
36022
|
#
|
@@ -35351,7 +36032,7 @@ module Aws::EC2
|
|
35351
36032
|
#
|
35352
36033
|
# @option params [Types::HibernationOptionsRequest] :hibernation_options
|
35353
36034
|
# Indicates whether an instance is enabled for hibernation. For more
|
35354
|
-
# information, see [Hibernate
|
36035
|
+
# information, see [Hibernate your instance][1] in the *Amazon Elastic
|
35355
36036
|
# Compute Cloud User Guide*.
|
35356
36037
|
#
|
35357
36038
|
#
|
@@ -35363,7 +36044,7 @@ module Aws::EC2
|
|
35363
36044
|
#
|
35364
36045
|
# @option params [Types::InstanceMetadataOptionsRequest] :metadata_options
|
35365
36046
|
# The metadata options for the instance. For more information, see
|
35366
|
-
# [Instance
|
36047
|
+
# [Instance metadata and user data][1].
|
35367
36048
|
#
|
35368
36049
|
#
|
35369
36050
|
#
|
@@ -35430,7 +36111,7 @@ module Aws::EC2
|
|
35430
36111
|
# iops: 1,
|
35431
36112
|
# snapshot_id: "String",
|
35432
36113
|
# volume_size: 1,
|
35433
|
-
# volume_type: "standard", # accepts standard, io1,
|
36114
|
+
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
35434
36115
|
# kms_key_id: "String",
|
35435
36116
|
# encrypted: false,
|
35436
36117
|
# },
|
@@ -35517,7 +36198,7 @@ module Aws::EC2
|
|
35517
36198
|
# ],
|
35518
36199
|
# tag_specifications: [
|
35519
36200
|
# {
|
35520
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
36201
|
+
# 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
|
35521
36202
|
# tags: [
|
35522
36203
|
# {
|
35523
36204
|
# key: "String",
|
@@ -36163,7 +36844,7 @@ module Aws::EC2
|
|
36163
36844
|
#
|
36164
36845
|
# For more information about configuring your operating system to
|
36165
36846
|
# generate a crash dump when a kernel panic or stop error occurs, see
|
36166
|
-
# [Send a
|
36847
|
+
# [Send a diagnostic interrupt][1] (Linux instances) or [Send a
|
36167
36848
|
# Diagnostic Interrupt][2] (Windows instances).
|
36168
36849
|
#
|
36169
36850
|
#
|
@@ -36221,7 +36902,7 @@ module Aws::EC2
|
|
36221
36902
|
# Performing this operation on an instance that uses an instance store
|
36222
36903
|
# as its root device returns an error.
|
36223
36904
|
#
|
36224
|
-
# For more information, see [Stopping
|
36905
|
+
# For more information, see [Stopping instances][1] in the *Amazon
|
36225
36906
|
# Elastic Compute Cloud User Guide*.
|
36226
36907
|
#
|
36227
36908
|
#
|
@@ -36349,8 +37030,8 @@ module Aws::EC2
|
|
36349
37030
|
#
|
36350
37031
|
# You can use the Stop action to hibernate an instance if the instance
|
36351
37032
|
# is [enabled for hibernation][1] and it meets the [hibernation
|
36352
|
-
# prerequisites][2]. For more information, see [Hibernate
|
36353
|
-
#
|
37033
|
+
# prerequisites][2]. For more information, see [Hibernate your
|
37034
|
+
# instance][3] in the *Amazon Elastic Compute Cloud User Guide*.
|
36354
37035
|
#
|
36355
37036
|
# We don't charge usage for a stopped instance, or data transfer fees;
|
36356
37037
|
# however, your root partition Amazon EBS volume remains and continues
|
@@ -36366,7 +37047,7 @@ module Aws::EC2
|
|
36366
37047
|
# You can't stop or hibernate instance store-backed instances. You
|
36367
37048
|
# can't use the Stop action to hibernate Spot Instances, but you can
|
36368
37049
|
# specify that Amazon EC2 should hibernate Spot Instances when they are
|
36369
|
-
# interrupted. For more information, see [Hibernating
|
37050
|
+
# interrupted. For more information, see [Hibernating interrupted Spot
|
36370
37051
|
# Instances][4] in the *Amazon Elastic Compute Cloud User Guide*.
|
36371
37052
|
#
|
36372
37053
|
# When you stop or hibernate an instance, we shut it down. You can
|
@@ -36383,13 +37064,13 @@ module Aws::EC2
|
|
36383
37064
|
# devices attached during the instance launch are automatically deleted.
|
36384
37065
|
# For more information about the differences between rebooting,
|
36385
37066
|
# stopping, hibernating, and terminating instances, see [Instance
|
36386
|
-
#
|
37067
|
+
# lifecycle][5] in the *Amazon Elastic Compute Cloud User Guide*.
|
36387
37068
|
#
|
36388
37069
|
# When you stop an instance, we attempt to shut it down forcibly after a
|
36389
37070
|
# short while. If your instance appears stuck in the stopping state
|
36390
37071
|
# after a period of time, there may be an issue with the underlying host
|
36391
|
-
# computer. For more information, see [Troubleshooting
|
36392
|
-
#
|
37072
|
+
# computer. For more information, see [Troubleshooting stopping your
|
37073
|
+
# instance][6] in the *Amazon Elastic Compute Cloud User Guide*.
|
36393
37074
|
#
|
36394
37075
|
#
|
36395
37076
|
#
|
@@ -36406,8 +37087,8 @@ module Aws::EC2
|
|
36406
37087
|
# @option params [Boolean] :hibernate
|
36407
37088
|
# Hibernates the instance if the instance was enabled for hibernation at
|
36408
37089
|
# launch. If the instance cannot hibernate successfully, a normal
|
36409
|
-
# shutdown occurs. For more information, see [Hibernate
|
36410
|
-
#
|
37090
|
+
# shutdown occurs. For more information, see [Hibernate your
|
37091
|
+
# instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
36411
37092
|
#
|
36412
37093
|
# Default: `false`
|
36413
37094
|
#
|
@@ -36566,11 +37247,11 @@ module Aws::EC2
|
|
36566
37247
|
# volumes with the `DeleteOnTermination` block device mapping parameter
|
36567
37248
|
# set to `true` are automatically deleted. For more information about
|
36568
37249
|
# the differences between stopping and terminating instances, see
|
36569
|
-
# [Instance
|
37250
|
+
# [Instance lifecycle][1] in the *Amazon Elastic Compute Cloud User
|
36570
37251
|
# Guide*.
|
36571
37252
|
#
|
36572
37253
|
# For more information about troubleshooting, see [Troubleshooting
|
36573
|
-
#
|
37254
|
+
# terminating your instance][2] in the *Amazon Elastic Compute Cloud
|
36574
37255
|
# User Guide*.
|
36575
37256
|
#
|
36576
37257
|
#
|
@@ -36724,7 +37405,7 @@ module Aws::EC2
|
|
36724
37405
|
end
|
36725
37406
|
|
36726
37407
|
# Disables detailed monitoring for a running instance. For more
|
36727
|
-
# information, see [Monitoring
|
37408
|
+
# information, see [Monitoring your instances and volumes][1] in the
|
36728
37409
|
# *Amazon Elastic Compute Cloud User Guide*.
|
36729
37410
|
#
|
36730
37411
|
#
|
@@ -37052,7 +37733,7 @@ module Aws::EC2
|
|
37052
37733
|
params: params,
|
37053
37734
|
config: config)
|
37054
37735
|
context[:gem_name] = 'aws-sdk-ec2'
|
37055
|
-
context[:gem_version] = '1.
|
37736
|
+
context[:gem_version] = '1.173.0'
|
37056
37737
|
Seahorse::Client::Request.new(handlers, context)
|
37057
37738
|
end
|
37058
37739
|
|