aws-sdk-inspector2 1.7.0 → 1.8.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.
@@ -34,6 +34,8 @@ module Aws::Inspector2
34
34
  AmiAggregationResponse = Shapes::StructureShape.new(name: 'AmiAggregationResponse')
35
35
  AmiId = Shapes::StringShape.new(name: 'AmiId')
36
36
  AmiSortBy = Shapes::StringShape.new(name: 'AmiSortBy')
37
+ Architecture = Shapes::StringShape.new(name: 'Architecture')
38
+ ArchitectureList = Shapes::ListShape.new(name: 'ArchitectureList')
37
39
  Arn = Shapes::StringShape.new(name: 'Arn')
38
40
  AssociateMemberRequest = Shapes::StructureShape.new(name: 'AssociateMemberRequest')
39
41
  AssociateMemberResponse = Shapes::StructureShape.new(name: 'AssociateMemberResponse')
@@ -43,6 +45,7 @@ module Aws::Inspector2
43
45
  AwsEcrContainerAggregationResponse = Shapes::StructureShape.new(name: 'AwsEcrContainerAggregationResponse')
44
46
  AwsEcrContainerImageDetails = Shapes::StructureShape.new(name: 'AwsEcrContainerImageDetails')
45
47
  AwsEcrContainerSortBy = Shapes::StringShape.new(name: 'AwsEcrContainerSortBy')
48
+ AwsLambdaFunctionDetails = Shapes::StructureShape.new(name: 'AwsLambdaFunctionDetails')
46
49
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
47
50
  BatchGetAccountStatusRequest = Shapes::StructureShape.new(name: 'BatchGetAccountStatusRequest')
48
51
  BatchGetAccountStatusResponse = Shapes::StructureShape.new(name: 'BatchGetAccountStatusResponse')
@@ -119,6 +122,9 @@ module Aws::Inspector2
119
122
  EnableResponse = Shapes::StructureShape.new(name: 'EnableResponse')
120
123
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
121
124
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
125
+ ExecutionRoleArn = Shapes::StringShape.new(name: 'ExecutionRoleArn')
126
+ ExploitAvailable = Shapes::StringShape.new(name: 'ExploitAvailable')
127
+ ExploitabilityDetails = Shapes::StructureShape.new(name: 'ExploitabilityDetails')
122
128
  ExternalReportStatus = Shapes::StringShape.new(name: 'ExternalReportStatus')
123
129
  FailedAccount = Shapes::StructureShape.new(name: 'FailedAccount')
124
130
  FailedAccountList = Shapes::ListShape.new(name: 'FailedAccountList')
@@ -152,6 +158,7 @@ module Aws::Inspector2
152
158
  FreeTrialInfoList = Shapes::ListShape.new(name: 'FreeTrialInfoList')
153
159
  FreeTrialStatus = Shapes::StringShape.new(name: 'FreeTrialStatus')
154
160
  FreeTrialType = Shapes::StringShape.new(name: 'FreeTrialType')
161
+ FunctionName = Shapes::StringShape.new(name: 'FunctionName')
155
162
  GetConfigurationRequest = Shapes::StructureShape.new(name: 'GetConfigurationRequest')
156
163
  GetConfigurationResponse = Shapes::StructureShape.new(name: 'GetConfigurationResponse')
157
164
  GetDelegatedAdminAccountRequest = Shapes::StructureShape.new(name: 'GetDelegatedAdminAccountRequest')
@@ -173,6 +180,17 @@ module Aws::Inspector2
173
180
  IpV4AddressList = Shapes::ListShape.new(name: 'IpV4AddressList')
174
181
  IpV6Address = Shapes::StringShape.new(name: 'IpV6Address')
175
182
  IpV6AddressList = Shapes::ListShape.new(name: 'IpV6AddressList')
183
+ LambdaFunctionAggregation = Shapes::StructureShape.new(name: 'LambdaFunctionAggregation')
184
+ LambdaFunctionAggregationResponse = Shapes::StructureShape.new(name: 'LambdaFunctionAggregationResponse')
185
+ LambdaFunctionMetadata = Shapes::StructureShape.new(name: 'LambdaFunctionMetadata')
186
+ LambdaFunctionSortBy = Shapes::StringShape.new(name: 'LambdaFunctionSortBy')
187
+ LambdaLayerAggregation = Shapes::StructureShape.new(name: 'LambdaLayerAggregation')
188
+ LambdaLayerAggregationResponse = Shapes::StructureShape.new(name: 'LambdaLayerAggregationResponse')
189
+ LambdaLayerArn = Shapes::StringShape.new(name: 'LambdaLayerArn')
190
+ LambdaLayerList = Shapes::ListShape.new(name: 'LambdaLayerList')
191
+ LambdaLayerSortBy = Shapes::StringShape.new(name: 'LambdaLayerSortBy')
192
+ LambdaVpcConfig = Shapes::StructureShape.new(name: 'LambdaVpcConfig')
193
+ LayerList = Shapes::ListShape.new(name: 'LayerList')
176
194
  ListAccountPermissionsMaxResults = Shapes::IntegerShape.new(name: 'ListAccountPermissionsMaxResults')
177
195
  ListAccountPermissionsRequest = Shapes::StructureShape.new(name: 'ListAccountPermissionsRequest')
178
196
  ListAccountPermissionsResponse = Shapes::StructureShape.new(name: 'ListAccountPermissionsResponse')
@@ -232,6 +250,7 @@ module Aws::Inspector2
232
250
  PackageName = Shapes::StringShape.new(name: 'PackageName')
233
251
  PackageRelease = Shapes::StringShape.new(name: 'PackageRelease')
234
252
  PackageSortBy = Shapes::StringShape.new(name: 'PackageSortBy')
253
+ PackageType = Shapes::StringShape.new(name: 'PackageType')
235
254
  PackageVersion = Shapes::StringShape.new(name: 'PackageVersion')
236
255
  PackageVulnerabilityDetails = Shapes::StructureShape.new(name: 'PackageVulnerabilityDetails')
237
256
  Permission = Shapes::StructureShape.new(name: 'Permission')
@@ -260,10 +279,13 @@ module Aws::Inspector2
260
279
  ResourceState = Shapes::StructureShape.new(name: 'ResourceState')
261
280
  ResourceStatus = Shapes::StructureShape.new(name: 'ResourceStatus')
262
281
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
282
+ Runtime = Shapes::StringShape.new(name: 'Runtime')
263
283
  ScanStatus = Shapes::StructureShape.new(name: 'ScanStatus')
264
284
  ScanStatusCode = Shapes::StringShape.new(name: 'ScanStatusCode')
265
285
  ScanStatusReason = Shapes::StringShape.new(name: 'ScanStatusReason')
266
286
  ScanType = Shapes::StringShape.new(name: 'ScanType')
287
+ SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
288
+ SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
267
289
  Service = Shapes::StringShape.new(name: 'Service')
268
290
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
269
291
  Severity = Shapes::StringShape.new(name: 'Severity')
@@ -282,6 +304,8 @@ module Aws::Inspector2
282
304
  StringFilterList = Shapes::ListShape.new(name: 'StringFilterList')
283
305
  StringInput = Shapes::StringShape.new(name: 'StringInput')
284
306
  StringList = Shapes::ListShape.new(name: 'StringList')
307
+ SubnetId = Shapes::StringShape.new(name: 'SubnetId')
308
+ SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
285
309
  TagKey = Shapes::StringShape.new(name: 'TagKey')
286
310
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
287
311
  TagList = Shapes::ListShape.new(name: 'TagList')
@@ -313,6 +337,8 @@ module Aws::Inspector2
313
337
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
314
338
  ValidationExceptionFields = Shapes::ListShape.new(name: 'ValidationExceptionFields')
315
339
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
340
+ Version = Shapes::StringShape.new(name: 'Version')
341
+ VpcId = Shapes::StringShape.new(name: 'VpcId')
316
342
  VulnerabilityId = Shapes::StringShape.new(name: 'VulnerabilityId')
317
343
  VulnerabilityIdList = Shapes::ListShape.new(name: 'VulnerabilityIdList')
318
344
  VulnerablePackage = Shapes::StructureShape.new(name: 'VulnerablePackage')
@@ -354,6 +380,8 @@ module Aws::Inspector2
354
380
  AggregationRequest.add_member(:ec2_instance_aggregation, Shapes::ShapeRef.new(shape: Ec2InstanceAggregation, location_name: "ec2InstanceAggregation"))
355
381
  AggregationRequest.add_member(:finding_type_aggregation, Shapes::ShapeRef.new(shape: FindingTypeAggregation, location_name: "findingTypeAggregation"))
356
382
  AggregationRequest.add_member(:image_layer_aggregation, Shapes::ShapeRef.new(shape: ImageLayerAggregation, location_name: "imageLayerAggregation"))
383
+ AggregationRequest.add_member(:lambda_function_aggregation, Shapes::ShapeRef.new(shape: LambdaFunctionAggregation, location_name: "lambdaFunctionAggregation"))
384
+ AggregationRequest.add_member(:lambda_layer_aggregation, Shapes::ShapeRef.new(shape: LambdaLayerAggregation, location_name: "lambdaLayerAggregation"))
357
385
  AggregationRequest.add_member(:package_aggregation, Shapes::ShapeRef.new(shape: PackageAggregation, location_name: "packageAggregation"))
358
386
  AggregationRequest.add_member(:repository_aggregation, Shapes::ShapeRef.new(shape: RepositoryAggregation, location_name: "repositoryAggregation"))
359
387
  AggregationRequest.add_member(:title_aggregation, Shapes::ShapeRef.new(shape: TitleAggregation, location_name: "titleAggregation"))
@@ -364,6 +392,8 @@ module Aws::Inspector2
364
392
  AggregationRequest.add_member_subclass(:ec2_instance_aggregation, Types::AggregationRequest::Ec2InstanceAggregation)
365
393
  AggregationRequest.add_member_subclass(:finding_type_aggregation, Types::AggregationRequest::FindingTypeAggregation)
366
394
  AggregationRequest.add_member_subclass(:image_layer_aggregation, Types::AggregationRequest::ImageLayerAggregation)
395
+ AggregationRequest.add_member_subclass(:lambda_function_aggregation, Types::AggregationRequest::LambdaFunctionAggregation)
396
+ AggregationRequest.add_member_subclass(:lambda_layer_aggregation, Types::AggregationRequest::LambdaLayerAggregation)
367
397
  AggregationRequest.add_member_subclass(:package_aggregation, Types::AggregationRequest::PackageAggregation)
368
398
  AggregationRequest.add_member_subclass(:repository_aggregation, Types::AggregationRequest::RepositoryAggregation)
369
399
  AggregationRequest.add_member_subclass(:title_aggregation, Types::AggregationRequest::TitleAggregation)
@@ -376,6 +406,8 @@ module Aws::Inspector2
376
406
  AggregationResponse.add_member(:ec2_instance_aggregation, Shapes::ShapeRef.new(shape: Ec2InstanceAggregationResponse, location_name: "ec2InstanceAggregation"))
377
407
  AggregationResponse.add_member(:finding_type_aggregation, Shapes::ShapeRef.new(shape: FindingTypeAggregationResponse, location_name: "findingTypeAggregation"))
378
408
  AggregationResponse.add_member(:image_layer_aggregation, Shapes::ShapeRef.new(shape: ImageLayerAggregationResponse, location_name: "imageLayerAggregation"))
409
+ AggregationResponse.add_member(:lambda_function_aggregation, Shapes::ShapeRef.new(shape: LambdaFunctionAggregationResponse, location_name: "lambdaFunctionAggregation"))
410
+ AggregationResponse.add_member(:lambda_layer_aggregation, Shapes::ShapeRef.new(shape: LambdaLayerAggregationResponse, location_name: "lambdaLayerAggregation"))
379
411
  AggregationResponse.add_member(:package_aggregation, Shapes::ShapeRef.new(shape: PackageAggregationResponse, location_name: "packageAggregation"))
380
412
  AggregationResponse.add_member(:repository_aggregation, Shapes::ShapeRef.new(shape: RepositoryAggregationResponse, location_name: "repositoryAggregation"))
381
413
  AggregationResponse.add_member(:title_aggregation, Shapes::ShapeRef.new(shape: TitleAggregationResponse, location_name: "titleAggregation"))
@@ -386,6 +418,8 @@ module Aws::Inspector2
386
418
  AggregationResponse.add_member_subclass(:ec2_instance_aggregation, Types::AggregationResponse::Ec2InstanceAggregation)
387
419
  AggregationResponse.add_member_subclass(:finding_type_aggregation, Types::AggregationResponse::FindingTypeAggregation)
388
420
  AggregationResponse.add_member_subclass(:image_layer_aggregation, Types::AggregationResponse::ImageLayerAggregation)
421
+ AggregationResponse.add_member_subclass(:lambda_function_aggregation, Types::AggregationResponse::LambdaFunctionAggregation)
422
+ AggregationResponse.add_member_subclass(:lambda_layer_aggregation, Types::AggregationResponse::LambdaLayerAggregation)
389
423
  AggregationResponse.add_member_subclass(:package_aggregation, Types::AggregationResponse::PackageAggregation)
390
424
  AggregationResponse.add_member_subclass(:repository_aggregation, Types::AggregationResponse::RepositoryAggregation)
391
425
  AggregationResponse.add_member_subclass(:title_aggregation, Types::AggregationResponse::TitleAggregation)
@@ -400,19 +434,22 @@ module Aws::Inspector2
400
434
  AmiAggregation.struct_class = Types::AmiAggregation
401
435
 
402
436
  AmiAggregationResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
403
- AmiAggregationResponse.add_member(:affected_instances, Shapes::ShapeRef.new(shape: Long, location_name: "affectedInstances", metadata: {"box"=>true}))
437
+ AmiAggregationResponse.add_member(:affected_instances, Shapes::ShapeRef.new(shape: Long, location_name: "affectedInstances"))
404
438
  AmiAggregationResponse.add_member(:ami, Shapes::ShapeRef.new(shape: AmiId, required: true, location_name: "ami"))
405
439
  AmiAggregationResponse.add_member(:severity_counts, Shapes::ShapeRef.new(shape: SeverityCounts, location_name: "severityCounts"))
406
440
  AmiAggregationResponse.struct_class = Types::AmiAggregationResponse
407
441
 
442
+ ArchitectureList.member = Shapes::ShapeRef.new(shape: Architecture)
443
+
408
444
  AssociateMemberRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
409
445
  AssociateMemberRequest.struct_class = Types::AssociateMemberRequest
410
446
 
411
447
  AssociateMemberResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
412
448
  AssociateMemberResponse.struct_class = Types::AssociateMemberResponse
413
449
 
414
- AutoEnable.add_member(:ec2, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ec2", metadata: {"box"=>true}))
415
- AutoEnable.add_member(:ecr, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ecr", metadata: {"box"=>true}))
450
+ AutoEnable.add_member(:ec2, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ec2"))
451
+ AutoEnable.add_member(:ecr, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ecr"))
452
+ AutoEnable.add_member(:lambda, Shapes::ShapeRef.new(shape: Boolean, location_name: "lambda"))
416
453
  AutoEnable.struct_class = Types::AutoEnable
417
454
 
418
455
  AwsEc2InstanceDetails.add_member(:iam_instance_profile_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "iamInstanceProfileArn"))
@@ -455,6 +492,18 @@ module Aws::Inspector2
455
492
  AwsEcrContainerImageDetails.add_member(:repository_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "repositoryName"))
456
493
  AwsEcrContainerImageDetails.struct_class = Types::AwsEcrContainerImageDetails
457
494
 
495
+ AwsLambdaFunctionDetails.add_member(:architectures, Shapes::ShapeRef.new(shape: ArchitectureList, location_name: "architectures"))
496
+ AwsLambdaFunctionDetails.add_member(:code_sha_256, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "codeSha256"))
497
+ AwsLambdaFunctionDetails.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "executionRoleArn"))
498
+ AwsLambdaFunctionDetails.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location_name: "functionName"))
499
+ AwsLambdaFunctionDetails.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedAt"))
500
+ AwsLambdaFunctionDetails.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "layers"))
501
+ AwsLambdaFunctionDetails.add_member(:package_type, Shapes::ShapeRef.new(shape: PackageType, location_name: "packageType"))
502
+ AwsLambdaFunctionDetails.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, required: true, location_name: "runtime"))
503
+ AwsLambdaFunctionDetails.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
504
+ AwsLambdaFunctionDetails.add_member(:vpc_config, Shapes::ShapeRef.new(shape: LambdaVpcConfig, location_name: "vpcConfig"))
505
+ AwsLambdaFunctionDetails.struct_class = Types::AwsLambdaFunctionDetails
506
+
458
507
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
459
508
  BadRequestException.struct_class = Types::BadRequestException
460
509
 
@@ -485,7 +534,7 @@ module Aws::Inspector2
485
534
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
486
535
  ConflictException.struct_class = Types::ConflictException
487
536
 
488
- Counts.add_member(:count, Shapes::ShapeRef.new(shape: AggCounts, location_name: "count", metadata: {"default"=>0}))
537
+ Counts.add_member(:count, Shapes::ShapeRef.new(shape: AggCounts, location_name: "count"))
489
538
  Counts.add_member(:group_key, Shapes::ShapeRef.new(shape: GroupKey, location_name: "groupKey"))
490
539
  Counts.struct_class = Types::Counts
491
540
 
@@ -495,6 +544,9 @@ module Aws::Inspector2
495
544
  CoverageFilterCriteria.add_member(:ec2_instance_tags, Shapes::ShapeRef.new(shape: CoverageMapFilterList, location_name: "ec2InstanceTags"))
496
545
  CoverageFilterCriteria.add_member(:ecr_image_tags, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "ecrImageTags"))
497
546
  CoverageFilterCriteria.add_member(:ecr_repository_name, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "ecrRepositoryName"))
547
+ CoverageFilterCriteria.add_member(:lambda_function_name, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "lambdaFunctionName"))
548
+ CoverageFilterCriteria.add_member(:lambda_function_runtime, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "lambdaFunctionRuntime"))
549
+ CoverageFilterCriteria.add_member(:lambda_function_tags, Shapes::ShapeRef.new(shape: CoverageMapFilterList, location_name: "lambdaFunctionTags"))
498
550
  CoverageFilterCriteria.add_member(:resource_id, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "resourceId"))
499
551
  CoverageFilterCriteria.add_member(:resource_type, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "resourceType"))
500
552
  CoverageFilterCriteria.add_member(:scan_status_code, Shapes::ShapeRef.new(shape: CoverageStringFilterList, location_name: "scanStatusCode"))
@@ -544,7 +596,7 @@ module Aws::Inspector2
544
596
  CreateFindingsReportResponse.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "reportId"))
545
597
  CreateFindingsReportResponse.struct_class = Types::CreateFindingsReportResponse
546
598
 
547
- CvssScore.add_member(:base_score, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "baseScore", metadata: {"box"=>true}))
599
+ CvssScore.add_member(:base_score, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "baseScore"))
548
600
  CvssScore.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "scoringVector"))
549
601
  CvssScore.add_member(:source, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "source"))
550
602
  CvssScore.add_member(:version, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "version"))
@@ -558,7 +610,7 @@ module Aws::Inspector2
558
610
 
559
611
  CvssScoreDetails.add_member(:adjustments, Shapes::ShapeRef.new(shape: CvssScoreAdjustmentList, location_name: "adjustments"))
560
612
  CvssScoreDetails.add_member(:cvss_source, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "cvssSource"))
561
- CvssScoreDetails.add_member(:score, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "score", metadata: {"box"=>true}))
613
+ CvssScoreDetails.add_member(:score, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "score"))
562
614
  CvssScoreDetails.add_member(:score_source, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "scoreSource"))
563
615
  CvssScoreDetails.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "scoringVector"))
564
616
  CvssScoreDetails.add_member(:version, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "version"))
@@ -591,7 +643,7 @@ module Aws::Inspector2
591
643
  DescribeOrganizationConfigurationRequest.struct_class = Types::DescribeOrganizationConfigurationRequest
592
644
 
593
645
  DescribeOrganizationConfigurationResponse.add_member(:auto_enable, Shapes::ShapeRef.new(shape: AutoEnable, location_name: "autoEnable"))
594
- DescribeOrganizationConfigurationResponse.add_member(:max_account_limit_reached, Shapes::ShapeRef.new(shape: Boolean, location_name: "maxAccountLimitReached", metadata: {"box"=>true}))
646
+ DescribeOrganizationConfigurationResponse.add_member(:max_account_limit_reached, Shapes::ShapeRef.new(shape: Boolean, location_name: "maxAccountLimitReached"))
595
647
  DescribeOrganizationConfigurationResponse.struct_class = Types::DescribeOrganizationConfigurationResponse
596
648
 
597
649
  Destination.add_member(:bucket_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "bucketName"))
@@ -633,7 +685,7 @@ module Aws::Inspector2
633
685
  Ec2InstanceAggregationResponse.add_member(:ami, Shapes::ShapeRef.new(shape: AmiId, location_name: "ami"))
634
686
  Ec2InstanceAggregationResponse.add_member(:instance_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "instanceId"))
635
687
  Ec2InstanceAggregationResponse.add_member(:instance_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "instanceTags"))
636
- Ec2InstanceAggregationResponse.add_member(:network_findings, Shapes::ShapeRef.new(shape: Long, location_name: "networkFindings", metadata: {"box"=>true}))
688
+ Ec2InstanceAggregationResponse.add_member(:network_findings, Shapes::ShapeRef.new(shape: Long, location_name: "networkFindings"))
637
689
  Ec2InstanceAggregationResponse.add_member(:operating_system, Shapes::ShapeRef.new(shape: String, location_name: "operatingSystem"))
638
690
  Ec2InstanceAggregationResponse.add_member(:severity_counts, Shapes::ShapeRef.new(shape: SeverityCounts, location_name: "severityCounts"))
639
691
  Ec2InstanceAggregationResponse.struct_class = Types::Ec2InstanceAggregationResponse
@@ -679,6 +731,9 @@ module Aws::Inspector2
679
731
  EnableResponse.add_member(:failed_accounts, Shapes::ShapeRef.new(shape: FailedAccountList, location_name: "failedAccounts"))
680
732
  EnableResponse.struct_class = Types::EnableResponse
681
733
 
734
+ ExploitabilityDetails.add_member(:last_known_exploit_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, location_name: "lastKnownExploitAt"))
735
+ ExploitabilityDetails.struct_class = Types::ExploitabilityDetails
736
+
682
737
  FailedAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
683
738
  FailedAccount.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "errorCode"))
684
739
  FailedAccount.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "errorMessage"))
@@ -714,12 +769,18 @@ module Aws::Inspector2
714
769
  FilterCriteria.add_member(:ecr_image_registry, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ecrImageRegistry"))
715
770
  FilterCriteria.add_member(:ecr_image_repository_name, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ecrImageRepositoryName"))
716
771
  FilterCriteria.add_member(:ecr_image_tags, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ecrImageTags"))
772
+ FilterCriteria.add_member(:exploit_available, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "exploitAvailable"))
717
773
  FilterCriteria.add_member(:finding_arn, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "findingArn"))
718
774
  FilterCriteria.add_member(:finding_status, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "findingStatus"))
719
775
  FilterCriteria.add_member(:finding_type, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "findingType"))
720
776
  FilterCriteria.add_member(:first_observed_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "firstObservedAt"))
721
777
  FilterCriteria.add_member(:fix_available, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "fixAvailable"))
722
778
  FilterCriteria.add_member(:inspector_score, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "inspectorScore"))
779
+ FilterCriteria.add_member(:lambda_function_execution_role_arn, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "lambdaFunctionExecutionRoleArn"))
780
+ FilterCriteria.add_member(:lambda_function_last_modified_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "lambdaFunctionLastModifiedAt"))
781
+ FilterCriteria.add_member(:lambda_function_layers, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "lambdaFunctionLayers"))
782
+ FilterCriteria.add_member(:lambda_function_name, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "lambdaFunctionName"))
783
+ FilterCriteria.add_member(:lambda_function_runtime, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "lambdaFunctionRuntime"))
723
784
  FilterCriteria.add_member(:last_observed_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "lastObservedAt"))
724
785
  FilterCriteria.add_member(:network_protocol, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "networkProtocol"))
725
786
  FilterCriteria.add_member(:port_range, Shapes::ShapeRef.new(shape: PortRangeFilterList, location_name: "portRange"))
@@ -740,10 +801,12 @@ module Aws::Inspector2
740
801
 
741
802
  Finding.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "awsAccountId"))
742
803
  Finding.add_member(:description, Shapes::ShapeRef.new(shape: FindingDescription, required: true, location_name: "description"))
804
+ Finding.add_member(:exploit_available, Shapes::ShapeRef.new(shape: ExploitAvailable, location_name: "exploitAvailable"))
805
+ Finding.add_member(:exploitability_details, Shapes::ShapeRef.new(shape: ExploitabilityDetails, location_name: "exploitabilityDetails"))
743
806
  Finding.add_member(:finding_arn, Shapes::ShapeRef.new(shape: FindingArn, required: true, location_name: "findingArn"))
744
807
  Finding.add_member(:first_observed_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, required: true, location_name: "firstObservedAt"))
745
808
  Finding.add_member(:fix_available, Shapes::ShapeRef.new(shape: FixAvailable, location_name: "fixAvailable"))
746
- Finding.add_member(:inspector_score, Shapes::ShapeRef.new(shape: Double, location_name: "inspectorScore", metadata: {"box"=>true}))
809
+ Finding.add_member(:inspector_score, Shapes::ShapeRef.new(shape: Double, location_name: "inspectorScore"))
747
810
  Finding.add_member(:inspector_score_details, Shapes::ShapeRef.new(shape: InspectorScoreDetails, location_name: "inspectorScoreDetails"))
748
811
  Finding.add_member(:last_observed_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, required: true, location_name: "lastObservedAt"))
749
812
  Finding.add_member(:network_reachability_details, Shapes::ShapeRef.new(shape: NetworkReachabilityDetails, location_name: "networkReachabilityDetails"))
@@ -837,14 +900,60 @@ module Aws::Inspector2
837
900
  InspectorScoreDetails.struct_class = Types::InspectorScoreDetails
838
901
 
839
902
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
840
- InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After", metadata: {"box"=>true}))
903
+ InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
841
904
  InternalServerException.struct_class = Types::InternalServerException
842
905
 
843
906
  IpV4AddressList.member = Shapes::ShapeRef.new(shape: IpV4Address)
844
907
 
845
908
  IpV6AddressList.member = Shapes::ShapeRef.new(shape: IpV6Address)
846
909
 
847
- ListAccountPermissionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAccountPermissionsMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
910
+ LambdaFunctionAggregation.add_member(:function_names, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "functionNames"))
911
+ LambdaFunctionAggregation.add_member(:function_tags, Shapes::ShapeRef.new(shape: MapFilterList, location_name: "functionTags"))
912
+ LambdaFunctionAggregation.add_member(:resource_ids, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "resourceIds"))
913
+ LambdaFunctionAggregation.add_member(:runtimes, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "runtimes"))
914
+ LambdaFunctionAggregation.add_member(:sort_by, Shapes::ShapeRef.new(shape: LambdaFunctionSortBy, location_name: "sortBy"))
915
+ LambdaFunctionAggregation.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "sortOrder"))
916
+ LambdaFunctionAggregation.struct_class = Types::LambdaFunctionAggregation
917
+
918
+ LambdaFunctionAggregationResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
919
+ LambdaFunctionAggregationResponse.add_member(:function_name, Shapes::ShapeRef.new(shape: String, location_name: "functionName"))
920
+ LambdaFunctionAggregationResponse.add_member(:lambda_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "lambdaTags"))
921
+ LambdaFunctionAggregationResponse.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, location_name: "lastModifiedAt"))
922
+ LambdaFunctionAggregationResponse.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "resourceId"))
923
+ LambdaFunctionAggregationResponse.add_member(:runtime, Shapes::ShapeRef.new(shape: String, location_name: "runtime"))
924
+ LambdaFunctionAggregationResponse.add_member(:severity_counts, Shapes::ShapeRef.new(shape: SeverityCounts, location_name: "severityCounts"))
925
+ LambdaFunctionAggregationResponse.struct_class = Types::LambdaFunctionAggregationResponse
926
+
927
+ LambdaFunctionMetadata.add_member(:function_name, Shapes::ShapeRef.new(shape: String, location_name: "functionName"))
928
+ LambdaFunctionMetadata.add_member(:function_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "functionTags"))
929
+ LambdaFunctionMetadata.add_member(:layers, Shapes::ShapeRef.new(shape: LambdaLayerList, location_name: "layers"))
930
+ LambdaFunctionMetadata.add_member(:runtime, Shapes::ShapeRef.new(shape: Runtime, location_name: "runtime"))
931
+ LambdaFunctionMetadata.struct_class = Types::LambdaFunctionMetadata
932
+
933
+ LambdaLayerAggregation.add_member(:function_names, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "functionNames"))
934
+ LambdaLayerAggregation.add_member(:layer_arns, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "layerArns"))
935
+ LambdaLayerAggregation.add_member(:resource_ids, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "resourceIds"))
936
+ LambdaLayerAggregation.add_member(:sort_by, Shapes::ShapeRef.new(shape: LambdaLayerSortBy, location_name: "sortBy"))
937
+ LambdaLayerAggregation.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "sortOrder"))
938
+ LambdaLayerAggregation.struct_class = Types::LambdaLayerAggregation
939
+
940
+ LambdaLayerAggregationResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
941
+ LambdaLayerAggregationResponse.add_member(:function_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "functionName"))
942
+ LambdaLayerAggregationResponse.add_member(:layer_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "layerArn"))
943
+ LambdaLayerAggregationResponse.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "resourceId"))
944
+ LambdaLayerAggregationResponse.add_member(:severity_counts, Shapes::ShapeRef.new(shape: SeverityCounts, location_name: "severityCounts"))
945
+ LambdaLayerAggregationResponse.struct_class = Types::LambdaLayerAggregationResponse
946
+
947
+ LambdaLayerList.member = Shapes::ShapeRef.new(shape: String)
948
+
949
+ LambdaVpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
950
+ LambdaVpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "subnetIds"))
951
+ LambdaVpcConfig.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "vpcId"))
952
+ LambdaVpcConfig.struct_class = Types::LambdaVpcConfig
953
+
954
+ LayerList.member = Shapes::ShapeRef.new(shape: LambdaLayerArn)
955
+
956
+ ListAccountPermissionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAccountPermissionsMaxResults, location_name: "maxResults"))
848
957
  ListAccountPermissionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
849
958
  ListAccountPermissionsRequest.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
850
959
  ListAccountPermissionsRequest.struct_class = Types::ListAccountPermissionsRequest
@@ -854,7 +963,7 @@ module Aws::Inspector2
854
963
  ListAccountPermissionsResponse.struct_class = Types::ListAccountPermissionsResponse
855
964
 
856
965
  ListCoverageRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: CoverageFilterCriteria, location_name: "filterCriteria"))
857
- ListCoverageRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListCoverageMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
966
+ ListCoverageRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListCoverageMaxResults, location_name: "maxResults"))
858
967
  ListCoverageRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
859
968
  ListCoverageRequest.struct_class = Types::ListCoverageRequest
860
969
 
@@ -869,10 +978,10 @@ module Aws::Inspector2
869
978
 
870
979
  ListCoverageStatisticsResponse.add_member(:counts_by_group, Shapes::ShapeRef.new(shape: CountsList, location_name: "countsByGroup"))
871
980
  ListCoverageStatisticsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
872
- ListCoverageStatisticsResponse.add_member(:total_counts, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "totalCounts", metadata: {"box"=>true}))
981
+ ListCoverageStatisticsResponse.add_member(:total_counts, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "totalCounts"))
873
982
  ListCoverageStatisticsResponse.struct_class = Types::ListCoverageStatisticsResponse
874
983
 
875
- ListDelegatedAdminAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDelegatedAdminMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
984
+ ListDelegatedAdminAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDelegatedAdminMaxResults, location_name: "maxResults"))
876
985
  ListDelegatedAdminAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
877
986
  ListDelegatedAdminAccountsRequest.struct_class = Types::ListDelegatedAdminAccountsRequest
878
987
 
@@ -882,7 +991,7 @@ module Aws::Inspector2
882
991
 
883
992
  ListFiltersRequest.add_member(:action, Shapes::ShapeRef.new(shape: FilterAction, location_name: "action"))
884
993
  ListFiltersRequest.add_member(:arns, Shapes::ShapeRef.new(shape: FilterArnList, location_name: "arns"))
885
- ListFiltersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFilterMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
994
+ ListFiltersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFilterMaxResults, location_name: "maxResults"))
886
995
  ListFiltersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
887
996
  ListFiltersRequest.struct_class = Types::ListFiltersRequest
888
997
 
@@ -893,7 +1002,7 @@ module Aws::Inspector2
893
1002
  ListFindingAggregationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "accountIds"))
894
1003
  ListFindingAggregationsRequest.add_member(:aggregation_request, Shapes::ShapeRef.new(shape: AggregationRequest, location_name: "aggregationRequest"))
895
1004
  ListFindingAggregationsRequest.add_member(:aggregation_type, Shapes::ShapeRef.new(shape: AggregationType, required: true, location_name: "aggregationType"))
896
- ListFindingAggregationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFindingAggregationsMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
1005
+ ListFindingAggregationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFindingAggregationsMaxResults, location_name: "maxResults"))
897
1006
  ListFindingAggregationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
898
1007
  ListFindingAggregationsRequest.struct_class = Types::ListFindingAggregationsRequest
899
1008
 
@@ -903,7 +1012,7 @@ module Aws::Inspector2
903
1012
  ListFindingAggregationsResponse.struct_class = Types::ListFindingAggregationsResponse
904
1013
 
905
1014
  ListFindingsRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: FilterCriteria, location_name: "filterCriteria"))
906
- ListFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFindingsMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
1015
+ ListFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFindingsMaxResults, location_name: "maxResults"))
907
1016
  ListFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
908
1017
  ListFindingsRequest.add_member(:sort_criteria, Shapes::ShapeRef.new(shape: SortCriteria, location_name: "sortCriteria"))
909
1018
  ListFindingsRequest.struct_class = Types::ListFindingsRequest
@@ -912,9 +1021,9 @@ module Aws::Inspector2
912
1021
  ListFindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
913
1022
  ListFindingsResponse.struct_class = Types::ListFindingsResponse
914
1023
 
915
- ListMembersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMembersMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
1024
+ ListMembersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMembersMaxResults, location_name: "maxResults"))
916
1025
  ListMembersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
917
- ListMembersRequest.add_member(:only_associated, Shapes::ShapeRef.new(shape: Boolean, location_name: "onlyAssociated", metadata: {"box"=>true}))
1026
+ ListMembersRequest.add_member(:only_associated, Shapes::ShapeRef.new(shape: Boolean, location_name: "onlyAssociated"))
918
1027
  ListMembersRequest.struct_class = Types::ListMembersRequest
919
1028
 
920
1029
  ListMembersResponse.add_member(:members, Shapes::ShapeRef.new(shape: MemberList, location_name: "members"))
@@ -928,7 +1037,7 @@ module Aws::Inspector2
928
1037
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
929
1038
 
930
1039
  ListUsageTotalsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: UsageAccountIdList, location_name: "accountIds"))
931
- ListUsageTotalsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListUsageTotalsMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
1040
+ ListUsageTotalsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListUsageTotalsMaxResults, location_name: "maxResults"))
932
1041
  ListUsageTotalsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListUsageTotalsNextToken, location_name: "nextToken"))
933
1042
  ListUsageTotalsRequest.struct_class = Types::ListUsageTotalsRequest
934
1043
 
@@ -961,8 +1070,8 @@ module Aws::Inspector2
961
1070
 
962
1071
  NonEmptyStringList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
963
1072
 
964
- NumberFilter.add_member(:lower_inclusive, Shapes::ShapeRef.new(shape: Double, location_name: "lowerInclusive", metadata: {"box"=>true}))
965
- NumberFilter.add_member(:upper_inclusive, Shapes::ShapeRef.new(shape: Double, location_name: "upperInclusive", metadata: {"box"=>true}))
1073
+ NumberFilter.add_member(:lower_inclusive, Shapes::ShapeRef.new(shape: Double, location_name: "lowerInclusive"))
1074
+ NumberFilter.add_member(:upper_inclusive, Shapes::ShapeRef.new(shape: Double, location_name: "upperInclusive"))
966
1075
  NumberFilter.struct_class = Types::NumberFilter
967
1076
 
968
1077
  NumberFilterList.member = Shapes::ShapeRef.new(shape: NumberFilter)
@@ -981,6 +1090,7 @@ module Aws::Inspector2
981
1090
  PackageFilter.add_member(:epoch, Shapes::ShapeRef.new(shape: NumberFilter, location_name: "epoch"))
982
1091
  PackageFilter.add_member(:name, Shapes::ShapeRef.new(shape: StringFilter, location_name: "name"))
983
1092
  PackageFilter.add_member(:release, Shapes::ShapeRef.new(shape: StringFilter, location_name: "release"))
1093
+ PackageFilter.add_member(:source_lambda_layer_arn, Shapes::ShapeRef.new(shape: StringFilter, location_name: "sourceLambdaLayerArn"))
984
1094
  PackageFilter.add_member(:source_layer_hash, Shapes::ShapeRef.new(shape: StringFilter, location_name: "sourceLayerHash"))
985
1095
  PackageFilter.add_member(:version, Shapes::ShapeRef.new(shape: StringFilter, location_name: "version"))
986
1096
  PackageFilter.struct_class = Types::PackageFilter
@@ -1005,12 +1115,12 @@ module Aws::Inspector2
1005
1115
 
1006
1116
  Permissions.member = Shapes::ShapeRef.new(shape: Permission)
1007
1117
 
1008
- PortRange.add_member(:begin, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "begin", metadata: {"box"=>true}))
1009
- PortRange.add_member(:end, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "end", metadata: {"box"=>true}))
1118
+ PortRange.add_member(:begin, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "begin"))
1119
+ PortRange.add_member(:end, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "end"))
1010
1120
  PortRange.struct_class = Types::PortRange
1011
1121
 
1012
- PortRangeFilter.add_member(:begin_inclusive, Shapes::ShapeRef.new(shape: Port, location_name: "beginInclusive", metadata: {"box"=>true}))
1013
- PortRangeFilter.add_member(:end_inclusive, Shapes::ShapeRef.new(shape: Port, location_name: "endInclusive", metadata: {"box"=>true}))
1122
+ PortRangeFilter.add_member(:begin_inclusive, Shapes::ShapeRef.new(shape: Port, location_name: "beginInclusive"))
1123
+ PortRangeFilter.add_member(:end_inclusive, Shapes::ShapeRef.new(shape: Port, location_name: "endInclusive"))
1014
1124
  PortRangeFilter.struct_class = Types::PortRangeFilter
1015
1125
 
1016
1126
  PortRangeFilterList.member = Shapes::ShapeRef.new(shape: PortRangeFilter)
@@ -1028,7 +1138,7 @@ module Aws::Inspector2
1028
1138
  RepositoryAggregation.struct_class = Types::RepositoryAggregation
1029
1139
 
1030
1140
  RepositoryAggregationResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
1031
- RepositoryAggregationResponse.add_member(:affected_images, Shapes::ShapeRef.new(shape: Long, location_name: "affectedImages", metadata: {"box"=>true}))
1141
+ RepositoryAggregationResponse.add_member(:affected_images, Shapes::ShapeRef.new(shape: Long, location_name: "affectedImages"))
1032
1142
  RepositoryAggregationResponse.add_member(:repository, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "repository"))
1033
1143
  RepositoryAggregationResponse.add_member(:severity_counts, Shapes::ShapeRef.new(shape: SeverityCounts, location_name: "severityCounts"))
1034
1144
  RepositoryAggregationResponse.struct_class = Types::RepositoryAggregationResponse
@@ -1043,6 +1153,7 @@ module Aws::Inspector2
1043
1153
 
1044
1154
  ResourceDetails.add_member(:aws_ec2_instance, Shapes::ShapeRef.new(shape: AwsEc2InstanceDetails, location_name: "awsEc2Instance"))
1045
1155
  ResourceDetails.add_member(:aws_ecr_container_image, Shapes::ShapeRef.new(shape: AwsEcrContainerImageDetails, location_name: "awsEcrContainerImage"))
1156
+ ResourceDetails.add_member(:aws_lambda_function, Shapes::ShapeRef.new(shape: AwsLambdaFunctionDetails, location_name: "awsLambdaFunction"))
1046
1157
  ResourceDetails.struct_class = Types::ResourceDetails
1047
1158
 
1048
1159
  ResourceList.member = Shapes::ShapeRef.new(shape: Resource)
@@ -1053,28 +1164,33 @@ module Aws::Inspector2
1053
1164
  ResourceScanMetadata.add_member(:ec2, Shapes::ShapeRef.new(shape: Ec2Metadata, location_name: "ec2"))
1054
1165
  ResourceScanMetadata.add_member(:ecr_image, Shapes::ShapeRef.new(shape: EcrContainerImageMetadata, location_name: "ecrImage"))
1055
1166
  ResourceScanMetadata.add_member(:ecr_repository, Shapes::ShapeRef.new(shape: EcrRepositoryMetadata, location_name: "ecrRepository"))
1167
+ ResourceScanMetadata.add_member(:lambda_function, Shapes::ShapeRef.new(shape: LambdaFunctionMetadata, location_name: "lambdaFunction"))
1056
1168
  ResourceScanMetadata.struct_class = Types::ResourceScanMetadata
1057
1169
 
1058
1170
  ResourceState.add_member(:ec2, Shapes::ShapeRef.new(shape: State, required: true, location_name: "ec2"))
1059
1171
  ResourceState.add_member(:ecr, Shapes::ShapeRef.new(shape: State, required: true, location_name: "ecr"))
1172
+ ResourceState.add_member(:lambda, Shapes::ShapeRef.new(shape: State, location_name: "lambda"))
1060
1173
  ResourceState.struct_class = Types::ResourceState
1061
1174
 
1062
1175
  ResourceStatus.add_member(:ec2, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "ec2"))
1063
1176
  ResourceStatus.add_member(:ecr, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "ecr"))
1177
+ ResourceStatus.add_member(:lambda, Shapes::ShapeRef.new(shape: Status, location_name: "lambda"))
1064
1178
  ResourceStatus.struct_class = Types::ResourceStatus
1065
1179
 
1066
1180
  ScanStatus.add_member(:reason, Shapes::ShapeRef.new(shape: ScanStatusReason, required: true, location_name: "reason"))
1067
1181
  ScanStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: ScanStatusCode, required: true, location_name: "statusCode"))
1068
1182
  ScanStatus.struct_class = Types::ScanStatus
1069
1183
 
1184
+ SecurityGroupIdList.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
1185
+
1070
1186
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
1071
1187
  ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
1072
1188
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1073
1189
 
1074
- SeverityCounts.add_member(:all, Shapes::ShapeRef.new(shape: Long, location_name: "all", metadata: {"box"=>true}))
1075
- SeverityCounts.add_member(:critical, Shapes::ShapeRef.new(shape: Long, location_name: "critical", metadata: {"box"=>true}))
1076
- SeverityCounts.add_member(:high, Shapes::ShapeRef.new(shape: Long, location_name: "high", metadata: {"box"=>true}))
1077
- SeverityCounts.add_member(:medium, Shapes::ShapeRef.new(shape: Long, location_name: "medium", metadata: {"box"=>true}))
1190
+ SeverityCounts.add_member(:all, Shapes::ShapeRef.new(shape: Long, location_name: "all"))
1191
+ SeverityCounts.add_member(:critical, Shapes::ShapeRef.new(shape: Long, location_name: "critical"))
1192
+ SeverityCounts.add_member(:high, Shapes::ShapeRef.new(shape: Long, location_name: "high"))
1193
+ SeverityCounts.add_member(:medium, Shapes::ShapeRef.new(shape: Long, location_name: "medium"))
1078
1194
  SeverityCounts.struct_class = Types::SeverityCounts
1079
1195
 
1080
1196
  SortCriteria.add_member(:field, Shapes::ShapeRef.new(shape: SortField, required: true, location_name: "field"))
@@ -1100,6 +1216,8 @@ module Aws::Inspector2
1100
1216
 
1101
1217
  StringList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
1102
1218
 
1219
+ SubnetIdList.member = Shapes::ShapeRef.new(shape: SubnetId)
1220
+
1103
1221
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
1104
1222
 
1105
1223
  TagList.member = Shapes::ShapeRef.new(shape: String)
@@ -1114,6 +1232,7 @@ module Aws::Inspector2
1114
1232
  TagResourceResponse.struct_class = Types::TagResourceResponse
1115
1233
 
1116
1234
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
1235
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
1117
1236
  ThrottlingException.struct_class = Types::ThrottlingException
1118
1237
 
1119
1238
  TitleAggregation.add_member(:resource_type, Shapes::ShapeRef.new(shape: AggregationResourceType, location_name: "resourceType"))
@@ -1158,8 +1277,8 @@ module Aws::Inspector2
1158
1277
  UpdateOrganizationConfigurationResponse.struct_class = Types::UpdateOrganizationConfigurationResponse
1159
1278
 
1160
1279
  Usage.add_member(:currency, Shapes::ShapeRef.new(shape: Currency, location_name: "currency"))
1161
- Usage.add_member(:estimated_monthly_cost, Shapes::ShapeRef.new(shape: MonthlyCostEstimate, location_name: "estimatedMonthlyCost", metadata: {"default"=>0}))
1162
- Usage.add_member(:total, Shapes::ShapeRef.new(shape: UsageValue, location_name: "total", metadata: {"default"=>0}))
1280
+ Usage.add_member(:estimated_monthly_cost, Shapes::ShapeRef.new(shape: MonthlyCostEstimate, location_name: "estimatedMonthlyCost"))
1281
+ Usage.add_member(:total, Shapes::ShapeRef.new(shape: UsageValue, location_name: "total"))
1163
1282
  Usage.add_member(:type, Shapes::ShapeRef.new(shape: UsageType, location_name: "type"))
1164
1283
  Usage.struct_class = Types::Usage
1165
1284
 
@@ -1187,13 +1306,14 @@ module Aws::Inspector2
1187
1306
  VulnerabilityIdList.member = Shapes::ShapeRef.new(shape: VulnerabilityId)
1188
1307
 
1189
1308
  VulnerablePackage.add_member(:arch, Shapes::ShapeRef.new(shape: PackageArchitecture, location_name: "arch"))
1190
- VulnerablePackage.add_member(:epoch, Shapes::ShapeRef.new(shape: PackageEpoch, location_name: "epoch", metadata: {"default"=>0}))
1309
+ VulnerablePackage.add_member(:epoch, Shapes::ShapeRef.new(shape: PackageEpoch, location_name: "epoch"))
1191
1310
  VulnerablePackage.add_member(:file_path, Shapes::ShapeRef.new(shape: FilePath, location_name: "filePath"))
1192
1311
  VulnerablePackage.add_member(:fixed_in_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "fixedInVersion"))
1193
1312
  VulnerablePackage.add_member(:name, Shapes::ShapeRef.new(shape: PackageName, required: true, location_name: "name"))
1194
1313
  VulnerablePackage.add_member(:package_manager, Shapes::ShapeRef.new(shape: PackageManager, location_name: "packageManager"))
1195
1314
  VulnerablePackage.add_member(:release, Shapes::ShapeRef.new(shape: PackageRelease, location_name: "release"))
1196
1315
  VulnerablePackage.add_member(:remediation, Shapes::ShapeRef.new(shape: VulnerablePackageRemediation, location_name: "remediation"))
1316
+ VulnerablePackage.add_member(:source_lambda_layer_arn, Shapes::ShapeRef.new(shape: LambdaLayerArn, location_name: "sourceLambdaLayerArn"))
1197
1317
  VulnerablePackage.add_member(:source_layer_hash, Shapes::ShapeRef.new(shape: SourceLayerHash, location_name: "sourceLayerHash"))
1198
1318
  VulnerablePackage.add_member(:version, Shapes::ShapeRef.new(shape: PackageVersion, required: true, location_name: "version"))
1199
1319
  VulnerablePackage.struct_class = Types::VulnerablePackage
@@ -169,6 +169,19 @@ module Aws::Inspector2
169
169
  def message
170
170
  @message || @data[:message]
171
171
  end
172
+
173
+ # @return [String]
174
+ def retry_after_seconds
175
+ @data[:retry_after_seconds]
176
+ end
177
+
178
+ def retryable?
179
+ true
180
+ end
181
+
182
+ def throttling?
183
+ true
184
+ end
172
185
  end
173
186
 
174
187
  class ValidationException < ServiceError