aws-sdk-ec2 1.627.0 → 1.629.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +214 -14
- data/lib/aws-sdk-ec2/client_api.rb +76 -0
- data/lib/aws-sdk-ec2/image.rb +7 -0
- data/lib/aws-sdk-ec2/resource.rb +27 -0
- data/lib/aws-sdk-ec2/types.rb +311 -3
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +34 -1
- data/sig/image.rbs +3 -0
- data/sig/types.rbs +66 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d0daa7dbc043f3a92ea7543ab66b91b63ded7318f434710d900ce7c047071fc6
|
|
4
|
+
data.tar.gz: 04a8bcde927606fcaea71edd7fce05f5031543a6c718207670628e34f031f6e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 88c9bcabd40adf4f6a566996452a97a1414466ece6c9ca531e3e144d1c645de9e0905ab055a79449f3103844bae94c49cac11c57adac5b91328c31250947c67a
|
|
7
|
+
data.tar.gz: 8a6bcc9f0cd78fe97d8bfddfe1835839129c7741dff49d2399c133430b5e160603d70dc509e2585de4f97275180270e8f93ea3cf5b00705e7261b9598baa8803
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.629.0 (2026-07-07)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This launch surfaces the public SSM parameter associated with public AMIs in the AMI metadata.
|
|
8
|
+
|
|
9
|
+
1.628.0 (2026-07-01)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Use declarative policies to enable VPC Encryption Controls across your organization or select accounts. Added AMD SEV-SNP support for EC2 Dedicated Hosts. Managed resource visibility settings control whether AWS-provisioned resources in your account appear in console views and API list operations.
|
|
13
|
+
|
|
4
14
|
1.627.0 (2026-06-30)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.629.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -1253,6 +1253,9 @@ module Aws::EC2
|
|
|
1253
1253
|
# @option params [String] :availability_zone_id
|
|
1254
1254
|
# The ID of the Availability Zone.
|
|
1255
1255
|
#
|
|
1256
|
+
# @option params [Types::HostCpuOptionsRequest] :cpu_options
|
|
1257
|
+
# The CPU configuration options to apply to the Dedicated Host.
|
|
1258
|
+
#
|
|
1256
1259
|
# @option params [String] :auto_placement
|
|
1257
1260
|
# Indicates whether the host accepts any untargeted instance launches
|
|
1258
1261
|
# that match its instance type configuration, or if it only accepts Host
|
|
@@ -1321,6 +1324,9 @@ module Aws::EC2
|
|
|
1321
1324
|
# host_maintenance: "on", # accepts on, off
|
|
1322
1325
|
# asset_ids: ["AssetId"],
|
|
1323
1326
|
# availability_zone_id: "AvailabilityZoneId",
|
|
1327
|
+
# cpu_options: {
|
|
1328
|
+
# amd_sev_snp: "enabled", # accepts enabled, disabled
|
|
1329
|
+
# },
|
|
1324
1330
|
# auto_placement: "on", # accepts on, off
|
|
1325
1331
|
# client_token: "String",
|
|
1326
1332
|
# instance_type: "String",
|
|
@@ -4376,26 +4382,29 @@ module Aws::EC2
|
|
|
4376
4382
|
#
|
|
4377
4383
|
# * `assessing`
|
|
4378
4384
|
#
|
|
4379
|
-
# * `scheduled`
|
|
4385
|
+
# * `scheduled` — requires a cancellation quote. Use
|
|
4386
|
+
# `CreateCapacityReservationCancellationQuote` to generate a quote,
|
|
4387
|
+
# then pass the quote ID with `ApplyCancellationCharges` set to
|
|
4388
|
+
# `commitment-wind-down`. The cancellation charge depends on how close
|
|
4389
|
+
# the reservation is to its start date.
|
|
4380
4390
|
#
|
|
4381
4391
|
# * `active` and there is no commitment duration or the commitment
|
|
4382
4392
|
# duration has elapsed.
|
|
4383
4393
|
#
|
|
4384
|
-
# * `active` during the commitment duration
|
|
4385
|
-
#
|
|
4386
|
-
#
|
|
4387
|
-
# The Capacity Reservation transitions to
|
|
4388
|
-
# are applied.
|
|
4394
|
+
# * `active` during the commitment duration — requires a cancellation
|
|
4395
|
+
# quote. Use `CreateCapacityReservationCancellationQuote` to generate
|
|
4396
|
+
# a quote, then pass the quote ID with `ApplyCancellationCharges` set
|
|
4397
|
+
# to `commitment-wind-down`. The Capacity Reservation transitions to
|
|
4398
|
+
# `cancelling` while charges are applied.
|
|
4399
|
+
#
|
|
4400
|
+
# * `delayed` — the commitment duration is waived, so no cancellation
|
|
4401
|
+
# charge applies.
|
|
4389
4402
|
#
|
|
4390
4403
|
# <note markdown="1"> You can't modify or cancel a Capacity Block. For more information,
|
|
4391
4404
|
# see [Capacity Blocks for ML][1].
|
|
4392
4405
|
#
|
|
4393
4406
|
# </note>
|
|
4394
4407
|
#
|
|
4395
|
-
# If a future-dated Capacity Reservation enters the `delayed` state, the
|
|
4396
|
-
# commitment duration is waived, and you can cancel it as soon as it
|
|
4397
|
-
# enters the `active` state.
|
|
4398
|
-
#
|
|
4399
4408
|
# Instances running in the reserved capacity continue running until you
|
|
4400
4409
|
# stop them. Stopped instances that target the Capacity Reservation can
|
|
4401
4410
|
# no longer launch. Modify these instances to either target a different
|
|
@@ -13501,8 +13510,8 @@ module Aws::EC2
|
|
|
13501
13510
|
# instances in different partitions, where instances in one partition do
|
|
13502
13511
|
# not share the same hardware with instances in another partition. A
|
|
13503
13512
|
# `precision-time` placement group places instances on supported
|
|
13504
|
-
# hardware with direct access to high-precision time sources in
|
|
13505
|
-
# infrastructure.
|
|
13513
|
+
# hardware with direct access to high-precision time sources in Amazon
|
|
13514
|
+
# Web Services infrastructure.
|
|
13506
13515
|
#
|
|
13507
13516
|
# For more information, see [Placement groups][1] in the *Amazon EC2
|
|
13508
13517
|
# User Guide*.
|
|
@@ -24991,6 +25000,58 @@ module Aws::EC2
|
|
|
24991
25000
|
req.send_request(options)
|
|
24992
25001
|
end
|
|
24993
25002
|
|
|
25003
|
+
# Describes the account-level VPC Encryption Control configuration for
|
|
25004
|
+
# your account. VPC Encryption Control enables you to enforce encryption
|
|
25005
|
+
# for all data in transit within and between VPCs to meet compliance
|
|
25006
|
+
# requirements.
|
|
25007
|
+
#
|
|
25008
|
+
# For more information, see [Enforce VPC encryption in transit][1] in
|
|
25009
|
+
# the *Amazon VPC User Guide*.
|
|
25010
|
+
#
|
|
25011
|
+
#
|
|
25012
|
+
#
|
|
25013
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html
|
|
25014
|
+
#
|
|
25015
|
+
# @option params [Boolean] :dry_run
|
|
25016
|
+
# Checks whether you have the required permissions for the action,
|
|
25017
|
+
# without actually making the request, and provides an error response.
|
|
25018
|
+
# If you have the required permissions, the error response is
|
|
25019
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
25020
|
+
#
|
|
25021
|
+
# @return [Types::DescribeAccountVpcEncryptionControlResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
25022
|
+
#
|
|
25023
|
+
# * {Types::DescribeAccountVpcEncryptionControlResult#account_vpc_encryption_control #account_vpc_encryption_control} => Types::AccountVpcEncryptionControl
|
|
25024
|
+
#
|
|
25025
|
+
# @example Request syntax with placeholder values
|
|
25026
|
+
#
|
|
25027
|
+
# resp = client.describe_account_vpc_encryption_control({
|
|
25028
|
+
# dry_run: false,
|
|
25029
|
+
# })
|
|
25030
|
+
#
|
|
25031
|
+
# @example Response structure
|
|
25032
|
+
#
|
|
25033
|
+
# resp.account_vpc_encryption_control.state #=> String, one of "default-state", "transitions-in-progress", "transitions-partially-successful", "transitions-successful", "transitions-failed"
|
|
25034
|
+
# resp.account_vpc_encryption_control.mode #=> String, one of "unmanaged", "attempt-monitor", "attempt-enforce"
|
|
25035
|
+
# resp.account_vpc_encryption_control.exclusions.internet_gateway #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
25036
|
+
# resp.account_vpc_encryption_control.exclusions.egress_only_internet_gateway #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
25037
|
+
# resp.account_vpc_encryption_control.exclusions.nat_gateway #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
25038
|
+
# resp.account_vpc_encryption_control.exclusions.virtual_private_gateway #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
25039
|
+
# resp.account_vpc_encryption_control.exclusions.vpc_peering #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
25040
|
+
# resp.account_vpc_encryption_control.exclusions.lambda #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
25041
|
+
# resp.account_vpc_encryption_control.exclusions.vpc_lattice #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
25042
|
+
# resp.account_vpc_encryption_control.exclusions.elastic_file_system #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
25043
|
+
# resp.account_vpc_encryption_control.managed_by #=> String, one of "account", "declarative-policy"
|
|
25044
|
+
# resp.account_vpc_encryption_control.last_update_timestamp #=> Time
|
|
25045
|
+
#
|
|
25046
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAccountVpcEncryptionControl AWS API Documentation
|
|
25047
|
+
#
|
|
25048
|
+
# @overload describe_account_vpc_encryption_control(params = {})
|
|
25049
|
+
# @param [Hash] params ({})
|
|
25050
|
+
def describe_account_vpc_encryption_control(params = {}, options = {})
|
|
25051
|
+
req = build_request(:describe_account_vpc_encryption_control, params)
|
|
25052
|
+
req.send_request(options)
|
|
25053
|
+
end
|
|
25054
|
+
|
|
24994
25055
|
# Describes an Elastic IP address transfer. For more information, see
|
|
24995
25056
|
# [Transfer Elastic IP addresses][1] in the *Amazon VPC User Guide*.
|
|
24996
25057
|
#
|
|
@@ -29449,7 +29510,7 @@ module Aws::EC2
|
|
|
29449
29510
|
# resp.hosts[0].instances[0].instance_id #=> String
|
|
29450
29511
|
# resp.hosts[0].instances[0].instance_type #=> String
|
|
29451
29512
|
# resp.hosts[0].instances[0].owner_id #=> String
|
|
29452
|
-
# resp.hosts[0].state #=> String, one of "available", "under-assessment", "permanent-failure", "released", "released-permanent-failure", "pending"
|
|
29513
|
+
# resp.hosts[0].state #=> String, one of "available", "under-assessment", "permanent-failure", "released", "released-permanent-failure", "pending", "configuring"
|
|
29453
29514
|
# resp.hosts[0].allocation_time #=> Time
|
|
29454
29515
|
# resp.hosts[0].release_time #=> Time
|
|
29455
29516
|
# resp.hosts[0].tags #=> Array
|
|
@@ -29463,6 +29524,7 @@ module Aws::EC2
|
|
|
29463
29524
|
# resp.hosts[0].outpost_arn #=> String
|
|
29464
29525
|
# resp.hosts[0].host_maintenance #=> String, one of "on", "off"
|
|
29465
29526
|
# resp.hosts[0].asset_id #=> String
|
|
29527
|
+
# resp.hosts[0].cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
|
|
29466
29528
|
# resp.next_token #=> String
|
|
29467
29529
|
#
|
|
29468
29530
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHosts AWS API Documentation
|
|
@@ -30281,6 +30343,27 @@ module Aws::EC2
|
|
|
30281
30343
|
#
|
|
30282
30344
|
# * `image-id` - The ID of the image.
|
|
30283
30345
|
#
|
|
30346
|
+
# * `image-watermark.source-image-creation-time` - The creation date of
|
|
30347
|
+
# the source AMI, in the ISO 8601 format in the UTC time zone (`
|
|
30348
|
+
# YYYY-MM-DDTHH:MM:SS.ssssss+HH:MM `). You can use a wildcard (`*`),
|
|
30349
|
+
# for example, `2021-09-29T*`, which matches an entire day.
|
|
30350
|
+
#
|
|
30351
|
+
# * `image-watermark.source-image-id` - The ID of the AMI to which the
|
|
30352
|
+
# watermark was originally attached.
|
|
30353
|
+
#
|
|
30354
|
+
# * `image-watermark.source-image-region` - The Region where the
|
|
30355
|
+
# watermark was originally attached.
|
|
30356
|
+
#
|
|
30357
|
+
# * `image-watermark.watermark-creation-time` - The date and time the
|
|
30358
|
+
# watermark was attached to the AMI, in the ISO 8601 format in the UTC
|
|
30359
|
+
# time zone (` YYYY-MM-DDTHH:MM:SS.ssssss+HH:MM `). You can use a
|
|
30360
|
+
# wildcard (`*`), for example, `2021-09-29T*`, which matches an entire
|
|
30361
|
+
# day.
|
|
30362
|
+
#
|
|
30363
|
+
# * `image-watermark.watermark-key` - The watermark identifier, in
|
|
30364
|
+
# `accountId:watermarkName` format (for example,
|
|
30365
|
+
# `123456789012:approvedAmi`).
|
|
30366
|
+
#
|
|
30284
30367
|
# * `image-type` - The image type (`machine` \| `kernel` \| `ramdisk`).
|
|
30285
30368
|
#
|
|
30286
30369
|
# * `is-public` - A Boolean that indicates whether the image is public.
|
|
@@ -30307,6 +30390,12 @@ module Aws::EC2
|
|
|
30307
30390
|
#
|
|
30308
30391
|
# * `product-code.type` - The type of the product code (`marketplace`).
|
|
30309
30392
|
#
|
|
30393
|
+
# * `public-ssm-parameter-name` - The name of a public Systems Manager
|
|
30394
|
+
# parameter associated with the AMI. The parameter must be in a
|
|
30395
|
+
# trusted Amazon Web Services namespace under `aws/service/`. Returns
|
|
30396
|
+
# all AMIs that have ever been associated with the parameter,
|
|
30397
|
+
# including previous versions.
|
|
30398
|
+
#
|
|
30310
30399
|
# * `ramdisk-id` - The RAM disk ID.
|
|
30311
30400
|
#
|
|
30312
30401
|
# * `root-device-name` - The device name of the root device volume (for
|
|
@@ -30469,6 +30558,7 @@ module Aws::EC2
|
|
|
30469
30558
|
# resp.images[0].source_image_id #=> String
|
|
30470
30559
|
# resp.images[0].source_image_region #=> String
|
|
30471
30560
|
# resp.images[0].free_tier_eligible #=> Boolean
|
|
30561
|
+
# resp.images[0].public_ssm_parameter_name #=> String
|
|
30472
30562
|
# resp.images[0].image_watermarks #=> Array
|
|
30473
30563
|
# resp.images[0].image_watermarks[0].watermark_key #=> String
|
|
30474
30564
|
# resp.images[0].image_watermarks[0].source_image_region #=> String
|
|
@@ -45803,6 +45893,12 @@ module Aws::EC2
|
|
|
45803
45893
|
#
|
|
45804
45894
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
|
45805
45895
|
#
|
|
45896
|
+
# @option params [Boolean] :include_managed_resources
|
|
45897
|
+
# Indicates whether to include managed resources in the output. If this
|
|
45898
|
+
# parameter is set to `true`, the output includes resources that are
|
|
45899
|
+
# managed by Amazon Web Services services, even if managed resource
|
|
45900
|
+
# visibility is set to hidden.
|
|
45901
|
+
#
|
|
45806
45902
|
# @return [Types::DescribeVolumesModificationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
45807
45903
|
#
|
|
45808
45904
|
# * {Types::DescribeVolumesModificationsResult#next_token #next_token} => String
|
|
@@ -45823,6 +45919,7 @@ module Aws::EC2
|
|
|
45823
45919
|
# ],
|
|
45824
45920
|
# next_token: "String",
|
|
45825
45921
|
# max_results: 1,
|
|
45922
|
+
# include_managed_resources: false,
|
|
45826
45923
|
# })
|
|
45827
45924
|
#
|
|
45828
45925
|
# @example Response structure
|
|
@@ -45845,6 +45942,9 @@ module Aws::EC2
|
|
|
45845
45942
|
# resp.volumes_modifications[0].progress #=> Integer
|
|
45846
45943
|
# resp.volumes_modifications[0].start_time #=> Time
|
|
45847
45944
|
# resp.volumes_modifications[0].end_time #=> Time
|
|
45945
|
+
# resp.volumes_modifications[0].operator.managed #=> Boolean
|
|
45946
|
+
# resp.volumes_modifications[0].operator.principal #=> String
|
|
45947
|
+
# resp.volumes_modifications[0].operator.hidden_by_default #=> Boolean
|
|
45848
45948
|
#
|
|
45849
45949
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModifications AWS API Documentation
|
|
45850
45950
|
#
|
|
@@ -58180,6 +58280,103 @@ module Aws::EC2
|
|
|
58180
58280
|
req.send_request(options)
|
|
58181
58281
|
end
|
|
58182
58282
|
|
|
58283
|
+
# Modifies the account-level VPC Encryption Control configuration. This
|
|
58284
|
+
# sets the encryption control mode and resource exclusions that apply to
|
|
58285
|
+
# the VPCs in your account. VPC Encryption Control enables you to
|
|
58286
|
+
# enforce encryption for all data in transit within and between VPCs to
|
|
58287
|
+
# meet compliance requirements.
|
|
58288
|
+
#
|
|
58289
|
+
# For more information, see [Enforce VPC encryption in transit][1] in
|
|
58290
|
+
# the *Amazon VPC User Guide*.
|
|
58291
|
+
#
|
|
58292
|
+
#
|
|
58293
|
+
#
|
|
58294
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html
|
|
58295
|
+
#
|
|
58296
|
+
# @option params [Boolean] :dry_run
|
|
58297
|
+
# Checks whether you have the required permissions for the action,
|
|
58298
|
+
# without actually making the request, and provides an error response.
|
|
58299
|
+
# If you have the required permissions, the error response is
|
|
58300
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
58301
|
+
#
|
|
58302
|
+
# @option params [String] :mode
|
|
58303
|
+
# The encryption mode for the account encryption control configuration.
|
|
58304
|
+
#
|
|
58305
|
+
# @option params [String] :internet_gateway
|
|
58306
|
+
# Specifies whether to exclude internet gateway resource from
|
|
58307
|
+
# account-level encryption enforcement.
|
|
58308
|
+
#
|
|
58309
|
+
# @option params [String] :egress_only_internet_gateway
|
|
58310
|
+
# Specifies whether to exclude egress-only internet gateway resource
|
|
58311
|
+
# from account-level encryption enforcement.
|
|
58312
|
+
#
|
|
58313
|
+
# @option params [String] :nat_gateway
|
|
58314
|
+
# Specifies whether to exclude NAT gateway resource from account-level
|
|
58315
|
+
# encryption enforcement.
|
|
58316
|
+
#
|
|
58317
|
+
# @option params [String] :virtual_private_gateway
|
|
58318
|
+
# Specifies whether to exclude virtual private gateway resource from
|
|
58319
|
+
# account-level encryption enforcement.
|
|
58320
|
+
#
|
|
58321
|
+
# @option params [String] :vpc_peering
|
|
58322
|
+
# Specifies whether to exclude VPC peering connection resource from
|
|
58323
|
+
# account-level encryption enforcement.
|
|
58324
|
+
#
|
|
58325
|
+
# @option params [String] :lambda
|
|
58326
|
+
# Specifies whether to exclude Lambda service from account-level
|
|
58327
|
+
# encryption enforcement.
|
|
58328
|
+
#
|
|
58329
|
+
# @option params [String] :vpc_lattice
|
|
58330
|
+
# Specifies whether to exclude VPC Lattice service from account-level
|
|
58331
|
+
# encryption enforcement.
|
|
58332
|
+
#
|
|
58333
|
+
# @option params [String] :elastic_file_system
|
|
58334
|
+
# Specifies whether to exclude Elastic File System service from
|
|
58335
|
+
# account-level encryption enforcement.
|
|
58336
|
+
#
|
|
58337
|
+
# @return [Types::ModifyAccountVpcEncryptionControlResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
58338
|
+
#
|
|
58339
|
+
# * {Types::ModifyAccountVpcEncryptionControlResult#account_vpc_encryption_control #account_vpc_encryption_control} => Types::AccountVpcEncryptionControl
|
|
58340
|
+
#
|
|
58341
|
+
# @example Request syntax with placeholder values
|
|
58342
|
+
#
|
|
58343
|
+
# resp = client.modify_account_vpc_encryption_control({
|
|
58344
|
+
# dry_run: false,
|
|
58345
|
+
# mode: "unmanaged", # accepts unmanaged, attempt-monitor, attempt-enforce
|
|
58346
|
+
# internet_gateway: "enable", # accepts enable, disable
|
|
58347
|
+
# egress_only_internet_gateway: "enable", # accepts enable, disable
|
|
58348
|
+
# nat_gateway: "enable", # accepts enable, disable
|
|
58349
|
+
# virtual_private_gateway: "enable", # accepts enable, disable
|
|
58350
|
+
# vpc_peering: "enable", # accepts enable, disable
|
|
58351
|
+
# lambda: "enable", # accepts enable, disable
|
|
58352
|
+
# vpc_lattice: "enable", # accepts enable, disable
|
|
58353
|
+
# elastic_file_system: "enable", # accepts enable, disable
|
|
58354
|
+
# })
|
|
58355
|
+
#
|
|
58356
|
+
# @example Response structure
|
|
58357
|
+
#
|
|
58358
|
+
# resp.account_vpc_encryption_control.state #=> String, one of "default-state", "transitions-in-progress", "transitions-partially-successful", "transitions-successful", "transitions-failed"
|
|
58359
|
+
# resp.account_vpc_encryption_control.mode #=> String, one of "unmanaged", "attempt-monitor", "attempt-enforce"
|
|
58360
|
+
# resp.account_vpc_encryption_control.exclusions.internet_gateway #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
58361
|
+
# resp.account_vpc_encryption_control.exclusions.egress_only_internet_gateway #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
58362
|
+
# resp.account_vpc_encryption_control.exclusions.nat_gateway #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
58363
|
+
# resp.account_vpc_encryption_control.exclusions.virtual_private_gateway #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
58364
|
+
# resp.account_vpc_encryption_control.exclusions.vpc_peering #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
58365
|
+
# resp.account_vpc_encryption_control.exclusions.lambda #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
58366
|
+
# resp.account_vpc_encryption_control.exclusions.vpc_lattice #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
58367
|
+
# resp.account_vpc_encryption_control.exclusions.elastic_file_system #=> String, one of "enabling", "enabled", "disabling", "disabled"
|
|
58368
|
+
# resp.account_vpc_encryption_control.managed_by #=> String, one of "account", "declarative-policy"
|
|
58369
|
+
# resp.account_vpc_encryption_control.last_update_timestamp #=> Time
|
|
58370
|
+
#
|
|
58371
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAccountVpcEncryptionControl AWS API Documentation
|
|
58372
|
+
#
|
|
58373
|
+
# @overload modify_account_vpc_encryption_control(params = {})
|
|
58374
|
+
# @param [Hash] params ({})
|
|
58375
|
+
def modify_account_vpc_encryption_control(params = {}, options = {})
|
|
58376
|
+
req = build_request(:modify_account_vpc_encryption_control, params)
|
|
58377
|
+
req.send_request(options)
|
|
58378
|
+
end
|
|
58379
|
+
|
|
58183
58380
|
# Modifies an attribute of the specified Elastic IP address. For
|
|
58184
58381
|
# requirements, see [Using reverse DNS for email applications][1].
|
|
58185
58382
|
#
|
|
@@ -64102,6 +64299,9 @@ module Aws::EC2
|
|
|
64102
64299
|
# resp.volume_modification.progress #=> Integer
|
|
64103
64300
|
# resp.volume_modification.start_time #=> Time
|
|
64104
64301
|
# resp.volume_modification.end_time #=> Time
|
|
64302
|
+
# resp.volume_modification.operator.managed #=> Boolean
|
|
64303
|
+
# resp.volume_modification.operator.principal #=> String
|
|
64304
|
+
# resp.volume_modification.operator.hidden_by_default #=> Boolean
|
|
64105
64305
|
#
|
|
64106
64306
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolume AWS API Documentation
|
|
64107
64307
|
#
|
|
@@ -74175,7 +74375,7 @@ module Aws::EC2
|
|
|
74175
74375
|
tracer: tracer
|
|
74176
74376
|
)
|
|
74177
74377
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
74178
|
-
context[:gem_version] = '1.
|
|
74378
|
+
context[:gem_version] = '1.629.0'
|
|
74179
74379
|
Seahorse::Client::Request.new(handlers, context)
|
|
74180
74380
|
end
|
|
74181
74381
|
|
|
@@ -55,6 +55,10 @@ module Aws::EC2
|
|
|
55
55
|
AccountAttributeValue = Shapes::StructureShape.new(name: 'AccountAttributeValue')
|
|
56
56
|
AccountAttributeValueList = Shapes::ListShape.new(name: 'AccountAttributeValueList')
|
|
57
57
|
AccountID = Shapes::StringShape.new(name: 'AccountID')
|
|
58
|
+
AccountVpcEncryptionControl = Shapes::StructureShape.new(name: 'AccountVpcEncryptionControl')
|
|
59
|
+
AccountVpcEncryptionControlExclusions = Shapes::StructureShape.new(name: 'AccountVpcEncryptionControlExclusions')
|
|
60
|
+
AccountVpcEncryptionControlMode = Shapes::StringShape.new(name: 'AccountVpcEncryptionControlMode')
|
|
61
|
+
AccountVpcEncryptionControlState = Shapes::StringShape.new(name: 'AccountVpcEncryptionControlState')
|
|
58
62
|
ActiveInstance = Shapes::StructureShape.new(name: 'ActiveInstance')
|
|
59
63
|
ActiveInstanceSet = Shapes::ListShape.new(name: 'ActiveInstanceSet')
|
|
60
64
|
ActiveVpnTunnelStatus = Shapes::StructureShape.new(name: 'ActiveVpnTunnelStatus')
|
|
@@ -104,6 +108,7 @@ module Aws::EC2
|
|
|
104
108
|
AllowsMultipleInstanceTypes = Shapes::StringShape.new(name: 'AllowsMultipleInstanceTypes')
|
|
105
109
|
AlternatePathHint = Shapes::StructureShape.new(name: 'AlternatePathHint')
|
|
106
110
|
AlternatePathHintList = Shapes::ListShape.new(name: 'AlternatePathHintList')
|
|
111
|
+
AmdSevSnp = Shapes::StringShape.new(name: 'AmdSevSnp')
|
|
107
112
|
AmdSevSnpSpecification = Shapes::StringShape.new(name: 'AmdSevSnpSpecification')
|
|
108
113
|
AnalysisAclRule = Shapes::StructureShape.new(name: 'AnalysisAclRule')
|
|
109
114
|
AnalysisComponent = Shapes::StructureShape.new(name: 'AnalysisComponent')
|
|
@@ -980,6 +985,8 @@ module Aws::EC2
|
|
|
980
985
|
DeregisterTransitGatewayMulticastGroupSourcesResult = Shapes::StructureShape.new(name: 'DeregisterTransitGatewayMulticastGroupSourcesResult')
|
|
981
986
|
DescribeAccountAttributesRequest = Shapes::StructureShape.new(name: 'DescribeAccountAttributesRequest')
|
|
982
987
|
DescribeAccountAttributesResult = Shapes::StructureShape.new(name: 'DescribeAccountAttributesResult')
|
|
988
|
+
DescribeAccountVpcEncryptionControlRequest = Shapes::StructureShape.new(name: 'DescribeAccountVpcEncryptionControlRequest')
|
|
989
|
+
DescribeAccountVpcEncryptionControlResult = Shapes::StructureShape.new(name: 'DescribeAccountVpcEncryptionControlResult')
|
|
983
990
|
DescribeAddressTransfersMaxResults = Shapes::IntegerShape.new(name: 'DescribeAddressTransfersMaxResults')
|
|
984
991
|
DescribeAddressTransfersRequest = Shapes::StructureShape.new(name: 'DescribeAddressTransfersRequest')
|
|
985
992
|
DescribeAddressTransfersResult = Shapes::StructureShape.new(name: 'DescribeAddressTransfersResult')
|
|
@@ -1983,6 +1990,8 @@ module Aws::EC2
|
|
|
1983
1990
|
HistoryRecordSet = Shapes::ListShape.new(name: 'HistoryRecordSet')
|
|
1984
1991
|
HistoryRecords = Shapes::ListShape.new(name: 'HistoryRecords')
|
|
1985
1992
|
Host = Shapes::StructureShape.new(name: 'Host')
|
|
1993
|
+
HostCpuOptions = Shapes::StructureShape.new(name: 'HostCpuOptions')
|
|
1994
|
+
HostCpuOptionsRequest = Shapes::StructureShape.new(name: 'HostCpuOptionsRequest')
|
|
1986
1995
|
HostInstance = Shapes::StructureShape.new(name: 'HostInstance')
|
|
1987
1996
|
HostInstanceList = Shapes::ListShape.new(name: 'HostInstanceList')
|
|
1988
1997
|
HostList = Shapes::ListShape.new(name: 'HostList')
|
|
@@ -2668,6 +2677,8 @@ module Aws::EC2
|
|
|
2668
2677
|
MetricValue = Shapes::StructureShape.new(name: 'MetricValue')
|
|
2669
2678
|
MetricValueSet = Shapes::ListShape.new(name: 'MetricValueSet')
|
|
2670
2679
|
MillisecondDateTime = Shapes::TimestampShape.new(name: 'MillisecondDateTime')
|
|
2680
|
+
ModifyAccountVpcEncryptionControlRequest = Shapes::StructureShape.new(name: 'ModifyAccountVpcEncryptionControlRequest')
|
|
2681
|
+
ModifyAccountVpcEncryptionControlResult = Shapes::StructureShape.new(name: 'ModifyAccountVpcEncryptionControlResult')
|
|
2671
2682
|
ModifyAddressAttributeRequest = Shapes::StructureShape.new(name: 'ModifyAddressAttributeRequest')
|
|
2672
2683
|
ModifyAddressAttributeResult = Shapes::StructureShape.new(name: 'ModifyAddressAttributeResult')
|
|
2673
2684
|
ModifyAvailabilityZoneGroupRequest = Shapes::StructureShape.new(name: 'ModifyAvailabilityZoneGroupRequest')
|
|
@@ -4194,6 +4205,23 @@ module Aws::EC2
|
|
|
4194
4205
|
|
|
4195
4206
|
AccountAttributeValueList.member = Shapes::ShapeRef.new(shape: AccountAttributeValue, location_name: "item")
|
|
4196
4207
|
|
|
4208
|
+
AccountVpcEncryptionControl.add_member(:state, Shapes::ShapeRef.new(shape: AccountVpcEncryptionControlState, location_name: "state"))
|
|
4209
|
+
AccountVpcEncryptionControl.add_member(:mode, Shapes::ShapeRef.new(shape: AccountVpcEncryptionControlMode, location_name: "mode"))
|
|
4210
|
+
AccountVpcEncryptionControl.add_member(:exclusions, Shapes::ShapeRef.new(shape: AccountVpcEncryptionControlExclusions, location_name: "exclusions"))
|
|
4211
|
+
AccountVpcEncryptionControl.add_member(:managed_by, Shapes::ShapeRef.new(shape: ManagedBy, location_name: "managedBy"))
|
|
4212
|
+
AccountVpcEncryptionControl.add_member(:last_update_timestamp, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "lastUpdateTimestamp"))
|
|
4213
|
+
AccountVpcEncryptionControl.struct_class = Types::AccountVpcEncryptionControl
|
|
4214
|
+
|
|
4215
|
+
AccountVpcEncryptionControlExclusions.add_member(:internet_gateway, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionState, location_name: "internetGateway"))
|
|
4216
|
+
AccountVpcEncryptionControlExclusions.add_member(:egress_only_internet_gateway, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionState, location_name: "egressOnlyInternetGateway"))
|
|
4217
|
+
AccountVpcEncryptionControlExclusions.add_member(:nat_gateway, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionState, location_name: "natGateway"))
|
|
4218
|
+
AccountVpcEncryptionControlExclusions.add_member(:virtual_private_gateway, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionState, location_name: "virtualPrivateGateway"))
|
|
4219
|
+
AccountVpcEncryptionControlExclusions.add_member(:vpc_peering, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionState, location_name: "vpcPeering"))
|
|
4220
|
+
AccountVpcEncryptionControlExclusions.add_member(:lambda, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionState, location_name: "lambda"))
|
|
4221
|
+
AccountVpcEncryptionControlExclusions.add_member(:vpc_lattice, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionState, location_name: "vpcLattice"))
|
|
4222
|
+
AccountVpcEncryptionControlExclusions.add_member(:elastic_file_system, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionState, location_name: "elasticFileSystem"))
|
|
4223
|
+
AccountVpcEncryptionControlExclusions.struct_class = Types::AccountVpcEncryptionControlExclusions
|
|
4224
|
+
|
|
4197
4225
|
ActiveInstance.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
|
4198
4226
|
ActiveInstance.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
|
4199
4227
|
ActiveInstance.add_member(:spot_instance_request_id, Shapes::ShapeRef.new(shape: String, location_name: "spotInstanceRequestId"))
|
|
@@ -4323,6 +4351,7 @@ module Aws::EC2
|
|
|
4323
4351
|
AllocateHostsRequest.add_member(:host_maintenance, Shapes::ShapeRef.new(shape: HostMaintenance, location_name: "HostMaintenance"))
|
|
4324
4352
|
AllocateHostsRequest.add_member(:asset_ids, Shapes::ShapeRef.new(shape: AssetIdList, location_name: "AssetId"))
|
|
4325
4353
|
AllocateHostsRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
|
4354
|
+
AllocateHostsRequest.add_member(:cpu_options, Shapes::ShapeRef.new(shape: HostCpuOptionsRequest, location_name: "CpuOptions"))
|
|
4326
4355
|
AllocateHostsRequest.add_member(:auto_placement, Shapes::ShapeRef.new(shape: AutoPlacement, location_name: "autoPlacement"))
|
|
4327
4356
|
AllocateHostsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
|
4328
4357
|
AllocateHostsRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
|
@@ -7999,6 +8028,12 @@ module Aws::EC2
|
|
|
7999
8028
|
DescribeAccountAttributesResult.add_member(:account_attributes, Shapes::ShapeRef.new(shape: AccountAttributeList, location_name: "accountAttributeSet"))
|
|
8000
8029
|
DescribeAccountAttributesResult.struct_class = Types::DescribeAccountAttributesResult
|
|
8001
8030
|
|
|
8031
|
+
DescribeAccountVpcEncryptionControlRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
8032
|
+
DescribeAccountVpcEncryptionControlRequest.struct_class = Types::DescribeAccountVpcEncryptionControlRequest
|
|
8033
|
+
|
|
8034
|
+
DescribeAccountVpcEncryptionControlResult.add_member(:account_vpc_encryption_control, Shapes::ShapeRef.new(shape: AccountVpcEncryptionControl, location_name: "accountVpcEncryptionControl"))
|
|
8035
|
+
DescribeAccountVpcEncryptionControlResult.struct_class = Types::DescribeAccountVpcEncryptionControlResult
|
|
8036
|
+
|
|
8002
8037
|
DescribeAddressTransfersRequest.add_member(:allocation_ids, Shapes::ShapeRef.new(shape: AllocationIdList, location_name: "AllocationId"))
|
|
8003
8038
|
DescribeAddressTransfersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
|
8004
8039
|
DescribeAddressTransfersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeAddressTransfersMaxResults, location_name: "MaxResults"))
|
|
@@ -9874,6 +9909,7 @@ module Aws::EC2
|
|
|
9874
9909
|
DescribeVolumesModificationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
|
9875
9910
|
DescribeVolumesModificationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
|
9876
9911
|
DescribeVolumesModificationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
|
|
9912
|
+
DescribeVolumesModificationsRequest.add_member(:include_managed_resources, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeManagedResources"))
|
|
9877
9913
|
DescribeVolumesModificationsRequest.struct_class = Types::DescribeVolumesModificationsRequest
|
|
9878
9914
|
|
|
9879
9915
|
DescribeVolumesModificationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
@@ -12202,8 +12238,15 @@ module Aws::EC2
|
|
|
12202
12238
|
Host.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
|
12203
12239
|
Host.add_member(:host_maintenance, Shapes::ShapeRef.new(shape: HostMaintenance, location_name: "hostMaintenance"))
|
|
12204
12240
|
Host.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, location_name: "assetId"))
|
|
12241
|
+
Host.add_member(:cpu_options, Shapes::ShapeRef.new(shape: HostCpuOptions, location_name: "cpuOptions"))
|
|
12205
12242
|
Host.struct_class = Types::Host
|
|
12206
12243
|
|
|
12244
|
+
HostCpuOptions.add_member(:amd_sev_snp, Shapes::ShapeRef.new(shape: AmdSevSnp, location_name: "amdSevSnp"))
|
|
12245
|
+
HostCpuOptions.struct_class = Types::HostCpuOptions
|
|
12246
|
+
|
|
12247
|
+
HostCpuOptionsRequest.add_member(:amd_sev_snp, Shapes::ShapeRef.new(shape: AmdSevSnp, location_name: "AmdSevSnp"))
|
|
12248
|
+
HostCpuOptionsRequest.struct_class = Types::HostCpuOptionsRequest
|
|
12249
|
+
|
|
12207
12250
|
HostInstance.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
|
12208
12251
|
HostInstance.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
|
12209
12252
|
HostInstance.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
|
@@ -12314,6 +12357,7 @@ module Aws::EC2
|
|
|
12314
12357
|
Image.add_member(:source_image_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceImageId"))
|
|
12315
12358
|
Image.add_member(:source_image_region, Shapes::ShapeRef.new(shape: String, location_name: "sourceImageRegion"))
|
|
12316
12359
|
Image.add_member(:free_tier_eligible, Shapes::ShapeRef.new(shape: Boolean, location_name: "freeTierEligible"))
|
|
12360
|
+
Image.add_member(:public_ssm_parameter_name, Shapes::ShapeRef.new(shape: String, location_name: "publicSsmParameterName"))
|
|
12317
12361
|
Image.add_member(:image_watermarks, Shapes::ShapeRef.new(shape: ImageWatermarkList, location_name: "imageWatermarkSet"))
|
|
12318
12362
|
Image.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
|
12319
12363
|
Image.add_member(:image_location, Shapes::ShapeRef.new(shape: String, location_name: "imageLocation"))
|
|
@@ -14539,6 +14583,21 @@ module Aws::EC2
|
|
|
14539
14583
|
|
|
14540
14584
|
MetricValueSet.member = Shapes::ShapeRef.new(shape: MetricValue, location_name: "item")
|
|
14541
14585
|
|
|
14586
|
+
ModifyAccountVpcEncryptionControlRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
14587
|
+
ModifyAccountVpcEncryptionControlRequest.add_member(:mode, Shapes::ShapeRef.new(shape: AccountVpcEncryptionControlMode, location_name: "Mode"))
|
|
14588
|
+
ModifyAccountVpcEncryptionControlRequest.add_member(:internet_gateway, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionStateInput, location_name: "InternetGateway"))
|
|
14589
|
+
ModifyAccountVpcEncryptionControlRequest.add_member(:egress_only_internet_gateway, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionStateInput, location_name: "EgressOnlyInternetGateway"))
|
|
14590
|
+
ModifyAccountVpcEncryptionControlRequest.add_member(:nat_gateway, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionStateInput, location_name: "NatGateway"))
|
|
14591
|
+
ModifyAccountVpcEncryptionControlRequest.add_member(:virtual_private_gateway, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionStateInput, location_name: "VirtualPrivateGateway"))
|
|
14592
|
+
ModifyAccountVpcEncryptionControlRequest.add_member(:vpc_peering, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionStateInput, location_name: "VpcPeering"))
|
|
14593
|
+
ModifyAccountVpcEncryptionControlRequest.add_member(:lambda, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionStateInput, location_name: "Lambda"))
|
|
14594
|
+
ModifyAccountVpcEncryptionControlRequest.add_member(:vpc_lattice, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionStateInput, location_name: "VpcLattice"))
|
|
14595
|
+
ModifyAccountVpcEncryptionControlRequest.add_member(:elastic_file_system, Shapes::ShapeRef.new(shape: VpcEncryptionControlExclusionStateInput, location_name: "ElasticFileSystem"))
|
|
14596
|
+
ModifyAccountVpcEncryptionControlRequest.struct_class = Types::ModifyAccountVpcEncryptionControlRequest
|
|
14597
|
+
|
|
14598
|
+
ModifyAccountVpcEncryptionControlResult.add_member(:account_vpc_encryption_control, Shapes::ShapeRef.new(shape: AccountVpcEncryptionControl, location_name: "accountVpcEncryptionControl"))
|
|
14599
|
+
ModifyAccountVpcEncryptionControlResult.struct_class = Types::ModifyAccountVpcEncryptionControlResult
|
|
14600
|
+
|
|
14542
14601
|
ModifyAddressAttributeRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
|
14543
14602
|
ModifyAddressAttributeRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainName"))
|
|
14544
14603
|
ModifyAddressAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
@@ -19476,6 +19535,7 @@ module Aws::EC2
|
|
|
19476
19535
|
VolumeModification.add_member(:progress, Shapes::ShapeRef.new(shape: Long, location_name: "progress"))
|
|
19477
19536
|
VolumeModification.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "startTime"))
|
|
19478
19537
|
VolumeModification.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "endTime"))
|
|
19538
|
+
VolumeModification.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
|
|
19479
19539
|
VolumeModification.struct_class = Types::VolumeModification
|
|
19480
19540
|
|
|
19481
19541
|
VolumeModificationList.member = Shapes::ShapeRef.new(shape: VolumeModification, location_name: "item")
|
|
@@ -22090,6 +22150,14 @@ module Aws::EC2
|
|
|
22090
22150
|
o.output = Shapes::ShapeRef.new(shape: DescribeAccountAttributesResult)
|
|
22091
22151
|
end)
|
|
22092
22152
|
|
|
22153
|
+
api.add_operation(:describe_account_vpc_encryption_control, Seahorse::Model::Operation.new.tap do |o|
|
|
22154
|
+
o.name = "DescribeAccountVpcEncryptionControl"
|
|
22155
|
+
o.http_method = "POST"
|
|
22156
|
+
o.http_request_uri = "/"
|
|
22157
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAccountVpcEncryptionControlRequest)
|
|
22158
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAccountVpcEncryptionControlResult)
|
|
22159
|
+
end)
|
|
22160
|
+
|
|
22093
22161
|
api.add_operation(:describe_address_transfers, Seahorse::Model::Operation.new.tap do |o|
|
|
22094
22162
|
o.name = "DescribeAddressTransfers"
|
|
22095
22163
|
o.http_method = "POST"
|
|
@@ -25805,6 +25873,14 @@ module Aws::EC2
|
|
|
25805
25873
|
o.output = Shapes::ShapeRef.new(shape: LockSnapshotResult)
|
|
25806
25874
|
end)
|
|
25807
25875
|
|
|
25876
|
+
api.add_operation(:modify_account_vpc_encryption_control, Seahorse::Model::Operation.new.tap do |o|
|
|
25877
|
+
o.name = "ModifyAccountVpcEncryptionControl"
|
|
25878
|
+
o.http_method = "POST"
|
|
25879
|
+
o.http_request_uri = "/"
|
|
25880
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyAccountVpcEncryptionControlRequest)
|
|
25881
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyAccountVpcEncryptionControlResult)
|
|
25882
|
+
end)
|
|
25883
|
+
|
|
25808
25884
|
api.add_operation(:modify_address_attribute, Seahorse::Model::Operation.new.tap do |o|
|
|
25809
25885
|
o.name = "ModifyAddressAttribute"
|
|
25810
25886
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
|
@@ -264,6 +264,13 @@ module Aws::EC2
|
|
|
264
264
|
data[:free_tier_eligible]
|
|
265
265
|
end
|
|
266
266
|
|
|
267
|
+
# The name of the public Systems Manager parameter that resolves to this
|
|
268
|
+
# AMI, under the `aws/service/` namespace.
|
|
269
|
+
# @return [String]
|
|
270
|
+
def public_ssm_parameter_name
|
|
271
|
+
data[:public_ssm_parameter_name]
|
|
272
|
+
end
|
|
273
|
+
|
|
267
274
|
# The watermarks attached to the AMI.
|
|
268
275
|
# @return [Array<Types::ImageWatermark>]
|
|
269
276
|
def image_watermarks
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
|
@@ -2498,6 +2498,27 @@ module Aws::EC2
|
|
|
2498
2498
|
#
|
|
2499
2499
|
# * `image-id` - The ID of the image.
|
|
2500
2500
|
#
|
|
2501
|
+
# * `image-watermark.source-image-creation-time` - The creation date of
|
|
2502
|
+
# the source AMI, in the ISO 8601 format in the UTC time zone (`
|
|
2503
|
+
# YYYY-MM-DDTHH:MM:SS.ssssss+HH:MM `). You can use a wildcard (`*`),
|
|
2504
|
+
# for example, `2021-09-29T*`, which matches an entire day.
|
|
2505
|
+
#
|
|
2506
|
+
# * `image-watermark.source-image-id` - The ID of the AMI to which the
|
|
2507
|
+
# watermark was originally attached.
|
|
2508
|
+
#
|
|
2509
|
+
# * `image-watermark.source-image-region` - The Region where the
|
|
2510
|
+
# watermark was originally attached.
|
|
2511
|
+
#
|
|
2512
|
+
# * `image-watermark.watermark-creation-time` - The date and time the
|
|
2513
|
+
# watermark was attached to the AMI, in the ISO 8601 format in the UTC
|
|
2514
|
+
# time zone (` YYYY-MM-DDTHH:MM:SS.ssssss+HH:MM `). You can use a
|
|
2515
|
+
# wildcard (`*`), for example, `2021-09-29T*`, which matches an entire
|
|
2516
|
+
# day.
|
|
2517
|
+
#
|
|
2518
|
+
# * `image-watermark.watermark-key` - The watermark identifier, in
|
|
2519
|
+
# `accountId:watermarkName` format (for example,
|
|
2520
|
+
# `123456789012:approvedAmi`).
|
|
2521
|
+
#
|
|
2501
2522
|
# * `image-type` - The image type (`machine` \| `kernel` \| `ramdisk`).
|
|
2502
2523
|
#
|
|
2503
2524
|
# * `is-public` - A Boolean that indicates whether the image is public.
|
|
@@ -2524,6 +2545,12 @@ module Aws::EC2
|
|
|
2524
2545
|
#
|
|
2525
2546
|
# * `product-code.type` - The type of the product code (`marketplace`).
|
|
2526
2547
|
#
|
|
2548
|
+
# * `public-ssm-parameter-name` - The name of a public Systems Manager
|
|
2549
|
+
# parameter associated with the AMI. The parameter must be in a
|
|
2550
|
+
# trusted Amazon Web Services namespace under `aws/service/`. Returns
|
|
2551
|
+
# all AMIs that have ever been associated with the parameter,
|
|
2552
|
+
# including previous versions.
|
|
2553
|
+
#
|
|
2527
2554
|
# * `ramdisk-id` - The RAM disk ID.
|
|
2528
2555
|
#
|
|
2529
2556
|
# * `root-device-name` - The device name of the root device volume (for
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -535,6 +535,111 @@ module Aws::EC2
|
|
|
535
535
|
include Aws::Structure
|
|
536
536
|
end
|
|
537
537
|
|
|
538
|
+
# Describes the account-level VPC Encryption Control configuration,
|
|
539
|
+
# including its mode, state, and exclusions.
|
|
540
|
+
#
|
|
541
|
+
# For more information, see [Enforce VPC encryption in transit][1] in
|
|
542
|
+
# the *Amazon VPC User Guide*.
|
|
543
|
+
#
|
|
544
|
+
#
|
|
545
|
+
#
|
|
546
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html
|
|
547
|
+
#
|
|
548
|
+
# @!attribute [rw] state
|
|
549
|
+
# The current state of the account-level VPC Encryption Control
|
|
550
|
+
# configuration.
|
|
551
|
+
# @return [String]
|
|
552
|
+
#
|
|
553
|
+
# @!attribute [rw] mode
|
|
554
|
+
# The encryption mode for the account-level VPC Encryption Control
|
|
555
|
+
# configuration.
|
|
556
|
+
# @return [String]
|
|
557
|
+
#
|
|
558
|
+
# @!attribute [rw] exclusions
|
|
559
|
+
# Information about the traffic exclusions for the account-level VPC
|
|
560
|
+
# Encryption Control configuration.
|
|
561
|
+
# @return [Types::AccountVpcEncryptionControlExclusions]
|
|
562
|
+
#
|
|
563
|
+
# @!attribute [rw] managed_by
|
|
564
|
+
# The entity that manages the account-level VPC Encryption Control
|
|
565
|
+
# configuration.
|
|
566
|
+
# @return [String]
|
|
567
|
+
#
|
|
568
|
+
# @!attribute [rw] last_update_timestamp
|
|
569
|
+
# The date and time when the account-level VPC Encryption Control
|
|
570
|
+
# configuration was last updated.
|
|
571
|
+
# @return [Time]
|
|
572
|
+
#
|
|
573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AccountVpcEncryptionControl AWS API Documentation
|
|
574
|
+
#
|
|
575
|
+
class AccountVpcEncryptionControl < Struct.new(
|
|
576
|
+
:state,
|
|
577
|
+
:mode,
|
|
578
|
+
:exclusions,
|
|
579
|
+
:managed_by,
|
|
580
|
+
:last_update_timestamp)
|
|
581
|
+
SENSITIVE = []
|
|
582
|
+
include Aws::Structure
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
# Describes the exclusion configurations for the various resource types
|
|
586
|
+
# in the account-level VPC Encryption Control configuration.
|
|
587
|
+
#
|
|
588
|
+
# For more information, see [Enforce VPC encryption in transit][1] in
|
|
589
|
+
# the *Amazon VPC User Guide*.
|
|
590
|
+
#
|
|
591
|
+
#
|
|
592
|
+
#
|
|
593
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html
|
|
594
|
+
#
|
|
595
|
+
# @!attribute [rw] internet_gateway
|
|
596
|
+
# The exclusion configuration for internet gateway resource.
|
|
597
|
+
# @return [String]
|
|
598
|
+
#
|
|
599
|
+
# @!attribute [rw] egress_only_internet_gateway
|
|
600
|
+
# The exclusion configuration for egress-only internet gateway
|
|
601
|
+
# resource.
|
|
602
|
+
# @return [String]
|
|
603
|
+
#
|
|
604
|
+
# @!attribute [rw] nat_gateway
|
|
605
|
+
# The exclusion configuration for NAT gateway resource.
|
|
606
|
+
# @return [String]
|
|
607
|
+
#
|
|
608
|
+
# @!attribute [rw] virtual_private_gateway
|
|
609
|
+
# The exclusion configuration for virtual private gateway resource.
|
|
610
|
+
# @return [String]
|
|
611
|
+
#
|
|
612
|
+
# @!attribute [rw] vpc_peering
|
|
613
|
+
# The exclusion configuration for VPC peering connection resource.
|
|
614
|
+
# @return [String]
|
|
615
|
+
#
|
|
616
|
+
# @!attribute [rw] lambda
|
|
617
|
+
# The exclusion configuration for Lambda service.
|
|
618
|
+
# @return [String]
|
|
619
|
+
#
|
|
620
|
+
# @!attribute [rw] vpc_lattice
|
|
621
|
+
# The exclusion configuration for VPC Lattice service.
|
|
622
|
+
# @return [String]
|
|
623
|
+
#
|
|
624
|
+
# @!attribute [rw] elastic_file_system
|
|
625
|
+
# The exclusion configuration for Elastic File System service.
|
|
626
|
+
# @return [String]
|
|
627
|
+
#
|
|
628
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AccountVpcEncryptionControlExclusions AWS API Documentation
|
|
629
|
+
#
|
|
630
|
+
class AccountVpcEncryptionControlExclusions < Struct.new(
|
|
631
|
+
:internet_gateway,
|
|
632
|
+
:egress_only_internet_gateway,
|
|
633
|
+
:nat_gateway,
|
|
634
|
+
:virtual_private_gateway,
|
|
635
|
+
:vpc_peering,
|
|
636
|
+
:lambda,
|
|
637
|
+
:vpc_lattice,
|
|
638
|
+
:elastic_file_system)
|
|
639
|
+
SENSITIVE = []
|
|
640
|
+
include Aws::Structure
|
|
641
|
+
end
|
|
642
|
+
|
|
538
643
|
# Describes a running instance in a Spot Fleet.
|
|
539
644
|
#
|
|
540
645
|
# @!attribute [rw] instance_id
|
|
@@ -1228,6 +1333,10 @@ module Aws::EC2
|
|
|
1228
1333
|
# The ID of the Availability Zone.
|
|
1229
1334
|
# @return [String]
|
|
1230
1335
|
#
|
|
1336
|
+
# @!attribute [rw] cpu_options
|
|
1337
|
+
# The CPU configuration options to apply to the Dedicated Host.
|
|
1338
|
+
# @return [Types::HostCpuOptionsRequest]
|
|
1339
|
+
#
|
|
1231
1340
|
# @!attribute [rw] auto_placement
|
|
1232
1341
|
# Indicates whether the host accepts any untargeted instance launches
|
|
1233
1342
|
# that match its instance type configuration, or if it only accepts
|
|
@@ -1287,6 +1396,7 @@ module Aws::EC2
|
|
|
1287
1396
|
:host_maintenance,
|
|
1288
1397
|
:asset_ids,
|
|
1289
1398
|
:availability_zone_id,
|
|
1399
|
+
:cpu_options,
|
|
1290
1400
|
:auto_placement,
|
|
1291
1401
|
:client_token,
|
|
1292
1402
|
:instance_type,
|
|
@@ -21723,6 +21833,34 @@ module Aws::EC2
|
|
|
21723
21833
|
include Aws::Structure
|
|
21724
21834
|
end
|
|
21725
21835
|
|
|
21836
|
+
# @!attribute [rw] dry_run
|
|
21837
|
+
# Checks whether you have the required permissions for the action,
|
|
21838
|
+
# without actually making the request, and provides an error response.
|
|
21839
|
+
# If you have the required permissions, the error response is
|
|
21840
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
21841
|
+
# @return [Boolean]
|
|
21842
|
+
#
|
|
21843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAccountVpcEncryptionControlRequest AWS API Documentation
|
|
21844
|
+
#
|
|
21845
|
+
class DescribeAccountVpcEncryptionControlRequest < Struct.new(
|
|
21846
|
+
:dry_run)
|
|
21847
|
+
SENSITIVE = []
|
|
21848
|
+
include Aws::Structure
|
|
21849
|
+
end
|
|
21850
|
+
|
|
21851
|
+
# @!attribute [rw] account_vpc_encryption_control
|
|
21852
|
+
# Information about the account-level VPC Encryption Control
|
|
21853
|
+
# configuration.
|
|
21854
|
+
# @return [Types::AccountVpcEncryptionControl]
|
|
21855
|
+
#
|
|
21856
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAccountVpcEncryptionControlResult AWS API Documentation
|
|
21857
|
+
#
|
|
21858
|
+
class DescribeAccountVpcEncryptionControlResult < Struct.new(
|
|
21859
|
+
:account_vpc_encryption_control)
|
|
21860
|
+
SENSITIVE = []
|
|
21861
|
+
include Aws::Structure
|
|
21862
|
+
end
|
|
21863
|
+
|
|
21726
21864
|
# @!attribute [rw] allocation_ids
|
|
21727
21865
|
# The allocation IDs of Elastic IP addresses.
|
|
21728
21866
|
# @return [Array<String>]
|
|
@@ -25638,6 +25776,27 @@ module Aws::EC2
|
|
|
25638
25776
|
#
|
|
25639
25777
|
# * `image-id` - The ID of the image.
|
|
25640
25778
|
#
|
|
25779
|
+
# * `image-watermark.source-image-creation-time` - The creation date
|
|
25780
|
+
# of the source AMI, in the ISO 8601 format in the UTC time zone (`
|
|
25781
|
+
# YYYY-MM-DDTHH:MM:SS.ssssss+HH:MM `). You can use a wildcard (`*`),
|
|
25782
|
+
# for example, `2021-09-29T*`, which matches an entire day.
|
|
25783
|
+
#
|
|
25784
|
+
# * `image-watermark.source-image-id` - The ID of the AMI to which the
|
|
25785
|
+
# watermark was originally attached.
|
|
25786
|
+
#
|
|
25787
|
+
# * `image-watermark.source-image-region` - The Region where the
|
|
25788
|
+
# watermark was originally attached.
|
|
25789
|
+
#
|
|
25790
|
+
# * `image-watermark.watermark-creation-time` - The date and time the
|
|
25791
|
+
# watermark was attached to the AMI, in the ISO 8601 format in the
|
|
25792
|
+
# UTC time zone (` YYYY-MM-DDTHH:MM:SS.ssssss+HH:MM `). You can use
|
|
25793
|
+
# a wildcard (`*`), for example, `2021-09-29T*`, which matches an
|
|
25794
|
+
# entire day.
|
|
25795
|
+
#
|
|
25796
|
+
# * `image-watermark.watermark-key` - The watermark identifier, in
|
|
25797
|
+
# `accountId:watermarkName` format (for example,
|
|
25798
|
+
# `123456789012:approvedAmi`).
|
|
25799
|
+
#
|
|
25641
25800
|
# * `image-type` - The image type (`machine` \| `kernel` \|
|
|
25642
25801
|
# `ramdisk`).
|
|
25643
25802
|
#
|
|
@@ -25668,6 +25827,12 @@ module Aws::EC2
|
|
|
25668
25827
|
# * `product-code.type` - The type of the product code
|
|
25669
25828
|
# (`marketplace`).
|
|
25670
25829
|
#
|
|
25830
|
+
# * `public-ssm-parameter-name` - The name of a public Systems Manager
|
|
25831
|
+
# parameter associated with the AMI. The parameter must be in a
|
|
25832
|
+
# trusted Amazon Web Services namespace under `aws/service/`.
|
|
25833
|
+
# Returns all AMIs that have ever been associated with the
|
|
25834
|
+
# parameter, including previous versions.
|
|
25835
|
+
#
|
|
25671
25836
|
# * `ramdisk-id` - The RAM disk ID.
|
|
25672
25837
|
#
|
|
25673
25838
|
# * `root-device-name` - The device name of the root device volume
|
|
@@ -34996,6 +35161,13 @@ module Aws::EC2
|
|
|
34996
35161
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
|
34997
35162
|
# @return [Integer]
|
|
34998
35163
|
#
|
|
35164
|
+
# @!attribute [rw] include_managed_resources
|
|
35165
|
+
# Indicates whether to include managed resources in the output. If
|
|
35166
|
+
# this parameter is set to `true`, the output includes resources that
|
|
35167
|
+
# are managed by Amazon Web Services services, even if managed
|
|
35168
|
+
# resource visibility is set to hidden.
|
|
35169
|
+
# @return [Boolean]
|
|
35170
|
+
#
|
|
34999
35171
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModificationsRequest AWS API Documentation
|
|
35000
35172
|
#
|
|
35001
35173
|
class DescribeVolumesModificationsRequest < Struct.new(
|
|
@@ -35003,7 +35175,8 @@ module Aws::EC2
|
|
|
35003
35175
|
:volume_ids,
|
|
35004
35176
|
:filters,
|
|
35005
35177
|
:next_token,
|
|
35006
|
-
:max_results
|
|
35178
|
+
:max_results,
|
|
35179
|
+
:include_managed_resources)
|
|
35007
35180
|
SENSITIVE = []
|
|
35008
35181
|
include Aws::Structure
|
|
35009
35182
|
end
|
|
@@ -48004,6 +48177,12 @@ module Aws::EC2
|
|
|
48004
48177
|
# allocated.
|
|
48005
48178
|
# @return [String]
|
|
48006
48179
|
#
|
|
48180
|
+
# @!attribute [rw] cpu_options
|
|
48181
|
+
# The CPU options for the Dedicated Host, including AMD Secure
|
|
48182
|
+
# Encrypted Virtualization-Secure Nested Paging (AMD SEV-SNP)
|
|
48183
|
+
# settings.
|
|
48184
|
+
# @return [Types::HostCpuOptions]
|
|
48185
|
+
#
|
|
48007
48186
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Host AWS API Documentation
|
|
48008
48187
|
#
|
|
48009
48188
|
class Host < Struct.new(
|
|
@@ -48026,7 +48205,43 @@ module Aws::EC2
|
|
|
48026
48205
|
:member_of_service_linked_resource_group,
|
|
48027
48206
|
:outpost_arn,
|
|
48028
48207
|
:host_maintenance,
|
|
48029
|
-
:asset_id
|
|
48208
|
+
:asset_id,
|
|
48209
|
+
:cpu_options)
|
|
48210
|
+
SENSITIVE = []
|
|
48211
|
+
include Aws::Structure
|
|
48212
|
+
end
|
|
48213
|
+
|
|
48214
|
+
# Contains the CPU options for a Dedicated Host, including AMD Secure
|
|
48215
|
+
# Encrypted Virtualization-Secure Nested Paging (AMD SEV-SNP) settings.
|
|
48216
|
+
#
|
|
48217
|
+
# @!attribute [rw] amd_sev_snp
|
|
48218
|
+
# Specifies whether AMD Secure Encrypted Virtualization-Secure Nested
|
|
48219
|
+
# Paging (AMD SEV-SNP) is enabled or disabled for the Dedicated Host.
|
|
48220
|
+
# If you don't specify a value, AMD SEV-SNP is `disabled`.
|
|
48221
|
+
# @return [String]
|
|
48222
|
+
#
|
|
48223
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostCpuOptions AWS API Documentation
|
|
48224
|
+
#
|
|
48225
|
+
class HostCpuOptions < Struct.new(
|
|
48226
|
+
:amd_sev_snp)
|
|
48227
|
+
SENSITIVE = []
|
|
48228
|
+
include Aws::Structure
|
|
48229
|
+
end
|
|
48230
|
+
|
|
48231
|
+
# Contains the CPU configuration options for a Dedicated Host allocation
|
|
48232
|
+
# request. Options include AMD Secure Encrypted Virtualization-Secure
|
|
48233
|
+
# Nested Paging (AMD SEV-SNP) settings.
|
|
48234
|
+
#
|
|
48235
|
+
# @!attribute [rw] amd_sev_snp
|
|
48236
|
+
# Specifies whether AMD Secure Encrypted Virtualization-Secure Nested
|
|
48237
|
+
# Paging (AMD SEV-SNP) is enabled or disabled for the Dedicated Host.
|
|
48238
|
+
# If you don't specify a value, AMD SEV-SNP is `disabled`.
|
|
48239
|
+
# @return [String]
|
|
48240
|
+
#
|
|
48241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostCpuOptionsRequest AWS API Documentation
|
|
48242
|
+
#
|
|
48243
|
+
class HostCpuOptionsRequest < Struct.new(
|
|
48244
|
+
:amd_sev_snp)
|
|
48030
48245
|
SENSITIVE = []
|
|
48031
48246
|
include Aws::Structure
|
|
48032
48247
|
end
|
|
@@ -48557,6 +48772,11 @@ module Aws::EC2
|
|
|
48557
48772
|
# * If `false`, the AMI is not eligible for Free Tier.
|
|
48558
48773
|
# @return [Boolean]
|
|
48559
48774
|
#
|
|
48775
|
+
# @!attribute [rw] public_ssm_parameter_name
|
|
48776
|
+
# The name of the public Systems Manager parameter that resolves to
|
|
48777
|
+
# this AMI, under the `aws/service/` namespace.
|
|
48778
|
+
# @return [String]
|
|
48779
|
+
#
|
|
48560
48780
|
# @!attribute [rw] image_watermarks
|
|
48561
48781
|
# The watermarks attached to the AMI.
|
|
48562
48782
|
# @return [Array<Types::ImageWatermark>]
|
|
@@ -48643,6 +48863,7 @@ module Aws::EC2
|
|
|
48643
48863
|
:source_image_id,
|
|
48644
48864
|
:source_image_region,
|
|
48645
48865
|
:free_tier_eligible,
|
|
48866
|
+
:public_ssm_parameter_name,
|
|
48646
48867
|
:image_watermarks,
|
|
48647
48868
|
:image_id,
|
|
48648
48869
|
:image_location,
|
|
@@ -60998,6 +61219,88 @@ module Aws::EC2
|
|
|
60998
61219
|
include Aws::Structure
|
|
60999
61220
|
end
|
|
61000
61221
|
|
|
61222
|
+
# @!attribute [rw] dry_run
|
|
61223
|
+
# Checks whether you have the required permissions for the action,
|
|
61224
|
+
# without actually making the request, and provides an error response.
|
|
61225
|
+
# If you have the required permissions, the error response is
|
|
61226
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
61227
|
+
# @return [Boolean]
|
|
61228
|
+
#
|
|
61229
|
+
# @!attribute [rw] mode
|
|
61230
|
+
# The encryption mode for the account encryption control
|
|
61231
|
+
# configuration.
|
|
61232
|
+
# @return [String]
|
|
61233
|
+
#
|
|
61234
|
+
# @!attribute [rw] internet_gateway
|
|
61235
|
+
# Specifies whether to exclude internet gateway resource from
|
|
61236
|
+
# account-level encryption enforcement.
|
|
61237
|
+
# @return [String]
|
|
61238
|
+
#
|
|
61239
|
+
# @!attribute [rw] egress_only_internet_gateway
|
|
61240
|
+
# Specifies whether to exclude egress-only internet gateway resource
|
|
61241
|
+
# from account-level encryption enforcement.
|
|
61242
|
+
# @return [String]
|
|
61243
|
+
#
|
|
61244
|
+
# @!attribute [rw] nat_gateway
|
|
61245
|
+
# Specifies whether to exclude NAT gateway resource from account-level
|
|
61246
|
+
# encryption enforcement.
|
|
61247
|
+
# @return [String]
|
|
61248
|
+
#
|
|
61249
|
+
# @!attribute [rw] virtual_private_gateway
|
|
61250
|
+
# Specifies whether to exclude virtual private gateway resource from
|
|
61251
|
+
# account-level encryption enforcement.
|
|
61252
|
+
# @return [String]
|
|
61253
|
+
#
|
|
61254
|
+
# @!attribute [rw] vpc_peering
|
|
61255
|
+
# Specifies whether to exclude VPC peering connection resource from
|
|
61256
|
+
# account-level encryption enforcement.
|
|
61257
|
+
# @return [String]
|
|
61258
|
+
#
|
|
61259
|
+
# @!attribute [rw] lambda
|
|
61260
|
+
# Specifies whether to exclude Lambda service from account-level
|
|
61261
|
+
# encryption enforcement.
|
|
61262
|
+
# @return [String]
|
|
61263
|
+
#
|
|
61264
|
+
# @!attribute [rw] vpc_lattice
|
|
61265
|
+
# Specifies whether to exclude VPC Lattice service from account-level
|
|
61266
|
+
# encryption enforcement.
|
|
61267
|
+
# @return [String]
|
|
61268
|
+
#
|
|
61269
|
+
# @!attribute [rw] elastic_file_system
|
|
61270
|
+
# Specifies whether to exclude Elastic File System service from
|
|
61271
|
+
# account-level encryption enforcement.
|
|
61272
|
+
# @return [String]
|
|
61273
|
+
#
|
|
61274
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAccountVpcEncryptionControlRequest AWS API Documentation
|
|
61275
|
+
#
|
|
61276
|
+
class ModifyAccountVpcEncryptionControlRequest < Struct.new(
|
|
61277
|
+
:dry_run,
|
|
61278
|
+
:mode,
|
|
61279
|
+
:internet_gateway,
|
|
61280
|
+
:egress_only_internet_gateway,
|
|
61281
|
+
:nat_gateway,
|
|
61282
|
+
:virtual_private_gateway,
|
|
61283
|
+
:vpc_peering,
|
|
61284
|
+
:lambda,
|
|
61285
|
+
:vpc_lattice,
|
|
61286
|
+
:elastic_file_system)
|
|
61287
|
+
SENSITIVE = []
|
|
61288
|
+
include Aws::Structure
|
|
61289
|
+
end
|
|
61290
|
+
|
|
61291
|
+
# @!attribute [rw] account_vpc_encryption_control
|
|
61292
|
+
# Information about the account-level VPC Encryption Control
|
|
61293
|
+
# configuration.
|
|
61294
|
+
# @return [Types::AccountVpcEncryptionControl]
|
|
61295
|
+
#
|
|
61296
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAccountVpcEncryptionControlResult AWS API Documentation
|
|
61297
|
+
#
|
|
61298
|
+
class ModifyAccountVpcEncryptionControlResult < Struct.new(
|
|
61299
|
+
:account_vpc_encryption_control)
|
|
61300
|
+
SENSITIVE = []
|
|
61301
|
+
include Aws::Structure
|
|
61302
|
+
end
|
|
61303
|
+
|
|
61001
61304
|
# @!attribute [rw] allocation_id
|
|
61002
61305
|
# \[EC2-VPC\] The allocation ID.
|
|
61003
61306
|
# @return [String]
|
|
@@ -86613,6 +86916,10 @@ module Aws::EC2
|
|
|
86613
86916
|
# The modification completion or failure time.
|
|
86614
86917
|
# @return [Time]
|
|
86615
86918
|
#
|
|
86919
|
+
# @!attribute [rw] operator
|
|
86920
|
+
# The service provider that manages the resource.
|
|
86921
|
+
# @return [Types::OperatorResponse]
|
|
86922
|
+
#
|
|
86616
86923
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeModification AWS API Documentation
|
|
86617
86924
|
#
|
|
86618
86925
|
class VolumeModification < Struct.new(
|
|
@@ -86631,7 +86938,8 @@ module Aws::EC2
|
|
|
86631
86938
|
:original_multi_attach_enabled,
|
|
86632
86939
|
:progress,
|
|
86633
86940
|
:start_time,
|
|
86634
|
-
:end_time
|
|
86941
|
+
:end_time,
|
|
86942
|
+
:operator)
|
|
86635
86943
|
SENSITIVE = []
|
|
86636
86944
|
include Aws::Structure
|
|
86637
86945
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -267,6 +267,9 @@ module Aws
|
|
|
267
267
|
?host_maintenance: ("on" | "off"),
|
|
268
268
|
?asset_ids: Array[::String],
|
|
269
269
|
?availability_zone_id: ::String,
|
|
270
|
+
?cpu_options: {
|
|
271
|
+
amd_sev_snp: ("enabled" | "disabled")?
|
|
272
|
+
},
|
|
270
273
|
?auto_placement: ("on" | "off"),
|
|
271
274
|
?client_token: ::String,
|
|
272
275
|
?instance_type: ::String,
|
|
@@ -5232,6 +5235,16 @@ module Aws
|
|
|
5232
5235
|
) -> _DescribeAccountAttributesResponseSuccess
|
|
5233
5236
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountAttributesResponseSuccess
|
|
5234
5237
|
|
|
5238
|
+
interface _DescribeAccountVpcEncryptionControlResponseSuccess
|
|
5239
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountVpcEncryptionControlResult]
|
|
5240
|
+
def account_vpc_encryption_control: () -> Types::AccountVpcEncryptionControl
|
|
5241
|
+
end
|
|
5242
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_account_vpc_encryption_control-instance_method
|
|
5243
|
+
def describe_account_vpc_encryption_control: (
|
|
5244
|
+
?dry_run: bool
|
|
5245
|
+
) -> _DescribeAccountVpcEncryptionControlResponseSuccess
|
|
5246
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountVpcEncryptionControlResponseSuccess
|
|
5247
|
+
|
|
5235
5248
|
interface _DescribeAddressTransfersResponseSuccess
|
|
5236
5249
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAddressTransfersResult]
|
|
5237
5250
|
def address_transfers: () -> ::Array[Types::AddressTransfer]
|
|
@@ -8499,7 +8512,8 @@ module Aws
|
|
|
8499
8512
|
}
|
|
8500
8513
|
],
|
|
8501
8514
|
?next_token: ::String,
|
|
8502
|
-
?max_results: ::Integer
|
|
8515
|
+
?max_results: ::Integer,
|
|
8516
|
+
?include_managed_resources: bool
|
|
8503
8517
|
) -> _DescribeVolumesModificationsResponseSuccess
|
|
8504
8518
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeVolumesModificationsResponseSuccess
|
|
8505
8519
|
|
|
@@ -11193,6 +11207,25 @@ module Aws
|
|
|
11193
11207
|
) -> _LockSnapshotResponseSuccess
|
|
11194
11208
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _LockSnapshotResponseSuccess
|
|
11195
11209
|
|
|
11210
|
+
interface _ModifyAccountVpcEncryptionControlResponseSuccess
|
|
11211
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyAccountVpcEncryptionControlResult]
|
|
11212
|
+
def account_vpc_encryption_control: () -> Types::AccountVpcEncryptionControl
|
|
11213
|
+
end
|
|
11214
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_account_vpc_encryption_control-instance_method
|
|
11215
|
+
def modify_account_vpc_encryption_control: (
|
|
11216
|
+
?dry_run: bool,
|
|
11217
|
+
?mode: ("unmanaged" | "attempt-monitor" | "attempt-enforce"),
|
|
11218
|
+
?internet_gateway: ("enable" | "disable"),
|
|
11219
|
+
?egress_only_internet_gateway: ("enable" | "disable"),
|
|
11220
|
+
?nat_gateway: ("enable" | "disable"),
|
|
11221
|
+
?virtual_private_gateway: ("enable" | "disable"),
|
|
11222
|
+
?vpc_peering: ("enable" | "disable"),
|
|
11223
|
+
?lambda: ("enable" | "disable"),
|
|
11224
|
+
?vpc_lattice: ("enable" | "disable"),
|
|
11225
|
+
?elastic_file_system: ("enable" | "disable")
|
|
11226
|
+
) -> _ModifyAccountVpcEncryptionControlResponseSuccess
|
|
11227
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyAccountVpcEncryptionControlResponseSuccess
|
|
11228
|
+
|
|
11196
11229
|
interface _ModifyAddressAttributeResponseSuccess
|
|
11197
11230
|
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyAddressAttributeResult]
|
|
11198
11231
|
def address: () -> Types::AddressAttribute
|
data/sig/image.rbs
CHANGED
|
@@ -93,6 +93,9 @@ module Aws
|
|
|
93
93
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#free_tier_eligible-instance_method
|
|
94
94
|
def free_tier_eligible: () -> bool
|
|
95
95
|
|
|
96
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#public_ssm_parameter_name-instance_method
|
|
97
|
+
def public_ssm_parameter_name: () -> ::String
|
|
98
|
+
|
|
96
99
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#image_watermarks-instance_method
|
|
97
100
|
def image_watermarks: () -> ::Array[Types::ImageWatermark]
|
|
98
101
|
|
data/sig/types.rbs
CHANGED
|
@@ -169,6 +169,27 @@ module Aws::EC2
|
|
|
169
169
|
SENSITIVE: []
|
|
170
170
|
end
|
|
171
171
|
|
|
172
|
+
class AccountVpcEncryptionControl
|
|
173
|
+
attr_accessor state: ("default-state" | "transitions-in-progress" | "transitions-partially-successful" | "transitions-successful" | "transitions-failed")
|
|
174
|
+
attr_accessor mode: ("unmanaged" | "attempt-monitor" | "attempt-enforce")
|
|
175
|
+
attr_accessor exclusions: Types::AccountVpcEncryptionControlExclusions
|
|
176
|
+
attr_accessor managed_by: ("account" | "declarative-policy")
|
|
177
|
+
attr_accessor last_update_timestamp: ::Time
|
|
178
|
+
SENSITIVE: []
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
class AccountVpcEncryptionControlExclusions
|
|
182
|
+
attr_accessor internet_gateway: ("enabling" | "enabled" | "disabling" | "disabled")
|
|
183
|
+
attr_accessor egress_only_internet_gateway: ("enabling" | "enabled" | "disabling" | "disabled")
|
|
184
|
+
attr_accessor nat_gateway: ("enabling" | "enabled" | "disabling" | "disabled")
|
|
185
|
+
attr_accessor virtual_private_gateway: ("enabling" | "enabled" | "disabling" | "disabled")
|
|
186
|
+
attr_accessor vpc_peering: ("enabling" | "enabled" | "disabling" | "disabled")
|
|
187
|
+
attr_accessor lambda: ("enabling" | "enabled" | "disabling" | "disabled")
|
|
188
|
+
attr_accessor vpc_lattice: ("enabling" | "enabled" | "disabling" | "disabled")
|
|
189
|
+
attr_accessor elastic_file_system: ("enabling" | "enabled" | "disabling" | "disabled")
|
|
190
|
+
SENSITIVE: []
|
|
191
|
+
end
|
|
192
|
+
|
|
172
193
|
class ActiveInstance
|
|
173
194
|
attr_accessor instance_id: ::String
|
|
174
195
|
attr_accessor instance_type: ::String
|
|
@@ -309,6 +330,7 @@ module Aws::EC2
|
|
|
309
330
|
attr_accessor host_maintenance: ("on" | "off")
|
|
310
331
|
attr_accessor asset_ids: ::Array[::String]
|
|
311
332
|
attr_accessor availability_zone_id: ::String
|
|
333
|
+
attr_accessor cpu_options: Types::HostCpuOptionsRequest
|
|
312
334
|
attr_accessor auto_placement: ("on" | "off")
|
|
313
335
|
attr_accessor client_token: ::String
|
|
314
336
|
attr_accessor instance_type: ::String
|
|
@@ -5056,6 +5078,16 @@ module Aws::EC2
|
|
|
5056
5078
|
SENSITIVE: []
|
|
5057
5079
|
end
|
|
5058
5080
|
|
|
5081
|
+
class DescribeAccountVpcEncryptionControlRequest
|
|
5082
|
+
attr_accessor dry_run: bool
|
|
5083
|
+
SENSITIVE: []
|
|
5084
|
+
end
|
|
5085
|
+
|
|
5086
|
+
class DescribeAccountVpcEncryptionControlResult
|
|
5087
|
+
attr_accessor account_vpc_encryption_control: Types::AccountVpcEncryptionControl
|
|
5088
|
+
SENSITIVE: []
|
|
5089
|
+
end
|
|
5090
|
+
|
|
5059
5091
|
class DescribeAddressTransfersRequest
|
|
5060
5092
|
attr_accessor allocation_ids: ::Array[::String]
|
|
5061
5093
|
attr_accessor next_token: ::String
|
|
@@ -7582,6 +7614,7 @@ module Aws::EC2
|
|
|
7582
7614
|
attr_accessor filters: ::Array[Types::Filter]
|
|
7583
7615
|
attr_accessor next_token: ::String
|
|
7584
7616
|
attr_accessor max_results: ::Integer
|
|
7617
|
+
attr_accessor include_managed_resources: bool
|
|
7585
7618
|
SENSITIVE: []
|
|
7586
7619
|
end
|
|
7587
7620
|
|
|
@@ -10612,7 +10645,7 @@ module Aws::EC2
|
|
|
10612
10645
|
attr_accessor host_properties: Types::HostProperties
|
|
10613
10646
|
attr_accessor host_reservation_id: ::String
|
|
10614
10647
|
attr_accessor instances: ::Array[Types::HostInstance]
|
|
10615
|
-
attr_accessor state: ("available" | "under-assessment" | "permanent-failure" | "released" | "released-permanent-failure" | "pending")
|
|
10648
|
+
attr_accessor state: ("available" | "under-assessment" | "permanent-failure" | "released" | "released-permanent-failure" | "pending" | "configuring")
|
|
10616
10649
|
attr_accessor allocation_time: ::Time
|
|
10617
10650
|
attr_accessor release_time: ::Time
|
|
10618
10651
|
attr_accessor tags: ::Array[Types::Tag]
|
|
@@ -10624,6 +10657,17 @@ module Aws::EC2
|
|
|
10624
10657
|
attr_accessor outpost_arn: ::String
|
|
10625
10658
|
attr_accessor host_maintenance: ("on" | "off")
|
|
10626
10659
|
attr_accessor asset_id: ::String
|
|
10660
|
+
attr_accessor cpu_options: Types::HostCpuOptions
|
|
10661
|
+
SENSITIVE: []
|
|
10662
|
+
end
|
|
10663
|
+
|
|
10664
|
+
class HostCpuOptions
|
|
10665
|
+
attr_accessor amd_sev_snp: ("enabled" | "disabled")
|
|
10666
|
+
SENSITIVE: []
|
|
10667
|
+
end
|
|
10668
|
+
|
|
10669
|
+
class HostCpuOptionsRequest
|
|
10670
|
+
attr_accessor amd_sev_snp: ("enabled" | "disabled")
|
|
10627
10671
|
SENSITIVE: []
|
|
10628
10672
|
end
|
|
10629
10673
|
|
|
@@ -10742,6 +10786,7 @@ module Aws::EC2
|
|
|
10742
10786
|
attr_accessor source_image_id: ::String
|
|
10743
10787
|
attr_accessor source_image_region: ::String
|
|
10744
10788
|
attr_accessor free_tier_eligible: bool
|
|
10789
|
+
attr_accessor public_ssm_parameter_name: ::String
|
|
10745
10790
|
attr_accessor image_watermarks: ::Array[Types::ImageWatermark]
|
|
10746
10791
|
attr_accessor image_id: ::String
|
|
10747
10792
|
attr_accessor image_location: ::String
|
|
@@ -13098,6 +13143,25 @@ module Aws::EC2
|
|
|
13098
13143
|
SENSITIVE: []
|
|
13099
13144
|
end
|
|
13100
13145
|
|
|
13146
|
+
class ModifyAccountVpcEncryptionControlRequest
|
|
13147
|
+
attr_accessor dry_run: bool
|
|
13148
|
+
attr_accessor mode: ("unmanaged" | "attempt-monitor" | "attempt-enforce")
|
|
13149
|
+
attr_accessor internet_gateway: ("enable" | "disable")
|
|
13150
|
+
attr_accessor egress_only_internet_gateway: ("enable" | "disable")
|
|
13151
|
+
attr_accessor nat_gateway: ("enable" | "disable")
|
|
13152
|
+
attr_accessor virtual_private_gateway: ("enable" | "disable")
|
|
13153
|
+
attr_accessor vpc_peering: ("enable" | "disable")
|
|
13154
|
+
attr_accessor lambda: ("enable" | "disable")
|
|
13155
|
+
attr_accessor vpc_lattice: ("enable" | "disable")
|
|
13156
|
+
attr_accessor elastic_file_system: ("enable" | "disable")
|
|
13157
|
+
SENSITIVE: []
|
|
13158
|
+
end
|
|
13159
|
+
|
|
13160
|
+
class ModifyAccountVpcEncryptionControlResult
|
|
13161
|
+
attr_accessor account_vpc_encryption_control: Types::AccountVpcEncryptionControl
|
|
13162
|
+
SENSITIVE: []
|
|
13163
|
+
end
|
|
13164
|
+
|
|
13101
13165
|
class ModifyAddressAttributeRequest
|
|
13102
13166
|
attr_accessor allocation_id: ::String
|
|
13103
13167
|
attr_accessor domain_name: ::String
|
|
@@ -18730,6 +18794,7 @@ module Aws::EC2
|
|
|
18730
18794
|
attr_accessor progress: ::Integer
|
|
18731
18795
|
attr_accessor start_time: ::Time
|
|
18732
18796
|
attr_accessor end_time: ::Time
|
|
18797
|
+
attr_accessor operator: Types::OperatorResponse
|
|
18733
18798
|
SENSITIVE: []
|
|
18734
18799
|
end
|
|
18735
18800
|
|