aws-sdk-ec2 1.149.0 → 1.151.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +182 -58
- data/lib/aws-sdk-ec2/client_api.rb +31 -28
- data/lib/aws-sdk-ec2/instance.rb +3 -2
- data/lib/aws-sdk-ec2/placement_group.rb +1 -0
- data/lib/aws-sdk-ec2/resource.rb +11 -7
- data/lib/aws-sdk-ec2/subnet.rb +8 -4
- data/lib/aws-sdk-ec2/types.rb +167 -48
- data/lib/aws-sdk-ec2/vpc.rb +1 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: da2101bb9c58f41962bc18496ee1b25cd5a69ac7752b3fc04e5cbc170eadf51d
|
4
|
+
data.tar.gz: fd937bce8698e9578c610c5c747207345677d09e0d0ef33209995ebe821cd724
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0b3fa7c665eb61c3bcd12cec31eb18e55393dd999669f23cd4582d4c9ebf69cb04ce1c91a31cfeeb451e89be1747b1fd29c73cc79df8c2cb6d8e0b96282d0c5
|
7
|
+
data.tar.gz: 8ee1dfb1b7669f633a78f9b704c32378f7b126677fda84c8b1ccfeaae6b4585b0690babeb6cc0fcf833476cb43a8efed26b167784cd5cf0b0e5589160616e27d
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -34,11 +34,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:ec2)
|
|
34
34
|
module Aws::EC2
|
35
35
|
# An API client for EC2. To construct a client, you need to configure a `:region` and `:credentials`.
|
36
36
|
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
41
|
-
#
|
37
|
+
# client = Aws::EC2::Client.new(
|
38
|
+
# region: region_name,
|
39
|
+
# credentials: credentials,
|
40
|
+
# # ...
|
41
|
+
# )
|
42
42
|
#
|
43
43
|
# For details on configuring region and credentials see
|
44
44
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -233,15 +233,19 @@ module Aws::EC2
|
|
233
233
|
#
|
234
234
|
# @option options [String] :retry_mode ("legacy")
|
235
235
|
# Specifies which retry algorithm to use. Values are:
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
244
|
-
#
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
245
249
|
#
|
246
250
|
# @option options [String] :secret_access_key
|
247
251
|
#
|
@@ -676,7 +680,11 @@ module Aws::EC2
|
|
676
680
|
# The location from which the IP address is advertised. Use this
|
677
681
|
# parameter to limit the address to this location.
|
678
682
|
#
|
679
|
-
#
|
683
|
+
# A network border group is a unique set of Availability Zones or Local
|
684
|
+
# Zones from where AWS advertises IP addresses and limits the addresses
|
685
|
+
# to the group. IP addresses cannot move between network border groups.
|
686
|
+
#
|
687
|
+
# Use [DescribeAvailabilityZones][1] to view the network border groups.
|
680
688
|
#
|
681
689
|
# <note markdown="1"> You cannot use a network border group with EC2 Classic. If you attempt
|
682
690
|
# this operation on EC2 classic, you will receive an
|
@@ -687,7 +695,7 @@ module Aws::EC2
|
|
687
695
|
#
|
688
696
|
#
|
689
697
|
#
|
690
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
698
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html
|
691
699
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
|
692
700
|
#
|
693
701
|
# @option params [String] :customer_owned_ipv_4_pool
|
@@ -908,7 +916,7 @@ module Aws::EC2
|
|
908
916
|
# resp = client.apply_security_groups_to_client_vpn_target_network({
|
909
917
|
# client_vpn_endpoint_id: "ClientVpnEndpointId", # required
|
910
918
|
# vpc_id: "VpcId", # required
|
911
|
-
# security_group_ids: ["
|
919
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
912
920
|
# dry_run: false,
|
913
921
|
# })
|
914
922
|
#
|
@@ -2757,7 +2765,7 @@ module Aws::EC2
|
|
2757
2765
|
# @example Request syntax with placeholder values
|
2758
2766
|
#
|
2759
2767
|
# resp = client.cancel_export_task({
|
2760
|
-
# export_task_id: "
|
2768
|
+
# export_task_id: "ExportVmTaskId", # required
|
2761
2769
|
# })
|
2762
2770
|
#
|
2763
2771
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelExportTask AWS API Documentation
|
@@ -3830,7 +3838,7 @@ module Aws::EC2
|
|
3830
3838
|
# ],
|
3831
3839
|
# },
|
3832
3840
|
# ],
|
3833
|
-
# security_group_ids: ["
|
3841
|
+
# security_group_ids: ["SecurityGroupId"],
|
3834
3842
|
# vpc_id: "VpcId",
|
3835
3843
|
# })
|
3836
3844
|
#
|
@@ -5292,7 +5300,7 @@ module Aws::EC2
|
|
5292
5300
|
# encrypted: false,
|
5293
5301
|
# delete_on_termination: false,
|
5294
5302
|
# iops: 1,
|
5295
|
-
# kms_key_id: "
|
5303
|
+
# kms_key_id: "KmsKeyId",
|
5296
5304
|
# snapshot_id: "SnapshotId",
|
5297
5305
|
# volume_size: 1,
|
5298
5306
|
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
@@ -5560,7 +5568,7 @@ module Aws::EC2
|
|
5560
5568
|
# encrypted: false,
|
5561
5569
|
# delete_on_termination: false,
|
5562
5570
|
# iops: 1,
|
5563
|
-
# kms_key_id: "
|
5571
|
+
# kms_key_id: "KmsKeyId",
|
5564
5572
|
# snapshot_id: "SnapshotId",
|
5565
5573
|
# volume_size: 1,
|
5566
5574
|
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
@@ -8157,7 +8165,7 @@ module Aws::EC2
|
|
8157
8165
|
#
|
8158
8166
|
# resp = client.create_transit_gateway_peering_attachment({
|
8159
8167
|
# transit_gateway_id: "TransitGatewayId", # required
|
8160
|
-
# peer_transit_gateway_id: "
|
8168
|
+
# peer_transit_gateway_id: "TransitAssociationGatewayId", # required
|
8161
8169
|
# peer_account_id: "String", # required
|
8162
8170
|
# peer_region: "String", # required
|
8163
8171
|
# tag_specifications: [
|
@@ -9762,7 +9770,7 @@ module Aws::EC2
|
|
9762
9770
|
#
|
9763
9771
|
# resp = client.delete_fleets({
|
9764
9772
|
# dry_run: false,
|
9765
|
-
# fleet_ids: ["
|
9773
|
+
# fleet_ids: ["FleetId"], # required
|
9766
9774
|
# terminate_instances: false, # required
|
9767
9775
|
# })
|
9768
9776
|
#
|
@@ -12120,7 +12128,7 @@ module Aws::EC2
|
|
12120
12128
|
# },
|
12121
12129
|
# ],
|
12122
12130
|
# public_ips: ["String"],
|
12123
|
-
# allocation_ids: ["
|
12131
|
+
# allocation_ids: ["AllocationId"],
|
12124
12132
|
# dry_run: false,
|
12125
12133
|
# })
|
12126
12134
|
#
|
@@ -12506,6 +12514,82 @@ module Aws::EC2
|
|
12506
12514
|
# @option params [Array<Types::Filter>] :filters
|
12507
12515
|
# One or more filters.
|
12508
12516
|
#
|
12517
|
+
# * `instance-type` - The type of instance for which the Capacity
|
12518
|
+
# Reservation reserves capacity.
|
12519
|
+
#
|
12520
|
+
# * `owner-id` - The ID of the AWS account that owns the Capacity
|
12521
|
+
# Reservation.
|
12522
|
+
#
|
12523
|
+
# * `availability-zone-id` - The Availability Zone ID of the Capacity
|
12524
|
+
# Reservation.
|
12525
|
+
#
|
12526
|
+
# * `instance-platform` - The type of operating system for which the
|
12527
|
+
# Capacity Reservation reserves capacity.
|
12528
|
+
#
|
12529
|
+
# * `availability-zone` - The Availability Zone ID of the Capacity
|
12530
|
+
# Reservation.
|
12531
|
+
#
|
12532
|
+
# * `tenancy` - Indicates the tenancy of the Capacity Reservation. A
|
12533
|
+
# Capacity Reservation can have one of the following tenancy settings:
|
12534
|
+
#
|
12535
|
+
# * `default` - The Capacity Reservation is created on hardware that
|
12536
|
+
# is shared with other AWS accounts.
|
12537
|
+
#
|
12538
|
+
# * `dedicated` - The Capacity Reservation is created on single-tenant
|
12539
|
+
# hardware that is dedicated to a single AWS account.
|
12540
|
+
#
|
12541
|
+
# * `state` - The current state of the Capacity Reservation. A Capacity
|
12542
|
+
# Reservation can be in one of the following states:
|
12543
|
+
#
|
12544
|
+
# * `active`- The Capacity Reservation is active and the capacity is
|
12545
|
+
# available for your use.
|
12546
|
+
#
|
12547
|
+
# * `expired` - The Capacity Reservation expired automatically at the
|
12548
|
+
# date and time specified in your request. The reserved capacity is
|
12549
|
+
# no longer available for your use.
|
12550
|
+
#
|
12551
|
+
# * `cancelled` - The Capacity Reservation was manually cancelled. The
|
12552
|
+
# reserved capacity is no longer available for your use.
|
12553
|
+
#
|
12554
|
+
# * `pending` - The Capacity Reservation request was successful but
|
12555
|
+
# the capacity provisioning is still pending.
|
12556
|
+
#
|
12557
|
+
# * `failed` - The Capacity Reservation request has failed. A request
|
12558
|
+
# might fail due to invalid request parameters, capacity
|
12559
|
+
# constraints, or instance limit constraints. Failed requests are
|
12560
|
+
# retained for 60 minutes.
|
12561
|
+
#
|
12562
|
+
# * `end-date` - The date and time at which the Capacity Reservation
|
12563
|
+
# expires. When a Capacity Reservation expires, the reserved capacity
|
12564
|
+
# is released and you can no longer launch instances into it. The
|
12565
|
+
# Capacity Reservation's state changes to expired when it reaches its
|
12566
|
+
# end date and time.
|
12567
|
+
#
|
12568
|
+
# * `end-date-type` - Indicates the way in which the Capacity
|
12569
|
+
# Reservation ends. A Capacity Reservation can have one of the
|
12570
|
+
# following end types:
|
12571
|
+
#
|
12572
|
+
# * `unlimited` - The Capacity Reservation remains active until you
|
12573
|
+
# explicitly cancel it.
|
12574
|
+
#
|
12575
|
+
# * `limited` - The Capacity Reservation expires automatically at a
|
12576
|
+
# specified date and time.
|
12577
|
+
#
|
12578
|
+
# * `instance-match-criteria` - Indicates the type of instance launches
|
12579
|
+
# that the Capacity Reservation accepts. The options include:
|
12580
|
+
#
|
12581
|
+
# * `open` - The Capacity Reservation accepts all instances that have
|
12582
|
+
# matching attributes (instance type, platform, and Availability
|
12583
|
+
# Zone). Instances that have matching attributes launch into the
|
12584
|
+
# Capacity Reservation automatically without specifying any
|
12585
|
+
# additional parameters.
|
12586
|
+
#
|
12587
|
+
# * `targeted` - The Capacity Reservation only accepts instances that
|
12588
|
+
# have matching attributes (instance type, platform, and
|
12589
|
+
# Availability Zone), and explicitly target the Capacity
|
12590
|
+
# Reservation. This ensures that only permitted instances can use
|
12591
|
+
# the reserved capacity.
|
12592
|
+
#
|
12509
12593
|
# @option params [Boolean] :dry_run
|
12510
12594
|
# Checks whether you have the required permissions for the action,
|
12511
12595
|
# without actually making the request, and provides an error response.
|
@@ -12520,7 +12604,7 @@ module Aws::EC2
|
|
12520
12604
|
# @example Request syntax with placeholder values
|
12521
12605
|
#
|
12522
12606
|
# resp = client.describe_capacity_reservations({
|
12523
|
-
# capacity_reservation_ids: ["
|
12607
|
+
# capacity_reservation_ids: ["CapacityReservationId"],
|
12524
12608
|
# next_token: "String",
|
12525
12609
|
# max_results: 1,
|
12526
12610
|
# filters: [
|
@@ -13083,7 +13167,7 @@ module Aws::EC2
|
|
13083
13167
|
# @example Request syntax with placeholder values
|
13084
13168
|
#
|
13085
13169
|
# resp = client.describe_coip_pools({
|
13086
|
-
# pool_ids: ["
|
13170
|
+
# pool_ids: ["CoipPoolId"],
|
13087
13171
|
# filters: [
|
13088
13172
|
# {
|
13089
13173
|
# name: "String",
|
@@ -13669,7 +13753,7 @@ module Aws::EC2
|
|
13669
13753
|
# @example Request syntax with placeholder values
|
13670
13754
|
#
|
13671
13755
|
# resp = client.describe_export_tasks({
|
13672
|
-
# export_task_ids: ["
|
13756
|
+
# export_task_ids: ["ExportTaskId"],
|
13673
13757
|
# filters: [
|
13674
13758
|
# {
|
13675
13759
|
# name: "String",
|
@@ -13825,7 +13909,7 @@ module Aws::EC2
|
|
13825
13909
|
# event_type: "instance-change", # accepts instance-change, fleet-change, service-error
|
13826
13910
|
# max_results: 1,
|
13827
13911
|
# next_token: "String",
|
13828
|
-
# fleet_id: "
|
13912
|
+
# fleet_id: "FleetId", # required
|
13829
13913
|
# start_time: Time.now, # required
|
13830
13914
|
# })
|
13831
13915
|
#
|
@@ -13890,7 +13974,7 @@ module Aws::EC2
|
|
13890
13974
|
# dry_run: false,
|
13891
13975
|
# max_results: 1,
|
13892
13976
|
# next_token: "String",
|
13893
|
-
# fleet_id: "
|
13977
|
+
# fleet_id: "FleetId", # required
|
13894
13978
|
# filters: [
|
13895
13979
|
# {
|
13896
13980
|
# name: "String",
|
@@ -13968,7 +14052,7 @@ module Aws::EC2
|
|
13968
14052
|
# dry_run: false,
|
13969
14053
|
# max_results: 1,
|
13970
14054
|
# next_token: "String",
|
13971
|
-
# fleet_ids: ["
|
14055
|
+
# fleet_ids: ["FleetId"],
|
13972
14056
|
# filters: [
|
13973
14057
|
# {
|
13974
14058
|
# name: "String",
|
@@ -15895,10 +15979,10 @@ module Aws::EC2
|
|
15895
15979
|
# `false`)
|
15896
15980
|
#
|
15897
15981
|
# * `ebs-info.ebs-optimized-support` - Indicates whether the instance
|
15898
|
-
# type is EBS-optimized. (`
|
15982
|
+
# type is EBS-optimized. (`supported` \| `unsupported` \| `default`)
|
15899
15983
|
#
|
15900
15984
|
# * `ebs-info.encryption-support` - Indicates whether EBS encryption is
|
15901
|
-
# supported. (`
|
15985
|
+
# supported. (`supported` \| `unsupported`)
|
15902
15986
|
#
|
15903
15987
|
# * `free-tier-eligible` - Indicates whether the instance type is
|
15904
15988
|
# eligible to use in the free tier. (`true` \| `false`)
|
@@ -16116,6 +16200,7 @@ module Aws::EC2
|
|
16116
16200
|
# running, if applicable.
|
16117
16201
|
#
|
16118
16202
|
# * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
|
16203
|
+
# The value `xen` is used for both Xen and Nitro hypervisors.
|
16119
16204
|
#
|
16120
16205
|
# * `iam-instance-profile.arn` - The instance profile associated with
|
16121
16206
|
# the instance. Specified as an ARN.
|
@@ -22288,7 +22373,7 @@ module Aws::EC2
|
|
22288
22373
|
# @example Request syntax with placeholder values
|
22289
22374
|
#
|
22290
22375
|
# resp = client.describe_transit_gateway_multicast_domains({
|
22291
|
-
# transit_gateway_multicast_domain_ids: ["
|
22376
|
+
# transit_gateway_multicast_domain_ids: ["TransitGatewayMulticastDomainId"],
|
22292
22377
|
# filters: [
|
22293
22378
|
# {
|
22294
22379
|
# name: "String",
|
@@ -22327,7 +22412,22 @@ module Aws::EC2
|
|
22327
22412
|
# One or more IDs of the transit gateway peering attachments.
|
22328
22413
|
#
|
22329
22414
|
# @option params [Array<Types::Filter>] :filters
|
22330
|
-
# One or more filters.
|
22415
|
+
# One or more filters. The possible values are:
|
22416
|
+
#
|
22417
|
+
# * `transit-gateway-attachment-id` - The ID of the transit gateway
|
22418
|
+
# attachment.
|
22419
|
+
#
|
22420
|
+
# * `local-owner-id` - The ID of your AWS account.
|
22421
|
+
#
|
22422
|
+
# * `remote-owner-id` - The ID of the AWS account in the remote Region
|
22423
|
+
# that owns the transit gateway.
|
22424
|
+
#
|
22425
|
+
# * `state` - The state of the peering attachment (`available` \|
|
22426
|
+
# `deleted` \| `deleting` \| `failed` \| `modifying` \|
|
22427
|
+
# `pendingAcceptance` \| `pending` \| `rollingBack` \| `rejected` \|
|
22428
|
+
# `rejecting`).
|
22429
|
+
#
|
22430
|
+
# * `transit-gateway-id` - The ID of the transit gateway.
|
22331
22431
|
#
|
22332
22432
|
# @option params [Integer] :max_results
|
22333
22433
|
# The maximum number of results to return with a single call. To
|
@@ -22440,7 +22540,7 @@ module Aws::EC2
|
|
22440
22540
|
# @example Request syntax with placeholder values
|
22441
22541
|
#
|
22442
22542
|
# resp = client.describe_transit_gateway_route_tables({
|
22443
|
-
# transit_gateway_route_table_ids: ["
|
22543
|
+
# transit_gateway_route_table_ids: ["TransitGatewayRouteTableId"],
|
22444
22544
|
# filters: [
|
22445
22545
|
# {
|
22446
22546
|
# name: "String",
|
@@ -23356,7 +23456,7 @@ module Aws::EC2
|
|
23356
23456
|
#
|
23357
23457
|
# resp = client.describe_vpc_attribute({
|
23358
23458
|
# attribute: "enableDnsSupport", # required, accepts enableDnsSupport, enableDnsHostnames
|
23359
|
-
# vpc_id: "
|
23459
|
+
# vpc_id: "VpcId", # required
|
23360
23460
|
# dry_run: false,
|
23361
23461
|
# })
|
23362
23462
|
#
|
@@ -25174,7 +25274,7 @@ module Aws::EC2
|
|
25174
25274
|
#
|
25175
25275
|
# resp = client.disassociate_client_vpn_target_network({
|
25176
25276
|
# client_vpn_endpoint_id: "ClientVpnEndpointId", # required
|
25177
|
-
# association_id: "
|
25277
|
+
# association_id: "ClientVpnAssociationId", # required
|
25178
25278
|
# dry_run: false,
|
25179
25279
|
# })
|
25180
25280
|
#
|
@@ -25986,6 +26086,14 @@ module Aws::EC2
|
|
25986
26086
|
# specified S3 bucket. By default, all routes are exported.
|
25987
26087
|
# Alternatively, you can filter by CIDR range.
|
25988
26088
|
#
|
26089
|
+
# The routes are saved to the specified bucket in a JSON file. For more
|
26090
|
+
# information, see [Export Route Tables to Amazon S3][1] in *Transit
|
26091
|
+
# Gateways*.
|
26092
|
+
#
|
26093
|
+
#
|
26094
|
+
#
|
26095
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-route-tables.html#tgw-export-route-tables
|
26096
|
+
#
|
25989
26097
|
# @option params [required, String] :transit_gateway_route_table_id
|
25990
26098
|
# The ID of the route table.
|
25991
26099
|
#
|
@@ -27486,7 +27594,7 @@ module Aws::EC2
|
|
27486
27594
|
# host_resource_group_arn: "String",
|
27487
27595
|
# },
|
27488
27596
|
# private_ip_address: "String",
|
27489
|
-
# subnet_id: "
|
27597
|
+
# subnet_id: "SubnetId",
|
27490
27598
|
# user_data: {
|
27491
27599
|
# data: "String",
|
27492
27600
|
# },
|
@@ -27812,15 +27920,26 @@ module Aws::EC2
|
|
27812
27920
|
req.send_request(options)
|
27813
27921
|
end
|
27814
27922
|
|
27815
|
-
# Enables or disables
|
27816
|
-
#
|
27923
|
+
# Enables or disables an Availability Zone group for your account.
|
27924
|
+
#
|
27925
|
+
# Use [describe-availability-zones][1] to view the value for
|
27926
|
+
# `GroupName`.
|
27927
|
+
#
|
27928
|
+
#
|
27929
|
+
#
|
27930
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2ApiDocReef/build/server-root/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html
|
27817
27931
|
#
|
27818
27932
|
# @option params [required, String] :group_name
|
27819
|
-
# The
|
27933
|
+
# The name of the Availability Zone Group.
|
27820
27934
|
#
|
27821
27935
|
# @option params [required, String] :opt_in_status
|
27822
|
-
# Indicates whether to enable or disable
|
27823
|
-
#
|
27936
|
+
# Indicates whether to enable or disable membership. The valid values
|
27937
|
+
# are `opted-in`. You must contact [AWS Support][1] to disable an
|
27938
|
+
# Availability Zone group.
|
27939
|
+
#
|
27940
|
+
#
|
27941
|
+
#
|
27942
|
+
# [1]: https://console.aws.amazon.com/support/home#/case/create%3FissueType=customer-service%26serviceCode=general-info%26getting-started%26categoryCode=using-aws%26services
|
27824
27943
|
#
|
27825
27944
|
# @option params [Boolean] :dry_run
|
27826
27945
|
# Checks whether you have the required permissions for the action,
|
@@ -28012,7 +28131,7 @@ module Aws::EC2
|
|
28012
28131
|
# description: "String",
|
28013
28132
|
# split_tunnel: false,
|
28014
28133
|
# dry_run: false,
|
28015
|
-
# security_group_ids: ["
|
28134
|
+
# security_group_ids: ["SecurityGroupId"],
|
28016
28135
|
# vpc_id: "VpcId",
|
28017
28136
|
# })
|
28018
28137
|
#
|
@@ -28225,7 +28344,7 @@ module Aws::EC2
|
|
28225
28344
|
# resp = client.modify_fleet({
|
28226
28345
|
# dry_run: false,
|
28227
28346
|
# excess_capacity_termination_policy: "no-termination", # accepts no-termination, termination
|
28228
|
-
# fleet_id: "
|
28347
|
+
# fleet_id: "FleetId", # required
|
28229
28348
|
# target_capacity_specification: { # required
|
28230
28349
|
# total_target_capacity: 1, # required
|
28231
28350
|
# on_demand_target_capacity: 1,
|
@@ -32835,9 +32954,10 @@ module Aws::EC2
|
|
32835
32954
|
# are in different Spot pools, you can improve the availability of your
|
32836
32955
|
# fleet.
|
32837
32956
|
#
|
32838
|
-
# You can specify tags for the Spot Fleet and
|
32839
|
-
# tag other resource types in a Spot Fleet
|
32840
|
-
# `spot-fleet-request` and `instance` resource
|
32957
|
+
# You can specify tags for the Spot Fleet request and instances launched
|
32958
|
+
# by the fleet. You cannot tag other resource types in a Spot Fleet
|
32959
|
+
# request because only the `spot-fleet-request` and `instance` resource
|
32960
|
+
# types are supported.
|
32841
32961
|
#
|
32842
32962
|
# For more information, see [Spot Fleet Requests][1] in the *Amazon EC2
|
32843
32963
|
# User Guide for Linux Instances*.
|
@@ -34374,8 +34494,11 @@ module Aws::EC2
|
|
34374
34494
|
#
|
34375
34495
|
# @option params [String] :client_token
|
34376
34496
|
# Unique, case-sensitive identifier you provide to ensure the
|
34377
|
-
# idempotency of the request.
|
34378
|
-
#
|
34497
|
+
# idempotency of the request. If you do not specify a client token, a
|
34498
|
+
# randomly generated token is used for the request to ensure
|
34499
|
+
# idempotency.
|
34500
|
+
#
|
34501
|
+
# For more information, see [Ensuring Idempotency][1].
|
34379
34502
|
#
|
34380
34503
|
# Constraints: Maximum 64 ASCII characters
|
34381
34504
|
#
|
@@ -34607,7 +34730,7 @@ module Aws::EC2
|
|
34607
34730
|
# ipv_6_address: "String",
|
34608
34731
|
# },
|
34609
34732
|
# ],
|
34610
|
-
# kernel_id: "
|
34733
|
+
# kernel_id: "KernelId",
|
34611
34734
|
# key_name: "KeyPairName",
|
34612
34735
|
# max_count: 1, # required
|
34613
34736
|
# min_count: 1, # required
|
@@ -34624,10 +34747,10 @@ module Aws::EC2
|
|
34624
34747
|
# spread_domain: "String",
|
34625
34748
|
# host_resource_group_arn: "String",
|
34626
34749
|
# },
|
34627
|
-
# ramdisk_id: "
|
34750
|
+
# ramdisk_id: "RamdiskId",
|
34628
34751
|
# security_group_ids: ["SecurityGroupId"],
|
34629
34752
|
# security_groups: ["SecurityGroupName"],
|
34630
|
-
# subnet_id: "
|
34753
|
+
# subnet_id: "SubnetId",
|
34631
34754
|
# user_data: "String",
|
34632
34755
|
# additional_info: "String",
|
34633
34756
|
# client_token: "String",
|
@@ -35521,9 +35644,10 @@ module Aws::EC2
|
|
35521
35644
|
# EC2 charges a one-minute minimum for instance usage, and thereafter
|
35522
35645
|
# charges per second for instance usage.
|
35523
35646
|
#
|
35524
|
-
# You can't
|
35525
|
-
#
|
35526
|
-
#
|
35647
|
+
# You can't stop or hibernate instance store-backed instances. You
|
35648
|
+
# can't use the Stop action to hibernate Spot Instances, but you can
|
35649
|
+
# specify that Amazon EC2 should hibernate Spot Instances when they are
|
35650
|
+
# interrupted. For more information, see [Hibernating Interrupted Spot
|
35527
35651
|
# Instances][4] in the *Amazon Elastic Compute Cloud User Guide*.
|
35528
35652
|
#
|
35529
35653
|
# When you stop or hibernate an instance, we shut it down. You can
|
@@ -35676,7 +35800,7 @@ module Aws::EC2
|
|
35676
35800
|
#
|
35677
35801
|
# resp = client.terminate_client_vpn_connections({
|
35678
35802
|
# client_vpn_endpoint_id: "ClientVpnEndpointId", # required
|
35679
|
-
# connection_id: "
|
35803
|
+
# connection_id: "VpnConnectionId",
|
35680
35804
|
# username: "String",
|
35681
35805
|
# dry_run: false,
|
35682
35806
|
# })
|
@@ -36209,7 +36333,7 @@ module Aws::EC2
|
|
36209
36333
|
params: params,
|
36210
36334
|
config: config)
|
36211
36335
|
context[:gem_name] = 'aws-sdk-ec2'
|
36212
|
-
context[:gem_version] = '1.
|
36336
|
+
context[:gem_version] = '1.151.0'
|
36213
36337
|
Seahorse::Client::Request.new(handlers, context)
|
36214
36338
|
end
|
36215
36339
|
|