aws-sdk-ec2 1.229.0 → 1.234.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +668 -57
- data/lib/aws-sdk-ec2/client_api.rb +246 -2
- data/lib/aws-sdk-ec2/instance.rb +4 -4
- data/lib/aws-sdk-ec2/network_interface.rb +7 -10
- data/lib/aws-sdk-ec2/resource.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +813 -33
- data/lib/aws-sdk-ec2/vpc.rb +2 -0
- data/lib/aws-sdk-ec2/waiters.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fc2bc517e83c77f5b914b532b2d9aac4e7d2eac63c7d88ea166a86bc89409d5
|
4
|
+
data.tar.gz: f468658ae701343f57ff870627dd44810d8284c3efa0d00f9852c8aa1658bf0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfe9349b3facc8b70b620fe8727c55904d90d47e7408a65bb234995dfe2bec4b39e16e68286c47513d721f3c7c4b9cf028b6373e7fdc406a20983740ad61dbee
|
7
|
+
data.tar.gz: 9f7124dae07e9f225032c65aca337a7f9d907914dad29e6cda79ebc3734c6001c896ac43f0a5c54a9aa3dd4583b40b3b3a1a0ac28cda8fe39aaf4500e1b8cff1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,31 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.234.0 (2021-04-09)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add paginator support to DescribeStoreImageTasks and update documentation.
|
8
|
+
|
9
|
+
1.233.0 (2021-04-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for storing EBS-backed AMIs in S3 and restoring them from S3 to enable cross-partition copying of AMIs
|
13
|
+
|
14
|
+
1.232.0 (2021-04-01)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - VPC Flow Logs Service adds a new API, GetFlowLogsIntegrationTemplate, which generates CloudFormation templates for Athena. For more info, see https://docs.aws.amazon.com/console/vpc/flow-logs/athena
|
18
|
+
|
19
|
+
1.231.0 (2021-03-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - ReplaceRootVolume feature enables customers to replace the EBS root volume of a running instance to a previously known state. Add support to grant account-level access to the EC2 serial console
|
23
|
+
|
24
|
+
1.230.0 (2021-03-24)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - maximumEfaInterfaces added to DescribeInstanceTypes API
|
28
|
+
|
4
29
|
1.229.0 (2021-03-22)
|
5
30
|
------------------
|
6
31
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.234.0
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -1476,19 +1476,20 @@ module Aws::EC2
|
|
1476
1476
|
# inside an enclave. For more information, see [AWS Certificate Manager
|
1477
1477
|
# for Nitro Enclaves][1] in the *AWS Nitro Enclaves User Guide*.
|
1478
1478
|
#
|
1479
|
-
# When the IAM role is associated with the ACM certificate,
|
1480
|
-
# certificate, certificate chain, and encrypted private key
|
1481
|
-
# S3 bucket that only the associated IAM role can access.
|
1482
|
-
# key of the certificate is encrypted with an AWS-managed
|
1483
|
-
# master (CMK) that has an attached attestation-based CMK
|
1479
|
+
# When the IAM role is associated with the ACM certificate, the
|
1480
|
+
# certificate, certificate chain, and encrypted private key are placed
|
1481
|
+
# in an Amazon S3 bucket that only the associated IAM role can access.
|
1482
|
+
# The private key of the certificate is encrypted with an AWS-managed
|
1483
|
+
# KMS customer master (CMK) that has an attached attestation-based CMK
|
1484
|
+
# policy.
|
1484
1485
|
#
|
1485
1486
|
# To enable the IAM role to access the Amazon S3 object, you must grant
|
1486
1487
|
# it permission to call `s3:GetObject` on the Amazon S3 bucket returned
|
1487
1488
|
# by the command. To enable the IAM role to access the AWS KMS CMK, you
|
1488
|
-
# must grant it permission to call `kms:Decrypt` on AWS KMS CMK
|
1489
|
-
# by the command. For more information, see [ Grant the role
|
1490
|
-
# to access the certificate and encryption key][2] in the
|
1491
|
-
# Enclaves User Guide*.
|
1489
|
+
# must grant it permission to call `kms:Decrypt` on the AWS KMS CMK
|
1490
|
+
# returned by the command. For more information, see [ Grant the role
|
1491
|
+
# permission to access the certificate and encryption key][2] in the
|
1492
|
+
# *AWS Nitro Enclaves User Guide*.
|
1492
1493
|
#
|
1493
1494
|
#
|
1494
1495
|
#
|
@@ -3331,7 +3332,8 @@ module Aws::EC2
|
|
3331
3332
|
# Initiates the copy of an AMI. You can copy an AMI from one Region to
|
3332
3333
|
# another, or from a Region to an AWS Outpost. You can't copy an AMI
|
3333
3334
|
# from an Outpost to a Region, from one Outpost to another, or within
|
3334
|
-
# the same Outpost.
|
3335
|
+
# the same Outpost. To copy an AMI to another partition, see
|
3336
|
+
# [CreateStoreImageTask][1].
|
3335
3337
|
#
|
3336
3338
|
# To copy an AMI from one Region to another, specify the source Region
|
3337
3339
|
# using the **SourceRegion** parameter, and specify the destination
|
@@ -3347,18 +3349,17 @@ module Aws::EC2
|
|
3347
3349
|
# encryption key for the Region, or a different key that you specify in
|
3348
3350
|
# the request using **KmsKeyId**. Outposts do not support unencrypted
|
3349
3351
|
# snapshots. For more information, [ Amazon EBS local snapshots on
|
3350
|
-
# Outposts][
|
3351
|
-
#
|
3352
|
-
#
|
3352
|
+
# Outposts][2] in the *Amazon Elastic Compute Cloud User Guide*.
|
3353
3353
|
#
|
3354
3354
|
# For more information about the prerequisites and limits when copying
|
3355
|
-
# an AMI, see [Copying an AMI][
|
3355
|
+
# an AMI, see [Copying an AMI][3] in the *Amazon Elastic Compute Cloud
|
3356
3356
|
# User Guide*.
|
3357
3357
|
#
|
3358
3358
|
#
|
3359
3359
|
#
|
3360
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/
|
3361
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
3360
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html
|
3361
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
3362
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html
|
3362
3363
|
#
|
3363
3364
|
# @option params [String] :client_token
|
3364
3365
|
# Unique, case-sensitive identifier you provide to ensure idempotency of
|
@@ -5419,7 +5420,7 @@ module Aws::EC2
|
|
5419
5420
|
#
|
5420
5421
|
# For information about the supported operating systems, image formats,
|
5421
5422
|
# and known limitations for the types of instances you can export, see
|
5422
|
-
# [Exporting an
|
5423
|
+
# [Exporting an instance as a VM Using VM Import/Export][1] in the *VM
|
5423
5424
|
# Import/Export User Guide*.
|
5424
5425
|
#
|
5425
5426
|
#
|
@@ -7356,6 +7357,91 @@ module Aws::EC2
|
|
7356
7357
|
req.send_request(options)
|
7357
7358
|
end
|
7358
7359
|
|
7360
|
+
# Creates a root volume replacement task for an Amazon EC2 instance. The
|
7361
|
+
# root volume can either be restored to its initial launch state, or it
|
7362
|
+
# can be restored using a specific snapshot.
|
7363
|
+
#
|
7364
|
+
# For more information, see [Replace a root volume][1] in the *Amazon
|
7365
|
+
# Elastic Compute Cloud User Guide*.
|
7366
|
+
#
|
7367
|
+
#
|
7368
|
+
#
|
7369
|
+
# [1]: https://docs.aws.amazon.com/
|
7370
|
+
#
|
7371
|
+
# @option params [required, String] :instance_id
|
7372
|
+
# The ID of the instance for which to replace the root volume.
|
7373
|
+
#
|
7374
|
+
# @option params [String] :snapshot_id
|
7375
|
+
# The ID of the snapshot from which to restore the replacement root
|
7376
|
+
# volume. If you want to restore the volume to the initial launch state,
|
7377
|
+
# omit this parameter.
|
7378
|
+
#
|
7379
|
+
# @option params [String] :client_token
|
7380
|
+
# Unique, case-sensitive identifier you provide to ensure the
|
7381
|
+
# idempotency of the request. If you do not specify a client token, a
|
7382
|
+
# randomly generated token is used for the request to ensure
|
7383
|
+
# idempotency. For more information, see [Ensuring Idempotency][1].
|
7384
|
+
#
|
7385
|
+
# **A suitable default value is auto-generated.** You should normally
|
7386
|
+
# not need to pass this option.**
|
7387
|
+
#
|
7388
|
+
#
|
7389
|
+
#
|
7390
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
7391
|
+
#
|
7392
|
+
# @option params [Boolean] :dry_run
|
7393
|
+
# Checks whether you have the required permissions for the action,
|
7394
|
+
# without actually making the request, and provides an error response.
|
7395
|
+
# If you have the required permissions, the error response is
|
7396
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
7397
|
+
#
|
7398
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
7399
|
+
# The tags to apply to the root volume replacement task.
|
7400
|
+
#
|
7401
|
+
# @return [Types::CreateReplaceRootVolumeTaskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7402
|
+
#
|
7403
|
+
# * {Types::CreateReplaceRootVolumeTaskResult#replace_root_volume_task #replace_root_volume_task} => Types::ReplaceRootVolumeTask
|
7404
|
+
#
|
7405
|
+
# @example Request syntax with placeholder values
|
7406
|
+
#
|
7407
|
+
# resp = client.create_replace_root_volume_task({
|
7408
|
+
# instance_id: "InstanceId", # required
|
7409
|
+
# snapshot_id: "SnapshotId",
|
7410
|
+
# client_token: "String",
|
7411
|
+
# dry_run: false,
|
7412
|
+
# tag_specifications: [
|
7413
|
+
# {
|
7414
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
7415
|
+
# tags: [
|
7416
|
+
# {
|
7417
|
+
# key: "String",
|
7418
|
+
# value: "String",
|
7419
|
+
# },
|
7420
|
+
# ],
|
7421
|
+
# },
|
7422
|
+
# ],
|
7423
|
+
# })
|
7424
|
+
#
|
7425
|
+
# @example Response structure
|
7426
|
+
#
|
7427
|
+
# resp.replace_root_volume_task.replace_root_volume_task_id #=> String
|
7428
|
+
# resp.replace_root_volume_task.instance_id #=> String
|
7429
|
+
# resp.replace_root_volume_task.task_state #=> String, one of "pending", "in-progress", "failing", "succeeded", "failed", "failed-detached"
|
7430
|
+
# resp.replace_root_volume_task.start_time #=> String
|
7431
|
+
# resp.replace_root_volume_task.complete_time #=> String
|
7432
|
+
# resp.replace_root_volume_task.tags #=> Array
|
7433
|
+
# resp.replace_root_volume_task.tags[0].key #=> String
|
7434
|
+
# resp.replace_root_volume_task.tags[0].value #=> String
|
7435
|
+
#
|
7436
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReplaceRootVolumeTask AWS API Documentation
|
7437
|
+
#
|
7438
|
+
# @overload create_replace_root_volume_task(params = {})
|
7439
|
+
# @param [Hash] params ({})
|
7440
|
+
def create_replace_root_volume_task(params = {}, options = {})
|
7441
|
+
req = build_request(:create_replace_root_volume_task, params)
|
7442
|
+
req.send_request(options)
|
7443
|
+
end
|
7444
|
+
|
7359
7445
|
# Creates a listing for Amazon EC2 Standard Reserved Instances to be
|
7360
7446
|
# sold in the Reserved Instance Marketplace. You can submit one Standard
|
7361
7447
|
# Reserved Instance listing at a time. To get a list of your Standard
|
@@ -7461,6 +7547,86 @@ module Aws::EC2
|
|
7461
7547
|
req.send_request(options)
|
7462
7548
|
end
|
7463
7549
|
|
7550
|
+
# Starts a task that restores an AMI from an S3 object that was
|
7551
|
+
# previously created by using [CreateStoreImageTask][1].
|
7552
|
+
#
|
7553
|
+
# To use this API, you must have the required permissions. For more
|
7554
|
+
# information, see [Permissions for storing and restoring AMIs using
|
7555
|
+
# S3][2] in the *Amazon Elastic Compute Cloud User Guide*.
|
7556
|
+
#
|
7557
|
+
# For more information, see [Store and restore an AMI using S3][3] in
|
7558
|
+
# the *Amazon Elastic Compute Cloud User Guide*.
|
7559
|
+
#
|
7560
|
+
#
|
7561
|
+
#
|
7562
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html
|
7563
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions
|
7564
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html
|
7565
|
+
#
|
7566
|
+
# @option params [required, String] :bucket
|
7567
|
+
# The name of the S3 bucket that contains the stored AMI object.
|
7568
|
+
#
|
7569
|
+
# @option params [required, String] :object_key
|
7570
|
+
# The name of the stored AMI object in the bucket.
|
7571
|
+
#
|
7572
|
+
# @option params [String] :name
|
7573
|
+
# The name for the restored AMI. The name must be unique for AMIs in the
|
7574
|
+
# Region for this account. If you do not provide a name, the new AMI
|
7575
|
+
# gets the same name as the original AMI.
|
7576
|
+
#
|
7577
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
7578
|
+
# The tags to apply to the AMI and snapshots on restoration. You can tag
|
7579
|
+
# the AMI, the snapshots, or both.
|
7580
|
+
#
|
7581
|
+
# * To tag the AMI, the value for `ResourceType` must be `image`.
|
7582
|
+
#
|
7583
|
+
# * To tag the snapshots, the value for `ResourceType` must be
|
7584
|
+
# `snapshot`. The same tag is applied to all of the snapshots that are
|
7585
|
+
# created.
|
7586
|
+
#
|
7587
|
+
# @option params [Boolean] :dry_run
|
7588
|
+
# Checks whether you have the required permissions for the action,
|
7589
|
+
# without actually making the request, and provides an error response.
|
7590
|
+
# If you have the required permissions, the error response is
|
7591
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
7592
|
+
#
|
7593
|
+
# @return [Types::CreateRestoreImageTaskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7594
|
+
#
|
7595
|
+
# * {Types::CreateRestoreImageTaskResult#image_id #image_id} => String
|
7596
|
+
#
|
7597
|
+
# @example Request syntax with placeholder values
|
7598
|
+
#
|
7599
|
+
# resp = client.create_restore_image_task({
|
7600
|
+
# bucket: "String", # required
|
7601
|
+
# object_key: "String", # required
|
7602
|
+
# name: "String",
|
7603
|
+
# tag_specifications: [
|
7604
|
+
# {
|
7605
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
7606
|
+
# tags: [
|
7607
|
+
# {
|
7608
|
+
# key: "String",
|
7609
|
+
# value: "String",
|
7610
|
+
# },
|
7611
|
+
# ],
|
7612
|
+
# },
|
7613
|
+
# ],
|
7614
|
+
# dry_run: false,
|
7615
|
+
# })
|
7616
|
+
#
|
7617
|
+
# @example Response structure
|
7618
|
+
#
|
7619
|
+
# resp.image_id #=> String
|
7620
|
+
#
|
7621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRestoreImageTask AWS API Documentation
|
7622
|
+
#
|
7623
|
+
# @overload create_restore_image_task(params = {})
|
7624
|
+
# @param [Hash] params ({})
|
7625
|
+
def create_restore_image_task(params = {}, options = {})
|
7626
|
+
req = build_request(:create_restore_image_task, params)
|
7627
|
+
req.send_request(options)
|
7628
|
+
end
|
7629
|
+
|
7464
7630
|
# Creates a route in a route table within a VPC.
|
7465
7631
|
#
|
7466
7632
|
# You must specify one of the following targets: internet gateway or
|
@@ -8199,6 +8365,70 @@ module Aws::EC2
|
|
8199
8365
|
req.send_request(options)
|
8200
8366
|
end
|
8201
8367
|
|
8368
|
+
# Stores an AMI as a single object in an S3 bucket.
|
8369
|
+
#
|
8370
|
+
# To use this API, you must have the required permissions. For more
|
8371
|
+
# information, see [Permissions for storing and restoring AMIs using
|
8372
|
+
# S3][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
8373
|
+
#
|
8374
|
+
# For more information, see [Store and restore an AMI using S3][2] in
|
8375
|
+
# the *Amazon Elastic Compute Cloud User Guide*.
|
8376
|
+
#
|
8377
|
+
#
|
8378
|
+
#
|
8379
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions
|
8380
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html
|
8381
|
+
#
|
8382
|
+
# @option params [required, String] :image_id
|
8383
|
+
# The ID of the AMI.
|
8384
|
+
#
|
8385
|
+
# @option params [required, String] :bucket
|
8386
|
+
# The name of the S3 bucket in which the AMI object will be stored. The
|
8387
|
+
# bucket must be in the Region in which the request is being made. The
|
8388
|
+
# AMI object appears in the bucket only after the upload task has
|
8389
|
+
# completed.
|
8390
|
+
#
|
8391
|
+
# @option params [Array<Types::S3ObjectTag>] :s3_object_tags
|
8392
|
+
# The tags to apply to the AMI object that will be stored in the S3
|
8393
|
+
# bucket.
|
8394
|
+
#
|
8395
|
+
# @option params [Boolean] :dry_run
|
8396
|
+
# Checks whether you have the required permissions for the action,
|
8397
|
+
# without actually making the request, and provides an error response.
|
8398
|
+
# If you have the required permissions, the error response is
|
8399
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
8400
|
+
#
|
8401
|
+
# @return [Types::CreateStoreImageTaskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8402
|
+
#
|
8403
|
+
# * {Types::CreateStoreImageTaskResult#object_key #object_key} => String
|
8404
|
+
#
|
8405
|
+
# @example Request syntax with placeholder values
|
8406
|
+
#
|
8407
|
+
# resp = client.create_store_image_task({
|
8408
|
+
# image_id: "ImageId", # required
|
8409
|
+
# bucket: "String", # required
|
8410
|
+
# s3_object_tags: [
|
8411
|
+
# {
|
8412
|
+
# key: "String",
|
8413
|
+
# value: "String",
|
8414
|
+
# },
|
8415
|
+
# ],
|
8416
|
+
# dry_run: false,
|
8417
|
+
# })
|
8418
|
+
#
|
8419
|
+
# @example Response structure
|
8420
|
+
#
|
8421
|
+
# resp.object_key #=> String
|
8422
|
+
#
|
8423
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateStoreImageTask AWS API Documentation
|
8424
|
+
#
|
8425
|
+
# @overload create_store_image_task(params = {})
|
8426
|
+
# @param [Hash] params ({})
|
8427
|
+
def create_store_image_task(params = {}, options = {})
|
8428
|
+
req = build_request(:create_store_image_task, params)
|
8429
|
+
req.send_request(options)
|
8430
|
+
end
|
8431
|
+
|
8202
8432
|
# Creates a subnet in a specified VPC.
|
8203
8433
|
#
|
8204
8434
|
# You must specify an IPv4 CIDR block for the subnet. After you create a
|
@@ -14390,6 +14620,9 @@ module Aws::EC2
|
|
14390
14620
|
# constraints, or instance limit constraints. Failed requests are
|
14391
14621
|
# retained for 60 minutes.
|
14392
14622
|
#
|
14623
|
+
# * `start-date` - The date and time at which the Capacity Reservation
|
14624
|
+
# was started.
|
14625
|
+
#
|
14393
14626
|
# * `end-date` - The date and time at which the Capacity Reservation
|
14394
14627
|
# expires. When a Capacity Reservation expires, the reserved capacity
|
14395
14628
|
# is released and you can no longer launch instances into it. The
|
@@ -18116,6 +18349,9 @@ module Aws::EC2
|
|
18116
18349
|
#
|
18117
18350
|
# * `memory-info.size-in-mib` - The memory size.
|
18118
18351
|
#
|
18352
|
+
# * `network-info.efa-info.maximum-efa-interfaces` - The maximum number
|
18353
|
+
# of Elastic Fabric Adapters (EFAs) per instance.
|
18354
|
+
#
|
18119
18355
|
# * `network-info.efa-supported` - Indicates whether the instance type
|
18120
18356
|
# supports Elastic Fabric Adapter (EFA) (`true` \| `false`).
|
18121
18357
|
#
|
@@ -18254,6 +18490,7 @@ module Aws::EC2
|
|
18254
18490
|
# resp.instance_types[0].network_info.ipv_6_supported #=> Boolean
|
18255
18491
|
# resp.instance_types[0].network_info.ena_support #=> String, one of "unsupported", "supported", "required"
|
18256
18492
|
# resp.instance_types[0].network_info.efa_supported #=> Boolean
|
18493
|
+
# resp.instance_types[0].network_info.efa_info.maximum_efa_interfaces #=> Integer
|
18257
18494
|
# resp.instance_types[0].gpu_info.gpus #=> Array
|
18258
18495
|
# resp.instance_types[0].gpu_info.gpus[0].name #=> String
|
18259
18496
|
# resp.instance_types[0].gpu_info.gpus[0].manufacturer #=> String
|
@@ -21810,6 +22047,83 @@ module Aws::EC2
|
|
21810
22047
|
req.send_request(options)
|
21811
22048
|
end
|
21812
22049
|
|
22050
|
+
# Describes a root volume replacement task. For more information, see
|
22051
|
+
# [Replace a root volume][1] in the *Amazon Elastic Compute Cloud User
|
22052
|
+
# Guide*.
|
22053
|
+
#
|
22054
|
+
#
|
22055
|
+
#
|
22056
|
+
# [1]: https://docs.aws.amazon.com/
|
22057
|
+
#
|
22058
|
+
# @option params [Array<String>] :replace_root_volume_task_ids
|
22059
|
+
# The ID of the root volume replacement task to view.
|
22060
|
+
#
|
22061
|
+
# @option params [Array<Types::Filter>] :filters
|
22062
|
+
# Filter to use:
|
22063
|
+
#
|
22064
|
+
# * `instance-id` - The ID of the instance for which the root volume
|
22065
|
+
# replacement task was created.
|
22066
|
+
#
|
22067
|
+
# ^
|
22068
|
+
#
|
22069
|
+
# @option params [Integer] :max_results
|
22070
|
+
# The maximum number of results to return with a single call. To
|
22071
|
+
# retrieve the remaining results, make another call with the returned
|
22072
|
+
# `nextToken` value.
|
22073
|
+
#
|
22074
|
+
# @option params [String] :next_token
|
22075
|
+
# The token for the next page of results.
|
22076
|
+
#
|
22077
|
+
# @option params [Boolean] :dry_run
|
22078
|
+
# Checks whether you have the required permissions for the action,
|
22079
|
+
# without actually making the request, and provides an error response.
|
22080
|
+
# If you have the required permissions, the error response is
|
22081
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
22082
|
+
#
|
22083
|
+
# @return [Types::DescribeReplaceRootVolumeTasksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
22084
|
+
#
|
22085
|
+
# * {Types::DescribeReplaceRootVolumeTasksResult#replace_root_volume_tasks #replace_root_volume_tasks} => Array<Types::ReplaceRootVolumeTask>
|
22086
|
+
# * {Types::DescribeReplaceRootVolumeTasksResult#next_token #next_token} => String
|
22087
|
+
#
|
22088
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
22089
|
+
#
|
22090
|
+
# @example Request syntax with placeholder values
|
22091
|
+
#
|
22092
|
+
# resp = client.describe_replace_root_volume_tasks({
|
22093
|
+
# replace_root_volume_task_ids: ["ReplaceRootVolumeTaskId"],
|
22094
|
+
# filters: [
|
22095
|
+
# {
|
22096
|
+
# name: "String",
|
22097
|
+
# values: ["String"],
|
22098
|
+
# },
|
22099
|
+
# ],
|
22100
|
+
# max_results: 1,
|
22101
|
+
# next_token: "NextToken",
|
22102
|
+
# dry_run: false,
|
22103
|
+
# })
|
22104
|
+
#
|
22105
|
+
# @example Response structure
|
22106
|
+
#
|
22107
|
+
# resp.replace_root_volume_tasks #=> Array
|
22108
|
+
# resp.replace_root_volume_tasks[0].replace_root_volume_task_id #=> String
|
22109
|
+
# resp.replace_root_volume_tasks[0].instance_id #=> String
|
22110
|
+
# resp.replace_root_volume_tasks[0].task_state #=> String, one of "pending", "in-progress", "failing", "succeeded", "failed", "failed-detached"
|
22111
|
+
# resp.replace_root_volume_tasks[0].start_time #=> String
|
22112
|
+
# resp.replace_root_volume_tasks[0].complete_time #=> String
|
22113
|
+
# resp.replace_root_volume_tasks[0].tags #=> Array
|
22114
|
+
# resp.replace_root_volume_tasks[0].tags[0].key #=> String
|
22115
|
+
# resp.replace_root_volume_tasks[0].tags[0].value #=> String
|
22116
|
+
# resp.next_token #=> String
|
22117
|
+
#
|
22118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReplaceRootVolumeTasks AWS API Documentation
|
22119
|
+
#
|
22120
|
+
# @overload describe_replace_root_volume_tasks(params = {})
|
22121
|
+
# @param [Hash] params ({})
|
22122
|
+
def describe_replace_root_volume_tasks(params = {}, options = {})
|
22123
|
+
req = build_request(:describe_replace_root_volume_tasks, params)
|
22124
|
+
req.send_request(options)
|
22125
|
+
end
|
22126
|
+
|
21813
22127
|
# Describes one or more of the Reserved Instances that you purchased.
|
21814
22128
|
#
|
21815
22129
|
# For more information about Reserved Instances, see [Reserved
|
@@ -24322,11 +24636,10 @@ module Aws::EC2
|
|
24322
24636
|
# Instance pricing history][1] in the *Amazon EC2 User Guide for Linux
|
24323
24637
|
# Instances*.
|
24324
24638
|
#
|
24325
|
-
# When you specify a start and end time,
|
24326
|
-
# prices of the instance types within
|
24327
|
-
#
|
24328
|
-
#
|
24329
|
-
# time that the price changed.
|
24639
|
+
# When you specify a start and end time, the operation returns the
|
24640
|
+
# prices of the instance types within that time range. It also returns
|
24641
|
+
# the last price change before the start time, which is the effective
|
24642
|
+
# price as of the start time.
|
24330
24643
|
#
|
24331
24644
|
#
|
24332
24645
|
#
|
@@ -24559,6 +24872,100 @@ module Aws::EC2
|
|
24559
24872
|
req.send_request(options)
|
24560
24873
|
end
|
24561
24874
|
|
24875
|
+
# Describes the progress of the AMI store tasks. You can describe the
|
24876
|
+
# store tasks for specified AMIs. If you don't specify the AMIs, you
|
24877
|
+
# get a paginated list of store tasks from the last 31 days.
|
24878
|
+
#
|
24879
|
+
# For each AMI task, the response indicates if the task is `InProgress`,
|
24880
|
+
# `Completed`, or `Failed`. For tasks `InProgress`, the response shows
|
24881
|
+
# the estimated progress as a percentage.
|
24882
|
+
#
|
24883
|
+
# Tasks are listed in reverse chronological order. Currently, only tasks
|
24884
|
+
# from the past 31 days can be viewed.
|
24885
|
+
#
|
24886
|
+
# To use this API, you must have the required permissions. For more
|
24887
|
+
# information, see [Permissions for storing and restoring AMIs using
|
24888
|
+
# S3][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
24889
|
+
#
|
24890
|
+
# For more information, see [Store and restore an AMI using S3][2] in
|
24891
|
+
# the *Amazon Elastic Compute Cloud User Guide*.
|
24892
|
+
#
|
24893
|
+
#
|
24894
|
+
#
|
24895
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions
|
24896
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html
|
24897
|
+
#
|
24898
|
+
# @option params [Array<String>] :image_ids
|
24899
|
+
# The AMI IDs for which to show progress. Up to 20 AMI IDs can be
|
24900
|
+
# included in a request.
|
24901
|
+
#
|
24902
|
+
# @option params [Boolean] :dry_run
|
24903
|
+
# Checks whether you have the required permissions for the action,
|
24904
|
+
# without actually making the request, and provides an error response.
|
24905
|
+
# If you have the required permissions, the error response is
|
24906
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
24907
|
+
#
|
24908
|
+
# @option params [Array<Types::Filter>] :filters
|
24909
|
+
# The filters.
|
24910
|
+
#
|
24911
|
+
# * `task-state` - Returns tasks in a certain state (`InProgress` \|
|
24912
|
+
# `Completed` \| `Failed`)
|
24913
|
+
#
|
24914
|
+
# * `bucket` - Returns task information for tasks that targeted a
|
24915
|
+
# specific bucket. For the filter value, specify the bucket name.
|
24916
|
+
#
|
24917
|
+
# @option params [String] :next_token
|
24918
|
+
# The token for the next page of results.
|
24919
|
+
#
|
24920
|
+
# @option params [Integer] :max_results
|
24921
|
+
# The maximum number of results to return in a single call. To retrieve
|
24922
|
+
# the remaining results, make another call with the returned `NextToken`
|
24923
|
+
# value. This value can be between 1 and 200. You cannot specify this
|
24924
|
+
# parameter and the `ImageIDs` parameter in the same call.
|
24925
|
+
#
|
24926
|
+
# @return [Types::DescribeStoreImageTasksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
24927
|
+
#
|
24928
|
+
# * {Types::DescribeStoreImageTasksResult#store_image_task_results #store_image_task_results} => Array<Types::StoreImageTaskResult>
|
24929
|
+
# * {Types::DescribeStoreImageTasksResult#next_token #next_token} => String
|
24930
|
+
#
|
24931
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
24932
|
+
#
|
24933
|
+
# @example Request syntax with placeholder values
|
24934
|
+
#
|
24935
|
+
# resp = client.describe_store_image_tasks({
|
24936
|
+
# image_ids: ["ImageId"],
|
24937
|
+
# dry_run: false,
|
24938
|
+
# filters: [
|
24939
|
+
# {
|
24940
|
+
# name: "String",
|
24941
|
+
# values: ["String"],
|
24942
|
+
# },
|
24943
|
+
# ],
|
24944
|
+
# next_token: "String",
|
24945
|
+
# max_results: 1,
|
24946
|
+
# })
|
24947
|
+
#
|
24948
|
+
# @example Response structure
|
24949
|
+
#
|
24950
|
+
# resp.store_image_task_results #=> Array
|
24951
|
+
# resp.store_image_task_results[0].ami_id #=> String
|
24952
|
+
# resp.store_image_task_results[0].task_start_time #=> Time
|
24953
|
+
# resp.store_image_task_results[0].bucket #=> String
|
24954
|
+
# resp.store_image_task_results[0].s3object_key #=> String
|
24955
|
+
# resp.store_image_task_results[0].progress_percentage #=> Integer
|
24956
|
+
# resp.store_image_task_results[0].store_task_state #=> String
|
24957
|
+
# resp.store_image_task_results[0].store_task_failure_reason #=> String
|
24958
|
+
# resp.next_token #=> String
|
24959
|
+
#
|
24960
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStoreImageTasks AWS API Documentation
|
24961
|
+
#
|
24962
|
+
# @overload describe_store_image_tasks(params = {})
|
24963
|
+
# @param [Hash] params ({})
|
24964
|
+
def describe_store_image_tasks(params = {}, options = {})
|
24965
|
+
req = build_request(:describe_store_image_tasks, params)
|
24966
|
+
req.send_request(options)
|
24967
|
+
end
|
24968
|
+
|
24562
24969
|
# Describes one or more of your subnets.
|
24563
24970
|
#
|
24564
24971
|
# For more information, see [Your VPC and Subnets][1] in the *Amazon
|
@@ -24598,6 +25005,8 @@ module Aws::EC2
|
|
24598
25005
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
24599
25006
|
# block associated with the subnet.
|
24600
25007
|
#
|
25008
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
25009
|
+
#
|
24601
25010
|
# * `owner-id` - The ID of the AWS account that owns the subnet.
|
24602
25011
|
#
|
24603
25012
|
# * `state` - The state of the subnet (`pending` \| `available`).
|
@@ -28193,6 +28602,44 @@ module Aws::EC2
|
|
28193
28602
|
req.send_request(options)
|
28194
28603
|
end
|
28195
28604
|
|
28605
|
+
# Disables access to the EC2 serial console of all instances for your
|
28606
|
+
# account. By default, access to the EC2 serial console is disabled for
|
28607
|
+
# your account. For more information, see [Manage account access to the
|
28608
|
+
# EC2 serial console][1] in the *Amazon EC2 User Guide*.
|
28609
|
+
#
|
28610
|
+
#
|
28611
|
+
#
|
28612
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access
|
28613
|
+
#
|
28614
|
+
# @option params [Boolean] :dry_run
|
28615
|
+
# Checks whether you have the required permissions for the action,
|
28616
|
+
# without actually making the request, and provides an error response.
|
28617
|
+
# If you have the required permissions, the error response is
|
28618
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
28619
|
+
#
|
28620
|
+
# @return [Types::DisableSerialConsoleAccessResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
28621
|
+
#
|
28622
|
+
# * {Types::DisableSerialConsoleAccessResult#serial_console_access_enabled #serial_console_access_enabled} => Boolean
|
28623
|
+
#
|
28624
|
+
# @example Request syntax with placeholder values
|
28625
|
+
#
|
28626
|
+
# resp = client.disable_serial_console_access({
|
28627
|
+
# dry_run: false,
|
28628
|
+
# })
|
28629
|
+
#
|
28630
|
+
# @example Response structure
|
28631
|
+
#
|
28632
|
+
# resp.serial_console_access_enabled #=> Boolean
|
28633
|
+
#
|
28634
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableSerialConsoleAccess AWS API Documentation
|
28635
|
+
#
|
28636
|
+
# @overload disable_serial_console_access(params = {})
|
28637
|
+
# @param [Hash] params ({})
|
28638
|
+
def disable_serial_console_access(params = {}, options = {})
|
28639
|
+
req = build_request(:disable_serial_console_access, params)
|
28640
|
+
req.send_request(options)
|
28641
|
+
end
|
28642
|
+
|
28196
28643
|
# Disables the specified resource attachment from propagating routes to
|
28197
28644
|
# the specified propagation route table.
|
28198
28645
|
#
|
@@ -28805,10 +29252,10 @@ module Aws::EC2
|
|
28805
29252
|
# Region.
|
28806
29253
|
#
|
28807
29254
|
# After you enable encryption by default, the EBS volumes that you
|
28808
|
-
# create are
|
28809
|
-
#
|
28810
|
-
#
|
28811
|
-
#
|
29255
|
+
# create are always encrypted, either using the default CMK or the CMK
|
29256
|
+
# that you specified when you created each volume. For more information,
|
29257
|
+
# see [Amazon EBS encryption][1] in the *Amazon Elastic Compute Cloud
|
29258
|
+
# User Guide*.
|
28812
29259
|
#
|
28813
29260
|
# You can specify the default CMK for encryption by default using
|
28814
29261
|
# ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.
|
@@ -28926,6 +29373,44 @@ module Aws::EC2
|
|
28926
29373
|
req.send_request(options)
|
28927
29374
|
end
|
28928
29375
|
|
29376
|
+
# Enables access to the EC2 serial console of all instances for your
|
29377
|
+
# account. By default, access to the EC2 serial console is disabled for
|
29378
|
+
# your account. For more information, see [Manage account access to the
|
29379
|
+
# EC2 serial console][1] in the *Amazon EC2 User Guide*.
|
29380
|
+
#
|
29381
|
+
#
|
29382
|
+
#
|
29383
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access
|
29384
|
+
#
|
29385
|
+
# @option params [Boolean] :dry_run
|
29386
|
+
# Checks whether you have the required permissions for the action,
|
29387
|
+
# without actually making the request, and provides an error response.
|
29388
|
+
# If you have the required permissions, the error response is
|
29389
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
29390
|
+
#
|
29391
|
+
# @return [Types::EnableSerialConsoleAccessResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
29392
|
+
#
|
29393
|
+
# * {Types::EnableSerialConsoleAccessResult#serial_console_access_enabled #serial_console_access_enabled} => Boolean
|
29394
|
+
#
|
29395
|
+
# @example Request syntax with placeholder values
|
29396
|
+
#
|
29397
|
+
# resp = client.enable_serial_console_access({
|
29398
|
+
# dry_run: false,
|
29399
|
+
# })
|
29400
|
+
#
|
29401
|
+
# @example Response structure
|
29402
|
+
#
|
29403
|
+
# resp.serial_console_access_enabled #=> Boolean
|
29404
|
+
#
|
29405
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableSerialConsoleAccess AWS API Documentation
|
29406
|
+
#
|
29407
|
+
# @overload enable_serial_console_access(params = {})
|
29408
|
+
# @param [Hash] params ({})
|
29409
|
+
def enable_serial_console_access(params = {}, options = {})
|
29410
|
+
req = build_request(:enable_serial_console_access, params)
|
29411
|
+
req.send_request(options)
|
29412
|
+
end
|
29413
|
+
|
28929
29414
|
# Enables the specified attachment to propagate routes to the specified
|
28930
29415
|
# propagation route table.
|
28931
29416
|
#
|
@@ -29221,8 +29706,8 @@ module Aws::EC2
|
|
29221
29706
|
end
|
29222
29707
|
|
29223
29708
|
# Exports an Amazon Machine Image (AMI) to a VM file. For more
|
29224
|
-
# information, see [Exporting a VM
|
29225
|
-
#
|
29709
|
+
# information, see [Exporting a VM directly from an Amazon Machine Image
|
29710
|
+
# (AMI)][1] in the *VM Import/Export User Guide*.
|
29226
29711
|
#
|
29227
29712
|
#
|
29228
29713
|
#
|
@@ -29909,6 +30394,73 @@ module Aws::EC2
|
|
29909
30394
|
req.send_request(options)
|
29910
30395
|
end
|
29911
30396
|
|
30397
|
+
# Generates a CloudFormation template that streamlines and automates the
|
30398
|
+
# integration of VPC flow logs with Amazon Athena. This make it easier
|
30399
|
+
# for you to query and gain insights from VPC flow logs data. Based on
|
30400
|
+
# the information that you provide, we configure resources in the
|
30401
|
+
# template to do the following:
|
30402
|
+
#
|
30403
|
+
# * Create a table in Athena that maps fields to a custom log format
|
30404
|
+
#
|
30405
|
+
# * Create a Lambda function that updates the table with new partitions
|
30406
|
+
# on a daily, weekly, or monthly basis
|
30407
|
+
#
|
30408
|
+
# * Create a table partitioned between two timestamps in the past
|
30409
|
+
#
|
30410
|
+
# * Create a set of named queries in Athena that you can use to get
|
30411
|
+
# started quickly
|
30412
|
+
#
|
30413
|
+
# @option params [Boolean] :dry_run
|
30414
|
+
# Checks whether you have the required permissions for the action,
|
30415
|
+
# without actually making the request, and provides an error response.
|
30416
|
+
# If you have the required permissions, the error response is
|
30417
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
30418
|
+
#
|
30419
|
+
# @option params [required, String] :flow_log_id
|
30420
|
+
# The ID of the flow log.
|
30421
|
+
#
|
30422
|
+
# @option params [required, String] :config_delivery_s3_destination_arn
|
30423
|
+
# To store the CloudFormation template in Amazon S3, specify the
|
30424
|
+
# location in Amazon S3.
|
30425
|
+
#
|
30426
|
+
# @option params [required, Types::IntegrateServices] :integrate_services
|
30427
|
+
# Information about the service integration.
|
30428
|
+
#
|
30429
|
+
# @return [Types::GetFlowLogsIntegrationTemplateResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
30430
|
+
#
|
30431
|
+
# * {Types::GetFlowLogsIntegrationTemplateResult#result #result} => String
|
30432
|
+
#
|
30433
|
+
# @example Request syntax with placeholder values
|
30434
|
+
#
|
30435
|
+
# resp = client.get_flow_logs_integration_template({
|
30436
|
+
# dry_run: false,
|
30437
|
+
# flow_log_id: "VpcFlowLogId", # required
|
30438
|
+
# config_delivery_s3_destination_arn: "String", # required
|
30439
|
+
# integrate_services: { # required
|
30440
|
+
# athena_integrations: [
|
30441
|
+
# {
|
30442
|
+
# integration_result_s3_destination_arn: "String", # required
|
30443
|
+
# partition_load_frequency: "none", # required, accepts none, daily, weekly, monthly
|
30444
|
+
# partition_start_date: Time.now,
|
30445
|
+
# partition_end_date: Time.now,
|
30446
|
+
# },
|
30447
|
+
# ],
|
30448
|
+
# },
|
30449
|
+
# })
|
30450
|
+
#
|
30451
|
+
# @example Response structure
|
30452
|
+
#
|
30453
|
+
# resp.result #=> String
|
30454
|
+
#
|
30455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetFlowLogsIntegrationTemplate AWS API Documentation
|
30456
|
+
#
|
30457
|
+
# @overload get_flow_logs_integration_template(params = {})
|
30458
|
+
# @param [Hash] params ({})
|
30459
|
+
def get_flow_logs_integration_template(params = {}, options = {})
|
30460
|
+
req = build_request(:get_flow_logs_integration_template, params)
|
30461
|
+
req.send_request(options)
|
30462
|
+
end
|
30463
|
+
|
29912
30464
|
# Lists the resource groups to which a Capacity Reservation has been
|
29913
30465
|
# added.
|
29914
30466
|
#
|
@@ -30462,6 +31014,44 @@ module Aws::EC2
|
|
30462
31014
|
req.send_request(options)
|
30463
31015
|
end
|
30464
31016
|
|
31017
|
+
# Retrieves the access status of your account to the EC2 serial console
|
31018
|
+
# of all instances. By default, access to the EC2 serial console is
|
31019
|
+
# disabled for your account. For more information, see [Manage account
|
31020
|
+
# access to the EC2 serial console][1] in the *Amazon EC2 User Guide*.
|
31021
|
+
#
|
31022
|
+
#
|
31023
|
+
#
|
31024
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access
|
31025
|
+
#
|
31026
|
+
# @option params [Boolean] :dry_run
|
31027
|
+
# Checks whether you have the required permissions for the action,
|
31028
|
+
# without actually making the request, and provides an error response.
|
31029
|
+
# If you have the required permissions, the error response is
|
31030
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
31031
|
+
#
|
31032
|
+
# @return [Types::GetSerialConsoleAccessStatusResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
31033
|
+
#
|
31034
|
+
# * {Types::GetSerialConsoleAccessStatusResult#serial_console_access_enabled #serial_console_access_enabled} => Boolean
|
31035
|
+
#
|
31036
|
+
# @example Request syntax with placeholder values
|
31037
|
+
#
|
31038
|
+
# resp = client.get_serial_console_access_status({
|
31039
|
+
# dry_run: false,
|
31040
|
+
# })
|
31041
|
+
#
|
31042
|
+
# @example Response structure
|
31043
|
+
#
|
31044
|
+
# resp.serial_console_access_enabled #=> Boolean
|
31045
|
+
#
|
31046
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSerialConsoleAccessStatus AWS API Documentation
|
31047
|
+
#
|
31048
|
+
# @overload get_serial_console_access_status(params = {})
|
31049
|
+
# @param [Hash] params ({})
|
31050
|
+
def get_serial_console_access_status(params = {}, options = {})
|
31051
|
+
req = build_request(:get_serial_console_access_status, params)
|
31052
|
+
req.send_request(options)
|
31053
|
+
end
|
31054
|
+
|
30465
31055
|
# Lists the route tables to which the specified resource attachment
|
30466
31056
|
# propagates routes.
|
30467
31057
|
#
|
@@ -30885,9 +31475,10 @@ module Aws::EC2
|
|
30885
31475
|
end
|
30886
31476
|
|
30887
31477
|
# Import single or multi-volume disk images or EBS snapshots into an
|
30888
|
-
# Amazon Machine Image (AMI).
|
30889
|
-
#
|
30890
|
-
#
|
31478
|
+
# Amazon Machine Image (AMI).
|
31479
|
+
#
|
31480
|
+
# For more information, see [Importing a VM as an image using VM
|
31481
|
+
# Import/Export][1] in the *VM Import/Export User Guide*.
|
30891
31482
|
#
|
30892
31483
|
#
|
30893
31484
|
#
|
@@ -31111,16 +31702,22 @@ module Aws::EC2
|
|
31111
31702
|
end
|
31112
31703
|
|
31113
31704
|
# Creates an import instance task using metadata from the specified disk
|
31114
|
-
# image.
|
31115
|
-
#
|
31116
|
-
#
|
31705
|
+
# image.
|
31706
|
+
#
|
31707
|
+
# This API action supports only single-volume VMs. To import
|
31708
|
+
# multi-volume VMs, use ImportImage instead.
|
31709
|
+
#
|
31710
|
+
# This API action is not supported by the AWS Command Line Interface
|
31711
|
+
# (AWS CLI). For information about using the Amazon EC2 CLI, which is
|
31712
|
+
# deprecated, see [Importing a VM to Amazon EC2][1] in the *Amazon EC2
|
31713
|
+
# CLI Reference* PDF file.
|
31117
31714
|
#
|
31118
31715
|
# For information about the import manifest referenced by this API
|
31119
31716
|
# action, see [VM Import Manifest][2].
|
31120
31717
|
#
|
31121
31718
|
#
|
31122
31719
|
#
|
31123
|
-
# [1]: https://
|
31720
|
+
# [1]: https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#UsingVirtualMachinesinAmazonEC2
|
31124
31721
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html
|
31125
31722
|
#
|
31126
31723
|
# @option params [String] :description
|
@@ -31309,6 +31906,13 @@ module Aws::EC2
|
|
31309
31906
|
|
31310
31907
|
# Imports a disk into an EBS snapshot.
|
31311
31908
|
#
|
31909
|
+
# For more information, see [Importing a disk as a snapshot using VM
|
31910
|
+
# Import/Export][1] in the *VM Import/Export User Guide*.
|
31911
|
+
#
|
31912
|
+
#
|
31913
|
+
#
|
31914
|
+
# [1]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-import-snapshot.html
|
31915
|
+
#
|
31312
31916
|
# @option params [Types::ClientData] :client_data
|
31313
31917
|
# The client-specific data.
|
31314
31918
|
#
|
@@ -31455,14 +32059,23 @@ module Aws::EC2
|
|
31455
32059
|
end
|
31456
32060
|
|
31457
32061
|
# Creates an import volume task using metadata from the specified disk
|
31458
|
-
# image.
|
32062
|
+
# image.
|
32063
|
+
#
|
32064
|
+
# This API action supports only single-volume VMs. To import
|
32065
|
+
# multi-volume VMs, use ImportImage instead. To import a disk to a
|
32066
|
+
# snapshot, use ImportSnapshot instead.
|
32067
|
+
#
|
32068
|
+
# This API action is not supported by the AWS Command Line Interface
|
32069
|
+
# (AWS CLI). For information about using the Amazon EC2 CLI, which is
|
32070
|
+
# deprecated, see [Importing Disks to Amazon EBS][1] in the *Amazon EC2
|
32071
|
+
# CLI Reference* PDF file.
|
31459
32072
|
#
|
31460
32073
|
# For information about the import manifest referenced by this API
|
31461
32074
|
# action, see [VM Import Manifest][2].
|
31462
32075
|
#
|
31463
32076
|
#
|
31464
32077
|
#
|
31465
|
-
# [1]: https://
|
32078
|
+
# [1]: https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#importing-your-volumes-into-amazon-ebs
|
31466
32079
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html
|
31467
32080
|
#
|
31468
32081
|
# @option params [required, String] :availability_zone
|
@@ -32613,10 +33226,10 @@ module Aws::EC2
|
|
32613
33226
|
# option with a PV instance can make it unreachable.
|
32614
33227
|
#
|
32615
33228
|
# @option params [Array<String>] :groups
|
32616
|
-
# \[EC2-VPC\]
|
32617
|
-
# specify at least one security
|
32618
|
-
# security group for the VPC. You
|
32619
|
-
# not the security group name.
|
33229
|
+
# \[EC2-VPC\] Replaces the security groups of the instance with the
|
33230
|
+
# specified security groups. You must specify at least one security
|
33231
|
+
# group, even if it's just the default security group for the VPC. You
|
33232
|
+
# must specify the security group ID, not the security group name.
|
32620
33233
|
#
|
32621
33234
|
# @option params [required, String] :instance_id
|
32622
33235
|
# The ID of the instance.
|
@@ -33291,15 +33904,12 @@ module Aws::EC2
|
|
33291
33904
|
# The ID of the network interface.
|
33292
33905
|
#
|
33293
33906
|
# @option params [Types::AttributeBooleanValue] :source_dest_check
|
33294
|
-
#
|
33295
|
-
#
|
33296
|
-
#
|
33297
|
-
#
|
33298
|
-
#
|
33299
|
-
#
|
33300
|
-
#
|
33301
|
-
#
|
33302
|
-
# [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html
|
33907
|
+
# Enable or disable source/destination checks, which ensure that the
|
33908
|
+
# instance is either the source or the destination of any traffic that
|
33909
|
+
# it receives. If the value is `true`, source/destination checks are
|
33910
|
+
# enabled; otherwise, they are disabled. The default value is `true`.
|
33911
|
+
# You must disable source/destination checks if the instance runs
|
33912
|
+
# services such as network address translation, routing, or firewalls.
|
33303
33913
|
#
|
33304
33914
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
33305
33915
|
#
|
@@ -34333,7 +34943,8 @@ module Aws::EC2
|
|
34333
34943
|
# * `io2`\: 100-64,000 IOPS
|
34334
34944
|
#
|
34335
34945
|
# Default: If no IOPS value is specified, the existing value is
|
34336
|
-
# retained
|
34946
|
+
# retained, unless a volume type is modified that supports different
|
34947
|
+
# values.
|
34337
34948
|
#
|
34338
34949
|
# @option params [Integer] :throughput
|
34339
34950
|
# The target throughput of the volume, in MiB/s. This parameter is valid
|
@@ -37865,7 +38476,7 @@ module Aws::EC2
|
|
37865
38476
|
# launch_group: "String",
|
37866
38477
|
# launch_specification: {
|
37867
38478
|
# security_group_ids: ["SecurityGroupId"],
|
37868
|
-
# security_groups: ["
|
38479
|
+
# security_groups: ["String"],
|
37869
38480
|
# addressing_type: "String",
|
37870
38481
|
# block_device_mappings: [
|
37871
38482
|
# {
|
@@ -40855,12 +41466,12 @@ module Aws::EC2
|
|
40855
41466
|
|
40856
41467
|
# Unassigns one or more IPv6 addresses from a network interface.
|
40857
41468
|
#
|
40858
|
-
# @option params [required, Array<String>] :ipv_6_addresses
|
40859
|
-
# The IPv6 addresses to unassign from the network interface.
|
40860
|
-
#
|
40861
41469
|
# @option params [required, String] :network_interface_id
|
40862
41470
|
# The ID of the network interface.
|
40863
41471
|
#
|
41472
|
+
# @option params [required, Array<String>] :ipv_6_addresses
|
41473
|
+
# The IPv6 addresses to unassign from the network interface.
|
41474
|
+
#
|
40864
41475
|
# @return [Types::UnassignIpv6AddressesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
40865
41476
|
#
|
40866
41477
|
# * {Types::UnassignIpv6AddressesResult#network_interface_id #network_interface_id} => String
|
@@ -40869,8 +41480,8 @@ module Aws::EC2
|
|
40869
41480
|
# @example Request syntax with placeholder values
|
40870
41481
|
#
|
40871
41482
|
# resp = client.unassign_ipv_6_addresses({
|
40872
|
-
# ipv_6_addresses: ["String"], # required
|
40873
41483
|
# network_interface_id: "NetworkInterfaceId", # required
|
41484
|
+
# ipv_6_addresses: ["String"], # required
|
40874
41485
|
# })
|
40875
41486
|
#
|
40876
41487
|
# @example Response structure
|
@@ -41258,7 +41869,7 @@ module Aws::EC2
|
|
41258
41869
|
params: params,
|
41259
41870
|
config: config)
|
41260
41871
|
context[:gem_name] = 'aws-sdk-ec2'
|
41261
|
-
context[:gem_version] = '1.
|
41872
|
+
context[:gem_version] = '1.234.0'
|
41262
41873
|
Seahorse::Client::Request.new(handlers, context)
|
41263
41874
|
end
|
41264
41875
|
|