aws-sdk-inspector2 1.15.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,6 +50,9 @@ module Aws::Inspector2
50
50
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
51
51
  BatchGetAccountStatusRequest = Shapes::StructureShape.new(name: 'BatchGetAccountStatusRequest')
52
52
  BatchGetAccountStatusResponse = Shapes::StructureShape.new(name: 'BatchGetAccountStatusResponse')
53
+ BatchGetCodeSnippetRequest = Shapes::StructureShape.new(name: 'BatchGetCodeSnippetRequest')
54
+ BatchGetCodeSnippetRequestFindingArnsList = Shapes::ListShape.new(name: 'BatchGetCodeSnippetRequestFindingArnsList')
55
+ BatchGetCodeSnippetResponse = Shapes::StructureShape.new(name: 'BatchGetCodeSnippetResponse')
53
56
  BatchGetFreeTrialInfoRequest = Shapes::StructureShape.new(name: 'BatchGetFreeTrialInfoRequest')
54
57
  BatchGetFreeTrialInfoRequestAccountIdsList = Shapes::ListShape.new(name: 'BatchGetFreeTrialInfoRequestAccountIdsList')
55
58
  BatchGetFreeTrialInfoResponse = Shapes::StructureShape.new(name: 'BatchGetFreeTrialInfoResponse')
@@ -60,11 +63,23 @@ module Aws::Inspector2
60
63
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
61
64
  CancelFindingsReportRequest = Shapes::StructureShape.new(name: 'CancelFindingsReportRequest')
62
65
  CancelFindingsReportResponse = Shapes::StructureShape.new(name: 'CancelFindingsReportResponse')
66
+ CancelSbomExportRequest = Shapes::StructureShape.new(name: 'CancelSbomExportRequest')
67
+ CancelSbomExportResponse = Shapes::StructureShape.new(name: 'CancelSbomExportResponse')
63
68
  CisaAction = Shapes::StringShape.new(name: 'CisaAction')
64
69
  CisaData = Shapes::StructureShape.new(name: 'CisaData')
65
70
  CisaDateAdded = Shapes::TimestampShape.new(name: 'CisaDateAdded')
66
71
  CisaDateDue = Shapes::TimestampShape.new(name: 'CisaDateDue')
67
72
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
73
+ CodeFilePath = Shapes::StructureShape.new(name: 'CodeFilePath')
74
+ CodeLine = Shapes::StructureShape.new(name: 'CodeLine')
75
+ CodeLineContentString = Shapes::StringShape.new(name: 'CodeLineContentString')
76
+ CodeLineList = Shapes::ListShape.new(name: 'CodeLineList')
77
+ CodeSnippetError = Shapes::StructureShape.new(name: 'CodeSnippetError')
78
+ CodeSnippetErrorCode = Shapes::StringShape.new(name: 'CodeSnippetErrorCode')
79
+ CodeSnippetErrorList = Shapes::ListShape.new(name: 'CodeSnippetErrorList')
80
+ CodeSnippetResult = Shapes::StructureShape.new(name: 'CodeSnippetResult')
81
+ CodeSnippetResultList = Shapes::ListShape.new(name: 'CodeSnippetResultList')
82
+ CodeVulnerabilityDetails = Shapes::StructureShape.new(name: 'CodeVulnerabilityDetails')
68
83
  Component = Shapes::StringShape.new(name: 'Component')
69
84
  ComponentType = Shapes::StringShape.new(name: 'ComponentType')
70
85
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -87,6 +102,8 @@ module Aws::Inspector2
87
102
  CreateFilterResponse = Shapes::StructureShape.new(name: 'CreateFilterResponse')
88
103
  CreateFindingsReportRequest = Shapes::StructureShape.new(name: 'CreateFindingsReportRequest')
89
104
  CreateFindingsReportResponse = Shapes::StructureShape.new(name: 'CreateFindingsReportResponse')
105
+ CreateSbomExportRequest = Shapes::StructureShape.new(name: 'CreateSbomExportRequest')
106
+ CreateSbomExportResponse = Shapes::StructureShape.new(name: 'CreateSbomExportResponse')
90
107
  Currency = Shapes::StringShape.new(name: 'Currency')
91
108
  Cvss2 = Shapes::StructureShape.new(name: 'Cvss2')
92
109
  Cvss2BaseScore = Shapes::FloatShape.new(name: 'Cvss2BaseScore')
@@ -100,6 +117,7 @@ module Aws::Inspector2
100
117
  CvssScoreDetails = Shapes::StructureShape.new(name: 'CvssScoreDetails')
101
118
  CvssScoreList = Shapes::ListShape.new(name: 'CvssScoreList')
102
119
  Cwe = Shapes::StringShape.new(name: 'Cwe')
120
+ CweList = Shapes::ListShape.new(name: 'CweList')
103
121
  Cwes = Shapes::ListShape.new(name: 'Cwes')
104
122
  DateFilter = Shapes::StructureShape.new(name: 'DateFilter')
105
123
  DateFilterList = Shapes::ListShape.new(name: 'DateFilterList')
@@ -114,6 +132,7 @@ module Aws::Inspector2
114
132
  DescribeOrganizationConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeOrganizationConfigurationResponse')
115
133
  Destination = Shapes::StructureShape.new(name: 'Destination')
116
134
  DetectionPlatforms = Shapes::ListShape.new(name: 'DetectionPlatforms')
135
+ DetectorTagList = Shapes::ListShape.new(name: 'DetectorTagList')
117
136
  DisableDelegatedAdminAccountRequest = Shapes::StructureShape.new(name: 'DisableDelegatedAdminAccountRequest')
118
137
  DisableDelegatedAdminAccountResponse = Shapes::StructureShape.new(name: 'DisableDelegatedAdminAccountResponse')
119
138
  DisableRequest = Shapes::StructureShape.new(name: 'DisableRequest')
@@ -142,7 +161,9 @@ module Aws::Inspector2
142
161
  EnableResourceTypeList = Shapes::ListShape.new(name: 'EnableResourceTypeList')
143
162
  EnableResponse = Shapes::StructureShape.new(name: 'EnableResponse')
144
163
  Epss = Shapes::StructureShape.new(name: 'Epss')
164
+ EpssDetails = Shapes::StructureShape.new(name: 'EpssDetails')
145
165
  EpssScore = Shapes::FloatShape.new(name: 'EpssScore')
166
+ EpssScoreValue = Shapes::FloatShape.new(name: 'EpssScoreValue')
146
167
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
147
168
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
148
169
  ExecutionRoleArn = Shapes::StringShape.new(name: 'ExecutionRoleArn')
@@ -192,10 +213,14 @@ module Aws::Inspector2
192
213
  GetDelegatedAdminAccountResponse = Shapes::StructureShape.new(name: 'GetDelegatedAdminAccountResponse')
193
214
  GetEc2DeepInspectionConfigurationRequest = Shapes::StructureShape.new(name: 'GetEc2DeepInspectionConfigurationRequest')
194
215
  GetEc2DeepInspectionConfigurationResponse = Shapes::StructureShape.new(name: 'GetEc2DeepInspectionConfigurationResponse')
216
+ GetEncryptionKeyRequest = Shapes::StructureShape.new(name: 'GetEncryptionKeyRequest')
217
+ GetEncryptionKeyResponse = Shapes::StructureShape.new(name: 'GetEncryptionKeyResponse')
195
218
  GetFindingsReportStatusRequest = Shapes::StructureShape.new(name: 'GetFindingsReportStatusRequest')
196
219
  GetFindingsReportStatusResponse = Shapes::StructureShape.new(name: 'GetFindingsReportStatusResponse')
197
220
  GetMemberRequest = Shapes::StructureShape.new(name: 'GetMemberRequest')
198
221
  GetMemberResponse = Shapes::StructureShape.new(name: 'GetMemberResponse')
222
+ GetSbomExportRequest = Shapes::StructureShape.new(name: 'GetSbomExportRequest')
223
+ GetSbomExportResponse = Shapes::StructureShape.new(name: 'GetSbomExportResponse')
199
224
  GroupKey = Shapes::StringShape.new(name: 'GroupKey')
200
225
  ImageHash = Shapes::StringShape.new(name: 'ImageHash')
201
226
  ImageLayerAggregation = Shapes::StructureShape.new(name: 'ImageLayerAggregation')
@@ -209,6 +234,7 @@ module Aws::Inspector2
209
234
  IpV4AddressList = Shapes::ListShape.new(name: 'IpV4AddressList')
210
235
  IpV6Address = Shapes::StringShape.new(name: 'IpV6Address')
211
236
  IpV6AddressList = Shapes::ListShape.new(name: 'IpV6AddressList')
237
+ KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
212
238
  LambdaFunctionAggregation = Shapes::StructureShape.new(name: 'LambdaFunctionAggregation')
213
239
  LambdaFunctionAggregationResponse = Shapes::StructureShape.new(name: 'LambdaFunctionAggregationResponse')
214
240
  LambdaFunctionMetadata = Shapes::StructureShape.new(name: 'LambdaFunctionMetadata')
@@ -297,6 +323,7 @@ module Aws::Inspector2
297
323
  PortRangeFilter = Shapes::StructureShape.new(name: 'PortRangeFilter')
298
324
  PortRangeFilterList = Shapes::ListShape.new(name: 'PortRangeFilterList')
299
325
  Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
326
+ ReferenceUrls = Shapes::ListShape.new(name: 'ReferenceUrls')
300
327
  RelatedVulnerabilities = Shapes::ListShape.new(name: 'RelatedVulnerabilities')
301
328
  RelatedVulnerability = Shapes::StringShape.new(name: 'RelatedVulnerability')
302
329
  RelationshipStatus = Shapes::StringShape.new(name: 'RelationshipStatus')
@@ -307,17 +334,28 @@ module Aws::Inspector2
307
334
  RepositoryAggregation = Shapes::StructureShape.new(name: 'RepositoryAggregation')
308
335
  RepositoryAggregationResponse = Shapes::StructureShape.new(name: 'RepositoryAggregationResponse')
309
336
  RepositorySortBy = Shapes::StringShape.new(name: 'RepositorySortBy')
337
+ ResetEncryptionKeyRequest = Shapes::StructureShape.new(name: 'ResetEncryptionKeyRequest')
338
+ ResetEncryptionKeyResponse = Shapes::StructureShape.new(name: 'ResetEncryptionKeyResponse')
310
339
  Resource = Shapes::StructureShape.new(name: 'Resource')
311
340
  ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
341
+ ResourceFilterCriteria = Shapes::StructureShape.new(name: 'ResourceFilterCriteria')
312
342
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
313
343
  ResourceList = Shapes::ListShape.new(name: 'ResourceList')
344
+ ResourceMapComparison = Shapes::StringShape.new(name: 'ResourceMapComparison')
345
+ ResourceMapFilter = Shapes::StructureShape.new(name: 'ResourceMapFilter')
346
+ ResourceMapFilterList = Shapes::ListShape.new(name: 'ResourceMapFilterList')
314
347
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
315
348
  ResourceScanMetadata = Shapes::StructureShape.new(name: 'ResourceScanMetadata')
316
349
  ResourceScanType = Shapes::StringShape.new(name: 'ResourceScanType')
317
350
  ResourceState = Shapes::StructureShape.new(name: 'ResourceState')
318
351
  ResourceStatus = Shapes::StructureShape.new(name: 'ResourceStatus')
352
+ ResourceStringComparison = Shapes::StringShape.new(name: 'ResourceStringComparison')
353
+ ResourceStringFilter = Shapes::StructureShape.new(name: 'ResourceStringFilter')
354
+ ResourceStringFilterList = Shapes::ListShape.new(name: 'ResourceStringFilterList')
355
+ ResourceStringInput = Shapes::StringShape.new(name: 'ResourceStringInput')
319
356
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
320
357
  Runtime = Shapes::StringShape.new(name: 'Runtime')
358
+ SbomReportFormat = Shapes::StringShape.new(name: 'SbomReportFormat')
321
359
  ScanStatus = Shapes::StructureShape.new(name: 'ScanStatus')
322
360
  ScanStatusCode = Shapes::StringShape.new(name: 'ScanStatusCode')
323
361
  ScanStatusReason = Shapes::StringShape.new(name: 'ScanStatusReason')
@@ -347,6 +385,10 @@ module Aws::Inspector2
347
385
  StringList = Shapes::ListShape.new(name: 'StringList')
348
386
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
349
387
  SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
388
+ SuggestedFix = Shapes::StructureShape.new(name: 'SuggestedFix')
389
+ SuggestedFixCodeString = Shapes::StringShape.new(name: 'SuggestedFixCodeString')
390
+ SuggestedFixDescriptionString = Shapes::StringShape.new(name: 'SuggestedFixDescriptionString')
391
+ SuggestedFixes = Shapes::ListShape.new(name: 'SuggestedFixes')
350
392
  TagKey = Shapes::StringShape.new(name: 'TagKey')
351
393
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
352
394
  TagList = Shapes::ListShape.new(name: 'TagList')
@@ -368,6 +410,8 @@ module Aws::Inspector2
368
410
  UpdateConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationResponse')
369
411
  UpdateEc2DeepInspectionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateEc2DeepInspectionConfigurationRequest')
370
412
  UpdateEc2DeepInspectionConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateEc2DeepInspectionConfigurationResponse')
413
+ UpdateEncryptionKeyRequest = Shapes::StructureShape.new(name: 'UpdateEncryptionKeyRequest')
414
+ UpdateEncryptionKeyResponse = Shapes::StructureShape.new(name: 'UpdateEncryptionKeyResponse')
371
415
  UpdateFilterRequest = Shapes::StructureShape.new(name: 'UpdateFilterRequest')
372
416
  UpdateFilterResponse = Shapes::StructureShape.new(name: 'UpdateFilterResponse')
373
417
  UpdateOrgEc2DeepInspectionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateOrgEc2DeepInspectionConfigurationRequest')
@@ -517,6 +561,7 @@ module Aws::Inspector2
517
561
  AutoEnable.add_member(:ec2, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ec2"))
518
562
  AutoEnable.add_member(:ecr, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ecr"))
519
563
  AutoEnable.add_member(:lambda, Shapes::ShapeRef.new(shape: Boolean, location_name: "lambda"))
564
+ AutoEnable.add_member(:lambda_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "lambdaCode"))
520
565
  AutoEnable.struct_class = Types::AutoEnable
521
566
 
522
567
  AwsEc2InstanceDetails.add_member(:iam_instance_profile_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "iamInstanceProfileArn"))
@@ -581,6 +626,15 @@ module Aws::Inspector2
581
626
  BatchGetAccountStatusResponse.add_member(:failed_accounts, Shapes::ShapeRef.new(shape: FailedAccountList, location_name: "failedAccounts"))
582
627
  BatchGetAccountStatusResponse.struct_class = Types::BatchGetAccountStatusResponse
583
628
 
629
+ BatchGetCodeSnippetRequest.add_member(:finding_arns, Shapes::ShapeRef.new(shape: BatchGetCodeSnippetRequestFindingArnsList, required: true, location_name: "findingArns"))
630
+ BatchGetCodeSnippetRequest.struct_class = Types::BatchGetCodeSnippetRequest
631
+
632
+ BatchGetCodeSnippetRequestFindingArnsList.member = Shapes::ShapeRef.new(shape: FindingArn)
633
+
634
+ BatchGetCodeSnippetResponse.add_member(:code_snippet_results, Shapes::ShapeRef.new(shape: CodeSnippetResultList, location_name: "codeSnippetResults"))
635
+ BatchGetCodeSnippetResponse.add_member(:errors, Shapes::ShapeRef.new(shape: CodeSnippetErrorList, location_name: "errors"))
636
+ BatchGetCodeSnippetResponse.struct_class = Types::BatchGetCodeSnippetResponse
637
+
584
638
  BatchGetFreeTrialInfoRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: BatchGetFreeTrialInfoRequestAccountIdsList, required: true, location_name: "accountIds"))
585
639
  BatchGetFreeTrialInfoRequest.struct_class = Types::BatchGetFreeTrialInfoRequest
586
640
 
@@ -610,11 +664,55 @@ module Aws::Inspector2
610
664
  CancelFindingsReportResponse.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, required: true, location_name: "reportId"))
611
665
  CancelFindingsReportResponse.struct_class = Types::CancelFindingsReportResponse
612
666
 
667
+ CancelSbomExportRequest.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, required: true, location_name: "reportId"))
668
+ CancelSbomExportRequest.struct_class = Types::CancelSbomExportRequest
669
+
670
+ CancelSbomExportResponse.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "reportId"))
671
+ CancelSbomExportResponse.struct_class = Types::CancelSbomExportResponse
672
+
613
673
  CisaData.add_member(:action, Shapes::ShapeRef.new(shape: CisaAction, location_name: "action"))
614
674
  CisaData.add_member(:date_added, Shapes::ShapeRef.new(shape: CisaDateAdded, location_name: "dateAdded"))
615
675
  CisaData.add_member(:date_due, Shapes::ShapeRef.new(shape: CisaDateDue, location_name: "dateDue"))
616
676
  CisaData.struct_class = Types::CisaData
617
677
 
678
+ CodeFilePath.add_member(:end_line, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "endLine"))
679
+ CodeFilePath.add_member(:file_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "fileName"))
680
+ CodeFilePath.add_member(:file_path, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "filePath"))
681
+ CodeFilePath.add_member(:start_line, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "startLine"))
682
+ CodeFilePath.struct_class = Types::CodeFilePath
683
+
684
+ CodeLine.add_member(:content, Shapes::ShapeRef.new(shape: CodeLineContentString, required: true, location_name: "content"))
685
+ CodeLine.add_member(:line_number, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "lineNumber"))
686
+ CodeLine.struct_class = Types::CodeLine
687
+
688
+ CodeLineList.member = Shapes::ShapeRef.new(shape: CodeLine)
689
+
690
+ CodeSnippetError.add_member(:error_code, Shapes::ShapeRef.new(shape: CodeSnippetErrorCode, required: true, location_name: "errorCode"))
691
+ CodeSnippetError.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "errorMessage"))
692
+ CodeSnippetError.add_member(:finding_arn, Shapes::ShapeRef.new(shape: FindingArn, required: true, location_name: "findingArn"))
693
+ CodeSnippetError.struct_class = Types::CodeSnippetError
694
+
695
+ CodeSnippetErrorList.member = Shapes::ShapeRef.new(shape: CodeSnippetError)
696
+
697
+ CodeSnippetResult.add_member(:code_snippet, Shapes::ShapeRef.new(shape: CodeLineList, location_name: "codeSnippet"))
698
+ CodeSnippetResult.add_member(:end_line, Shapes::ShapeRef.new(shape: Integer, location_name: "endLine"))
699
+ CodeSnippetResult.add_member(:finding_arn, Shapes::ShapeRef.new(shape: FindingArn, location_name: "findingArn"))
700
+ CodeSnippetResult.add_member(:start_line, Shapes::ShapeRef.new(shape: Integer, location_name: "startLine"))
701
+ CodeSnippetResult.add_member(:suggested_fixes, Shapes::ShapeRef.new(shape: SuggestedFixes, location_name: "suggestedFixes"))
702
+ CodeSnippetResult.struct_class = Types::CodeSnippetResult
703
+
704
+ CodeSnippetResultList.member = Shapes::ShapeRef.new(shape: CodeSnippetResult)
705
+
706
+ CodeVulnerabilityDetails.add_member(:cwes, Shapes::ShapeRef.new(shape: CweList, required: true, location_name: "cwes"))
707
+ CodeVulnerabilityDetails.add_member(:detector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "detectorId"))
708
+ CodeVulnerabilityDetails.add_member(:detector_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "detectorName"))
709
+ CodeVulnerabilityDetails.add_member(:detector_tags, Shapes::ShapeRef.new(shape: DetectorTagList, location_name: "detectorTags"))
710
+ CodeVulnerabilityDetails.add_member(:file_path, Shapes::ShapeRef.new(shape: CodeFilePath, required: true, location_name: "filePath"))
711
+ CodeVulnerabilityDetails.add_member(:reference_urls, Shapes::ShapeRef.new(shape: ReferenceUrls, location_name: "referenceUrls"))
712
+ CodeVulnerabilityDetails.add_member(:rule_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ruleId"))
713
+ CodeVulnerabilityDetails.add_member(:source_lambda_layer_arn, Shapes::ShapeRef.new(shape: LambdaLayerArn, location_name: "sourceLambdaLayerArn"))
714
+ CodeVulnerabilityDetails.struct_class = Types::CodeVulnerabilityDetails
715
+
618
716
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
619
717
  ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
620
718
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
@@ -690,6 +788,14 @@ module Aws::Inspector2
690
788
  CreateFindingsReportResponse.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "reportId"))
691
789
  CreateFindingsReportResponse.struct_class = Types::CreateFindingsReportResponse
692
790
 
791
+ CreateSbomExportRequest.add_member(:report_format, Shapes::ShapeRef.new(shape: SbomReportFormat, required: true, location_name: "reportFormat"))
792
+ CreateSbomExportRequest.add_member(:resource_filter_criteria, Shapes::ShapeRef.new(shape: ResourceFilterCriteria, location_name: "resourceFilterCriteria"))
793
+ CreateSbomExportRequest.add_member(:s3_destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "s3Destination"))
794
+ CreateSbomExportRequest.struct_class = Types::CreateSbomExportRequest
795
+
796
+ CreateSbomExportResponse.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "reportId"))
797
+ CreateSbomExportResponse.struct_class = Types::CreateSbomExportResponse
798
+
693
799
  Cvss2.add_member(:base_score, Shapes::ShapeRef.new(shape: Cvss2BaseScore, location_name: "baseScore"))
694
800
  Cvss2.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: Cvss2ScoringVector, location_name: "scoringVector"))
695
801
  Cvss2.struct_class = Types::Cvss2
@@ -720,6 +826,8 @@ module Aws::Inspector2
720
826
 
721
827
  CvssScoreList.member = Shapes::ShapeRef.new(shape: CvssScore)
722
828
 
829
+ CweList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
830
+
723
831
  Cwes.member = Shapes::ShapeRef.new(shape: Cwe)
724
832
 
725
833
  DateFilter.add_member(:end_inclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endInclusive"))
@@ -757,6 +865,8 @@ module Aws::Inspector2
757
865
 
758
866
  DetectionPlatforms.member = Shapes::ShapeRef.new(shape: NonEmptyString)
759
867
 
868
+ DetectorTagList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
869
+
760
870
  DisableDelegatedAdminAccountRequest.add_member(:delegated_admin_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "delegatedAdminAccountId"))
761
871
  DisableDelegatedAdminAccountRequest.struct_class = Types::DisableDelegatedAdminAccountRequest
762
872
 
@@ -840,6 +950,9 @@ module Aws::Inspector2
840
950
  Epss.add_member(:score, Shapes::ShapeRef.new(shape: EpssScore, location_name: "score"))
841
951
  Epss.struct_class = Types::Epss
842
952
 
953
+ EpssDetails.add_member(:score, Shapes::ShapeRef.new(shape: EpssScoreValue, location_name: "score"))
954
+ EpssDetails.struct_class = Types::EpssDetails
955
+
843
956
  ExploitObserved.add_member(:first_seen, Shapes::ShapeRef.new(shape: FirstSeen, location_name: "firstSeen"))
844
957
  ExploitObserved.add_member(:last_seen, Shapes::ShapeRef.new(shape: LastSeen, location_name: "lastSeen"))
845
958
  ExploitObserved.struct_class = Types::ExploitObserved
@@ -878,6 +991,9 @@ module Aws::Inspector2
878
991
  FilterArnList.member = Shapes::ShapeRef.new(shape: FilterArn)
879
992
 
880
993
  FilterCriteria.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "awsAccountId"))
994
+ FilterCriteria.add_member(:code_vulnerability_detector_name, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "codeVulnerabilityDetectorName"))
995
+ FilterCriteria.add_member(:code_vulnerability_detector_tags, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "codeVulnerabilityDetectorTags"))
996
+ FilterCriteria.add_member(:code_vulnerability_file_path, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "codeVulnerabilityFilePath"))
881
997
  FilterCriteria.add_member(:component_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "componentId"))
882
998
  FilterCriteria.add_member(:component_type, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "componentType"))
883
999
  FilterCriteria.add_member(:ec2_instance_image_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ec2InstanceImageId"))
@@ -889,6 +1005,7 @@ module Aws::Inspector2
889
1005
  FilterCriteria.add_member(:ecr_image_registry, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ecrImageRegistry"))
890
1006
  FilterCriteria.add_member(:ecr_image_repository_name, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ecrImageRepositoryName"))
891
1007
  FilterCriteria.add_member(:ecr_image_tags, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ecrImageTags"))
1008
+ FilterCriteria.add_member(:epss_score, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "epssScore"))
892
1009
  FilterCriteria.add_member(:exploit_available, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "exploitAvailable"))
893
1010
  FilterCriteria.add_member(:finding_arn, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "findingArn"))
894
1011
  FilterCriteria.add_member(:finding_status, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "findingStatus"))
@@ -920,7 +1037,9 @@ module Aws::Inspector2
920
1037
  FilterList.member = Shapes::ShapeRef.new(shape: Filter)
921
1038
 
922
1039
  Finding.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "awsAccountId"))
1040
+ Finding.add_member(:code_vulnerability_details, Shapes::ShapeRef.new(shape: CodeVulnerabilityDetails, location_name: "codeVulnerabilityDetails"))
923
1041
  Finding.add_member(:description, Shapes::ShapeRef.new(shape: FindingDescription, required: true, location_name: "description"))
1042
+ Finding.add_member(:epss, Shapes::ShapeRef.new(shape: EpssDetails, location_name: "epss"))
924
1043
  Finding.add_member(:exploit_available, Shapes::ShapeRef.new(shape: ExploitAvailable, location_name: "exploitAvailable"))
925
1044
  Finding.add_member(:exploitability_details, Shapes::ShapeRef.new(shape: ExploitabilityDetails, location_name: "exploitabilityDetails"))
926
1045
  Finding.add_member(:finding_arn, Shapes::ShapeRef.new(shape: FindingArn, required: true, location_name: "findingArn"))
@@ -991,6 +1110,13 @@ module Aws::Inspector2
991
1110
  GetEc2DeepInspectionConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: Ec2DeepInspectionStatus, location_name: "status"))
992
1111
  GetEc2DeepInspectionConfigurationResponse.struct_class = Types::GetEc2DeepInspectionConfigurationResponse
993
1112
 
1113
+ GetEncryptionKeyRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location: "querystring", location_name: "resourceType"))
1114
+ GetEncryptionKeyRequest.add_member(:scan_type, Shapes::ShapeRef.new(shape: ScanType, required: true, location: "querystring", location_name: "scanType"))
1115
+ GetEncryptionKeyRequest.struct_class = Types::GetEncryptionKeyRequest
1116
+
1117
+ GetEncryptionKeyResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyArn, required: true, location_name: "kmsKeyId"))
1118
+ GetEncryptionKeyResponse.struct_class = Types::GetEncryptionKeyResponse
1119
+
994
1120
  GetFindingsReportStatusRequest.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "reportId"))
995
1121
  GetFindingsReportStatusRequest.struct_class = Types::GetFindingsReportStatusRequest
996
1122
 
@@ -1008,6 +1134,18 @@ module Aws::Inspector2
1008
1134
  GetMemberResponse.add_member(:member, Shapes::ShapeRef.new(shape: Member, location_name: "member"))
1009
1135
  GetMemberResponse.struct_class = Types::GetMemberResponse
1010
1136
 
1137
+ GetSbomExportRequest.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, required: true, location_name: "reportId"))
1138
+ GetSbomExportRequest.struct_class = Types::GetSbomExportRequest
1139
+
1140
+ GetSbomExportResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: ReportingErrorCode, location_name: "errorCode"))
1141
+ GetSbomExportResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "errorMessage"))
1142
+ GetSbomExportResponse.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: ResourceFilterCriteria, location_name: "filterCriteria"))
1143
+ GetSbomExportResponse.add_member(:format, Shapes::ShapeRef.new(shape: SbomReportFormat, location_name: "format"))
1144
+ GetSbomExportResponse.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "reportId"))
1145
+ GetSbomExportResponse.add_member(:s3_destination, Shapes::ShapeRef.new(shape: Destination, location_name: "s3Destination"))
1146
+ GetSbomExportResponse.add_member(:status, Shapes::ShapeRef.new(shape: ExternalReportStatus, location_name: "status"))
1147
+ GetSbomExportResponse.struct_class = Types::GetSbomExportResponse
1148
+
1011
1149
  ImageLayerAggregation.add_member(:layer_hashes, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "layerHashes"))
1012
1150
  ImageLayerAggregation.add_member(:repositories, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "repositories"))
1013
1151
  ImageLayerAggregation.add_member(:resource_ids, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "resourceIds"))
@@ -1272,6 +1410,8 @@ module Aws::Inspector2
1272
1410
  Recommendation.add_member(:text, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "text"))
1273
1411
  Recommendation.struct_class = Types::Recommendation
1274
1412
 
1413
+ ReferenceUrls.member = Shapes::ShapeRef.new(shape: NonEmptyString)
1414
+
1275
1415
  RelatedVulnerabilities.member = Shapes::ShapeRef.new(shape: RelatedVulnerability)
1276
1416
 
1277
1417
  Remediation.add_member(:recommendation, Shapes::ShapeRef.new(shape: Recommendation, location_name: "recommendation"))
@@ -1288,6 +1428,12 @@ module Aws::Inspector2
1288
1428
  RepositoryAggregationResponse.add_member(:severity_counts, Shapes::ShapeRef.new(shape: SeverityCounts, location_name: "severityCounts"))
1289
1429
  RepositoryAggregationResponse.struct_class = Types::RepositoryAggregationResponse
1290
1430
 
1431
+ ResetEncryptionKeyRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
1432
+ ResetEncryptionKeyRequest.add_member(:scan_type, Shapes::ShapeRef.new(shape: ScanType, required: true, location_name: "scanType"))
1433
+ ResetEncryptionKeyRequest.struct_class = Types::ResetEncryptionKeyRequest
1434
+
1435
+ ResetEncryptionKeyResponse.struct_class = Types::ResetEncryptionKeyResponse
1436
+
1291
1437
  Resource.add_member(:details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "details"))
1292
1438
  Resource.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "id"))
1293
1439
  Resource.add_member(:partition, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "partition"))
@@ -1301,8 +1447,25 @@ module Aws::Inspector2
1301
1447
  ResourceDetails.add_member(:aws_lambda_function, Shapes::ShapeRef.new(shape: AwsLambdaFunctionDetails, location_name: "awsLambdaFunction"))
1302
1448
  ResourceDetails.struct_class = Types::ResourceDetails
1303
1449
 
1450
+ ResourceFilterCriteria.add_member(:account_id, Shapes::ShapeRef.new(shape: ResourceStringFilterList, location_name: "accountId"))
1451
+ ResourceFilterCriteria.add_member(:ec2_instance_tags, Shapes::ShapeRef.new(shape: ResourceMapFilterList, location_name: "ec2InstanceTags"))
1452
+ ResourceFilterCriteria.add_member(:ecr_image_tags, Shapes::ShapeRef.new(shape: ResourceStringFilterList, location_name: "ecrImageTags"))
1453
+ ResourceFilterCriteria.add_member(:ecr_repository_name, Shapes::ShapeRef.new(shape: ResourceStringFilterList, location_name: "ecrRepositoryName"))
1454
+ ResourceFilterCriteria.add_member(:lambda_function_name, Shapes::ShapeRef.new(shape: ResourceStringFilterList, location_name: "lambdaFunctionName"))
1455
+ ResourceFilterCriteria.add_member(:lambda_function_tags, Shapes::ShapeRef.new(shape: ResourceMapFilterList, location_name: "lambdaFunctionTags"))
1456
+ ResourceFilterCriteria.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceStringFilterList, location_name: "resourceId"))
1457
+ ResourceFilterCriteria.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceStringFilterList, location_name: "resourceType"))
1458
+ ResourceFilterCriteria.struct_class = Types::ResourceFilterCriteria
1459
+
1304
1460
  ResourceList.member = Shapes::ShapeRef.new(shape: Resource)
1305
1461
 
1462
+ ResourceMapFilter.add_member(:comparison, Shapes::ShapeRef.new(shape: ResourceMapComparison, required: true, location_name: "comparison"))
1463
+ ResourceMapFilter.add_member(:key, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "key"))
1464
+ ResourceMapFilter.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "value"))
1465
+ ResourceMapFilter.struct_class = Types::ResourceMapFilter
1466
+
1467
+ ResourceMapFilterList.member = Shapes::ShapeRef.new(shape: ResourceMapFilter)
1468
+
1306
1469
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
1307
1470
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1308
1471
 
@@ -1315,13 +1478,21 @@ module Aws::Inspector2
1315
1478
  ResourceState.add_member(:ec2, Shapes::ShapeRef.new(shape: State, required: true, location_name: "ec2"))
1316
1479
  ResourceState.add_member(:ecr, Shapes::ShapeRef.new(shape: State, required: true, location_name: "ecr"))
1317
1480
  ResourceState.add_member(:lambda, Shapes::ShapeRef.new(shape: State, location_name: "lambda"))
1481
+ ResourceState.add_member(:lambda_code, Shapes::ShapeRef.new(shape: State, location_name: "lambdaCode"))
1318
1482
  ResourceState.struct_class = Types::ResourceState
1319
1483
 
1320
1484
  ResourceStatus.add_member(:ec2, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "ec2"))
1321
1485
  ResourceStatus.add_member(:ecr, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "ecr"))
1322
1486
  ResourceStatus.add_member(:lambda, Shapes::ShapeRef.new(shape: Status, location_name: "lambda"))
1487
+ ResourceStatus.add_member(:lambda_code, Shapes::ShapeRef.new(shape: Status, location_name: "lambdaCode"))
1323
1488
  ResourceStatus.struct_class = Types::ResourceStatus
1324
1489
 
1490
+ ResourceStringFilter.add_member(:comparison, Shapes::ShapeRef.new(shape: ResourceStringComparison, required: true, location_name: "comparison"))
1491
+ ResourceStringFilter.add_member(:value, Shapes::ShapeRef.new(shape: ResourceStringInput, required: true, location_name: "value"))
1492
+ ResourceStringFilter.struct_class = Types::ResourceStringFilter
1493
+
1494
+ ResourceStringFilterList.member = Shapes::ShapeRef.new(shape: ResourceStringFilter)
1495
+
1325
1496
  ScanStatus.add_member(:reason, Shapes::ShapeRef.new(shape: ScanStatusReason, required: true, location_name: "reason"))
1326
1497
  ScanStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: ScanStatusCode, required: true, location_name: "statusCode"))
1327
1498
  ScanStatus.struct_class = Types::ScanStatus
@@ -1374,6 +1545,12 @@ module Aws::Inspector2
1374
1545
 
1375
1546
  SubnetIdList.member = Shapes::ShapeRef.new(shape: SubnetId)
1376
1547
 
1548
+ SuggestedFix.add_member(:code, Shapes::ShapeRef.new(shape: SuggestedFixCodeString, location_name: "code"))
1549
+ SuggestedFix.add_member(:description, Shapes::ShapeRef.new(shape: SuggestedFixDescriptionString, location_name: "description"))
1550
+ SuggestedFix.struct_class = Types::SuggestedFix
1551
+
1552
+ SuggestedFixes.member = Shapes::ShapeRef.new(shape: SuggestedFix)
1553
+
1377
1554
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
1378
1555
 
1379
1556
  TagList.member = Shapes::ShapeRef.new(shape: String)
@@ -1393,6 +1570,7 @@ module Aws::Inspector2
1393
1570
  ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
1394
1571
  ThrottlingException.struct_class = Types::ThrottlingException
1395
1572
 
1573
+ TitleAggregation.add_member(:finding_type, Shapes::ShapeRef.new(shape: AggregationFindingType, location_name: "findingType"))
1396
1574
  TitleAggregation.add_member(:resource_type, Shapes::ShapeRef.new(shape: AggregationResourceType, location_name: "resourceType"))
1397
1575
  TitleAggregation.add_member(:sort_by, Shapes::ShapeRef.new(shape: TitleSortBy, location_name: "sortBy"))
1398
1576
  TitleAggregation.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "sortOrder"))
@@ -1429,6 +1607,13 @@ module Aws::Inspector2
1429
1607
  UpdateEc2DeepInspectionConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: Ec2DeepInspectionStatus, location_name: "status"))
1430
1608
  UpdateEc2DeepInspectionConfigurationResponse.struct_class = Types::UpdateEc2DeepInspectionConfigurationResponse
1431
1609
 
1610
+ UpdateEncryptionKeyRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyArn, required: true, location_name: "kmsKeyId"))
1611
+ UpdateEncryptionKeyRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
1612
+ UpdateEncryptionKeyRequest.add_member(:scan_type, Shapes::ShapeRef.new(shape: ScanType, required: true, location_name: "scanType"))
1613
+ UpdateEncryptionKeyRequest.struct_class = Types::UpdateEncryptionKeyRequest
1614
+
1615
+ UpdateEncryptionKeyResponse.struct_class = Types::UpdateEncryptionKeyResponse
1616
+
1432
1617
  UpdateFilterRequest.add_member(:action, Shapes::ShapeRef.new(shape: FilterAction, location_name: "action"))
1433
1618
  UpdateFilterRequest.add_member(:description, Shapes::ShapeRef.new(shape: FilterDescription, location_name: "description"))
1434
1619
  UpdateFilterRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: FilterArn, required: true, location_name: "filterArn"))
@@ -1564,6 +1749,18 @@ module Aws::Inspector2
1564
1749
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1565
1750
  end)
1566
1751
 
1752
+ api.add_operation(:batch_get_code_snippet, Seahorse::Model::Operation.new.tap do |o|
1753
+ o.name = "BatchGetCodeSnippet"
1754
+ o.http_method = "POST"
1755
+ o.http_request_uri = "/codesnippet/batchget"
1756
+ o.input = Shapes::ShapeRef.new(shape: BatchGetCodeSnippetRequest)
1757
+ o.output = Shapes::ShapeRef.new(shape: BatchGetCodeSnippetResponse)
1758
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1759
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1760
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1761
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1762
+ end)
1763
+
1567
1764
  api.add_operation(:batch_get_free_trial_info, Seahorse::Model::Operation.new.tap do |o|
1568
1765
  o.name = "BatchGetFreeTrialInfo"
1569
1766
  o.http_method = "POST"
@@ -1613,6 +1810,19 @@ module Aws::Inspector2
1613
1810
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1614
1811
  end)
1615
1812
 
1813
+ api.add_operation(:cancel_sbom_export, Seahorse::Model::Operation.new.tap do |o|
1814
+ o.name = "CancelSbomExport"
1815
+ o.http_method = "POST"
1816
+ o.http_request_uri = "/sbomexport/cancel"
1817
+ o.input = Shapes::ShapeRef.new(shape: CancelSbomExportRequest)
1818
+ o.output = Shapes::ShapeRef.new(shape: CancelSbomExportResponse)
1819
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1820
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1821
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1822
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1823
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1824
+ end)
1825
+
1616
1826
  api.add_operation(:create_filter, Seahorse::Model::Operation.new.tap do |o|
1617
1827
  o.name = "CreateFilter"
1618
1828
  o.http_method = "POST"
@@ -1640,6 +1850,19 @@ module Aws::Inspector2
1640
1850
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1641
1851
  end)
1642
1852
 
1853
+ api.add_operation(:create_sbom_export, Seahorse::Model::Operation.new.tap do |o|
1854
+ o.name = "CreateSbomExport"
1855
+ o.http_method = "POST"
1856
+ o.http_request_uri = "/sbomexport/create"
1857
+ o.input = Shapes::ShapeRef.new(shape: CreateSbomExportRequest)
1858
+ o.output = Shapes::ShapeRef.new(shape: CreateSbomExportResponse)
1859
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1860
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1861
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1862
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1863
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1864
+ end)
1865
+
1643
1866
  api.add_operation(:delete_filter, Seahorse::Model::Operation.new.tap do |o|
1644
1867
  o.name = "DeleteFilter"
1645
1868
  o.http_method = "POST"
@@ -1767,6 +1990,19 @@ module Aws::Inspector2
1767
1990
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1768
1991
  end)
1769
1992
 
1993
+ api.add_operation(:get_encryption_key, Seahorse::Model::Operation.new.tap do |o|
1994
+ o.name = "GetEncryptionKey"
1995
+ o.http_method = "GET"
1996
+ o.http_request_uri = "/encryptionkey/get"
1997
+ o.input = Shapes::ShapeRef.new(shape: GetEncryptionKeyRequest)
1998
+ o.output = Shapes::ShapeRef.new(shape: GetEncryptionKeyResponse)
1999
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2000
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2001
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2002
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2003
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2004
+ end)
2005
+
1770
2006
  api.add_operation(:get_findings_report_status, Seahorse::Model::Operation.new.tap do |o|
1771
2007
  o.name = "GetFindingsReportStatus"
1772
2008
  o.http_method = "POST"
@@ -1793,6 +2029,19 @@ module Aws::Inspector2
1793
2029
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1794
2030
  end)
1795
2031
 
2032
+ api.add_operation(:get_sbom_export, Seahorse::Model::Operation.new.tap do |o|
2033
+ o.name = "GetSbomExport"
2034
+ o.http_method = "POST"
2035
+ o.http_request_uri = "/sbomexport/get"
2036
+ o.input = Shapes::ShapeRef.new(shape: GetSbomExportRequest)
2037
+ o.output = Shapes::ShapeRef.new(shape: GetSbomExportResponse)
2038
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2039
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2040
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2041
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2042
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2043
+ end)
2044
+
1796
2045
  api.add_operation(:list_account_permissions, Seahorse::Model::Operation.new.tap do |o|
1797
2046
  o.name = "ListAccountPermissions"
1798
2047
  o.http_method = "POST"
@@ -1962,6 +2211,19 @@ module Aws::Inspector2
1962
2211
  )
1963
2212
  end)
1964
2213
 
2214
+ api.add_operation(:reset_encryption_key, Seahorse::Model::Operation.new.tap do |o|
2215
+ o.name = "ResetEncryptionKey"
2216
+ o.http_method = "PUT"
2217
+ o.http_request_uri = "/encryptionkey/reset"
2218
+ o.input = Shapes::ShapeRef.new(shape: ResetEncryptionKeyRequest)
2219
+ o.output = Shapes::ShapeRef.new(shape: ResetEncryptionKeyResponse)
2220
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2221
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2222
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2223
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2224
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2225
+ end)
2226
+
1965
2227
  api.add_operation(:search_vulnerabilities, Seahorse::Model::Operation.new.tap do |o|
1966
2228
  o.name = "SearchVulnerabilities"
1967
2229
  o.http_method = "POST"
@@ -2028,6 +2290,19 @@ module Aws::Inspector2
2028
2290
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2029
2291
  end)
2030
2292
 
2293
+ api.add_operation(:update_encryption_key, Seahorse::Model::Operation.new.tap do |o|
2294
+ o.name = "UpdateEncryptionKey"
2295
+ o.http_method = "PUT"
2296
+ o.http_request_uri = "/encryptionkey/update"
2297
+ o.input = Shapes::ShapeRef.new(shape: UpdateEncryptionKeyRequest)
2298
+ o.output = Shapes::ShapeRef.new(shape: UpdateEncryptionKeyResponse)
2299
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2300
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2301
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2302
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2303
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2304
+ end)
2305
+
2031
2306
  api.add_operation(:update_filter, Seahorse::Model::Operation.new.tap do |o|
2032
2307
  o.name = "UpdateFilter"
2033
2308
  o.http_method = "POST"