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
|
@@ -354,6 +354,8 @@ module Aws::EC2
|
|
|
354
354
|
CapacityAllocationMetadataEntry = Shapes::StructureShape.new(name: 'CapacityAllocationMetadataEntry')
|
|
355
355
|
CapacityAllocationMetadataList = Shapes::ListShape.new(name: 'CapacityAllocationMetadataList')
|
|
356
356
|
CapacityAllocations = Shapes::ListShape.new(name: 'CapacityAllocations')
|
|
357
|
+
CapacityAmount = Shapes::IntegerShape.new(name: 'CapacityAmount')
|
|
358
|
+
CapacityAvailabilityZoneIdList = Shapes::ListShape.new(name: 'CapacityAvailabilityZoneIdList')
|
|
357
359
|
CapacityBlock = Shapes::StructureShape.new(name: 'CapacityBlock')
|
|
358
360
|
CapacityBlockExtension = Shapes::StructureShape.new(name: 'CapacityBlockExtension')
|
|
359
361
|
CapacityBlockExtensionOffering = Shapes::StructureShape.new(name: 'CapacityBlockExtensionOffering')
|
|
@@ -381,6 +383,8 @@ module Aws::EC2
|
|
|
381
383
|
CapacityManagerMonitoredTagKeyList = Shapes::ListShape.new(name: 'CapacityManagerMonitoredTagKeyList')
|
|
382
384
|
CapacityManagerMonitoredTagKeyStatus = Shapes::StringShape.new(name: 'CapacityManagerMonitoredTagKeyStatus')
|
|
383
385
|
CapacityManagerStatus = Shapes::StringShape.new(name: 'CapacityManagerStatus')
|
|
386
|
+
CapacityManagerSupportabilityScore = Shapes::StructureShape.new(name: 'CapacityManagerSupportabilityScore')
|
|
387
|
+
CapacityManagerSupportabilityScoreSet = Shapes::ListShape.new(name: 'CapacityManagerSupportabilityScoreSet')
|
|
384
388
|
CapacityManagerTagDimension = Shapes::StructureShape.new(name: 'CapacityManagerTagDimension')
|
|
385
389
|
CapacityManagerTagDimensionSet = Shapes::ListShape.new(name: 'CapacityManagerTagDimensionSet')
|
|
386
390
|
CapacityReservation = Shapes::StructureShape.new(name: 'CapacityReservation')
|
|
@@ -434,6 +438,7 @@ module Aws::EC2
|
|
|
434
438
|
CapacityReservationTopologySet = Shapes::ListShape.new(name: 'CapacityReservationTopologySet')
|
|
435
439
|
CapacityReservationType = Shapes::StringShape.new(name: 'CapacityReservationType')
|
|
436
440
|
CapacityTenancy = Shapes::StringShape.new(name: 'CapacityTenancy')
|
|
441
|
+
CapacityUnit = Shapes::StringShape.new(name: 'CapacityUnit')
|
|
437
442
|
CarrierGateway = Shapes::StructureShape.new(name: 'CarrierGateway')
|
|
438
443
|
CarrierGatewayId = Shapes::StringShape.new(name: 'CarrierGatewayId')
|
|
439
444
|
CarrierGatewayIdSet = Shapes::ListShape.new(name: 'CarrierGatewayIdSet')
|
|
@@ -1926,6 +1931,8 @@ module Aws::EC2
|
|
|
1926
1931
|
GetCapacityManagerMonitoredTagKeysRequest = Shapes::StructureShape.new(name: 'GetCapacityManagerMonitoredTagKeysRequest')
|
|
1927
1932
|
GetCapacityManagerMonitoredTagKeysRequestMaxResults = Shapes::IntegerShape.new(name: 'GetCapacityManagerMonitoredTagKeysRequestMaxResults')
|
|
1928
1933
|
GetCapacityManagerMonitoredTagKeysResult = Shapes::StructureShape.new(name: 'GetCapacityManagerMonitoredTagKeysResult')
|
|
1934
|
+
GetCapacityManagerSupportabilityScoresRequest = Shapes::StructureShape.new(name: 'GetCapacityManagerSupportabilityScoresRequest')
|
|
1935
|
+
GetCapacityManagerSupportabilityScoresResult = Shapes::StructureShape.new(name: 'GetCapacityManagerSupportabilityScoresResult')
|
|
1929
1936
|
GetCapacityReservationUsageRequest = Shapes::StructureShape.new(name: 'GetCapacityReservationUsageRequest')
|
|
1930
1937
|
GetCapacityReservationUsageRequestMaxResults = Shapes::IntegerShape.new(name: 'GetCapacityReservationUsageRequestMaxResults')
|
|
1931
1938
|
GetCapacityReservationUsageResult = Shapes::StructureShape.new(name: 'GetCapacityReservationUsageResult')
|
|
@@ -1958,6 +1965,10 @@ module Aws::EC2
|
|
|
1958
1965
|
GetImageAncestryResult = Shapes::StructureShape.new(name: 'GetImageAncestryResult')
|
|
1959
1966
|
GetImageBlockPublicAccessStateRequest = Shapes::StructureShape.new(name: 'GetImageBlockPublicAccessStateRequest')
|
|
1960
1967
|
GetImageBlockPublicAccessStateResult = Shapes::StructureShape.new(name: 'GetImageBlockPublicAccessStateResult')
|
|
1968
|
+
GetImageFindingsEntrySet = Shapes::ListShape.new(name: 'GetImageFindingsEntrySet')
|
|
1969
|
+
GetImageFindingsMaxResults = Shapes::IntegerShape.new(name: 'GetImageFindingsMaxResults')
|
|
1970
|
+
GetImageFindingsRequest = Shapes::StructureShape.new(name: 'GetImageFindingsRequest')
|
|
1971
|
+
GetImageFindingsResult = Shapes::StructureShape.new(name: 'GetImageFindingsResult')
|
|
1961
1972
|
GetInstanceMetadataDefaultsRequest = Shapes::StructureShape.new(name: 'GetInstanceMetadataDefaultsRequest')
|
|
1962
1973
|
GetInstanceMetadataDefaultsResult = Shapes::StructureShape.new(name: 'GetInstanceMetadataDefaultsResult')
|
|
1963
1974
|
GetInstanceTpmEkPubRequest = Shapes::StructureShape.new(name: 'GetInstanceTpmEkPubRequest')
|
|
@@ -2159,6 +2170,8 @@ module Aws::EC2
|
|
|
2159
2170
|
ImageDescriptionRequest = Shapes::StringShape.new(name: 'ImageDescriptionRequest')
|
|
2160
2171
|
ImageDiskContainer = Shapes::StructureShape.new(name: 'ImageDiskContainer')
|
|
2161
2172
|
ImageDiskContainerList = Shapes::ListShape.new(name: 'ImageDiskContainerList')
|
|
2173
|
+
ImageFinding = Shapes::StructureShape.new(name: 'ImageFinding')
|
|
2174
|
+
ImageFindingPathSet = Shapes::ListShape.new(name: 'ImageFindingPathSet')
|
|
2162
2175
|
ImageId = Shapes::StringShape.new(name: 'ImageId')
|
|
2163
2176
|
ImageIdList = Shapes::ListShape.new(name: 'ImageIdList')
|
|
2164
2177
|
ImageIdStringList = Shapes::ListShape.new(name: 'ImageIdStringList')
|
|
@@ -2792,6 +2805,8 @@ module Aws::EC2
|
|
|
2792
2805
|
MarketplaceProductCodeList = Shapes::ListShape.new(name: 'MarketplaceProductCodeList')
|
|
2793
2806
|
MarketplaceProductCodeRequest = Shapes::StringShape.new(name: 'MarketplaceProductCodeRequest')
|
|
2794
2807
|
MarketplaceProductCodeRequestList = Shapes::ListShape.new(name: 'MarketplaceProductCodeRequestList')
|
|
2808
|
+
MaxDaysSinceFixAvailableValue = Shapes::IntegerShape.new(name: 'MaxDaysSinceFixAvailableValue')
|
|
2809
|
+
MaxDaysSinceLastFindingScanValue = Shapes::IntegerShape.new(name: 'MaxDaysSinceLastFindingScanValue')
|
|
2795
2810
|
MaxIpv4AddrPerInterface = Shapes::IntegerShape.new(name: 'MaxIpv4AddrPerInterface')
|
|
2796
2811
|
MaxIpv6AddrPerInterface = Shapes::IntegerShape.new(name: 'MaxIpv6AddrPerInterface')
|
|
2797
2812
|
MaxNetworkInterfaces = Shapes::IntegerShape.new(name: 'MaxNetworkInterfaces')
|
|
@@ -3583,6 +3598,9 @@ module Aws::EC2
|
|
|
3583
3598
|
S3StorageUploadPolicy = Shapes::StringShape.new(name: 'S3StorageUploadPolicy')
|
|
3584
3599
|
S3StorageUploadPolicySignature = Shapes::StringShape.new(name: 'S3StorageUploadPolicySignature')
|
|
3585
3600
|
SSEType = Shapes::StringShape.new(name: 'SSEType')
|
|
3601
|
+
ScanResultCondition = Shapes::StructureShape.new(name: 'ScanResultCondition')
|
|
3602
|
+
ScanResultConditionRequest = Shapes::StructureShape.new(name: 'ScanResultConditionRequest')
|
|
3603
|
+
ScanResults = Shapes::StructureShape.new(name: 'ScanResults')
|
|
3586
3604
|
Schedule = Shapes::StringShape.new(name: 'Schedule')
|
|
3587
3605
|
ScheduledInstance = Shapes::StructureShape.new(name: 'ScheduledInstance')
|
|
3588
3606
|
ScheduledInstanceAvailability = Shapes::StructureShape.new(name: 'ScheduledInstanceAvailability')
|
|
@@ -3697,6 +3715,7 @@ module Aws::EC2
|
|
|
3697
3715
|
ServiceType = Shapes::StringShape.new(name: 'ServiceType')
|
|
3698
3716
|
ServiceTypeDetail = Shapes::StructureShape.new(name: 'ServiceTypeDetail')
|
|
3699
3717
|
ServiceTypeDetailSet = Shapes::ListShape.new(name: 'ServiceTypeDetailSet')
|
|
3718
|
+
SeverityLabel = Shapes::StringShape.new(name: 'SeverityLabel')
|
|
3700
3719
|
ShutdownBehavior = Shapes::StringShape.new(name: 'ShutdownBehavior')
|
|
3701
3720
|
SlotDateTimeRangeRequest = Shapes::StructureShape.new(name: 'SlotDateTimeRangeRequest')
|
|
3702
3721
|
SlotStartTimeRangeRequest = Shapes::StructureShape.new(name: 'SlotStartTimeRangeRequest')
|
|
@@ -3816,6 +3835,9 @@ module Aws::EC2
|
|
|
3816
3835
|
SuccessfulSuppressionResponseObject = Shapes::StructureShape.new(name: 'SuccessfulSuppressionResponseObject')
|
|
3817
3836
|
SuccessfulSuppressionResponseSet = Shapes::ListShape.new(name: 'SuccessfulSuppressionResponseSet')
|
|
3818
3837
|
SummaryStatus = Shapes::StringShape.new(name: 'SummaryStatus')
|
|
3838
|
+
SupportabilityInstanceTypeList = Shapes::ListShape.new(name: 'SupportabilityInstanceTypeList')
|
|
3839
|
+
SupportabilityMarketType = Shapes::StringShape.new(name: 'SupportabilityMarketType')
|
|
3840
|
+
SupportabilityScore = Shapes::StringShape.new(name: 'SupportabilityScore')
|
|
3819
3841
|
SupportedAdditionalProcessorFeature = Shapes::StringShape.new(name: 'SupportedAdditionalProcessorFeature')
|
|
3820
3842
|
SupportedAdditionalProcessorFeatureList = Shapes::ListShape.new(name: 'SupportedAdditionalProcessorFeatureList')
|
|
3821
3843
|
SupportedInRegion = Shapes::BooleanShape.new(name: 'SupportedInRegion')
|
|
@@ -5454,6 +5476,8 @@ module Aws::EC2
|
|
|
5454
5476
|
|
|
5455
5477
|
CapacityAllocations.member = Shapes::ShapeRef.new(shape: CapacityAllocation, location_name: "item")
|
|
5456
5478
|
|
|
5479
|
+
CapacityAvailabilityZoneIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
|
5480
|
+
|
|
5457
5481
|
CapacityBlock.add_member(:capacity_block_id, Shapes::ShapeRef.new(shape: CapacityBlockId, location_name: "capacityBlockId"))
|
|
5458
5482
|
CapacityBlock.add_member(:ultraserver_type, Shapes::ShapeRef.new(shape: String, location_name: "ultraserverType"))
|
|
5459
5483
|
CapacityBlock.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
|
@@ -5585,6 +5609,13 @@ module Aws::EC2
|
|
|
5585
5609
|
|
|
5586
5610
|
CapacityManagerMonitoredTagKeyList.member = Shapes::ShapeRef.new(shape: CapacityManagerMonitoredTagKey, location_name: "item")
|
|
5587
5611
|
|
|
5612
|
+
CapacityManagerSupportabilityScore.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
|
5613
|
+
CapacityManagerSupportabilityScore.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "availabilityZoneId"))
|
|
5614
|
+
CapacityManagerSupportabilityScore.add_member(:score, Shapes::ShapeRef.new(shape: SupportabilityScore, location_name: "score"))
|
|
5615
|
+
CapacityManagerSupportabilityScore.struct_class = Types::CapacityManagerSupportabilityScore
|
|
5616
|
+
|
|
5617
|
+
CapacityManagerSupportabilityScoreSet.member = Shapes::ShapeRef.new(shape: CapacityManagerSupportabilityScore, location_name: "item")
|
|
5618
|
+
|
|
5588
5619
|
CapacityManagerTagDimension.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
|
|
5589
5620
|
CapacityManagerTagDimension.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
|
5590
5621
|
CapacityManagerTagDimension.struct_class = Types::CapacityManagerTagDimension
|
|
@@ -5681,6 +5712,9 @@ module Aws::EC2
|
|
|
5681
5712
|
CapacityReservationFleet.add_member(:instance_match_criteria, Shapes::ShapeRef.new(shape: FleetInstanceMatchCriteria, location_name: "instanceMatchCriteria"))
|
|
5682
5713
|
CapacityReservationFleet.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: String, location_name: "allocationStrategy"))
|
|
5683
5714
|
CapacityReservationFleet.add_member(:instance_type_specifications, Shapes::ShapeRef.new(shape: FleetCapacityReservationSet, location_name: "instanceTypeSpecificationSet"))
|
|
5715
|
+
CapacityReservationFleet.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "instanceRequirements"))
|
|
5716
|
+
CapacityReservationFleet.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
|
5717
|
+
CapacityReservationFleet.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
|
5684
5718
|
CapacityReservationFleet.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
|
5685
5719
|
CapacityReservationFleet.struct_class = Types::CapacityReservationFleet
|
|
5686
5720
|
|
|
@@ -6233,6 +6267,9 @@ module Aws::EC2
|
|
|
6233
6267
|
CreateCapacityReservationFleetRequest.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: String, location_name: "AllocationStrategy"))
|
|
6234
6268
|
CreateCapacityReservationFleetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
6235
6269
|
CreateCapacityReservationFleetRequest.add_member(:instance_type_specifications, Shapes::ShapeRef.new(shape: ReservationFleetInstanceSpecificationList, location_name: "InstanceTypeSpecification"))
|
|
6270
|
+
CreateCapacityReservationFleetRequest.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "InstanceRequirements"))
|
|
6271
|
+
CreateCapacityReservationFleetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "AvailabilityZone"))
|
|
6272
|
+
CreateCapacityReservationFleetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
|
6236
6273
|
CreateCapacityReservationFleetRequest.add_member(:tenancy, Shapes::ShapeRef.new(shape: FleetCapacityReservationTenancy, location_name: "Tenancy"))
|
|
6237
6274
|
CreateCapacityReservationFleetRequest.add_member(:total_target_capacity, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "TotalTargetCapacity"))
|
|
6238
6275
|
CreateCapacityReservationFleetRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "EndDate"))
|
|
@@ -12143,6 +12180,19 @@ module Aws::EC2
|
|
|
12143
12180
|
GetCapacityManagerMonitoredTagKeysResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
12144
12181
|
GetCapacityManagerMonitoredTagKeysResult.struct_class = Types::GetCapacityManagerMonitoredTagKeysResult
|
|
12145
12182
|
|
|
12183
|
+
GetCapacityManagerSupportabilityScoresRequest.add_member(:market_type, Shapes::ShapeRef.new(shape: SupportabilityMarketType, required: true, location_name: "MarketType"))
|
|
12184
|
+
GetCapacityManagerSupportabilityScoresRequest.add_member(:capacity_amount, Shapes::ShapeRef.new(shape: CapacityAmount, required: true, location_name: "CapacityAmount"))
|
|
12185
|
+
GetCapacityManagerSupportabilityScoresRequest.add_member(:capacity_unit, Shapes::ShapeRef.new(shape: CapacityUnit, required: true, location_name: "CapacityUnit"))
|
|
12186
|
+
GetCapacityManagerSupportabilityScoresRequest.add_member(:capacity_availability_zone_ids, Shapes::ShapeRef.new(shape: CapacityAvailabilityZoneIdList, required: true, location_name: "CapacityAvailabilityZoneId"))
|
|
12187
|
+
GetCapacityManagerSupportabilityScoresRequest.add_member(:instance_types, Shapes::ShapeRef.new(shape: SupportabilityInstanceTypeList, location_name: "InstanceType"))
|
|
12188
|
+
GetCapacityManagerSupportabilityScoresRequest.add_member(:instance_requirements_with_metadata, Shapes::ShapeRef.new(shape: InstanceRequirementsWithMetadataRequest, location_name: "InstanceRequirementsWithMetadata"))
|
|
12189
|
+
GetCapacityManagerSupportabilityScoresRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
12190
|
+
GetCapacityManagerSupportabilityScoresRequest.struct_class = Types::GetCapacityManagerSupportabilityScoresRequest
|
|
12191
|
+
|
|
12192
|
+
GetCapacityManagerSupportabilityScoresResult.add_member(:aggregate_score, Shapes::ShapeRef.new(shape: SupportabilityScore, location_name: "aggregateScore"))
|
|
12193
|
+
GetCapacityManagerSupportabilityScoresResult.add_member(:capacity_manager_supportability_scores, Shapes::ShapeRef.new(shape: CapacityManagerSupportabilityScoreSet, location_name: "capacityManagerSupportabilityScoreSet"))
|
|
12194
|
+
GetCapacityManagerSupportabilityScoresResult.struct_class = Types::GetCapacityManagerSupportabilityScoresResult
|
|
12195
|
+
|
|
12146
12196
|
GetCapacityReservationUsageRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "CapacityReservationId"))
|
|
12147
12197
|
GetCapacityReservationUsageRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
|
12148
12198
|
GetCapacityReservationUsageRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetCapacityReservationUsageRequestMaxResults, location_name: "MaxResults"))
|
|
@@ -12290,6 +12340,18 @@ module Aws::EC2
|
|
|
12290
12340
|
GetImageBlockPublicAccessStateResult.add_member(:managed_by, Shapes::ShapeRef.new(shape: ManagedBy, location_name: "managedBy"))
|
|
12291
12341
|
GetImageBlockPublicAccessStateResult.struct_class = Types::GetImageBlockPublicAccessStateResult
|
|
12292
12342
|
|
|
12343
|
+
GetImageFindingsEntrySet.member = Shapes::ShapeRef.new(shape: ImageFinding, location_name: "item")
|
|
12344
|
+
|
|
12345
|
+
GetImageFindingsRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
|
|
12346
|
+
GetImageFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetImageFindingsMaxResults, location_name: "MaxResults"))
|
|
12347
|
+
GetImageFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
|
12348
|
+
GetImageFindingsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
12349
|
+
GetImageFindingsRequest.struct_class = Types::GetImageFindingsRequest
|
|
12350
|
+
|
|
12351
|
+
GetImageFindingsResult.add_member(:image_findings, Shapes::ShapeRef.new(shape: GetImageFindingsEntrySet, location_name: "imageFindingSet"))
|
|
12352
|
+
GetImageFindingsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
12353
|
+
GetImageFindingsResult.struct_class = Types::GetImageFindingsResult
|
|
12354
|
+
|
|
12293
12355
|
GetInstanceMetadataDefaultsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
12294
12356
|
GetInstanceMetadataDefaultsRequest.struct_class = Types::GetInstanceMetadataDefaultsRequest
|
|
12295
12357
|
|
|
@@ -13110,6 +13172,7 @@ module Aws::EC2
|
|
|
13110
13172
|
Image.add_member(:free_tier_eligible, Shapes::ShapeRef.new(shape: Boolean, location_name: "freeTierEligible"))
|
|
13111
13173
|
Image.add_member(:public_ssm_parameter_name, Shapes::ShapeRef.new(shape: String, location_name: "publicSsmParameterName"))
|
|
13112
13174
|
Image.add_member(:image_watermarks, Shapes::ShapeRef.new(shape: ImageWatermarkList, location_name: "imageWatermarkSet"))
|
|
13175
|
+
Image.add_member(:scan_results, Shapes::ShapeRef.new(shape: ScanResults, location_name: "scanResults"))
|
|
13113
13176
|
Image.add_member(:instance_type_specification, Shapes::ShapeRef.new(shape: InstanceTypeSpecification, location_name: "instanceTypeSpecification"))
|
|
13114
13177
|
Image.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
|
13115
13178
|
Image.add_member(:image_location, Shapes::ShapeRef.new(shape: String, location_name: "imageLocation"))
|
|
@@ -13156,6 +13219,7 @@ module Aws::EC2
|
|
|
13156
13219
|
ImageCriterion.add_member(:deprecation_time_condition, Shapes::ShapeRef.new(shape: DeprecationTimeCondition, location_name: "deprecationTimeCondition"))
|
|
13157
13220
|
ImageCriterion.add_member(:creation_date_condition, Shapes::ShapeRef.new(shape: CreationDateCondition, location_name: "creationDateCondition"))
|
|
13158
13221
|
ImageCriterion.add_member(:image_watermarks, Shapes::ShapeRef.new(shape: ImageWatermarkFilterResponseList, location_name: "imageWatermarkSet"))
|
|
13222
|
+
ImageCriterion.add_member(:scan_result_condition, Shapes::ShapeRef.new(shape: ScanResultCondition, location_name: "scanResultCondition"))
|
|
13159
13223
|
ImageCriterion.struct_class = Types::ImageCriterion
|
|
13160
13224
|
|
|
13161
13225
|
ImageCriterionList.member = Shapes::ShapeRef.new(shape: ImageCriterion, location_name: "item")
|
|
@@ -13166,6 +13230,7 @@ module Aws::EC2
|
|
|
13166
13230
|
ImageCriterionRequest.add_member(:deprecation_time_condition, Shapes::ShapeRef.new(shape: DeprecationTimeConditionRequest, location_name: "DeprecationTimeCondition"))
|
|
13167
13231
|
ImageCriterionRequest.add_member(:creation_date_condition, Shapes::ShapeRef.new(shape: CreationDateConditionRequest, location_name: "CreationDateCondition"))
|
|
13168
13232
|
ImageCriterionRequest.add_member(:image_watermarks, Shapes::ShapeRef.new(shape: ImageWatermarkFilterRequestList, location_name: "ImageWatermark"))
|
|
13233
|
+
ImageCriterionRequest.add_member(:scan_result_condition, Shapes::ShapeRef.new(shape: ScanResultConditionRequest, location_name: "ScanResultCondition"))
|
|
13169
13234
|
ImageCriterionRequest.struct_class = Types::ImageCriterionRequest
|
|
13170
13235
|
|
|
13171
13236
|
ImageCriterionRequestList.member = Shapes::ShapeRef.new(shape: ImageCriterionRequest, location_name: "ImageCriterion")
|
|
@@ -13180,6 +13245,18 @@ module Aws::EC2
|
|
|
13180
13245
|
|
|
13181
13246
|
ImageDiskContainerList.member = Shapes::ShapeRef.new(shape: ImageDiskContainer, location_name: "item")
|
|
13182
13247
|
|
|
13248
|
+
ImageFinding.add_member(:fix_available, Shapes::ShapeRef.new(shape: Boolean, location_name: "fixAvailable"))
|
|
13249
|
+
ImageFinding.add_member(:score, Shapes::ShapeRef.new(shape: Double, location_name: "score"))
|
|
13250
|
+
ImageFinding.add_member(:first_observed_at, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "firstObservedAt"))
|
|
13251
|
+
ImageFinding.add_member(:updated_at, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "updatedAt"))
|
|
13252
|
+
ImageFinding.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
|
|
13253
|
+
ImageFinding.add_member(:paths, Shapes::ShapeRef.new(shape: ImageFindingPathSet, location_name: "pathSet"))
|
|
13254
|
+
ImageFinding.add_member(:severity_label, Shapes::ShapeRef.new(shape: SeverityLabel, location_name: "severityLabel"))
|
|
13255
|
+
ImageFinding.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "snapshotId"))
|
|
13256
|
+
ImageFinding.struct_class = Types::ImageFinding
|
|
13257
|
+
|
|
13258
|
+
ImageFindingPathSet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
|
13259
|
+
|
|
13183
13260
|
ImageIdList.member = Shapes::ShapeRef.new(shape: ImageId, location_name: "item")
|
|
13184
13261
|
|
|
13185
13262
|
ImageIdStringList.member = Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId")
|
|
@@ -18508,6 +18585,33 @@ module Aws::EC2
|
|
|
18508
18585
|
S3Storage.add_member(:upload_policy_signature, Shapes::ShapeRef.new(shape: S3StorageUploadPolicySignature, location_name: "uploadPolicySignature"))
|
|
18509
18586
|
S3Storage.struct_class = Types::S3Storage
|
|
18510
18587
|
|
|
18588
|
+
ScanResultCondition.add_member(:max_days_since_last_finding_scan, Shapes::ShapeRef.new(shape: MaxDaysSinceLastFindingScanValue, location_name: "maxDaysSinceLastFindingScan"))
|
|
18589
|
+
ScanResultCondition.add_member(:maximum_severity_label, Shapes::ShapeRef.new(shape: SeverityLabel, location_name: "maximumSeverityLabel"))
|
|
18590
|
+
ScanResultCondition.add_member(:max_days_since_informational_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "maxDaysSinceInformationalFixAvailable"))
|
|
18591
|
+
ScanResultCondition.add_member(:max_days_since_low_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "maxDaysSinceLowFixAvailable"))
|
|
18592
|
+
ScanResultCondition.add_member(:max_days_since_medium_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "maxDaysSinceMediumFixAvailable"))
|
|
18593
|
+
ScanResultCondition.add_member(:max_days_since_high_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "maxDaysSinceHighFixAvailable"))
|
|
18594
|
+
ScanResultCondition.add_member(:max_days_since_critical_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "maxDaysSinceCriticalFixAvailable"))
|
|
18595
|
+
ScanResultCondition.struct_class = Types::ScanResultCondition
|
|
18596
|
+
|
|
18597
|
+
ScanResultConditionRequest.add_member(:max_days_since_last_finding_scan, Shapes::ShapeRef.new(shape: MaxDaysSinceLastFindingScanValue, location_name: "MaxDaysSinceLastFindingScan"))
|
|
18598
|
+
ScanResultConditionRequest.add_member(:maximum_severity_label, Shapes::ShapeRef.new(shape: SeverityLabel, location_name: "MaximumSeverityLabel"))
|
|
18599
|
+
ScanResultConditionRequest.add_member(:max_days_since_informational_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "MaxDaysSinceInformationalFixAvailable"))
|
|
18600
|
+
ScanResultConditionRequest.add_member(:max_days_since_low_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "MaxDaysSinceLowFixAvailable"))
|
|
18601
|
+
ScanResultConditionRequest.add_member(:max_days_since_medium_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "MaxDaysSinceMediumFixAvailable"))
|
|
18602
|
+
ScanResultConditionRequest.add_member(:max_days_since_high_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "MaxDaysSinceHighFixAvailable"))
|
|
18603
|
+
ScanResultConditionRequest.add_member(:max_days_since_critical_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "MaxDaysSinceCriticalFixAvailable"))
|
|
18604
|
+
ScanResultConditionRequest.struct_class = Types::ScanResultConditionRequest
|
|
18605
|
+
|
|
18606
|
+
ScanResults.add_member(:highest_finding_severity_label, Shapes::ShapeRef.new(shape: SeverityLabel, location_name: "highestFindingSeverityLabel"))
|
|
18607
|
+
ScanResults.add_member(:finding_scan_date, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "findingScanDate"))
|
|
18608
|
+
ScanResults.add_member(:informational_fix_available_since, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "informationalFixAvailableSince"))
|
|
18609
|
+
ScanResults.add_member(:low_fix_available_since, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "lowFixAvailableSince"))
|
|
18610
|
+
ScanResults.add_member(:medium_fix_available_since, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "mediumFixAvailableSince"))
|
|
18611
|
+
ScanResults.add_member(:high_fix_available_since, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "highFixAvailableSince"))
|
|
18612
|
+
ScanResults.add_member(:critical_fix_available_since, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "criticalFixAvailableSince"))
|
|
18613
|
+
ScanResults.struct_class = Types::ScanResults
|
|
18614
|
+
|
|
18511
18615
|
ScheduledInstance.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
|
18512
18616
|
ScheduledInstance.add_member(:create_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "createDate"))
|
|
18513
18617
|
ScheduledInstance.add_member(:hourly_price, Shapes::ShapeRef.new(shape: String, location_name: "hourlyPrice"))
|
|
@@ -19413,6 +19517,8 @@ module Aws::EC2
|
|
|
19413
19517
|
|
|
19414
19518
|
SuccessfulSuppressionResponseSet.member = Shapes::ShapeRef.new(shape: SuccessfulSuppressionResponseObject, location_name: "item")
|
|
19415
19519
|
|
|
19520
|
+
SupportabilityInstanceTypeList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
|
19521
|
+
|
|
19416
19522
|
SupportedAdditionalProcessorFeatureList.member = Shapes::ShapeRef.new(shape: SupportedAdditionalProcessorFeature, location_name: "item")
|
|
19417
19523
|
|
|
19418
19524
|
SupportedInstanceTypeRequestSet.member = Shapes::ShapeRef.new(shape: InstanceTypeItemRequest, location_name: "Item")
|
|
@@ -26407,6 +26513,14 @@ module Aws::EC2
|
|
|
26407
26513
|
)
|
|
26408
26514
|
end)
|
|
26409
26515
|
|
|
26516
|
+
api.add_operation(:get_capacity_manager_supportability_scores, Seahorse::Model::Operation.new.tap do |o|
|
|
26517
|
+
o.name = "GetCapacityManagerSupportabilityScores"
|
|
26518
|
+
o.http_method = "POST"
|
|
26519
|
+
o.http_request_uri = "/"
|
|
26520
|
+
o.input = Shapes::ShapeRef.new(shape: GetCapacityManagerSupportabilityScoresRequest)
|
|
26521
|
+
o.output = Shapes::ShapeRef.new(shape: GetCapacityManagerSupportabilityScoresResult)
|
|
26522
|
+
end)
|
|
26523
|
+
|
|
26410
26524
|
api.add_operation(:get_capacity_reservation_usage, Seahorse::Model::Operation.new.tap do |o|
|
|
26411
26525
|
o.name = "GetCapacityReservationUsage"
|
|
26412
26526
|
o.http_method = "POST"
|
|
@@ -26533,6 +26647,20 @@ module Aws::EC2
|
|
|
26533
26647
|
o.output = Shapes::ShapeRef.new(shape: GetImageBlockPublicAccessStateResult)
|
|
26534
26648
|
end)
|
|
26535
26649
|
|
|
26650
|
+
api.add_operation(:get_image_findings, Seahorse::Model::Operation.new.tap do |o|
|
|
26651
|
+
o.name = "GetImageFindings"
|
|
26652
|
+
o.http_method = "POST"
|
|
26653
|
+
o.http_request_uri = "/"
|
|
26654
|
+
o.input = Shapes::ShapeRef.new(shape: GetImageFindingsRequest)
|
|
26655
|
+
o.output = Shapes::ShapeRef.new(shape: GetImageFindingsResult)
|
|
26656
|
+
o[:pager] = Aws::Pager.new(
|
|
26657
|
+
limit_key: "max_results",
|
|
26658
|
+
tokens: {
|
|
26659
|
+
"next_token" => "next_token"
|
|
26660
|
+
}
|
|
26661
|
+
)
|
|
26662
|
+
end)
|
|
26663
|
+
|
|
26536
26664
|
api.add_operation(:get_instance_metadata_defaults, Seahorse::Model::Operation.new.tap do |o|
|
|
26537
26665
|
o.name = "GetInstanceMetadataDefaults"
|
|
26538
26666
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
|
@@ -277,6 +277,17 @@ module Aws::EC2
|
|
|
277
277
|
data[:image_watermarks]
|
|
278
278
|
end
|
|
279
279
|
|
|
280
|
+
# The Amazon Inspector scan results for the AMI. This information is
|
|
281
|
+
# present only for AMIs that Amazon Inspector has scanned.
|
|
282
|
+
#
|
|
283
|
+
# When you share an AMI with other accounts, organizations, or
|
|
284
|
+
# organizational units (OUs), or make it public, its scan results are
|
|
285
|
+
# available to the accounts that can use the AMI.
|
|
286
|
+
# @return [Types::ScanResults]
|
|
287
|
+
def scan_results
|
|
288
|
+
data[:scan_results]
|
|
289
|
+
end
|
|
290
|
+
|
|
280
291
|
# The instance type specification for the AMI, which defines which
|
|
281
292
|
# instance types are compatible with this image.
|
|
282
293
|
# @return [Types::InstanceTypeSpecification]
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
|
@@ -2574,6 +2574,49 @@ module Aws::EC2
|
|
|
2574
2574
|
# * `root-device-type` - The type of the root device volume (`ebs` \|
|
|
2575
2575
|
# `instance-store`).
|
|
2576
2576
|
#
|
|
2577
|
+
# * `scan-result.critical-fix-available-since` - The earliest date and
|
|
2578
|
+
# time, in the ISO 8601 format in the UTC time zone
|
|
2579
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
2580
|
+
# as available for a `critical` severity finding on the AMI.
|
|
2581
|
+
#
|
|
2582
|
+
# * `scan-result.finding-scan-date` - The date and time, in the ISO 8601
|
|
2583
|
+
# format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), of the most
|
|
2584
|
+
# recent Amazon Inspector scan of the AMI.
|
|
2585
|
+
#
|
|
2586
|
+
# * `scan-result.high-fix-available-since` - The earliest date and time,
|
|
2587
|
+
# in the ISO 8601 format in the UTC time zone
|
|
2588
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
2589
|
+
# as available for a `high` severity finding on the AMI.
|
|
2590
|
+
#
|
|
2591
|
+
# * `scan-result.highest-finding-severity-label` - The highest severity
|
|
2592
|
+
# among the AMI's Amazon Inspector findings, whether or not a fix is
|
|
2593
|
+
# available. The valid values are the following Amazon Inspector
|
|
2594
|
+
# severity levels:
|
|
2595
|
+
#
|
|
2596
|
+
# * `informational` - CVSS score of 0.
|
|
2597
|
+
#
|
|
2598
|
+
# * `low` - CVSS score of 0.1 to 3.9.
|
|
2599
|
+
#
|
|
2600
|
+
# * `medium` - CVSS score of 4.0 to 6.9.
|
|
2601
|
+
#
|
|
2602
|
+
# * `high` - CVSS score of 7.0 to 8.9.
|
|
2603
|
+
#
|
|
2604
|
+
# * `critical` - CVSS score of 9.0 to 10.0.
|
|
2605
|
+
# * `scan-result.informational-fix-available-since` - The earliest date
|
|
2606
|
+
# and time, in the ISO 8601 format in the UTC time zone
|
|
2607
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
2608
|
+
# as available for an `informational` severity finding on the AMI.
|
|
2609
|
+
#
|
|
2610
|
+
# * `scan-result.low-fix-available-since` - The earliest date and time,
|
|
2611
|
+
# in the ISO 8601 format in the UTC time zone
|
|
2612
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
2613
|
+
# as available for a `low` severity finding on the AMI.
|
|
2614
|
+
#
|
|
2615
|
+
# * `scan-result.medium-fix-available-since` - The earliest date and
|
|
2616
|
+
# time, in the ISO 8601 format in the UTC time zone
|
|
2617
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
2618
|
+
# as available for a `medium` severity finding on the AMI.
|
|
2619
|
+
#
|
|
2577
2620
|
# * `source-image-id` - The ID of the source AMI from which the AMI was
|
|
2578
2621
|
# created.
|
|
2579
2622
|
#
|