aws-sdk-ec2 1.70.0 → 1.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +99 -38
- data/lib/aws-sdk-ec2/client_api.rb +24 -1
- data/lib/aws-sdk-ec2/resource.rb +10 -11
- data/lib/aws-sdk-ec2/snapshot.rb +4 -4
- data/lib/aws-sdk-ec2/types.rb +177 -92
- data/lib/aws-sdk-ec2/volume.rb +8 -11
- 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: 5470156d009ab02566195d8b85ceb815f209f486
|
4
|
+
data.tar.gz: cbad7ead9a1becbdb4c59a0707633871e5278a71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a15e36c820cdb8134c395c2ed9a29ab0058124dfe8df5e4d2dbcb2950c6a4ee1ca43f71ab19ab0c36e6b6925bc5adbcb952e78ef295389dca2c05ca38229456
|
7
|
+
data.tar.gz: 401ebe7b2f1044abeda30e363f6cb4ec1bbca69165a1c04be3ffc1d060be78467386501cf7f0d3ebcef9ba4f9bb2b6b2ec482db16b708ccd8fa3f1be9f535c50
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -2915,8 +2915,8 @@ module Aws::EC2
|
|
2915
2915
|
end
|
2916
2916
|
|
2917
2917
|
# Copies a point-in-time snapshot of an EBS volume and stores it in
|
2918
|
-
# Amazon S3. You can copy the snapshot within the same
|
2919
|
-
# one
|
2918
|
+
# Amazon S3. You can copy the snapshot within the same Region or from
|
2919
|
+
# one Region to another. You can use the snapshot to create EBS volumes
|
2920
2920
|
# or Amazon Machine Images (AMIs). The snapshot is copied to the
|
2921
2921
|
# regional endpoint that you send the HTTP request to.
|
2922
2922
|
#
|
@@ -2945,15 +2945,15 @@ module Aws::EC2
|
|
2945
2945
|
# A description for the EBS snapshot.
|
2946
2946
|
#
|
2947
2947
|
# @option params [String] :destination_region
|
2948
|
-
# The destination
|
2948
|
+
# The destination Region to use in the `PresignedUrl` parameter of a
|
2949
2949
|
# snapshot copy operation. This parameter is only valid for specifying
|
2950
|
-
# the destination
|
2950
|
+
# the destination Region in a `PresignedUrl` parameter, where it is
|
2951
2951
|
# required.
|
2952
2952
|
#
|
2953
2953
|
# The snapshot copy is sent to the regional endpoint that you sent the
|
2954
2954
|
# HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With the
|
2955
2955
|
# AWS CLI, this is specified using the `--region` parameter or the
|
2956
|
-
# default
|
2956
|
+
# default Region in your AWS configuration file.
|
2957
2957
|
#
|
2958
2958
|
# @option params [Boolean] :encrypted
|
2959
2959
|
# Specifies whether the destination snapshot should be encrypted. You
|
@@ -3018,7 +3018,7 @@ module Aws::EC2
|
|
3018
3018
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
|
3019
3019
|
#
|
3020
3020
|
# @option params [required, String] :source_region
|
3021
|
-
# The ID of the
|
3021
|
+
# The ID of the Region that contains the snapshot to be copied.
|
3022
3022
|
#
|
3023
3023
|
# @option params [required, String] :source_snapshot_id
|
3024
3024
|
# The ID of the EBS snapshot to copy.
|
@@ -3313,8 +3313,11 @@ module Aws::EC2
|
|
3313
3313
|
#
|
3314
3314
|
# @option params [required, String] :server_certificate_arn
|
3315
3315
|
# The ARN of the server certificate. For more information, see the [AWS
|
3316
|
-
# Certificate Manager User
|
3317
|
-
#
|
3316
|
+
# Certificate Manager User Guide][1].
|
3317
|
+
#
|
3318
|
+
#
|
3319
|
+
#
|
3320
|
+
# [1]: https://docs.aws.amazon.com/acm/latest/userguide/
|
3318
3321
|
#
|
3319
3322
|
# @option params [required, Array<Types::ClientVpnAuthenticationRequest>] :authentication_options
|
3320
3323
|
# Information about the authentication method to be used to authenticate
|
@@ -3994,8 +3997,8 @@ module Aws::EC2
|
|
3994
3997
|
# @option params [Time,DateTime,Date,Integer,String] :valid_until
|
3995
3998
|
# The end date and time of the request, in UTC format (for example,
|
3996
3999
|
# *YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z). At this point, no new EC2 Fleet
|
3997
|
-
# requests are placed or able to fulfill the request.
|
3998
|
-
#
|
4000
|
+
# requests are placed or able to fulfill the request. If no value is
|
4001
|
+
# specified, the request remains until you cancel it.
|
3999
4002
|
#
|
4000
4003
|
# @option params [Boolean] :replace_unhealthy_instances
|
4001
4004
|
# Indicates whether EC2 Fleet should replace unhealthy instances.
|
@@ -5853,10 +5856,8 @@ module Aws::EC2
|
|
5853
5856
|
# Reserved Instances, you can use the DescribeReservedInstances
|
5854
5857
|
# operation.
|
5855
5858
|
#
|
5856
|
-
# <note markdown="1"> Only Standard Reserved Instances
|
5857
|
-
#
|
5858
|
-
# Instances and Standard Reserved Instances with a regional benefit
|
5859
|
-
# cannot be sold.
|
5859
|
+
# <note markdown="1"> Only Standard Reserved Instances can be sold in the Reserved Instance
|
5860
|
+
# Marketplace. Convertible Reserved Instances cannot be sold.
|
5860
5861
|
#
|
5861
5862
|
# </note>
|
5862
5863
|
#
|
@@ -7037,18 +7038,17 @@ module Aws::EC2
|
|
7037
7038
|
# @option params [Integer] :iops
|
7038
7039
|
# The number of I/O operations per second (IOPS) to provision for the
|
7039
7040
|
# volume, with a maximum ratio of 50 IOPS/GiB. Range is 100 to 64,000
|
7040
|
-
# IOPS for volumes in most
|
7041
|
-
# only on [Nitro-based
|
7042
|
-
#
|
7043
|
-
#
|
7044
|
-
# more information, see [Amazon EBS Volume Types][1] in the *Amazon
|
7045
|
-
# Elastic Compute Cloud User Guide*.
|
7041
|
+
# IOPS for volumes in most Regions. Maximum IOPS of 64,000 is guaranteed
|
7042
|
+
# only on [Nitro-based instances][1]. Other instance families guarantee
|
7043
|
+
# performance up to 32,000 IOPS. For more information, see [Amazon EBS
|
7044
|
+
# Volume Types][2] in the *Amazon Elastic Compute Cloud User Guide*.
|
7046
7045
|
#
|
7047
7046
|
# This parameter is valid only for Provisioned IOPS SSD (io1) volumes.
|
7048
7047
|
#
|
7049
7048
|
#
|
7050
7049
|
#
|
7051
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
7050
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
7051
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
|
7052
7052
|
#
|
7053
7053
|
# @option params [String] :kms_key_id
|
7054
7054
|
# An identifier for the AWS Key Management Service (AWS KMS) customer
|
@@ -7108,7 +7108,7 @@ module Aws::EC2
|
|
7108
7108
|
# Defaults: If no volume type is specified, the default is `standard` in
|
7109
7109
|
# us-east-1, eu-west-1, eu-central-1, us-west-2, us-west-1, sa-east-1,
|
7110
7110
|
# ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2,
|
7111
|
-
# ap-south-1, us-gov-west-1, and cn-north-1. In all other
|
7111
|
+
# ap-south-1, us-gov-west-1, and cn-north-1. In all other Regions, EBS
|
7112
7112
|
# defaults to `gp2`.
|
7113
7113
|
#
|
7114
7114
|
# @option params [Boolean] :dry_run
|
@@ -7406,10 +7406,10 @@ module Aws::EC2
|
|
7406
7406
|
# provider.
|
7407
7407
|
#
|
7408
7408
|
# @option params [String] :policy_document
|
7409
|
-
#
|
7410
|
-
#
|
7411
|
-
#
|
7412
|
-
#
|
7409
|
+
# A policy to attach to the endpoint that controls access to the
|
7410
|
+
# service. The policy must be in valid JSON format. If this parameter is
|
7411
|
+
# not specified, we attach a default policy that allows full access to
|
7412
|
+
# the service.
|
7413
7413
|
#
|
7414
7414
|
# @option params [Array<String>] :route_table_ids
|
7415
7415
|
# (Gateway endpoint) One or more route table IDs.
|
@@ -13215,12 +13215,18 @@ module Aws::EC2
|
|
13215
13215
|
#
|
13216
13216
|
# * `event.description` - A description of the event.
|
13217
13217
|
#
|
13218
|
+
# * `event.instance-event-id` - The ID of the event whose date and time
|
13219
|
+
# you are modifying.
|
13220
|
+
#
|
13218
13221
|
# * `event.not-after` - The latest end time for the scheduled event (for
|
13219
13222
|
# example, `2014-09-15T17:15:20.000Z`).
|
13220
13223
|
#
|
13221
13224
|
# * `event.not-before` - The earliest start time for the scheduled event
|
13222
13225
|
# (for example, `2014-09-15T17:15:20.000Z`).
|
13223
13226
|
#
|
13227
|
+
# * `event.not-before-deadline` - The deadline for starting the event
|
13228
|
+
# (for example, `2014-09-15T17:15:20.000Z`).
|
13229
|
+
#
|
13224
13230
|
# * `instance-state-code` - The code for the instance state, as a 16-bit
|
13225
13231
|
# unsigned integer. The high byte is used for internal purposes and
|
13226
13232
|
# should be ignored. The low byte is set based on the state
|
@@ -13344,10 +13350,12 @@ module Aws::EC2
|
|
13344
13350
|
# resp.instance_statuses #=> Array
|
13345
13351
|
# resp.instance_statuses[0].availability_zone #=> String
|
13346
13352
|
# resp.instance_statuses[0].events #=> Array
|
13353
|
+
# resp.instance_statuses[0].events[0].instance_event_id #=> String
|
13347
13354
|
# resp.instance_statuses[0].events[0].code #=> String, one of "instance-reboot", "system-reboot", "system-maintenance", "instance-retirement", "instance-stop"
|
13348
13355
|
# resp.instance_statuses[0].events[0].description #=> String
|
13349
13356
|
# resp.instance_statuses[0].events[0].not_after #=> Time
|
13350
13357
|
# resp.instance_statuses[0].events[0].not_before #=> Time
|
13358
|
+
# resp.instance_statuses[0].events[0].not_before_deadline #=> Time
|
13351
13359
|
# resp.instance_statuses[0].instance_id #=> String
|
13352
13360
|
# resp.instance_statuses[0].instance_state.code #=> Integer
|
13353
13361
|
# resp.instance_statuses[0].instance_state.name #=> String, one of "pending", "running", "shutting-down", "terminated", "stopping", "stopped"
|
@@ -17088,9 +17096,9 @@ module Aws::EC2
|
|
17088
17096
|
end
|
17089
17097
|
|
17090
17098
|
# Describes one or more of the EBS snapshots available to you. Available
|
17091
|
-
# snapshots include public snapshots available for any AWS
|
17092
|
-
#
|
17093
|
-
# another AWS account
|
17099
|
+
# snapshots include public snapshots available for use by any AWS
|
17100
|
+
# account, private snapshots that you own, and private snapshots owned
|
17101
|
+
# by another AWS account for which you've been given explicit create
|
17094
17102
|
# volume permissions.
|
17095
17103
|
#
|
17096
17104
|
# The create volume permissions fall into the following categories:
|
@@ -17197,8 +17205,7 @@ module Aws::EC2
|
|
17197
17205
|
# value. This value is `null` when there are no more results to return.
|
17198
17206
|
#
|
17199
17207
|
# @option params [Array<String>] :owner_ids
|
17200
|
-
#
|
17201
|
-
# can be specified.
|
17208
|
+
# Describes the snapshots owned by one or more owners.
|
17202
17209
|
#
|
17203
17210
|
# @option params [Array<String>] :restorable_by_user_ids
|
17204
17211
|
# One or more AWS accounts IDs that can create volumes from the
|
@@ -17207,7 +17214,8 @@ module Aws::EC2
|
|
17207
17214
|
# @option params [Array<String>] :snapshot_ids
|
17208
17215
|
# One or more snapshot IDs.
|
17209
17216
|
#
|
17210
|
-
# Default: Describes snapshots for which you have
|
17217
|
+
# Default: Describes the snapshots for which you have create volume
|
17218
|
+
# permissions.
|
17211
17219
|
#
|
17212
17220
|
# @option params [Boolean] :dry_run
|
17213
17221
|
# Checks whether you have the required permissions for the action,
|
@@ -22549,9 +22557,12 @@ module Aws::EC2
|
|
22549
22557
|
#
|
22550
22558
|
# @option params [required, String] :certificate_revocation_list
|
22551
22559
|
# The client certificate revocation list file. For more information, see
|
22552
|
-
# [Generate a Client Certificate Revocation
|
22553
|
-
#
|
22554
|
-
#
|
22560
|
+
# [Generate a Client Certificate Revocation List][1] in the *AWS Client
|
22561
|
+
# VPN Administrator Guide*.
|
22562
|
+
#
|
22563
|
+
#
|
22564
|
+
#
|
22565
|
+
# [1]: https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/cvpn-working-certificates.html#cvpn-working-certificates-generate
|
22555
22566
|
#
|
22556
22567
|
# @option params [Boolean] :dry_run
|
22557
22568
|
# Checks whether you have the required permissions for the action,
|
@@ -24113,6 +24124,54 @@ module Aws::EC2
|
|
24113
24124
|
req.send_request(options)
|
24114
24125
|
end
|
24115
24126
|
|
24127
|
+
# Modifies the start time for a scheduled Amazon EC2 instance event.
|
24128
|
+
#
|
24129
|
+
# @option params [Boolean] :dry_run
|
24130
|
+
# Checks whether you have the required permissions for the action,
|
24131
|
+
# without actually making the request, and provides an error response.
|
24132
|
+
# If you have the required permissions, the error response is
|
24133
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation.`
|
24134
|
+
#
|
24135
|
+
# @option params [required, String] :instance_id
|
24136
|
+
# The ID of the instance with the scheduled event.
|
24137
|
+
#
|
24138
|
+
# @option params [required, String] :instance_event_id
|
24139
|
+
# The ID of the event whose date and time you are modifying.
|
24140
|
+
#
|
24141
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :not_before
|
24142
|
+
# The new date and time when the event will take place.
|
24143
|
+
#
|
24144
|
+
# @return [Types::ModifyInstanceEventStartTimeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
24145
|
+
#
|
24146
|
+
# * {Types::ModifyInstanceEventStartTimeResult#event #event} => Types::InstanceStatusEvent
|
24147
|
+
#
|
24148
|
+
# @example Request syntax with placeholder values
|
24149
|
+
#
|
24150
|
+
# resp = client.modify_instance_event_start_time({
|
24151
|
+
# dry_run: false,
|
24152
|
+
# instance_id: "String", # required
|
24153
|
+
# instance_event_id: "String", # required
|
24154
|
+
# not_before: Time.now, # required
|
24155
|
+
# })
|
24156
|
+
#
|
24157
|
+
# @example Response structure
|
24158
|
+
#
|
24159
|
+
# resp.event.instance_event_id #=> String
|
24160
|
+
# resp.event.code #=> String, one of "instance-reboot", "system-reboot", "system-maintenance", "instance-retirement", "instance-stop"
|
24161
|
+
# resp.event.description #=> String
|
24162
|
+
# resp.event.not_after #=> Time
|
24163
|
+
# resp.event.not_before #=> Time
|
24164
|
+
# resp.event.not_before_deadline #=> Time
|
24165
|
+
#
|
24166
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceEventStartTime AWS API Documentation
|
24167
|
+
#
|
24168
|
+
# @overload modify_instance_event_start_time(params = {})
|
24169
|
+
# @param [Hash] params ({})
|
24170
|
+
def modify_instance_event_start_time(params = {}, options = {})
|
24171
|
+
req = build_request(:modify_instance_event_start_time, params)
|
24172
|
+
req.send_request(options)
|
24173
|
+
end
|
24174
|
+
|
24116
24175
|
# Modifies the placement attributes for a specified instance. You can do
|
24117
24176
|
# the following:
|
24118
24177
|
#
|
@@ -25068,8 +25127,10 @@ module Aws::EC2
|
|
25068
25127
|
# default policy. The default policy allows full access to the service.
|
25069
25128
|
#
|
25070
25129
|
# @option params [String] :policy_document
|
25071
|
-
#
|
25072
|
-
# policy must be in valid JSON format.
|
25130
|
+
# A policy to attach to the endpoint that controls access to the
|
25131
|
+
# service. The policy must be in valid JSON format. If this parameter is
|
25132
|
+
# not specified, we attach a default policy that allows full access to
|
25133
|
+
# the service.
|
25073
25134
|
#
|
25074
25135
|
# @option params [Array<String>] :add_route_table_ids
|
25075
25136
|
# (Gateway endpoint) One or more route tables IDs to associate with the
|
@@ -29884,7 +29945,7 @@ module Aws::EC2
|
|
29884
29945
|
params: params,
|
29885
29946
|
config: config)
|
29886
29947
|
context[:gem_name] = 'aws-sdk-ec2'
|
29887
|
-
context[:gem_version] = '1.
|
29948
|
+
context[:gem_version] = '1.71.0'
|
29888
29949
|
Seahorse::Client::Request.new(handlers, context)
|
29889
29950
|
end
|
29890
29951
|
|
@@ -445,6 +445,7 @@ module Aws::EC2
|
|
445
445
|
DescribeImportSnapshotTasksRequest = Shapes::StructureShape.new(name: 'DescribeImportSnapshotTasksRequest')
|
446
446
|
DescribeImportSnapshotTasksResult = Shapes::StructureShape.new(name: 'DescribeImportSnapshotTasksResult')
|
447
447
|
DescribeInstanceAttributeRequest = Shapes::StructureShape.new(name: 'DescribeInstanceAttributeRequest')
|
448
|
+
DescribeInstanceCreditSpecificationsMaxResults = Shapes::IntegerShape.new(name: 'DescribeInstanceCreditSpecificationsMaxResults')
|
448
449
|
DescribeInstanceCreditSpecificationsRequest = Shapes::StructureShape.new(name: 'DescribeInstanceCreditSpecificationsRequest')
|
449
450
|
DescribeInstanceCreditSpecificationsResult = Shapes::StructureShape.new(name: 'DescribeInstanceCreditSpecificationsResult')
|
450
451
|
DescribeInstanceStatusRequest = Shapes::StructureShape.new(name: 'DescribeInstanceStatusRequest')
|
@@ -791,6 +792,7 @@ module Aws::EC2
|
|
791
792
|
InstanceCreditSpecificationList = Shapes::ListShape.new(name: 'InstanceCreditSpecificationList')
|
792
793
|
InstanceCreditSpecificationListRequest = Shapes::ListShape.new(name: 'InstanceCreditSpecificationListRequest')
|
793
794
|
InstanceCreditSpecificationRequest = Shapes::StructureShape.new(name: 'InstanceCreditSpecificationRequest')
|
795
|
+
InstanceEventId = Shapes::StringShape.new(name: 'InstanceEventId')
|
794
796
|
InstanceExportDetails = Shapes::StructureShape.new(name: 'InstanceExportDetails')
|
795
797
|
InstanceHealthStatus = Shapes::StringShape.new(name: 'InstanceHealthStatus')
|
796
798
|
InstanceId = Shapes::StringShape.new(name: 'InstanceId')
|
@@ -942,6 +944,8 @@ module Aws::EC2
|
|
942
944
|
ModifyInstanceCapacityReservationAttributesResult = Shapes::StructureShape.new(name: 'ModifyInstanceCapacityReservationAttributesResult')
|
943
945
|
ModifyInstanceCreditSpecificationRequest = Shapes::StructureShape.new(name: 'ModifyInstanceCreditSpecificationRequest')
|
944
946
|
ModifyInstanceCreditSpecificationResult = Shapes::StructureShape.new(name: 'ModifyInstanceCreditSpecificationResult')
|
947
|
+
ModifyInstanceEventStartTimeRequest = Shapes::StructureShape.new(name: 'ModifyInstanceEventStartTimeRequest')
|
948
|
+
ModifyInstanceEventStartTimeResult = Shapes::StructureShape.new(name: 'ModifyInstanceEventStartTimeResult')
|
945
949
|
ModifyInstancePlacementRequest = Shapes::StructureShape.new(name: 'ModifyInstancePlacementRequest')
|
946
950
|
ModifyInstancePlacementResult = Shapes::StructureShape.new(name: 'ModifyInstancePlacementResult')
|
947
951
|
ModifyLaunchTemplateRequest = Shapes::StructureShape.new(name: 'ModifyLaunchTemplateRequest')
|
@@ -3257,7 +3261,7 @@ module Aws::EC2
|
|
3257
3261
|
DescribeInstanceCreditSpecificationsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3258
3262
|
DescribeInstanceCreditSpecificationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
3259
3263
|
DescribeInstanceCreditSpecificationsRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, location_name: "InstanceId"))
|
3260
|
-
DescribeInstanceCreditSpecificationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape:
|
3264
|
+
DescribeInstanceCreditSpecificationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeInstanceCreditSpecificationsMaxResults, location_name: "MaxResults"))
|
3261
3265
|
DescribeInstanceCreditSpecificationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
3262
3266
|
DescribeInstanceCreditSpecificationsRequest.struct_class = Types::DescribeInstanceCreditSpecificationsRequest
|
3263
3267
|
|
@@ -4940,10 +4944,12 @@ module Aws::EC2
|
|
4940
4944
|
|
4941
4945
|
InstanceStatusDetailsList.member = Shapes::ShapeRef.new(shape: InstanceStatusDetails, location_name: "item")
|
4942
4946
|
|
4947
|
+
InstanceStatusEvent.add_member(:instance_event_id, Shapes::ShapeRef.new(shape: InstanceEventId, location_name: "instanceEventId"))
|
4943
4948
|
InstanceStatusEvent.add_member(:code, Shapes::ShapeRef.new(shape: EventCode, location_name: "code"))
|
4944
4949
|
InstanceStatusEvent.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
4945
4950
|
InstanceStatusEvent.add_member(:not_after, Shapes::ShapeRef.new(shape: DateTime, location_name: "notAfter"))
|
4946
4951
|
InstanceStatusEvent.add_member(:not_before, Shapes::ShapeRef.new(shape: DateTime, location_name: "notBefore"))
|
4952
|
+
InstanceStatusEvent.add_member(:not_before_deadline, Shapes::ShapeRef.new(shape: DateTime, location_name: "notBeforeDeadline"))
|
4947
4953
|
InstanceStatusEvent.struct_class = Types::InstanceStatusEvent
|
4948
4954
|
|
4949
4955
|
InstanceStatusEventList.member = Shapes::ShapeRef.new(shape: InstanceStatusEvent, location_name: "item")
|
@@ -5405,6 +5411,15 @@ module Aws::EC2
|
|
5405
5411
|
ModifyInstanceCreditSpecificationResult.add_member(:unsuccessful_instance_credit_specifications, Shapes::ShapeRef.new(shape: UnsuccessfulInstanceCreditSpecificationSet, location_name: "unsuccessfulInstanceCreditSpecificationSet"))
|
5406
5412
|
ModifyInstanceCreditSpecificationResult.struct_class = Types::ModifyInstanceCreditSpecificationResult
|
5407
5413
|
|
5414
|
+
ModifyInstanceEventStartTimeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5415
|
+
ModifyInstanceEventStartTimeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceId"))
|
5416
|
+
ModifyInstanceEventStartTimeRequest.add_member(:instance_event_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceEventId"))
|
5417
|
+
ModifyInstanceEventStartTimeRequest.add_member(:not_before, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "NotBefore"))
|
5418
|
+
ModifyInstanceEventStartTimeRequest.struct_class = Types::ModifyInstanceEventStartTimeRequest
|
5419
|
+
|
5420
|
+
ModifyInstanceEventStartTimeResult.add_member(:event, Shapes::ShapeRef.new(shape: InstanceStatusEvent, location_name: "event"))
|
5421
|
+
ModifyInstanceEventStartTimeResult.struct_class = Types::ModifyInstanceEventStartTimeResult
|
5422
|
+
|
5408
5423
|
ModifyInstancePlacementRequest.add_member(:affinity, Shapes::ShapeRef.new(shape: Affinity, location_name: "affinity"))
|
5409
5424
|
ModifyInstancePlacementRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
|
5410
5425
|
ModifyInstancePlacementRequest.add_member(:host_id, Shapes::ShapeRef.new(shape: String, location_name: "hostId"))
|
@@ -9755,6 +9770,14 @@ module Aws::EC2
|
|
9755
9770
|
o.output = Shapes::ShapeRef.new(shape: ModifyInstanceCreditSpecificationResult)
|
9756
9771
|
end)
|
9757
9772
|
|
9773
|
+
api.add_operation(:modify_instance_event_start_time, Seahorse::Model::Operation.new.tap do |o|
|
9774
|
+
o.name = "ModifyInstanceEventStartTime"
|
9775
|
+
o.http_method = "POST"
|
9776
|
+
o.http_request_uri = "/"
|
9777
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyInstanceEventStartTimeRequest)
|
9778
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyInstanceEventStartTimeResult)
|
9779
|
+
end)
|
9780
|
+
|
9758
9781
|
api.add_operation(:modify_instance_placement, Seahorse::Model::Operation.new.tap do |o|
|
9759
9782
|
o.name = "ModifyInstancePlacement"
|
9760
9783
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -858,18 +858,17 @@ module Aws::EC2
|
|
858
858
|
# @option options [Integer] :iops
|
859
859
|
# The number of I/O operations per second (IOPS) to provision for the
|
860
860
|
# volume, with a maximum ratio of 50 IOPS/GiB. Range is 100 to 64,000
|
861
|
-
# IOPS for volumes in most
|
862
|
-
# only on [Nitro-based
|
863
|
-
#
|
864
|
-
#
|
865
|
-
# more information, see [Amazon EBS Volume Types][1] in the *Amazon
|
866
|
-
# Elastic Compute Cloud User Guide*.
|
861
|
+
# IOPS for volumes in most Regions. Maximum IOPS of 64,000 is guaranteed
|
862
|
+
# only on [Nitro-based instances][1]. Other instance families guarantee
|
863
|
+
# performance up to 32,000 IOPS. For more information, see [Amazon EBS
|
864
|
+
# Volume Types][2] in the *Amazon Elastic Compute Cloud User Guide*.
|
867
865
|
#
|
868
866
|
# This parameter is valid only for Provisioned IOPS SSD (io1) volumes.
|
869
867
|
#
|
870
868
|
#
|
871
869
|
#
|
872
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
870
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
871
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
|
873
872
|
# @option options [String] :kms_key_id
|
874
873
|
# An identifier for the AWS Key Management Service (AWS KMS) customer
|
875
874
|
# master key (CMK) to use when creating the encrypted volume. This
|
@@ -925,7 +924,7 @@ module Aws::EC2
|
|
925
924
|
# Defaults: If no volume type is specified, the default is `standard` in
|
926
925
|
# us-east-1, eu-west-1, eu-central-1, us-west-2, us-west-1, sa-east-1,
|
927
926
|
# ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2,
|
928
|
-
# ap-south-1, us-gov-west-1, and cn-north-1. In all other
|
927
|
+
# ap-south-1, us-gov-west-1, and cn-north-1. In all other Regions, EBS
|
929
928
|
# defaults to `gp2`.
|
930
929
|
# @option options [Boolean] :dry_run
|
931
930
|
# Checks whether you have the required permissions for the action,
|
@@ -2557,15 +2556,15 @@ module Aws::EC2
|
|
2557
2556
|
#
|
2558
2557
|
# * `volume-size` - The size of the volume, in GiB.
|
2559
2558
|
# @option options [Array<String>] :owner_ids
|
2560
|
-
#
|
2561
|
-
# can be specified.
|
2559
|
+
# Describes the snapshots owned by one or more owners.
|
2562
2560
|
# @option options [Array<String>] :restorable_by_user_ids
|
2563
2561
|
# One or more AWS accounts IDs that can create volumes from the
|
2564
2562
|
# snapshot.
|
2565
2563
|
# @option options [Array<String>] :snapshot_ids
|
2566
2564
|
# One or more snapshot IDs.
|
2567
2565
|
#
|
2568
|
-
# Default: Describes snapshots for which you have
|
2566
|
+
# Default: Describes the snapshots for which you have create volume
|
2567
|
+
# permissions.
|
2569
2568
|
# @option options [Boolean] :dry_run
|
2570
2569
|
# Checks whether you have the required permissions for the action,
|
2571
2570
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
@@ -291,15 +291,15 @@ module Aws::EC2
|
|
291
291
|
# @option options [String] :description
|
292
292
|
# A description for the EBS snapshot.
|
293
293
|
# @option options [String] :destination_region
|
294
|
-
# The destination
|
294
|
+
# The destination Region to use in the `PresignedUrl` parameter of a
|
295
295
|
# snapshot copy operation. This parameter is only valid for specifying
|
296
|
-
# the destination
|
296
|
+
# the destination Region in a `PresignedUrl` parameter, where it is
|
297
297
|
# required.
|
298
298
|
#
|
299
299
|
# The snapshot copy is sent to the regional endpoint that you sent the
|
300
300
|
# HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With the
|
301
301
|
# AWS CLI, this is specified using the `--region` parameter or the
|
302
|
-
# default
|
302
|
+
# default Region in your AWS configuration file.
|
303
303
|
# @option options [Boolean] :encrypted
|
304
304
|
# Specifies whether the destination snapshot should be encrypted. You
|
305
305
|
# can encrypt a copy of an unencrypted snapshot, but you cannot use it
|
@@ -360,7 +360,7 @@ module Aws::EC2
|
|
360
360
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html
|
361
361
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
|
362
362
|
# @option options [required, String] :source_region
|
363
|
-
# The ID of the
|
363
|
+
# The ID of the Region that contains the snapshot to be copied.
|
364
364
|
# @option options [Boolean] :dry_run
|
365
365
|
# Checks whether you have the required permissions for the action,
|
366
366
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -1066,11 +1066,11 @@ module Aws::EC2
|
|
1066
1066
|
# endpoint. A target network is a subnet in a VPC.
|
1067
1067
|
#
|
1068
1068
|
# @!attribute [rw] network_id
|
1069
|
-
#
|
1069
|
+
# The ID of the subnet.
|
1070
1070
|
# @return [String]
|
1071
1071
|
#
|
1072
1072
|
# @!attribute [rw] network_type
|
1073
|
-
#
|
1073
|
+
# The target network type.
|
1074
1074
|
# @return [String]
|
1075
1075
|
#
|
1076
1076
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociatedTargetNetwork AWS API Documentation
|
@@ -1370,7 +1370,7 @@ module Aws::EC2
|
|
1370
1370
|
include Aws::Structure
|
1371
1371
|
end
|
1372
1372
|
|
1373
|
-
#
|
1373
|
+
# Information about an authorization rule.
|
1374
1374
|
#
|
1375
1375
|
# @!attribute [rw] client_vpn_endpoint_id
|
1376
1376
|
# The ID of the Client VPN endpoint with which the authorization rule
|
@@ -2694,10 +2694,10 @@ module Aws::EC2
|
|
2694
2694
|
include Aws::Structure
|
2695
2695
|
end
|
2696
2696
|
|
2697
|
-
#
|
2697
|
+
# Information about the client certificate used for authentication.
|
2698
2698
|
#
|
2699
2699
|
# @!attribute [rw] client_root_certificate_chain
|
2700
|
-
#
|
2700
|
+
# The ARN of the client certificate.
|
2701
2701
|
# @return [String]
|
2702
2702
|
#
|
2703
2703
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CertificateAuthentication AWS API Documentation
|
@@ -2707,8 +2707,8 @@ module Aws::EC2
|
|
2707
2707
|
include Aws::Structure
|
2708
2708
|
end
|
2709
2709
|
|
2710
|
-
#
|
2711
|
-
# authentication
|
2710
|
+
# Information about the client certificate to be used for
|
2711
|
+
# authentication.
|
2712
2712
|
#
|
2713
2713
|
# @note When making an API call, you may pass CertificateAuthenticationRequest
|
2714
2714
|
# data as a hash:
|
@@ -2718,9 +2718,9 @@ module Aws::EC2
|
|
2718
2718
|
# }
|
2719
2719
|
#
|
2720
2720
|
# @!attribute [rw] client_root_certificate_chain_arn
|
2721
|
-
#
|
2722
|
-
#
|
2723
|
-
# Certificate Manager (ACM)
|
2721
|
+
# The ARN of the client certificate. The certificate must be signed by
|
2722
|
+
# a certificate authority (CA) and it must be provisioned in AWS
|
2723
|
+
# Certificate Manager (ACM).
|
2724
2724
|
# @return [String]
|
2725
2725
|
#
|
2726
2726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CertificateAuthenticationRequest AWS API Documentation
|
@@ -2921,9 +2921,12 @@ module Aws::EC2
|
|
2921
2921
|
|
2922
2922
|
# Describes the authentication methods used by a Client VPN endpoint.
|
2923
2923
|
# Client VPN supports Active Directory and mutual authentication. For
|
2924
|
-
# more information, see
|
2925
|
-
#
|
2926
|
-
#
|
2924
|
+
# more information, see [Authentication][1] in the *AWS Client VPN
|
2925
|
+
# Administrator Guide*.
|
2926
|
+
#
|
2927
|
+
#
|
2928
|
+
#
|
2929
|
+
# [1]: https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/authentication-authrization.html#client-authentication
|
2927
2930
|
#
|
2928
2931
|
# @!attribute [rw] type
|
2929
2932
|
# The authentication type used.
|
@@ -2948,9 +2951,12 @@ module Aws::EC2
|
|
2948
2951
|
|
2949
2952
|
# Describes the authentication method to be used by a Client VPN
|
2950
2953
|
# endpoint. Client VPN supports Active Directory and mutual
|
2951
|
-
# authentication. For more information, see
|
2952
|
-
#
|
2953
|
-
#
|
2954
|
+
# authentication. For more information, see [Authentication][1] in the
|
2955
|
+
# *AWS Client VPN Administrator Guide*.
|
2956
|
+
#
|
2957
|
+
#
|
2958
|
+
#
|
2959
|
+
# [1]: https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/authentication-authrization.html#client-authentication
|
2954
2960
|
#
|
2955
2961
|
# @note When making an API call, you may pass ClientVpnAuthenticationRequest
|
2956
2962
|
# data as a hash:
|
@@ -3018,7 +3024,7 @@ module Aws::EC2
|
|
3018
3024
|
# @return [String]
|
3019
3025
|
#
|
3020
3026
|
# @!attribute [rw] timestamp
|
3021
|
-
#
|
3027
|
+
# The current date and time.
|
3022
3028
|
# @return [String]
|
3023
3029
|
#
|
3024
3030
|
# @!attribute [rw] connection_id
|
@@ -3056,8 +3062,8 @@ module Aws::EC2
|
|
3056
3062
|
# @return [String]
|
3057
3063
|
#
|
3058
3064
|
# @!attribute [rw] common_name
|
3059
|
-
#
|
3060
|
-
#
|
3065
|
+
# The common name associated with the client. This is either the name
|
3066
|
+
# of the client certificate, or the Active Directory user name.
|
3061
3067
|
# @return [String]
|
3062
3068
|
#
|
3063
3069
|
# @!attribute [rw] status
|
@@ -3151,7 +3157,7 @@ module Aws::EC2
|
|
3151
3157
|
# @return [String]
|
3152
3158
|
#
|
3153
3159
|
# @!attribute [rw] transport_protocol
|
3154
|
-
#
|
3160
|
+
# The transport protocol used by the Client VPN endpoint.
|
3155
3161
|
# @return [String]
|
3156
3162
|
#
|
3157
3163
|
# @!attribute [rw] associated_target_networks
|
@@ -3231,7 +3237,7 @@ module Aws::EC2
|
|
3231
3237
|
include Aws::Structure
|
3232
3238
|
end
|
3233
3239
|
|
3234
|
-
#
|
3240
|
+
# Information about a Client VPN endpoint route.
|
3235
3241
|
#
|
3236
3242
|
# @!attribute [rw] client_vpn_endpoint_id
|
3237
3243
|
# The ID of the Client VPN endpoint with which the route is
|
@@ -3247,7 +3253,7 @@ module Aws::EC2
|
|
3247
3253
|
# @return [String]
|
3248
3254
|
#
|
3249
3255
|
# @!attribute [rw] type
|
3250
|
-
#
|
3256
|
+
# The route type.
|
3251
3257
|
# @return [String]
|
3252
3258
|
#
|
3253
3259
|
# @!attribute [rw] origin
|
@@ -3713,15 +3719,15 @@ module Aws::EC2
|
|
3713
3719
|
# @return [String]
|
3714
3720
|
#
|
3715
3721
|
# @!attribute [rw] destination_region
|
3716
|
-
# The destination
|
3722
|
+
# The destination Region to use in the `PresignedUrl` parameter of a
|
3717
3723
|
# snapshot copy operation. This parameter is only valid for specifying
|
3718
|
-
# the destination
|
3724
|
+
# the destination Region in a `PresignedUrl` parameter, where it is
|
3719
3725
|
# required.
|
3720
3726
|
#
|
3721
3727
|
# The snapshot copy is sent to the regional endpoint that you sent the
|
3722
3728
|
# HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With
|
3723
3729
|
# the AWS CLI, this is specified using the `--region` parameter or the
|
3724
|
-
# default
|
3730
|
+
# default Region in your AWS configuration file.
|
3725
3731
|
# @return [String]
|
3726
3732
|
#
|
3727
3733
|
# @!attribute [rw] encrypted
|
@@ -3792,7 +3798,7 @@ module Aws::EC2
|
|
3792
3798
|
# @return [String]
|
3793
3799
|
#
|
3794
3800
|
# @!attribute [rw] source_region
|
3795
|
-
# The ID of the
|
3801
|
+
# The ID of the Region that contains the snapshot to be copied.
|
3796
3802
|
# @return [String]
|
3797
3803
|
#
|
3798
3804
|
# @!attribute [rw] source_snapshot_id
|
@@ -4108,8 +4114,11 @@ module Aws::EC2
|
|
4108
4114
|
#
|
4109
4115
|
# @!attribute [rw] server_certificate_arn
|
4110
4116
|
# The ARN of the server certificate. For more information, see the
|
4111
|
-
# [AWS Certificate Manager User
|
4112
|
-
#
|
4117
|
+
# [AWS Certificate Manager User Guide][1].
|
4118
|
+
#
|
4119
|
+
#
|
4120
|
+
#
|
4121
|
+
# [1]: https://docs.aws.amazon.com/acm/latest/userguide/
|
4113
4122
|
# @return [String]
|
4114
4123
|
#
|
4115
4124
|
# @!attribute [rw] authentication_options
|
@@ -4732,8 +4741,8 @@ module Aws::EC2
|
|
4732
4741
|
# @!attribute [rw] valid_until
|
4733
4742
|
# The end date and time of the request, in UTC format (for example,
|
4734
4743
|
# *YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z). At this point, no new EC2 Fleet
|
4735
|
-
# requests are placed or able to fulfill the request.
|
4736
|
-
#
|
4744
|
+
# requests are placed or able to fulfill the request. If no value is
|
4745
|
+
# specified, the request remains until you cancel it.
|
4737
4746
|
# @return [Time]
|
4738
4747
|
#
|
4739
4748
|
# @!attribute [rw] replace_unhealthy_instances
|
@@ -6767,8 +6776,8 @@ module Aws::EC2
|
|
6767
6776
|
include Aws::Structure
|
6768
6777
|
end
|
6769
6778
|
|
6770
|
-
# Describes the user or group to be added or removed from the
|
6771
|
-
# permissions for a volume.
|
6779
|
+
# Describes the user or group to be added or removed from the list of
|
6780
|
+
# create volume permissions for a volume.
|
6772
6781
|
#
|
6773
6782
|
# @note When making an API call, you may pass CreateVolumePermission
|
6774
6783
|
# data as a hash:
|
@@ -6779,13 +6788,11 @@ module Aws::EC2
|
|
6779
6788
|
# }
|
6780
6789
|
#
|
6781
6790
|
# @!attribute [rw] group
|
6782
|
-
# The
|
6783
|
-
# list of create volume permissions.
|
6791
|
+
# The group to be added or removed. The possible value is `all`.
|
6784
6792
|
# @return [String]
|
6785
6793
|
#
|
6786
6794
|
# @!attribute [rw] user_id
|
6787
|
-
# The
|
6788
|
-
# volume's list of create volume permissions.
|
6795
|
+
# The AWS account ID to be added or removed.
|
6789
6796
|
# @return [String]
|
6790
6797
|
#
|
6791
6798
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolumePermission AWS API Documentation
|
@@ -6796,7 +6803,8 @@ module Aws::EC2
|
|
6796
6803
|
include Aws::Structure
|
6797
6804
|
end
|
6798
6805
|
|
6799
|
-
# Describes modifications to the permissions for a
|
6806
|
+
# Describes modifications to the list of create volume permissions for a
|
6807
|
+
# volume.
|
6800
6808
|
#
|
6801
6809
|
# @note When making an API call, you may pass CreateVolumePermissionModifications
|
6802
6810
|
# data as a hash:
|
@@ -6817,13 +6825,11 @@ module Aws::EC2
|
|
6817
6825
|
# }
|
6818
6826
|
#
|
6819
6827
|
# @!attribute [rw] add
|
6820
|
-
# Adds
|
6821
|
-
# create volume permissions.
|
6828
|
+
# Adds the specified AWS account ID or group to the list.
|
6822
6829
|
# @return [Array<Types::CreateVolumePermission>]
|
6823
6830
|
#
|
6824
6831
|
# @!attribute [rw] remove
|
6825
|
-
# Removes
|
6826
|
-
# create volume permissions.
|
6832
|
+
# Removes the specified AWS account ID or group from the list.
|
6827
6833
|
# @return [Array<Types::CreateVolumePermission>]
|
6828
6834
|
#
|
6829
6835
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolumePermissionModifications AWS API Documentation
|
@@ -6885,18 +6891,18 @@ module Aws::EC2
|
|
6885
6891
|
# @!attribute [rw] iops
|
6886
6892
|
# The number of I/O operations per second (IOPS) to provision for the
|
6887
6893
|
# volume, with a maximum ratio of 50 IOPS/GiB. Range is 100 to 64,000
|
6888
|
-
# IOPS for volumes in most
|
6889
|
-
# guaranteed only on [Nitro-based
|
6890
|
-
#
|
6891
|
-
#
|
6892
|
-
#
|
6893
|
-
# Elastic Compute Cloud User Guide*.
|
6894
|
+
# IOPS for volumes in most Regions. Maximum IOPS of 64,000 is
|
6895
|
+
# guaranteed only on [Nitro-based instances][1]. Other instance
|
6896
|
+
# families guarantee performance up to 32,000 IOPS. For more
|
6897
|
+
# information, see [Amazon EBS Volume Types][2] in the *Amazon Elastic
|
6898
|
+
# Compute Cloud User Guide*.
|
6894
6899
|
#
|
6895
6900
|
# This parameter is valid only for Provisioned IOPS SSD (io1) volumes.
|
6896
6901
|
#
|
6897
6902
|
#
|
6898
6903
|
#
|
6899
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
6904
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
6905
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
|
6900
6906
|
# @return [Integer]
|
6901
6907
|
#
|
6902
6908
|
# @!attribute [rw] kms_key_id
|
@@ -6961,7 +6967,7 @@ module Aws::EC2
|
|
6961
6967
|
# in us-east-1, eu-west-1, eu-central-1, us-west-2, us-west-1,
|
6962
6968
|
# sa-east-1, ap-northeast-1, ap-northeast-2, ap-southeast-1,
|
6963
6969
|
# ap-southeast-2, ap-south-1, us-gov-west-1, and cn-north-1. In all
|
6964
|
-
# other
|
6970
|
+
# other Regions, EBS defaults to `gp2`.
|
6965
6971
|
# @return [String]
|
6966
6972
|
#
|
6967
6973
|
# @!attribute [rw] dry_run
|
@@ -7107,10 +7113,10 @@ module Aws::EC2
|
|
7107
7113
|
# @return [String]
|
7108
7114
|
#
|
7109
7115
|
# @!attribute [rw] policy_document
|
7110
|
-
#
|
7111
|
-
#
|
7112
|
-
#
|
7113
|
-
#
|
7116
|
+
# A policy to attach to the endpoint that controls access to the
|
7117
|
+
# service. The policy must be in valid JSON format. If this parameter
|
7118
|
+
# is not specified, we attach a default policy that allows full access
|
7119
|
+
# to the service.
|
7114
7120
|
# @return [String]
|
7115
7121
|
#
|
7116
7122
|
# @!attribute [rw] route_table_ids
|
@@ -11878,12 +11884,18 @@ module Aws::EC2
|
|
11878
11884
|
#
|
11879
11885
|
# * `event.description` - A description of the event.
|
11880
11886
|
#
|
11887
|
+
# * `event.instance-event-id` - The ID of the event whose date and
|
11888
|
+
# time you are modifying.
|
11889
|
+
#
|
11881
11890
|
# * `event.not-after` - The latest end time for the scheduled event
|
11882
11891
|
# (for example, `2014-09-15T17:15:20.000Z`).
|
11883
11892
|
#
|
11884
11893
|
# * `event.not-before` - The earliest start time for the scheduled
|
11885
11894
|
# event (for example, `2014-09-15T17:15:20.000Z`).
|
11886
11895
|
#
|
11896
|
+
# * `event.not-before-deadline` - The deadline for starting the event
|
11897
|
+
# (for example, `2014-09-15T17:15:20.000Z`).
|
11898
|
+
#
|
11887
11899
|
# * `instance-state-code` - The code for the instance state, as a
|
11888
11900
|
# 16-bit unsigned integer. The high byte is used for internal
|
11889
11901
|
# purposes and should be ignored. The low byte is set based on the
|
@@ -14615,11 +14627,12 @@ module Aws::EC2
|
|
14615
14627
|
# Contains the output of DescribeSnapshotAttribute.
|
14616
14628
|
#
|
14617
14629
|
# @!attribute [rw] create_volume_permissions
|
14618
|
-
#
|
14630
|
+
# The users and groups that have the permissions for creating volumes
|
14631
|
+
# from the snapshot.
|
14619
14632
|
# @return [Array<Types::CreateVolumePermission>]
|
14620
14633
|
#
|
14621
14634
|
# @!attribute [rw] product_codes
|
14622
|
-
#
|
14635
|
+
# The product codes.
|
14623
14636
|
# @return [Array<Types::ProductCode>]
|
14624
14637
|
#
|
14625
14638
|
# @!attribute [rw] snapshot_id
|
@@ -14716,8 +14729,7 @@ module Aws::EC2
|
|
14716
14729
|
# @return [String]
|
14717
14730
|
#
|
14718
14731
|
# @!attribute [rw] owner_ids
|
14719
|
-
#
|
14720
|
-
# can be specified.
|
14732
|
+
# Describes the snapshots owned by one or more owners.
|
14721
14733
|
# @return [Array<String>]
|
14722
14734
|
#
|
14723
14735
|
# @!attribute [rw] restorable_by_user_ids
|
@@ -14728,7 +14740,8 @@ module Aws::EC2
|
|
14728
14740
|
# @!attribute [rw] snapshot_ids
|
14729
14741
|
# One or more snapshot IDs.
|
14730
14742
|
#
|
14731
|
-
# Default: Describes snapshots for which you have
|
14743
|
+
# Default: Describes the snapshots for which you have create volume
|
14744
|
+
# permissions.
|
14732
14745
|
# @return [Array<String>]
|
14733
14746
|
#
|
14734
14747
|
# @!attribute [rw] dry_run
|
@@ -18262,21 +18275,17 @@ module Aws::EC2
|
|
18262
18275
|
#
|
18263
18276
|
# @!attribute [rw] iops
|
18264
18277
|
# The number of I/O operations per second (IOPS) that the volume
|
18265
|
-
# supports. For `io1
|
18266
|
-
# provisioned for the volume. For `gp2
|
18267
|
-
# performance of the volume and the rate at which the
|
18268
|
-
# accumulates I/O credits for bursting. For more information
|
18269
|
-
# General Purpose SSD baseline performance, I/O credits, and bursting,
|
18278
|
+
# supports. For `io1` volumes, this represents the number of IOPS that
|
18279
|
+
# are provisioned for the volume. For `gp2` volumes, this represents
|
18280
|
+
# the baseline performance of the volume and the rate at which the
|
18281
|
+
# volume accumulates I/O credits for bursting. For more information,
|
18270
18282
|
# see [Amazon EBS Volume Types][1] in the *Amazon Elastic Compute
|
18271
18283
|
# Cloud User Guide*.
|
18272
18284
|
#
|
18273
18285
|
# Constraints: Range is 100-16,000 IOPS for `gp2` volumes and 100 to
|
18274
|
-
# 64,000IOPS for `io1` volumes in most Regions.
|
18275
|
-
# 64,000 is guaranteed only on [Nitro-based
|
18276
|
-
#
|
18277
|
-
# Other instance families guarantee performance up to 32,000 IOPS. For
|
18278
|
-
# more information, see [Amazon EBS Volume Types][1] in the *Amazon
|
18279
|
-
# Elastic Compute Cloud User Guide*.
|
18286
|
+
# 64,000IOPS for `io1` volumes, in most Regions. The maximum IOPS for
|
18287
|
+
# `io1` of 64,000 is guaranteed only on [Nitro-based instances][2].
|
18288
|
+
# Other instance families guarantee performance up to 32,000 IOPS.
|
18280
18289
|
#
|
18281
18290
|
# Condition: This parameter is required for requests to create `io1`
|
18282
18291
|
# volumes; it is not used in requests to create `gp2`, `st1`, `sc1`,
|
@@ -18285,6 +18294,7 @@ module Aws::EC2
|
|
18285
18294
|
#
|
18286
18295
|
#
|
18287
18296
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
|
18297
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
18288
18298
|
# @return [Integer]
|
18289
18299
|
#
|
18290
18300
|
# @!attribute [rw] snapshot_id
|
@@ -18776,10 +18786,6 @@ module Aws::EC2
|
|
18776
18786
|
# * `iamFleetRoleInvalid` - The Spot Fleet did not have the required
|
18777
18787
|
# permissions either to launch or terminate an instance.
|
18778
18788
|
#
|
18779
|
-
# * `launchSpecTemporarilyBlacklisted` - The configuration is not
|
18780
|
-
# valid and several attempts to launch instances have failed. For
|
18781
|
-
# more information, see the description of the event.
|
18782
|
-
#
|
18783
18789
|
# * `spotFleetRequestConfigurationInvalid` - The configuration is not
|
18784
18790
|
# valid. For more information, see the description of the event.
|
18785
18791
|
#
|
@@ -18827,6 +18833,10 @@ module Aws::EC2
|
|
18827
18833
|
#
|
18828
18834
|
# The following are the `Information` events:
|
18829
18835
|
#
|
18836
|
+
# * `launchSpecTemporarilyBlacklisted` - The configuration is not
|
18837
|
+
# valid and several attempts to launch instances have failed. For
|
18838
|
+
# more information, see the description of the event.
|
18839
|
+
#
|
18830
18840
|
# * `launchSpecUnusable` - The price in a launch specification is not
|
18831
18841
|
# valid because it is below the Spot price or the Spot price is
|
18832
18842
|
# above the On-Demand price.
|
@@ -21140,9 +21150,12 @@ module Aws::EC2
|
|
21140
21150
|
#
|
21141
21151
|
# @!attribute [rw] certificate_revocation_list
|
21142
21152
|
# The client certificate revocation list file. For more information,
|
21143
|
-
# see [Generate a Client Certificate Revocation
|
21144
|
-
#
|
21145
|
-
#
|
21153
|
+
# see [Generate a Client Certificate Revocation List][1] in the *AWS
|
21154
|
+
# Client VPN Administrator Guide*.
|
21155
|
+
#
|
21156
|
+
#
|
21157
|
+
#
|
21158
|
+
# [1]: https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/cvpn-working-certificates.html#cvpn-working-certificates-generate
|
21146
21159
|
# @return [String]
|
21147
21160
|
#
|
21148
21161
|
# @!attribute [rw] dry_run
|
@@ -22989,8 +23002,17 @@ module Aws::EC2
|
|
22989
23002
|
# Describes the current state of an instance.
|
22990
23003
|
#
|
22991
23004
|
# @!attribute [rw] code
|
22992
|
-
# The
|
22993
|
-
#
|
23005
|
+
# The state of the instance as a 16-bit unsigned integer.
|
23006
|
+
#
|
23007
|
+
# The high byte is all of the bits between 2^8 and (2^16)-1, which
|
23008
|
+
# equals decimal values between 256 and 65,535. These numerical values
|
23009
|
+
# are used for internal purposes and should be ignored.
|
23010
|
+
#
|
23011
|
+
# The low byte is all of the bits between 2^0 and (2^8)-1, which
|
23012
|
+
# equals decimal values between 0 and 255.
|
23013
|
+
#
|
23014
|
+
# The valid values for instance-state-code will all be in the range of
|
23015
|
+
# the low byte and they are:
|
22994
23016
|
#
|
22995
23017
|
# * `0`\: `pending`
|
22996
23018
|
#
|
@@ -23003,6 +23025,9 @@ module Aws::EC2
|
|
23003
23025
|
# * `64`\: `stopping`
|
23004
23026
|
#
|
23005
23027
|
# * `80`\: `stopped`
|
23028
|
+
#
|
23029
|
+
# You can ignore the high byte value by zeroing out all of the bits
|
23030
|
+
# above 2^8 or 256 in decimal.
|
23006
23031
|
# @return [Integer]
|
23007
23032
|
#
|
23008
23033
|
# @!attribute [rw] name
|
@@ -23109,6 +23134,10 @@ module Aws::EC2
|
|
23109
23134
|
|
23110
23135
|
# Describes a scheduled event for an instance.
|
23111
23136
|
#
|
23137
|
+
# @!attribute [rw] instance_event_id
|
23138
|
+
# The ID of the event.
|
23139
|
+
# @return [String]
|
23140
|
+
#
|
23112
23141
|
# @!attribute [rw] code
|
23113
23142
|
# The event code.
|
23114
23143
|
# @return [String]
|
@@ -23129,13 +23158,19 @@ module Aws::EC2
|
|
23129
23158
|
# The earliest scheduled start time for the event.
|
23130
23159
|
# @return [Time]
|
23131
23160
|
#
|
23161
|
+
# @!attribute [rw] not_before_deadline
|
23162
|
+
# The deadline for starting the event.
|
23163
|
+
# @return [Time]
|
23164
|
+
#
|
23132
23165
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatusEvent AWS API Documentation
|
23133
23166
|
#
|
23134
23167
|
class InstanceStatusEvent < Struct.new(
|
23168
|
+
:instance_event_id,
|
23135
23169
|
:code,
|
23136
23170
|
:description,
|
23137
23171
|
:not_after,
|
23138
|
-
:not_before
|
23172
|
+
:not_before,
|
23173
|
+
:not_before_deadline)
|
23139
23174
|
include Aws::Structure
|
23140
23175
|
end
|
23141
23176
|
|
@@ -25794,6 +25829,56 @@ module Aws::EC2
|
|
25794
25829
|
include Aws::Structure
|
25795
25830
|
end
|
25796
25831
|
|
25832
|
+
# @note When making an API call, you may pass ModifyInstanceEventStartTimeRequest
|
25833
|
+
# data as a hash:
|
25834
|
+
#
|
25835
|
+
# {
|
25836
|
+
# dry_run: false,
|
25837
|
+
# instance_id: "String", # required
|
25838
|
+
# instance_event_id: "String", # required
|
25839
|
+
# not_before: Time.now, # required
|
25840
|
+
# }
|
25841
|
+
#
|
25842
|
+
# @!attribute [rw] dry_run
|
25843
|
+
# Checks whether you have the required permissions for the action,
|
25844
|
+
# without actually making the request, and provides an error response.
|
25845
|
+
# If you have the required permissions, the error response is
|
25846
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation.`
|
25847
|
+
# @return [Boolean]
|
25848
|
+
#
|
25849
|
+
# @!attribute [rw] instance_id
|
25850
|
+
# The ID of the instance with the scheduled event.
|
25851
|
+
# @return [String]
|
25852
|
+
#
|
25853
|
+
# @!attribute [rw] instance_event_id
|
25854
|
+
# The ID of the event whose date and time you are modifying.
|
25855
|
+
# @return [String]
|
25856
|
+
#
|
25857
|
+
# @!attribute [rw] not_before
|
25858
|
+
# The new date and time when the event will take place.
|
25859
|
+
# @return [Time]
|
25860
|
+
#
|
25861
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceEventStartTimeRequest AWS API Documentation
|
25862
|
+
#
|
25863
|
+
class ModifyInstanceEventStartTimeRequest < Struct.new(
|
25864
|
+
:dry_run,
|
25865
|
+
:instance_id,
|
25866
|
+
:instance_event_id,
|
25867
|
+
:not_before)
|
25868
|
+
include Aws::Structure
|
25869
|
+
end
|
25870
|
+
|
25871
|
+
# @!attribute [rw] event
|
25872
|
+
# Describes a scheduled event for an instance.
|
25873
|
+
# @return [Types::InstanceStatusEvent]
|
25874
|
+
#
|
25875
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceEventStartTimeResult AWS API Documentation
|
25876
|
+
#
|
25877
|
+
class ModifyInstanceEventStartTimeResult < Struct.new(
|
25878
|
+
:event)
|
25879
|
+
include Aws::Structure
|
25880
|
+
end
|
25881
|
+
|
25797
25882
|
# @note When making an API call, you may pass ModifyInstancePlacementRequest
|
25798
25883
|
# data as a hash:
|
25799
25884
|
#
|
@@ -26560,8 +26645,10 @@ module Aws::EC2
|
|
26560
26645
|
# @return [Boolean]
|
26561
26646
|
#
|
26562
26647
|
# @!attribute [rw] policy_document
|
26563
|
-
#
|
26564
|
-
# policy must be in valid JSON format.
|
26648
|
+
# A policy to attach to the endpoint that controls access to the
|
26649
|
+
# service. The policy must be in valid JSON format. If this parameter
|
26650
|
+
# is not specified, we attach a default policy that allows full access
|
26651
|
+
# to the service.
|
26565
26652
|
# @return [String]
|
26566
26653
|
#
|
26567
26654
|
# @!attribute [rw] add_route_table_ids
|
@@ -34347,8 +34434,9 @@ module Aws::EC2
|
|
34347
34434
|
# @!attribute [rw] valid_until
|
34348
34435
|
# The end date and time of the request, in UTC format (for example,
|
34349
34436
|
# *YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z). At this point, no new Spot
|
34350
|
-
# Instance requests are placed or able to fulfill the request.
|
34351
|
-
#
|
34437
|
+
# Instance requests are placed or able to fulfill the request. If no
|
34438
|
+
# value is specified, the Spot Fleet request remains until you cancel
|
34439
|
+
# it.
|
34352
34440
|
# @return [Time]
|
34353
34441
|
#
|
34354
34442
|
# @!attribute [rw] replace_unhealthy_instances
|
@@ -36867,17 +36955,13 @@ module Aws::EC2
|
|
36867
36955
|
# number of IOPS that are provisioned for the volume. For General
|
36868
36956
|
# Purpose SSD volumes, this represents the baseline performance of the
|
36869
36957
|
# volume and the rate at which the volume accumulates I/O credits for
|
36870
|
-
# bursting. For more information
|
36871
|
-
#
|
36872
|
-
# Types][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
36958
|
+
# bursting. For more information, see [Amazon EBS Volume Types][1] in
|
36959
|
+
# the *Amazon Elastic Compute Cloud User Guide*.
|
36873
36960
|
#
|
36874
36961
|
# Constraints: Range is 100-16,000 IOPS for `gp2` volumes and 100 to
|
36875
|
-
# 64,000IOPS for `io1` volumes in most
|
36876
|
-
# 64,000 is guaranteed only on [Nitro-based
|
36877
|
-
#
|
36878
|
-
# Other instance families guarantee performance up to 32,000 IOPS. For
|
36879
|
-
# more information, see [Amazon EBS Volume Types][1] in the *Amazon
|
36880
|
-
# Elastic Compute Cloud User Guide*.
|
36962
|
+
# 64,000IOPS for `io1` volumes, in most Regions. The maximum IOPS for
|
36963
|
+
# `io1` of 64,000 is guaranteed only on [Nitro-based instances][2].
|
36964
|
+
# Other instance families guarantee performance up to 32,000 IOPS.
|
36881
36965
|
#
|
36882
36966
|
# Condition: This parameter is required for requests to create `io1`
|
36883
36967
|
# volumes; it is not used in requests to create `gp2`, `st1`, `sc1`,
|
@@ -36886,6 +36970,7 @@ module Aws::EC2
|
|
36886
36970
|
#
|
36887
36971
|
#
|
36888
36972
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
|
36973
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
36889
36974
|
# @return [Integer]
|
36890
36975
|
#
|
36891
36976
|
# @!attribute [rw] tags
|
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -86,17 +86,13 @@ module Aws::EC2
|
|
86
86
|
# of IOPS that are provisioned for the volume. For General Purpose SSD
|
87
87
|
# volumes, this represents the baseline performance of the volume and
|
88
88
|
# the rate at which the volume accumulates I/O credits for bursting. For
|
89
|
-
# more information
|
90
|
-
# credits, and bursting, see [Amazon EBS Volume Types][1] in the *Amazon
|
89
|
+
# more information, see [Amazon EBS Volume Types][1] in the *Amazon
|
91
90
|
# Elastic Compute Cloud User Guide*.
|
92
91
|
#
|
93
92
|
# Constraints: Range is 100-16,000 IOPS for `gp2` volumes and 100 to
|
94
|
-
# 64,000IOPS for `io1` volumes in most
|
95
|
-
# 64,000 is guaranteed only on [Nitro-based
|
96
|
-
#
|
97
|
-
# Other instance families guarantee performance up to 32,000 IOPS. For
|
98
|
-
# more information, see [Amazon EBS Volume Types][1] in the *Amazon
|
99
|
-
# Elastic Compute Cloud User Guide*.
|
93
|
+
# 64,000IOPS for `io1` volumes, in most Regions. The maximum IOPS for
|
94
|
+
# `io1` of 64,000 is guaranteed only on [Nitro-based instances][2].
|
95
|
+
# Other instance families guarantee performance up to 32,000 IOPS.
|
100
96
|
#
|
101
97
|
# Condition: This parameter is required for requests to create `io1`
|
102
98
|
# volumes; it is not used in requests to create `gp2`, `st1`, `sc1`, or
|
@@ -105,6 +101,7 @@ module Aws::EC2
|
|
105
101
|
#
|
106
102
|
#
|
107
103
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
|
104
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
108
105
|
# @return [Integer]
|
109
106
|
def iops
|
110
107
|
data[:iops]
|
@@ -599,15 +596,15 @@ module Aws::EC2
|
|
599
596
|
#
|
600
597
|
# * `volume-size` - The size of the volume, in GiB.
|
601
598
|
# @option options [Array<String>] :owner_ids
|
602
|
-
#
|
603
|
-
# can be specified.
|
599
|
+
# Describes the snapshots owned by one or more owners.
|
604
600
|
# @option options [Array<String>] :restorable_by_user_ids
|
605
601
|
# One or more AWS accounts IDs that can create volumes from the
|
606
602
|
# snapshot.
|
607
603
|
# @option options [Array<String>] :snapshot_ids
|
608
604
|
# One or more snapshot IDs.
|
609
605
|
#
|
610
|
-
# Default: Describes snapshots for which you have
|
606
|
+
# Default: Describes the snapshots for which you have create volume
|
607
|
+
# permissions.
|
611
608
|
# @option options [Boolean] :dry_run
|
612
609
|
# Checks whether you have the required permissions for the action,
|
613
610
|
# without actually making the request, and provides an error response.
|
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.71.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-
|
11
|
+
date: 2019-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|