aws-sdk-ec2 1.205.0 → 1.210.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 +286 -143
- data/lib/aws-sdk-ec2/client_api.rb +77 -5
- data/lib/aws-sdk-ec2/resource.rb +7 -10
- data/lib/aws-sdk-ec2/route.rb +4 -0
- data/lib/aws-sdk-ec2/route_table.rb +4 -0
- data/lib/aws-sdk-ec2/snapshot.rb +6 -7
- data/lib/aws-sdk-ec2/subnet.rb +4 -7
- data/lib/aws-sdk-ec2/types.rb +581 -148
- 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: 7d623dee4202bc83c97ea9b80cde993324d101686608c349d9ec17104afb74d0
|
4
|
+
data.tar.gz: 837b49f2bc998e8b13b881dbb5efb7c24b4391d7ac032bfceb28a16bf711dd33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd9b751953313cde98218fd837caace8a948dacf6c4a78a4416cc2a112bd504beef50b09f8f8792b8f941b83ef903ec939861c772aea96767708a2be4dcc68f7
|
7
|
+
data.tar.gz: 511b8b64f90c0283f20f8c20d8ca3eeb8641c0f48e31618ac9b442832731830f5e9e5d6f4623ce0fbbac53b8b2dab673b1bda7a27eccef2007eaa6a2d6120a78
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -777,7 +777,7 @@ module Aws::EC2
|
|
777
777
|
# resp = client.allocate_address({
|
778
778
|
# domain: "vpc", # accepts vpc, standard
|
779
779
|
# address: "PublicIpAddress",
|
780
|
-
# public_ipv_4_pool: "
|
780
|
+
# public_ipv_4_pool: "Ipv4PoolEc2Id",
|
781
781
|
# network_border_group: "String",
|
782
782
|
# customer_owned_ipv_4_pool: "String",
|
783
783
|
# dry_run: false,
|
@@ -1406,22 +1406,21 @@ module Aws::EC2
|
|
1406
1406
|
# AWS Certificate Manager (ACM) certificate. This enables the
|
1407
1407
|
# certificate to be used by the ACM for Nitro Enclaves application
|
1408
1408
|
# inside an enclave. For more information, see [AWS Certificate Manager
|
1409
|
-
# for Nitro Enclaves][1] in the *
|
1410
|
-
# Guide*.
|
1409
|
+
# for Nitro Enclaves][1] in the *AWS Nitro Enclaves User Guide*.
|
1411
1410
|
#
|
1412
1411
|
# When the IAM role is associated with the ACM certificate, places the
|
1413
1412
|
# certificate, certificate chain, and encrypted private key in an Amazon
|
1414
1413
|
# S3 bucket that only the associated IAM role can access. The private
|
1415
|
-
# key of the certificate is encrypted with an AWS-managed KMS
|
1416
|
-
# has an attached attestation-based
|
1414
|
+
# key of the certificate is encrypted with an AWS-managed KMS customer
|
1415
|
+
# master (CMK) that has an attached attestation-based CMK policy.
|
1417
1416
|
#
|
1418
1417
|
# To enable the IAM role to access the Amazon S3 object, you must grant
|
1419
1418
|
# it permission to call `s3:GetObject` on the Amazon S3 bucket returned
|
1420
|
-
# by the command. To enable the IAM role to access the AWS KMS
|
1421
|
-
# must grant it permission to call `kms:Decrypt` on AWS KMS
|
1419
|
+
# by the command. To enable the IAM role to access the AWS KMS CMK, you
|
1420
|
+
# must grant it permission to call `kms:Decrypt` on AWS KMS CMK returned
|
1422
1421
|
# by the command. For more information, see [ Grant the role permission
|
1423
|
-
# to access the certificate and encryption key][2] in the *
|
1424
|
-
#
|
1422
|
+
# to access the certificate and encryption key][2] in the *AWS Nitro
|
1423
|
+
# Enclaves User Guide*.
|
1425
1424
|
#
|
1426
1425
|
#
|
1427
1426
|
#
|
@@ -3303,31 +3302,28 @@ module Aws::EC2
|
|
3303
3302
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
|
3304
3303
|
#
|
3305
3304
|
# @option params [String] :kms_key_id
|
3306
|
-
#
|
3307
|
-
# customer master key (CMK) to use when creating
|
3308
|
-
#
|
3309
|
-
#
|
3310
|
-
# If a `KmsKeyId` is specified, the `Encrypted` flag must also be set.
|
3305
|
+
# The identifier of the symmetric AWS Key Management Service (AWS KMS)
|
3306
|
+
# customer master key (CMK) to use when creating encrypted volumes. If
|
3307
|
+
# this parameter is not specified, your AWS managed CMK for EBS is used.
|
3308
|
+
# If you specify a CMK, you must also set the encrypted state to `true`.
|
3311
3309
|
#
|
3312
|
-
#
|
3313
|
-
# name, or alias ARN. When using an alias name, prefix it with
|
3314
|
-
# "alias/". For example:
|
3310
|
+
# You can specify a CMK using any of the following:
|
3315
3311
|
#
|
3316
|
-
# * Key ID
|
3312
|
+
# * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
|
3317
3313
|
#
|
3318
|
-
# * Key
|
3319
|
-
# `arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`
|
3314
|
+
# * Key alias. For example, alias/ExampleAlias.
|
3320
3315
|
#
|
3321
|
-
# *
|
3316
|
+
# * Key ARN. For example,
|
3317
|
+
# arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
|
3322
3318
|
#
|
3323
|
-
# * Alias ARN
|
3319
|
+
# * Alias ARN. For example,
|
3320
|
+
# arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
3324
3321
|
#
|
3325
|
-
# AWS
|
3326
|
-
#
|
3327
|
-
#
|
3322
|
+
# AWS authenticates the CMK asynchronously. Therefore, if you specify an
|
3323
|
+
# identifier that is not valid, the action can appear to complete, but
|
3324
|
+
# eventually fails.
|
3328
3325
|
#
|
3329
|
-
# The specified CMK must exist in the Region
|
3330
|
-
# copied to.
|
3326
|
+
# The specified CMK must exist in the destination Region.
|
3331
3327
|
#
|
3332
3328
|
# Amazon EBS does not support asymmetric CMKs.
|
3333
3329
|
#
|
@@ -3452,15 +3448,15 @@ module Aws::EC2
|
|
3452
3448
|
#
|
3453
3449
|
# You can specify the CMK using any of the following:
|
3454
3450
|
#
|
3455
|
-
# * Key ID. For example,
|
3451
|
+
# * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
|
3456
3452
|
#
|
3457
3453
|
# * Key alias. For example, alias/ExampleAlias.
|
3458
3454
|
#
|
3459
3455
|
# * Key ARN. For example,
|
3460
|
-
# arn:aws:kms
|
3456
|
+
# arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
|
3461
3457
|
#
|
3462
3458
|
# * Alias ARN. For example,
|
3463
|
-
# arn:aws:kms
|
3459
|
+
# arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
3464
3460
|
#
|
3465
3461
|
# AWS authenticates the CMK asynchronously. Therefore, if you specify an
|
3466
3462
|
# ID, alias, or ARN that is not valid, the action can appear to
|
@@ -3979,6 +3975,10 @@ module Aws::EC2
|
|
3979
3975
|
#
|
3980
3976
|
# Default Value: `enabled`
|
3981
3977
|
#
|
3978
|
+
# @option params [Types::ClientConnectOptions] :client_connect_options
|
3979
|
+
# The options for managing connection authorization for new client
|
3980
|
+
# connections.
|
3981
|
+
#
|
3982
3982
|
# @return [Types::CreateClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3983
3983
|
#
|
3984
3984
|
# * {Types::CreateClientVpnEndpointResult#client_vpn_endpoint_id #client_vpn_endpoint_id} => String
|
@@ -4031,6 +4031,10 @@ module Aws::EC2
|
|
4031
4031
|
# security_group_ids: ["SecurityGroupId"],
|
4032
4032
|
# vpc_id: "VpcId",
|
4033
4033
|
# self_service_portal: "enabled", # accepts enabled, disabled
|
4034
|
+
# client_connect_options: {
|
4035
|
+
# enabled: false,
|
4036
|
+
# lambda_function_arn: "String",
|
4037
|
+
# },
|
4034
4038
|
# })
|
4035
4039
|
#
|
4036
4040
|
# @example Response structure
|
@@ -4671,15 +4675,23 @@ module Aws::EC2
|
|
4671
4675
|
# Fleet expires.
|
4672
4676
|
#
|
4673
4677
|
# @option params [String] :type
|
4674
|
-
# The type of
|
4675
|
-
#
|
4676
|
-
#
|
4677
|
-
#
|
4678
|
-
#
|
4679
|
-
#
|
4680
|
-
#
|
4681
|
-
#
|
4682
|
-
#
|
4678
|
+
# The type of request. The default value is `maintain`.
|
4679
|
+
#
|
4680
|
+
# * `maintain` - The EC2 Fleet plaees an asynchronous request for your
|
4681
|
+
# desired capacity, and continues to maintain your desired Spot
|
4682
|
+
# capacity by replenishing interrupted Spot Instances.
|
4683
|
+
#
|
4684
|
+
# * `request` - The EC2 Fleet places an asynchronous one-time request
|
4685
|
+
# for your desired capacity, but does submit Spot requests in
|
4686
|
+
# alternative capacity pools if Spot capacity is unavailable, and does
|
4687
|
+
# not maintain Spot capacity if Spot Instances are interrupted.
|
4688
|
+
#
|
4689
|
+
# * `instant` - The EC2 Fleet places a synchronous one-time request for
|
4690
|
+
# your desired capacity, and returns errors for any instances that
|
4691
|
+
# could not be launched.
|
4692
|
+
#
|
4693
|
+
# For more information, see [EC2 Fleet request types][1] in the *Amazon
|
4694
|
+
# Elastic Compute Cloud User Guide*.
|
4683
4695
|
#
|
4684
4696
|
#
|
4685
4697
|
#
|
@@ -4704,7 +4716,7 @@ module Aws::EC2
|
|
4704
4716
|
# value for `ResourceType` must be `fleet`, otherwise the fleet request
|
4705
4717
|
# fails. To tag instances at launch, specify the tags in the [launch
|
4706
4718
|
# template][1]. For information about tagging after launch, see [Tagging
|
4707
|
-
#
|
4719
|
+
# your resources][2].
|
4708
4720
|
#
|
4709
4721
|
#
|
4710
4722
|
#
|
@@ -4724,6 +4736,11 @@ module Aws::EC2
|
|
4724
4736
|
# client_token: "String",
|
4725
4737
|
# spot_options: {
|
4726
4738
|
# allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized
|
4739
|
+
# maintenance_strategies: {
|
4740
|
+
# capacity_rebalance: {
|
4741
|
+
# replacement_strategy: "launch", # accepts launch
|
4742
|
+
# },
|
4743
|
+
# },
|
4727
4744
|
# instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
|
4728
4745
|
# instance_pools_to_use_count: 1,
|
4729
4746
|
# single_instance_type: false,
|
@@ -5249,13 +5266,13 @@ module Aws::EC2
|
|
5249
5266
|
# A description for the conversion task or the resource being exported.
|
5250
5267
|
# The maximum length is 255 characters.
|
5251
5268
|
#
|
5252
|
-
# @option params [Types::ExportToS3TaskSpecification] :export_to_s3_task
|
5269
|
+
# @option params [required, Types::ExportToS3TaskSpecification] :export_to_s3_task
|
5253
5270
|
# The format and location for an instance export task.
|
5254
5271
|
#
|
5255
5272
|
# @option params [required, String] :instance_id
|
5256
5273
|
# The ID of the instance.
|
5257
5274
|
#
|
5258
|
-
# @option params [String] :target_environment
|
5275
|
+
# @option params [required, String] :target_environment
|
5259
5276
|
# The target virtualization environment.
|
5260
5277
|
#
|
5261
5278
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
@@ -5269,14 +5286,14 @@ module Aws::EC2
|
|
5269
5286
|
#
|
5270
5287
|
# resp = client.create_instance_export_task({
|
5271
5288
|
# description: "String",
|
5272
|
-
# export_to_s3_task: {
|
5289
|
+
# export_to_s3_task: { # required
|
5273
5290
|
# container_format: "ova", # accepts ova
|
5274
5291
|
# disk_image_format: "VMDK", # accepts VMDK, RAW, VHD
|
5275
5292
|
# s3_bucket: "String",
|
5276
5293
|
# s3_prefix: "String",
|
5277
5294
|
# },
|
5278
5295
|
# instance_id: "InstanceId", # required
|
5279
|
-
# target_environment: "citrix", # accepts citrix, vmware, microsoft
|
5296
|
+
# target_environment: "citrix", # required, accepts citrix, vmware, microsoft
|
5280
5297
|
# tag_specifications: [
|
5281
5298
|
# {
|
5282
5299
|
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, 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
|
@@ -7222,6 +7239,10 @@ module Aws::EC2
|
|
7222
7239
|
# If you have the required permissions, the error response is
|
7223
7240
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
7224
7241
|
#
|
7242
|
+
# @option params [String] :vpc_endpoint_id
|
7243
|
+
# The ID of a VPC endpoint. Supported for Gateway Load Balancer
|
7244
|
+
# endpoints only.
|
7245
|
+
#
|
7225
7246
|
# @option params [String] :egress_only_internet_gateway_id
|
7226
7247
|
# \[IPv6 traffic only\] The ID of an egress-only internet gateway.
|
7227
7248
|
#
|
@@ -7281,6 +7302,7 @@ module Aws::EC2
|
|
7281
7302
|
# destination_ipv_6_cidr_block: "String",
|
7282
7303
|
# destination_prefix_list_id: "PrefixListResourceId",
|
7283
7304
|
# dry_run: false,
|
7305
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
7284
7306
|
# egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
|
7285
7307
|
# gateway_id: "RouteGatewayId",
|
7286
7308
|
# instance_id: "InstanceId",
|
@@ -9114,15 +9136,15 @@ module Aws::EC2
|
|
9114
9136
|
#
|
9115
9137
|
# You can specify the CMK using any of the following:
|
9116
9138
|
#
|
9117
|
-
# * Key ID. For example,
|
9139
|
+
# * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
|
9118
9140
|
#
|
9119
9141
|
# * Key alias. For example, alias/ExampleAlias.
|
9120
9142
|
#
|
9121
9143
|
# * Key ARN. For example,
|
9122
|
-
# arn:aws:kms
|
9144
|
+
# arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
|
9123
9145
|
#
|
9124
9146
|
# * Alias ARN. For example,
|
9125
|
-
# arn:aws:kms
|
9147
|
+
# arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
9126
9148
|
#
|
9127
9149
|
# AWS authenticates the CMK asynchronously. Therefore, if you specify an
|
9128
9150
|
# ID, alias, or ARN that is not valid, the action can appear to
|
@@ -9482,6 +9504,10 @@ module Aws::EC2
|
|
9482
9504
|
# You can specify the subnets in which to create an endpoint, and the
|
9483
9505
|
# security groups to associate with the endpoint network interface.
|
9484
9506
|
#
|
9507
|
+
# A `GatewayLoadBalancer` endpoint is a network interface in your subnet
|
9508
|
+
# that serves an endpoint for communicating with a Gateway Load Balancer
|
9509
|
+
# that you've configured as a VPC endpoint service.
|
9510
|
+
#
|
9485
9511
|
# Use DescribeVpcEndpointServices to get a list of supported services.
|
9486
9512
|
#
|
9487
9513
|
#
|
@@ -9508,17 +9534,18 @@ module Aws::EC2
|
|
9508
9534
|
# provider.
|
9509
9535
|
#
|
9510
9536
|
# @option params [String] :policy_document
|
9511
|
-
# A policy to attach to the endpoint
|
9512
|
-
# service. The policy must be in valid JSON
|
9513
|
-
# not specified, we attach a default policy
|
9514
|
-
# the service.
|
9537
|
+
# (Interface and gateway endpoints) A policy to attach to the endpoint
|
9538
|
+
# that controls access to the service. The policy must be in valid JSON
|
9539
|
+
# format. If this parameter is not specified, we attach a default policy
|
9540
|
+
# that allows full access to the service.
|
9515
9541
|
#
|
9516
9542
|
# @option params [Array<String>] :route_table_ids
|
9517
9543
|
# (Gateway endpoint) One or more route table IDs.
|
9518
9544
|
#
|
9519
9545
|
# @option params [Array<String>] :subnet_ids
|
9520
|
-
# (Interface
|
9521
|
-
# an endpoint network interface.
|
9546
|
+
# (Interface and Gateway Load Balancer endpoints) The ID of one or more
|
9547
|
+
# subnets in which to create an endpoint network interface. For a
|
9548
|
+
# Gateway Load Balancer endpoint, you can specify one subnet only.
|
9522
9549
|
#
|
9523
9550
|
# @option params [Array<String>] :security_group_ids
|
9524
9551
|
# (Interface endpoint) The ID of one or more security groups to
|
@@ -9561,7 +9588,7 @@ module Aws::EC2
|
|
9561
9588
|
#
|
9562
9589
|
# resp = client.create_vpc_endpoint({
|
9563
9590
|
# dry_run: false,
|
9564
|
-
# vpc_endpoint_type: "Interface", # accepts Interface, Gateway
|
9591
|
+
# vpc_endpoint_type: "Interface", # accepts Interface, Gateway, GatewayLoadBalancer
|
9565
9592
|
# vpc_id: "VpcId", # required
|
9566
9593
|
# service_name: "String", # required
|
9567
9594
|
# policy_document: "String",
|
@@ -9586,7 +9613,7 @@ module Aws::EC2
|
|
9586
9613
|
# @example Response structure
|
9587
9614
|
#
|
9588
9615
|
# resp.vpc_endpoint.vpc_endpoint_id #=> String
|
9589
|
-
# resp.vpc_endpoint.vpc_endpoint_type #=> String, one of "Interface", "Gateway"
|
9616
|
+
# resp.vpc_endpoint.vpc_endpoint_type #=> String, one of "Interface", "Gateway", "GatewayLoadBalancer"
|
9590
9617
|
# resp.vpc_endpoint.vpc_id #=> String
|
9591
9618
|
# resp.vpc_endpoint.service_name #=> String
|
9592
9619
|
# resp.vpc_endpoint.state #=> String, one of "PendingAcceptance", "Pending", "Available", "Deleting", "Deleted", "Rejected", "Failed", "Expired"
|
@@ -9702,23 +9729,30 @@ module Aws::EC2
|
|
9702
9729
|
|
9703
9730
|
# Creates a VPC endpoint service configuration to which service
|
9704
9731
|
# consumers (AWS accounts, IAM users, and IAM roles) can connect.
|
9705
|
-
# Service consumers can create an interface VPC endpoint to connect to
|
9706
|
-
# your service.
|
9707
9732
|
#
|
9708
|
-
# To create an endpoint service configuration, you must first create
|
9709
|
-
#
|
9710
|
-
#
|
9711
|
-
#
|
9733
|
+
# To create an endpoint service configuration, you must first create one
|
9734
|
+
# of the following for your service:
|
9735
|
+
#
|
9736
|
+
# * A [Network Load Balancer][1]. Service consumers connect to your
|
9737
|
+
# service using an interface endpoint.
|
9738
|
+
#
|
9739
|
+
# * A [Gateway Load Balancer][2]. Service consumers connect to your
|
9740
|
+
# service using a Gateway Load Balancer endpoint.
|
9741
|
+
#
|
9742
|
+
# For more information, see [VPC Endpoint Services][3] in the *Amazon
|
9743
|
+
# Virtual Private Cloud User Guide*.
|
9712
9744
|
#
|
9713
9745
|
# If you set the private DNS name, you must prove that you own the
|
9714
9746
|
# private DNS domain name. For more information, see [VPC Endpoint
|
9715
|
-
# Service Private DNS Name Verification][
|
9747
|
+
# Service Private DNS Name Verification][4] in the *Amazon Virtual
|
9716
9748
|
# Private Cloud User Guide*.
|
9717
9749
|
#
|
9718
9750
|
#
|
9719
9751
|
#
|
9720
|
-
# [1]: https://docs.aws.amazon.com/
|
9721
|
-
# [2]: https://docs.aws.amazon.com/
|
9752
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/introduction.html
|
9753
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/introduction.html
|
9754
|
+
# [3]: https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-service.html
|
9755
|
+
# [4]: https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-services-dns-validation.html
|
9722
9756
|
#
|
9723
9757
|
# @option params [Boolean] :dry_run
|
9724
9758
|
# Checks whether you have the required permissions for the action,
|
@@ -9732,12 +9766,17 @@ module Aws::EC2
|
|
9732
9766
|
# AcceptVpcEndpointConnections.
|
9733
9767
|
#
|
9734
9768
|
# @option params [String] :private_dns_name
|
9735
|
-
# The private DNS name to assign to
|
9769
|
+
# (Interface endpoint configuration) The private DNS name to assign to
|
9770
|
+
# the VPC endpoint service.
|
9736
9771
|
#
|
9737
|
-
# @option params [
|
9772
|
+
# @option params [Array<String>] :network_load_balancer_arns
|
9738
9773
|
# The Amazon Resource Names (ARNs) of one or more Network Load Balancers
|
9739
9774
|
# for your service.
|
9740
9775
|
#
|
9776
|
+
# @option params [Array<String>] :gateway_load_balancer_arns
|
9777
|
+
# The Amazon Resource Names (ARNs) of one or more Gateway Load
|
9778
|
+
# Balancers.
|
9779
|
+
#
|
9741
9780
|
# @option params [String] :client_token
|
9742
9781
|
# Unique, case-sensitive identifier that you provide to ensure the
|
9743
9782
|
# idempotency of the request. For more information, see [How to Ensure
|
@@ -9761,7 +9800,8 @@ module Aws::EC2
|
|
9761
9800
|
# dry_run: false,
|
9762
9801
|
# acceptance_required: false,
|
9763
9802
|
# private_dns_name: "String",
|
9764
|
-
# network_load_balancer_arns: ["String"],
|
9803
|
+
# network_load_balancer_arns: ["String"],
|
9804
|
+
# gateway_load_balancer_arns: ["String"],
|
9765
9805
|
# client_token: "String",
|
9766
9806
|
# tag_specifications: [
|
9767
9807
|
# {
|
@@ -9779,7 +9819,7 @@ module Aws::EC2
|
|
9779
9819
|
# @example Response structure
|
9780
9820
|
#
|
9781
9821
|
# resp.service_configuration.service_type #=> Array
|
9782
|
-
# resp.service_configuration.service_type[0].service_type #=> String, one of "Interface", "Gateway"
|
9822
|
+
# resp.service_configuration.service_type[0].service_type #=> String, one of "Interface", "Gateway", "GatewayLoadBalancer"
|
9783
9823
|
# resp.service_configuration.service_id #=> String
|
9784
9824
|
# resp.service_configuration.service_name #=> String
|
9785
9825
|
# resp.service_configuration.service_state #=> String, one of "Pending", "Available", "Deleting", "Deleted", "Failed"
|
@@ -9789,6 +9829,8 @@ module Aws::EC2
|
|
9789
9829
|
# resp.service_configuration.manages_vpc_endpoints #=> Boolean
|
9790
9830
|
# resp.service_configuration.network_load_balancer_arns #=> Array
|
9791
9831
|
# resp.service_configuration.network_load_balancer_arns[0] #=> String
|
9832
|
+
# resp.service_configuration.gateway_load_balancer_arns #=> Array
|
9833
|
+
# resp.service_configuration.gateway_load_balancer_arns[0] #=> String
|
9792
9834
|
# resp.service_configuration.base_endpoint_dns_names #=> Array
|
9793
9835
|
# resp.service_configuration.base_endpoint_dns_names[0] #=> String
|
9794
9836
|
# resp.service_configuration.private_dns_name #=> String
|
@@ -10501,12 +10543,34 @@ module Aws::EC2
|
|
10501
10543
|
|
10502
10544
|
# Deletes the specified EC2 Fleet.
|
10503
10545
|
#
|
10504
|
-
# After you delete an EC2 Fleet, it launches no new instances.
|
10505
|
-
#
|
10506
|
-
#
|
10507
|
-
#
|
10508
|
-
# `
|
10509
|
-
#
|
10546
|
+
# After you delete an EC2 Fleet, it launches no new instances.
|
10547
|
+
#
|
10548
|
+
# You must specify whether a deleted EC2 Fleet should also terminate its
|
10549
|
+
# instances. If you choose to terminate the instances, the EC2 Fleet
|
10550
|
+
# enters the `deleted_terminating` state. Otherwise, the EC2 Fleet
|
10551
|
+
# enters the `deleted_running` state, and the instances continue to run
|
10552
|
+
# until they are interrupted or you terminate them manually.
|
10553
|
+
#
|
10554
|
+
# For `instant` fleets, EC2 Fleet must terminate the instances when the
|
10555
|
+
# fleet is deleted. A deleted `instant` fleet with running instances is
|
10556
|
+
# not supported.
|
10557
|
+
#
|
10558
|
+
# **Restrictions**
|
10559
|
+
#
|
10560
|
+
# * You can delete up to 25 `instant` fleets in a single request. If you
|
10561
|
+
# exceed this number, no `instant` fleets are deleted and an error is
|
10562
|
+
# returned. There is no restriction on the number of fleets of type
|
10563
|
+
# `maintain` or `request` that can be deleted in a single request.
|
10564
|
+
#
|
10565
|
+
# * Up to 1000 instances can be terminated in a single request to delete
|
10566
|
+
# `instant` fleets.
|
10567
|
+
#
|
10568
|
+
# For more information, see [Deleting an EC2 Fleet][1] in the *Amazon
|
10569
|
+
# Elastic Compute Cloud User Guide*.
|
10570
|
+
#
|
10571
|
+
#
|
10572
|
+
#
|
10573
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#delete-fleet
|
10510
10574
|
#
|
10511
10575
|
# @option params [Boolean] :dry_run
|
10512
10576
|
# Checks whether you have the required permissions for the action,
|
@@ -10518,8 +10582,15 @@ module Aws::EC2
|
|
10518
10582
|
# The IDs of the EC2 Fleets.
|
10519
10583
|
#
|
10520
10584
|
# @option params [required, Boolean] :terminate_instances
|
10521
|
-
# Indicates whether to terminate instances
|
10522
|
-
# deleted
|
10585
|
+
# Indicates whether to terminate the instances when the EC2 Fleet is
|
10586
|
+
# deleted. The default is to terminate the instances.
|
10587
|
+
#
|
10588
|
+
# To let the instances continue to run after the EC2 Fleet is deleted,
|
10589
|
+
# specify `NoTerminateInstances`. Supported only for fleets of type
|
10590
|
+
# `maintain` and `request`.
|
10591
|
+
#
|
10592
|
+
# For `instant` fleets, you cannot specify `NoTerminateInstances`. A
|
10593
|
+
# deleted `instant` fleet with running instances is not supported.
|
10523
10594
|
#
|
10524
10595
|
# @return [Types::DeleteFleetsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10525
10596
|
#
|
@@ -12323,8 +12394,10 @@ module Aws::EC2
|
|
12323
12394
|
|
12324
12395
|
# Deletes one or more specified VPC endpoints. Deleting a gateway
|
12325
12396
|
# endpoint also deletes the endpoint routes in the route tables that
|
12326
|
-
# were associated with the endpoint. Deleting an interface endpoint
|
12327
|
-
# deletes the endpoint network
|
12397
|
+
# were associated with the endpoint. Deleting an interface endpoint or a
|
12398
|
+
# Gateway Load Balancer endpoint deletes the endpoint network
|
12399
|
+
# interfaces. Gateway Load Balancer endpoints can only be deleted if the
|
12400
|
+
# routes that are associated with the endpoint are deleted.
|
12328
12401
|
#
|
12329
12402
|
# @option params [Boolean] :dry_run
|
12330
12403
|
# Checks whether you have the required permissions for the action,
|
@@ -13913,6 +13986,8 @@ module Aws::EC2
|
|
13913
13986
|
# resp.connections[0].status.code #=> String, one of "active", "failed-to-terminate", "terminating", "terminated"
|
13914
13987
|
# resp.connections[0].status.message #=> String
|
13915
13988
|
# resp.connections[0].connection_end_time #=> String
|
13989
|
+
# resp.connections[0].posture_compliance_statuses #=> Array
|
13990
|
+
# resp.connections[0].posture_compliance_statuses[0] #=> String
|
13916
13991
|
# resp.next_token #=> String
|
13917
13992
|
#
|
13918
13993
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnConnections AWS API Documentation
|
@@ -14009,6 +14084,10 @@ module Aws::EC2
|
|
14009
14084
|
# resp.client_vpn_endpoints[0].security_group_ids[0] #=> String
|
14010
14085
|
# resp.client_vpn_endpoints[0].vpc_id #=> String
|
14011
14086
|
# resp.client_vpn_endpoints[0].self_service_portal_url #=> String
|
14087
|
+
# resp.client_vpn_endpoints[0].client_connect_options.enabled #=> Boolean
|
14088
|
+
# resp.client_vpn_endpoints[0].client_connect_options.lambda_function_arn #=> String
|
14089
|
+
# resp.client_vpn_endpoints[0].client_connect_options.status.code #=> String, one of "applying", "applied"
|
14090
|
+
# resp.client_vpn_endpoints[0].client_connect_options.status.message #=> String
|
14012
14091
|
# resp.next_token #=> String
|
14013
14092
|
#
|
14014
14093
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnEndpoints AWS API Documentation
|
@@ -15175,6 +15254,7 @@ module Aws::EC2
|
|
15175
15254
|
# resp.fleets[0].valid_until #=> Time
|
15176
15255
|
# resp.fleets[0].replace_unhealthy_instances #=> Boolean
|
15177
15256
|
# resp.fleets[0].spot_options.allocation_strategy #=> String, one of "lowest-price", "diversified", "capacity-optimized"
|
15257
|
+
# resp.fleets[0].spot_options.maintenance_strategies.capacity_rebalance.replacement_strategy #=> String, one of "launch"
|
15178
15258
|
# resp.fleets[0].spot_options.instance_interruption_behavior #=> String, one of "hibernate", "stop", "terminate"
|
15179
15259
|
# resp.fleets[0].spot_options.instance_pools_to_use_count #=> Integer
|
15180
15260
|
# resp.fleets[0].spot_options.single_instance_type #=> Boolean
|
@@ -15248,7 +15328,7 @@ module Aws::EC2
|
|
15248
15328
|
#
|
15249
15329
|
# * `log-destination-type` - The type of destination to which the flow
|
15250
15330
|
# log publishes data. Possible destination types include
|
15251
|
-
# `cloud-watch-logs` and `
|
15331
|
+
# `cloud-watch-logs` and `s3`.
|
15252
15332
|
#
|
15253
15333
|
# * `flow-log-id` - The ID of the flow log.
|
15254
15334
|
#
|
@@ -17045,7 +17125,7 @@ module Aws::EC2
|
|
17045
17125
|
# location type is `region` (default), the location is the Region code
|
17046
17126
|
# (for example, `us-east-2`.)
|
17047
17127
|
#
|
17048
|
-
# * `instance-type` - The instance type.
|
17128
|
+
# * `instance-type` - The instance type. For example, `c5.2xlarge`.
|
17049
17129
|
#
|
17050
17130
|
# @option params [Integer] :max_results
|
17051
17131
|
# The maximum number of results to return for the request in a single
|
@@ -17116,17 +17196,17 @@ module Aws::EC2
|
|
17116
17196
|
# One or more filters. Filter names and values are case-sensitive.
|
17117
17197
|
#
|
17118
17198
|
# * `auto-recovery-supported` - Indicates whether auto recovery is
|
17119
|
-
# supported
|
17199
|
+
# supported (`true` \| `false`).
|
17120
17200
|
#
|
17121
|
-
# * `bare-metal` - Indicates whether it is a bare metal instance type
|
17122
|
-
# (`true` \| `false`)
|
17201
|
+
# * `bare-metal` - Indicates whether it is a bare metal instance type
|
17202
|
+
# (`true` \| `false`).
|
17123
17203
|
#
|
17124
17204
|
# * `burstable-performance-supported` - Indicates whether it is a
|
17125
|
-
# burstable performance instance type
|
17205
|
+
# burstable performance instance type (`true` \| `false`).
|
17126
17206
|
#
|
17127
17207
|
# * `current-generation` - Indicates whether this instance type is the
|
17128
|
-
# latest generation instance type of an instance family
|
17129
|
-
# `false`)
|
17208
|
+
# latest generation instance type of an instance family (`true` \|
|
17209
|
+
# `false`).
|
17130
17210
|
#
|
17131
17211
|
# * `ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps` - The
|
17132
17212
|
# baseline bandwidth performance for an EBS-optimized instance type,
|
@@ -17138,7 +17218,7 @@ module Aws::EC2
|
|
17138
17218
|
#
|
17139
17219
|
# * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
|
17140
17220
|
# baseline throughput performance for an EBS-optimized instance type,
|
17141
|
-
# in
|
17221
|
+
# in MB/s.
|
17142
17222
|
#
|
17143
17223
|
# * `ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps` - The
|
17144
17224
|
# maximum bandwidth performance for an EBS-optimized instance type, in
|
@@ -17150,25 +17230,25 @@ module Aws::EC2
|
|
17150
17230
|
#
|
17151
17231
|
# * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
|
17152
17232
|
# maximum throughput performance for an EBS-optimized instance type,
|
17153
|
-
# in
|
17233
|
+
# in MB/s.
|
17154
17234
|
#
|
17155
17235
|
# * `ebs-info.ebs-optimized-support` - Indicates whether the instance
|
17156
|
-
# type is EBS-optimized
|
17236
|
+
# type is EBS-optimized (`supported` \| `unsupported` \| `default`).
|
17157
17237
|
#
|
17158
17238
|
# * `ebs-info.encryption-support` - Indicates whether EBS encryption is
|
17159
|
-
# supported
|
17239
|
+
# supported (`supported` \| `unsupported`).
|
17160
17240
|
#
|
17161
17241
|
# * `ebs-info.nvme-support` - Indicates whether non-volatile memory
|
17162
|
-
# express (NVMe) is supported for EBS volumes
|
17163
|
-
# `supported` \| `unsupported`)
|
17242
|
+
# express (NVMe) is supported for EBS volumes (`required` \|
|
17243
|
+
# `supported` \| `unsupported`).
|
17164
17244
|
#
|
17165
17245
|
# * `free-tier-eligible` - Indicates whether the instance type is
|
17166
|
-
# eligible to use in the free tier
|
17246
|
+
# eligible to use in the free tier (`true` \| `false`).
|
17167
17247
|
#
|
17168
17248
|
# * `hibernation-supported` - Indicates whether On-Demand hibernation is
|
17169
|
-
# supported
|
17249
|
+
# supported (`true` \| `false`).
|
17170
17250
|
#
|
17171
|
-
# * `hypervisor` - The hypervisor
|
17251
|
+
# * `hypervisor` - The hypervisor (`nitro` \| `xen`).
|
17172
17252
|
#
|
17173
17253
|
# * `instance-storage-info.disk.count` - The number of local disks.
|
17174
17254
|
#
|
@@ -17176,17 +17256,17 @@ module Aws::EC2
|
|
17176
17256
|
# instance storage disk, in GB.
|
17177
17257
|
#
|
17178
17258
|
# * `instance-storage-info.disk.type` - The storage technology for the
|
17179
|
-
# local instance storage disks
|
17259
|
+
# local instance storage disks (`hdd` \| `ssd`).
|
17180
17260
|
#
|
17181
17261
|
# * `instance-storage-info.nvme-support` - Indicates whether
|
17182
|
-
# non-volatile memory express (NVMe) is supported for instance store
|
17183
|
-
# (`required` \| `supported`) \| `unsupported`)
|
17262
|
+
# non-volatile memory express (NVMe) is supported for instance store
|
17263
|
+
# (`required` \| `supported`) \| `unsupported`).
|
17184
17264
|
#
|
17185
17265
|
# * `instance-storage-info.total-size-in-gb` - The total amount of
|
17186
17266
|
# storage available from all local instance storage, in GB.
|
17187
17267
|
#
|
17188
17268
|
# * `instance-storage-supported` - Indicates whether the instance type
|
17189
|
-
# has local instance storage
|
17269
|
+
# has local instance storage (`true` \| `false`).
|
17190
17270
|
#
|
17191
17271
|
# * `instance-type` - The instance type (for example `c5.2xlarge` or
|
17192
17272
|
# c5*).
|
@@ -17194,11 +17274,11 @@ module Aws::EC2
|
|
17194
17274
|
# * `memory-info.size-in-mib` - The memory size.
|
17195
17275
|
#
|
17196
17276
|
# * `network-info.efa-supported` - Indicates whether the instance type
|
17197
|
-
# supports Elastic Fabric Adapter (EFA)
|
17277
|
+
# supports Elastic Fabric Adapter (EFA) (`true` \| `false`).
|
17198
17278
|
#
|
17199
17279
|
# * `network-info.ena-support` - Indicates whether Elastic Network
|
17200
|
-
# Adapter (ENA) is supported or required
|
17201
|
-
#
|
17280
|
+
# Adapter (ENA) is supported or required (`required` \| `supported` \|
|
17281
|
+
# `unsupported`).
|
17202
17282
|
#
|
17203
17283
|
# * `network-info.ipv4-addresses-per-interface` - The maximum number of
|
17204
17284
|
# private IPv4 addresses per network interface.
|
@@ -17207,7 +17287,7 @@ module Aws::EC2
|
|
17207
17287
|
# private IPv6 addresses per network interface.
|
17208
17288
|
#
|
17209
17289
|
# * `network-info.ipv6-supported` - Indicates whether the instance type
|
17210
|
-
# supports IPv6
|
17290
|
+
# supports IPv6 (`true` \| `false`).
|
17211
17291
|
#
|
17212
17292
|
# * `network-info.maximum-network-interfaces` - The maximum number of
|
17213
17293
|
# network interfaces per instance.
|
@@ -17215,19 +17295,19 @@ module Aws::EC2
|
|
17215
17295
|
# * `network-info.network-performance` - The network performance (for
|
17216
17296
|
# example, "25 Gigabit").
|
17217
17297
|
#
|
17218
|
-
# * `processor-info.supported-architecture` - The CPU architecture
|
17219
|
-
# (`arm64` \| `i386` \| `x86_64`)
|
17298
|
+
# * `processor-info.supported-architecture` - The CPU architecture
|
17299
|
+
# (`arm64` \| `i386` \| `x86_64`).
|
17220
17300
|
#
|
17221
17301
|
# * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock speed,
|
17222
17302
|
# in GHz.
|
17223
17303
|
#
|
17224
|
-
# * `supported-root-device-type` - The root device type
|
17225
|
-
# `instance-store`)
|
17304
|
+
# * `supported-root-device-type` - The root device type (`ebs` \|
|
17305
|
+
# `instance-store`).
|
17226
17306
|
#
|
17227
|
-
# * `supported-usage-class` - The usage class
|
17307
|
+
# * `supported-usage-class` - The usage class (`on-demand` \| `spot`).
|
17228
17308
|
#
|
17229
|
-
# * `supported-virtualization-type` - The virtualization type
|
17230
|
-
# `paravirtual`)
|
17309
|
+
# * `supported-virtualization-type` - The virtualization type (`hvm` \|
|
17310
|
+
# `paravirtual`).
|
17231
17311
|
#
|
17232
17312
|
# * `vcpu-info.default-cores` - The default number of cores for the
|
17233
17313
|
# instance type.
|
@@ -17318,6 +17398,12 @@ module Aws::EC2
|
|
17318
17398
|
# resp.instance_types[0].ebs_info.nvme_support #=> String, one of "unsupported", "supported", "required"
|
17319
17399
|
# resp.instance_types[0].network_info.network_performance #=> String
|
17320
17400
|
# resp.instance_types[0].network_info.maximum_network_interfaces #=> Integer
|
17401
|
+
# resp.instance_types[0].network_info.maximum_network_cards #=> Integer
|
17402
|
+
# resp.instance_types[0].network_info.default_network_card_index #=> Integer
|
17403
|
+
# resp.instance_types[0].network_info.network_cards #=> Array
|
17404
|
+
# resp.instance_types[0].network_info.network_cards[0].network_card_index #=> Integer
|
17405
|
+
# resp.instance_types[0].network_info.network_cards[0].network_performance #=> String
|
17406
|
+
# resp.instance_types[0].network_info.network_cards[0].maximum_network_interfaces #=> Integer
|
17321
17407
|
# resp.instance_types[0].network_info.ipv_4_addresses_per_interface #=> Integer
|
17322
17408
|
# resp.instance_types[0].network_info.ipv_6_addresses_per_interface #=> Integer
|
17323
17409
|
# resp.instance_types[0].network_info.ipv_6_supported #=> Boolean
|
@@ -22541,6 +22627,7 @@ module Aws::EC2
|
|
22541
22627
|
# resp.spot_fleet_request_configs[0].create_time #=> Time
|
22542
22628
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.allocation_strategy #=> String, one of "lowestPrice", "diversified", "capacityOptimized"
|
22543
22629
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.on_demand_allocation_strategy #=> String, one of "lowestPrice", "prioritized"
|
22630
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_maintenance_strategies.capacity_rebalance.replacement_strategy #=> String, one of "launch"
|
22544
22631
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.client_token #=> String
|
22545
22632
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.excess_capacity_termination_policy #=> String, one of "noTermination", "default"
|
22546
22633
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.fulfilled_capacity #=> Float
|
@@ -23980,6 +24067,16 @@ module Aws::EC2
|
|
23980
24067
|
# `initiatingRequest` \| `modifying` \| `pendingAcceptance` \|
|
23981
24068
|
# `pending` \| `rollingBack` \| `rejected` \| `rejecting`).
|
23982
24069
|
#
|
24070
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
24071
|
+
# the resource. Use the tag key in the filter name and the tag value
|
24072
|
+
# as the filter value. For example, to find all resources that have a
|
24073
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
24074
|
+
# for the filter name and `TeamA` for the filter value.
|
24075
|
+
#
|
24076
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
24077
|
+
# filter to find all resources that have a tag with a specific key,
|
24078
|
+
# regardless of the tag value.
|
24079
|
+
#
|
23983
24080
|
# * `transit-gateway-id` - The ID of the transit gateway.
|
23984
24081
|
#
|
23985
24082
|
# @option params [Integer] :max_results
|
@@ -25333,6 +25430,8 @@ module Aws::EC2
|
|
25333
25430
|
# resp.vpc_endpoint_connections[0].dns_entries[0].hosted_zone_id #=> String
|
25334
25431
|
# resp.vpc_endpoint_connections[0].network_load_balancer_arns #=> Array
|
25335
25432
|
# resp.vpc_endpoint_connections[0].network_load_balancer_arns[0] #=> String
|
25433
|
+
# resp.vpc_endpoint_connections[0].gateway_load_balancer_arns #=> Array
|
25434
|
+
# resp.vpc_endpoint_connections[0].gateway_load_balancer_arns[0] #=> String
|
25336
25435
|
# resp.next_token #=> String
|
25337
25436
|
#
|
25338
25437
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnections AWS API Documentation
|
@@ -25412,7 +25511,7 @@ module Aws::EC2
|
|
25412
25511
|
#
|
25413
25512
|
# resp.service_configurations #=> Array
|
25414
25513
|
# resp.service_configurations[0].service_type #=> Array
|
25415
|
-
# resp.service_configurations[0].service_type[0].service_type #=> String, one of "Interface", "Gateway"
|
25514
|
+
# resp.service_configurations[0].service_type[0].service_type #=> String, one of "Interface", "Gateway", "GatewayLoadBalancer"
|
25416
25515
|
# resp.service_configurations[0].service_id #=> String
|
25417
25516
|
# resp.service_configurations[0].service_name #=> String
|
25418
25517
|
# resp.service_configurations[0].service_state #=> String, one of "Pending", "Available", "Deleting", "Deleted", "Failed"
|
@@ -25422,6 +25521,8 @@ module Aws::EC2
|
|
25422
25521
|
# resp.service_configurations[0].manages_vpc_endpoints #=> Boolean
|
25423
25522
|
# resp.service_configurations[0].network_load_balancer_arns #=> Array
|
25424
25523
|
# resp.service_configurations[0].network_load_balancer_arns[0] #=> String
|
25524
|
+
# resp.service_configurations[0].gateway_load_balancer_arns #=> Array
|
25525
|
+
# resp.service_configurations[0].gateway_load_balancer_arns[0] #=> String
|
25425
25526
|
# resp.service_configurations[0].base_endpoint_dns_names #=> Array
|
25426
25527
|
# resp.service_configurations[0].base_endpoint_dns_names[0] #=> String
|
25427
25528
|
# resp.service_configurations[0].private_dns_name #=> String
|
@@ -25513,6 +25614,14 @@ module Aws::EC2
|
|
25513
25614
|
|
25514
25615
|
# Describes available services to which you can create a VPC endpoint.
|
25515
25616
|
#
|
25617
|
+
# When the service provider and the consumer have different accounts
|
25618
|
+
# multiple Availability Zones, and the consumer views the VPC endpoint
|
25619
|
+
# service information, the response only includes the common
|
25620
|
+
# Availability Zones. For example, when the service provider account
|
25621
|
+
# uses `us-east-1a` and `us-east-1c` and the consumer uses `us-east-1a`
|
25622
|
+
# and us-east-1a and us-east-1b, the response includes the VPC endpoint
|
25623
|
+
# services in the common Availability Zone, `us-east-1a`.
|
25624
|
+
#
|
25516
25625
|
# @option params [Boolean] :dry_run
|
25517
25626
|
# Checks whether you have the required permissions for the action,
|
25518
25627
|
# without actually making the request, and provides an error response.
|
@@ -25578,7 +25687,7 @@ module Aws::EC2
|
|
25578
25687
|
# resp.service_details[0].service_name #=> String
|
25579
25688
|
# resp.service_details[0].service_id #=> String
|
25580
25689
|
# resp.service_details[0].service_type #=> Array
|
25581
|
-
# resp.service_details[0].service_type[0].service_type #=> String, one of "Interface", "Gateway"
|
25690
|
+
# resp.service_details[0].service_type[0].service_type #=> String, one of "Interface", "Gateway", "GatewayLoadBalancer"
|
25582
25691
|
# resp.service_details[0].availability_zones #=> Array
|
25583
25692
|
# resp.service_details[0].availability_zones[0] #=> String
|
25584
25693
|
# resp.service_details[0].owner #=> String
|
@@ -25627,6 +25736,9 @@ module Aws::EC2
|
|
25627
25736
|
# (`pendingAcceptance` \| `pending` \| `available` \| `deleting` \|
|
25628
25737
|
# `deleted` \| `rejected` \| `failed`).
|
25629
25738
|
#
|
25739
|
+
# * `vpc-endpoint-type` - The type of VPC endpoint (`Interface` \|
|
25740
|
+
# `Gateway` \| `GatewayLoadBalancer`).
|
25741
|
+
#
|
25630
25742
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
25631
25743
|
# the resource. Use the tag key in the filter name and the tag value
|
25632
25744
|
# as the filter value. For example, to find all resources that have a
|
@@ -25675,7 +25787,7 @@ module Aws::EC2
|
|
25675
25787
|
#
|
25676
25788
|
# resp.vpc_endpoints #=> Array
|
25677
25789
|
# resp.vpc_endpoints[0].vpc_endpoint_id #=> String
|
25678
|
-
# resp.vpc_endpoints[0].vpc_endpoint_type #=> String, one of "Interface", "Gateway"
|
25790
|
+
# resp.vpc_endpoints[0].vpc_endpoint_type #=> String, one of "Interface", "Gateway", "GatewayLoadBalancer"
|
25679
25791
|
# resp.vpc_endpoints[0].vpc_id #=> String
|
25680
25792
|
# resp.vpc_endpoints[0].service_name #=> String
|
25681
25793
|
# resp.vpc_endpoints[0].state #=> String, one of "PendingAcceptance", "Pending", "Available", "Deleting", "Deleted", "Rejected", "Failed", "Expired"
|
@@ -26935,8 +27047,9 @@ module Aws::EC2
|
|
26935
27047
|
# removes the Amazon S3 object that contains the certificate,
|
26936
27048
|
# certificate chain, and encrypted private key from the Amazon S3
|
26937
27049
|
# bucket. It also revokes the IAM role's permission to use the AWS Key
|
26938
|
-
# Management Service (KMS) key used to encrypt the
|
26939
|
-
# effectively revokes the role's permission to use
|
27050
|
+
# Management Service (KMS) customer master key (CMK) used to encrypt the
|
27051
|
+
# private key. This effectively revokes the role's permission to use
|
27052
|
+
# the certificate.
|
26940
27053
|
#
|
26941
27054
|
# @option params [String] :certificate_arn
|
26942
27055
|
# The ARN of the ACM certificate from which to disassociate the IAM
|
@@ -27874,8 +27987,8 @@ module Aws::EC2
|
|
27874
27987
|
# Certificate Manager (ACM) certificate. It also returns the name of the
|
27875
27988
|
# Amazon S3 bucket and the Amazon S3 object key where the certificate,
|
27876
27989
|
# certificate chain, and encrypted private key bundle are stored, and
|
27877
|
-
# the ARN of the AWS Key Management Service (KMS)
|
27878
|
-
# encrypt the private key.
|
27990
|
+
# the ARN of the AWS Key Management Service (KMS) customer master key
|
27991
|
+
# (CMK) that's used to encrypt the private key.
|
27879
27992
|
#
|
27880
27993
|
# @option params [String] :certificate_arn
|
27881
27994
|
# The ARN of the ACM certificate for which to view the associated IAM
|
@@ -30197,6 +30310,10 @@ module Aws::EC2
|
|
30197
30310
|
# Specify whether to enable the self-service portal for the Client VPN
|
30198
30311
|
# endpoint.
|
30199
30312
|
#
|
30313
|
+
# @option params [Types::ClientConnectOptions] :client_connect_options
|
30314
|
+
# The options for managing connection authorization for new client
|
30315
|
+
# connections.
|
30316
|
+
#
|
30200
30317
|
# @return [Types::ModifyClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
30201
30318
|
#
|
30202
30319
|
# * {Types::ModifyClientVpnEndpointResult#return #return} => Boolean
|
@@ -30222,6 +30339,10 @@ module Aws::EC2
|
|
30222
30339
|
# security_group_ids: ["SecurityGroupId"],
|
30223
30340
|
# vpc_id: "VpcId",
|
30224
30341
|
# self_service_portal: "enabled", # accepts enabled, disabled
|
30342
|
+
# client_connect_options: {
|
30343
|
+
# enabled: false,
|
30344
|
+
# lambda_function_arn: "String",
|
30345
|
+
# },
|
30225
30346
|
# })
|
30226
30347
|
#
|
30227
30348
|
# @example Response structure
|
@@ -30327,15 +30448,15 @@ module Aws::EC2
|
|
30327
30448
|
#
|
30328
30449
|
# You can specify the CMK using any of the following:
|
30329
30450
|
#
|
30330
|
-
# * Key ID. For example,
|
30451
|
+
# * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
|
30331
30452
|
#
|
30332
30453
|
# * Key alias. For example, alias/ExampleAlias.
|
30333
30454
|
#
|
30334
30455
|
# * Key ARN. For example,
|
30335
|
-
# arn:aws:kms
|
30456
|
+
# arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
|
30336
30457
|
#
|
30337
30458
|
# * Alias ARN. For example,
|
30338
|
-
# arn:aws:kms
|
30459
|
+
# arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
30339
30460
|
#
|
30340
30461
|
# AWS authenticates the CMK asynchronously. Therefore, if you specify an
|
30341
30462
|
# ID, alias, or ARN that is not valid, the action can appear to
|
@@ -30424,7 +30545,7 @@ module Aws::EC2
|
|
30424
30545
|
# @option params [required, String] :fleet_id
|
30425
30546
|
# The ID of the EC2 Fleet.
|
30426
30547
|
#
|
30427
|
-
# @option params [
|
30548
|
+
# @option params [Types::TargetCapacitySpecificationRequest] :target_capacity_specification
|
30428
30549
|
# The size of the EC2 Fleet.
|
30429
30550
|
#
|
30430
30551
|
# @return [Types::ModifyFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -30466,7 +30587,7 @@ module Aws::EC2
|
|
30466
30587
|
# },
|
30467
30588
|
# ],
|
30468
30589
|
# fleet_id: "FleetId", # required
|
30469
|
-
# target_capacity_specification: {
|
30590
|
+
# target_capacity_specification: {
|
30470
30591
|
# total_target_capacity: 1, # required
|
30471
30592
|
# on_demand_target_capacity: 1,
|
30472
30593
|
# spot_target_capacity: 1,
|
@@ -32886,9 +33007,9 @@ module Aws::EC2
|
|
32886
33007
|
end
|
32887
33008
|
|
32888
33009
|
# Modifies attributes of a specified VPC endpoint. The attributes that
|
32889
|
-
# you can modify depend on the type of VPC endpoint (interface
|
32890
|
-
#
|
32891
|
-
# Virtual Private Cloud User Guide*.
|
33010
|
+
# you can modify depend on the type of VPC endpoint (interface, gateway,
|
33011
|
+
# or Gateway Load Balancer). For more information, see [VPC
|
33012
|
+
# Endpoints][1] in the *Amazon Virtual Private Cloud User Guide*.
|
32892
33013
|
#
|
32893
33014
|
#
|
32894
33015
|
#
|
@@ -32908,8 +33029,9 @@ module Aws::EC2
|
|
32908
33029
|
# default policy. The default policy allows full access to the service.
|
32909
33030
|
#
|
32910
33031
|
# @option params [String] :policy_document
|
32911
|
-
# A policy to attach to the endpoint
|
32912
|
-
# service. The policy must be in valid JSON
|
33032
|
+
# (Interface and gateway endpoints) A policy to attach to the endpoint
|
33033
|
+
# that controls access to the service. The policy must be in valid JSON
|
33034
|
+
# format.
|
32913
33035
|
#
|
32914
33036
|
# @option params [Array<String>] :add_route_table_ids
|
32915
33037
|
# (Gateway endpoint) One or more route tables IDs to associate with the
|
@@ -32920,8 +33042,9 @@ module Aws::EC2
|
|
32920
33042
|
# the endpoint.
|
32921
33043
|
#
|
32922
33044
|
# @option params [Array<String>] :add_subnet_ids
|
32923
|
-
# (Interface
|
32924
|
-
# endpoint.
|
33045
|
+
# (Interface and Gateway Load Balancer endpoints) One or more subnet IDs
|
33046
|
+
# in which to serve the endpoint. For a Gateway Load Balancer endpoint,
|
33047
|
+
# you can specify only one subnet.
|
32925
33048
|
#
|
32926
33049
|
# @option params [Array<String>] :remove_subnet_ids
|
32927
33050
|
# (Interface endpoint) One or more subnets IDs in which to remove the
|
@@ -33019,9 +33142,10 @@ module Aws::EC2
|
|
33019
33142
|
end
|
33020
33143
|
|
33021
33144
|
# Modifies the attributes of your VPC endpoint service configuration.
|
33022
|
-
# You can change the Network Load Balancers
|
33023
|
-
# can specify whether acceptance is required
|
33024
|
-
# your endpoint service through an interface
|
33145
|
+
# You can change the Network Load Balancers or Gateway Load Balancers
|
33146
|
+
# for your service, and you can specify whether acceptance is required
|
33147
|
+
# for requests to connect to your endpoint service through an interface
|
33148
|
+
# VPC endpoint.
|
33025
33149
|
#
|
33026
33150
|
# If you set or modify the private DNS name, you must prove that you own
|
33027
33151
|
# the private DNS domain name. For more information, see [VPC Endpoint
|
@@ -33042,10 +33166,12 @@ module Aws::EC2
|
|
33042
33166
|
# The ID of the service.
|
33043
33167
|
#
|
33044
33168
|
# @option params [String] :private_dns_name
|
33045
|
-
# The private DNS name to assign to
|
33169
|
+
# (Interface endpoint configuration) The private DNS name to assign to
|
33170
|
+
# the endpoint service.
|
33046
33171
|
#
|
33047
33172
|
# @option params [Boolean] :remove_private_dns_name
|
33048
|
-
# Removes the private DNS name of the
|
33173
|
+
# (Interface endpoint configuration) Removes the private DNS name of the
|
33174
|
+
# endpoint service.
|
33049
33175
|
#
|
33050
33176
|
# @option params [Boolean] :acceptance_required
|
33051
33177
|
# Indicates whether requests to create an endpoint to your service must
|
@@ -33059,6 +33185,14 @@ module Aws::EC2
|
|
33059
33185
|
# The Amazon Resource Names (ARNs) of Network Load Balancers to remove
|
33060
33186
|
# from your service configuration.
|
33061
33187
|
#
|
33188
|
+
# @option params [Array<String>] :add_gateway_load_balancer_arns
|
33189
|
+
# The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to
|
33190
|
+
# your service configuration.
|
33191
|
+
#
|
33192
|
+
# @option params [Array<String>] :remove_gateway_load_balancer_arns
|
33193
|
+
# The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove
|
33194
|
+
# from your service configuration.
|
33195
|
+
#
|
33062
33196
|
# @return [Types::ModifyVpcEndpointServiceConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
33063
33197
|
#
|
33064
33198
|
# * {Types::ModifyVpcEndpointServiceConfigurationResult#return #return} => Boolean
|
@@ -33073,6 +33207,8 @@ module Aws::EC2
|
|
33073
33207
|
# acceptance_required: false,
|
33074
33208
|
# add_network_load_balancer_arns: ["String"],
|
33075
33209
|
# remove_network_load_balancer_arns: ["String"],
|
33210
|
+
# add_gateway_load_balancer_arns: ["String"],
|
33211
|
+
# remove_gateway_load_balancer_arns: ["String"],
|
33076
33212
|
# })
|
33077
33213
|
#
|
33078
33214
|
# @example Response structure
|
@@ -35252,6 +35388,10 @@ module Aws::EC2
|
|
35252
35388
|
# If you have the required permissions, the error response is
|
35253
35389
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
35254
35390
|
#
|
35391
|
+
# @option params [String] :vpc_endpoint_id
|
35392
|
+
# The ID of a VPC endpoint. Supported for Gateway Load Balancer
|
35393
|
+
# endpoints only.
|
35394
|
+
#
|
35255
35395
|
# @option params [String] :egress_only_internet_gateway_id
|
35256
35396
|
# \[IPv6 traffic only\] The ID of an egress-only internet gateway.
|
35257
35397
|
#
|
@@ -35307,6 +35447,7 @@ module Aws::EC2
|
|
35307
35447
|
# destination_ipv_6_cidr_block: "String",
|
35308
35448
|
# destination_prefix_list_id: "PrefixListResourceId",
|
35309
35449
|
# dry_run: false,
|
35450
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
35310
35451
|
# egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
|
35311
35452
|
# gateway_id: "RouteGatewayId",
|
35312
35453
|
# instance_id: "InstanceId",
|
@@ -35741,6 +35882,11 @@ module Aws::EC2
|
|
35741
35882
|
# spot_fleet_request_config: { # required
|
35742
35883
|
# allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized
|
35743
35884
|
# on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
|
35885
|
+
# spot_maintenance_strategies: {
|
35886
|
+
# capacity_rebalance: {
|
35887
|
+
# replacement_strategy: "launch", # accepts launch
|
35888
|
+
# },
|
35889
|
+
# },
|
35744
35890
|
# client_token: "String",
|
35745
35891
|
# excess_capacity_termination_policy: "noTermination", # accepts noTermination, default
|
35746
35892
|
# fulfilled_capacity: 1.0,
|
@@ -37429,18 +37575,15 @@ module Aws::EC2
|
|
37429
37575
|
#
|
37430
37576
|
# @option params [Types::EnclaveOptionsRequest] :enclave_options
|
37431
37577
|
# Indicates whether the instance is enabled for AWS Nitro Enclaves. For
|
37432
|
-
# more information, see [ AWS Nitro Enclaves][1] in the *
|
37433
|
-
#
|
37578
|
+
# more information, see [ What is AWS Nitro Enclaves?][1] in the *AWS
|
37579
|
+
# Nitro Enclaves User Guide*.
|
37434
37580
|
#
|
37435
37581
|
# You can't enable AWS Nitro Enclaves and hibernation on the same
|
37436
|
-
# instance.
|
37437
|
-
# see [ AWS Nitro Enclaves][2] in the *Amazon Elastic Compute Cloud User
|
37438
|
-
# Guide*.
|
37582
|
+
# instance.
|
37439
37583
|
#
|
37440
37584
|
#
|
37441
37585
|
#
|
37442
|
-
# [1]: https://docs.aws.amazon.com/
|
37443
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html#nitro-enclave-reqs
|
37586
|
+
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
|
37444
37587
|
#
|
37445
37588
|
# @return [Types::Reservation] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
37446
37589
|
#
|
@@ -38399,7 +38542,7 @@ module Aws::EC2
|
|
38399
38542
|
#
|
38400
38543
|
#
|
38401
38544
|
#
|
38402
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
38545
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-services-dns-validation.html#add-dns-txt-record
|
38403
38546
|
#
|
38404
38547
|
# @option params [Boolean] :dry_run
|
38405
38548
|
# Checks whether you have the required permissions for the action,
|
@@ -39141,7 +39284,7 @@ module Aws::EC2
|
|
39141
39284
|
params: params,
|
39142
39285
|
config: config)
|
39143
39286
|
context[:gem_name] = 'aws-sdk-ec2'
|
39144
|
-
context[:gem_version] = '1.
|
39287
|
+
context[:gem_version] = '1.210.0'
|
39145
39288
|
Seahorse::Client::Request.new(handlers, context)
|
39146
39289
|
end
|
39147
39290
|
|