aws-sdk-ec2 1.228.0 → 1.233.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99c129f8b93f1e6c55741c9cd97c6ebb1c8d0593ad0ae397a74c88f9b39701f6
4
- data.tar.gz: 87c64daa06ae22952c5ee6668b2e48333b146ad823c5847d9edc0666ae733c35
3
+ metadata.gz: f0da339a81ce955d4eff0fcfbcfea49048e85b0fdf227a8637731228746f8ec4
4
+ data.tar.gz: 486397d90c2ebb9adf7fe642eda8b26e32d582d1c1fb8dfac161e03bda27629e
5
5
  SHA512:
6
- metadata.gz: de1eaab974a236a58150ff1ead271caadaed0a1ef2d95a2c314e8e25d5493f2e057c25418fd6419b871afa8fec47c8fb66b7fd896bbf378b260c87a1fdf897a0
7
- data.tar.gz: 9acb6a7c2eebb977ece4f3446f55048d9f2cf5d6ed50f2af572f4f13397bc19f687c1953970c56eec831d7a8b792c76acf94f12b2ecc1ee11010e8caece7d7cf
6
+ metadata.gz: 8dd8049994bdedeb41dc8e93d34df65b2ebd69c9fbad83ca8b41424c72453de2ef851b6062a5cd389d8e36142ac64eb26b464efe9c838e5e0b277f3ccc020ccf
7
+ data.tar.gz: 152d1fbb23b0ebf379c12116ae46dd645697b32c89899e6d2e3b60cb18597ac50d97da7d06f43bb99cb4f2db96dd1922bb6481f8cc33a25ea42a229561892ef3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,31 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.233.0 (2021-04-06)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for storing EBS-backed AMIs in S3 and restoring them from S3 to enable cross-partition copying of AMIs
8
+
9
+ 1.232.0 (2021-04-01)
10
+ ------------------
11
+
12
+ * 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
13
+
14
+ 1.231.0 (2021-03-30)
15
+ ------------------
16
+
17
+ * 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
18
+
19
+ 1.230.0 (2021-03-24)
20
+ ------------------
21
+
22
+ * Feature - maximumEfaInterfaces added to DescribeInstanceTypes API
23
+
24
+ 1.229.0 (2021-03-22)
25
+ ------------------
26
+
27
+ * Feature - This release adds support for UEFI boot on selected AMD- and Intel-based EC2 instances.
28
+
4
29
  1.228.0 (2021-03-19)
5
30
  ------------------
6
31
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.228.0
1
+ 1.233.0
data/lib/aws-sdk-ec2.rb CHANGED
@@ -72,6 +72,6 @@ require_relative 'aws-sdk-ec2/customizations'
72
72
  # @!group service
73
73
  module Aws::EC2
74
74
 
75
- GEM_VERSION = '1.228.0'
75
+ GEM_VERSION = '1.233.0'
76
76
 
77
77
  end
@@ -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, places the
1480
- # certificate, certificate chain, and encrypted private key in an Amazon
1481
- # S3 bucket that only the associated IAM role can access. The private
1482
- # key of the certificate is encrypted with an AWS-managed KMS customer
1483
- # master (CMK) that has an attached attestation-based CMK policy.
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 returned
1489
- # by the command. For more information, see [ Grant the role permission
1490
- # to access the certificate and encryption key][2] in the *AWS Nitro
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
  #
@@ -1681,13 +1682,13 @@ module Aws::EC2
1681
1682
  # single IPv6 CIDR block with your subnet. An IPv6 CIDR block must have
1682
1683
  # a prefix length of /64.
1683
1684
  #
1684
- # @option params [required, String] :subnet_id
1685
- # The ID of your subnet.
1686
- #
1687
1685
  # @option params [required, String] :ipv_6_cidr_block
1688
1686
  # The IPv6 CIDR block for your subnet. The subnet must have a /64 prefix
1689
1687
  # length.
1690
1688
  #
1689
+ # @option params [required, String] :subnet_id
1690
+ # The ID of your subnet.
1691
+ #
1691
1692
  # @return [Types::AssociateSubnetCidrBlockResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1692
1693
  #
1693
1694
  # * {Types::AssociateSubnetCidrBlockResult#ipv_6_cidr_block_association #ipv_6_cidr_block_association} => Types::SubnetIpv6CidrBlockAssociation
@@ -1696,8 +1697,8 @@ module Aws::EC2
1696
1697
  # @example Request syntax with placeholder values
1697
1698
  #
1698
1699
  # resp = client.associate_subnet_cidr_block({
1699
- # subnet_id: "SubnetId", # required
1700
1700
  # ipv_6_cidr_block: "String", # required
1701
+ # subnet_id: "SubnetId", # required
1701
1702
  # })
1702
1703
  #
1703
1704
  # @example Response structure
@@ -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][1] in the *Amazon Elastic Compute Cloud User Guide*.
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][2] in the *Amazon Elastic Compute Cloud
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/UserGuide/snapshots-outposts.html#ami
3361
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html
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
@@ -6302,15 +6303,15 @@ module Aws::EC2
6302
6303
  # @option params [required, String] :local_gateway_route_table_id
6303
6304
  # The ID of the local gateway route table.
6304
6305
  #
6305
- # @option params [required, String] :local_gateway_virtual_interface_group_id
6306
- # The ID of the virtual interface group.
6307
- #
6308
6306
  # @option params [Boolean] :dry_run
6309
6307
  # Checks whether you have the required permissions for the action,
6310
6308
  # without actually making the request, and provides an error response.
6311
6309
  # If you have the required permissions, the error response is
6312
6310
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
6313
6311
  #
6312
+ # @option params [required, String] :local_gateway_virtual_interface_group_id
6313
+ # The ID of the virtual interface group.
6314
+ #
6314
6315
  # @return [Types::CreateLocalGatewayRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6315
6316
  #
6316
6317
  # * {Types::CreateLocalGatewayRouteResult#route #route} => Types::LocalGatewayRoute
@@ -6320,8 +6321,8 @@ module Aws::EC2
6320
6321
  # resp = client.create_local_gateway_route({
6321
6322
  # destination_cidr_block: "String", # required
6322
6323
  # local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
6323
- # local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId", # required
6324
6324
  # dry_run: false,
6325
+ # local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId", # required
6325
6326
  # })
6326
6327
  #
6327
6328
  # @example Response structure
@@ -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
@@ -8253,6 +8483,12 @@ module Aws::EC2
8253
8483
  # @option params [String] :availability_zone_id
8254
8484
  # The AZ ID or the Local Zone ID of the subnet.
8255
8485
  #
8486
+ # @option params [required, String] :cidr_block
8487
+ # The IPv4 network range for the subnet, in CIDR notation. For example,
8488
+ # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
8489
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
8490
+ # `100.68.0.0/18`.
8491
+ #
8256
8492
  # @option params [String] :ipv_6_cidr_block
8257
8493
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
8258
8494
  # size must use a /64 prefix length.
@@ -8271,12 +8507,6 @@ module Aws::EC2
8271
8507
  # If you have the required permissions, the error response is
8272
8508
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
8273
8509
  #
8274
- # @option params [required, String] :cidr_block
8275
- # The IPv4 network range for the subnet, in CIDR notation. For example,
8276
- # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
8277
- # form; for example, if you specify `100.68.0.18/18`, we modify it to
8278
- # `100.68.0.0/18`.
8279
- #
8280
8510
  # @return [Types::CreateSubnetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8281
8511
  #
8282
8512
  # * {Types::CreateSubnetResult#subnet #subnet} => Types::Subnet
@@ -8320,11 +8550,11 @@ module Aws::EC2
8320
8550
  # ],
8321
8551
  # availability_zone: "String",
8322
8552
  # availability_zone_id: "String",
8553
+ # cidr_block: "String", # required
8323
8554
  # ipv_6_cidr_block: "String",
8324
8555
  # outpost_arn: "String",
8325
8556
  # vpc_id: "VpcId", # required
8326
8557
  # dry_run: false,
8327
- # cidr_block: "String", # required
8328
8558
  # })
8329
8559
  #
8330
8560
  # @example Response structure
@@ -16965,6 +17195,7 @@ module Aws::EC2
16965
17195
  # * {Types::ImageAttribute#kernel_id #kernel_id} => Types::AttributeValue
16966
17196
  # * {Types::ImageAttribute#ramdisk_id #ramdisk_id} => Types::AttributeValue
16967
17197
  # * {Types::ImageAttribute#sriov_net_support #sriov_net_support} => Types::AttributeValue
17198
+ # * {Types::ImageAttribute#boot_mode #boot_mode} => Types::AttributeValue
16968
17199
  #
16969
17200
  #
16970
17201
  # @example Example: To describe the launch permissions for an AMI
@@ -16989,7 +17220,7 @@ module Aws::EC2
16989
17220
  # @example Request syntax with placeholder values
16990
17221
  #
16991
17222
  # resp = client.describe_image_attribute({
16992
- # attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport
17223
+ # attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode
16993
17224
  # image_id: "ImageId", # required
16994
17225
  # dry_run: false,
16995
17226
  # })
@@ -17020,6 +17251,7 @@ module Aws::EC2
17020
17251
  # resp.kernel_id #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
17021
17252
  # resp.ramdisk_id #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
17022
17253
  # resp.sriov_net_support #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
17254
+ # resp.boot_mode #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
17023
17255
  #
17024
17256
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageAttribute AWS API Documentation
17025
17257
  #
@@ -17266,6 +17498,7 @@ module Aws::EC2
17266
17498
  # resp.images[0].tags[0].key #=> String
17267
17499
  # resp.images[0].tags[0].value #=> String
17268
17500
  # resp.images[0].virtualization_type #=> String, one of "hvm", "paravirtual"
17501
+ # resp.images[0].boot_mode #=> String, one of "legacy-bios", "uefi"
17269
17502
  #
17270
17503
  #
17271
17504
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -18113,6 +18346,9 @@ module Aws::EC2
18113
18346
  #
18114
18347
  # * `memory-info.size-in-mib` - The memory size.
18115
18348
  #
18349
+ # * `network-info.efa-info.maximum-efa-interfaces` - The maximum number
18350
+ # of Elastic Fabric Adapters (EFAs) per instance. (`true` \| `false`).
18351
+ #
18116
18352
  # * `network-info.efa-supported` - Indicates whether the instance type
18117
18353
  # supports Elastic Fabric Adapter (EFA) (`true` \| `false`).
18118
18354
  #
@@ -18141,6 +18377,8 @@ module Aws::EC2
18141
18377
  # * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock speed,
18142
18378
  # in GHz.
18143
18379
  #
18380
+ # * `supported-boot-mode` - The boot mode (`legacy-bios` \| `uefi`).
18381
+ #
18144
18382
  # * `supported-root-device-type` - The root device type (`ebs` \|
18145
18383
  # `instance-store`).
18146
18384
  #
@@ -18249,6 +18487,7 @@ module Aws::EC2
18249
18487
  # resp.instance_types[0].network_info.ipv_6_supported #=> Boolean
18250
18488
  # resp.instance_types[0].network_info.ena_support #=> String, one of "unsupported", "supported", "required"
18251
18489
  # resp.instance_types[0].network_info.efa_supported #=> Boolean
18490
+ # resp.instance_types[0].network_info.efa_info.maximum_efa_interfaces #=> Integer
18252
18491
  # resp.instance_types[0].gpu_info.gpus #=> Array
18253
18492
  # resp.instance_types[0].gpu_info.gpus[0].name #=> String
18254
18493
  # resp.instance_types[0].gpu_info.gpus[0].manufacturer #=> String
@@ -18271,6 +18510,8 @@ module Aws::EC2
18271
18510
  # resp.instance_types[0].burstable_performance_supported #=> Boolean
18272
18511
  # resp.instance_types[0].dedicated_hosts_supported #=> Boolean
18273
18512
  # resp.instance_types[0].auto_recovery_supported #=> Boolean
18513
+ # resp.instance_types[0].supported_boot_modes #=> Array
18514
+ # resp.instance_types[0].supported_boot_modes[0] #=> String, one of "legacy-bios", "uefi"
18274
18515
  # resp.next_token #=> String
18275
18516
  #
18276
18517
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceTypes AWS API Documentation
@@ -18502,6 +18743,8 @@ module Aws::EC2
18502
18743
  # * `network-interface.vpc-id` - The ID of the VPC for the network
18503
18744
  # interface.
18504
18745
  #
18746
+ # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
18747
+ #
18505
18748
  # * `owner-id` - The AWS account ID of the instance owner.
18506
18749
  #
18507
18750
  # * `placement-group-name` - The name of the placement group for the
@@ -18810,6 +19053,7 @@ module Aws::EC2
18810
19053
  # resp.reservations[0].instances[0].metadata_options.http_put_response_hop_limit #=> Integer
18811
19054
  # resp.reservations[0].instances[0].metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
18812
19055
  # resp.reservations[0].instances[0].enclave_options.enabled #=> Boolean
19056
+ # resp.reservations[0].instances[0].boot_mode #=> String, one of "legacy-bios", "uefi"
18813
19057
  # resp.reservations[0].owner_id #=> String
18814
19058
  # resp.reservations[0].requester_id #=> String
18815
19059
  # resp.reservations[0].reservation_id #=> String
@@ -21800,6 +22044,83 @@ module Aws::EC2
21800
22044
  req.send_request(options)
21801
22045
  end
21802
22046
 
22047
+ # Describes a root volume replacement task. For more information, see
22048
+ # [Replace a root volume][1] in the *Amazon Elastic Compute Cloud User
22049
+ # Guide*.
22050
+ #
22051
+ #
22052
+ #
22053
+ # [1]: https://docs.aws.amazon.com/
22054
+ #
22055
+ # @option params [Array<String>] :replace_root_volume_task_ids
22056
+ # The ID of the root volume replacement task to view.
22057
+ #
22058
+ # @option params [Array<Types::Filter>] :filters
22059
+ # Filter to use:
22060
+ #
22061
+ # * `instance-id` - The ID of the instance for which the root volume
22062
+ # replacement task was created.
22063
+ #
22064
+ # ^
22065
+ #
22066
+ # @option params [Integer] :max_results
22067
+ # The maximum number of results to return with a single call. To
22068
+ # retrieve the remaining results, make another call with the returned
22069
+ # `nextToken` value.
22070
+ #
22071
+ # @option params [String] :next_token
22072
+ # The token for the next page of results.
22073
+ #
22074
+ # @option params [Boolean] :dry_run
22075
+ # Checks whether you have the required permissions for the action,
22076
+ # without actually making the request, and provides an error response.
22077
+ # If you have the required permissions, the error response is
22078
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
22079
+ #
22080
+ # @return [Types::DescribeReplaceRootVolumeTasksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
22081
+ #
22082
+ # * {Types::DescribeReplaceRootVolumeTasksResult#replace_root_volume_tasks #replace_root_volume_tasks} => Array&lt;Types::ReplaceRootVolumeTask&gt;
22083
+ # * {Types::DescribeReplaceRootVolumeTasksResult#next_token #next_token} => String
22084
+ #
22085
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
22086
+ #
22087
+ # @example Request syntax with placeholder values
22088
+ #
22089
+ # resp = client.describe_replace_root_volume_tasks({
22090
+ # replace_root_volume_task_ids: ["ReplaceRootVolumeTaskId"],
22091
+ # filters: [
22092
+ # {
22093
+ # name: "String",
22094
+ # values: ["String"],
22095
+ # },
22096
+ # ],
22097
+ # max_results: 1,
22098
+ # next_token: "NextToken",
22099
+ # dry_run: false,
22100
+ # })
22101
+ #
22102
+ # @example Response structure
22103
+ #
22104
+ # resp.replace_root_volume_tasks #=> Array
22105
+ # resp.replace_root_volume_tasks[0].replace_root_volume_task_id #=> String
22106
+ # resp.replace_root_volume_tasks[0].instance_id #=> String
22107
+ # resp.replace_root_volume_tasks[0].task_state #=> String, one of "pending", "in-progress", "failing", "succeeded", "failed", "failed-detached"
22108
+ # resp.replace_root_volume_tasks[0].start_time #=> String
22109
+ # resp.replace_root_volume_tasks[0].complete_time #=> String
22110
+ # resp.replace_root_volume_tasks[0].tags #=> Array
22111
+ # resp.replace_root_volume_tasks[0].tags[0].key #=> String
22112
+ # resp.replace_root_volume_tasks[0].tags[0].value #=> String
22113
+ # resp.next_token #=> String
22114
+ #
22115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReplaceRootVolumeTasks AWS API Documentation
22116
+ #
22117
+ # @overload describe_replace_root_volume_tasks(params = {})
22118
+ # @param [Hash] params ({})
22119
+ def describe_replace_root_volume_tasks(params = {}, options = {})
22120
+ req = build_request(:describe_replace_root_volume_tasks, params)
22121
+ req.send_request(options)
22122
+ end
22123
+
21803
22124
  # Describes one or more of the Reserved Instances that you purchased.
21804
22125
  #
21805
22126
  # For more information about Reserved Instances, see [Reserved
@@ -24549,6 +24870,98 @@ module Aws::EC2
24549
24870
  req.send_request(options)
24550
24871
  end
24551
24872
 
24873
+ # Describes the progress of the AMI store tasks. You can describe the
24874
+ # store tasks for specified AMIs. If you don't specify the AMIs, you
24875
+ # get a paginated list of store tasks from the last 31 days.
24876
+ #
24877
+ # For each AMI task, the response indicates if the task is `InProgress`,
24878
+ # `Completed`, or `Failed`. For tasks `InProgress`, the response shows
24879
+ # the estimated progress as a percentage.
24880
+ #
24881
+ # Tasks are listed in reverse chronological order. Currently, only tasks
24882
+ # from the past 31 days can be viewed.
24883
+ #
24884
+ # To use this API, you must have the required permissions. For more
24885
+ # information, see [Permissions for storing and restoring AMIs using
24886
+ # S3][1] in the *Amazon Elastic Compute Cloud User Guide*.
24887
+ #
24888
+ # For more information, see [Store and restore an AMI using S3][2] in
24889
+ # the *Amazon Elastic Compute Cloud User Guide*.
24890
+ #
24891
+ #
24892
+ #
24893
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions
24894
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html
24895
+ #
24896
+ # @option params [Array<String>] :image_ids
24897
+ # The AMI IDs for which to show progress. Up to 20 AMI IDs can be
24898
+ # included in a request.
24899
+ #
24900
+ # @option params [Boolean] :dry_run
24901
+ # Checks whether you have the required permissions for the action,
24902
+ # without actually making the request, and provides an error response.
24903
+ # If you have the required permissions, the error response is
24904
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
24905
+ #
24906
+ # @option params [Array<Types::Filter>] :filters
24907
+ # The filters.
24908
+ #
24909
+ # * `task-state` - Returns tasks in a certain state (`InProgress` \|
24910
+ # `Completed` \| `Failed`)
24911
+ #
24912
+ # * `bucket` - Returns task information for tasks that targeted a
24913
+ # specific bucket. For the filter value, specify the bucket name.
24914
+ #
24915
+ # @option params [String] :next_token
24916
+ # The token for the next page of results.
24917
+ #
24918
+ # @option params [Integer] :max_results
24919
+ # The maximum number of results to return in a single call. To retrieve
24920
+ # the remaining results, make another call with the returned `NextToken`
24921
+ # value. This value can be between 1 and 200. You cannot specify this
24922
+ # parameter and the `ImageIDs` parameter in the same call.
24923
+ #
24924
+ # @return [Types::DescribeStoreImageTasksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
24925
+ #
24926
+ # * {Types::DescribeStoreImageTasksResult#store_image_task_results #store_image_task_results} => Array&lt;Types::StoreImageTaskResult&gt;
24927
+ # * {Types::DescribeStoreImageTasksResult#next_token #next_token} => String
24928
+ #
24929
+ # @example Request syntax with placeholder values
24930
+ #
24931
+ # resp = client.describe_store_image_tasks({
24932
+ # image_ids: ["ImageId"],
24933
+ # dry_run: false,
24934
+ # filters: [
24935
+ # {
24936
+ # name: "String",
24937
+ # values: ["String"],
24938
+ # },
24939
+ # ],
24940
+ # next_token: "String",
24941
+ # max_results: 1,
24942
+ # })
24943
+ #
24944
+ # @example Response structure
24945
+ #
24946
+ # resp.store_image_task_results #=> Array
24947
+ # resp.store_image_task_results[0].ami_id #=> String
24948
+ # resp.store_image_task_results[0].task_start_time #=> Time
24949
+ # resp.store_image_task_results[0].bucket #=> String
24950
+ # resp.store_image_task_results[0].s3object_key #=> String
24951
+ # resp.store_image_task_results[0].progress_percentage #=> Integer
24952
+ # resp.store_image_task_results[0].store_task_state #=> String
24953
+ # resp.store_image_task_results[0].store_task_failure_reason #=> String
24954
+ # resp.next_token #=> String
24955
+ #
24956
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStoreImageTasks AWS API Documentation
24957
+ #
24958
+ # @overload describe_store_image_tasks(params = {})
24959
+ # @param [Hash] params ({})
24960
+ def describe_store_image_tasks(params = {}, options = {})
24961
+ req = build_request(:describe_store_image_tasks, params)
24962
+ req.send_request(options)
24963
+ end
24964
+
24552
24965
  # Describes one or more of your subnets.
24553
24966
  #
24554
24967
  # For more information, see [Your VPC and Subnets][1] in the *Amazon
@@ -24588,6 +25001,8 @@ module Aws::EC2
24588
25001
  # * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
24589
25002
  # block associated with the subnet.
24590
25003
  #
25004
+ # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
25005
+ #
24591
25006
  # * `owner-id` - The ID of the AWS account that owns the subnet.
24592
25007
  #
24593
25008
  # * `state` - The state of the subnet (`pending` \| `available`).
@@ -28183,6 +28598,44 @@ module Aws::EC2
28183
28598
  req.send_request(options)
28184
28599
  end
28185
28600
 
28601
+ # Disables access to the EC2 serial console of all instances for your
28602
+ # account. By default, access to the EC2 serial console is disabled for
28603
+ # your account. For more information, see [Manage account access to the
28604
+ # EC2 serial console][1] in the *Amazon EC2 User Guide*.
28605
+ #
28606
+ #
28607
+ #
28608
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access
28609
+ #
28610
+ # @option params [Boolean] :dry_run
28611
+ # Checks whether you have the required permissions for the action,
28612
+ # without actually making the request, and provides an error response.
28613
+ # If you have the required permissions, the error response is
28614
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
28615
+ #
28616
+ # @return [Types::DisableSerialConsoleAccessResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
28617
+ #
28618
+ # * {Types::DisableSerialConsoleAccessResult#serial_console_access_enabled #serial_console_access_enabled} => Boolean
28619
+ #
28620
+ # @example Request syntax with placeholder values
28621
+ #
28622
+ # resp = client.disable_serial_console_access({
28623
+ # dry_run: false,
28624
+ # })
28625
+ #
28626
+ # @example Response structure
28627
+ #
28628
+ # resp.serial_console_access_enabled #=> Boolean
28629
+ #
28630
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableSerialConsoleAccess AWS API Documentation
28631
+ #
28632
+ # @overload disable_serial_console_access(params = {})
28633
+ # @param [Hash] params ({})
28634
+ def disable_serial_console_access(params = {}, options = {})
28635
+ req = build_request(:disable_serial_console_access, params)
28636
+ req.send_request(options)
28637
+ end
28638
+
28186
28639
  # Disables the specified resource attachment from propagating routes to
28187
28640
  # the specified propagation route table.
28188
28641
  #
@@ -28795,10 +29248,10 @@ module Aws::EC2
28795
29248
  # Region.
28796
29249
  #
28797
29250
  # After you enable encryption by default, the EBS volumes that you
28798
- # create are are always encrypted, either using the default CMK or the
28799
- # CMK that you specified when you created each volume. For more
28800
- # information, see [Amazon EBS encryption][1] in the *Amazon Elastic
28801
- # Compute Cloud User Guide*.
29251
+ # create are always encrypted, either using the default CMK or the CMK
29252
+ # that you specified when you created each volume. For more information,
29253
+ # see [Amazon EBS encryption][1] in the *Amazon Elastic Compute Cloud
29254
+ # User Guide*.
28802
29255
  #
28803
29256
  # You can specify the default CMK for encryption by default using
28804
29257
  # ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.
@@ -28916,6 +29369,44 @@ module Aws::EC2
28916
29369
  req.send_request(options)
28917
29370
  end
28918
29371
 
29372
+ # Enables access to the EC2 serial console of all instances for your
29373
+ # account. By default, access to the EC2 serial console is disabled for
29374
+ # your account. For more information, see [Manage account access to the
29375
+ # EC2 serial console][1] in the *Amazon EC2 User Guide*.
29376
+ #
29377
+ #
29378
+ #
29379
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access
29380
+ #
29381
+ # @option params [Boolean] :dry_run
29382
+ # Checks whether you have the required permissions for the action,
29383
+ # without actually making the request, and provides an error response.
29384
+ # If you have the required permissions, the error response is
29385
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
29386
+ #
29387
+ # @return [Types::EnableSerialConsoleAccessResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
29388
+ #
29389
+ # * {Types::EnableSerialConsoleAccessResult#serial_console_access_enabled #serial_console_access_enabled} => Boolean
29390
+ #
29391
+ # @example Request syntax with placeholder values
29392
+ #
29393
+ # resp = client.enable_serial_console_access({
29394
+ # dry_run: false,
29395
+ # })
29396
+ #
29397
+ # @example Response structure
29398
+ #
29399
+ # resp.serial_console_access_enabled #=> Boolean
29400
+ #
29401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableSerialConsoleAccess AWS API Documentation
29402
+ #
29403
+ # @overload enable_serial_console_access(params = {})
29404
+ # @param [Hash] params ({})
29405
+ def enable_serial_console_access(params = {}, options = {})
29406
+ req = build_request(:enable_serial_console_access, params)
29407
+ req.send_request(options)
29408
+ end
29409
+
28919
29410
  # Enables the specified attachment to propagate routes to the specified
28920
29411
  # propagation route table.
28921
29412
  #
@@ -29899,6 +30390,73 @@ module Aws::EC2
29899
30390
  req.send_request(options)
29900
30391
  end
29901
30392
 
30393
+ # Generates a CloudFormation template that streamlines and automates the
30394
+ # integration of VPC flow logs with Amazon Athena. This make it easier
30395
+ # for you to query and gain insights from VPC flow logs data. Based on
30396
+ # the information that you provide, we configure resources in the
30397
+ # template to do the following:
30398
+ #
30399
+ # * Create a table in Athena that maps fields to a custom log format
30400
+ #
30401
+ # * Create a Lambda function that updates the table with new partitions
30402
+ # on a daily, weekly, or monthly basis
30403
+ #
30404
+ # * Create a table partitioned between two timestamps in the past
30405
+ #
30406
+ # * Create a set of named queries in Athena that you can use to get
30407
+ # started quickly
30408
+ #
30409
+ # @option params [Boolean] :dry_run
30410
+ # Checks whether you have the required permissions for the action,
30411
+ # without actually making the request, and provides an error response.
30412
+ # If you have the required permissions, the error response is
30413
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
30414
+ #
30415
+ # @option params [required, String] :flow_log_id
30416
+ # The ID of the flow log.
30417
+ #
30418
+ # @option params [required, String] :config_delivery_s3_destination_arn
30419
+ # To store the CloudFormation template in Amazon S3, specify the
30420
+ # location in Amazon S3.
30421
+ #
30422
+ # @option params [required, Types::IntegrateServices] :integrate_services
30423
+ # Information about the service integration.
30424
+ #
30425
+ # @return [Types::GetFlowLogsIntegrationTemplateResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
30426
+ #
30427
+ # * {Types::GetFlowLogsIntegrationTemplateResult#result #result} => String
30428
+ #
30429
+ # @example Request syntax with placeholder values
30430
+ #
30431
+ # resp = client.get_flow_logs_integration_template({
30432
+ # dry_run: false,
30433
+ # flow_log_id: "VpcFlowLogId", # required
30434
+ # config_delivery_s3_destination_arn: "String", # required
30435
+ # integrate_services: { # required
30436
+ # athena_integrations: [
30437
+ # {
30438
+ # integration_result_s3_destination_arn: "String", # required
30439
+ # partition_load_frequency: "none", # required, accepts none, daily, weekly, monthly
30440
+ # partition_start_date: Time.now,
30441
+ # partition_end_date: Time.now,
30442
+ # },
30443
+ # ],
30444
+ # },
30445
+ # })
30446
+ #
30447
+ # @example Response structure
30448
+ #
30449
+ # resp.result #=> String
30450
+ #
30451
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetFlowLogsIntegrationTemplate AWS API Documentation
30452
+ #
30453
+ # @overload get_flow_logs_integration_template(params = {})
30454
+ # @param [Hash] params ({})
30455
+ def get_flow_logs_integration_template(params = {}, options = {})
30456
+ req = build_request(:get_flow_logs_integration_template, params)
30457
+ req.send_request(options)
30458
+ end
30459
+
29902
30460
  # Lists the resource groups to which a Capacity Reservation has been
29903
30461
  # added.
29904
30462
  #
@@ -30452,6 +31010,44 @@ module Aws::EC2
30452
31010
  req.send_request(options)
30453
31011
  end
30454
31012
 
31013
+ # Retrieves the access status of your account to the EC2 serial console
31014
+ # of all instances. By default, access to the EC2 serial console is
31015
+ # disabled for your account. For more information, see [Manage account
31016
+ # access to the EC2 serial console][1] in the *Amazon EC2 User Guide*.
31017
+ #
31018
+ #
31019
+ #
31020
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access
31021
+ #
31022
+ # @option params [Boolean] :dry_run
31023
+ # Checks whether you have the required permissions for the action,
31024
+ # without actually making the request, and provides an error response.
31025
+ # If you have the required permissions, the error response is
31026
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
31027
+ #
31028
+ # @return [Types::GetSerialConsoleAccessStatusResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
31029
+ #
31030
+ # * {Types::GetSerialConsoleAccessStatusResult#serial_console_access_enabled #serial_console_access_enabled} => Boolean
31031
+ #
31032
+ # @example Request syntax with placeholder values
31033
+ #
31034
+ # resp = client.get_serial_console_access_status({
31035
+ # dry_run: false,
31036
+ # })
31037
+ #
31038
+ # @example Response structure
31039
+ #
31040
+ # resp.serial_console_access_enabled #=> Boolean
31041
+ #
31042
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSerialConsoleAccessStatus AWS API Documentation
31043
+ #
31044
+ # @overload get_serial_console_access_status(params = {})
31045
+ # @param [Hash] params ({})
31046
+ def get_serial_console_access_status(params = {}, options = {})
31047
+ req = build_request(:get_serial_console_access_status, params)
31048
+ req.send_request(options)
31049
+ end
31050
+
30455
31051
  # Lists the route tables to which the specified resource attachment
30456
31052
  # propagates routes.
30457
31053
  #
@@ -32553,10 +33149,12 @@ module Aws::EC2
32553
33149
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_ChangingAttributesWhileInstanceStopped.html
32554
33150
  #
32555
33151
  # @option params [Types::AttributeBooleanValue] :source_dest_check
32556
- # Specifies whether source/destination checking is enabled. A value of
32557
- # `true` means that checking is enabled, and `false` means that checking
32558
- # is disabled. This value must be `false` for a NAT instance to perform
32559
- # NAT.
33152
+ # Enable or disable source/destination checks, which ensure that the
33153
+ # instance is either the source or the destination of any traffic that
33154
+ # it receives. If the value is `true`, source/destination checks are
33155
+ # enabled; otherwise, they are disabled. The default value is `true`.
33156
+ # You must disable source/destination checks if the instance runs
33157
+ # services such as network address translation, routing, or firewalls.
32560
33158
  #
32561
33159
  # @option params [String] :attribute
32562
33160
  # The name of the attribute.
@@ -34321,7 +34919,8 @@ module Aws::EC2
34321
34919
  # * `io2`\: 100-64,000 IOPS
34322
34920
  #
34323
34921
  # Default: If no IOPS value is specified, the existing value is
34324
- # retained.
34922
+ # retained, unless a volume type is modified that supports different
34923
+ # values.
34325
34924
  #
34326
34925
  # @option params [Integer] :throughput
34327
34926
  # The target throughput of the volume, in MiB/s. This parameter is valid
@@ -36151,6 +36750,14 @@ module Aws::EC2
36151
36750
  #
36152
36751
  # Default: `paravirtual`
36153
36752
  #
36753
+ # @option params [String] :boot_mode
36754
+ # The boot mode of the AMI. For more information, see [Boot modes][1] in
36755
+ # the *Amazon Elastic Compute Cloud User Guide*.
36756
+ #
36757
+ #
36758
+ #
36759
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
36760
+ #
36154
36761
  # @return [Types::RegisterImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
36155
36762
  #
36156
36763
  # * {Types::RegisterImageResult#image_id #image_id} => String
@@ -36188,6 +36795,7 @@ module Aws::EC2
36188
36795
  # root_device_name: "String",
36189
36796
  # sriov_net_support: "String",
36190
36797
  # virtualization_type: "String",
36798
+ # boot_mode: "legacy-bios", # accepts legacy-bios, uefi
36191
36799
  # })
36192
36800
  #
36193
36801
  # @example Response structure
@@ -39564,6 +40172,7 @@ module Aws::EC2
39564
40172
  # resp.instances[0].metadata_options.http_put_response_hop_limit #=> Integer
39565
40173
  # resp.instances[0].metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
39566
40174
  # resp.instances[0].enclave_options.enabled #=> Boolean
40175
+ # resp.instances[0].boot_mode #=> String, one of "legacy-bios", "uefi"
39567
40176
  # resp.owner_id #=> String
39568
40177
  # resp.requester_id #=> String
39569
40178
  # resp.reservation_id #=> String
@@ -40833,12 +41442,12 @@ module Aws::EC2
40833
41442
 
40834
41443
  # Unassigns one or more IPv6 addresses from a network interface.
40835
41444
  #
40836
- # @option params [required, Array<String>] :ipv_6_addresses
40837
- # The IPv6 addresses to unassign from the network interface.
40838
- #
40839
41445
  # @option params [required, String] :network_interface_id
40840
41446
  # The ID of the network interface.
40841
41447
  #
41448
+ # @option params [required, Array<String>] :ipv_6_addresses
41449
+ # The IPv6 addresses to unassign from the network interface.
41450
+ #
40842
41451
  # @return [Types::UnassignIpv6AddressesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
40843
41452
  #
40844
41453
  # * {Types::UnassignIpv6AddressesResult#network_interface_id #network_interface_id} => String
@@ -40847,8 +41456,8 @@ module Aws::EC2
40847
41456
  # @example Request syntax with placeholder values
40848
41457
  #
40849
41458
  # resp = client.unassign_ipv_6_addresses({
40850
- # ipv_6_addresses: ["String"], # required
40851
41459
  # network_interface_id: "NetworkInterfaceId", # required
41460
+ # ipv_6_addresses: ["String"], # required
40852
41461
  # })
40853
41462
  #
40854
41463
  # @example Response structure
@@ -41236,7 +41845,7 @@ module Aws::EC2
41236
41845
  params: params,
41237
41846
  config: config)
41238
41847
  context[:gem_name] = 'aws-sdk-ec2'
41239
- context[:gem_version] = '1.228.0'
41848
+ context[:gem_version] = '1.233.0'
41240
41849
  Seahorse::Client::Request.new(handlers, context)
41241
41850
  end
41242
41851