aws-sdk-ec2 1.614.0 → 1.616.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 +21 -19
- data/lib/aws-sdk-ec2/client_api.rb +23 -16
- data/lib/aws-sdk-ec2/instance.rb +2 -2
- data/lib/aws-sdk-ec2/resource.rb +3 -3
- data/lib/aws-sdk-ec2/types.rb +16 -9
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 882681c6027b09724c269459160e4c7e3e9c828957e94e84b8454d2e024deeaf
|
|
4
|
+
data.tar.gz: e063ff86e84ab109fc9abeb5096dfcc1dc29f6b868be39db9e8b9c09d9b19820
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a9dc904986999b2ff1aaaa622e7b1968657c6db4361085d2d6ec40defc4be13d4b3d452617924f119a1fd8683591991959eedd7c37869c3756f02d0886c79f2
|
|
7
|
+
data.tar.gz: '0478f364e41571f519c0df100b22d83e3ec9971acc7bdfee6fad7f5bcf94e09e4e78f4dcc241ee8318ebd3fc3e181fbc0c84246baeee0f5960f1ee7f87ad8e2a'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.616.0 (2026-05-13)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Include length limits in the SDK and documentation for text fields in Image (AMI) APIs such as the image name and description
|
|
8
|
+
|
|
9
|
+
1.615.0 (2026-05-07)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - DescribeInstanceTypes now accepts an IncludeUnsupportedInRegion parameter. When set, the response also lists instance types that are not available in the current Region. Each instance type includes a SupportedInRegion field indicating its regional availability.
|
|
13
|
+
|
|
4
14
|
1.614.0 (2026-05-04)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.616.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -5223,11 +5223,11 @@ module Aws::EC2
|
|
|
5223
5223
|
# @example Request syntax with placeholder values
|
|
5224
5224
|
#
|
|
5225
5225
|
# resp = client.copy_image({
|
|
5226
|
-
# client_token: "
|
|
5227
|
-
# description: "
|
|
5226
|
+
# client_token: "CopyImageClientToken",
|
|
5227
|
+
# description: "ImageDescriptionRequest",
|
|
5228
5228
|
# encrypted: false,
|
|
5229
5229
|
# kms_key_id: "KmsKeyId",
|
|
5230
|
-
# name: "
|
|
5230
|
+
# name: "ImageNameRequest", # required
|
|
5231
5231
|
# source_image_id: "String", # required
|
|
5232
5232
|
# source_region: "String", # required
|
|
5233
5233
|
# destination_outpost_arn: "String",
|
|
@@ -8510,8 +8510,8 @@ module Aws::EC2
|
|
|
8510
8510
|
# snapshot_location: "regional", # accepts regional, local
|
|
8511
8511
|
# dry_run: false,
|
|
8512
8512
|
# instance_id: "InstanceId", # required
|
|
8513
|
-
# name: "
|
|
8514
|
-
# description: "
|
|
8513
|
+
# name: "ImageNameRequest", # required
|
|
8514
|
+
# description: "ImageDescriptionRequest",
|
|
8515
8515
|
# no_reboot: false,
|
|
8516
8516
|
# block_device_mappings: [
|
|
8517
8517
|
# {
|
|
@@ -8617,7 +8617,7 @@ module Aws::EC2
|
|
|
8617
8617
|
# },
|
|
8618
8618
|
# ],
|
|
8619
8619
|
# account_ids: ["String"],
|
|
8620
|
-
# client_token: "
|
|
8620
|
+
# client_token: "CreateImageUsageReportClientToken",
|
|
8621
8621
|
# tag_specifications: [
|
|
8622
8622
|
# {
|
|
8623
8623
|
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, declarative-policies-report, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, image-usage-report, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, outpost-lag, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, service-link-virtual-interface, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-metering-policy, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, vpc-encryption-control, route-server, route-server-endpoint, route-server-peer, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, verified-access-endpoint-target, ipam-external-resource-verification-token, capacity-block, mac-modification-task, ipam-prefix-list-resolver, ipam-policy, ipam-prefix-list-resolver-target, secondary-interface, secondary-network, secondary-subnet, capacity-manager-data-export, vpn-concentrator
|
|
@@ -13793,7 +13793,7 @@ module Aws::EC2
|
|
|
13793
13793
|
# resp = client.create_restore_image_task({
|
|
13794
13794
|
# bucket: "String", # required
|
|
13795
13795
|
# object_key: "String", # required
|
|
13796
|
-
# name: "
|
|
13796
|
+
# name: "ImageNameRequest",
|
|
13797
13797
|
# tag_specifications: [
|
|
13798
13798
|
# {
|
|
13799
13799
|
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, declarative-policies-report, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, image-usage-report, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, outpost-lag, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, service-link-virtual-interface, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-metering-policy, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, vpc-encryption-control, route-server, route-server-endpoint, route-server-peer, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, verified-access-endpoint-target, ipam-external-resource-verification-token, capacity-block, mac-modification-task, ipam-prefix-list-resolver, ipam-policy, ipam-prefix-list-resolver-target, secondary-interface, secondary-network, secondary-subnet, capacity-manager-data-export, vpn-concentrator
|
|
@@ -31757,7 +31757,8 @@ module Aws::EC2
|
|
|
31757
31757
|
|
|
31758
31758
|
# Describes the specified instance types. By default, all instance types
|
|
31759
31759
|
# for the current Region are described. Alternatively, you can filter
|
|
31760
|
-
# the results.
|
|
31760
|
+
# the results. To include instance types that are not supported in the
|
|
31761
|
+
# current Region, set `IncludeUnsupportedInRegion` to `true`.
|
|
31761
31762
|
#
|
|
31762
31763
|
# @option params [Boolean] :dry_run
|
|
31763
31764
|
# Checks whether you have the required permissions for the action,
|
|
@@ -31963,6 +31964,11 @@ module Aws::EC2
|
|
|
31963
31964
|
# The token returned from a previous paginated request. Pagination
|
|
31964
31965
|
# continues from the end of the items returned by the previous request.
|
|
31965
31966
|
#
|
|
31967
|
+
# @option params [Boolean] :include_unsupported_in_region
|
|
31968
|
+
# If `true`, the response includes instance types that are not supported
|
|
31969
|
+
# in the current Region, in addition to the supported types. Default:
|
|
31970
|
+
# `false`.
|
|
31971
|
+
#
|
|
31966
31972
|
# @return [Types::DescribeInstanceTypesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
31967
31973
|
#
|
|
31968
31974
|
# * {Types::DescribeInstanceTypesResult#instance_types #instance_types} => Array<Types::InstanceTypeInfo>
|
|
@@ -31983,6 +31989,7 @@ module Aws::EC2
|
|
|
31983
31989
|
# ],
|
|
31984
31990
|
# max_results: 1,
|
|
31985
31991
|
# next_token: "NextToken",
|
|
31992
|
+
# include_unsupported_in_region: false,
|
|
31986
31993
|
# })
|
|
31987
31994
|
#
|
|
31988
31995
|
# @example Response structure
|
|
@@ -32121,6 +32128,7 @@ module Aws::EC2
|
|
|
32121
32128
|
# resp.instance_types[0].neuron_info.total_neuron_device_memory_in_mi_b #=> Integer
|
|
32122
32129
|
# resp.instance_types[0].phc_support #=> String, one of "unsupported", "supported"
|
|
32123
32130
|
# resp.instance_types[0].reboot_migration_support #=> String, one of "unsupported", "supported"
|
|
32131
|
+
# resp.instance_types[0].supported_in_region #=> Boolean
|
|
32124
32132
|
# resp.next_token #=> String
|
|
32125
32133
|
#
|
|
32126
32134
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceTypes AWS API Documentation
|
|
@@ -45426,9 +45434,6 @@ module Aws::EC2
|
|
|
45426
45434
|
# resp.volumes_modifications[0].progress #=> Integer
|
|
45427
45435
|
# resp.volumes_modifications[0].start_time #=> Time
|
|
45428
45436
|
# resp.volumes_modifications[0].end_time #=> Time
|
|
45429
|
-
# resp.volumes_modifications[0].operator.managed #=> Boolean
|
|
45430
|
-
# resp.volumes_modifications[0].operator.principal #=> String
|
|
45431
|
-
# resp.volumes_modifications[0].operator.hidden_by_default #=> Boolean
|
|
45432
45437
|
#
|
|
45433
45438
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModifications AWS API Documentation
|
|
45434
45439
|
#
|
|
@@ -63546,9 +63551,6 @@ module Aws::EC2
|
|
|
63546
63551
|
# resp.volume_modification.progress #=> Integer
|
|
63547
63552
|
# resp.volume_modification.start_time #=> Time
|
|
63548
63553
|
# resp.volume_modification.end_time #=> Time
|
|
63549
|
-
# resp.volume_modification.operator.managed #=> Boolean
|
|
63550
|
-
# resp.volume_modification.operator.principal #=> String
|
|
63551
|
-
# resp.volume_modification.operator.hidden_by_default #=> Boolean
|
|
63552
63554
|
#
|
|
63553
63555
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolume AWS API Documentation
|
|
63554
63556
|
#
|
|
@@ -66425,7 +66427,7 @@ module Aws::EC2
|
|
|
66425
66427
|
# billing_products: ["String"],
|
|
66426
66428
|
# boot_mode: "legacy-bios", # accepts legacy-bios, uefi, uefi-preferred
|
|
66427
66429
|
# tpm_support: "v2.0", # accepts v2.0
|
|
66428
|
-
# uefi_data: "
|
|
66430
|
+
# uefi_data: "ImageUefiDataRequest",
|
|
66429
66431
|
# imds_support: "v2.0", # accepts v2.0
|
|
66430
66432
|
# tag_specifications: [
|
|
66431
66433
|
# {
|
|
@@ -66439,8 +66441,8 @@ module Aws::EC2
|
|
|
66439
66441
|
# },
|
|
66440
66442
|
# ],
|
|
66441
66443
|
# dry_run: false,
|
|
66442
|
-
# name: "
|
|
66443
|
-
# description: "
|
|
66444
|
+
# name: "ImageNameRequest", # required
|
|
66445
|
+
# description: "ImageDescriptionRequest",
|
|
66444
66446
|
# architecture: "i386", # accepts i386, x86_64, arm64, x86_64_mac, arm64_mac
|
|
66445
66447
|
# kernel_id: "KernelId",
|
|
66446
66448
|
# ramdisk_id: "RamdiskId",
|
|
@@ -67240,7 +67242,7 @@ module Aws::EC2
|
|
|
67240
67242
|
# {
|
|
67241
67243
|
# image_providers: ["ImageProviderRequest"],
|
|
67242
67244
|
# marketplace_product_codes: ["MarketplaceProductCodeRequest"],
|
|
67243
|
-
# image_names: ["
|
|
67245
|
+
# image_names: ["ImageNameCriteriaRequest"],
|
|
67244
67246
|
# deprecation_time_condition: {
|
|
67245
67247
|
# maximum_days_since_deprecated: 1,
|
|
67246
67248
|
# },
|
|
@@ -73555,7 +73557,7 @@ module Aws::EC2
|
|
|
73555
73557
|
tracer: tracer
|
|
73556
73558
|
)
|
|
73557
73559
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
73558
|
-
context[:gem_version] = '1.
|
|
73560
|
+
context[:gem_version] = '1.616.0'
|
|
73559
73561
|
Seahorse::Client::Request.new(handlers, context)
|
|
73560
73562
|
end
|
|
73561
73563
|
|
|
@@ -481,6 +481,7 @@ module Aws::EC2
|
|
|
481
481
|
CoolOffPeriodResponseHours = Shapes::IntegerShape.new(name: 'CoolOffPeriodResponseHours')
|
|
482
482
|
CopyFpgaImageRequest = Shapes::StructureShape.new(name: 'CopyFpgaImageRequest')
|
|
483
483
|
CopyFpgaImageResult = Shapes::StructureShape.new(name: 'CopyFpgaImageResult')
|
|
484
|
+
CopyImageClientToken = Shapes::StringShape.new(name: 'CopyImageClientToken')
|
|
484
485
|
CopyImageRequest = Shapes::StructureShape.new(name: 'CopyImageRequest')
|
|
485
486
|
CopyImageResult = Shapes::StructureShape.new(name: 'CopyImageResult')
|
|
486
487
|
CopySnapshotRequest = Shapes::StructureShape.new(name: 'CopySnapshotRequest')
|
|
@@ -541,6 +542,7 @@ module Aws::EC2
|
|
|
541
542
|
CreateFpgaImageResult = Shapes::StructureShape.new(name: 'CreateFpgaImageResult')
|
|
542
543
|
CreateImageRequest = Shapes::StructureShape.new(name: 'CreateImageRequest')
|
|
543
544
|
CreateImageResult = Shapes::StructureShape.new(name: 'CreateImageResult')
|
|
545
|
+
CreateImageUsageReportClientToken = Shapes::StringShape.new(name: 'CreateImageUsageReportClientToken')
|
|
544
546
|
CreateImageUsageReportRequest = Shapes::StructureShape.new(name: 'CreateImageUsageReportRequest')
|
|
545
547
|
CreateImageUsageReportResult = Shapes::StructureShape.new(name: 'CreateImageUsageReportResult')
|
|
546
548
|
CreateInstanceConnectEndpointRequest = Shapes::StructureShape.new(name: 'CreateInstanceConnectEndpointRequest')
|
|
@@ -2003,6 +2005,7 @@ module Aws::EC2
|
|
|
2003
2005
|
ImageCriterionList = Shapes::ListShape.new(name: 'ImageCriterionList')
|
|
2004
2006
|
ImageCriterionRequest = Shapes::StructureShape.new(name: 'ImageCriterionRequest')
|
|
2005
2007
|
ImageCriterionRequestList = Shapes::ListShape.new(name: 'ImageCriterionRequestList')
|
|
2008
|
+
ImageDescriptionRequest = Shapes::StringShape.new(name: 'ImageDescriptionRequest')
|
|
2006
2009
|
ImageDiskContainer = Shapes::StructureShape.new(name: 'ImageDiskContainer')
|
|
2007
2010
|
ImageDiskContainerList = Shapes::ListShape.new(name: 'ImageDiskContainerList')
|
|
2008
2011
|
ImageId = Shapes::StringShape.new(name: 'ImageId')
|
|
@@ -2011,9 +2014,10 @@ module Aws::EC2
|
|
|
2011
2014
|
ImageList = Shapes::ListShape.new(name: 'ImageList')
|
|
2012
2015
|
ImageMetadata = Shapes::StructureShape.new(name: 'ImageMetadata')
|
|
2013
2016
|
ImageName = Shapes::StringShape.new(name: 'ImageName')
|
|
2017
|
+
ImageNameCriteriaRequest = Shapes::StringShape.new(name: 'ImageNameCriteriaRequest')
|
|
2018
|
+
ImageNameCriteriaRequestList = Shapes::ListShape.new(name: 'ImageNameCriteriaRequestList')
|
|
2014
2019
|
ImageNameList = Shapes::ListShape.new(name: 'ImageNameList')
|
|
2015
2020
|
ImageNameRequest = Shapes::StringShape.new(name: 'ImageNameRequest')
|
|
2016
|
-
ImageNameRequestList = Shapes::ListShape.new(name: 'ImageNameRequestList')
|
|
2017
2021
|
ImageProvider = Shapes::StringShape.new(name: 'ImageProvider')
|
|
2018
2022
|
ImageProviderList = Shapes::ListShape.new(name: 'ImageProviderList')
|
|
2019
2023
|
ImageProviderRequest = Shapes::StringShape.new(name: 'ImageProviderRequest')
|
|
@@ -2026,6 +2030,7 @@ module Aws::EC2
|
|
|
2026
2030
|
ImageReferenceResourceType = Shapes::StringShape.new(name: 'ImageReferenceResourceType')
|
|
2027
2031
|
ImageState = Shapes::StringShape.new(name: 'ImageState')
|
|
2028
2032
|
ImageTypeValues = Shapes::StringShape.new(name: 'ImageTypeValues')
|
|
2033
|
+
ImageUefiDataRequest = Shapes::StringShape.new(name: 'ImageUefiDataRequest')
|
|
2029
2034
|
ImageUsageReport = Shapes::StructureShape.new(name: 'ImageUsageReport')
|
|
2030
2035
|
ImageUsageReportEntry = Shapes::StructureShape.new(name: 'ImageUsageReportEntry')
|
|
2031
2036
|
ImageUsageReportEntryList = Shapes::ListShape.new(name: 'ImageUsageReportEntryList')
|
|
@@ -2078,6 +2083,7 @@ module Aws::EC2
|
|
|
2078
2083
|
ImportVolumeRequest = Shapes::StructureShape.new(name: 'ImportVolumeRequest')
|
|
2079
2084
|
ImportVolumeResult = Shapes::StructureShape.new(name: 'ImportVolumeResult')
|
|
2080
2085
|
ImportVolumeTaskDetails = Shapes::StructureShape.new(name: 'ImportVolumeTaskDetails')
|
|
2086
|
+
IncludeUnsupportedInRegion = Shapes::BooleanShape.new(name: 'IncludeUnsupportedInRegion')
|
|
2081
2087
|
InferenceAcceleratorInfo = Shapes::StructureShape.new(name: 'InferenceAcceleratorInfo')
|
|
2082
2088
|
InferenceDeviceCount = Shapes::IntegerShape.new(name: 'InferenceDeviceCount')
|
|
2083
2089
|
InferenceDeviceInfo = Shapes::StructureShape.new(name: 'InferenceDeviceInfo')
|
|
@@ -3542,7 +3548,6 @@ module Aws::EC2
|
|
|
3542
3548
|
StoreImageTaskResultSet = Shapes::ListShape.new(name: 'StoreImageTaskResultSet')
|
|
3543
3549
|
String = Shapes::StringShape.new(name: 'String')
|
|
3544
3550
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
|
3545
|
-
StringType = Shapes::StringShape.new(name: 'StringType')
|
|
3546
3551
|
Subnet = Shapes::StructureShape.new(name: 'Subnet')
|
|
3547
3552
|
SubnetAssociation = Shapes::StructureShape.new(name: 'SubnetAssociation')
|
|
3548
3553
|
SubnetAssociationList = Shapes::ListShape.new(name: 'SubnetAssociationList')
|
|
@@ -3573,6 +3578,7 @@ module Aws::EC2
|
|
|
3573
3578
|
SummaryStatus = Shapes::StringShape.new(name: 'SummaryStatus')
|
|
3574
3579
|
SupportedAdditionalProcessorFeature = Shapes::StringShape.new(name: 'SupportedAdditionalProcessorFeature')
|
|
3575
3580
|
SupportedAdditionalProcessorFeatureList = Shapes::ListShape.new(name: 'SupportedAdditionalProcessorFeatureList')
|
|
3581
|
+
SupportedInRegion = Shapes::BooleanShape.new(name: 'SupportedInRegion')
|
|
3576
3582
|
SupportedIpAddressTypes = Shapes::ListShape.new(name: 'SupportedIpAddressTypes')
|
|
3577
3583
|
SupportedRegionDetail = Shapes::StructureShape.new(name: 'SupportedRegionDetail')
|
|
3578
3584
|
SupportedRegionSet = Shapes::ListShape.new(name: 'SupportedRegionSet')
|
|
@@ -5613,11 +5619,11 @@ module Aws::EC2
|
|
|
5613
5619
|
CopyFpgaImageResult.add_member(:fpga_image_id, Shapes::ShapeRef.new(shape: String, location_name: "fpgaImageId"))
|
|
5614
5620
|
CopyFpgaImageResult.struct_class = Types::CopyFpgaImageResult
|
|
5615
5621
|
|
|
5616
|
-
CopyImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape:
|
|
5617
|
-
CopyImageRequest.add_member(:description, Shapes::ShapeRef.new(shape:
|
|
5622
|
+
CopyImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: CopyImageClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
5623
|
+
CopyImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: ImageDescriptionRequest, location_name: "Description"))
|
|
5618
5624
|
CopyImageRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
|
5619
5625
|
CopyImageRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
|
5620
|
-
CopyImageRequest.add_member(:name, Shapes::ShapeRef.new(shape:
|
|
5626
|
+
CopyImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: ImageNameRequest, required: true, location_name: "Name"))
|
|
5621
5627
|
CopyImageRequest.add_member(:source_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceImageId"))
|
|
5622
5628
|
CopyImageRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceRegion"))
|
|
5623
5629
|
CopyImageRequest.add_member(:destination_outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationOutpostArn"))
|
|
@@ -5958,8 +5964,8 @@ module Aws::EC2
|
|
|
5958
5964
|
CreateImageRequest.add_member(:snapshot_location, Shapes::ShapeRef.new(shape: SnapshotLocationEnum, location_name: "SnapshotLocation"))
|
|
5959
5965
|
CreateImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
5960
5966
|
CreateImageRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "instanceId"))
|
|
5961
|
-
CreateImageRequest.add_member(:name, Shapes::ShapeRef.new(shape:
|
|
5962
|
-
CreateImageRequest.add_member(:description, Shapes::ShapeRef.new(shape:
|
|
5967
|
+
CreateImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: ImageNameRequest, required: true, location_name: "name"))
|
|
5968
|
+
CreateImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: ImageDescriptionRequest, location_name: "description"))
|
|
5963
5969
|
CreateImageRequest.add_member(:no_reboot, Shapes::ShapeRef.new(shape: Boolean, location_name: "noReboot"))
|
|
5964
5970
|
CreateImageRequest.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappingRequestList, location_name: "blockDeviceMapping"))
|
|
5965
5971
|
CreateImageRequest.struct_class = Types::CreateImageRequest
|
|
@@ -5971,7 +5977,7 @@ module Aws::EC2
|
|
|
5971
5977
|
CreateImageUsageReportRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
5972
5978
|
CreateImageUsageReportRequest.add_member(:resource_types, Shapes::ShapeRef.new(shape: ImageUsageResourceTypeRequestList, required: true, location_name: "ResourceType"))
|
|
5973
5979
|
CreateImageUsageReportRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: ImageUsageReportUserIdStringList, location_name: "AccountId"))
|
|
5974
|
-
CreateImageUsageReportRequest.add_member(:client_token, Shapes::ShapeRef.new(shape:
|
|
5980
|
+
CreateImageUsageReportRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: CreateImageUsageReportClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
5975
5981
|
CreateImageUsageReportRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
|
5976
5982
|
CreateImageUsageReportRequest.struct_class = Types::CreateImageUsageReportRequest
|
|
5977
5983
|
|
|
@@ -6398,7 +6404,7 @@ module Aws::EC2
|
|
|
6398
6404
|
|
|
6399
6405
|
CreateRestoreImageTaskRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Bucket"))
|
|
6400
6406
|
CreateRestoreImageTaskRequest.add_member(:object_key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ObjectKey"))
|
|
6401
|
-
CreateRestoreImageTaskRequest.add_member(:name, Shapes::ShapeRef.new(shape:
|
|
6407
|
+
CreateRestoreImageTaskRequest.add_member(:name, Shapes::ShapeRef.new(shape: ImageNameRequest, location_name: "Name"))
|
|
6402
6408
|
CreateRestoreImageTaskRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
|
6403
6409
|
CreateRestoreImageTaskRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
6404
6410
|
CreateRestoreImageTaskRequest.struct_class = Types::CreateRestoreImageTaskRequest
|
|
@@ -8655,6 +8661,7 @@ module Aws::EC2
|
|
|
8655
8661
|
DescribeInstanceTypesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
|
8656
8662
|
DescribeInstanceTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DITMaxResults, location_name: "MaxResults"))
|
|
8657
8663
|
DescribeInstanceTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
8664
|
+
DescribeInstanceTypesRequest.add_member(:include_unsupported_in_region, Shapes::ShapeRef.new(shape: IncludeUnsupportedInRegion, location_name: "IncludeUnsupportedInRegion"))
|
|
8658
8665
|
DescribeInstanceTypesRequest.struct_class = Types::DescribeInstanceTypesRequest
|
|
8659
8666
|
|
|
8660
8667
|
DescribeInstanceTypesResult.add_member(:instance_types, Shapes::ShapeRef.new(shape: InstanceTypeInfoList, location_name: "instanceTypeSet"))
|
|
@@ -12232,7 +12239,7 @@ module Aws::EC2
|
|
|
12232
12239
|
|
|
12233
12240
|
ImageCriterionRequest.add_member(:image_providers, Shapes::ShapeRef.new(shape: ImageProviderRequestList, location_name: "ImageProvider"))
|
|
12234
12241
|
ImageCriterionRequest.add_member(:marketplace_product_codes, Shapes::ShapeRef.new(shape: MarketplaceProductCodeRequestList, location_name: "MarketplaceProductCode"))
|
|
12235
|
-
ImageCriterionRequest.add_member(:image_names, Shapes::ShapeRef.new(shape:
|
|
12242
|
+
ImageCriterionRequest.add_member(:image_names, Shapes::ShapeRef.new(shape: ImageNameCriteriaRequestList, location_name: "ImageName"))
|
|
12236
12243
|
ImageCriterionRequest.add_member(:deprecation_time_condition, Shapes::ShapeRef.new(shape: DeprecationTimeConditionRequest, location_name: "DeprecationTimeCondition"))
|
|
12237
12244
|
ImageCriterionRequest.add_member(:creation_date_condition, Shapes::ShapeRef.new(shape: CreationDateConditionRequest, location_name: "CreationDateCondition"))
|
|
12238
12245
|
ImageCriterionRequest.struct_class = Types::ImageCriterionRequest
|
|
@@ -12266,9 +12273,9 @@ module Aws::EC2
|
|
|
12266
12273
|
ImageMetadata.add_member(:is_public, Shapes::ShapeRef.new(shape: Boolean, location_name: "isPublic"))
|
|
12267
12274
|
ImageMetadata.struct_class = Types::ImageMetadata
|
|
12268
12275
|
|
|
12269
|
-
|
|
12276
|
+
ImageNameCriteriaRequestList.member = Shapes::ShapeRef.new(shape: ImageNameCriteriaRequest, location_name: "item")
|
|
12270
12277
|
|
|
12271
|
-
|
|
12278
|
+
ImageNameList.member = Shapes::ShapeRef.new(shape: ImageName, location_name: "item")
|
|
12272
12279
|
|
|
12273
12280
|
ImageProviderList.member = Shapes::ShapeRef.new(shape: ImageProvider, location_name: "item")
|
|
12274
12281
|
|
|
@@ -13114,6 +13121,7 @@ module Aws::EC2
|
|
|
13114
13121
|
InstanceTypeInfo.add_member(:neuron_info, Shapes::ShapeRef.new(shape: NeuronInfo, location_name: "neuronInfo"))
|
|
13115
13122
|
InstanceTypeInfo.add_member(:phc_support, Shapes::ShapeRef.new(shape: PhcSupport, location_name: "phcSupport"))
|
|
13116
13123
|
InstanceTypeInfo.add_member(:reboot_migration_support, Shapes::ShapeRef.new(shape: RebootMigrationSupport, location_name: "rebootMigrationSupport"))
|
|
13124
|
+
InstanceTypeInfo.add_member(:supported_in_region, Shapes::ShapeRef.new(shape: SupportedInRegion, location_name: "supportedInRegion"))
|
|
13117
13125
|
InstanceTypeInfo.struct_class = Types::InstanceTypeInfo
|
|
13118
13126
|
|
|
13119
13127
|
InstanceTypeInfoFromInstanceRequirements.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
|
@@ -16290,12 +16298,12 @@ module Aws::EC2
|
|
|
16290
16298
|
RegisterImageRequest.add_member(:billing_products, Shapes::ShapeRef.new(shape: BillingProductList, location_name: "BillingProduct"))
|
|
16291
16299
|
RegisterImageRequest.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "BootMode"))
|
|
16292
16300
|
RegisterImageRequest.add_member(:tpm_support, Shapes::ShapeRef.new(shape: TpmSupportValues, location_name: "TpmSupport"))
|
|
16293
|
-
RegisterImageRequest.add_member(:uefi_data, Shapes::ShapeRef.new(shape:
|
|
16301
|
+
RegisterImageRequest.add_member(:uefi_data, Shapes::ShapeRef.new(shape: ImageUefiDataRequest, location_name: "UefiData"))
|
|
16294
16302
|
RegisterImageRequest.add_member(:imds_support, Shapes::ShapeRef.new(shape: ImdsSupportValues, location_name: "ImdsSupport"))
|
|
16295
16303
|
RegisterImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
|
16296
16304
|
RegisterImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
16297
|
-
RegisterImageRequest.add_member(:name, Shapes::ShapeRef.new(shape:
|
|
16298
|
-
RegisterImageRequest.add_member(:description, Shapes::ShapeRef.new(shape:
|
|
16305
|
+
RegisterImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: ImageNameRequest, required: true, location_name: "name"))
|
|
16306
|
+
RegisterImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: ImageDescriptionRequest, location_name: "description"))
|
|
16299
16307
|
RegisterImageRequest.add_member(:architecture, Shapes::ShapeRef.new(shape: ArchitectureValues, location_name: "architecture"))
|
|
16300
16308
|
RegisterImageRequest.add_member(:kernel_id, Shapes::ShapeRef.new(shape: KernelId, location_name: "kernelId"))
|
|
16301
16309
|
RegisterImageRequest.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape: RamdiskId, location_name: "ramdiskId"))
|
|
@@ -19269,7 +19277,6 @@ module Aws::EC2
|
|
|
19269
19277
|
VolumeModification.add_member(:progress, Shapes::ShapeRef.new(shape: Long, location_name: "progress"))
|
|
19270
19278
|
VolumeModification.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "startTime"))
|
|
19271
19279
|
VolumeModification.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "endTime"))
|
|
19272
|
-
VolumeModification.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
|
|
19273
19280
|
VolumeModification.struct_class = Types::VolumeModification
|
|
19274
19281
|
|
|
19275
19282
|
VolumeModificationList.member = Shapes::ShapeRef.new(shape: VolumeModification, location_name: "item")
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
|
@@ -806,8 +806,8 @@ module Aws::EC2
|
|
|
806
806
|
# ],
|
|
807
807
|
# snapshot_location: "regional", # accepts regional, local
|
|
808
808
|
# dry_run: false,
|
|
809
|
-
# name: "
|
|
810
|
-
# description: "
|
|
809
|
+
# name: "ImageNameRequest", # required
|
|
810
|
+
# description: "ImageDescriptionRequest",
|
|
811
811
|
# no_reboot: false,
|
|
812
812
|
# block_device_mappings: [
|
|
813
813
|
# {
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
|
@@ -2019,7 +2019,7 @@ module Aws::EC2
|
|
|
2019
2019
|
# billing_products: ["String"],
|
|
2020
2020
|
# boot_mode: "legacy-bios", # accepts legacy-bios, uefi, uefi-preferred
|
|
2021
2021
|
# tpm_support: "v2.0", # accepts v2.0
|
|
2022
|
-
# uefi_data: "
|
|
2022
|
+
# uefi_data: "ImageUefiDataRequest",
|
|
2023
2023
|
# imds_support: "v2.0", # accepts v2.0
|
|
2024
2024
|
# tag_specifications: [
|
|
2025
2025
|
# {
|
|
@@ -2033,8 +2033,8 @@ module Aws::EC2
|
|
|
2033
2033
|
# },
|
|
2034
2034
|
# ],
|
|
2035
2035
|
# dry_run: false,
|
|
2036
|
-
# name: "
|
|
2037
|
-
# description: "
|
|
2036
|
+
# name: "ImageNameRequest", # required
|
|
2037
|
+
# description: "ImageDescriptionRequest",
|
|
2038
2038
|
# architecture: "i386", # accepts i386, x86_64, arm64, x86_64_mac, arm64_mac
|
|
2039
2039
|
# kernel_id: "KernelId",
|
|
2040
2040
|
# ramdisk_id: "RamdiskId",
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -26654,6 +26654,12 @@ module Aws::EC2
|
|
|
26654
26654
|
# request.
|
|
26655
26655
|
# @return [String]
|
|
26656
26656
|
#
|
|
26657
|
+
# @!attribute [rw] include_unsupported_in_region
|
|
26658
|
+
# If `true`, the response includes instance types that are not
|
|
26659
|
+
# supported in the current Region, in addition to the supported types.
|
|
26660
|
+
# Default: `false`.
|
|
26661
|
+
# @return [Boolean]
|
|
26662
|
+
#
|
|
26657
26663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceTypesRequest AWS API Documentation
|
|
26658
26664
|
#
|
|
26659
26665
|
class DescribeInstanceTypesRequest < Struct.new(
|
|
@@ -26661,7 +26667,8 @@ module Aws::EC2
|
|
|
26661
26667
|
:instance_types,
|
|
26662
26668
|
:filters,
|
|
26663
26669
|
:max_results,
|
|
26664
|
-
:next_token
|
|
26670
|
+
:next_token,
|
|
26671
|
+
:include_unsupported_in_region)
|
|
26665
26672
|
SENSITIVE = []
|
|
26666
26673
|
include Aws::Structure
|
|
26667
26674
|
end
|
|
@@ -53671,6 +53678,11 @@ module Aws::EC2
|
|
|
53671
53678
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration
|
|
53672
53679
|
# @return [String]
|
|
53673
53680
|
#
|
|
53681
|
+
# @!attribute [rw] supported_in_region
|
|
53682
|
+
# Indicates whether the instance type is supported in the current
|
|
53683
|
+
# Region.
|
|
53684
|
+
# @return [Boolean]
|
|
53685
|
+
#
|
|
53674
53686
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceTypeInfo AWS API Documentation
|
|
53675
53687
|
#
|
|
53676
53688
|
class InstanceTypeInfo < Struct.new(
|
|
@@ -53704,7 +53716,8 @@ module Aws::EC2
|
|
|
53704
53716
|
:media_accelerator_info,
|
|
53705
53717
|
:neuron_info,
|
|
53706
53718
|
:phc_support,
|
|
53707
|
-
:reboot_migration_support
|
|
53719
|
+
:reboot_migration_support,
|
|
53720
|
+
:supported_in_region)
|
|
53708
53721
|
SENSITIVE = []
|
|
53709
53722
|
include Aws::Structure
|
|
53710
53723
|
end
|
|
@@ -85791,11 +85804,6 @@ module Aws::EC2
|
|
|
85791
85804
|
# The modification completion or failure time.
|
|
85792
85805
|
# @return [Time]
|
|
85793
85806
|
#
|
|
85794
|
-
# @!attribute [rw] operator
|
|
85795
|
-
# Describes whether the resource is managed by a service provider and,
|
|
85796
|
-
# if so, describes the service provider that manages it.
|
|
85797
|
-
# @return [Types::OperatorResponse]
|
|
85798
|
-
#
|
|
85799
85807
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeModification AWS API Documentation
|
|
85800
85808
|
#
|
|
85801
85809
|
class VolumeModification < Struct.new(
|
|
@@ -85814,8 +85822,7 @@ module Aws::EC2
|
|
|
85814
85822
|
:original_multi_attach_enabled,
|
|
85815
85823
|
:progress,
|
|
85816
85824
|
:start_time,
|
|
85817
|
-
:end_time
|
|
85818
|
-
:operator)
|
|
85825
|
+
:end_time)
|
|
85819
85826
|
SENSITIVE = []
|
|
85820
85827
|
include Aws::Structure
|
|
85821
85828
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -7294,7 +7294,8 @@ module Aws
|
|
|
7294
7294
|
},
|
|
7295
7295
|
],
|
|
7296
7296
|
?max_results: ::Integer,
|
|
7297
|
-
?next_token: ::String
|
|
7297
|
+
?next_token: ::String,
|
|
7298
|
+
?include_unsupported_in_region: bool
|
|
7298
7299
|
) -> _DescribeInstanceTypesResponseSuccess
|
|
7299
7300
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeInstanceTypesResponseSuccess
|
|
7300
7301
|
|
data/sig/types.rbs
CHANGED
|
@@ -6006,6 +6006,7 @@ module Aws::EC2
|
|
|
6006
6006
|
attr_accessor filters: ::Array[Types::Filter]
|
|
6007
6007
|
attr_accessor max_results: ::Integer
|
|
6008
6008
|
attr_accessor next_token: ::String
|
|
6009
|
+
attr_accessor include_unsupported_in_region: bool
|
|
6009
6010
|
SENSITIVE: []
|
|
6010
6011
|
end
|
|
6011
6012
|
|
|
@@ -11633,6 +11634,7 @@ module Aws::EC2
|
|
|
11633
11634
|
attr_accessor neuron_info: Types::NeuronInfo
|
|
11634
11635
|
attr_accessor phc_support: ("unsupported" | "supported")
|
|
11635
11636
|
attr_accessor reboot_migration_support: ("unsupported" | "supported")
|
|
11637
|
+
attr_accessor supported_in_region: bool
|
|
11636
11638
|
SENSITIVE: []
|
|
11637
11639
|
end
|
|
11638
11640
|
|
|
@@ -18546,7 +18548,6 @@ module Aws::EC2
|
|
|
18546
18548
|
attr_accessor progress: ::Integer
|
|
18547
18549
|
attr_accessor start_time: ::Time
|
|
18548
18550
|
attr_accessor end_time: ::Time
|
|
18549
|
-
attr_accessor operator: Types::OperatorResponse
|
|
18550
18551
|
SENSITIVE: []
|
|
18551
18552
|
end
|
|
18552
18553
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-ec2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.616.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.247.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.247.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|