aws-sdk-ec2 1.660.0 → 1.662.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 +412 -4
- data/lib/aws-sdk-ec2/client_api.rb +128 -0
- data/lib/aws-sdk-ec2/image.rb +11 -0
- data/lib/aws-sdk-ec2/resource.rb +43 -0
- data/lib/aws-sdk-ec2/types.rb +711 -2
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +47 -8
- data/sig/image.rbs +3 -0
- data/sig/params.rbs +42 -36
- data/sig/types.rbs +95 -3
- 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: cf8d43e346afbaa1d1bef35e7a878eb3a252181c6fd3348e8e6a7b26eec4928a
|
|
4
|
+
data.tar.gz: 38b1791f3a3a6334d6d6f69ea269f6d58af4cc03ba09df297da7ac7cd9fedaa3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e135d2b0d0e0cddf913019dff16a94aa90e7f37eb89a0c39a6ec9a058af72534bccd91ac553ca99b4ee53f891fb863355ac718df4a9940394d5a16c71267092d
|
|
7
|
+
data.tar.gz: df32e834243af70d7b3606f25583a2c8bf8ccbd098ab0eda835144bedf583509b5061d42ef1dee326908043b84e847c4f8d7122a4f3b0e0c954db3fafd8a9390
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.662.0 (2026-10-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon EC2 Capacity Manager adds supportability checks and capacity fulfillment metrics. Use GetCapacityManagerSupportabilityScores to score how well instance types and Availability Zones can support a capacity request, and GetCapacityManagerMetricData to retrieve fulfillment metrics.
|
|
8
|
+
|
|
9
|
+
1.661.0 (2026-10-27)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - EC2 AMIs can now show vulnerability data and be targeted directly for scanning.
|
|
13
|
+
|
|
4
14
|
1.660.0 (2026-10-22)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.662.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -7069,6 +7069,15 @@ module Aws::EC2
|
|
|
7069
7069
|
# Information about the instance types for which to reserve the
|
|
7070
7070
|
# capacity.
|
|
7071
7071
|
#
|
|
7072
|
+
# @option params [Types::InstanceRequirementsRequest] :instance_requirements
|
|
7073
|
+
# Reserved for internal use.
|
|
7074
|
+
#
|
|
7075
|
+
# @option params [String] :availability_zone
|
|
7076
|
+
# Reserved for internal use.
|
|
7077
|
+
#
|
|
7078
|
+
# @option params [String] :availability_zone_id
|
|
7079
|
+
# Reserved for internal use.
|
|
7080
|
+
#
|
|
7072
7081
|
# @option params [String] :tenancy
|
|
7073
7082
|
# Indicates the tenancy of the Capacity Reservation Fleet. All Capacity
|
|
7074
7083
|
# Reservations in the Fleet inherit this tenancy. The Capacity
|
|
@@ -7155,6 +7164,71 @@ module Aws::EC2
|
|
|
7155
7164
|
# priority: 1,
|
|
7156
7165
|
# },
|
|
7157
7166
|
# ],
|
|
7167
|
+
# instance_requirements: {
|
|
7168
|
+
# v_cpu_count: { # required
|
|
7169
|
+
# min: 1, # required
|
|
7170
|
+
# max: 1,
|
|
7171
|
+
# },
|
|
7172
|
+
# memory_mi_b: { # required
|
|
7173
|
+
# min: 1, # required
|
|
7174
|
+
# max: 1,
|
|
7175
|
+
# },
|
|
7176
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services, apple
|
|
7177
|
+
# memory_gi_b_per_v_cpu: {
|
|
7178
|
+
# min: 1.0,
|
|
7179
|
+
# max: 1.0,
|
|
7180
|
+
# },
|
|
7181
|
+
# excluded_instance_types: ["ExcludedInstanceType"],
|
|
7182
|
+
# instance_generations: ["current"], # accepts current, previous
|
|
7183
|
+
# spot_max_price_percentage_over_lowest_price: 1,
|
|
7184
|
+
# on_demand_max_price_percentage_over_lowest_price: 1,
|
|
7185
|
+
# bare_metal: "included", # accepts included, required, excluded
|
|
7186
|
+
# burstable_performance: "included", # accepts included, required, excluded
|
|
7187
|
+
# require_hibernate_support: false,
|
|
7188
|
+
# network_interface_count: {
|
|
7189
|
+
# min: 1,
|
|
7190
|
+
# max: 1,
|
|
7191
|
+
# },
|
|
7192
|
+
# local_storage: "included", # accepts included, required, excluded
|
|
7193
|
+
# local_storage_types: ["hdd"], # accepts hdd, ssd
|
|
7194
|
+
# total_local_storage_gb: {
|
|
7195
|
+
# min: 1.0,
|
|
7196
|
+
# max: 1.0,
|
|
7197
|
+
# },
|
|
7198
|
+
# baseline_ebs_bandwidth_mbps: {
|
|
7199
|
+
# min: 1,
|
|
7200
|
+
# max: 1,
|
|
7201
|
+
# },
|
|
7202
|
+
# accelerator_types: ["gpu"], # accepts gpu, fpga, inference, media
|
|
7203
|
+
# accelerator_count: {
|
|
7204
|
+
# min: 1,
|
|
7205
|
+
# max: 1,
|
|
7206
|
+
# },
|
|
7207
|
+
# accelerator_manufacturers: ["amazon-web-services"], # accepts amazon-web-services, amd, nvidia, xilinx, habana
|
|
7208
|
+
# accelerator_names: ["a100"], # accepts a100, inferentia, k520, k80, m60, radeon-pro-v520, t4, vu9p, v100, a10g, h100, t4g, l40s, l4, gaudi-hl-205, inferentia2, trainium, trainium2, u30
|
|
7209
|
+
# accelerator_total_memory_mi_b: {
|
|
7210
|
+
# min: 1,
|
|
7211
|
+
# max: 1,
|
|
7212
|
+
# },
|
|
7213
|
+
# network_bandwidth_gbps: {
|
|
7214
|
+
# min: 1.0,
|
|
7215
|
+
# max: 1.0,
|
|
7216
|
+
# },
|
|
7217
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
7218
|
+
# max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
|
|
7219
|
+
# baseline_performance_factors: {
|
|
7220
|
+
# cpu: {
|
|
7221
|
+
# references: [
|
|
7222
|
+
# {
|
|
7223
|
+
# instance_family: "String",
|
|
7224
|
+
# },
|
|
7225
|
+
# ],
|
|
7226
|
+
# },
|
|
7227
|
+
# },
|
|
7228
|
+
# require_encryption_in_transit: false,
|
|
7229
|
+
# },
|
|
7230
|
+
# availability_zone: "AvailabilityZoneName",
|
|
7231
|
+
# availability_zone_id: "AvailabilityZoneId",
|
|
7158
7232
|
# tenancy: "default", # accepts default
|
|
7159
7233
|
# total_target_capacity: 1, # required
|
|
7160
7234
|
# end_date: Time.now,
|
|
@@ -28383,6 +28457,52 @@ module Aws::EC2
|
|
|
28383
28457
|
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].create_date #=> Time
|
|
28384
28458
|
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].weight #=> Float
|
|
28385
28459
|
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].priority #=> Integer
|
|
28460
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.v_cpu_count.min #=> Integer
|
|
28461
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.v_cpu_count.max #=> Integer
|
|
28462
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.memory_mi_b.min #=> Integer
|
|
28463
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.memory_mi_b.max #=> Integer
|
|
28464
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.cpu_manufacturers #=> Array
|
|
28465
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services", "apple"
|
|
28466
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
|
28467
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
|
28468
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.excluded_instance_types #=> Array
|
|
28469
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.excluded_instance_types[0] #=> String
|
|
28470
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.instance_generations #=> Array
|
|
28471
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
|
|
28472
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
|
|
28473
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
|
|
28474
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.bare_metal #=> String, one of "included", "required", "excluded"
|
|
28475
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.burstable_performance #=> String, one of "included", "required", "excluded"
|
|
28476
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.require_hibernate_support #=> Boolean
|
|
28477
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.network_interface_count.min #=> Integer
|
|
28478
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.network_interface_count.max #=> Integer
|
|
28479
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.local_storage #=> String, one of "included", "required", "excluded"
|
|
28480
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.local_storage_types #=> Array
|
|
28481
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
|
|
28482
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.total_local_storage_gb.min #=> Float
|
|
28483
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.total_local_storage_gb.max #=> Float
|
|
28484
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
|
|
28485
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
|
|
28486
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.accelerator_types #=> Array
|
|
28487
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference", "media"
|
|
28488
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.accelerator_count.min #=> Integer
|
|
28489
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.accelerator_count.max #=> Integer
|
|
28490
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.accelerator_manufacturers #=> Array
|
|
28491
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.accelerator_manufacturers[0] #=> String, one of "amazon-web-services", "amd", "nvidia", "xilinx", "habana"
|
|
28492
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.accelerator_names #=> Array
|
|
28493
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "inferentia", "k520", "k80", "m60", "radeon-pro-v520", "t4", "vu9p", "v100", "a10g", "h100", "t4g", "l40s", "l4", "gaudi-hl-205", "inferentia2", "trainium", "trainium2", "u30"
|
|
28494
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
|
28495
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
|
28496
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.network_bandwidth_gbps.min #=> Float
|
|
28497
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.network_bandwidth_gbps.max #=> Float
|
|
28498
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.allowed_instance_types #=> Array
|
|
28499
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.allowed_instance_types[0] #=> String
|
|
28500
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
|
28501
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.baseline_performance_factors.cpu.references #=> Array
|
|
28502
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
|
|
28503
|
+
# resp.capacity_reservation_fleets[0].instance_requirements.require_encryption_in_transit #=> Boolean
|
|
28504
|
+
# resp.capacity_reservation_fleets[0].availability_zone #=> String
|
|
28505
|
+
# resp.capacity_reservation_fleets[0].availability_zone_id #=> String
|
|
28386
28506
|
# resp.capacity_reservation_fleets[0].tags #=> Array
|
|
28387
28507
|
# resp.capacity_reservation_fleets[0].tags[0].key #=> String
|
|
28388
28508
|
# resp.capacity_reservation_fleets[0].tags[0].value #=> String
|
|
@@ -32271,6 +32391,49 @@ module Aws::EC2
|
|
|
32271
32391
|
# * `root-device-type` - The type of the root device volume (`ebs` \|
|
|
32272
32392
|
# `instance-store`).
|
|
32273
32393
|
#
|
|
32394
|
+
# * `scan-result.critical-fix-available-since` - The earliest date and
|
|
32395
|
+
# time, in the ISO 8601 format in the UTC time zone
|
|
32396
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
32397
|
+
# as available for a `critical` severity finding on the AMI.
|
|
32398
|
+
#
|
|
32399
|
+
# * `scan-result.finding-scan-date` - The date and time, in the ISO 8601
|
|
32400
|
+
# format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), of the most
|
|
32401
|
+
# recent Amazon Inspector scan of the AMI.
|
|
32402
|
+
#
|
|
32403
|
+
# * `scan-result.high-fix-available-since` - The earliest date and time,
|
|
32404
|
+
# in the ISO 8601 format in the UTC time zone
|
|
32405
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
32406
|
+
# as available for a `high` severity finding on the AMI.
|
|
32407
|
+
#
|
|
32408
|
+
# * `scan-result.highest-finding-severity-label` - The highest severity
|
|
32409
|
+
# among the AMI's Amazon Inspector findings, whether or not a fix is
|
|
32410
|
+
# available. The valid values are the following Amazon Inspector
|
|
32411
|
+
# severity levels:
|
|
32412
|
+
#
|
|
32413
|
+
# * `informational` - CVSS score of 0.
|
|
32414
|
+
#
|
|
32415
|
+
# * `low` - CVSS score of 0.1 to 3.9.
|
|
32416
|
+
#
|
|
32417
|
+
# * `medium` - CVSS score of 4.0 to 6.9.
|
|
32418
|
+
#
|
|
32419
|
+
# * `high` - CVSS score of 7.0 to 8.9.
|
|
32420
|
+
#
|
|
32421
|
+
# * `critical` - CVSS score of 9.0 to 10.0.
|
|
32422
|
+
# * `scan-result.informational-fix-available-since` - The earliest date
|
|
32423
|
+
# and time, in the ISO 8601 format in the UTC time zone
|
|
32424
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
32425
|
+
# as available for an `informational` severity finding on the AMI.
|
|
32426
|
+
#
|
|
32427
|
+
# * `scan-result.low-fix-available-since` - The earliest date and time,
|
|
32428
|
+
# in the ISO 8601 format in the UTC time zone
|
|
32429
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
32430
|
+
# as available for a `low` severity finding on the AMI.
|
|
32431
|
+
#
|
|
32432
|
+
# * `scan-result.medium-fix-available-since` - The earliest date and
|
|
32433
|
+
# time, in the ISO 8601 format in the UTC time zone
|
|
32434
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
32435
|
+
# as available for a `medium` severity finding on the AMI.
|
|
32436
|
+
#
|
|
32274
32437
|
# * `source-image-id` - The ID of the source AMI from which the AMI was
|
|
32275
32438
|
# created.
|
|
32276
32439
|
#
|
|
@@ -32432,6 +32595,13 @@ module Aws::EC2
|
|
|
32432
32595
|
# resp.images[0].image_watermarks[0].source_image_id #=> String
|
|
32433
32596
|
# resp.images[0].image_watermarks[0].source_image_creation_time #=> Time
|
|
32434
32597
|
# resp.images[0].image_watermarks[0].watermark_creation_time #=> Time
|
|
32598
|
+
# resp.images[0].scan_results.highest_finding_severity_label #=> String, one of "informational", "low", "medium", "high", "critical"
|
|
32599
|
+
# resp.images[0].scan_results.finding_scan_date #=> Time
|
|
32600
|
+
# resp.images[0].scan_results.informational_fix_available_since #=> Time
|
|
32601
|
+
# resp.images[0].scan_results.low_fix_available_since #=> Time
|
|
32602
|
+
# resp.images[0].scan_results.medium_fix_available_since #=> Time
|
|
32603
|
+
# resp.images[0].scan_results.high_fix_available_since #=> Time
|
|
32604
|
+
# resp.images[0].scan_results.critical_fix_available_since #=> Time
|
|
32435
32605
|
# resp.images[0].instance_type_specification.supported_instance_types #=> Array
|
|
32436
32606
|
# resp.images[0].instance_type_specification.supported_instance_types[0].instance_type #=> String
|
|
32437
32607
|
# resp.images[0].instance_type_specification.unsupported_instance_types #=> Array
|
|
@@ -54311,6 +54481,13 @@ module Aws::EC2
|
|
|
54311
54481
|
# resp.image_criteria[0].image_watermarks[0].source_image_region #=> String
|
|
54312
54482
|
# resp.image_criteria[0].image_watermarks[0].maximum_days_since_source_image_created #=> Integer
|
|
54313
54483
|
# resp.image_criteria[0].image_watermarks[0].maximum_days_since_watermark_created #=> Integer
|
|
54484
|
+
# resp.image_criteria[0].scan_result_condition.max_days_since_last_finding_scan #=> Integer
|
|
54485
|
+
# resp.image_criteria[0].scan_result_condition.maximum_severity_label #=> String, one of "informational", "low", "medium", "high", "critical"
|
|
54486
|
+
# resp.image_criteria[0].scan_result_condition.max_days_since_informational_fix_available #=> Integer
|
|
54487
|
+
# resp.image_criteria[0].scan_result_condition.max_days_since_low_fix_available #=> Integer
|
|
54488
|
+
# resp.image_criteria[0].scan_result_condition.max_days_since_medium_fix_available #=> Integer
|
|
54489
|
+
# resp.image_criteria[0].scan_result_condition.max_days_since_high_fix_available #=> Integer
|
|
54490
|
+
# resp.image_criteria[0].scan_result_condition.max_days_since_critical_fix_available #=> Integer
|
|
54314
54491
|
# resp.managed_by #=> String, one of "account", "declarative-policy"
|
|
54315
54492
|
#
|
|
54316
54493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetAllowedImagesSettings AWS API Documentation
|
|
@@ -54600,7 +54777,7 @@ module Aws::EC2
|
|
|
54600
54777
|
# @example Request syntax with placeholder values
|
|
54601
54778
|
#
|
|
54602
54779
|
# resp = client.get_capacity_manager_metric_data({
|
|
54603
|
-
# metric_names: ["reservation-total-capacity-hrs-vcpu"], # required, accepts reservation-total-capacity-hrs-vcpu, reservation-total-capacity-hrs-inst, reservation-max-size-vcpu, reservation-max-size-inst, reservation-min-size-vcpu, reservation-min-size-inst, reservation-unused-total-capacity-hrs-vcpu, reservation-unused-total-capacity-hrs-inst, reservation-unused-total-estimated-cost, reservation-max-unused-size-vcpu, reservation-max-unused-size-inst, reservation-min-unused-size-vcpu, reservation-min-unused-size-inst, reservation-max-utilization, reservation-min-utilization, reservation-avg-utilization-vcpu, reservation-avg-utilization-inst, reservation-total-count, reservation-total-estimated-cost, reservation-avg-future-size-vcpu, reservation-avg-future-size-inst, reservation-min-future-size-vcpu, reservation-min-future-size-inst, reservation-max-future-size-vcpu, reservation-max-future-size-inst, reservation-avg-committed-size-vcpu, reservation-avg-committed-size-inst, reservation-max-committed-size-vcpu, reservation-max-committed-size-inst, reservation-min-committed-size-vcpu, reservation-min-committed-size-inst, reserved-total-usage-hrs-vcpu, reserved-total-usage-hrs-inst, reserved-total-estimated-cost, unreserved-total-usage-hrs-vcpu, unreserved-total-usage-hrs-inst, unreserved-total-estimated-cost, spot-total-usage-hrs-vcpu, spot-total-usage-hrs-inst, spot-total-estimated-cost, spot-avg-run-time-before-interruption-inst, spot-max-run-time-before-interruption-inst, spot-min-run-time-before-interruption-inst, spot-total-interruptions-inst, spot-total-interruptions-vcpu, spot-total-count-inst, spot-total-count-vcpu, spot-interruption-rate-inst, spot-interruption-rate-vcpu
|
|
54780
|
+
# metric_names: ["reservation-total-capacity-hrs-vcpu"], # required, accepts reservation-total-capacity-hrs-vcpu, reservation-total-capacity-hrs-inst, reservation-max-size-vcpu, reservation-max-size-inst, reservation-min-size-vcpu, reservation-min-size-inst, reservation-unused-total-capacity-hrs-vcpu, reservation-unused-total-capacity-hrs-inst, reservation-unused-total-estimated-cost, reservation-max-unused-size-vcpu, reservation-max-unused-size-inst, reservation-min-unused-size-vcpu, reservation-min-unused-size-inst, reservation-max-utilization, reservation-min-utilization, reservation-avg-utilization-vcpu, reservation-avg-utilization-inst, reservation-total-count, reservation-total-estimated-cost, reservation-avg-future-size-vcpu, reservation-avg-future-size-inst, reservation-min-future-size-vcpu, reservation-min-future-size-inst, reservation-max-future-size-vcpu, reservation-max-future-size-inst, reservation-avg-committed-size-vcpu, reservation-avg-committed-size-inst, reservation-max-committed-size-vcpu, reservation-max-committed-size-inst, reservation-min-committed-size-vcpu, reservation-min-committed-size-inst, reserved-total-usage-hrs-vcpu, reserved-total-usage-hrs-inst, reserved-total-estimated-cost, unreserved-total-usage-hrs-vcpu, unreserved-total-usage-hrs-inst, unreserved-total-estimated-cost, spot-total-usage-hrs-vcpu, spot-total-usage-hrs-inst, spot-total-estimated-cost, spot-avg-run-time-before-interruption-inst, spot-max-run-time-before-interruption-inst, spot-min-run-time-before-interruption-inst, spot-total-interruptions-inst, spot-total-interruptions-vcpu, spot-total-count-inst, spot-total-count-vcpu, spot-interruption-rate-inst, spot-interruption-rate-vcpu, capacity-total-requested-vcpu, capacity-total-fulfilled-vcpu, spot-capacity-total-requested-vcpu, spot-capacity-total-fulfilled-vcpu, capacity-request-fulfillment-rate, avg-inst-az-count-per-requested-vcpu, inst-az-fulfillment-rate, spot-capacity-request-fulfillment-rate, spot-avg-inst-az-count-per-requested-vcpu, spot-inst-az-fulfillment-rate
|
|
54604
54781
|
# start_time: Time.now, # required
|
|
54605
54782
|
# end_time: Time.now, # required
|
|
54606
54783
|
# period: 1, # required
|
|
@@ -54645,7 +54822,7 @@ module Aws::EC2
|
|
|
54645
54822
|
# resp.metric_data_results[0].dimension.tags[0].value #=> String
|
|
54646
54823
|
# resp.metric_data_results[0].timestamp #=> Time
|
|
54647
54824
|
# resp.metric_data_results[0].metric_values #=> Array
|
|
54648
|
-
# resp.metric_data_results[0].metric_values[0].metric #=> String, one of "reservation-total-capacity-hrs-vcpu", "reservation-total-capacity-hrs-inst", "reservation-max-size-vcpu", "reservation-max-size-inst", "reservation-min-size-vcpu", "reservation-min-size-inst", "reservation-unused-total-capacity-hrs-vcpu", "reservation-unused-total-capacity-hrs-inst", "reservation-unused-total-estimated-cost", "reservation-max-unused-size-vcpu", "reservation-max-unused-size-inst", "reservation-min-unused-size-vcpu", "reservation-min-unused-size-inst", "reservation-max-utilization", "reservation-min-utilization", "reservation-avg-utilization-vcpu", "reservation-avg-utilization-inst", "reservation-total-count", "reservation-total-estimated-cost", "reservation-avg-future-size-vcpu", "reservation-avg-future-size-inst", "reservation-min-future-size-vcpu", "reservation-min-future-size-inst", "reservation-max-future-size-vcpu", "reservation-max-future-size-inst", "reservation-avg-committed-size-vcpu", "reservation-avg-committed-size-inst", "reservation-max-committed-size-vcpu", "reservation-max-committed-size-inst", "reservation-min-committed-size-vcpu", "reservation-min-committed-size-inst", "reserved-total-usage-hrs-vcpu", "reserved-total-usage-hrs-inst", "reserved-total-estimated-cost", "unreserved-total-usage-hrs-vcpu", "unreserved-total-usage-hrs-inst", "unreserved-total-estimated-cost", "spot-total-usage-hrs-vcpu", "spot-total-usage-hrs-inst", "spot-total-estimated-cost", "spot-avg-run-time-before-interruption-inst", "spot-max-run-time-before-interruption-inst", "spot-min-run-time-before-interruption-inst", "spot-total-interruptions-inst", "spot-total-interruptions-vcpu", "spot-total-count-inst", "spot-total-count-vcpu", "spot-interruption-rate-inst", "spot-interruption-rate-vcpu"
|
|
54825
|
+
# resp.metric_data_results[0].metric_values[0].metric #=> String, one of "reservation-total-capacity-hrs-vcpu", "reservation-total-capacity-hrs-inst", "reservation-max-size-vcpu", "reservation-max-size-inst", "reservation-min-size-vcpu", "reservation-min-size-inst", "reservation-unused-total-capacity-hrs-vcpu", "reservation-unused-total-capacity-hrs-inst", "reservation-unused-total-estimated-cost", "reservation-max-unused-size-vcpu", "reservation-max-unused-size-inst", "reservation-min-unused-size-vcpu", "reservation-min-unused-size-inst", "reservation-max-utilization", "reservation-min-utilization", "reservation-avg-utilization-vcpu", "reservation-avg-utilization-inst", "reservation-total-count", "reservation-total-estimated-cost", "reservation-avg-future-size-vcpu", "reservation-avg-future-size-inst", "reservation-min-future-size-vcpu", "reservation-min-future-size-inst", "reservation-max-future-size-vcpu", "reservation-max-future-size-inst", "reservation-avg-committed-size-vcpu", "reservation-avg-committed-size-inst", "reservation-max-committed-size-vcpu", "reservation-max-committed-size-inst", "reservation-min-committed-size-vcpu", "reservation-min-committed-size-inst", "reserved-total-usage-hrs-vcpu", "reserved-total-usage-hrs-inst", "reserved-total-estimated-cost", "unreserved-total-usage-hrs-vcpu", "unreserved-total-usage-hrs-inst", "unreserved-total-estimated-cost", "spot-total-usage-hrs-vcpu", "spot-total-usage-hrs-inst", "spot-total-estimated-cost", "spot-avg-run-time-before-interruption-inst", "spot-max-run-time-before-interruption-inst", "spot-min-run-time-before-interruption-inst", "spot-total-interruptions-inst", "spot-total-interruptions-vcpu", "spot-total-count-inst", "spot-total-count-vcpu", "spot-interruption-rate-inst", "spot-interruption-rate-vcpu", "capacity-total-requested-vcpu", "capacity-total-fulfilled-vcpu", "spot-capacity-total-requested-vcpu", "spot-capacity-total-fulfilled-vcpu", "capacity-request-fulfillment-rate", "avg-inst-az-count-per-requested-vcpu", "inst-az-fulfillment-rate", "spot-capacity-request-fulfillment-rate", "spot-avg-inst-az-count-per-requested-vcpu", "spot-inst-az-fulfillment-rate"
|
|
54649
54826
|
# resp.metric_data_results[0].metric_values[0].value #=> Float
|
|
54650
54827
|
# resp.next_token #=> String
|
|
54651
54828
|
#
|
|
@@ -54722,7 +54899,7 @@ module Aws::EC2
|
|
|
54722
54899
|
# ],
|
|
54723
54900
|
# start_time: Time.now, # required
|
|
54724
54901
|
# end_time: Time.now, # required
|
|
54725
|
-
# metric_names: ["reservation-total-capacity-hrs-vcpu"], # required, accepts reservation-total-capacity-hrs-vcpu, reservation-total-capacity-hrs-inst, reservation-max-size-vcpu, reservation-max-size-inst, reservation-min-size-vcpu, reservation-min-size-inst, reservation-unused-total-capacity-hrs-vcpu, reservation-unused-total-capacity-hrs-inst, reservation-unused-total-estimated-cost, reservation-max-unused-size-vcpu, reservation-max-unused-size-inst, reservation-min-unused-size-vcpu, reservation-min-unused-size-inst, reservation-max-utilization, reservation-min-utilization, reservation-avg-utilization-vcpu, reservation-avg-utilization-inst, reservation-total-count, reservation-total-estimated-cost, reservation-avg-future-size-vcpu, reservation-avg-future-size-inst, reservation-min-future-size-vcpu, reservation-min-future-size-inst, reservation-max-future-size-vcpu, reservation-max-future-size-inst, reservation-avg-committed-size-vcpu, reservation-avg-committed-size-inst, reservation-max-committed-size-vcpu, reservation-max-committed-size-inst, reservation-min-committed-size-vcpu, reservation-min-committed-size-inst, reserved-total-usage-hrs-vcpu, reserved-total-usage-hrs-inst, reserved-total-estimated-cost, unreserved-total-usage-hrs-vcpu, unreserved-total-usage-hrs-inst, unreserved-total-estimated-cost, spot-total-usage-hrs-vcpu, spot-total-usage-hrs-inst, spot-total-estimated-cost, spot-avg-run-time-before-interruption-inst, spot-max-run-time-before-interruption-inst, spot-min-run-time-before-interruption-inst, spot-total-interruptions-inst, spot-total-interruptions-vcpu, spot-total-count-inst, spot-total-count-vcpu, spot-interruption-rate-inst, spot-interruption-rate-vcpu
|
|
54902
|
+
# metric_names: ["reservation-total-capacity-hrs-vcpu"], # required, accepts reservation-total-capacity-hrs-vcpu, reservation-total-capacity-hrs-inst, reservation-max-size-vcpu, reservation-max-size-inst, reservation-min-size-vcpu, reservation-min-size-inst, reservation-unused-total-capacity-hrs-vcpu, reservation-unused-total-capacity-hrs-inst, reservation-unused-total-estimated-cost, reservation-max-unused-size-vcpu, reservation-max-unused-size-inst, reservation-min-unused-size-vcpu, reservation-min-unused-size-inst, reservation-max-utilization, reservation-min-utilization, reservation-avg-utilization-vcpu, reservation-avg-utilization-inst, reservation-total-count, reservation-total-estimated-cost, reservation-avg-future-size-vcpu, reservation-avg-future-size-inst, reservation-min-future-size-vcpu, reservation-min-future-size-inst, reservation-max-future-size-vcpu, reservation-max-future-size-inst, reservation-avg-committed-size-vcpu, reservation-avg-committed-size-inst, reservation-max-committed-size-vcpu, reservation-max-committed-size-inst, reservation-min-committed-size-vcpu, reservation-min-committed-size-inst, reserved-total-usage-hrs-vcpu, reserved-total-usage-hrs-inst, reserved-total-estimated-cost, unreserved-total-usage-hrs-vcpu, unreserved-total-usage-hrs-inst, unreserved-total-estimated-cost, spot-total-usage-hrs-vcpu, spot-total-usage-hrs-inst, spot-total-estimated-cost, spot-avg-run-time-before-interruption-inst, spot-max-run-time-before-interruption-inst, spot-min-run-time-before-interruption-inst, spot-total-interruptions-inst, spot-total-interruptions-vcpu, spot-total-count-inst, spot-total-count-vcpu, spot-interruption-rate-inst, spot-interruption-rate-vcpu, capacity-total-requested-vcpu, capacity-total-fulfilled-vcpu, spot-capacity-total-requested-vcpu, spot-capacity-total-fulfilled-vcpu, capacity-request-fulfillment-rate, avg-inst-az-count-per-requested-vcpu, inst-az-fulfillment-rate, spot-capacity-request-fulfillment-rate, spot-avg-inst-az-count-per-requested-vcpu, spot-inst-az-fulfillment-rate
|
|
54726
54903
|
# max_results: 1,
|
|
54727
54904
|
# next_token: "NextToken",
|
|
54728
54905
|
# dry_run: false,
|
|
@@ -54817,6 +54994,160 @@ module Aws::EC2
|
|
|
54817
54994
|
req.send_request(options)
|
|
54818
54995
|
end
|
|
54819
54996
|
|
|
54997
|
+
# Scores how well each instance type and Availability Zone combination
|
|
54998
|
+
# can support a capacity request, based on current Amazon EC2 capacity.
|
|
54999
|
+
# The response includes a score for each combination and an aggregate
|
|
55000
|
+
# score for all combinations in the request. This action doesn't launch
|
|
55001
|
+
# or reserve instances, and a score doesn't guarantee that a later
|
|
55002
|
+
# launch will succeed.
|
|
55003
|
+
#
|
|
55004
|
+
# Call this action in the Region where you turned on Capacity Manager. A
|
|
55005
|
+
# single request can include Availability Zones in any Region. Real-time
|
|
55006
|
+
# supportability checks are available only to Amazon Web Services
|
|
55007
|
+
# Support customers on the Unified Operations plan.
|
|
55008
|
+
#
|
|
55009
|
+
# For more information, see [Check supportability][1] in the *Amazon EC2
|
|
55010
|
+
# User Guide*.
|
|
55011
|
+
#
|
|
55012
|
+
#
|
|
55013
|
+
#
|
|
55014
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-manager-supportability.html
|
|
55015
|
+
#
|
|
55016
|
+
# @option params [required, String] :market_type
|
|
55017
|
+
# The capacity market to score.
|
|
55018
|
+
#
|
|
55019
|
+
# @option params [required, Integer] :capacity_amount
|
|
55020
|
+
# The amount of capacity that you need, in the unit that you specify for
|
|
55021
|
+
# `CapacityUnit`. Each score is relative to this amount.
|
|
55022
|
+
#
|
|
55023
|
+
# @option params [required, String] :capacity_unit
|
|
55024
|
+
# The unit for `CapacityAmount`.
|
|
55025
|
+
#
|
|
55026
|
+
# @option params [required, Array<String>] :capacity_availability_zone_ids
|
|
55027
|
+
# The IDs of the Availability Zones to score, such as `use1-az1`. You
|
|
55028
|
+
# can specify Availability Zones in different Regions. You can specify
|
|
55029
|
+
# up to 10 Availability Zones.
|
|
55030
|
+
#
|
|
55031
|
+
# @option params [Array<String>] :instance_types
|
|
55032
|
+
# The instance types to score. You can specify up to 50 instance types.
|
|
55033
|
+
#
|
|
55034
|
+
# Specify either `InstanceTypes` or `InstanceRequirementsWithMetadata`,
|
|
55035
|
+
# but not both.
|
|
55036
|
+
#
|
|
55037
|
+
# @option params [Types::InstanceRequirementsWithMetadataRequest] :instance_requirements_with_metadata
|
|
55038
|
+
# The attributes that the instance types must have, such as vCPU and
|
|
55039
|
+
# memory ranges. Capacity Manager resolves the attributes into matching
|
|
55040
|
+
# instance types and scores each one.
|
|
55041
|
+
#
|
|
55042
|
+
# Specify either `InstanceTypes` or `InstanceRequirementsWithMetadata`,
|
|
55043
|
+
# but not both.
|
|
55044
|
+
#
|
|
55045
|
+
# @option params [Boolean] :dry_run
|
|
55046
|
+
# Checks whether you have the required permissions for the action,
|
|
55047
|
+
# without actually making the request, and provides an error response.
|
|
55048
|
+
# If you have the required permissions, the error response is
|
|
55049
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
55050
|
+
#
|
|
55051
|
+
# @return [Types::GetCapacityManagerSupportabilityScoresResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
55052
|
+
#
|
|
55053
|
+
# * {Types::GetCapacityManagerSupportabilityScoresResult#aggregate_score #aggregate_score} => String
|
|
55054
|
+
# * {Types::GetCapacityManagerSupportabilityScoresResult#capacity_manager_supportability_scores #capacity_manager_supportability_scores} => Array<Types::CapacityManagerSupportabilityScore>
|
|
55055
|
+
#
|
|
55056
|
+
# @example Request syntax with placeholder values
|
|
55057
|
+
#
|
|
55058
|
+
# resp = client.get_capacity_manager_supportability_scores({
|
|
55059
|
+
# market_type: "on-demand", # required, accepts on-demand, spot
|
|
55060
|
+
# capacity_amount: 1, # required
|
|
55061
|
+
# capacity_unit: "vcpus", # required, accepts vcpus, instances
|
|
55062
|
+
# capacity_availability_zone_ids: ["String"], # required
|
|
55063
|
+
# instance_types: ["String"],
|
|
55064
|
+
# instance_requirements_with_metadata: {
|
|
55065
|
+
# architecture_types: ["i386"], # accepts i386, x86_64, arm64, x86_64_mac, arm64_mac
|
|
55066
|
+
# virtualization_types: ["hvm"], # accepts hvm, paravirtual
|
|
55067
|
+
# instance_requirements: {
|
|
55068
|
+
# v_cpu_count: { # required
|
|
55069
|
+
# min: 1, # required
|
|
55070
|
+
# max: 1,
|
|
55071
|
+
# },
|
|
55072
|
+
# memory_mi_b: { # required
|
|
55073
|
+
# min: 1, # required
|
|
55074
|
+
# max: 1,
|
|
55075
|
+
# },
|
|
55076
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services, apple
|
|
55077
|
+
# memory_gi_b_per_v_cpu: {
|
|
55078
|
+
# min: 1.0,
|
|
55079
|
+
# max: 1.0,
|
|
55080
|
+
# },
|
|
55081
|
+
# excluded_instance_types: ["ExcludedInstanceType"],
|
|
55082
|
+
# instance_generations: ["current"], # accepts current, previous
|
|
55083
|
+
# spot_max_price_percentage_over_lowest_price: 1,
|
|
55084
|
+
# on_demand_max_price_percentage_over_lowest_price: 1,
|
|
55085
|
+
# bare_metal: "included", # accepts included, required, excluded
|
|
55086
|
+
# burstable_performance: "included", # accepts included, required, excluded
|
|
55087
|
+
# require_hibernate_support: false,
|
|
55088
|
+
# network_interface_count: {
|
|
55089
|
+
# min: 1,
|
|
55090
|
+
# max: 1,
|
|
55091
|
+
# },
|
|
55092
|
+
# local_storage: "included", # accepts included, required, excluded
|
|
55093
|
+
# local_storage_types: ["hdd"], # accepts hdd, ssd
|
|
55094
|
+
# total_local_storage_gb: {
|
|
55095
|
+
# min: 1.0,
|
|
55096
|
+
# max: 1.0,
|
|
55097
|
+
# },
|
|
55098
|
+
# baseline_ebs_bandwidth_mbps: {
|
|
55099
|
+
# min: 1,
|
|
55100
|
+
# max: 1,
|
|
55101
|
+
# },
|
|
55102
|
+
# accelerator_types: ["gpu"], # accepts gpu, fpga, inference, media
|
|
55103
|
+
# accelerator_count: {
|
|
55104
|
+
# min: 1,
|
|
55105
|
+
# max: 1,
|
|
55106
|
+
# },
|
|
55107
|
+
# accelerator_manufacturers: ["amazon-web-services"], # accepts amazon-web-services, amd, nvidia, xilinx, habana
|
|
55108
|
+
# accelerator_names: ["a100"], # accepts a100, inferentia, k520, k80, m60, radeon-pro-v520, t4, vu9p, v100, a10g, h100, t4g, l40s, l4, gaudi-hl-205, inferentia2, trainium, trainium2, u30
|
|
55109
|
+
# accelerator_total_memory_mi_b: {
|
|
55110
|
+
# min: 1,
|
|
55111
|
+
# max: 1,
|
|
55112
|
+
# },
|
|
55113
|
+
# network_bandwidth_gbps: {
|
|
55114
|
+
# min: 1.0,
|
|
55115
|
+
# max: 1.0,
|
|
55116
|
+
# },
|
|
55117
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
55118
|
+
# max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
|
|
55119
|
+
# baseline_performance_factors: {
|
|
55120
|
+
# cpu: {
|
|
55121
|
+
# references: [
|
|
55122
|
+
# {
|
|
55123
|
+
# instance_family: "String",
|
|
55124
|
+
# },
|
|
55125
|
+
# ],
|
|
55126
|
+
# },
|
|
55127
|
+
# },
|
|
55128
|
+
# require_encryption_in_transit: false,
|
|
55129
|
+
# },
|
|
55130
|
+
# },
|
|
55131
|
+
# dry_run: false,
|
|
55132
|
+
# })
|
|
55133
|
+
#
|
|
55134
|
+
# @example Response structure
|
|
55135
|
+
#
|
|
55136
|
+
# resp.aggregate_score #=> String, one of "high", "medium", "low"
|
|
55137
|
+
# resp.capacity_manager_supportability_scores #=> Array
|
|
55138
|
+
# resp.capacity_manager_supportability_scores[0].instance_type #=> String
|
|
55139
|
+
# resp.capacity_manager_supportability_scores[0].availability_zone_id #=> String
|
|
55140
|
+
# resp.capacity_manager_supportability_scores[0].score #=> String, one of "high", "medium", "low"
|
|
55141
|
+
#
|
|
55142
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerSupportabilityScores AWS API Documentation
|
|
55143
|
+
#
|
|
55144
|
+
# @overload get_capacity_manager_supportability_scores(params = {})
|
|
55145
|
+
# @param [Hash] params ({})
|
|
55146
|
+
def get_capacity_manager_supportability_scores(params = {}, options = {})
|
|
55147
|
+
req = build_request(:get_capacity_manager_supportability_scores, params)
|
|
55148
|
+
req.send_request(options)
|
|
55149
|
+
end
|
|
55150
|
+
|
|
54820
55151
|
# Gets usage information about a Capacity Reservation. If the Capacity
|
|
54821
55152
|
# Reservation is shared, it shows usage information for the Capacity
|
|
54822
55153
|
# Reservation owner and each Amazon Web Services account that is
|
|
@@ -55654,6 +55985,74 @@ module Aws::EC2
|
|
|
55654
55985
|
req.send_request(options)
|
|
55655
55986
|
end
|
|
55656
55987
|
|
|
55988
|
+
# Describes the Amazon Inspector vulnerability findings for the
|
|
55989
|
+
# specified AMI.
|
|
55990
|
+
#
|
|
55991
|
+
# You can get findings for AMIs that you own, AMIs that are shared with
|
|
55992
|
+
# you, and public AMIs. Amazon Inspector returns findings only for AMIs
|
|
55993
|
+
# that it has scanned.
|
|
55994
|
+
#
|
|
55995
|
+
# @option params [required, String] :image_id
|
|
55996
|
+
# The ID of the AMI.
|
|
55997
|
+
#
|
|
55998
|
+
# @option params [Integer] :max_results
|
|
55999
|
+
# The maximum number of items to return for this request. To get the
|
|
56000
|
+
# next page of items, make another request with the token returned in
|
|
56001
|
+
# the output. For more information, see [Pagination][1].
|
|
56002
|
+
#
|
|
56003
|
+
#
|
|
56004
|
+
#
|
|
56005
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
|
56006
|
+
#
|
|
56007
|
+
# @option params [String] :next_token
|
|
56008
|
+
# The token returned from a previous paginated request. Pagination
|
|
56009
|
+
# continues from the end of the items returned by the previous request.
|
|
56010
|
+
#
|
|
56011
|
+
# @option params [Boolean] :dry_run
|
|
56012
|
+
# Checks whether you have the required permissions for the action,
|
|
56013
|
+
# without actually making the request, and provides an error response.
|
|
56014
|
+
# If you have the required permissions, the error response is
|
|
56015
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
56016
|
+
#
|
|
56017
|
+
# @return [Types::GetImageFindingsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
56018
|
+
#
|
|
56019
|
+
# * {Types::GetImageFindingsResult#image_findings #image_findings} => Array<Types::ImageFinding>
|
|
56020
|
+
# * {Types::GetImageFindingsResult#next_token #next_token} => String
|
|
56021
|
+
#
|
|
56022
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
56023
|
+
#
|
|
56024
|
+
# @example Request syntax with placeholder values
|
|
56025
|
+
#
|
|
56026
|
+
# resp = client.get_image_findings({
|
|
56027
|
+
# image_id: "ImageId", # required
|
|
56028
|
+
# max_results: 1,
|
|
56029
|
+
# next_token: "String",
|
|
56030
|
+
# dry_run: false,
|
|
56031
|
+
# })
|
|
56032
|
+
#
|
|
56033
|
+
# @example Response structure
|
|
56034
|
+
#
|
|
56035
|
+
# resp.image_findings #=> Array
|
|
56036
|
+
# resp.image_findings[0].fix_available #=> Boolean
|
|
56037
|
+
# resp.image_findings[0].score #=> Float
|
|
56038
|
+
# resp.image_findings[0].first_observed_at #=> Time
|
|
56039
|
+
# resp.image_findings[0].updated_at #=> Time
|
|
56040
|
+
# resp.image_findings[0].title #=> String
|
|
56041
|
+
# resp.image_findings[0].paths #=> Array
|
|
56042
|
+
# resp.image_findings[0].paths[0] #=> String
|
|
56043
|
+
# resp.image_findings[0].severity_label #=> String, one of "informational", "low", "medium", "high", "critical"
|
|
56044
|
+
# resp.image_findings[0].snapshot_id #=> String
|
|
56045
|
+
# resp.next_token #=> String
|
|
56046
|
+
#
|
|
56047
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetImageFindings AWS API Documentation
|
|
56048
|
+
#
|
|
56049
|
+
# @overload get_image_findings(params = {})
|
|
56050
|
+
# @param [Hash] params ({})
|
|
56051
|
+
def get_image_findings(params = {}, options = {})
|
|
56052
|
+
req = build_request(:get_image_findings, params)
|
|
56053
|
+
req.send_request(options)
|
|
56054
|
+
end
|
|
56055
|
+
|
|
55657
56056
|
# Gets the default instance metadata service (IMDS) settings that are
|
|
55658
56057
|
# set at the account level in the specified Amazon Web Services
Region.
|
|
55659
56058
|
#
|
|
@@ -71726,6 +72125,15 @@ module Aws::EC2
|
|
|
71726
72125
|
# maximum_days_since_watermark_created: 1,
|
|
71727
72126
|
# },
|
|
71728
72127
|
# ],
|
|
72128
|
+
# scan_result_condition: {
|
|
72129
|
+
# max_days_since_last_finding_scan: 1,
|
|
72130
|
+
# maximum_severity_label: "informational", # accepts informational, low, medium, high, critical
|
|
72131
|
+
# max_days_since_informational_fix_available: 1,
|
|
72132
|
+
# max_days_since_low_fix_available: 1,
|
|
72133
|
+
# max_days_since_medium_fix_available: 1,
|
|
72134
|
+
# max_days_since_high_fix_available: 1,
|
|
72135
|
+
# max_days_since_critical_fix_available: 1,
|
|
72136
|
+
# },
|
|
71729
72137
|
# },
|
|
71730
72138
|
# ],
|
|
71731
72139
|
# dry_run: false,
|
|
@@ -78224,7 +78632,7 @@ module Aws::EC2
|
|
|
78224
78632
|
tracer: tracer
|
|
78225
78633
|
)
|
|
78226
78634
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
78227
|
-
context[:gem_version] = '1.
|
|
78635
|
+
context[:gem_version] = '1.662.0'
|
|
78228
78636
|
Seahorse::Client::Request.new(handlers, context)
|
|
78229
78637
|
end
|
|
78230
78638
|
|