aws-sdk-ec2 1.659.0 → 1.661.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.
@@ -1958,6 +1958,10 @@ module Aws::EC2
1958
1958
  GetImageAncestryResult = Shapes::StructureShape.new(name: 'GetImageAncestryResult')
1959
1959
  GetImageBlockPublicAccessStateRequest = Shapes::StructureShape.new(name: 'GetImageBlockPublicAccessStateRequest')
1960
1960
  GetImageBlockPublicAccessStateResult = Shapes::StructureShape.new(name: 'GetImageBlockPublicAccessStateResult')
1961
+ GetImageFindingsEntrySet = Shapes::ListShape.new(name: 'GetImageFindingsEntrySet')
1962
+ GetImageFindingsMaxResults = Shapes::IntegerShape.new(name: 'GetImageFindingsMaxResults')
1963
+ GetImageFindingsRequest = Shapes::StructureShape.new(name: 'GetImageFindingsRequest')
1964
+ GetImageFindingsResult = Shapes::StructureShape.new(name: 'GetImageFindingsResult')
1961
1965
  GetInstanceMetadataDefaultsRequest = Shapes::StructureShape.new(name: 'GetInstanceMetadataDefaultsRequest')
1962
1966
  GetInstanceMetadataDefaultsResult = Shapes::StructureShape.new(name: 'GetInstanceMetadataDefaultsResult')
1963
1967
  GetInstanceTpmEkPubRequest = Shapes::StructureShape.new(name: 'GetInstanceTpmEkPubRequest')
@@ -2041,6 +2045,8 @@ module Aws::EC2
2041
2045
  GetSubnetCidrReservationsMaxResults = Shapes::IntegerShape.new(name: 'GetSubnetCidrReservationsMaxResults')
2042
2046
  GetSubnetCidrReservationsRequest = Shapes::StructureShape.new(name: 'GetSubnetCidrReservationsRequest')
2043
2047
  GetSubnetCidrReservationsResult = Shapes::StructureShape.new(name: 'GetSubnetCidrReservationsResult')
2048
+ GetTransitGatewayAttachmentNatConfigurationRequest = Shapes::StructureShape.new(name: 'GetTransitGatewayAttachmentNatConfigurationRequest')
2049
+ GetTransitGatewayAttachmentNatConfigurationResult = Shapes::StructureShape.new(name: 'GetTransitGatewayAttachmentNatConfigurationResult')
2044
2050
  GetTransitGatewayAttachmentPropagationsRequest = Shapes::StructureShape.new(name: 'GetTransitGatewayAttachmentPropagationsRequest')
2045
2051
  GetTransitGatewayAttachmentPropagationsResult = Shapes::StructureShape.new(name: 'GetTransitGatewayAttachmentPropagationsResult')
2046
2052
  GetTransitGatewayMeteringPolicyEntriesRequest = Shapes::StructureShape.new(name: 'GetTransitGatewayMeteringPolicyEntriesRequest')
@@ -2157,6 +2163,8 @@ module Aws::EC2
2157
2163
  ImageDescriptionRequest = Shapes::StringShape.new(name: 'ImageDescriptionRequest')
2158
2164
  ImageDiskContainer = Shapes::StructureShape.new(name: 'ImageDiskContainer')
2159
2165
  ImageDiskContainerList = Shapes::ListShape.new(name: 'ImageDiskContainerList')
2166
+ ImageFinding = Shapes::StructureShape.new(name: 'ImageFinding')
2167
+ ImageFindingPathSet = Shapes::ListShape.new(name: 'ImageFindingPathSet')
2160
2168
  ImageId = Shapes::StringShape.new(name: 'ImageId')
2161
2169
  ImageIdList = Shapes::ListShape.new(name: 'ImageIdList')
2162
2170
  ImageIdStringList = Shapes::ListShape.new(name: 'ImageIdStringList')
@@ -2790,6 +2798,8 @@ module Aws::EC2
2790
2798
  MarketplaceProductCodeList = Shapes::ListShape.new(name: 'MarketplaceProductCodeList')
2791
2799
  MarketplaceProductCodeRequest = Shapes::StringShape.new(name: 'MarketplaceProductCodeRequest')
2792
2800
  MarketplaceProductCodeRequestList = Shapes::ListShape.new(name: 'MarketplaceProductCodeRequestList')
2801
+ MaxDaysSinceFixAvailableValue = Shapes::IntegerShape.new(name: 'MaxDaysSinceFixAvailableValue')
2802
+ MaxDaysSinceLastFindingScanValue = Shapes::IntegerShape.new(name: 'MaxDaysSinceLastFindingScanValue')
2793
2803
  MaxIpv4AddrPerInterface = Shapes::IntegerShape.new(name: 'MaxIpv4AddrPerInterface')
2794
2804
  MaxIpv6AddrPerInterface = Shapes::IntegerShape.new(name: 'MaxIpv6AddrPerInterface')
2795
2805
  MaxNetworkInterfaces = Shapes::IntegerShape.new(name: 'MaxNetworkInterfaces')
@@ -2943,6 +2953,8 @@ module Aws::EC2
2943
2953
  ModifyTrafficMirrorFilterRuleResult = Shapes::StructureShape.new(name: 'ModifyTrafficMirrorFilterRuleResult')
2944
2954
  ModifyTrafficMirrorSessionRequest = Shapes::StructureShape.new(name: 'ModifyTrafficMirrorSessionRequest')
2945
2955
  ModifyTrafficMirrorSessionResult = Shapes::StructureShape.new(name: 'ModifyTrafficMirrorSessionResult')
2956
+ ModifyTransitGatewayAttachmentNatConfigurationRequest = Shapes::StructureShape.new(name: 'ModifyTransitGatewayAttachmentNatConfigurationRequest')
2957
+ ModifyTransitGatewayAttachmentNatConfigurationResult = Shapes::StructureShape.new(name: 'ModifyTransitGatewayAttachmentNatConfigurationResult')
2946
2958
  ModifyTransitGatewayMeteringPolicyRequest = Shapes::StructureShape.new(name: 'ModifyTransitGatewayMeteringPolicyRequest')
2947
2959
  ModifyTransitGatewayMeteringPolicyResult = Shapes::StructureShape.new(name: 'ModifyTransitGatewayMeteringPolicyResult')
2948
2960
  ModifyTransitGatewayOptions = Shapes::StructureShape.new(name: 'ModifyTransitGatewayOptions')
@@ -3579,6 +3591,9 @@ module Aws::EC2
3579
3591
  S3StorageUploadPolicy = Shapes::StringShape.new(name: 'S3StorageUploadPolicy')
3580
3592
  S3StorageUploadPolicySignature = Shapes::StringShape.new(name: 'S3StorageUploadPolicySignature')
3581
3593
  SSEType = Shapes::StringShape.new(name: 'SSEType')
3594
+ ScanResultCondition = Shapes::StructureShape.new(name: 'ScanResultCondition')
3595
+ ScanResultConditionRequest = Shapes::StructureShape.new(name: 'ScanResultConditionRequest')
3596
+ ScanResults = Shapes::StructureShape.new(name: 'ScanResults')
3582
3597
  Schedule = Shapes::StringShape.new(name: 'Schedule')
3583
3598
  ScheduledInstance = Shapes::StructureShape.new(name: 'ScheduledInstance')
3584
3599
  ScheduledInstanceAvailability = Shapes::StructureShape.new(name: 'ScheduledInstanceAvailability')
@@ -3693,6 +3708,7 @@ module Aws::EC2
3693
3708
  ServiceType = Shapes::StringShape.new(name: 'ServiceType')
3694
3709
  ServiceTypeDetail = Shapes::StructureShape.new(name: 'ServiceTypeDetail')
3695
3710
  ServiceTypeDetailSet = Shapes::ListShape.new(name: 'ServiceTypeDetailSet')
3711
+ SeverityLabel = Shapes::StringShape.new(name: 'SeverityLabel')
3696
3712
  ShutdownBehavior = Shapes::StringShape.new(name: 'ShutdownBehavior')
3697
3713
  SlotDateTimeRangeRequest = Shapes::StructureShape.new(name: 'SlotDateTimeRangeRequest')
3698
3714
  SlotStartTimeRangeRequest = Shapes::StructureShape.new(name: 'SlotStartTimeRangeRequest')
@@ -3912,6 +3928,9 @@ module Aws::EC2
3912
3928
  TransitGatewayAttachmentId = Shapes::StringShape.new(name: 'TransitGatewayAttachmentId')
3913
3929
  TransitGatewayAttachmentIdStringList = Shapes::ListShape.new(name: 'TransitGatewayAttachmentIdStringList')
3914
3930
  TransitGatewayAttachmentList = Shapes::ListShape.new(name: 'TransitGatewayAttachmentList')
3931
+ TransitGatewayAttachmentNatGatewaySupportState = Shapes::StringShape.new(name: 'TransitGatewayAttachmentNatGatewaySupportState')
3932
+ TransitGatewayAttachmentNatGatewaySupportValue = Shapes::StringShape.new(name: 'TransitGatewayAttachmentNatGatewaySupportValue')
3933
+ TransitGatewayAttachmentNatSystemRouteSupportValue = Shapes::StringShape.new(name: 'TransitGatewayAttachmentNatSystemRouteSupportValue')
3915
3934
  TransitGatewayAttachmentPropagation = Shapes::StructureShape.new(name: 'TransitGatewayAttachmentPropagation')
3916
3935
  TransitGatewayAttachmentPropagationList = Shapes::ListShape.new(name: 'TransitGatewayAttachmentPropagationList')
3917
3936
  TransitGatewayAttachmentResourceType = Shapes::StringShape.new(name: 'TransitGatewayAttachmentResourceType')
@@ -3961,6 +3980,11 @@ module Aws::EC2
3961
3980
  TransitGatewayMulticastGroupList = Shapes::ListShape.new(name: 'TransitGatewayMulticastGroupList')
3962
3981
  TransitGatewayMulticastRegisteredGroupMembers = Shapes::StructureShape.new(name: 'TransitGatewayMulticastRegisteredGroupMembers')
3963
3982
  TransitGatewayMulticastRegisteredGroupSources = Shapes::StructureShape.new(name: 'TransitGatewayMulticastRegisteredGroupSources')
3983
+ TransitGatewayNatRule = Shapes::StructureShape.new(name: 'TransitGatewayNatRule')
3984
+ TransitGatewayNatRuleList = Shapes::ListShape.new(name: 'TransitGatewayNatRuleList')
3985
+ TransitGatewayNatRuleRequest = Shapes::StructureShape.new(name: 'TransitGatewayNatRuleRequest')
3986
+ TransitGatewayNatRuleRequestList = Shapes::ListShape.new(name: 'TransitGatewayNatRuleRequestList')
3987
+ TransitGatewayNatRuleState = Shapes::StringShape.new(name: 'TransitGatewayNatRuleState')
3964
3988
  TransitGatewayNetworkInterfaceIdList = Shapes::ListShape.new(name: 'TransitGatewayNetworkInterfaceIdList')
3965
3989
  TransitGatewayOptions = Shapes::StructureShape.new(name: 'TransitGatewayOptions')
3966
3990
  TransitGatewayPeeringAttachment = Shapes::StructureShape.new(name: 'TransitGatewayPeeringAttachment')
@@ -12278,6 +12302,18 @@ module Aws::EC2
12278
12302
  GetImageBlockPublicAccessStateResult.add_member(:managed_by, Shapes::ShapeRef.new(shape: ManagedBy, location_name: "managedBy"))
12279
12303
  GetImageBlockPublicAccessStateResult.struct_class = Types::GetImageBlockPublicAccessStateResult
12280
12304
 
12305
+ GetImageFindingsEntrySet.member = Shapes::ShapeRef.new(shape: ImageFinding, location_name: "item")
12306
+
12307
+ GetImageFindingsRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
12308
+ GetImageFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetImageFindingsMaxResults, location_name: "MaxResults"))
12309
+ GetImageFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
12310
+ GetImageFindingsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
12311
+ GetImageFindingsRequest.struct_class = Types::GetImageFindingsRequest
12312
+
12313
+ GetImageFindingsResult.add_member(:image_findings, Shapes::ShapeRef.new(shape: GetImageFindingsEntrySet, location_name: "imageFindingSet"))
12314
+ GetImageFindingsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
12315
+ GetImageFindingsResult.struct_class = Types::GetImageFindingsResult
12316
+
12281
12317
  GetInstanceMetadataDefaultsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
12282
12318
  GetInstanceMetadataDefaultsRequest.struct_class = Types::GetInstanceMetadataDefaultsRequest
12283
12319
 
@@ -12705,6 +12741,16 @@ module Aws::EC2
12705
12741
  GetSubnetCidrReservationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
12706
12742
  GetSubnetCidrReservationsResult.struct_class = Types::GetSubnetCidrReservationsResult
12707
12743
 
12744
+ GetTransitGatewayAttachmentNatConfigurationRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, required: true, location_name: "TransitGatewayAttachmentId"))
12745
+ GetTransitGatewayAttachmentNatConfigurationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
12746
+ GetTransitGatewayAttachmentNatConfigurationRequest.struct_class = Types::GetTransitGatewayAttachmentNatConfigurationRequest
12747
+
12748
+ GetTransitGatewayAttachmentNatConfigurationResult.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, location_name: "transitGatewayAttachmentId"))
12749
+ GetTransitGatewayAttachmentNatConfigurationResult.add_member(:nat_gateway_support, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentNatGatewaySupportState, location_name: "natGatewaySupport"))
12750
+ GetTransitGatewayAttachmentNatConfigurationResult.add_member(:nat_system_route_support, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentNatSystemRouteSupportValue, location_name: "natSystemRouteSupport"))
12751
+ GetTransitGatewayAttachmentNatConfigurationResult.add_member(:nat_gateway_rules, Shapes::ShapeRef.new(shape: TransitGatewayNatRuleList, location_name: "natGatewayRuleSet"))
12752
+ GetTransitGatewayAttachmentNatConfigurationResult.struct_class = Types::GetTransitGatewayAttachmentNatConfigurationResult
12753
+
12708
12754
  GetTransitGatewayAttachmentPropagationsRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, required: true, location_name: "TransitGatewayAttachmentId"))
12709
12755
  GetTransitGatewayAttachmentPropagationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
12710
12756
  GetTransitGatewayAttachmentPropagationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: TransitGatewayMaxResults, location_name: "MaxResults"))
@@ -13088,6 +13134,7 @@ module Aws::EC2
13088
13134
  Image.add_member(:free_tier_eligible, Shapes::ShapeRef.new(shape: Boolean, location_name: "freeTierEligible"))
13089
13135
  Image.add_member(:public_ssm_parameter_name, Shapes::ShapeRef.new(shape: String, location_name: "publicSsmParameterName"))
13090
13136
  Image.add_member(:image_watermarks, Shapes::ShapeRef.new(shape: ImageWatermarkList, location_name: "imageWatermarkSet"))
13137
+ Image.add_member(:scan_results, Shapes::ShapeRef.new(shape: ScanResults, location_name: "scanResults"))
13091
13138
  Image.add_member(:instance_type_specification, Shapes::ShapeRef.new(shape: InstanceTypeSpecification, location_name: "instanceTypeSpecification"))
13092
13139
  Image.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
13093
13140
  Image.add_member(:image_location, Shapes::ShapeRef.new(shape: String, location_name: "imageLocation"))
@@ -13134,6 +13181,7 @@ module Aws::EC2
13134
13181
  ImageCriterion.add_member(:deprecation_time_condition, Shapes::ShapeRef.new(shape: DeprecationTimeCondition, location_name: "deprecationTimeCondition"))
13135
13182
  ImageCriterion.add_member(:creation_date_condition, Shapes::ShapeRef.new(shape: CreationDateCondition, location_name: "creationDateCondition"))
13136
13183
  ImageCriterion.add_member(:image_watermarks, Shapes::ShapeRef.new(shape: ImageWatermarkFilterResponseList, location_name: "imageWatermarkSet"))
13184
+ ImageCriterion.add_member(:scan_result_condition, Shapes::ShapeRef.new(shape: ScanResultCondition, location_name: "scanResultCondition"))
13137
13185
  ImageCriterion.struct_class = Types::ImageCriterion
13138
13186
 
13139
13187
  ImageCriterionList.member = Shapes::ShapeRef.new(shape: ImageCriterion, location_name: "item")
@@ -13144,6 +13192,7 @@ module Aws::EC2
13144
13192
  ImageCriterionRequest.add_member(:deprecation_time_condition, Shapes::ShapeRef.new(shape: DeprecationTimeConditionRequest, location_name: "DeprecationTimeCondition"))
13145
13193
  ImageCriterionRequest.add_member(:creation_date_condition, Shapes::ShapeRef.new(shape: CreationDateConditionRequest, location_name: "CreationDateCondition"))
13146
13194
  ImageCriterionRequest.add_member(:image_watermarks, Shapes::ShapeRef.new(shape: ImageWatermarkFilterRequestList, location_name: "ImageWatermark"))
13195
+ ImageCriterionRequest.add_member(:scan_result_condition, Shapes::ShapeRef.new(shape: ScanResultConditionRequest, location_name: "ScanResultCondition"))
13147
13196
  ImageCriterionRequest.struct_class = Types::ImageCriterionRequest
13148
13197
 
13149
13198
  ImageCriterionRequestList.member = Shapes::ShapeRef.new(shape: ImageCriterionRequest, location_name: "ImageCriterion")
@@ -13158,6 +13207,18 @@ module Aws::EC2
13158
13207
 
13159
13208
  ImageDiskContainerList.member = Shapes::ShapeRef.new(shape: ImageDiskContainer, location_name: "item")
13160
13209
 
13210
+ ImageFinding.add_member(:fix_available, Shapes::ShapeRef.new(shape: Boolean, location_name: "fixAvailable"))
13211
+ ImageFinding.add_member(:score, Shapes::ShapeRef.new(shape: Double, location_name: "score"))
13212
+ ImageFinding.add_member(:first_observed_at, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "firstObservedAt"))
13213
+ ImageFinding.add_member(:updated_at, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "updatedAt"))
13214
+ ImageFinding.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
13215
+ ImageFinding.add_member(:paths, Shapes::ShapeRef.new(shape: ImageFindingPathSet, location_name: "pathSet"))
13216
+ ImageFinding.add_member(:severity_label, Shapes::ShapeRef.new(shape: SeverityLabel, location_name: "severityLabel"))
13217
+ ImageFinding.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "snapshotId"))
13218
+ ImageFinding.struct_class = Types::ImageFinding
13219
+
13220
+ ImageFindingPathSet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
13221
+
13161
13222
  ImageIdList.member = Shapes::ShapeRef.new(shape: ImageId, location_name: "item")
13162
13223
 
13163
13224
  ImageIdStringList.member = Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId")
@@ -16078,6 +16139,20 @@ module Aws::EC2
16078
16139
  ModifyTrafficMirrorSessionResult.add_member(:traffic_mirror_session, Shapes::ShapeRef.new(shape: TrafficMirrorSession, location_name: "trafficMirrorSession"))
16079
16140
  ModifyTrafficMirrorSessionResult.struct_class = Types::ModifyTrafficMirrorSessionResult
16080
16141
 
16142
+ ModifyTransitGatewayAttachmentNatConfigurationRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, required: true, location_name: "TransitGatewayAttachmentId"))
16143
+ ModifyTransitGatewayAttachmentNatConfigurationRequest.add_member(:nat_gateway_support, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentNatGatewaySupportValue, location_name: "NatGatewaySupport"))
16144
+ ModifyTransitGatewayAttachmentNatConfigurationRequest.add_member(:nat_system_route_support, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentNatSystemRouteSupportValue, location_name: "NatSystemRouteSupport"))
16145
+ ModifyTransitGatewayAttachmentNatConfigurationRequest.add_member(:nat_gateway_rules, Shapes::ShapeRef.new(shape: TransitGatewayNatRuleRequestList, location_name: "NatGatewayRule"))
16146
+ ModifyTransitGatewayAttachmentNatConfigurationRequest.add_member(:reset_nat_gateway_rules, Shapes::ShapeRef.new(shape: Boolean, location_name: "ResetNatGatewayRules"))
16147
+ ModifyTransitGatewayAttachmentNatConfigurationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
16148
+ ModifyTransitGatewayAttachmentNatConfigurationRequest.struct_class = Types::ModifyTransitGatewayAttachmentNatConfigurationRequest
16149
+
16150
+ ModifyTransitGatewayAttachmentNatConfigurationResult.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, location_name: "transitGatewayAttachmentId"))
16151
+ ModifyTransitGatewayAttachmentNatConfigurationResult.add_member(:nat_gateway_support, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentNatGatewaySupportState, location_name: "natGatewaySupport"))
16152
+ ModifyTransitGatewayAttachmentNatConfigurationResult.add_member(:nat_system_route_support, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentNatSystemRouteSupportValue, location_name: "natSystemRouteSupport"))
16153
+ ModifyTransitGatewayAttachmentNatConfigurationResult.add_member(:nat_gateway_rules, Shapes::ShapeRef.new(shape: TransitGatewayNatRuleList, location_name: "natGatewayRuleSet"))
16154
+ ModifyTransitGatewayAttachmentNatConfigurationResult.struct_class = Types::ModifyTransitGatewayAttachmentNatConfigurationResult
16155
+
16081
16156
  ModifyTransitGatewayMeteringPolicyRequest.add_member(:transit_gateway_metering_policy_id, Shapes::ShapeRef.new(shape: TransitGatewayMeteringPolicyId, required: true, location_name: "TransitGatewayMeteringPolicyId"))
16082
16157
  ModifyTransitGatewayMeteringPolicyRequest.add_member(:add_middlebox_attachment_ids, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentIdStringList, location_name: "AddMiddleboxAttachmentId"))
16083
16158
  ModifyTransitGatewayMeteringPolicyRequest.add_member(:remove_middlebox_attachment_ids, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentIdStringList, location_name: "RemoveMiddleboxAttachmentId"))
@@ -18472,6 +18547,33 @@ module Aws::EC2
18472
18547
  S3Storage.add_member(:upload_policy_signature, Shapes::ShapeRef.new(shape: S3StorageUploadPolicySignature, location_name: "uploadPolicySignature"))
18473
18548
  S3Storage.struct_class = Types::S3Storage
18474
18549
 
18550
+ ScanResultCondition.add_member(:max_days_since_last_finding_scan, Shapes::ShapeRef.new(shape: MaxDaysSinceLastFindingScanValue, location_name: "maxDaysSinceLastFindingScan"))
18551
+ ScanResultCondition.add_member(:maximum_severity_label, Shapes::ShapeRef.new(shape: SeverityLabel, location_name: "maximumSeverityLabel"))
18552
+ ScanResultCondition.add_member(:max_days_since_informational_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "maxDaysSinceInformationalFixAvailable"))
18553
+ ScanResultCondition.add_member(:max_days_since_low_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "maxDaysSinceLowFixAvailable"))
18554
+ ScanResultCondition.add_member(:max_days_since_medium_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "maxDaysSinceMediumFixAvailable"))
18555
+ ScanResultCondition.add_member(:max_days_since_high_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "maxDaysSinceHighFixAvailable"))
18556
+ ScanResultCondition.add_member(:max_days_since_critical_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "maxDaysSinceCriticalFixAvailable"))
18557
+ ScanResultCondition.struct_class = Types::ScanResultCondition
18558
+
18559
+ ScanResultConditionRequest.add_member(:max_days_since_last_finding_scan, Shapes::ShapeRef.new(shape: MaxDaysSinceLastFindingScanValue, location_name: "MaxDaysSinceLastFindingScan"))
18560
+ ScanResultConditionRequest.add_member(:maximum_severity_label, Shapes::ShapeRef.new(shape: SeverityLabel, location_name: "MaximumSeverityLabel"))
18561
+ ScanResultConditionRequest.add_member(:max_days_since_informational_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "MaxDaysSinceInformationalFixAvailable"))
18562
+ ScanResultConditionRequest.add_member(:max_days_since_low_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "MaxDaysSinceLowFixAvailable"))
18563
+ ScanResultConditionRequest.add_member(:max_days_since_medium_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "MaxDaysSinceMediumFixAvailable"))
18564
+ ScanResultConditionRequest.add_member(:max_days_since_high_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "MaxDaysSinceHighFixAvailable"))
18565
+ ScanResultConditionRequest.add_member(:max_days_since_critical_fix_available, Shapes::ShapeRef.new(shape: MaxDaysSinceFixAvailableValue, location_name: "MaxDaysSinceCriticalFixAvailable"))
18566
+ ScanResultConditionRequest.struct_class = Types::ScanResultConditionRequest
18567
+
18568
+ ScanResults.add_member(:highest_finding_severity_label, Shapes::ShapeRef.new(shape: SeverityLabel, location_name: "highestFindingSeverityLabel"))
18569
+ ScanResults.add_member(:finding_scan_date, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "findingScanDate"))
18570
+ ScanResults.add_member(:informational_fix_available_since, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "informationalFixAvailableSince"))
18571
+ ScanResults.add_member(:low_fix_available_since, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "lowFixAvailableSince"))
18572
+ ScanResults.add_member(:medium_fix_available_since, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "mediumFixAvailableSince"))
18573
+ ScanResults.add_member(:high_fix_available_since, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "highFixAvailableSince"))
18574
+ ScanResults.add_member(:critical_fix_available_since, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "criticalFixAvailableSince"))
18575
+ ScanResults.struct_class = Types::ScanResults
18576
+
18475
18577
  ScheduledInstance.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
18476
18578
  ScheduledInstance.add_member(:create_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "createDate"))
18477
18579
  ScheduledInstance.add_member(:hourly_price, Shapes::ShapeRef.new(shape: String, location_name: "hourlyPrice"))
@@ -19625,6 +19727,7 @@ module Aws::EC2
19625
19727
  TransitGatewayAttachment.add_member(:association, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentAssociation, location_name: "association"))
19626
19728
  TransitGatewayAttachment.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
19627
19729
  TransitGatewayAttachment.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
19730
+ TransitGatewayAttachment.add_member(:nat_gateway_support, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentNatGatewaySupportState, location_name: "natGatewaySupport"))
19628
19731
  TransitGatewayAttachment.struct_class = Types::TransitGatewayAttachment
19629
19732
 
19630
19733
  TransitGatewayAttachmentAssociation.add_member(:transit_gateway_route_table_id, Shapes::ShapeRef.new(shape: String, location_name: "transitGatewayRouteTableId"))
@@ -19816,6 +19919,21 @@ module Aws::EC2
19816
19919
  TransitGatewayMulticastRegisteredGroupSources.add_member(:group_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "groupIpAddress"))
19817
19920
  TransitGatewayMulticastRegisteredGroupSources.struct_class = Types::TransitGatewayMulticastRegisteredGroupSources
19818
19921
 
19922
+ TransitGatewayNatRule.add_member(:rule_number, Shapes::ShapeRef.new(shape: Integer, location_name: "ruleNumber"))
19923
+ TransitGatewayNatRule.add_member(:match_source_cidr, Shapes::ShapeRef.new(shape: String, location_name: "matchSourceCidr"))
19924
+ TransitGatewayNatRule.add_member(:nat_cidr, Shapes::ShapeRef.new(shape: String, location_name: "natCidr"))
19925
+ TransitGatewayNatRule.add_member(:state, Shapes::ShapeRef.new(shape: TransitGatewayNatRuleState, location_name: "state"))
19926
+ TransitGatewayNatRule.struct_class = Types::TransitGatewayNatRule
19927
+
19928
+ TransitGatewayNatRuleList.member = Shapes::ShapeRef.new(shape: TransitGatewayNatRule, location_name: "item")
19929
+
19930
+ TransitGatewayNatRuleRequest.add_member(:rule_number, Shapes::ShapeRef.new(shape: Integer, location_name: "RuleNumber"))
19931
+ TransitGatewayNatRuleRequest.add_member(:match_source_cidr, Shapes::ShapeRef.new(shape: String, location_name: "MatchSourceCidr"))
19932
+ TransitGatewayNatRuleRequest.add_member(:nat_cidr, Shapes::ShapeRef.new(shape: String, location_name: "NatCidr"))
19933
+ TransitGatewayNatRuleRequest.struct_class = Types::TransitGatewayNatRuleRequest
19934
+
19935
+ TransitGatewayNatRuleRequestList.member = Shapes::ShapeRef.new(shape: TransitGatewayNatRuleRequest, location_name: "item")
19936
+
19819
19937
  TransitGatewayNetworkInterfaceIdList.member = Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "item")
19820
19938
 
19821
19939
  TransitGatewayOptions.add_member(:amazon_side_asn, Shapes::ShapeRef.new(shape: Long, location_name: "amazonSideAsn"))
@@ -26481,6 +26599,20 @@ module Aws::EC2
26481
26599
  o.output = Shapes::ShapeRef.new(shape: GetImageBlockPublicAccessStateResult)
26482
26600
  end)
26483
26601
 
26602
+ api.add_operation(:get_image_findings, Seahorse::Model::Operation.new.tap do |o|
26603
+ o.name = "GetImageFindings"
26604
+ o.http_method = "POST"
26605
+ o.http_request_uri = "/"
26606
+ o.input = Shapes::ShapeRef.new(shape: GetImageFindingsRequest)
26607
+ o.output = Shapes::ShapeRef.new(shape: GetImageFindingsResult)
26608
+ o[:pager] = Aws::Pager.new(
26609
+ limit_key: "max_results",
26610
+ tokens: {
26611
+ "next_token" => "next_token"
26612
+ }
26613
+ )
26614
+ end)
26615
+
26484
26616
  api.add_operation(:get_instance_metadata_defaults, Seahorse::Model::Operation.new.tap do |o|
26485
26617
  o.name = "GetInstanceMetadataDefaults"
26486
26618
  o.http_method = "POST"
@@ -26883,6 +27015,14 @@ module Aws::EC2
26883
27015
  o.output = Shapes::ShapeRef.new(shape: GetSubnetCidrReservationsResult)
26884
27016
  end)
26885
27017
 
27018
+ api.add_operation(:get_transit_gateway_attachment_nat_configuration, Seahorse::Model::Operation.new.tap do |o|
27019
+ o.name = "GetTransitGatewayAttachmentNatConfiguration"
27020
+ o.http_method = "POST"
27021
+ o.http_request_uri = "/"
27022
+ o.input = Shapes::ShapeRef.new(shape: GetTransitGatewayAttachmentNatConfigurationRequest)
27023
+ o.output = Shapes::ShapeRef.new(shape: GetTransitGatewayAttachmentNatConfigurationResult)
27024
+ end)
27025
+
26886
27026
  api.add_operation(:get_transit_gateway_attachment_propagations, Seahorse::Model::Operation.new.tap do |o|
26887
27027
  o.name = "GetTransitGatewayAttachmentPropagations"
26888
27028
  o.http_method = "POST"
@@ -27591,6 +27731,14 @@ module Aws::EC2
27591
27731
  o.output = Shapes::ShapeRef.new(shape: ModifyTransitGatewayResult)
27592
27732
  end)
27593
27733
 
27734
+ api.add_operation(:modify_transit_gateway_attachment_nat_configuration, Seahorse::Model::Operation.new.tap do |o|
27735
+ o.name = "ModifyTransitGatewayAttachmentNatConfiguration"
27736
+ o.http_method = "POST"
27737
+ o.http_request_uri = "/"
27738
+ o.input = Shapes::ShapeRef.new(shape: ModifyTransitGatewayAttachmentNatConfigurationRequest)
27739
+ o.output = Shapes::ShapeRef.new(shape: ModifyTransitGatewayAttachmentNatConfigurationResult)
27740
+ end)
27741
+
27594
27742
  api.add_operation(:modify_transit_gateway_metering_policy, Seahorse::Model::Operation.new.tap do |o|
27595
27743
  o.name = "ModifyTransitGatewayMeteringPolicy"
27596
27744
  o.http_method = "POST"
@@ -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]
@@ -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
  #