aws-sdk-inspector2 1.10.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,6 +39,7 @@ module Aws::Inspector2
39
39
  Arn = Shapes::StringShape.new(name: 'Arn')
40
40
  AssociateMemberRequest = Shapes::StructureShape.new(name: 'AssociateMemberRequest')
41
41
  AssociateMemberResponse = Shapes::StructureShape.new(name: 'AssociateMemberResponse')
42
+ AtigData = Shapes::StructureShape.new(name: 'AtigData')
42
43
  AutoEnable = Shapes::StructureShape.new(name: 'AutoEnable')
43
44
  AwsEc2InstanceDetails = Shapes::StructureShape.new(name: 'AwsEc2InstanceDetails')
44
45
  AwsEcrContainerAggregation = Shapes::StructureShape.new(name: 'AwsEcrContainerAggregation')
@@ -52,9 +53,17 @@ module Aws::Inspector2
52
53
  BatchGetFreeTrialInfoRequest = Shapes::StructureShape.new(name: 'BatchGetFreeTrialInfoRequest')
53
54
  BatchGetFreeTrialInfoRequestAccountIdsList = Shapes::ListShape.new(name: 'BatchGetFreeTrialInfoRequestAccountIdsList')
54
55
  BatchGetFreeTrialInfoResponse = Shapes::StructureShape.new(name: 'BatchGetFreeTrialInfoResponse')
56
+ BatchGetMemberEc2DeepInspectionStatusRequest = Shapes::StructureShape.new(name: 'BatchGetMemberEc2DeepInspectionStatusRequest')
57
+ BatchGetMemberEc2DeepInspectionStatusResponse = Shapes::StructureShape.new(name: 'BatchGetMemberEc2DeepInspectionStatusResponse')
58
+ BatchUpdateMemberEc2DeepInspectionStatusRequest = Shapes::StructureShape.new(name: 'BatchUpdateMemberEc2DeepInspectionStatusRequest')
59
+ BatchUpdateMemberEc2DeepInspectionStatusResponse = Shapes::StructureShape.new(name: 'BatchUpdateMemberEc2DeepInspectionStatusResponse')
55
60
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
56
61
  CancelFindingsReportRequest = Shapes::StructureShape.new(name: 'CancelFindingsReportRequest')
57
62
  CancelFindingsReportResponse = Shapes::StructureShape.new(name: 'CancelFindingsReportResponse')
63
+ CisaAction = Shapes::StringShape.new(name: 'CisaAction')
64
+ CisaData = Shapes::StructureShape.new(name: 'CisaData')
65
+ CisaDateAdded = Shapes::TimestampShape.new(name: 'CisaDateAdded')
66
+ CisaDateDue = Shapes::TimestampShape.new(name: 'CisaDateDue')
58
67
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
59
68
  Component = Shapes::StringShape.new(name: 'Component')
60
69
  ComponentType = Shapes::StringShape.new(name: 'ComponentType')
@@ -77,11 +86,19 @@ module Aws::Inspector2
77
86
  CreateFindingsReportRequest = Shapes::StructureShape.new(name: 'CreateFindingsReportRequest')
78
87
  CreateFindingsReportResponse = Shapes::StructureShape.new(name: 'CreateFindingsReportResponse')
79
88
  Currency = Shapes::StringShape.new(name: 'Currency')
89
+ Cvss2 = Shapes::StructureShape.new(name: 'Cvss2')
90
+ Cvss2BaseScore = Shapes::FloatShape.new(name: 'Cvss2BaseScore')
91
+ Cvss2ScoringVector = Shapes::StringShape.new(name: 'Cvss2ScoringVector')
92
+ Cvss3 = Shapes::StructureShape.new(name: 'Cvss3')
93
+ Cvss3BaseScore = Shapes::FloatShape.new(name: 'Cvss3BaseScore')
94
+ Cvss3ScoringVector = Shapes::StringShape.new(name: 'Cvss3ScoringVector')
80
95
  CvssScore = Shapes::StructureShape.new(name: 'CvssScore')
81
96
  CvssScoreAdjustment = Shapes::StructureShape.new(name: 'CvssScoreAdjustment')
82
97
  CvssScoreAdjustmentList = Shapes::ListShape.new(name: 'CvssScoreAdjustmentList')
83
98
  CvssScoreDetails = Shapes::StructureShape.new(name: 'CvssScoreDetails')
84
99
  CvssScoreList = Shapes::ListShape.new(name: 'CvssScoreList')
100
+ Cwe = Shapes::StringShape.new(name: 'Cwe')
101
+ Cwes = Shapes::ListShape.new(name: 'Cwes')
85
102
  DateFilter = Shapes::StructureShape.new(name: 'DateFilter')
86
103
  DateFilterList = Shapes::ListShape.new(name: 'DateFilterList')
87
104
  DateTimeTimestamp = Shapes::TimestampShape.new(name: 'DateTimeTimestamp')
@@ -94,6 +111,7 @@ module Aws::Inspector2
94
111
  DescribeOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeOrganizationConfigurationRequest')
95
112
  DescribeOrganizationConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeOrganizationConfigurationResponse')
96
113
  Destination = Shapes::StructureShape.new(name: 'Destination')
114
+ DetectionPlatforms = Shapes::ListShape.new(name: 'DetectionPlatforms')
97
115
  DisableDelegatedAdminAccountRequest = Shapes::StructureShape.new(name: 'DisableDelegatedAdminAccountRequest')
98
116
  DisableDelegatedAdminAccountResponse = Shapes::StructureShape.new(name: 'DisableDelegatedAdminAccountResponse')
99
117
  DisableRequest = Shapes::StructureShape.new(name: 'DisableRequest')
@@ -102,6 +120,7 @@ module Aws::Inspector2
102
120
  DisassociateMemberRequest = Shapes::StructureShape.new(name: 'DisassociateMemberRequest')
103
121
  DisassociateMemberResponse = Shapes::StructureShape.new(name: 'DisassociateMemberResponse')
104
122
  Double = Shapes::FloatShape.new(name: 'Double')
123
+ Ec2DeepInspectionStatus = Shapes::StringShape.new(name: 'Ec2DeepInspectionStatus')
105
124
  Ec2InstanceAggregation = Shapes::StructureShape.new(name: 'Ec2InstanceAggregation')
106
125
  Ec2InstanceAggregationResponse = Shapes::StructureShape.new(name: 'Ec2InstanceAggregationResponse')
107
126
  Ec2InstanceSortBy = Shapes::StringShape.new(name: 'Ec2InstanceSortBy')
@@ -120,14 +139,19 @@ module Aws::Inspector2
120
139
  EnableRequest = Shapes::StructureShape.new(name: 'EnableRequest')
121
140
  EnableResourceTypeList = Shapes::ListShape.new(name: 'EnableResourceTypeList')
122
141
  EnableResponse = Shapes::StructureShape.new(name: 'EnableResponse')
142
+ Epss = Shapes::StructureShape.new(name: 'Epss')
143
+ EpssScore = Shapes::FloatShape.new(name: 'EpssScore')
123
144
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
124
145
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
125
146
  ExecutionRoleArn = Shapes::StringShape.new(name: 'ExecutionRoleArn')
126
147
  ExploitAvailable = Shapes::StringShape.new(name: 'ExploitAvailable')
148
+ ExploitObserved = Shapes::StructureShape.new(name: 'ExploitObserved')
127
149
  ExploitabilityDetails = Shapes::StructureShape.new(name: 'ExploitabilityDetails')
128
150
  ExternalReportStatus = Shapes::StringShape.new(name: 'ExternalReportStatus')
129
151
  FailedAccount = Shapes::StructureShape.new(name: 'FailedAccount')
130
152
  FailedAccountList = Shapes::ListShape.new(name: 'FailedAccountList')
153
+ FailedMemberAccountEc2DeepInspectionStatusState = Shapes::StructureShape.new(name: 'FailedMemberAccountEc2DeepInspectionStatusState')
154
+ FailedMemberAccountEc2DeepInspectionStatusStateList = Shapes::ListShape.new(name: 'FailedMemberAccountEc2DeepInspectionStatusStateList')
131
155
  FilePath = Shapes::StringShape.new(name: 'FilePath')
132
156
  Filter = Shapes::StructureShape.new(name: 'Filter')
133
157
  FilterAction = Shapes::StringShape.new(name: 'FilterAction')
@@ -148,6 +172,7 @@ module Aws::Inspector2
148
172
  FindingTypeAggregation = Shapes::StructureShape.new(name: 'FindingTypeAggregation')
149
173
  FindingTypeAggregationResponse = Shapes::StructureShape.new(name: 'FindingTypeAggregationResponse')
150
174
  FindingTypeSortBy = Shapes::StringShape.new(name: 'FindingTypeSortBy')
175
+ FirstSeen = Shapes::TimestampShape.new(name: 'FirstSeen')
151
176
  FixAvailable = Shapes::StringShape.new(name: 'FixAvailable')
152
177
  FreeTrialAccountInfo = Shapes::StructureShape.new(name: 'FreeTrialAccountInfo')
153
178
  FreeTrialAccountInfoList = Shapes::ListShape.new(name: 'FreeTrialAccountInfoList')
@@ -163,6 +188,8 @@ module Aws::Inspector2
163
188
  GetConfigurationResponse = Shapes::StructureShape.new(name: 'GetConfigurationResponse')
164
189
  GetDelegatedAdminAccountRequest = Shapes::StructureShape.new(name: 'GetDelegatedAdminAccountRequest')
165
190
  GetDelegatedAdminAccountResponse = Shapes::StructureShape.new(name: 'GetDelegatedAdminAccountResponse')
191
+ GetEc2DeepInspectionConfigurationRequest = Shapes::StructureShape.new(name: 'GetEc2DeepInspectionConfigurationRequest')
192
+ GetEc2DeepInspectionConfigurationResponse = Shapes::StructureShape.new(name: 'GetEc2DeepInspectionConfigurationResponse')
166
193
  GetFindingsReportStatusRequest = Shapes::StructureShape.new(name: 'GetFindingsReportStatusRequest')
167
194
  GetFindingsReportStatusResponse = Shapes::StructureShape.new(name: 'GetFindingsReportStatusResponse')
168
195
  GetMemberRequest = Shapes::StructureShape.new(name: 'GetMemberRequest')
@@ -190,6 +217,7 @@ module Aws::Inspector2
190
217
  LambdaLayerList = Shapes::ListShape.new(name: 'LambdaLayerList')
191
218
  LambdaLayerSortBy = Shapes::StringShape.new(name: 'LambdaLayerSortBy')
192
219
  LambdaVpcConfig = Shapes::StructureShape.new(name: 'LambdaVpcConfig')
220
+ LastSeen = Shapes::TimestampShape.new(name: 'LastSeen')
193
221
  LayerList = Shapes::ListShape.new(name: 'LayerList')
194
222
  ListAccountPermissionsMaxResults = Shapes::IntegerShape.new(name: 'ListAccountPermissionsMaxResults')
195
223
  ListAccountPermissionsRequest = Shapes::StructureShape.new(name: 'ListAccountPermissionsRequest')
@@ -227,6 +255,10 @@ module Aws::Inspector2
227
255
  MapKey = Shapes::StringShape.new(name: 'MapKey')
228
256
  MapValue = Shapes::StringShape.new(name: 'MapValue')
229
257
  Member = Shapes::StructureShape.new(name: 'Member')
258
+ MemberAccountEc2DeepInspectionStatus = Shapes::StructureShape.new(name: 'MemberAccountEc2DeepInspectionStatus')
259
+ MemberAccountEc2DeepInspectionStatusList = Shapes::ListShape.new(name: 'MemberAccountEc2DeepInspectionStatusList')
260
+ MemberAccountEc2DeepInspectionStatusState = Shapes::StructureShape.new(name: 'MemberAccountEc2DeepInspectionStatusState')
261
+ MemberAccountEc2DeepInspectionStatusStateList = Shapes::ListShape.new(name: 'MemberAccountEc2DeepInspectionStatusStateList')
230
262
  MemberList = Shapes::ListShape.new(name: 'MemberList')
231
263
  MeteringAccountId = Shapes::StringShape.new(name: 'MeteringAccountId')
232
264
  MonthlyCostEstimate = Shapes::FloatShape.new(name: 'MonthlyCostEstimate')
@@ -253,6 +285,8 @@ module Aws::Inspector2
253
285
  PackageType = Shapes::StringShape.new(name: 'PackageType')
254
286
  PackageVersion = Shapes::StringShape.new(name: 'PackageVersion')
255
287
  PackageVulnerabilityDetails = Shapes::StructureShape.new(name: 'PackageVulnerabilityDetails')
288
+ Path = Shapes::StringShape.new(name: 'Path')
289
+ PathList = Shapes::ListShape.new(name: 'PathList')
256
290
  Permission = Shapes::StructureShape.new(name: 'Permission')
257
291
  Permissions = Shapes::ListShape.new(name: 'Permissions')
258
292
  Platform = Shapes::StringShape.new(name: 'Platform')
@@ -261,6 +295,8 @@ module Aws::Inspector2
261
295
  PortRangeFilter = Shapes::StructureShape.new(name: 'PortRangeFilter')
262
296
  PortRangeFilterList = Shapes::ListShape.new(name: 'PortRangeFilterList')
263
297
  Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
298
+ RelatedVulnerabilities = Shapes::ListShape.new(name: 'RelatedVulnerabilities')
299
+ RelatedVulnerability = Shapes::StringShape.new(name: 'RelatedVulnerability')
264
300
  RelationshipStatus = Shapes::StringShape.new(name: 'RelationshipStatus')
265
301
  Remediation = Shapes::StructureShape.new(name: 'Remediation')
266
302
  ReportFormat = Shapes::StringShape.new(name: 'ReportFormat')
@@ -284,6 +320,9 @@ module Aws::Inspector2
284
320
  ScanStatusCode = Shapes::StringShape.new(name: 'ScanStatusCode')
285
321
  ScanStatusReason = Shapes::StringShape.new(name: 'ScanStatusReason')
286
322
  ScanType = Shapes::StringShape.new(name: 'ScanType')
323
+ SearchVulnerabilitiesFilterCriteria = Shapes::StructureShape.new(name: 'SearchVulnerabilitiesFilterCriteria')
324
+ SearchVulnerabilitiesRequest = Shapes::StructureShape.new(name: 'SearchVulnerabilitiesRequest')
325
+ SearchVulnerabilitiesResponse = Shapes::StructureShape.new(name: 'SearchVulnerabilitiesResponse')
287
326
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
288
327
  SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
289
328
  Service = Shapes::StringShape.new(name: 'Service')
@@ -312,17 +351,25 @@ module Aws::Inspector2
312
351
  TagMap = Shapes::MapShape.new(name: 'TagMap')
313
352
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
314
353
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
354
+ Target = Shapes::StringShape.new(name: 'Target')
355
+ Targets = Shapes::ListShape.new(name: 'Targets')
315
356
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
316
357
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
317
358
  TitleAggregation = Shapes::StructureShape.new(name: 'TitleAggregation')
318
359
  TitleAggregationResponse = Shapes::StructureShape.new(name: 'TitleAggregationResponse')
319
360
  TitleSortBy = Shapes::StringShape.new(name: 'TitleSortBy')
361
+ Ttp = Shapes::StringShape.new(name: 'Ttp')
362
+ Ttps = Shapes::ListShape.new(name: 'Ttps')
320
363
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
321
364
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
322
365
  UpdateConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationRequest')
323
366
  UpdateConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationResponse')
367
+ UpdateEc2DeepInspectionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateEc2DeepInspectionConfigurationRequest')
368
+ UpdateEc2DeepInspectionConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateEc2DeepInspectionConfigurationResponse')
324
369
  UpdateFilterRequest = Shapes::StructureShape.new(name: 'UpdateFilterRequest')
325
370
  UpdateFilterResponse = Shapes::StructureShape.new(name: 'UpdateFilterResponse')
371
+ UpdateOrgEc2DeepInspectionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateOrgEc2DeepInspectionConfigurationRequest')
372
+ UpdateOrgEc2DeepInspectionConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateOrgEc2DeepInspectionConfigurationResponse')
326
373
  UpdateOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationRequest')
327
374
  UpdateOrganizationConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationResponse')
328
375
  Usage = Shapes::StructureShape.new(name: 'Usage')
@@ -337,10 +384,22 @@ module Aws::Inspector2
337
384
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
338
385
  ValidationExceptionFields = Shapes::ListShape.new(name: 'ValidationExceptionFields')
339
386
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
387
+ VendorCreatedAt = Shapes::TimestampShape.new(name: 'VendorCreatedAt')
388
+ VendorSeverity = Shapes::StringShape.new(name: 'VendorSeverity')
389
+ VendorUpdatedAt = Shapes::TimestampShape.new(name: 'VendorUpdatedAt')
340
390
  Version = Shapes::StringShape.new(name: 'Version')
341
391
  VpcId = Shapes::StringShape.new(name: 'VpcId')
392
+ VulnId = Shapes::StringShape.new(name: 'VulnId')
393
+ VulnIdList = Shapes::ListShape.new(name: 'VulnIdList')
394
+ Vulnerabilities = Shapes::ListShape.new(name: 'Vulnerabilities')
395
+ Vulnerability = Shapes::StructureShape.new(name: 'Vulnerability')
396
+ VulnerabilityDescription = Shapes::StringShape.new(name: 'VulnerabilityDescription')
342
397
  VulnerabilityId = Shapes::StringShape.new(name: 'VulnerabilityId')
343
398
  VulnerabilityIdList = Shapes::ListShape.new(name: 'VulnerabilityIdList')
399
+ VulnerabilityReferenceUrl = Shapes::StringShape.new(name: 'VulnerabilityReferenceUrl')
400
+ VulnerabilityReferenceUrls = Shapes::ListShape.new(name: 'VulnerabilityReferenceUrls')
401
+ VulnerabilitySource = Shapes::StringShape.new(name: 'VulnerabilitySource')
402
+ VulnerabilitySourceUrl = Shapes::StringShape.new(name: 'VulnerabilitySourceUrl')
344
403
  VulnerablePackage = Shapes::StructureShape.new(name: 'VulnerablePackage')
345
404
  VulnerablePackageList = Shapes::ListShape.new(name: 'VulnerablePackageList')
346
405
  VulnerablePackageRemediation = Shapes::StringShape.new(name: 'VulnerablePackageRemediation')
@@ -447,6 +506,12 @@ module Aws::Inspector2
447
506
  AssociateMemberResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
448
507
  AssociateMemberResponse.struct_class = Types::AssociateMemberResponse
449
508
 
509
+ AtigData.add_member(:first_seen, Shapes::ShapeRef.new(shape: FirstSeen, location_name: "firstSeen"))
510
+ AtigData.add_member(:last_seen, Shapes::ShapeRef.new(shape: LastSeen, location_name: "lastSeen"))
511
+ AtigData.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "targets"))
512
+ AtigData.add_member(:ttps, Shapes::ShapeRef.new(shape: Ttps, location_name: "ttps"))
513
+ AtigData.struct_class = Types::AtigData
514
+
450
515
  AutoEnable.add_member(:ec2, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ec2"))
451
516
  AutoEnable.add_member(:ecr, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ecr"))
452
517
  AutoEnable.add_member(:lambda, Shapes::ShapeRef.new(shape: Boolean, location_name: "lambda"))
@@ -523,12 +588,31 @@ module Aws::Inspector2
523
588
  BatchGetFreeTrialInfoResponse.add_member(:failed_accounts, Shapes::ShapeRef.new(shape: FreeTrialInfoErrorList, required: true, location_name: "failedAccounts"))
524
589
  BatchGetFreeTrialInfoResponse.struct_class = Types::BatchGetFreeTrialInfoResponse
525
590
 
591
+ BatchGetMemberEc2DeepInspectionStatusRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdSet, location_name: "accountIds"))
592
+ BatchGetMemberEc2DeepInspectionStatusRequest.struct_class = Types::BatchGetMemberEc2DeepInspectionStatusRequest
593
+
594
+ BatchGetMemberEc2DeepInspectionStatusResponse.add_member(:account_ids, Shapes::ShapeRef.new(shape: MemberAccountEc2DeepInspectionStatusStateList, location_name: "accountIds"))
595
+ BatchGetMemberEc2DeepInspectionStatusResponse.add_member(:failed_account_ids, Shapes::ShapeRef.new(shape: FailedMemberAccountEc2DeepInspectionStatusStateList, location_name: "failedAccountIds"))
596
+ BatchGetMemberEc2DeepInspectionStatusResponse.struct_class = Types::BatchGetMemberEc2DeepInspectionStatusResponse
597
+
598
+ BatchUpdateMemberEc2DeepInspectionStatusRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: MemberAccountEc2DeepInspectionStatusList, required: true, location_name: "accountIds"))
599
+ BatchUpdateMemberEc2DeepInspectionStatusRequest.struct_class = Types::BatchUpdateMemberEc2DeepInspectionStatusRequest
600
+
601
+ BatchUpdateMemberEc2DeepInspectionStatusResponse.add_member(:account_ids, Shapes::ShapeRef.new(shape: MemberAccountEc2DeepInspectionStatusStateList, location_name: "accountIds"))
602
+ BatchUpdateMemberEc2DeepInspectionStatusResponse.add_member(:failed_account_ids, Shapes::ShapeRef.new(shape: FailedMemberAccountEc2DeepInspectionStatusStateList, location_name: "failedAccountIds"))
603
+ BatchUpdateMemberEc2DeepInspectionStatusResponse.struct_class = Types::BatchUpdateMemberEc2DeepInspectionStatusResponse
604
+
526
605
  CancelFindingsReportRequest.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, required: true, location_name: "reportId"))
527
606
  CancelFindingsReportRequest.struct_class = Types::CancelFindingsReportRequest
528
607
 
529
608
  CancelFindingsReportResponse.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, required: true, location_name: "reportId"))
530
609
  CancelFindingsReportResponse.struct_class = Types::CancelFindingsReportResponse
531
610
 
611
+ CisaData.add_member(:action, Shapes::ShapeRef.new(shape: CisaAction, location_name: "action"))
612
+ CisaData.add_member(:date_added, Shapes::ShapeRef.new(shape: CisaDateAdded, location_name: "dateAdded"))
613
+ CisaData.add_member(:date_due, Shapes::ShapeRef.new(shape: CisaDateDue, location_name: "dateDue"))
614
+ CisaData.struct_class = Types::CisaData
615
+
532
616
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
533
617
  ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
534
618
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
@@ -596,6 +680,14 @@ module Aws::Inspector2
596
680
  CreateFindingsReportResponse.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "reportId"))
597
681
  CreateFindingsReportResponse.struct_class = Types::CreateFindingsReportResponse
598
682
 
683
+ Cvss2.add_member(:base_score, Shapes::ShapeRef.new(shape: Cvss2BaseScore, location_name: "baseScore"))
684
+ Cvss2.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: Cvss2ScoringVector, location_name: "scoringVector"))
685
+ Cvss2.struct_class = Types::Cvss2
686
+
687
+ Cvss3.add_member(:base_score, Shapes::ShapeRef.new(shape: Cvss3BaseScore, location_name: "baseScore"))
688
+ Cvss3.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: Cvss3ScoringVector, location_name: "scoringVector"))
689
+ Cvss3.struct_class = Types::Cvss3
690
+
599
691
  CvssScore.add_member(:base_score, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "baseScore"))
600
692
  CvssScore.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "scoringVector"))
601
693
  CvssScore.add_member(:source, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "source"))
@@ -618,6 +710,8 @@ module Aws::Inspector2
618
710
 
619
711
  CvssScoreList.member = Shapes::ShapeRef.new(shape: CvssScore)
620
712
 
713
+ Cwes.member = Shapes::ShapeRef.new(shape: Cwe)
714
+
621
715
  DateFilter.add_member(:end_inclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endInclusive"))
622
716
  DateFilter.add_member(:start_inclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startInclusive"))
623
717
  DateFilter.struct_class = Types::DateFilter
@@ -651,6 +745,8 @@ module Aws::Inspector2
651
745
  Destination.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "kmsKeyArn"))
652
746
  Destination.struct_class = Types::Destination
653
747
 
748
+ DetectionPlatforms.member = Shapes::ShapeRef.new(shape: NonEmptyString)
749
+
654
750
  DisableDelegatedAdminAccountRequest.add_member(:delegated_admin_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "delegatedAdminAccountId"))
655
751
  DisableDelegatedAdminAccountRequest.struct_class = Types::DisableDelegatedAdminAccountRequest
656
752
 
@@ -731,6 +827,13 @@ module Aws::Inspector2
731
827
  EnableResponse.add_member(:failed_accounts, Shapes::ShapeRef.new(shape: FailedAccountList, location_name: "failedAccounts"))
732
828
  EnableResponse.struct_class = Types::EnableResponse
733
829
 
830
+ Epss.add_member(:score, Shapes::ShapeRef.new(shape: EpssScore, location_name: "score"))
831
+ Epss.struct_class = Types::Epss
832
+
833
+ ExploitObserved.add_member(:first_seen, Shapes::ShapeRef.new(shape: FirstSeen, location_name: "firstSeen"))
834
+ ExploitObserved.add_member(:last_seen, Shapes::ShapeRef.new(shape: LastSeen, location_name: "lastSeen"))
835
+ ExploitObserved.struct_class = Types::ExploitObserved
836
+
734
837
  ExploitabilityDetails.add_member(:last_known_exploit_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, location_name: "lastKnownExploitAt"))
735
838
  ExploitabilityDetails.struct_class = Types::ExploitabilityDetails
736
839
 
@@ -743,6 +846,13 @@ module Aws::Inspector2
743
846
 
744
847
  FailedAccountList.member = Shapes::ShapeRef.new(shape: FailedAccount)
745
848
 
849
+ FailedMemberAccountEc2DeepInspectionStatusState.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
850
+ FailedMemberAccountEc2DeepInspectionStatusState.add_member(:ec2_scan_status, Shapes::ShapeRef.new(shape: Status, location_name: "ec2ScanStatus"))
851
+ FailedMemberAccountEc2DeepInspectionStatusState.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "errorMessage"))
852
+ FailedMemberAccountEc2DeepInspectionStatusState.struct_class = Types::FailedMemberAccountEc2DeepInspectionStatusState
853
+
854
+ FailedMemberAccountEc2DeepInspectionStatusStateList.member = Shapes::ShapeRef.new(shape: FailedMemberAccountEc2DeepInspectionStatusState)
855
+
746
856
  Filter.add_member(:action, Shapes::ShapeRef.new(shape: FilterAction, required: true, location_name: "action"))
747
857
  Filter.add_member(:arn, Shapes::ShapeRef.new(shape: FilterArn, required: true, location_name: "arn"))
748
858
  Filter.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, required: true, location_name: "createdAt"))
@@ -863,6 +973,14 @@ module Aws::Inspector2
863
973
  GetDelegatedAdminAccountResponse.add_member(:delegated_admin, Shapes::ShapeRef.new(shape: DelegatedAdmin, location_name: "delegatedAdmin"))
864
974
  GetDelegatedAdminAccountResponse.struct_class = Types::GetDelegatedAdminAccountResponse
865
975
 
976
+ GetEc2DeepInspectionConfigurationRequest.struct_class = Types::GetEc2DeepInspectionConfigurationRequest
977
+
978
+ GetEc2DeepInspectionConfigurationResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "errorMessage"))
979
+ GetEc2DeepInspectionConfigurationResponse.add_member(:org_package_paths, Shapes::ShapeRef.new(shape: PathList, location_name: "orgPackagePaths"))
980
+ GetEc2DeepInspectionConfigurationResponse.add_member(:package_paths, Shapes::ShapeRef.new(shape: PathList, location_name: "packagePaths"))
981
+ GetEc2DeepInspectionConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: Ec2DeepInspectionStatus, location_name: "status"))
982
+ GetEc2DeepInspectionConfigurationResponse.struct_class = Types::GetEc2DeepInspectionConfigurationResponse
983
+
866
984
  GetFindingsReportStatusRequest.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "reportId"))
867
985
  GetFindingsReportStatusRequest.struct_class = Types::GetFindingsReportStatusRequest
868
986
 
@@ -1058,6 +1176,19 @@ module Aws::Inspector2
1058
1176
  Member.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, location_name: "updatedAt"))
1059
1177
  Member.struct_class = Types::Member
1060
1178
 
1179
+ MemberAccountEc2DeepInspectionStatus.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
1180
+ MemberAccountEc2DeepInspectionStatus.add_member(:activate_deep_inspection, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "activateDeepInspection"))
1181
+ MemberAccountEc2DeepInspectionStatus.struct_class = Types::MemberAccountEc2DeepInspectionStatus
1182
+
1183
+ MemberAccountEc2DeepInspectionStatusList.member = Shapes::ShapeRef.new(shape: MemberAccountEc2DeepInspectionStatus)
1184
+
1185
+ MemberAccountEc2DeepInspectionStatusState.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
1186
+ MemberAccountEc2DeepInspectionStatusState.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "errorMessage"))
1187
+ MemberAccountEc2DeepInspectionStatusState.add_member(:status, Shapes::ShapeRef.new(shape: Ec2DeepInspectionStatus, location_name: "status"))
1188
+ MemberAccountEc2DeepInspectionStatusState.struct_class = Types::MemberAccountEc2DeepInspectionStatusState
1189
+
1190
+ MemberAccountEc2DeepInspectionStatusStateList.member = Shapes::ShapeRef.new(shape: MemberAccountEc2DeepInspectionStatusState)
1191
+
1061
1192
  MemberList.member = Shapes::ShapeRef.new(shape: Member)
1062
1193
 
1063
1194
  NetworkPath.add_member(:steps, Shapes::ShapeRef.new(shape: StepList, location_name: "steps"))
@@ -1109,6 +1240,8 @@ module Aws::Inspector2
1109
1240
  PackageVulnerabilityDetails.add_member(:vulnerable_packages, Shapes::ShapeRef.new(shape: VulnerablePackageList, location_name: "vulnerablePackages"))
1110
1241
  PackageVulnerabilityDetails.struct_class = Types::PackageVulnerabilityDetails
1111
1242
 
1243
+ PathList.member = Shapes::ShapeRef.new(shape: Path)
1244
+
1112
1245
  Permission.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, required: true, location_name: "operation"))
1113
1246
  Permission.add_member(:service, Shapes::ShapeRef.new(shape: Service, required: true, location_name: "service"))
1114
1247
  Permission.struct_class = Types::Permission
@@ -1129,6 +1262,8 @@ module Aws::Inspector2
1129
1262
  Recommendation.add_member(:text, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "text"))
1130
1263
  Recommendation.struct_class = Types::Recommendation
1131
1264
 
1265
+ RelatedVulnerabilities.member = Shapes::ShapeRef.new(shape: RelatedVulnerability)
1266
+
1132
1267
  Remediation.add_member(:recommendation, Shapes::ShapeRef.new(shape: Recommendation, location_name: "recommendation"))
1133
1268
  Remediation.struct_class = Types::Remediation
1134
1269
 
@@ -1181,6 +1316,17 @@ module Aws::Inspector2
1181
1316
  ScanStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: ScanStatusCode, required: true, location_name: "statusCode"))
1182
1317
  ScanStatus.struct_class = Types::ScanStatus
1183
1318
 
1319
+ SearchVulnerabilitiesFilterCriteria.add_member(:vulnerability_ids, Shapes::ShapeRef.new(shape: VulnIdList, required: true, location_name: "vulnerabilityIds"))
1320
+ SearchVulnerabilitiesFilterCriteria.struct_class = Types::SearchVulnerabilitiesFilterCriteria
1321
+
1322
+ SearchVulnerabilitiesRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: SearchVulnerabilitiesFilterCriteria, required: true, location_name: "filterCriteria"))
1323
+ SearchVulnerabilitiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1324
+ SearchVulnerabilitiesRequest.struct_class = Types::SearchVulnerabilitiesRequest
1325
+
1326
+ SearchVulnerabilitiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1327
+ SearchVulnerabilitiesResponse.add_member(:vulnerabilities, Shapes::ShapeRef.new(shape: Vulnerabilities, required: true, location_name: "vulnerabilities"))
1328
+ SearchVulnerabilitiesResponse.struct_class = Types::SearchVulnerabilitiesResponse
1329
+
1184
1330
  SecurityGroupIdList.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
1185
1331
 
1186
1332
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
@@ -1231,6 +1377,8 @@ module Aws::Inspector2
1231
1377
 
1232
1378
  TagResourceResponse.struct_class = Types::TagResourceResponse
1233
1379
 
1380
+ Targets.member = Shapes::ShapeRef.new(shape: Target)
1381
+
1234
1382
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
1235
1383
  ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
1236
1384
  ThrottlingException.struct_class = Types::ThrottlingException
@@ -1248,6 +1396,8 @@ module Aws::Inspector2
1248
1396
  TitleAggregationResponse.add_member(:vulnerability_id, Shapes::ShapeRef.new(shape: String, location_name: "vulnerabilityId"))
1249
1397
  TitleAggregationResponse.struct_class = Types::TitleAggregationResponse
1250
1398
 
1399
+ Ttps.member = Shapes::ShapeRef.new(shape: Ttp)
1400
+
1251
1401
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
1252
1402
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
1253
1403
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -1259,6 +1409,16 @@ module Aws::Inspector2
1259
1409
 
1260
1410
  UpdateConfigurationResponse.struct_class = Types::UpdateConfigurationResponse
1261
1411
 
1412
+ UpdateEc2DeepInspectionConfigurationRequest.add_member(:activate_deep_inspection, Shapes::ShapeRef.new(shape: Boolean, location_name: "activateDeepInspection"))
1413
+ UpdateEc2DeepInspectionConfigurationRequest.add_member(:package_paths, Shapes::ShapeRef.new(shape: PathList, location_name: "packagePaths"))
1414
+ UpdateEc2DeepInspectionConfigurationRequest.struct_class = Types::UpdateEc2DeepInspectionConfigurationRequest
1415
+
1416
+ UpdateEc2DeepInspectionConfigurationResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "errorMessage"))
1417
+ UpdateEc2DeepInspectionConfigurationResponse.add_member(:org_package_paths, Shapes::ShapeRef.new(shape: PathList, location_name: "orgPackagePaths"))
1418
+ UpdateEc2DeepInspectionConfigurationResponse.add_member(:package_paths, Shapes::ShapeRef.new(shape: PathList, location_name: "packagePaths"))
1419
+ UpdateEc2DeepInspectionConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: Ec2DeepInspectionStatus, location_name: "status"))
1420
+ UpdateEc2DeepInspectionConfigurationResponse.struct_class = Types::UpdateEc2DeepInspectionConfigurationResponse
1421
+
1262
1422
  UpdateFilterRequest.add_member(:action, Shapes::ShapeRef.new(shape: FilterAction, location_name: "action"))
1263
1423
  UpdateFilterRequest.add_member(:description, Shapes::ShapeRef.new(shape: FilterDescription, location_name: "description"))
1264
1424
  UpdateFilterRequest.add_member(:filter_arn, Shapes::ShapeRef.new(shape: FilterArn, required: true, location_name: "filterArn"))
@@ -1270,6 +1430,11 @@ module Aws::Inspector2
1270
1430
  UpdateFilterResponse.add_member(:arn, Shapes::ShapeRef.new(shape: FilterArn, required: true, location_name: "arn"))
1271
1431
  UpdateFilterResponse.struct_class = Types::UpdateFilterResponse
1272
1432
 
1433
+ UpdateOrgEc2DeepInspectionConfigurationRequest.add_member(:org_package_paths, Shapes::ShapeRef.new(shape: PathList, required: true, location_name: "orgPackagePaths"))
1434
+ UpdateOrgEc2DeepInspectionConfigurationRequest.struct_class = Types::UpdateOrgEc2DeepInspectionConfigurationRequest
1435
+
1436
+ UpdateOrgEc2DeepInspectionConfigurationResponse.struct_class = Types::UpdateOrgEc2DeepInspectionConfigurationResponse
1437
+
1273
1438
  UpdateOrganizationConfigurationRequest.add_member(:auto_enable, Shapes::ShapeRef.new(shape: AutoEnable, required: true, location_name: "autoEnable"))
1274
1439
  UpdateOrganizationConfigurationRequest.struct_class = Types::UpdateOrganizationConfigurationRequest
1275
1440
 
@@ -1303,8 +1468,33 @@ module Aws::Inspector2
1303
1468
 
1304
1469
  ValidationExceptionFields.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
1305
1470
 
1471
+ VulnIdList.member = Shapes::ShapeRef.new(shape: VulnId)
1472
+
1473
+ Vulnerabilities.member = Shapes::ShapeRef.new(shape: Vulnerability)
1474
+
1475
+ Vulnerability.add_member(:atig_data, Shapes::ShapeRef.new(shape: AtigData, location_name: "atigData"))
1476
+ Vulnerability.add_member(:cisa_data, Shapes::ShapeRef.new(shape: CisaData, location_name: "cisaData"))
1477
+ Vulnerability.add_member(:cvss2, Shapes::ShapeRef.new(shape: Cvss2, location_name: "cvss2"))
1478
+ Vulnerability.add_member(:cvss3, Shapes::ShapeRef.new(shape: Cvss3, location_name: "cvss3"))
1479
+ Vulnerability.add_member(:cwes, Shapes::ShapeRef.new(shape: Cwes, location_name: "cwes"))
1480
+ Vulnerability.add_member(:description, Shapes::ShapeRef.new(shape: VulnerabilityDescription, location_name: "description"))
1481
+ Vulnerability.add_member(:detection_platforms, Shapes::ShapeRef.new(shape: DetectionPlatforms, location_name: "detectionPlatforms"))
1482
+ Vulnerability.add_member(:epss, Shapes::ShapeRef.new(shape: Epss, location_name: "epss"))
1483
+ Vulnerability.add_member(:exploit_observed, Shapes::ShapeRef.new(shape: ExploitObserved, location_name: "exploitObserved"))
1484
+ Vulnerability.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "id"))
1485
+ Vulnerability.add_member(:reference_urls, Shapes::ShapeRef.new(shape: VulnerabilityReferenceUrls, location_name: "referenceUrls"))
1486
+ Vulnerability.add_member(:related_vulnerabilities, Shapes::ShapeRef.new(shape: RelatedVulnerabilities, location_name: "relatedVulnerabilities"))
1487
+ Vulnerability.add_member(:source, Shapes::ShapeRef.new(shape: VulnerabilitySource, location_name: "source"))
1488
+ Vulnerability.add_member(:source_url, Shapes::ShapeRef.new(shape: VulnerabilitySourceUrl, location_name: "sourceUrl"))
1489
+ Vulnerability.add_member(:vendor_created_at, Shapes::ShapeRef.new(shape: VendorCreatedAt, location_name: "vendorCreatedAt"))
1490
+ Vulnerability.add_member(:vendor_severity, Shapes::ShapeRef.new(shape: VendorSeverity, location_name: "vendorSeverity"))
1491
+ Vulnerability.add_member(:vendor_updated_at, Shapes::ShapeRef.new(shape: VendorUpdatedAt, location_name: "vendorUpdatedAt"))
1492
+ Vulnerability.struct_class = Types::Vulnerability
1493
+
1306
1494
  VulnerabilityIdList.member = Shapes::ShapeRef.new(shape: VulnerabilityId)
1307
1495
 
1496
+ VulnerabilityReferenceUrls.member = Shapes::ShapeRef.new(shape: VulnerabilityReferenceUrl)
1497
+
1308
1498
  VulnerablePackage.add_member(:arch, Shapes::ShapeRef.new(shape: PackageArchitecture, location_name: "arch"))
1309
1499
  VulnerablePackage.add_member(:epoch, Shapes::ShapeRef.new(shape: PackageEpoch, location_name: "epoch"))
1310
1500
  VulnerablePackage.add_member(:file_path, Shapes::ShapeRef.new(shape: FilePath, location_name: "filePath"))
@@ -1376,6 +1566,30 @@ module Aws::Inspector2
1376
1566
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1377
1567
  end)
1378
1568
 
1569
+ api.add_operation(:batch_get_member_ec2_deep_inspection_status, Seahorse::Model::Operation.new.tap do |o|
1570
+ o.name = "BatchGetMemberEc2DeepInspectionStatus"
1571
+ o.http_method = "POST"
1572
+ o.http_request_uri = "/ec2deepinspectionstatus/member/batch/get"
1573
+ o.input = Shapes::ShapeRef.new(shape: BatchGetMemberEc2DeepInspectionStatusRequest)
1574
+ o.output = Shapes::ShapeRef.new(shape: BatchGetMemberEc2DeepInspectionStatusResponse)
1575
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1576
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1577
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1578
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1579
+ end)
1580
+
1581
+ api.add_operation(:batch_update_member_ec2_deep_inspection_status, Seahorse::Model::Operation.new.tap do |o|
1582
+ o.name = "BatchUpdateMemberEc2DeepInspectionStatus"
1583
+ o.http_method = "POST"
1584
+ o.http_request_uri = "/ec2deepinspectionstatus/member/batch/update"
1585
+ o.input = Shapes::ShapeRef.new(shape: BatchUpdateMemberEc2DeepInspectionStatusRequest)
1586
+ o.output = Shapes::ShapeRef.new(shape: BatchUpdateMemberEc2DeepInspectionStatusResponse)
1587
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1588
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1589
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1590
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1591
+ end)
1592
+
1379
1593
  api.add_operation(:cancel_findings_report, Seahorse::Model::Operation.new.tap do |o|
1380
1594
  o.name = "CancelFindingsReport"
1381
1595
  o.http_method = "POST"
@@ -1531,6 +1745,18 @@ module Aws::Inspector2
1531
1745
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1532
1746
  end)
1533
1747
 
1748
+ api.add_operation(:get_ec2_deep_inspection_configuration, Seahorse::Model::Operation.new.tap do |o|
1749
+ o.name = "GetEc2DeepInspectionConfiguration"
1750
+ o.http_method = "POST"
1751
+ o.http_request_uri = "/ec2deepinspectionconfiguration/get"
1752
+ o.input = Shapes::ShapeRef.new(shape: GetEc2DeepInspectionConfigurationRequest)
1753
+ o.output = Shapes::ShapeRef.new(shape: GetEc2DeepInspectionConfigurationResponse)
1754
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1755
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1756
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1757
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1758
+ end)
1759
+
1534
1760
  api.add_operation(:get_findings_report_status, Seahorse::Model::Operation.new.tap do |o|
1535
1761
  o.name = "GetFindingsReportStatus"
1536
1762
  o.http_method = "POST"
@@ -1726,6 +1952,23 @@ module Aws::Inspector2
1726
1952
  )
1727
1953
  end)
1728
1954
 
1955
+ api.add_operation(:search_vulnerabilities, Seahorse::Model::Operation.new.tap do |o|
1956
+ o.name = "SearchVulnerabilities"
1957
+ o.http_method = "POST"
1958
+ o.http_request_uri = "/vulnerabilities/search"
1959
+ o.input = Shapes::ShapeRef.new(shape: SearchVulnerabilitiesRequest)
1960
+ o.output = Shapes::ShapeRef.new(shape: SearchVulnerabilitiesResponse)
1961
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1962
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1963
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1964
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1965
+ o[:pager] = Aws::Pager.new(
1966
+ tokens: {
1967
+ "next_token" => "next_token"
1968
+ }
1969
+ )
1970
+ end)
1971
+
1729
1972
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1730
1973
  o.name = "TagResource"
1731
1974
  o.http_method = "POST"
@@ -1763,6 +2006,18 @@ module Aws::Inspector2
1763
2006
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1764
2007
  end)
1765
2008
 
2009
+ api.add_operation(:update_ec2_deep_inspection_configuration, Seahorse::Model::Operation.new.tap do |o|
2010
+ o.name = "UpdateEc2DeepInspectionConfiguration"
2011
+ o.http_method = "POST"
2012
+ o.http_request_uri = "/ec2deepinspectionconfiguration/update"
2013
+ o.input = Shapes::ShapeRef.new(shape: UpdateEc2DeepInspectionConfigurationRequest)
2014
+ o.output = Shapes::ShapeRef.new(shape: UpdateEc2DeepInspectionConfigurationResponse)
2015
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2016
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2017
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2018
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2019
+ end)
2020
+
1766
2021
  api.add_operation(:update_filter, Seahorse::Model::Operation.new.tap do |o|
1767
2022
  o.name = "UpdateFilter"
1768
2023
  o.http_method = "POST"
@@ -1776,6 +2031,18 @@ module Aws::Inspector2
1776
2031
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1777
2032
  end)
1778
2033
 
2034
+ api.add_operation(:update_org_ec2_deep_inspection_configuration, Seahorse::Model::Operation.new.tap do |o|
2035
+ o.name = "UpdateOrgEc2DeepInspectionConfiguration"
2036
+ o.http_method = "POST"
2037
+ o.http_request_uri = "/ec2deepinspectionconfiguration/org/update"
2038
+ o.input = Shapes::ShapeRef.new(shape: UpdateOrgEc2DeepInspectionConfigurationRequest)
2039
+ o.output = Shapes::ShapeRef.new(shape: UpdateOrgEc2DeepInspectionConfigurationResponse)
2040
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2041
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2042
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2043
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2044
+ end)
2045
+
1779
2046
  api.add_operation(:update_organization_configuration, Seahorse::Model::Operation.new.tap do |o|
1780
2047
  o.name = "UpdateOrganizationConfiguration"
1781
2048
  o.http_method = "POST"
@@ -50,9 +50,6 @@ module Aws::Inspector2
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::Inspector2
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://inspector2-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://inspector2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://inspector2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://inspector2-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://inspector2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://inspector2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://inspector2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://inspector2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end