aws-sdk-ec2 1.230.0 → 1.235.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/CHANGELOG.md +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +677 -68
- data/lib/aws-sdk-ec2/client_api.rb +240 -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 +803 -44
- data/lib/aws-sdk-ec2/vpc.rb +2 -0
- data/lib/aws-sdk-ec2/waiters.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e78ca026a7ee2294bb414d96b55fc5a85304bffd42c11a2dc9e7dfeb436e5dd7
|
4
|
+
data.tar.gz: c49f27952c8aee942d5c964aa6372d6d9018fbfe488b78605c9ae56ec4cfc281
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13a7218830691492ea0479b43116ebe948bdf7a85a3ea4d621ef04e801bf22f853da5868a112d1c8e18b8b9c2d63b0959ba5508f5dfa19faf63f5ca17a4bd075
|
7
|
+
data.tar.gz: 1400eeb15f499fc5f8f326348ef597b3931844f82d0e3b33b3bab1cff73119f31bdaddd89d80a1a484ec30e053200551161127753bd27d0fb74fbcb0173aad01
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,31 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.235.0 (2021-04-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding support for Red Hat Enterprise Linux with HA for Reserved Instances.
|
8
|
+
|
9
|
+
1.234.0 (2021-04-09)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add paginator support to DescribeStoreImageTasks and update documentation.
|
13
|
+
|
14
|
+
1.233.0 (2021-04-06)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds support for storing EBS-backed AMIs in S3 and restoring them from S3 to enable cross-partition copying of AMIs
|
18
|
+
|
19
|
+
1.232.0 (2021-04-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* 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
|
23
|
+
|
24
|
+
1.231.0 (2021-03-30)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* 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
|
28
|
+
|
4
29
|
1.230.0 (2021-03-24)
|
5
30
|
------------------
|
6
31
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.235.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
|
@@ -18117,7 +18350,7 @@ module Aws::EC2
|
|
18117
18350
|
# * `memory-info.size-in-mib` - The memory size.
|
18118
18351
|
#
|
18119
18352
|
# * `network-info.efa-info.maximum-efa-interfaces` - The maximum number
|
18120
|
-
# of Elastic Fabric Adapters (EFAs) per instance.
|
18353
|
+
# of Elastic Fabric Adapters (EFAs) per instance.
|
18121
18354
|
#
|
18122
18355
|
# * `network-info.efa-supported` - Indicates whether the instance type
|
18123
18356
|
# supports Elastic Fabric Adapter (EFA) (`true` \| `false`).
|
@@ -21814,6 +22047,83 @@ module Aws::EC2
|
|
21814
22047
|
req.send_request(options)
|
21815
22048
|
end
|
21816
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
|
+
|
21817
22127
|
# Describes one or more of the Reserved Instances that you purchased.
|
21818
22128
|
#
|
21819
22129
|
# For more information about Reserved Instances, see [Reserved
|
@@ -21850,11 +22160,12 @@ module Aws::EC2
|
|
21850
22160
|
# holders and are for use with Amazon VPC (`Linux/UNIX` \| `Linux/UNIX
|
21851
22161
|
# (Amazon VPC)` \| `SUSE Linux` \| `SUSE Linux (Amazon VPC)` \| `Red
|
21852
22162
|
# Hat Enterprise Linux` \| `Red Hat Enterprise Linux (Amazon VPC)` \|
|
21853
|
-
# `
|
21854
|
-
#
|
21855
|
-
# `Windows with SQL Server
|
21856
|
-
#
|
21857
|
-
# with SQL Server Enterprise
|
22163
|
+
# `Red Hat Enterprise Linux with HA (Amazon VPC)` \| `Windows` \|
|
22164
|
+
# `Windows (Amazon VPC)` \| `Windows with SQL Server Standard` \|
|
22165
|
+
# `Windows with SQL Server Standard (Amazon VPC)` \| `Windows with SQL
|
22166
|
+
# Server Web` \| `Windows with SQL Server Web (Amazon VPC)` \|
|
22167
|
+
# `Windows with SQL Server Enterprise` \| `Windows with SQL Server
|
22168
|
+
# Enterprise (Amazon VPC)`).
|
21858
22169
|
#
|
21859
22170
|
# * `reserved-instances-id` - The ID of the Reserved Instance.
|
21860
22171
|
#
|
@@ -22200,11 +22511,12 @@ module Aws::EC2
|
|
22200
22511
|
# holders and are for use with Amazon VPC. (`Linux/UNIX` \|
|
22201
22512
|
# `Linux/UNIX (Amazon VPC)` \| `SUSE Linux` \| `SUSE Linux (Amazon
|
22202
22513
|
# VPC)` \| `Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux
|
22203
|
-
# (Amazon VPC)` \| `
|
22204
|
-
#
|
22205
|
-
#
|
22206
|
-
# Server Web
|
22207
|
-
# `Windows with SQL Server Enterprise
|
22514
|
+
# (Amazon VPC)` \| `Red Hat Enterprise Linux with HA (Amazon VPC)` \|
|
22515
|
+
# `Windows` \| `Windows (Amazon VPC)` \| `Windows with SQL Server
|
22516
|
+
# Standard` \| `Windows with SQL Server Standard (Amazon VPC)` \|
|
22517
|
+
# `Windows with SQL Server Web` \| ` Windows with SQL Server Web
|
22518
|
+
# (Amazon VPC)` \| `Windows with SQL Server Enterprise` \| `Windows
|
22519
|
+
# with SQL Server Enterprise (Amazon VPC)`)
|
22208
22520
|
#
|
22209
22521
|
# * `reserved-instances-offering-id` - The Reserved Instances offering
|
22210
22522
|
# ID.
|
@@ -24326,11 +24638,10 @@ module Aws::EC2
|
|
24326
24638
|
# Instance pricing history][1] in the *Amazon EC2 User Guide for Linux
|
24327
24639
|
# Instances*.
|
24328
24640
|
#
|
24329
|
-
# When you specify a start and end time,
|
24330
|
-
# prices of the instance types within
|
24331
|
-
#
|
24332
|
-
#
|
24333
|
-
# time that the price changed.
|
24641
|
+
# When you specify a start and end time, the operation returns the
|
24642
|
+
# prices of the instance types within that time range. It also returns
|
24643
|
+
# the last price change before the start time, which is the effective
|
24644
|
+
# price as of the start time.
|
24334
24645
|
#
|
24335
24646
|
#
|
24336
24647
|
#
|
@@ -24563,6 +24874,100 @@ module Aws::EC2
|
|
24563
24874
|
req.send_request(options)
|
24564
24875
|
end
|
24565
24876
|
|
24877
|
+
# Describes the progress of the AMI store tasks. You can describe the
|
24878
|
+
# store tasks for specified AMIs. If you don't specify the AMIs, you
|
24879
|
+
# get a paginated list of store tasks from the last 31 days.
|
24880
|
+
#
|
24881
|
+
# For each AMI task, the response indicates if the task is `InProgress`,
|
24882
|
+
# `Completed`, or `Failed`. For tasks `InProgress`, the response shows
|
24883
|
+
# the estimated progress as a percentage.
|
24884
|
+
#
|
24885
|
+
# Tasks are listed in reverse chronological order. Currently, only tasks
|
24886
|
+
# from the past 31 days can be viewed.
|
24887
|
+
#
|
24888
|
+
# To use this API, you must have the required permissions. For more
|
24889
|
+
# information, see [Permissions for storing and restoring AMIs using
|
24890
|
+
# S3][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
24891
|
+
#
|
24892
|
+
# For more information, see [Store and restore an AMI using S3][2] in
|
24893
|
+
# the *Amazon Elastic Compute Cloud User Guide*.
|
24894
|
+
#
|
24895
|
+
#
|
24896
|
+
#
|
24897
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions
|
24898
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html
|
24899
|
+
#
|
24900
|
+
# @option params [Array<String>] :image_ids
|
24901
|
+
# The AMI IDs for which to show progress. Up to 20 AMI IDs can be
|
24902
|
+
# included in a request.
|
24903
|
+
#
|
24904
|
+
# @option params [Boolean] :dry_run
|
24905
|
+
# Checks whether you have the required permissions for the action,
|
24906
|
+
# without actually making the request, and provides an error response.
|
24907
|
+
# If you have the required permissions, the error response is
|
24908
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
24909
|
+
#
|
24910
|
+
# @option params [Array<Types::Filter>] :filters
|
24911
|
+
# The filters.
|
24912
|
+
#
|
24913
|
+
# * `task-state` - Returns tasks in a certain state (`InProgress` \|
|
24914
|
+
# `Completed` \| `Failed`)
|
24915
|
+
#
|
24916
|
+
# * `bucket` - Returns task information for tasks that targeted a
|
24917
|
+
# specific bucket. For the filter value, specify the bucket name.
|
24918
|
+
#
|
24919
|
+
# @option params [String] :next_token
|
24920
|
+
# The token for the next page of results.
|
24921
|
+
#
|
24922
|
+
# @option params [Integer] :max_results
|
24923
|
+
# The maximum number of results to return in a single call. To retrieve
|
24924
|
+
# the remaining results, make another call with the returned `NextToken`
|
24925
|
+
# value. This value can be between 1 and 200. You cannot specify this
|
24926
|
+
# parameter and the `ImageIDs` parameter in the same call.
|
24927
|
+
#
|
24928
|
+
# @return [Types::DescribeStoreImageTasksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
24929
|
+
#
|
24930
|
+
# * {Types::DescribeStoreImageTasksResult#store_image_task_results #store_image_task_results} => Array<Types::StoreImageTaskResult>
|
24931
|
+
# * {Types::DescribeStoreImageTasksResult#next_token #next_token} => String
|
24932
|
+
#
|
24933
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
24934
|
+
#
|
24935
|
+
# @example Request syntax with placeholder values
|
24936
|
+
#
|
24937
|
+
# resp = client.describe_store_image_tasks({
|
24938
|
+
# image_ids: ["ImageId"],
|
24939
|
+
# dry_run: false,
|
24940
|
+
# filters: [
|
24941
|
+
# {
|
24942
|
+
# name: "String",
|
24943
|
+
# values: ["String"],
|
24944
|
+
# },
|
24945
|
+
# ],
|
24946
|
+
# next_token: "String",
|
24947
|
+
# max_results: 1,
|
24948
|
+
# })
|
24949
|
+
#
|
24950
|
+
# @example Response structure
|
24951
|
+
#
|
24952
|
+
# resp.store_image_task_results #=> Array
|
24953
|
+
# resp.store_image_task_results[0].ami_id #=> String
|
24954
|
+
# resp.store_image_task_results[0].task_start_time #=> Time
|
24955
|
+
# resp.store_image_task_results[0].bucket #=> String
|
24956
|
+
# resp.store_image_task_results[0].s3object_key #=> String
|
24957
|
+
# resp.store_image_task_results[0].progress_percentage #=> Integer
|
24958
|
+
# resp.store_image_task_results[0].store_task_state #=> String
|
24959
|
+
# resp.store_image_task_results[0].store_task_failure_reason #=> String
|
24960
|
+
# resp.next_token #=> String
|
24961
|
+
#
|
24962
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStoreImageTasks AWS API Documentation
|
24963
|
+
#
|
24964
|
+
# @overload describe_store_image_tasks(params = {})
|
24965
|
+
# @param [Hash] params ({})
|
24966
|
+
def describe_store_image_tasks(params = {}, options = {})
|
24967
|
+
req = build_request(:describe_store_image_tasks, params)
|
24968
|
+
req.send_request(options)
|
24969
|
+
end
|
24970
|
+
|
24566
24971
|
# Describes one or more of your subnets.
|
24567
24972
|
#
|
24568
24973
|
# For more information, see [Your VPC and Subnets][1] in the *Amazon
|
@@ -24602,6 +25007,8 @@ module Aws::EC2
|
|
24602
25007
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
24603
25008
|
# block associated with the subnet.
|
24604
25009
|
#
|
25010
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
25011
|
+
#
|
24605
25012
|
# * `owner-id` - The ID of the AWS account that owns the subnet.
|
24606
25013
|
#
|
24607
25014
|
# * `state` - The state of the subnet (`pending` \| `available`).
|
@@ -28197,6 +28604,44 @@ module Aws::EC2
|
|
28197
28604
|
req.send_request(options)
|
28198
28605
|
end
|
28199
28606
|
|
28607
|
+
# Disables access to the EC2 serial console of all instances for your
|
28608
|
+
# account. By default, access to the EC2 serial console is disabled for
|
28609
|
+
# your account. For more information, see [Manage account access to the
|
28610
|
+
# EC2 serial console][1] in the *Amazon EC2 User Guide*.
|
28611
|
+
#
|
28612
|
+
#
|
28613
|
+
#
|
28614
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access
|
28615
|
+
#
|
28616
|
+
# @option params [Boolean] :dry_run
|
28617
|
+
# Checks whether you have the required permissions for the action,
|
28618
|
+
# without actually making the request, and provides an error response.
|
28619
|
+
# If you have the required permissions, the error response is
|
28620
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
28621
|
+
#
|
28622
|
+
# @return [Types::DisableSerialConsoleAccessResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
28623
|
+
#
|
28624
|
+
# * {Types::DisableSerialConsoleAccessResult#serial_console_access_enabled #serial_console_access_enabled} => Boolean
|
28625
|
+
#
|
28626
|
+
# @example Request syntax with placeholder values
|
28627
|
+
#
|
28628
|
+
# resp = client.disable_serial_console_access({
|
28629
|
+
# dry_run: false,
|
28630
|
+
# })
|
28631
|
+
#
|
28632
|
+
# @example Response structure
|
28633
|
+
#
|
28634
|
+
# resp.serial_console_access_enabled #=> Boolean
|
28635
|
+
#
|
28636
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableSerialConsoleAccess AWS API Documentation
|
28637
|
+
#
|
28638
|
+
# @overload disable_serial_console_access(params = {})
|
28639
|
+
# @param [Hash] params ({})
|
28640
|
+
def disable_serial_console_access(params = {}, options = {})
|
28641
|
+
req = build_request(:disable_serial_console_access, params)
|
28642
|
+
req.send_request(options)
|
28643
|
+
end
|
28644
|
+
|
28200
28645
|
# Disables the specified resource attachment from propagating routes to
|
28201
28646
|
# the specified propagation route table.
|
28202
28647
|
#
|
@@ -28809,10 +29254,10 @@ module Aws::EC2
|
|
28809
29254
|
# Region.
|
28810
29255
|
#
|
28811
29256
|
# After you enable encryption by default, the EBS volumes that you
|
28812
|
-
# create are
|
28813
|
-
#
|
28814
|
-
#
|
28815
|
-
#
|
29257
|
+
# create are always encrypted, either using the default CMK or the CMK
|
29258
|
+
# that you specified when you created each volume. For more information,
|
29259
|
+
# see [Amazon EBS encryption][1] in the *Amazon Elastic Compute Cloud
|
29260
|
+
# User Guide*.
|
28816
29261
|
#
|
28817
29262
|
# You can specify the default CMK for encryption by default using
|
28818
29263
|
# ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.
|
@@ -28930,6 +29375,44 @@ module Aws::EC2
|
|
28930
29375
|
req.send_request(options)
|
28931
29376
|
end
|
28932
29377
|
|
29378
|
+
# Enables access to the EC2 serial console of all instances for your
|
29379
|
+
# account. By default, access to the EC2 serial console is disabled for
|
29380
|
+
# your account. For more information, see [Manage account access to the
|
29381
|
+
# EC2 serial console][1] in the *Amazon EC2 User Guide*.
|
29382
|
+
#
|
29383
|
+
#
|
29384
|
+
#
|
29385
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access
|
29386
|
+
#
|
29387
|
+
# @option params [Boolean] :dry_run
|
29388
|
+
# Checks whether you have the required permissions for the action,
|
29389
|
+
# without actually making the request, and provides an error response.
|
29390
|
+
# If you have the required permissions, the error response is
|
29391
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
29392
|
+
#
|
29393
|
+
# @return [Types::EnableSerialConsoleAccessResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
29394
|
+
#
|
29395
|
+
# * {Types::EnableSerialConsoleAccessResult#serial_console_access_enabled #serial_console_access_enabled} => Boolean
|
29396
|
+
#
|
29397
|
+
# @example Request syntax with placeholder values
|
29398
|
+
#
|
29399
|
+
# resp = client.enable_serial_console_access({
|
29400
|
+
# dry_run: false,
|
29401
|
+
# })
|
29402
|
+
#
|
29403
|
+
# @example Response structure
|
29404
|
+
#
|
29405
|
+
# resp.serial_console_access_enabled #=> Boolean
|
29406
|
+
#
|
29407
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableSerialConsoleAccess AWS API Documentation
|
29408
|
+
#
|
29409
|
+
# @overload enable_serial_console_access(params = {})
|
29410
|
+
# @param [Hash] params ({})
|
29411
|
+
def enable_serial_console_access(params = {}, options = {})
|
29412
|
+
req = build_request(:enable_serial_console_access, params)
|
29413
|
+
req.send_request(options)
|
29414
|
+
end
|
29415
|
+
|
28933
29416
|
# Enables the specified attachment to propagate routes to the specified
|
28934
29417
|
# propagation route table.
|
28935
29418
|
#
|
@@ -29225,8 +29708,8 @@ module Aws::EC2
|
|
29225
29708
|
end
|
29226
29709
|
|
29227
29710
|
# Exports an Amazon Machine Image (AMI) to a VM file. For more
|
29228
|
-
# information, see [Exporting a VM
|
29229
|
-
#
|
29711
|
+
# information, see [Exporting a VM directly from an Amazon Machine Image
|
29712
|
+
# (AMI)][1] in the *VM Import/Export User Guide*.
|
29230
29713
|
#
|
29231
29714
|
#
|
29232
29715
|
#
|
@@ -29913,6 +30396,73 @@ module Aws::EC2
|
|
29913
30396
|
req.send_request(options)
|
29914
30397
|
end
|
29915
30398
|
|
30399
|
+
# Generates a CloudFormation template that streamlines and automates the
|
30400
|
+
# integration of VPC flow logs with Amazon Athena. This make it easier
|
30401
|
+
# for you to query and gain insights from VPC flow logs data. Based on
|
30402
|
+
# the information that you provide, we configure resources in the
|
30403
|
+
# template to do the following:
|
30404
|
+
#
|
30405
|
+
# * Create a table in Athena that maps fields to a custom log format
|
30406
|
+
#
|
30407
|
+
# * Create a Lambda function that updates the table with new partitions
|
30408
|
+
# on a daily, weekly, or monthly basis
|
30409
|
+
#
|
30410
|
+
# * Create a table partitioned between two timestamps in the past
|
30411
|
+
#
|
30412
|
+
# * Create a set of named queries in Athena that you can use to get
|
30413
|
+
# started quickly
|
30414
|
+
#
|
30415
|
+
# @option params [Boolean] :dry_run
|
30416
|
+
# Checks whether you have the required permissions for the action,
|
30417
|
+
# without actually making the request, and provides an error response.
|
30418
|
+
# If you have the required permissions, the error response is
|
30419
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
30420
|
+
#
|
30421
|
+
# @option params [required, String] :flow_log_id
|
30422
|
+
# The ID of the flow log.
|
30423
|
+
#
|
30424
|
+
# @option params [required, String] :config_delivery_s3_destination_arn
|
30425
|
+
# To store the CloudFormation template in Amazon S3, specify the
|
30426
|
+
# location in Amazon S3.
|
30427
|
+
#
|
30428
|
+
# @option params [required, Types::IntegrateServices] :integrate_services
|
30429
|
+
# Information about the service integration.
|
30430
|
+
#
|
30431
|
+
# @return [Types::GetFlowLogsIntegrationTemplateResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
30432
|
+
#
|
30433
|
+
# * {Types::GetFlowLogsIntegrationTemplateResult#result #result} => String
|
30434
|
+
#
|
30435
|
+
# @example Request syntax with placeholder values
|
30436
|
+
#
|
30437
|
+
# resp = client.get_flow_logs_integration_template({
|
30438
|
+
# dry_run: false,
|
30439
|
+
# flow_log_id: "VpcFlowLogId", # required
|
30440
|
+
# config_delivery_s3_destination_arn: "String", # required
|
30441
|
+
# integrate_services: { # required
|
30442
|
+
# athena_integrations: [
|
30443
|
+
# {
|
30444
|
+
# integration_result_s3_destination_arn: "String", # required
|
30445
|
+
# partition_load_frequency: "none", # required, accepts none, daily, weekly, monthly
|
30446
|
+
# partition_start_date: Time.now,
|
30447
|
+
# partition_end_date: Time.now,
|
30448
|
+
# },
|
30449
|
+
# ],
|
30450
|
+
# },
|
30451
|
+
# })
|
30452
|
+
#
|
30453
|
+
# @example Response structure
|
30454
|
+
#
|
30455
|
+
# resp.result #=> String
|
30456
|
+
#
|
30457
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetFlowLogsIntegrationTemplate AWS API Documentation
|
30458
|
+
#
|
30459
|
+
# @overload get_flow_logs_integration_template(params = {})
|
30460
|
+
# @param [Hash] params ({})
|
30461
|
+
def get_flow_logs_integration_template(params = {}, options = {})
|
30462
|
+
req = build_request(:get_flow_logs_integration_template, params)
|
30463
|
+
req.send_request(options)
|
30464
|
+
end
|
30465
|
+
|
29916
30466
|
# Lists the resource groups to which a Capacity Reservation has been
|
29917
30467
|
# added.
|
29918
30468
|
#
|
@@ -30466,6 +31016,44 @@ module Aws::EC2
|
|
30466
31016
|
req.send_request(options)
|
30467
31017
|
end
|
30468
31018
|
|
31019
|
+
# Retrieves the access status of your account to the EC2 serial console
|
31020
|
+
# of all instances. By default, access to the EC2 serial console is
|
31021
|
+
# disabled for your account. For more information, see [Manage account
|
31022
|
+
# access to the EC2 serial console][1] in the *Amazon EC2 User Guide*.
|
31023
|
+
#
|
31024
|
+
#
|
31025
|
+
#
|
31026
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access
|
31027
|
+
#
|
31028
|
+
# @option params [Boolean] :dry_run
|
31029
|
+
# Checks whether you have the required permissions for the action,
|
31030
|
+
# without actually making the request, and provides an error response.
|
31031
|
+
# If you have the required permissions, the error response is
|
31032
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
31033
|
+
#
|
31034
|
+
# @return [Types::GetSerialConsoleAccessStatusResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
31035
|
+
#
|
31036
|
+
# * {Types::GetSerialConsoleAccessStatusResult#serial_console_access_enabled #serial_console_access_enabled} => Boolean
|
31037
|
+
#
|
31038
|
+
# @example Request syntax with placeholder values
|
31039
|
+
#
|
31040
|
+
# resp = client.get_serial_console_access_status({
|
31041
|
+
# dry_run: false,
|
31042
|
+
# })
|
31043
|
+
#
|
31044
|
+
# @example Response structure
|
31045
|
+
#
|
31046
|
+
# resp.serial_console_access_enabled #=> Boolean
|
31047
|
+
#
|
31048
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSerialConsoleAccessStatus AWS API Documentation
|
31049
|
+
#
|
31050
|
+
# @overload get_serial_console_access_status(params = {})
|
31051
|
+
# @param [Hash] params ({})
|
31052
|
+
def get_serial_console_access_status(params = {}, options = {})
|
31053
|
+
req = build_request(:get_serial_console_access_status, params)
|
31054
|
+
req.send_request(options)
|
31055
|
+
end
|
31056
|
+
|
30469
31057
|
# Lists the route tables to which the specified resource attachment
|
30470
31058
|
# propagates routes.
|
30471
31059
|
#
|
@@ -30889,9 +31477,10 @@ module Aws::EC2
|
|
30889
31477
|
end
|
30890
31478
|
|
30891
31479
|
# Import single or multi-volume disk images or EBS snapshots into an
|
30892
|
-
# Amazon Machine Image (AMI).
|
30893
|
-
#
|
30894
|
-
#
|
31480
|
+
# Amazon Machine Image (AMI).
|
31481
|
+
#
|
31482
|
+
# For more information, see [Importing a VM as an image using VM
|
31483
|
+
# Import/Export][1] in the *VM Import/Export User Guide*.
|
30895
31484
|
#
|
30896
31485
|
#
|
30897
31486
|
#
|
@@ -31115,16 +31704,22 @@ module Aws::EC2
|
|
31115
31704
|
end
|
31116
31705
|
|
31117
31706
|
# Creates an import instance task using metadata from the specified disk
|
31118
|
-
# image.
|
31119
|
-
#
|
31120
|
-
#
|
31707
|
+
# image.
|
31708
|
+
#
|
31709
|
+
# This API action supports only single-volume VMs. To import
|
31710
|
+
# multi-volume VMs, use ImportImage instead.
|
31711
|
+
#
|
31712
|
+
# This API action is not supported by the AWS Command Line Interface
|
31713
|
+
# (AWS CLI). For information about using the Amazon EC2 CLI, which is
|
31714
|
+
# deprecated, see [Importing a VM to Amazon EC2][1] in the *Amazon EC2
|
31715
|
+
# CLI Reference* PDF file.
|
31121
31716
|
#
|
31122
31717
|
# For information about the import manifest referenced by this API
|
31123
31718
|
# action, see [VM Import Manifest][2].
|
31124
31719
|
#
|
31125
31720
|
#
|
31126
31721
|
#
|
31127
|
-
# [1]: https://
|
31722
|
+
# [1]: https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#UsingVirtualMachinesinAmazonEC2
|
31128
31723
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html
|
31129
31724
|
#
|
31130
31725
|
# @option params [String] :description
|
@@ -31313,6 +31908,13 @@ module Aws::EC2
|
|
31313
31908
|
|
31314
31909
|
# Imports a disk into an EBS snapshot.
|
31315
31910
|
#
|
31911
|
+
# For more information, see [Importing a disk as a snapshot using VM
|
31912
|
+
# Import/Export][1] in the *VM Import/Export User Guide*.
|
31913
|
+
#
|
31914
|
+
#
|
31915
|
+
#
|
31916
|
+
# [1]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-import-snapshot.html
|
31917
|
+
#
|
31316
31918
|
# @option params [Types::ClientData] :client_data
|
31317
31919
|
# The client-specific data.
|
31318
31920
|
#
|
@@ -31459,14 +32061,23 @@ module Aws::EC2
|
|
31459
32061
|
end
|
31460
32062
|
|
31461
32063
|
# Creates an import volume task using metadata from the specified disk
|
31462
|
-
# image.
|
32064
|
+
# image.
|
32065
|
+
#
|
32066
|
+
# This API action supports only single-volume VMs. To import
|
32067
|
+
# multi-volume VMs, use ImportImage instead. To import a disk to a
|
32068
|
+
# snapshot, use ImportSnapshot instead.
|
32069
|
+
#
|
32070
|
+
# This API action is not supported by the AWS Command Line Interface
|
32071
|
+
# (AWS CLI). For information about using the Amazon EC2 CLI, which is
|
32072
|
+
# deprecated, see [Importing Disks to Amazon EBS][1] in the *Amazon EC2
|
32073
|
+
# CLI Reference* PDF file.
|
31463
32074
|
#
|
31464
32075
|
# For information about the import manifest referenced by this API
|
31465
32076
|
# action, see [VM Import Manifest][2].
|
31466
32077
|
#
|
31467
32078
|
#
|
31468
32079
|
#
|
31469
|
-
# [1]: https://
|
32080
|
+
# [1]: https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#importing-your-volumes-into-amazon-ebs
|
31470
32081
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html
|
31471
32082
|
#
|
31472
32083
|
# @option params [required, String] :availability_zone
|
@@ -32617,10 +33228,10 @@ module Aws::EC2
|
|
32617
33228
|
# option with a PV instance can make it unreachable.
|
32618
33229
|
#
|
32619
33230
|
# @option params [Array<String>] :groups
|
32620
|
-
# \[EC2-VPC\]
|
32621
|
-
# specify at least one security
|
32622
|
-
# security group for the VPC. You
|
32623
|
-
# not the security group name.
|
33231
|
+
# \[EC2-VPC\] Replaces the security groups of the instance with the
|
33232
|
+
# specified security groups. You must specify at least one security
|
33233
|
+
# group, even if it's just the default security group for the VPC. You
|
33234
|
+
# must specify the security group ID, not the security group name.
|
32624
33235
|
#
|
32625
33236
|
# @option params [required, String] :instance_id
|
32626
33237
|
# The ID of the instance.
|
@@ -33295,15 +33906,12 @@ module Aws::EC2
|
|
33295
33906
|
# The ID of the network interface.
|
33296
33907
|
#
|
33297
33908
|
# @option params [Types::AttributeBooleanValue] :source_dest_check
|
33298
|
-
#
|
33299
|
-
#
|
33300
|
-
#
|
33301
|
-
#
|
33302
|
-
#
|
33303
|
-
#
|
33304
|
-
#
|
33305
|
-
#
|
33306
|
-
# [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html
|
33909
|
+
# Enable or disable source/destination checks, which ensure that the
|
33910
|
+
# instance is either the source or the destination of any traffic that
|
33911
|
+
# it receives. If the value is `true`, source/destination checks are
|
33912
|
+
# enabled; otherwise, they are disabled. The default value is `true`.
|
33913
|
+
# You must disable source/destination checks if the instance runs
|
33914
|
+
# services such as network address translation, routing, or firewalls.
|
33307
33915
|
#
|
33308
33916
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
33309
33917
|
#
|
@@ -34337,7 +34945,8 @@ module Aws::EC2
|
|
34337
34945
|
# * `io2`\: 100-64,000 IOPS
|
34338
34946
|
#
|
34339
34947
|
# Default: If no IOPS value is specified, the existing value is
|
34340
|
-
# retained
|
34948
|
+
# retained, unless a volume type is modified that supports different
|
34949
|
+
# values.
|
34341
34950
|
#
|
34342
34951
|
# @option params [Integer] :throughput
|
34343
34952
|
# The target throughput of the volume, in MiB/s. This parameter is valid
|
@@ -37869,7 +38478,7 @@ module Aws::EC2
|
|
37869
38478
|
# launch_group: "String",
|
37870
38479
|
# launch_specification: {
|
37871
38480
|
# security_group_ids: ["SecurityGroupId"],
|
37872
|
-
# security_groups: ["
|
38481
|
+
# security_groups: ["String"],
|
37873
38482
|
# addressing_type: "String",
|
37874
38483
|
# block_device_mappings: [
|
37875
38484
|
# {
|
@@ -40859,12 +41468,12 @@ module Aws::EC2
|
|
40859
41468
|
|
40860
41469
|
# Unassigns one or more IPv6 addresses from a network interface.
|
40861
41470
|
#
|
40862
|
-
# @option params [required, Array<String>] :ipv_6_addresses
|
40863
|
-
# The IPv6 addresses to unassign from the network interface.
|
40864
|
-
#
|
40865
41471
|
# @option params [required, String] :network_interface_id
|
40866
41472
|
# The ID of the network interface.
|
40867
41473
|
#
|
41474
|
+
# @option params [required, Array<String>] :ipv_6_addresses
|
41475
|
+
# The IPv6 addresses to unassign from the network interface.
|
41476
|
+
#
|
40868
41477
|
# @return [Types::UnassignIpv6AddressesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
40869
41478
|
#
|
40870
41479
|
# * {Types::UnassignIpv6AddressesResult#network_interface_id #network_interface_id} => String
|
@@ -40873,8 +41482,8 @@ module Aws::EC2
|
|
40873
41482
|
# @example Request syntax with placeholder values
|
40874
41483
|
#
|
40875
41484
|
# resp = client.unassign_ipv_6_addresses({
|
40876
|
-
# ipv_6_addresses: ["String"], # required
|
40877
41485
|
# network_interface_id: "NetworkInterfaceId", # required
|
41486
|
+
# ipv_6_addresses: ["String"], # required
|
40878
41487
|
# })
|
40879
41488
|
#
|
40880
41489
|
# @example Response structure
|
@@ -41262,7 +41871,7 @@ module Aws::EC2
|
|
41262
41871
|
params: params,
|
41263
41872
|
config: config)
|
41264
41873
|
context[:gem_name] = 'aws-sdk-ec2'
|
41265
|
-
context[:gem_version] = '1.
|
41874
|
+
context[:gem_version] = '1.235.0'
|
41266
41875
|
Seahorse::Client::Request.new(handlers, context)
|
41267
41876
|
end
|
41268
41877
|
|