aws-sdk-ec2 1.85.0 → 1.86.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 +62 -29
- data/lib/aws-sdk-ec2/client_api.rb +3 -0
- data/lib/aws-sdk-ec2/resource.rb +19 -20
- data/lib/aws-sdk-ec2/subnet.rb +9 -12
- data/lib/aws-sdk-ec2/types.rb +108 -48
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cee1fcb9ada1759eb0f2bda37de5b0398eb2ccb2
|
4
|
+
data.tar.gz: 5e259b673ef3246e27b3b6d8fad960b0783fc131
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae60eac47791c687a71bc190b8c52826f1ccbaa062ba0caa448b2f4669004782a17f68e9fa558c0160e630a1453807f5564b15ad9d6b6ad0aa6645cdae5b5ab6
|
7
|
+
data.tar.gz: 5850a8b83446da5f7efcca472b1017d02d8ccbf19c2dc05842d34cca1eebc5e31f91f1f9247b1e0489d30255b7ebd4e1dc1cc212e16a116ab046ab3fc3b4d0ae
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -1063,6 +1063,18 @@ module Aws::EC2
|
|
1063
1063
|
# @option params [required, String] :subnet_id
|
1064
1064
|
# The ID of the subnet to associate with the Client VPN endpoint.
|
1065
1065
|
#
|
1066
|
+
# @option params [String] :client_token
|
1067
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
1068
|
+
# idempotency of the request. For more information, see [How to Ensure
|
1069
|
+
# Idempotency][1].
|
1070
|
+
#
|
1071
|
+
# **A suitable default value is auto-generated.** You should normally
|
1072
|
+
# not need to pass this option.**
|
1073
|
+
#
|
1074
|
+
#
|
1075
|
+
#
|
1076
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
1077
|
+
#
|
1066
1078
|
# @option params [Boolean] :dry_run
|
1067
1079
|
# Checks whether you have the required permissions for the action,
|
1068
1080
|
# without actually making the request, and provides an error response.
|
@@ -1079,6 +1091,7 @@ module Aws::EC2
|
|
1079
1091
|
# resp = client.associate_client_vpn_target_network({
|
1080
1092
|
# client_vpn_endpoint_id: "String", # required
|
1081
1093
|
# subnet_id: "String", # required
|
1094
|
+
# client_token: "String",
|
1082
1095
|
# dry_run: false,
|
1083
1096
|
# })
|
1084
1097
|
#
|
@@ -1785,6 +1798,18 @@ module Aws::EC2
|
|
1785
1798
|
# @option params [String] :description
|
1786
1799
|
# A brief description of the authorization rule.
|
1787
1800
|
#
|
1801
|
+
# @option params [String] :client_token
|
1802
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
1803
|
+
# idempotency of the request. For more information, see [How to Ensure
|
1804
|
+
# Idempotency][1].
|
1805
|
+
#
|
1806
|
+
# **A suitable default value is auto-generated.** You should normally
|
1807
|
+
# not need to pass this option.**
|
1808
|
+
#
|
1809
|
+
#
|
1810
|
+
#
|
1811
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
1812
|
+
#
|
1788
1813
|
# @option params [Boolean] :dry_run
|
1789
1814
|
# Checks whether you have the required permissions for the action,
|
1790
1815
|
# without actually making the request, and provides an error response.
|
@@ -1803,6 +1828,7 @@ module Aws::EC2
|
|
1803
1828
|
# access_group_id: "String",
|
1804
1829
|
# authorize_all_groups: false,
|
1805
1830
|
# description: "String",
|
1831
|
+
# client_token: "String",
|
1806
1832
|
# dry_run: false,
|
1807
1833
|
# })
|
1808
1834
|
#
|
@@ -2890,11 +2916,6 @@ module Aws::EC2
|
|
2890
2916
|
#
|
2891
2917
|
# * Key ID
|
2892
2918
|
#
|
2893
|
-
# * Key alias. The alias ARN contains the `arn:aws:kms` namespace,
|
2894
|
-
# followed by the Region of the CMK, the AWS account ID of the CMK
|
2895
|
-
# owner, the `alias` namespace, and then the CMK alias. For example,
|
2896
|
-
# arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
|
2897
|
-
#
|
2898
2919
|
# * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
|
2899
2920
|
# followed by the Region of the CMK, the AWS account ID of the CMK
|
2900
2921
|
# owner, the `key` namespace, and then the CMK ID. For example,
|
@@ -3423,8 +3444,8 @@ module Aws::EC2
|
|
3423
3444
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3424
3445
|
#
|
3425
3446
|
# @option params [String] :client_token
|
3426
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
3427
|
-
# idempotency of the request. For more information, see [
|
3447
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
3448
|
+
# idempotency of the request. For more information, see [How to Ensure
|
3428
3449
|
# Idempotency][1].
|
3429
3450
|
#
|
3430
3451
|
# **A suitable default value is auto-generated.** You should normally
|
@@ -3432,7 +3453,7 @@ module Aws::EC2
|
|
3432
3453
|
#
|
3433
3454
|
#
|
3434
3455
|
#
|
3435
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/
|
3456
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
3436
3457
|
#
|
3437
3458
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
3438
3459
|
# The tags to apply to the Client VPN endpoint during creation.
|
@@ -3529,6 +3550,18 @@ module Aws::EC2
|
|
3529
3550
|
# @option params [String] :description
|
3530
3551
|
# A brief description of the route.
|
3531
3552
|
#
|
3553
|
+
# @option params [String] :client_token
|
3554
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
3555
|
+
# idempotency of the request. For more information, see [How to Ensure
|
3556
|
+
# Idempotency][1].
|
3557
|
+
#
|
3558
|
+
# **A suitable default value is auto-generated.** You should normally
|
3559
|
+
# not need to pass this option.**
|
3560
|
+
#
|
3561
|
+
#
|
3562
|
+
#
|
3563
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
3564
|
+
#
|
3532
3565
|
# @option params [Boolean] :dry_run
|
3533
3566
|
# Checks whether you have the required permissions for the action,
|
3534
3567
|
# without actually making the request, and provides an error response.
|
@@ -3546,6 +3579,7 @@ module Aws::EC2
|
|
3546
3579
|
# destination_cidr_block: "String", # required
|
3547
3580
|
# target_vpc_subnet_id: "String", # required
|
3548
3581
|
# description: "String",
|
3582
|
+
# client_token: "String",
|
3549
3583
|
# dry_run: false,
|
3550
3584
|
# })
|
3551
3585
|
#
|
@@ -5673,12 +5707,12 @@ module Aws::EC2
|
|
5673
5707
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
5674
5708
|
#
|
5675
5709
|
# @option params [String] :interface_type
|
5676
|
-
# Indicates
|
5677
|
-
# (EFA)
|
5678
|
-
#
|
5679
|
-
# Compute Cloud User Guide*.
|
5710
|
+
# Indicates the type of network interface. To create an Elastic Fabric
|
5711
|
+
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
5712
|
+
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
5680
5713
|
#
|
5681
|
-
# If you are not creating an EFA
|
5714
|
+
# If you are not creating an EFA, specify `interface` or omit this
|
5715
|
+
# parameter.
|
5682
5716
|
#
|
5683
5717
|
#
|
5684
5718
|
#
|
@@ -7115,18 +7149,20 @@ module Aws::EC2
|
|
7115
7149
|
# currently available to you.
|
7116
7150
|
#
|
7117
7151
|
# @option params [Boolean] :encrypted
|
7118
|
-
# Specifies
|
7119
|
-
#
|
7120
|
-
#
|
7121
|
-
#
|
7122
|
-
#
|
7123
|
-
#
|
7124
|
-
#
|
7125
|
-
#
|
7152
|
+
# Specifies the encryption state of the volume. The default effect of
|
7153
|
+
# setting this parameter depends on the volume's source and ownership.
|
7154
|
+
# Each default case can be overridden by specifying a customer master
|
7155
|
+
# key (CMK) with the `KeyKeyId` parameter. For a complete list of
|
7156
|
+
# possible encryption cases, see [Amazon EBS Encryption][1].
|
7157
|
+
#
|
7158
|
+
# Encrypted Amazon EBS volumes may only be attached to instances that
|
7159
|
+
# support Amazon EBS encryption. For more information, see [Supported
|
7160
|
+
# Instance Types][2].
|
7126
7161
|
#
|
7127
7162
|
#
|
7128
7163
|
#
|
7129
7164
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
|
7165
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
|
7130
7166
|
#
|
7131
7167
|
# @option params [Integer] :iops
|
7132
7168
|
# The number of I/O operations per second (IOPS) to provision for the
|
@@ -28600,8 +28636,9 @@ module Aws::EC2
|
|
28600
28636
|
# status.
|
28601
28637
|
#
|
28602
28638
|
# @option params [String] :image_id
|
28603
|
-
# The ID of the AMI
|
28604
|
-
# be specified here or in
|
28639
|
+
# The ID of the AMI, which you can get by calling DescribeImages. An AMI
|
28640
|
+
# ID is required to launch an instance and must be specified here or in
|
28641
|
+
# a launch template.
|
28605
28642
|
#
|
28606
28643
|
# @option params [String] :instance_type
|
28607
28644
|
# The instance type. For more information, see [Instance Types][1] in
|
@@ -28764,16 +28801,12 @@ module Aws::EC2
|
|
28764
28801
|
# If you set this parameter to `true`, you can't terminate the instance
|
28765
28802
|
# using the Amazon EC2 console, CLI, or API; otherwise, you can. To
|
28766
28803
|
# change this attribute to `false` after launch, use
|
28767
|
-
#
|
28804
|
+
# ModifyInstanceAttribute. Alternatively, if you set
|
28768
28805
|
# `InstanceInitiatedShutdownBehavior` to `terminate`, you can terminate
|
28769
28806
|
# the instance by running the shutdown command from the instance.
|
28770
28807
|
#
|
28771
28808
|
# Default: `false`
|
28772
28809
|
#
|
28773
|
-
#
|
28774
|
-
#
|
28775
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
|
28776
|
-
#
|
28777
28810
|
# @option params [Boolean] :dry_run
|
28778
28811
|
# Checks whether you have the required permissions for the action,
|
28779
28812
|
# without actually making the request, and provides an error response.
|
@@ -30313,7 +30346,7 @@ module Aws::EC2
|
|
30313
30346
|
params: params,
|
30314
30347
|
config: config)
|
30315
30348
|
context[:gem_name] = 'aws-sdk-ec2'
|
30316
|
-
context[:gem_version] = '1.
|
30349
|
+
context[:gem_version] = '1.86.0'
|
30317
30350
|
Seahorse::Client::Request.new(handlers, context)
|
30318
30351
|
end
|
30319
30352
|
|
@@ -1616,6 +1616,7 @@ module Aws::EC2
|
|
1616
1616
|
|
1617
1617
|
AssociateClientVpnTargetNetworkRequest.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClientVpnEndpointId"))
|
1618
1618
|
AssociateClientVpnTargetNetworkRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SubnetId"))
|
1619
|
+
AssociateClientVpnTargetNetworkRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
1619
1620
|
AssociateClientVpnTargetNetworkRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
1620
1621
|
AssociateClientVpnTargetNetworkRequest.struct_class = Types::AssociateClientVpnTargetNetworkRequest
|
1621
1622
|
|
@@ -1739,6 +1740,7 @@ module Aws::EC2
|
|
1739
1740
|
AuthorizeClientVpnIngressRequest.add_member(:access_group_id, Shapes::ShapeRef.new(shape: String, location_name: "AccessGroupId"))
|
1740
1741
|
AuthorizeClientVpnIngressRequest.add_member(:authorize_all_groups, Shapes::ShapeRef.new(shape: Boolean, location_name: "AuthorizeAllGroups"))
|
1741
1742
|
AuthorizeClientVpnIngressRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
1743
|
+
AuthorizeClientVpnIngressRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
1742
1744
|
AuthorizeClientVpnIngressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
1743
1745
|
AuthorizeClientVpnIngressRequest.struct_class = Types::AuthorizeClientVpnIngressRequest
|
1744
1746
|
|
@@ -2199,6 +2201,7 @@ module Aws::EC2
|
|
2199
2201
|
CreateClientVpnRouteRequest.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DestinationCidrBlock"))
|
2200
2202
|
CreateClientVpnRouteRequest.add_member(:target_vpc_subnet_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetVpcSubnetId"))
|
2201
2203
|
CreateClientVpnRouteRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
2204
|
+
CreateClientVpnRouteRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
2202
2205
|
CreateClientVpnRouteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
2203
2206
|
CreateClientVpnRouteRequest.struct_class = Types::CreateClientVpnRouteRequest
|
2204
2207
|
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -201,8 +201,9 @@ module Aws::EC2
|
|
201
201
|
# not blank and its encryption status is used for the volume encryption
|
202
202
|
# status.
|
203
203
|
# @option options [String] :image_id
|
204
|
-
# The ID of the AMI
|
205
|
-
# be specified here or in
|
204
|
+
# The ID of the AMI, which you can get by calling DescribeImages. An AMI
|
205
|
+
# ID is required to launch an instance and must be specified here or in
|
206
|
+
# a launch template.
|
206
207
|
# @option options [String] :instance_type
|
207
208
|
# The instance type. For more information, see [Instance Types][1] in
|
208
209
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
@@ -348,15 +349,11 @@ module Aws::EC2
|
|
348
349
|
# If you set this parameter to `true`, you can't terminate the instance
|
349
350
|
# using the Amazon EC2 console, CLI, or API; otherwise, you can. To
|
350
351
|
# change this attribute to `false` after launch, use
|
351
|
-
#
|
352
|
+
# ModifyInstanceAttribute. Alternatively, if you set
|
352
353
|
# `InstanceInitiatedShutdownBehavior` to `terminate`, you can terminate
|
353
354
|
# the instance by running the shutdown command from the instance.
|
354
355
|
#
|
355
356
|
# Default: `false`
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
|
360
357
|
# @option options [Boolean] :dry_run
|
361
358
|
# Checks whether you have the required permissions for the action,
|
362
359
|
# without actually making the request, and provides an error response.
|
@@ -619,12 +616,12 @@ module Aws::EC2
|
|
619
616
|
#
|
620
617
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
621
618
|
# @option options [String] :interface_type
|
622
|
-
# Indicates
|
623
|
-
# (EFA)
|
624
|
-
#
|
625
|
-
# Compute Cloud User Guide*.
|
619
|
+
# Indicates the type of network interface. To create an Elastic Fabric
|
620
|
+
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
621
|
+
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
626
622
|
#
|
627
|
-
# If you are not creating an EFA
|
623
|
+
# If you are not creating an EFA, specify `interface` or omit this
|
624
|
+
# parameter.
|
628
625
|
#
|
629
626
|
#
|
630
627
|
#
|
@@ -885,18 +882,20 @@ module Aws::EC2
|
|
885
882
|
# DescribeAvailabilityZones to list the Availability Zones that are
|
886
883
|
# currently available to you.
|
887
884
|
# @option options [Boolean] :encrypted
|
888
|
-
# Specifies
|
889
|
-
#
|
890
|
-
#
|
891
|
-
#
|
892
|
-
#
|
893
|
-
#
|
894
|
-
#
|
895
|
-
#
|
885
|
+
# Specifies the encryption state of the volume. The default effect of
|
886
|
+
# setting this parameter depends on the volume's source and ownership.
|
887
|
+
# Each default case can be overridden by specifying a customer master
|
888
|
+
# key (CMK) with the `KeyKeyId` parameter. For a complete list of
|
889
|
+
# possible encryption cases, see [Amazon EBS Encryption][1].
|
890
|
+
#
|
891
|
+
# Encrypted Amazon EBS volumes may only be attached to instances that
|
892
|
+
# support Amazon EBS encryption. For more information, see [Supported
|
893
|
+
# Instance Types][2].
|
896
894
|
#
|
897
895
|
#
|
898
896
|
#
|
899
897
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
|
898
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
|
900
899
|
# @option options [Integer] :iops
|
901
900
|
# The number of I/O operations per second (IOPS) to provision for the
|
902
901
|
# volume, with a maximum ratio of 50 IOPS/GiB. Range is 100 to 64,000
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -396,8 +396,9 @@ module Aws::EC2
|
|
396
396
|
# not blank and its encryption status is used for the volume encryption
|
397
397
|
# status.
|
398
398
|
# @option options [String] :image_id
|
399
|
-
# The ID of the AMI
|
400
|
-
# be specified here or in
|
399
|
+
# The ID of the AMI, which you can get by calling DescribeImages. An AMI
|
400
|
+
# ID is required to launch an instance and must be specified here or in
|
401
|
+
# a launch template.
|
401
402
|
# @option options [String] :instance_type
|
402
403
|
# The instance type. For more information, see [Instance Types][1] in
|
403
404
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
@@ -538,15 +539,11 @@ module Aws::EC2
|
|
538
539
|
# If you set this parameter to `true`, you can't terminate the instance
|
539
540
|
# using the Amazon EC2 console, CLI, or API; otherwise, you can. To
|
540
541
|
# change this attribute to `false` after launch, use
|
541
|
-
#
|
542
|
+
# ModifyInstanceAttribute. Alternatively, if you set
|
542
543
|
# `InstanceInitiatedShutdownBehavior` to `terminate`, you can terminate
|
543
544
|
# the instance by running the shutdown command from the instance.
|
544
545
|
#
|
545
546
|
# Default: `false`
|
546
|
-
#
|
547
|
-
#
|
548
|
-
#
|
549
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
|
550
547
|
# @option options [Boolean] :dry_run
|
551
548
|
# Checks whether you have the required permissions for the action,
|
552
549
|
# without actually making the request, and provides an error response.
|
@@ -738,12 +735,12 @@ module Aws::EC2
|
|
738
735
|
#
|
739
736
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
740
737
|
# @option options [String] :interface_type
|
741
|
-
# Indicates
|
742
|
-
# (EFA)
|
743
|
-
#
|
744
|
-
# Compute Cloud User Guide*.
|
738
|
+
# Indicates the type of network interface. To create an Elastic Fabric
|
739
|
+
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
740
|
+
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
745
741
|
#
|
746
|
-
# If you are not creating an EFA
|
742
|
+
# If you are not creating an EFA, specify `interface` or omit this
|
743
|
+
# parameter.
|
747
744
|
#
|
748
745
|
#
|
749
746
|
#
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -774,6 +774,7 @@ module Aws::EC2
|
|
774
774
|
# {
|
775
775
|
# client_vpn_endpoint_id: "String", # required
|
776
776
|
# subnet_id: "String", # required
|
777
|
+
# client_token: "String",
|
777
778
|
# dry_run: false,
|
778
779
|
# }
|
779
780
|
#
|
@@ -785,6 +786,19 @@ module Aws::EC2
|
|
785
786
|
# The ID of the subnet to associate with the Client VPN endpoint.
|
786
787
|
# @return [String]
|
787
788
|
#
|
789
|
+
# @!attribute [rw] client_token
|
790
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
791
|
+
# idempotency of the request. For more information, see [How to Ensure
|
792
|
+
# Idempotency][1].
|
793
|
+
#
|
794
|
+
# **A suitable default value is auto-generated.** You should normally
|
795
|
+
# not need to pass this option.
|
796
|
+
#
|
797
|
+
#
|
798
|
+
#
|
799
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
800
|
+
# @return [String]
|
801
|
+
#
|
788
802
|
# @!attribute [rw] dry_run
|
789
803
|
# Checks whether you have the required permissions for the action,
|
790
804
|
# without actually making the request, and provides an error response.
|
@@ -797,6 +811,7 @@ module Aws::EC2
|
|
797
811
|
class AssociateClientVpnTargetNetworkRequest < Struct.new(
|
798
812
|
:client_vpn_endpoint_id,
|
799
813
|
:subnet_id,
|
814
|
+
:client_token,
|
800
815
|
:dry_run)
|
801
816
|
include Aws::Structure
|
802
817
|
end
|
@@ -1431,6 +1446,7 @@ module Aws::EC2
|
|
1431
1446
|
# access_group_id: "String",
|
1432
1447
|
# authorize_all_groups: false,
|
1433
1448
|
# description: "String",
|
1449
|
+
# client_token: "String",
|
1434
1450
|
# dry_run: false,
|
1435
1451
|
# }
|
1436
1452
|
#
|
@@ -1457,6 +1473,19 @@ module Aws::EC2
|
|
1457
1473
|
# A brief description of the authorization rule.
|
1458
1474
|
# @return [String]
|
1459
1475
|
#
|
1476
|
+
# @!attribute [rw] client_token
|
1477
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
1478
|
+
# idempotency of the request. For more information, see [How to Ensure
|
1479
|
+
# Idempotency][1].
|
1480
|
+
#
|
1481
|
+
# **A suitable default value is auto-generated.** You should normally
|
1482
|
+
# not need to pass this option.
|
1483
|
+
#
|
1484
|
+
#
|
1485
|
+
#
|
1486
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
1487
|
+
# @return [String]
|
1488
|
+
#
|
1460
1489
|
# @!attribute [rw] dry_run
|
1461
1490
|
# Checks whether you have the required permissions for the action,
|
1462
1491
|
# without actually making the request, and provides an error response.
|
@@ -1472,6 +1501,7 @@ module Aws::EC2
|
|
1472
1501
|
:access_group_id,
|
1473
1502
|
:authorize_all_groups,
|
1474
1503
|
:description,
|
1504
|
+
:client_token,
|
1475
1505
|
:dry_run)
|
1476
1506
|
include Aws::Structure
|
1477
1507
|
end
|
@@ -3655,11 +3685,6 @@ module Aws::EC2
|
|
3655
3685
|
#
|
3656
3686
|
# * Key ID
|
3657
3687
|
#
|
3658
|
-
# * Key alias. The alias ARN contains the `arn:aws:kms` namespace,
|
3659
|
-
# followed by the Region of the CMK, the AWS account ID of the CMK
|
3660
|
-
# owner, the `alias` namespace, and then the CMK alias. For example,
|
3661
|
-
# arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
|
3662
|
-
#
|
3663
3688
|
# * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
|
3664
3689
|
# followed by the Region of the CMK, the AWS account ID of the CMK
|
3665
3690
|
# owner, the `key` namespace, and then the CMK ID. For example,
|
@@ -4197,16 +4222,16 @@ module Aws::EC2
|
|
4197
4222
|
# @return [Boolean]
|
4198
4223
|
#
|
4199
4224
|
# @!attribute [rw] client_token
|
4200
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
4201
|
-
# idempotency of the request. For more information, see [
|
4202
|
-
#
|
4225
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
4226
|
+
# idempotency of the request. For more information, see [How to Ensure
|
4227
|
+
# Idempotency][1].
|
4203
4228
|
#
|
4204
4229
|
# **A suitable default value is auto-generated.** You should normally
|
4205
4230
|
# not need to pass this option.
|
4206
4231
|
#
|
4207
4232
|
#
|
4208
4233
|
#
|
4209
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/
|
4234
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
4210
4235
|
# @return [String]
|
4211
4236
|
#
|
4212
4237
|
# @!attribute [rw] tag_specifications
|
@@ -4259,6 +4284,7 @@ module Aws::EC2
|
|
4259
4284
|
# destination_cidr_block: "String", # required
|
4260
4285
|
# target_vpc_subnet_id: "String", # required
|
4261
4286
|
# description: "String",
|
4287
|
+
# client_token: "String",
|
4262
4288
|
# dry_run: false,
|
4263
4289
|
# }
|
4264
4290
|
#
|
@@ -4292,6 +4318,19 @@ module Aws::EC2
|
|
4292
4318
|
# A brief description of the route.
|
4293
4319
|
# @return [String]
|
4294
4320
|
#
|
4321
|
+
# @!attribute [rw] client_token
|
4322
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
4323
|
+
# idempotency of the request. For more information, see [How to Ensure
|
4324
|
+
# Idempotency][1].
|
4325
|
+
#
|
4326
|
+
# **A suitable default value is auto-generated.** You should normally
|
4327
|
+
# not need to pass this option.
|
4328
|
+
#
|
4329
|
+
#
|
4330
|
+
#
|
4331
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
4332
|
+
# @return [String]
|
4333
|
+
#
|
4295
4334
|
# @!attribute [rw] dry_run
|
4296
4335
|
# Checks whether you have the required permissions for the action,
|
4297
4336
|
# without actually making the request, and provides an error response.
|
@@ -4306,6 +4345,7 @@ module Aws::EC2
|
|
4306
4345
|
:destination_cidr_block,
|
4307
4346
|
:target_vpc_subnet_id,
|
4308
4347
|
:description,
|
4348
|
+
:client_token,
|
4309
4349
|
:dry_run)
|
4310
4350
|
include Aws::Structure
|
4311
4351
|
end
|
@@ -5984,12 +6024,12 @@ module Aws::EC2
|
|
5984
6024
|
# @return [Integer]
|
5985
6025
|
#
|
5986
6026
|
# @!attribute [rw] interface_type
|
5987
|
-
# Indicates
|
5988
|
-
# (EFA)
|
5989
|
-
#
|
5990
|
-
# Compute Cloud User Guide*.
|
6027
|
+
# Indicates the type of network interface. To create an Elastic Fabric
|
6028
|
+
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
6029
|
+
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
5991
6030
|
#
|
5992
|
-
# If you are not creating an EFA
|
6031
|
+
# If you are not creating an EFA, specify `interface` or omit this
|
6032
|
+
# parameter.
|
5993
6033
|
#
|
5994
6034
|
#
|
5995
6035
|
#
|
@@ -6930,18 +6970,21 @@ module Aws::EC2
|
|
6930
6970
|
# @return [String]
|
6931
6971
|
#
|
6932
6972
|
# @!attribute [rw] encrypted
|
6933
|
-
# Specifies
|
6934
|
-
#
|
6935
|
-
#
|
6936
|
-
#
|
6937
|
-
#
|
6938
|
-
#
|
6939
|
-
#
|
6940
|
-
#
|
6973
|
+
# Specifies the encryption state of the volume. The default effect of
|
6974
|
+
# setting this parameter depends on the volume's source and
|
6975
|
+
# ownership. Each default case can be overridden by specifying a
|
6976
|
+
# customer master key (CMK) with the `KeyKeyId` parameter. For a
|
6977
|
+
# complete list of possible encryption cases, see [Amazon EBS
|
6978
|
+
# Encryption][1].
|
6979
|
+
#
|
6980
|
+
# Encrypted Amazon EBS volumes may only be attached to instances that
|
6981
|
+
# support Amazon EBS encryption. For more information, see [Supported
|
6982
|
+
# Instance Types][2].
|
6941
6983
|
#
|
6942
6984
|
#
|
6943
6985
|
#
|
6944
6986
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
|
6987
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
|
6945
6988
|
# @return [Boolean]
|
6946
6989
|
#
|
6947
6990
|
# @!attribute [rw] iops
|
@@ -18446,9 +18489,11 @@ module Aws::EC2
|
|
18446
18489
|
# Cloud User Guide*.
|
18447
18490
|
#
|
18448
18491
|
# Constraints: Range is 100-16,000 IOPS for `gp2` volumes and 100 to
|
18449
|
-
# 64,000IOPS for `io1` volumes
|
18450
|
-
#
|
18451
|
-
#
|
18492
|
+
# 64,000IOPS for `io1` volumes in most Regions. Maximum `io1`IOPS of
|
18493
|
+
# 64,000 is guaranteed only on [Nitro-based instances][2]. Other
|
18494
|
+
# instance families guarantee performance up to 32,000 IOPS. For more
|
18495
|
+
# information, see [Amazon EBS Volume Types][1] in the *Amazon Elastic
|
18496
|
+
# Compute Cloud User Guide*.
|
18452
18497
|
#
|
18453
18498
|
# Condition: This parameter is required for requests to create `io1`
|
18454
18499
|
# volumes; it is not used in requests to create `gp2`, `st1`, `sc1`,
|
@@ -18485,16 +18530,25 @@ module Aws::EC2
|
|
18485
18530
|
# @return [String]
|
18486
18531
|
#
|
18487
18532
|
# @!attribute [rw] encrypted
|
18488
|
-
# Indicates whether the EBS volume is
|
18489
|
-
#
|
18533
|
+
# Indicates whether the encryption state of an EBS volume is to be
|
18534
|
+
# changed while being restored from a backing snapshot. The default
|
18535
|
+
# effect of setting this parameter to `true` or leaving it unset
|
18536
|
+
# depends on the origin, starting encryption state, and ownership of
|
18537
|
+
# the volume. Each default case can be overridden by specifying a
|
18538
|
+
# customer master key (CMK) as argument to the `KmsKeyId` parameter in
|
18539
|
+
# addition to setting `Encrypted` = `true`. For a complete list of
|
18540
|
+
# possible encryption cases, see [Amazon EBS Encryption][1].
|
18541
|
+
#
|
18542
|
+
# In no case can you remove encryption from an encrypted volume.
|
18543
|
+
#
|
18544
|
+
# Encrypted volumes can only be attached to instances that support
|
18545
|
+
# Amazon EBS encryption. For more information, see [Supported Instance
|
18546
|
+
# Types][2].
|
18547
|
+
#
|
18548
|
+
#
|
18490
18549
|
#
|
18491
|
-
#
|
18492
|
-
#
|
18493
|
-
# encrypted on creation. If you are creating a snapshot from an
|
18494
|
-
# existing EBS volume, you cannot specify an encryption value that
|
18495
|
-
# differs from that of the EBS volume. We recommend that you omit the
|
18496
|
-
# encryption value from the block device mappings when creating an
|
18497
|
-
# image from an instance.
|
18550
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
|
18551
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
|
18498
18552
|
# @return [Boolean]
|
18499
18553
|
#
|
18500
18554
|
# @!attribute [rw] kms_key_id
|
@@ -22956,6 +23010,8 @@ module Aws::EC2
|
|
22956
23010
|
#
|
22957
23011
|
# @!attribute [rw] interface_type
|
22958
23012
|
# Describes the type of network interface.
|
23013
|
+
#
|
23014
|
+
# Valid values: `interface` \| `efa`
|
22959
23015
|
# @return [String]
|
22960
23016
|
#
|
22961
23017
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterface AWS API Documentation
|
@@ -23161,7 +23217,18 @@ module Aws::EC2
|
|
23161
23217
|
# @return [String]
|
23162
23218
|
#
|
23163
23219
|
# @!attribute [rw] interface_type
|
23164
|
-
# The type of interface.
|
23220
|
+
# The type of network interface. To create an Elastic Fabric Adapter
|
23221
|
+
# (EFA), specify `efa`. For more information, see [Elastic Fabric
|
23222
|
+
# Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
23223
|
+
#
|
23224
|
+
# If you are not creating an EFA, specify `interface` or omit this
|
23225
|
+
# parameter.
|
23226
|
+
#
|
23227
|
+
# Valide values: `interface` \| `efa`
|
23228
|
+
#
|
23229
|
+
#
|
23230
|
+
#
|
23231
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
|
23165
23232
|
# @return [String]
|
23166
23233
|
#
|
23167
23234
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterfaceSpecification AWS API Documentation
|
@@ -28154,12 +28221,8 @@ module Aws::EC2
|
|
28154
28221
|
# @!attribute [rw] tenancy
|
28155
28222
|
# The tenancy of the instance (if the instance is running in a VPC).
|
28156
28223
|
# An instance with a tenancy of `dedicated` runs on single-tenant
|
28157
|
-
# hardware. The `host` tenancy is not supported for the
|
28158
|
-
#
|
28159
|
-
#
|
28160
|
-
#
|
28161
|
-
#
|
28162
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html
|
28224
|
+
# hardware. The `host` tenancy is not supported for the ImportInstance
|
28225
|
+
# command.
|
28163
28226
|
# @return [String]
|
28164
28227
|
#
|
28165
28228
|
# @!attribute [rw] spread_domain
|
@@ -32281,8 +32344,9 @@ module Aws::EC2
|
|
32281
32344
|
# @return [Array<Types::BlockDeviceMapping>]
|
32282
32345
|
#
|
32283
32346
|
# @!attribute [rw] image_id
|
32284
|
-
# The ID of the AMI
|
32285
|
-
#
|
32347
|
+
# The ID of the AMI, which you can get by calling DescribeImages. An
|
32348
|
+
# AMI ID is required to launch an instance and must be specified here
|
32349
|
+
# or in a launch template.
|
32286
32350
|
# @return [String]
|
32287
32351
|
#
|
32288
32352
|
# @!attribute [rw] instance_type
|
@@ -32463,16 +32527,12 @@ module Aws::EC2
|
|
32463
32527
|
# If you set this parameter to `true`, you can't terminate the
|
32464
32528
|
# instance using the Amazon EC2 console, CLI, or API; otherwise, you
|
32465
32529
|
# can. To change this attribute to `false` after launch, use
|
32466
|
-
#
|
32530
|
+
# ModifyInstanceAttribute. Alternatively, if you set
|
32467
32531
|
# `InstanceInitiatedShutdownBehavior` to `terminate`, you can
|
32468
32532
|
# terminate the instance by running the shutdown command from the
|
32469
32533
|
# instance.
|
32470
32534
|
#
|
32471
32535
|
# Default: `false`
|
32472
|
-
#
|
32473
|
-
#
|
32474
|
-
#
|
32475
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
|
32476
32536
|
# @return [Boolean]
|
32477
32537
|
#
|
32478
32538
|
# @!attribute [rw] dry_run
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.86.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|