aws-sdk-securityagent 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,12 +44,20 @@ module Aws::SecurityAgent
44
44
  AuthCode = Shapes::StringShape.new(name: 'AuthCode')
45
45
  Authentication = Shapes::StructureShape.new(name: 'Authentication')
46
46
  AuthenticationProviderType = Shapes::StringShape.new(name: 'AuthenticationProviderType')
47
+ BatchDeleteCodeReviewsInput = Shapes::StructureShape.new(name: 'BatchDeleteCodeReviewsInput')
48
+ BatchDeleteCodeReviewsOutput = Shapes::StructureShape.new(name: 'BatchDeleteCodeReviewsOutput')
47
49
  BatchDeletePentestsInput = Shapes::StructureShape.new(name: 'BatchDeletePentestsInput')
48
50
  BatchDeletePentestsOutput = Shapes::StructureShape.new(name: 'BatchDeletePentestsOutput')
49
51
  BatchGetAgentSpacesInput = Shapes::StructureShape.new(name: 'BatchGetAgentSpacesInput')
50
52
  BatchGetAgentSpacesOutput = Shapes::StructureShape.new(name: 'BatchGetAgentSpacesOutput')
51
53
  BatchGetArtifactMetadataInput = Shapes::StructureShape.new(name: 'BatchGetArtifactMetadataInput')
52
54
  BatchGetArtifactMetadataOutput = Shapes::StructureShape.new(name: 'BatchGetArtifactMetadataOutput')
55
+ BatchGetCodeReviewJobTasksInput = Shapes::StructureShape.new(name: 'BatchGetCodeReviewJobTasksInput')
56
+ BatchGetCodeReviewJobTasksOutput = Shapes::StructureShape.new(name: 'BatchGetCodeReviewJobTasksOutput')
57
+ BatchGetCodeReviewJobsInput = Shapes::StructureShape.new(name: 'BatchGetCodeReviewJobsInput')
58
+ BatchGetCodeReviewJobsOutput = Shapes::StructureShape.new(name: 'BatchGetCodeReviewJobsOutput')
59
+ BatchGetCodeReviewsInput = Shapes::StructureShape.new(name: 'BatchGetCodeReviewsInput')
60
+ BatchGetCodeReviewsOutput = Shapes::StructureShape.new(name: 'BatchGetCodeReviewsOutput')
53
61
  BatchGetFindingsInput = Shapes::StructureShape.new(name: 'BatchGetFindingsInput')
54
62
  BatchGetFindingsOutput = Shapes::StructureShape.new(name: 'BatchGetFindingsOutput')
55
63
  BatchGetPentestJobTasksInput = Shapes::StructureShape.new(name: 'BatchGetPentestJobTasksInput')
@@ -65,12 +73,28 @@ module Aws::SecurityAgent
65
73
  Category = Shapes::StructureShape.new(name: 'Category')
66
74
  CategoryList = Shapes::ListShape.new(name: 'CategoryList')
67
75
  CloudWatchLog = Shapes::StructureShape.new(name: 'CloudWatchLog')
76
+ CodeLocation = Shapes::StructureShape.new(name: 'CodeLocation')
77
+ CodeLocationList = Shapes::ListShape.new(name: 'CodeLocationList')
68
78
  CodeRemediationStrategy = Shapes::StringShape.new(name: 'CodeRemediationStrategy')
69
79
  CodeRemediationTask = Shapes::StructureShape.new(name: 'CodeRemediationTask')
70
80
  CodeRemediationTaskDetails = Shapes::StructureShape.new(name: 'CodeRemediationTaskDetails')
71
81
  CodeRemediationTaskDetailsList = Shapes::ListShape.new(name: 'CodeRemediationTaskDetailsList')
72
82
  CodeRemediationTaskStatus = Shapes::StringShape.new(name: 'CodeRemediationTaskStatus')
83
+ CodeReview = Shapes::StructureShape.new(name: 'CodeReview')
84
+ CodeReviewIdList = Shapes::ListShape.new(name: 'CodeReviewIdList')
85
+ CodeReviewJob = Shapes::StructureShape.new(name: 'CodeReviewJob')
86
+ CodeReviewJobIdList = Shapes::ListShape.new(name: 'CodeReviewJobIdList')
87
+ CodeReviewJobList = Shapes::ListShape.new(name: 'CodeReviewJobList')
88
+ CodeReviewJobSummary = Shapes::StructureShape.new(name: 'CodeReviewJobSummary')
89
+ CodeReviewJobSummaryList = Shapes::ListShape.new(name: 'CodeReviewJobSummaryList')
90
+ CodeReviewJobTask = Shapes::StructureShape.new(name: 'CodeReviewJobTask')
91
+ CodeReviewJobTaskList = Shapes::ListShape.new(name: 'CodeReviewJobTaskList')
92
+ CodeReviewJobTaskSummary = Shapes::StructureShape.new(name: 'CodeReviewJobTaskSummary')
93
+ CodeReviewJobTaskSummaryList = Shapes::ListShape.new(name: 'CodeReviewJobTaskSummaryList')
94
+ CodeReviewList = Shapes::ListShape.new(name: 'CodeReviewList')
73
95
  CodeReviewSettings = Shapes::StructureShape.new(name: 'CodeReviewSettings')
96
+ CodeReviewSummary = Shapes::StructureShape.new(name: 'CodeReviewSummary')
97
+ CodeReviewSummaryList = Shapes::ListShape.new(name: 'CodeReviewSummaryList')
74
98
  ConfidenceLevel = Shapes::StringShape.new(name: 'ConfidenceLevel')
75
99
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
76
100
  ContextType = Shapes::StringShape.new(name: 'ContextType')
@@ -78,6 +102,8 @@ module Aws::SecurityAgent
78
102
  CreateAgentSpaceOutput = Shapes::StructureShape.new(name: 'CreateAgentSpaceOutput')
79
103
  CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
80
104
  CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
105
+ CreateCodeReviewInput = Shapes::StructureShape.new(name: 'CreateCodeReviewInput')
106
+ CreateCodeReviewOutput = Shapes::StructureShape.new(name: 'CreateCodeReviewOutput')
81
107
  CreateIntegrationInput = Shapes::StructureShape.new(name: 'CreateIntegrationInput')
82
108
  CreateIntegrationOutput = Shapes::StructureShape.new(name: 'CreateIntegrationOutput')
83
109
  CreateMembershipRequest = Shapes::StructureShape.new(name: 'CreateMembershipRequest')
@@ -96,6 +122,8 @@ module Aws::SecurityAgent
96
122
  DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
97
123
  DeleteArtifactInput = Shapes::StructureShape.new(name: 'DeleteArtifactInput')
98
124
  DeleteArtifactOutput = Shapes::StructureShape.new(name: 'DeleteArtifactOutput')
125
+ DeleteCodeReviewFailure = Shapes::StructureShape.new(name: 'DeleteCodeReviewFailure')
126
+ DeleteCodeReviewFailureList = Shapes::ListShape.new(name: 'DeleteCodeReviewFailureList')
99
127
  DeleteIntegrationInput = Shapes::StructureShape.new(name: 'DeleteIntegrationInput')
100
128
  DeleteIntegrationOutput = Shapes::StructureShape.new(name: 'DeleteIntegrationOutput')
101
129
  DeleteMembershipRequest = Shapes::StructureShape.new(name: 'DeleteMembershipRequest')
@@ -140,6 +168,7 @@ module Aws::SecurityAgent
140
168
  IdCInstanceArn = Shapes::StringShape.new(name: 'IdCInstanceArn')
141
169
  InitiateProviderRegistrationInput = Shapes::StructureShape.new(name: 'InitiateProviderRegistrationInput')
142
170
  InitiateProviderRegistrationOutput = Shapes::StructureShape.new(name: 'InitiateProviderRegistrationOutput')
171
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
143
172
  IntegratedRepository = Shapes::StructureShape.new(name: 'IntegratedRepository')
144
173
  IntegratedRepositoryList = Shapes::ListShape.new(name: 'IntegratedRepositoryList')
145
174
  IntegratedResource = Shapes::UnionShape.new(name: 'IntegratedResource')
@@ -163,6 +192,12 @@ module Aws::SecurityAgent
163
192
  ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
164
193
  ListArtifactsInput = Shapes::StructureShape.new(name: 'ListArtifactsInput')
165
194
  ListArtifactsOutput = Shapes::StructureShape.new(name: 'ListArtifactsOutput')
195
+ ListCodeReviewJobTasksInput = Shapes::StructureShape.new(name: 'ListCodeReviewJobTasksInput')
196
+ ListCodeReviewJobTasksOutput = Shapes::StructureShape.new(name: 'ListCodeReviewJobTasksOutput')
197
+ ListCodeReviewJobsForCodeReviewInput = Shapes::StructureShape.new(name: 'ListCodeReviewJobsForCodeReviewInput')
198
+ ListCodeReviewJobsForCodeReviewOutput = Shapes::StructureShape.new(name: 'ListCodeReviewJobsForCodeReviewOutput')
199
+ ListCodeReviewsInput = Shapes::StructureShape.new(name: 'ListCodeReviewsInput')
200
+ ListCodeReviewsOutput = Shapes::StructureShape.new(name: 'ListCodeReviewsOutput')
166
201
  ListDiscoveredEndpointsInput = Shapes::StructureShape.new(name: 'ListDiscoveredEndpointsInput')
167
202
  ListDiscoveredEndpointsOutput = Shapes::StructureShape.new(name: 'ListDiscoveredEndpointsOutput')
168
203
  ListFindingsInput = Shapes::StructureShape.new(name: 'ListFindingsInput')
@@ -237,12 +272,16 @@ module Aws::SecurityAgent
237
272
  SourceCodeRepositoryList = Shapes::ListShape.new(name: 'SourceCodeRepositoryList')
238
273
  StartCodeRemediationInput = Shapes::StructureShape.new(name: 'StartCodeRemediationInput')
239
274
  StartCodeRemediationOutput = Shapes::StructureShape.new(name: 'StartCodeRemediationOutput')
275
+ StartCodeReviewJobInput = Shapes::StructureShape.new(name: 'StartCodeReviewJobInput')
276
+ StartCodeReviewJobOutput = Shapes::StructureShape.new(name: 'StartCodeReviewJobOutput')
240
277
  StartPentestJobInput = Shapes::StructureShape.new(name: 'StartPentestJobInput')
241
278
  StartPentestJobOutput = Shapes::StructureShape.new(name: 'StartPentestJobOutput')
242
279
  Step = Shapes::StructureShape.new(name: 'Step')
243
280
  StepList = Shapes::ListShape.new(name: 'StepList')
244
281
  StepName = Shapes::StringShape.new(name: 'StepName')
245
282
  StepStatus = Shapes::StringShape.new(name: 'StepStatus')
283
+ StopCodeReviewJobInput = Shapes::StructureShape.new(name: 'StopCodeReviewJobInput')
284
+ StopCodeReviewJobOutput = Shapes::StructureShape.new(name: 'StopCodeReviewJobOutput')
246
285
  StopPentestJobInput = Shapes::StructureShape.new(name: 'StopPentestJobInput')
247
286
  StopPentestJobOutput = Shapes::StructureShape.new(name: 'StopPentestJobOutput')
248
287
  String = Shapes::StringShape.new(name: 'String')
@@ -275,6 +314,8 @@ module Aws::SecurityAgent
275
314
  UpdateAgentSpaceOutput = Shapes::StructureShape.new(name: 'UpdateAgentSpaceOutput')
276
315
  UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
277
316
  UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
317
+ UpdateCodeReviewInput = Shapes::StructureShape.new(name: 'UpdateCodeReviewInput')
318
+ UpdateCodeReviewOutput = Shapes::StructureShape.new(name: 'UpdateCodeReviewOutput')
278
319
  UpdateFindingInput = Shapes::StructureShape.new(name: 'UpdateFindingInput')
279
320
  UpdateFindingOutput = Shapes::StructureShape.new(name: 'UpdateFindingOutput')
280
321
  UpdateIntegratedResourcesInput = Shapes::StructureShape.new(name: 'UpdateIntegratedResourcesInput')
@@ -388,6 +429,14 @@ module Aws::SecurityAgent
388
429
  Authentication.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
389
430
  Authentication.struct_class = Types::Authentication
390
431
 
432
+ BatchDeleteCodeReviewsInput.add_member(:code_review_ids, Shapes::ShapeRef.new(shape: CodeReviewIdList, required: true, location_name: "codeReviewIds"))
433
+ BatchDeleteCodeReviewsInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
434
+ BatchDeleteCodeReviewsInput.struct_class = Types::BatchDeleteCodeReviewsInput
435
+
436
+ BatchDeleteCodeReviewsOutput.add_member(:deleted, Shapes::ShapeRef.new(shape: CodeReviewIdList, location_name: "deleted"))
437
+ BatchDeleteCodeReviewsOutput.add_member(:failed, Shapes::ShapeRef.new(shape: DeleteCodeReviewFailureList, location_name: "failed"))
438
+ BatchDeleteCodeReviewsOutput.struct_class = Types::BatchDeleteCodeReviewsOutput
439
+
391
440
  BatchDeletePentestsInput.add_member(:pentest_ids, Shapes::ShapeRef.new(shape: PentestIdList, required: true, location_name: "pentestIds"))
392
441
  BatchDeletePentestsInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
393
442
  BatchDeletePentestsInput.struct_class = Types::BatchDeletePentestsInput
@@ -410,6 +459,30 @@ module Aws::SecurityAgent
410
459
  BatchGetArtifactMetadataOutput.add_member(:artifact_metadata_list, Shapes::ShapeRef.new(shape: ArtifactMetadataList, required: true, location_name: "artifactMetadataList"))
411
460
  BatchGetArtifactMetadataOutput.struct_class = Types::BatchGetArtifactMetadataOutput
412
461
 
462
+ BatchGetCodeReviewJobTasksInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
463
+ BatchGetCodeReviewJobTasksInput.add_member(:code_review_job_task_ids, Shapes::ShapeRef.new(shape: TaskIdList, required: true, location_name: "codeReviewJobTaskIds"))
464
+ BatchGetCodeReviewJobTasksInput.struct_class = Types::BatchGetCodeReviewJobTasksInput
465
+
466
+ BatchGetCodeReviewJobTasksOutput.add_member(:code_review_job_tasks, Shapes::ShapeRef.new(shape: CodeReviewJobTaskList, location_name: "codeReviewJobTasks"))
467
+ BatchGetCodeReviewJobTasksOutput.add_member(:not_found, Shapes::ShapeRef.new(shape: TaskIdList, location_name: "notFound"))
468
+ BatchGetCodeReviewJobTasksOutput.struct_class = Types::BatchGetCodeReviewJobTasksOutput
469
+
470
+ BatchGetCodeReviewJobsInput.add_member(:code_review_job_ids, Shapes::ShapeRef.new(shape: CodeReviewJobIdList, required: true, location_name: "codeReviewJobIds"))
471
+ BatchGetCodeReviewJobsInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
472
+ BatchGetCodeReviewJobsInput.struct_class = Types::BatchGetCodeReviewJobsInput
473
+
474
+ BatchGetCodeReviewJobsOutput.add_member(:code_review_jobs, Shapes::ShapeRef.new(shape: CodeReviewJobList, location_name: "codeReviewJobs"))
475
+ BatchGetCodeReviewJobsOutput.add_member(:not_found, Shapes::ShapeRef.new(shape: CodeReviewJobIdList, location_name: "notFound"))
476
+ BatchGetCodeReviewJobsOutput.struct_class = Types::BatchGetCodeReviewJobsOutput
477
+
478
+ BatchGetCodeReviewsInput.add_member(:code_review_ids, Shapes::ShapeRef.new(shape: CodeReviewIdList, required: true, location_name: "codeReviewIds"))
479
+ BatchGetCodeReviewsInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
480
+ BatchGetCodeReviewsInput.struct_class = Types::BatchGetCodeReviewsInput
481
+
482
+ BatchGetCodeReviewsOutput.add_member(:code_reviews, Shapes::ShapeRef.new(shape: CodeReviewList, location_name: "codeReviews"))
483
+ BatchGetCodeReviewsOutput.add_member(:not_found, Shapes::ShapeRef.new(shape: CodeReviewIdList, location_name: "notFound"))
484
+ BatchGetCodeReviewsOutput.struct_class = Types::BatchGetCodeReviewsOutput
485
+
413
486
  BatchGetFindingsInput.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIdList, required: true, location_name: "findingIds"))
414
487
  BatchGetFindingsInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
415
488
  BatchGetFindingsInput.struct_class = Types::BatchGetFindingsInput
@@ -459,6 +532,14 @@ module Aws::SecurityAgent
459
532
  CloudWatchLog.add_member(:log_stream, Shapes::ShapeRef.new(shape: String, location_name: "logStream"))
460
533
  CloudWatchLog.struct_class = Types::CloudWatchLog
461
534
 
535
+ CodeLocation.add_member(:file_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "filePath"))
536
+ CodeLocation.add_member(:line_start, Shapes::ShapeRef.new(shape: Integer, location_name: "lineStart"))
537
+ CodeLocation.add_member(:line_end, Shapes::ShapeRef.new(shape: Integer, location_name: "lineEnd"))
538
+ CodeLocation.add_member(:label, Shapes::ShapeRef.new(shape: String, location_name: "label"))
539
+ CodeLocation.struct_class = Types::CodeLocation
540
+
541
+ CodeLocationList.member = Shapes::ShapeRef.new(shape: CodeLocation)
542
+
462
543
  CodeRemediationTask.add_member(:status, Shapes::ShapeRef.new(shape: CodeRemediationTaskStatus, required: true, location_name: "status"))
463
544
  CodeRemediationTask.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
464
545
  CodeRemediationTask.add_member(:task_details, Shapes::ShapeRef.new(shape: CodeRemediationTaskDetailsList, location_name: "taskDetails"))
@@ -471,10 +552,95 @@ module Aws::SecurityAgent
471
552
 
472
553
  CodeRemediationTaskDetailsList.member = Shapes::ShapeRef.new(shape: CodeRemediationTaskDetails)
473
554
 
555
+ CodeReview.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewId"))
556
+ CodeReview.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
557
+ CodeReview.add_member(:title, Shapes::ShapeRef.new(shape: String, required: true, location_name: "title"))
558
+ CodeReview.add_member(:assets, Shapes::ShapeRef.new(shape: Assets, required: true, location_name: "assets"))
559
+ CodeReview.add_member(:service_role, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "serviceRole"))
560
+ CodeReview.add_member(:log_config, Shapes::ShapeRef.new(shape: CloudWatchLog, location_name: "logConfig"))
561
+ CodeReview.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
562
+ CodeReview.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
563
+ CodeReview.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
564
+ CodeReview.struct_class = Types::CodeReview
565
+
566
+ CodeReviewIdList.member = Shapes::ShapeRef.new(shape: String)
567
+
568
+ CodeReviewJob.add_member(:code_review_job_id, Shapes::ShapeRef.new(shape: String, location_name: "codeReviewJobId"))
569
+ CodeReviewJob.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, location_name: "codeReviewId"))
570
+ CodeReviewJob.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
571
+ CodeReviewJob.add_member(:overview, Shapes::ShapeRef.new(shape: String, location_name: "overview"))
572
+ CodeReviewJob.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "status"))
573
+ CodeReviewJob.add_member(:documents, Shapes::ShapeRef.new(shape: DocumentList, location_name: "documents"))
574
+ CodeReviewJob.add_member(:source_code, Shapes::ShapeRef.new(shape: SourceCodeRepositoryList, location_name: "sourceCode"))
575
+ CodeReviewJob.add_member(:steps, Shapes::ShapeRef.new(shape: StepList, location_name: "steps"))
576
+ CodeReviewJob.add_member(:execution_context, Shapes::ShapeRef.new(shape: ExecutionContextList, location_name: "executionContext"))
577
+ CodeReviewJob.add_member(:service_role, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "serviceRole"))
578
+ CodeReviewJob.add_member(:log_config, Shapes::ShapeRef.new(shape: CloudWatchLog, location_name: "logConfig"))
579
+ CodeReviewJob.add_member(:error_information, Shapes::ShapeRef.new(shape: ErrorInformation, location_name: "errorInformation"))
580
+ CodeReviewJob.add_member(:integrated_repositories, Shapes::ShapeRef.new(shape: IntegratedRepositoryList, location_name: "integratedRepositories"))
581
+ CodeReviewJob.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
582
+ CodeReviewJob.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
583
+ CodeReviewJob.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
584
+ CodeReviewJob.struct_class = Types::CodeReviewJob
585
+
586
+ CodeReviewJobIdList.member = Shapes::ShapeRef.new(shape: String)
587
+
588
+ CodeReviewJobList.member = Shapes::ShapeRef.new(shape: CodeReviewJob)
589
+
590
+ CodeReviewJobSummary.add_member(:code_review_job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewJobId"))
591
+ CodeReviewJobSummary.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewId"))
592
+ CodeReviewJobSummary.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
593
+ CodeReviewJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "status"))
594
+ CodeReviewJobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
595
+ CodeReviewJobSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
596
+ CodeReviewJobSummary.struct_class = Types::CodeReviewJobSummary
597
+
598
+ CodeReviewJobSummaryList.member = Shapes::ShapeRef.new(shape: CodeReviewJobSummary)
599
+
600
+ CodeReviewJobTask.add_member(:task_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskId"))
601
+ CodeReviewJobTask.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, location_name: "codeReviewId"))
602
+ CodeReviewJobTask.add_member(:code_review_job_id, Shapes::ShapeRef.new(shape: String, location_name: "codeReviewJobId"))
603
+ CodeReviewJobTask.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
604
+ CodeReviewJobTask.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
605
+ CodeReviewJobTask.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
606
+ CodeReviewJobTask.add_member(:categories, Shapes::ShapeRef.new(shape: CategoryList, location_name: "categories"))
607
+ CodeReviewJobTask.add_member(:risk_type, Shapes::ShapeRef.new(shape: RiskType, location_name: "riskType"))
608
+ CodeReviewJobTask.add_member(:execution_status, Shapes::ShapeRef.new(shape: TaskExecutionStatus, location_name: "executionStatus"))
609
+ CodeReviewJobTask.add_member(:logs_location, Shapes::ShapeRef.new(shape: LogLocation, location_name: "logsLocation"))
610
+ CodeReviewJobTask.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
611
+ CodeReviewJobTask.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
612
+ CodeReviewJobTask.struct_class = Types::CodeReviewJobTask
613
+
614
+ CodeReviewJobTaskList.member = Shapes::ShapeRef.new(shape: CodeReviewJobTask)
615
+
616
+ CodeReviewJobTaskSummary.add_member(:task_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskId"))
617
+ CodeReviewJobTaskSummary.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, location_name: "codeReviewId"))
618
+ CodeReviewJobTaskSummary.add_member(:code_review_job_id, Shapes::ShapeRef.new(shape: String, location_name: "codeReviewJobId"))
619
+ CodeReviewJobTaskSummary.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
620
+ CodeReviewJobTaskSummary.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
621
+ CodeReviewJobTaskSummary.add_member(:risk_type, Shapes::ShapeRef.new(shape: RiskType, location_name: "riskType"))
622
+ CodeReviewJobTaskSummary.add_member(:execution_status, Shapes::ShapeRef.new(shape: TaskExecutionStatus, location_name: "executionStatus"))
623
+ CodeReviewJobTaskSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
624
+ CodeReviewJobTaskSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
625
+ CodeReviewJobTaskSummary.struct_class = Types::CodeReviewJobTaskSummary
626
+
627
+ CodeReviewJobTaskSummaryList.member = Shapes::ShapeRef.new(shape: CodeReviewJobTaskSummary)
628
+
629
+ CodeReviewList.member = Shapes::ShapeRef.new(shape: CodeReview)
630
+
474
631
  CodeReviewSettings.add_member(:controls_scanning, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "controlsScanning"))
475
632
  CodeReviewSettings.add_member(:general_purpose_scanning, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "generalPurposeScanning"))
476
633
  CodeReviewSettings.struct_class = Types::CodeReviewSettings
477
634
 
635
+ CodeReviewSummary.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewId"))
636
+ CodeReviewSummary.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
637
+ CodeReviewSummary.add_member(:title, Shapes::ShapeRef.new(shape: String, required: true, location_name: "title"))
638
+ CodeReviewSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
639
+ CodeReviewSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
640
+ CodeReviewSummary.struct_class = Types::CodeReviewSummary
641
+
642
+ CodeReviewSummaryList.member = Shapes::ShapeRef.new(shape: CodeReviewSummary)
643
+
478
644
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
479
645
  ConflictException.struct_class = Types::ConflictException
480
646
 
@@ -507,6 +673,25 @@ module Aws::SecurityAgent
507
673
  CreateApplicationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
508
674
  CreateApplicationResponse.struct_class = Types::CreateApplicationResponse
509
675
 
676
+ CreateCodeReviewInput.add_member(:title, Shapes::ShapeRef.new(shape: String, required: true, location_name: "title"))
677
+ CreateCodeReviewInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
678
+ CreateCodeReviewInput.add_member(:assets, Shapes::ShapeRef.new(shape: Assets, required: true, location_name: "assets"))
679
+ CreateCodeReviewInput.add_member(:service_role, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "serviceRole"))
680
+ CreateCodeReviewInput.add_member(:log_config, Shapes::ShapeRef.new(shape: CloudWatchLog, location_name: "logConfig"))
681
+ CreateCodeReviewInput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
682
+ CreateCodeReviewInput.struct_class = Types::CreateCodeReviewInput
683
+
684
+ CreateCodeReviewOutput.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewId"))
685
+ CreateCodeReviewOutput.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
686
+ CreateCodeReviewOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
687
+ CreateCodeReviewOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
688
+ CreateCodeReviewOutput.add_member(:assets, Shapes::ShapeRef.new(shape: Assets, location_name: "assets"))
689
+ CreateCodeReviewOutput.add_member(:service_role, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "serviceRole"))
690
+ CreateCodeReviewOutput.add_member(:log_config, Shapes::ShapeRef.new(shape: CloudWatchLog, location_name: "logConfig"))
691
+ CreateCodeReviewOutput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
692
+ CreateCodeReviewOutput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
693
+ CreateCodeReviewOutput.struct_class = Types::CreateCodeReviewOutput
694
+
510
695
  CreateIntegrationInput.add_member(:provider, Shapes::ShapeRef.new(shape: Provider, required: true, location_name: "provider"))
511
696
  CreateIntegrationInput.add_member(:input, Shapes::ShapeRef.new(shape: ProviderInput, required: true, location_name: "input"))
512
697
  CreateIntegrationInput.add_member(:integration_display_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "integrationDisplayName"))
@@ -556,6 +741,7 @@ module Aws::SecurityAgent
556
741
  CreateTargetDomainOutput.add_member(:target_domain_id, Shapes::ShapeRef.new(shape: TargetDomainId, required: true, location_name: "targetDomainId"))
557
742
  CreateTargetDomainOutput.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "domainName"))
558
743
  CreateTargetDomainOutput.add_member(:verification_status, Shapes::ShapeRef.new(shape: TargetDomainStatus, required: true, location_name: "verificationStatus"))
744
+ CreateTargetDomainOutput.add_member(:verification_status_reason, Shapes::ShapeRef.new(shape: String, location_name: "verificationStatusReason"))
559
745
  CreateTargetDomainOutput.add_member(:verification_details, Shapes::ShapeRef.new(shape: VerificationDetails, location_name: "verificationDetails"))
560
746
  CreateTargetDomainOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
561
747
  CreateTargetDomainOutput.add_member(:verified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "verifiedAt"))
@@ -582,6 +768,12 @@ module Aws::SecurityAgent
582
768
 
583
769
  DeleteArtifactOutput.struct_class = Types::DeleteArtifactOutput
584
770
 
771
+ DeleteCodeReviewFailure.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, location_name: "codeReviewId"))
772
+ DeleteCodeReviewFailure.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
773
+ DeleteCodeReviewFailure.struct_class = Types::DeleteCodeReviewFailure
774
+
775
+ DeleteCodeReviewFailureList.member = Shapes::ShapeRef.new(shape: DeleteCodeReviewFailure)
776
+
585
777
  DeleteIntegrationInput.add_member(:integration_id, Shapes::ShapeRef.new(shape: IntegrationId, required: true, location_name: "integrationId"))
586
778
  DeleteIntegrationInput.struct_class = Types::DeleteIntegrationInput
587
779
 
@@ -649,6 +841,8 @@ module Aws::SecurityAgent
649
841
  Finding.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
650
842
  Finding.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
651
843
  Finding.add_member(:pentest_job_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestJobId"))
844
+ Finding.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, location_name: "codeReviewId"))
845
+ Finding.add_member(:code_review_job_id, Shapes::ShapeRef.new(shape: String, location_name: "codeReviewJobId"))
652
846
  Finding.add_member(:task_id, Shapes::ShapeRef.new(shape: String, location_name: "taskId"))
653
847
  Finding.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
654
848
  Finding.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
@@ -661,6 +855,7 @@ module Aws::SecurityAgent
661
855
  Finding.add_member(:attack_script, Shapes::ShapeRef.new(shape: String, location_name: "attackScript"))
662
856
  Finding.add_member(:code_remediation_task, Shapes::ShapeRef.new(shape: CodeRemediationTask, location_name: "codeRemediationTask"))
663
857
  Finding.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: String, location_name: "lastUpdatedBy"))
858
+ Finding.add_member(:code_locations, Shapes::ShapeRef.new(shape: CodeLocationList, location_name: "codeLocations"))
664
859
  Finding.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
665
860
  Finding.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
666
861
  Finding.struct_class = Types::Finding
@@ -673,6 +868,8 @@ module Aws::SecurityAgent
673
868
  FindingSummary.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
674
869
  FindingSummary.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
675
870
  FindingSummary.add_member(:pentest_job_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestJobId"))
871
+ FindingSummary.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, location_name: "codeReviewId"))
872
+ FindingSummary.add_member(:code_review_job_id, Shapes::ShapeRef.new(shape: String, location_name: "codeReviewJobId"))
676
873
  FindingSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
677
874
  FindingSummary.add_member(:status, Shapes::ShapeRef.new(shape: FindingStatus, location_name: "status"))
678
875
  FindingSummary.add_member(:risk_type, Shapes::ShapeRef.new(shape: String, location_name: "riskType"))
@@ -831,6 +1028,37 @@ module Aws::SecurityAgent
831
1028
  ListArtifactsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
832
1029
  ListArtifactsOutput.struct_class = Types::ListArtifactsOutput
833
1030
 
1031
+ ListCodeReviewJobTasksInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
1032
+ ListCodeReviewJobTasksInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1033
+ ListCodeReviewJobTasksInput.add_member(:code_review_job_id, Shapes::ShapeRef.new(shape: String, location_name: "codeReviewJobId"))
1034
+ ListCodeReviewJobTasksInput.add_member(:step_name, Shapes::ShapeRef.new(shape: StepName, location_name: "stepName"))
1035
+ ListCodeReviewJobTasksInput.add_member(:category_name, Shapes::ShapeRef.new(shape: String, location_name: "categoryName"))
1036
+ ListCodeReviewJobTasksInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1037
+ ListCodeReviewJobTasksInput.struct_class = Types::ListCodeReviewJobTasksInput
1038
+
1039
+ ListCodeReviewJobTasksOutput.add_member(:code_review_job_task_summaries, Shapes::ShapeRef.new(shape: CodeReviewJobTaskSummaryList, location_name: "codeReviewJobTaskSummaries"))
1040
+ ListCodeReviewJobTasksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1041
+ ListCodeReviewJobTasksOutput.struct_class = Types::ListCodeReviewJobTasksOutput
1042
+
1043
+ ListCodeReviewJobsForCodeReviewInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1044
+ ListCodeReviewJobsForCodeReviewInput.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewId"))
1045
+ ListCodeReviewJobsForCodeReviewInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
1046
+ ListCodeReviewJobsForCodeReviewInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1047
+ ListCodeReviewJobsForCodeReviewInput.struct_class = Types::ListCodeReviewJobsForCodeReviewInput
1048
+
1049
+ ListCodeReviewJobsForCodeReviewOutput.add_member(:code_review_job_summaries, Shapes::ShapeRef.new(shape: CodeReviewJobSummaryList, location_name: "codeReviewJobSummaries"))
1050
+ ListCodeReviewJobsForCodeReviewOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1051
+ ListCodeReviewJobsForCodeReviewOutput.struct_class = Types::ListCodeReviewJobsForCodeReviewOutput
1052
+
1053
+ ListCodeReviewsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1054
+ ListCodeReviewsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1055
+ ListCodeReviewsInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
1056
+ ListCodeReviewsInput.struct_class = Types::ListCodeReviewsInput
1057
+
1058
+ ListCodeReviewsOutput.add_member(:code_review_summaries, Shapes::ShapeRef.new(shape: CodeReviewSummaryList, location_name: "codeReviewSummaries"))
1059
+ ListCodeReviewsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1060
+ ListCodeReviewsOutput.struct_class = Types::ListCodeReviewsOutput
1061
+
834
1062
  ListDiscoveredEndpointsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
835
1063
  ListDiscoveredEndpointsInput.add_member(:pentest_job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestJobId"))
836
1064
  ListDiscoveredEndpointsInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
@@ -843,7 +1071,8 @@ module Aws::SecurityAgent
843
1071
  ListDiscoveredEndpointsOutput.struct_class = Types::ListDiscoveredEndpointsOutput
844
1072
 
845
1073
  ListFindingsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
846
- ListFindingsInput.add_member(:pentest_job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestJobId"))
1074
+ ListFindingsInput.add_member(:pentest_job_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestJobId"))
1075
+ ListFindingsInput.add_member(:code_review_job_id, Shapes::ShapeRef.new(shape: String, location_name: "codeReviewJobId"))
847
1076
  ListFindingsInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
848
1077
  ListFindingsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
849
1078
  ListFindingsInput.add_member(:risk_type, Shapes::ShapeRef.new(shape: String, location_name: "riskType"))
@@ -1071,12 +1300,26 @@ module Aws::SecurityAgent
1071
1300
  SourceCodeRepositoryList.member = Shapes::ShapeRef.new(shape: SourceCodeRepository)
1072
1301
 
1073
1302
  StartCodeRemediationInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
1074
- StartCodeRemediationInput.add_member(:pentest_job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestJobId"))
1303
+ StartCodeRemediationInput.add_member(:pentest_job_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestJobId"))
1304
+ StartCodeRemediationInput.add_member(:code_review_job_id, Shapes::ShapeRef.new(shape: String, location_name: "codeReviewJobId"))
1075
1305
  StartCodeRemediationInput.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIdList, required: true, location_name: "findingIds"))
1076
1306
  StartCodeRemediationInput.struct_class = Types::StartCodeRemediationInput
1077
1307
 
1078
1308
  StartCodeRemediationOutput.struct_class = Types::StartCodeRemediationOutput
1079
1309
 
1310
+ StartCodeReviewJobInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
1311
+ StartCodeReviewJobInput.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewId"))
1312
+ StartCodeReviewJobInput.struct_class = Types::StartCodeReviewJobInput
1313
+
1314
+ StartCodeReviewJobOutput.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
1315
+ StartCodeReviewJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "status"))
1316
+ StartCodeReviewJobOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
1317
+ StartCodeReviewJobOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
1318
+ StartCodeReviewJobOutput.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewId"))
1319
+ StartCodeReviewJobOutput.add_member(:code_review_job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewJobId"))
1320
+ StartCodeReviewJobOutput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
1321
+ StartCodeReviewJobOutput.struct_class = Types::StartCodeReviewJobOutput
1322
+
1080
1323
  StartPentestJobInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
1081
1324
  StartPentestJobInput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestId"))
1082
1325
  StartPentestJobInput.struct_class = Types::StartPentestJobInput
@@ -1098,6 +1341,12 @@ module Aws::SecurityAgent
1098
1341
 
1099
1342
  StepList.member = Shapes::ShapeRef.new(shape: Step)
1100
1343
 
1344
+ StopCodeReviewJobInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
1345
+ StopCodeReviewJobInput.add_member(:code_review_job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewJobId"))
1346
+ StopCodeReviewJobInput.struct_class = Types::StopCodeReviewJobInput
1347
+
1348
+ StopCodeReviewJobOutput.struct_class = Types::StopCodeReviewJobOutput
1349
+
1101
1350
  StopPentestJobInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
1102
1351
  StopPentestJobInput.add_member(:pentest_job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestJobId"))
1103
1352
  StopPentestJobInput.struct_class = Types::StopPentestJobInput
@@ -1120,6 +1369,7 @@ module Aws::SecurityAgent
1120
1369
  TargetDomain.add_member(:target_domain_id, Shapes::ShapeRef.new(shape: TargetDomainId, required: true, location_name: "targetDomainId"))
1121
1370
  TargetDomain.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "domainName"))
1122
1371
  TargetDomain.add_member(:verification_status, Shapes::ShapeRef.new(shape: TargetDomainStatus, location_name: "verificationStatus"))
1372
+ TargetDomain.add_member(:verification_status_reason, Shapes::ShapeRef.new(shape: String, location_name: "verificationStatusReason"))
1123
1373
  TargetDomain.add_member(:verification_details, Shapes::ShapeRef.new(shape: VerificationDetails, location_name: "verificationDetails"))
1124
1374
  TargetDomain.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
1125
1375
  TargetDomain.add_member(:verified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "verifiedAt"))
@@ -1205,6 +1455,26 @@ module Aws::SecurityAgent
1205
1455
  UpdateApplicationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
1206
1456
  UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
1207
1457
 
1458
+ UpdateCodeReviewInput.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewId"))
1459
+ UpdateCodeReviewInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
1460
+ UpdateCodeReviewInput.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
1461
+ UpdateCodeReviewInput.add_member(:assets, Shapes::ShapeRef.new(shape: Assets, location_name: "assets"))
1462
+ UpdateCodeReviewInput.add_member(:service_role, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "serviceRole"))
1463
+ UpdateCodeReviewInput.add_member(:log_config, Shapes::ShapeRef.new(shape: CloudWatchLog, location_name: "logConfig"))
1464
+ UpdateCodeReviewInput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
1465
+ UpdateCodeReviewInput.struct_class = Types::UpdateCodeReviewInput
1466
+
1467
+ UpdateCodeReviewOutput.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewId"))
1468
+ UpdateCodeReviewOutput.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
1469
+ UpdateCodeReviewOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
1470
+ UpdateCodeReviewOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
1471
+ UpdateCodeReviewOutput.add_member(:assets, Shapes::ShapeRef.new(shape: Assets, location_name: "assets"))
1472
+ UpdateCodeReviewOutput.add_member(:service_role, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "serviceRole"))
1473
+ UpdateCodeReviewOutput.add_member(:log_config, Shapes::ShapeRef.new(shape: CloudWatchLog, location_name: "logConfig"))
1474
+ UpdateCodeReviewOutput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
1475
+ UpdateCodeReviewOutput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
1476
+ UpdateCodeReviewOutput.struct_class = Types::UpdateCodeReviewOutput
1477
+
1208
1478
  UpdateFindingInput.add_member(:finding_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "findingId"))
1209
1479
  UpdateFindingInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
1210
1480
  UpdateFindingInput.add_member(:risk_level, Shapes::ShapeRef.new(shape: RiskLevel, location_name: "riskLevel"))
@@ -1250,6 +1520,7 @@ module Aws::SecurityAgent
1250
1520
  UpdateTargetDomainOutput.add_member(:target_domain_id, Shapes::ShapeRef.new(shape: TargetDomainId, required: true, location_name: "targetDomainId"))
1251
1521
  UpdateTargetDomainOutput.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "domainName"))
1252
1522
  UpdateTargetDomainOutput.add_member(:verification_status, Shapes::ShapeRef.new(shape: TargetDomainStatus, required: true, location_name: "verificationStatus"))
1523
+ UpdateTargetDomainOutput.add_member(:verification_status_reason, Shapes::ShapeRef.new(shape: String, location_name: "verificationStatusReason"))
1253
1524
  UpdateTargetDomainOutput.add_member(:verification_details, Shapes::ShapeRef.new(shape: VerificationDetails, location_name: "verificationDetails"))
1254
1525
  UpdateTargetDomainOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
1255
1526
  UpdateTargetDomainOutput.add_member(:verified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "verifiedAt"))
@@ -1288,6 +1559,7 @@ module Aws::SecurityAgent
1288
1559
  VerifyTargetDomainOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
1289
1560
  VerifyTargetDomainOutput.add_member(:verified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "verifiedAt"))
1290
1561
  VerifyTargetDomainOutput.add_member(:status, Shapes::ShapeRef.new(shape: TargetDomainStatus, location_name: "status"))
1562
+ VerifyTargetDomainOutput.add_member(:verification_status_reason, Shapes::ShapeRef.new(shape: String, location_name: "verificationStatusReason"))
1291
1563
  VerifyTargetDomainOutput.struct_class = Types::VerifyTargetDomainOutput
1292
1564
 
1293
1565
  VpcConfig.add_member(:vpc_arn, Shapes::ShapeRef.new(shape: VpcArn, location_name: "vpcArn"))
@@ -1329,6 +1601,14 @@ module Aws::SecurityAgent
1329
1601
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1330
1602
  end)
1331
1603
 
1604
+ api.add_operation(:batch_delete_code_reviews, Seahorse::Model::Operation.new.tap do |o|
1605
+ o.name = "BatchDeleteCodeReviews"
1606
+ o.http_method = "POST"
1607
+ o.http_request_uri = "/BatchDeleteCodeReviews"
1608
+ o.input = Shapes::ShapeRef.new(shape: BatchDeleteCodeReviewsInput)
1609
+ o.output = Shapes::ShapeRef.new(shape: BatchDeleteCodeReviewsOutput)
1610
+ end)
1611
+
1332
1612
  api.add_operation(:batch_delete_pentests, Seahorse::Model::Operation.new.tap do |o|
1333
1613
  o.name = "BatchDeletePentests"
1334
1614
  o.http_method = "POST"
@@ -1358,6 +1638,30 @@ module Aws::SecurityAgent
1358
1638
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1359
1639
  end)
1360
1640
 
1641
+ api.add_operation(:batch_get_code_review_job_tasks, Seahorse::Model::Operation.new.tap do |o|
1642
+ o.name = "BatchGetCodeReviewJobTasks"
1643
+ o.http_method = "POST"
1644
+ o.http_request_uri = "/BatchGetCodeReviewJobTasks"
1645
+ o.input = Shapes::ShapeRef.new(shape: BatchGetCodeReviewJobTasksInput)
1646
+ o.output = Shapes::ShapeRef.new(shape: BatchGetCodeReviewJobTasksOutput)
1647
+ end)
1648
+
1649
+ api.add_operation(:batch_get_code_review_jobs, Seahorse::Model::Operation.new.tap do |o|
1650
+ o.name = "BatchGetCodeReviewJobs"
1651
+ o.http_method = "POST"
1652
+ o.http_request_uri = "/BatchGetCodeReviewJobs"
1653
+ o.input = Shapes::ShapeRef.new(shape: BatchGetCodeReviewJobsInput)
1654
+ o.output = Shapes::ShapeRef.new(shape: BatchGetCodeReviewJobsOutput)
1655
+ end)
1656
+
1657
+ api.add_operation(:batch_get_code_reviews, Seahorse::Model::Operation.new.tap do |o|
1658
+ o.name = "BatchGetCodeReviews"
1659
+ o.http_method = "POST"
1660
+ o.http_request_uri = "/BatchGetCodeReviews"
1661
+ o.input = Shapes::ShapeRef.new(shape: BatchGetCodeReviewsInput)
1662
+ o.output = Shapes::ShapeRef.new(shape: BatchGetCodeReviewsOutput)
1663
+ end)
1664
+
1361
1665
  api.add_operation(:batch_get_findings, Seahorse::Model::Operation.new.tap do |o|
1362
1666
  o.name = "BatchGetFindings"
1363
1667
  o.http_method = "POST"
@@ -1414,6 +1718,14 @@ module Aws::SecurityAgent
1414
1718
  o.output = Shapes::ShapeRef.new(shape: CreateApplicationResponse)
1415
1719
  end)
1416
1720
 
1721
+ api.add_operation(:create_code_review, Seahorse::Model::Operation.new.tap do |o|
1722
+ o.name = "CreateCodeReview"
1723
+ o.http_method = "POST"
1724
+ o.http_request_uri = "/CreateCodeReview"
1725
+ o.input = Shapes::ShapeRef.new(shape: CreateCodeReviewInput)
1726
+ o.output = Shapes::ShapeRef.new(shape: CreateCodeReviewOutput)
1727
+ end)
1728
+
1417
1729
  api.add_operation(:create_integration, Seahorse::Model::Operation.new.tap do |o|
1418
1730
  o.name = "CreateIntegration"
1419
1731
  o.http_method = "POST"
@@ -1606,6 +1918,48 @@ module Aws::SecurityAgent
1606
1918
  )
1607
1919
  end)
1608
1920
 
1921
+ api.add_operation(:list_code_review_job_tasks, Seahorse::Model::Operation.new.tap do |o|
1922
+ o.name = "ListCodeReviewJobTasks"
1923
+ o.http_method = "POST"
1924
+ o.http_request_uri = "/ListCodeReviewJobTasks"
1925
+ o.input = Shapes::ShapeRef.new(shape: ListCodeReviewJobTasksInput)
1926
+ o.output = Shapes::ShapeRef.new(shape: ListCodeReviewJobTasksOutput)
1927
+ o[:pager] = Aws::Pager.new(
1928
+ limit_key: "max_results",
1929
+ tokens: {
1930
+ "next_token" => "next_token"
1931
+ }
1932
+ )
1933
+ end)
1934
+
1935
+ api.add_operation(:list_code_review_jobs_for_code_review, Seahorse::Model::Operation.new.tap do |o|
1936
+ o.name = "ListCodeReviewJobsForCodeReview"
1937
+ o.http_method = "POST"
1938
+ o.http_request_uri = "/ListCodeReviewJobsForCodeReview"
1939
+ o.input = Shapes::ShapeRef.new(shape: ListCodeReviewJobsForCodeReviewInput)
1940
+ o.output = Shapes::ShapeRef.new(shape: ListCodeReviewJobsForCodeReviewOutput)
1941
+ o[:pager] = Aws::Pager.new(
1942
+ limit_key: "max_results",
1943
+ tokens: {
1944
+ "next_token" => "next_token"
1945
+ }
1946
+ )
1947
+ end)
1948
+
1949
+ api.add_operation(:list_code_reviews, Seahorse::Model::Operation.new.tap do |o|
1950
+ o.name = "ListCodeReviews"
1951
+ o.http_method = "POST"
1952
+ o.http_request_uri = "/ListCodeReviews"
1953
+ o.input = Shapes::ShapeRef.new(shape: ListCodeReviewsInput)
1954
+ o.output = Shapes::ShapeRef.new(shape: ListCodeReviewsOutput)
1955
+ o[:pager] = Aws::Pager.new(
1956
+ limit_key: "max_results",
1957
+ tokens: {
1958
+ "next_token" => "next_token"
1959
+ }
1960
+ )
1961
+ end)
1962
+
1609
1963
  api.add_operation(:list_discovered_endpoints, Seahorse::Model::Operation.new.tap do |o|
1610
1964
  o.name = "ListDiscoveredEndpoints"
1611
1965
  o.http_method = "POST"
@@ -1661,6 +2015,7 @@ module Aws::SecurityAgent
1661
2015
  o.output = Shapes::ShapeRef.new(shape: ListIntegrationsOutput)
1662
2016
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1663
2017
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2018
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1664
2019
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1665
2020
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1666
2021
  o[:pager] = Aws::Pager.new(
@@ -1757,6 +2112,14 @@ module Aws::SecurityAgent
1757
2112
  o.output = Shapes::ShapeRef.new(shape: StartCodeRemediationOutput)
1758
2113
  end)
1759
2114
 
2115
+ api.add_operation(:start_code_review_job, Seahorse::Model::Operation.new.tap do |o|
2116
+ o.name = "StartCodeReviewJob"
2117
+ o.http_method = "POST"
2118
+ o.http_request_uri = "/StartCodeReviewJob"
2119
+ o.input = Shapes::ShapeRef.new(shape: StartCodeReviewJobInput)
2120
+ o.output = Shapes::ShapeRef.new(shape: StartCodeReviewJobOutput)
2121
+ end)
2122
+
1760
2123
  api.add_operation(:start_pentest_job, Seahorse::Model::Operation.new.tap do |o|
1761
2124
  o.name = "StartPentestJob"
1762
2125
  o.http_method = "POST"
@@ -1765,6 +2128,14 @@ module Aws::SecurityAgent
1765
2128
  o.output = Shapes::ShapeRef.new(shape: StartPentestJobOutput)
1766
2129
  end)
1767
2130
 
2131
+ api.add_operation(:stop_code_review_job, Seahorse::Model::Operation.new.tap do |o|
2132
+ o.name = "StopCodeReviewJob"
2133
+ o.http_method = "POST"
2134
+ o.http_request_uri = "/StopCodeReviewJob"
2135
+ o.input = Shapes::ShapeRef.new(shape: StopCodeReviewJobInput)
2136
+ o.output = Shapes::ShapeRef.new(shape: StopCodeReviewJobOutput)
2137
+ end)
2138
+
1768
2139
  api.add_operation(:stop_pentest_job, Seahorse::Model::Operation.new.tap do |o|
1769
2140
  o.name = "StopPentestJob"
1770
2141
  o.http_method = "POST"
@@ -1805,6 +2176,14 @@ module Aws::SecurityAgent
1805
2176
  o.output = Shapes::ShapeRef.new(shape: UpdateApplicationResponse)
1806
2177
  end)
1807
2178
 
2179
+ api.add_operation(:update_code_review, Seahorse::Model::Operation.new.tap do |o|
2180
+ o.name = "UpdateCodeReview"
2181
+ o.http_method = "POST"
2182
+ o.http_request_uri = "/UpdateCodeReview"
2183
+ o.input = Shapes::ShapeRef.new(shape: UpdateCodeReviewInput)
2184
+ o.output = Shapes::ShapeRef.new(shape: UpdateCodeReviewOutput)
2185
+ end)
2186
+
1808
2187
  api.add_operation(:update_finding, Seahorse::Model::Operation.new.tap do |o|
1809
2188
  o.name = "UpdateFinding"
1810
2189
  o.http_method = "POST"