aws-sdk-codecatalyst 1.11.0 → 1.13.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.
@@ -86,6 +86,12 @@ module Aws::CodeCatalyst
86
86
  GetUserDetailsRequestIdString = Shapes::StringShape.new(name: 'GetUserDetailsRequestIdString')
87
87
  GetUserDetailsRequestUserNameString = Shapes::StringShape.new(name: 'GetUserDetailsRequestUserNameString')
88
88
  GetUserDetailsResponse = Shapes::StructureShape.new(name: 'GetUserDetailsResponse')
89
+ GetWorkflowRequest = Shapes::StructureShape.new(name: 'GetWorkflowRequest')
90
+ GetWorkflowRequestProjectNameString = Shapes::StringShape.new(name: 'GetWorkflowRequestProjectNameString')
91
+ GetWorkflowResponse = Shapes::StructureShape.new(name: 'GetWorkflowResponse')
92
+ GetWorkflowRunRequest = Shapes::StructureShape.new(name: 'GetWorkflowRunRequest')
93
+ GetWorkflowRunRequestProjectNameString = Shapes::StringShape.new(name: 'GetWorkflowRunRequestProjectNameString')
94
+ GetWorkflowRunResponse = Shapes::StructureShape.new(name: 'GetWorkflowRunResponse')
89
95
  Ide = Shapes::StructureShape.new(name: 'Ide')
90
96
  IdeConfiguration = Shapes::StructureShape.new(name: 'IdeConfiguration')
91
97
  IdeConfigurationList = Shapes::ListShape.new(name: 'IdeConfigurationList')
@@ -131,6 +137,16 @@ module Aws::CodeCatalyst
131
137
  ListSpacesRequest = Shapes::StructureShape.new(name: 'ListSpacesRequest')
132
138
  ListSpacesRequestNextTokenString = Shapes::StringShape.new(name: 'ListSpacesRequestNextTokenString')
133
139
  ListSpacesResponse = Shapes::StructureShape.new(name: 'ListSpacesResponse')
140
+ ListWorkflowRunsRequest = Shapes::StructureShape.new(name: 'ListWorkflowRunsRequest')
141
+ ListWorkflowRunsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListWorkflowRunsRequestMaxResultsInteger')
142
+ ListWorkflowRunsRequestNextTokenString = Shapes::StringShape.new(name: 'ListWorkflowRunsRequestNextTokenString')
143
+ ListWorkflowRunsRequestProjectNameString = Shapes::StringShape.new(name: 'ListWorkflowRunsRequestProjectNameString')
144
+ ListWorkflowRunsResponse = Shapes::StructureShape.new(name: 'ListWorkflowRunsResponse')
145
+ ListWorkflowsRequest = Shapes::StructureShape.new(name: 'ListWorkflowsRequest')
146
+ ListWorkflowsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListWorkflowsRequestMaxResultsInteger')
147
+ ListWorkflowsRequestNextTokenString = Shapes::StringShape.new(name: 'ListWorkflowsRequestNextTokenString')
148
+ ListWorkflowsRequestSpaceNameString = Shapes::StringShape.new(name: 'ListWorkflowsRequestSpaceNameString')
149
+ ListWorkflowsResponse = Shapes::StructureShape.new(name: 'ListWorkflowsResponse')
134
150
  NameString = Shapes::StringShape.new(name: 'NameString')
135
151
  OperationType = Shapes::StringShape.new(name: 'OperationType')
136
152
  PersistentStorage = Shapes::StructureShape.new(name: 'PersistentStorage')
@@ -163,6 +179,11 @@ module Aws::CodeCatalyst
163
179
  StartDevEnvironmentSessionRequest = Shapes::StructureShape.new(name: 'StartDevEnvironmentSessionRequest')
164
180
  StartDevEnvironmentSessionResponse = Shapes::StructureShape.new(name: 'StartDevEnvironmentSessionResponse')
165
181
  StartDevEnvironmentSessionResponseSessionIdString = Shapes::StringShape.new(name: 'StartDevEnvironmentSessionResponseSessionIdString')
182
+ StartWorkflowRunRequest = Shapes::StructureShape.new(name: 'StartWorkflowRunRequest')
183
+ StartWorkflowRunRequestClientTokenString = Shapes::StringShape.new(name: 'StartWorkflowRunRequestClientTokenString')
184
+ StartWorkflowRunRequestProjectNameString = Shapes::StringShape.new(name: 'StartWorkflowRunRequestProjectNameString')
185
+ StartWorkflowRunRequestSpaceNameString = Shapes::StringShape.new(name: 'StartWorkflowRunRequestSpaceNameString')
186
+ StartWorkflowRunResponse = Shapes::StructureShape.new(name: 'StartWorkflowRunResponse')
166
187
  StatusReason = Shapes::StringShape.new(name: 'StatusReason')
167
188
  StopDevEnvironmentRequest = Shapes::StructureShape.new(name: 'StopDevEnvironmentRequest')
168
189
  StopDevEnvironmentResponse = Shapes::StructureShape.new(name: 'StopDevEnvironmentResponse')
@@ -189,6 +210,21 @@ module Aws::CodeCatalyst
189
210
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
190
211
  VerifySessionResponse = Shapes::StructureShape.new(name: 'VerifySessionResponse')
191
212
  VerifySessionResponseIdentityString = Shapes::StringShape.new(name: 'VerifySessionResponseIdentityString')
213
+ WorkflowDefinition = Shapes::StructureShape.new(name: 'WorkflowDefinition')
214
+ WorkflowDefinitionSummary = Shapes::StructureShape.new(name: 'WorkflowDefinitionSummary')
215
+ WorkflowRunMode = Shapes::StringShape.new(name: 'WorkflowRunMode')
216
+ WorkflowRunSortCriteria = Shapes::StructureShape.new(name: 'WorkflowRunSortCriteria')
217
+ WorkflowRunSortCriteriaList = Shapes::ListShape.new(name: 'WorkflowRunSortCriteriaList')
218
+ WorkflowRunStatus = Shapes::StringShape.new(name: 'WorkflowRunStatus')
219
+ WorkflowRunStatusReason = Shapes::StructureShape.new(name: 'WorkflowRunStatusReason')
220
+ WorkflowRunStatusReasons = Shapes::ListShape.new(name: 'WorkflowRunStatusReasons')
221
+ WorkflowRunSummaries = Shapes::ListShape.new(name: 'WorkflowRunSummaries')
222
+ WorkflowRunSummary = Shapes::StructureShape.new(name: 'WorkflowRunSummary')
223
+ WorkflowSortCriteria = Shapes::StructureShape.new(name: 'WorkflowSortCriteria')
224
+ WorkflowSortCriteriaList = Shapes::ListShape.new(name: 'WorkflowSortCriteriaList')
225
+ WorkflowStatus = Shapes::StringShape.new(name: 'WorkflowStatus')
226
+ WorkflowSummaries = Shapes::ListShape.new(name: 'WorkflowSummaries')
227
+ WorkflowSummary = Shapes::StructureShape.new(name: 'WorkflowSummary')
192
228
 
193
229
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
194
230
  AccessDeniedException.struct_class = Types::AccessDeniedException
@@ -222,11 +258,13 @@ module Aws::CodeCatalyst
222
258
  CreateDevEnvironmentRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, required: true, location_name: "instanceType"))
223
259
  CreateDevEnvironmentRequest.add_member(:inactivity_timeout_minutes, Shapes::ShapeRef.new(shape: InactivityTimeoutMinutes, location_name: "inactivityTimeoutMinutes"))
224
260
  CreateDevEnvironmentRequest.add_member(:persistent_storage, Shapes::ShapeRef.new(shape: PersistentStorageConfiguration, required: true, location_name: "persistentStorage"))
261
+ CreateDevEnvironmentRequest.add_member(:vpc_connection_name, Shapes::ShapeRef.new(shape: NameString, location_name: "vpcConnectionName"))
225
262
  CreateDevEnvironmentRequest.struct_class = Types::CreateDevEnvironmentRequest
226
263
 
227
264
  CreateDevEnvironmentResponse.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "spaceName"))
228
265
  CreateDevEnvironmentResponse.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "projectName"))
229
266
  CreateDevEnvironmentResponse.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
267
+ CreateDevEnvironmentResponse.add_member(:vpc_connection_name, Shapes::ShapeRef.new(shape: NameString, location_name: "vpcConnectionName"))
230
268
  CreateDevEnvironmentResponse.struct_class = Types::CreateDevEnvironmentResponse
231
269
 
232
270
  CreateProjectRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
@@ -342,6 +380,7 @@ module Aws::CodeCatalyst
342
380
  DevEnvironmentSummary.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, required: true, location_name: "instanceType"))
343
381
  DevEnvironmentSummary.add_member(:inactivity_timeout_minutes, Shapes::ShapeRef.new(shape: InactivityTimeoutMinutes, required: true, location_name: "inactivityTimeoutMinutes"))
344
382
  DevEnvironmentSummary.add_member(:persistent_storage, Shapes::ShapeRef.new(shape: PersistentStorage, required: true, location_name: "persistentStorage"))
383
+ DevEnvironmentSummary.add_member(:vpc_connection_name, Shapes::ShapeRef.new(shape: NameString, location_name: "vpcConnectionName"))
345
384
  DevEnvironmentSummary.struct_class = Types::DevEnvironmentSummary
346
385
 
347
386
  DevEnvironmentSummaryList.member = Shapes::ShapeRef.new(shape: DevEnvironmentSummary)
@@ -404,6 +443,7 @@ module Aws::CodeCatalyst
404
443
  GetDevEnvironmentResponse.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, required: true, location_name: "instanceType"))
405
444
  GetDevEnvironmentResponse.add_member(:inactivity_timeout_minutes, Shapes::ShapeRef.new(shape: InactivityTimeoutMinutes, required: true, location_name: "inactivityTimeoutMinutes"))
406
445
  GetDevEnvironmentResponse.add_member(:persistent_storage, Shapes::ShapeRef.new(shape: PersistentStorage, required: true, location_name: "persistentStorage"))
446
+ GetDevEnvironmentResponse.add_member(:vpc_connection_name, Shapes::ShapeRef.new(shape: NameString, location_name: "vpcConnectionName"))
407
447
  GetDevEnvironmentResponse.struct_class = Types::GetDevEnvironmentResponse
408
448
 
409
449
  GetProjectRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
@@ -464,6 +504,40 @@ module Aws::CodeCatalyst
464
504
  GetUserDetailsResponse.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
465
505
  GetUserDetailsResponse.struct_class = Types::GetUserDetailsResponse
466
506
 
507
+ GetWorkflowRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
508
+ GetWorkflowRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
509
+ GetWorkflowRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: GetWorkflowRequestProjectNameString, required: true, location: "uri", location_name: "projectName"))
510
+ GetWorkflowRequest.struct_class = Types::GetWorkflowRequest
511
+
512
+ GetWorkflowResponse.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "spaceName"))
513
+ GetWorkflowResponse.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "projectName"))
514
+ GetWorkflowResponse.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
515
+ GetWorkflowResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
516
+ GetWorkflowResponse.add_member(:source_repository_name, Shapes::ShapeRef.new(shape: SourceRepositoryNameString, location_name: "sourceRepositoryName"))
517
+ GetWorkflowResponse.add_member(:source_branch_name, Shapes::ShapeRef.new(shape: SourceRepositoryBranchString, location_name: "sourceBranchName"))
518
+ GetWorkflowResponse.add_member(:definition, Shapes::ShapeRef.new(shape: WorkflowDefinition, required: true, location_name: "definition"))
519
+ GetWorkflowResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdTime"))
520
+ GetWorkflowResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "lastUpdatedTime"))
521
+ GetWorkflowResponse.add_member(:run_mode, Shapes::ShapeRef.new(shape: WorkflowRunMode, required: true, location_name: "runMode"))
522
+ GetWorkflowResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowStatus, required: true, location_name: "status"))
523
+ GetWorkflowResponse.struct_class = Types::GetWorkflowResponse
524
+
525
+ GetWorkflowRunRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
526
+ GetWorkflowRunRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
527
+ GetWorkflowRunRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: GetWorkflowRunRequestProjectNameString, required: true, location: "uri", location_name: "projectName"))
528
+ GetWorkflowRunRequest.struct_class = Types::GetWorkflowRunRequest
529
+
530
+ GetWorkflowRunResponse.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "spaceName"))
531
+ GetWorkflowRunResponse.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "projectName"))
532
+ GetWorkflowRunResponse.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
533
+ GetWorkflowRunResponse.add_member(:workflow_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "workflowId"))
534
+ GetWorkflowRunResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowRunStatus, required: true, location_name: "status"))
535
+ GetWorkflowRunResponse.add_member(:status_reasons, Shapes::ShapeRef.new(shape: WorkflowRunStatusReasons, location_name: "statusReasons"))
536
+ GetWorkflowRunResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "startTime"))
537
+ GetWorkflowRunResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endTime"))
538
+ GetWorkflowRunResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "lastUpdatedTime"))
539
+ GetWorkflowRunResponse.struct_class = Types::GetWorkflowRunResponse
540
+
467
541
  Ide.add_member(:runtime, Shapes::ShapeRef.new(shape: IdeRuntimeString, location_name: "runtime"))
468
542
  Ide.add_member(:name, Shapes::ShapeRef.new(shape: IdeNameString, location_name: "name"))
469
543
  Ide.struct_class = Types::Ide
@@ -496,7 +570,7 @@ module Aws::CodeCatalyst
496
570
  ListDevEnvironmentSessionsResponse.struct_class = Types::ListDevEnvironmentSessionsResponse
497
571
 
498
572
  ListDevEnvironmentsRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
499
- ListDevEnvironmentsRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "projectName"))
573
+ ListDevEnvironmentsRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, location_name: "projectName"))
500
574
  ListDevEnvironmentsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "filters"))
501
575
  ListDevEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListDevEnvironmentsRequestNextTokenString, location_name: "nextToken"))
502
576
  ListDevEnvironmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDevEnvironmentsRequestMaxResultsInteger, location_name: "maxResults"))
@@ -573,6 +647,29 @@ module Aws::CodeCatalyst
573
647
  ListSpacesResponse.add_member(:items, Shapes::ShapeRef.new(shape: SpaceSummaries, location_name: "items"))
574
648
  ListSpacesResponse.struct_class = Types::ListSpacesResponse
575
649
 
650
+ ListWorkflowRunsRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
651
+ ListWorkflowRunsRequest.add_member(:workflow_id, Shapes::ShapeRef.new(shape: Uuid, location: "querystring", location_name: "workflowId"))
652
+ ListWorkflowRunsRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: ListWorkflowRunsRequestProjectNameString, required: true, location: "uri", location_name: "projectName"))
653
+ ListWorkflowRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListWorkflowRunsRequestNextTokenString, location: "querystring", location_name: "nextToken"))
654
+ ListWorkflowRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkflowRunsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
655
+ ListWorkflowRunsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: WorkflowRunSortCriteriaList, location_name: "sortBy"))
656
+ ListWorkflowRunsRequest.struct_class = Types::ListWorkflowRunsRequest
657
+
658
+ ListWorkflowRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
659
+ ListWorkflowRunsResponse.add_member(:items, Shapes::ShapeRef.new(shape: WorkflowRunSummaries, location_name: "items"))
660
+ ListWorkflowRunsResponse.struct_class = Types::ListWorkflowRunsResponse
661
+
662
+ ListWorkflowsRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: ListWorkflowsRequestSpaceNameString, required: true, location: "uri", location_name: "spaceName"))
663
+ ListWorkflowsRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "projectName"))
664
+ ListWorkflowsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListWorkflowsRequestNextTokenString, location: "querystring", location_name: "nextToken"))
665
+ ListWorkflowsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkflowsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
666
+ ListWorkflowsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: WorkflowSortCriteriaList, location_name: "sortBy"))
667
+ ListWorkflowsRequest.struct_class = Types::ListWorkflowsRequest
668
+
669
+ ListWorkflowsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
670
+ ListWorkflowsResponse.add_member(:items, Shapes::ShapeRef.new(shape: WorkflowSummaries, location_name: "items"))
671
+ ListWorkflowsResponse.struct_class = Types::ListWorkflowsResponse
672
+
576
673
  PersistentStorage.add_member(:size_in_gi_b, Shapes::ShapeRef.new(shape: PersistentStorageSizeInGiBInteger, required: true, location_name: "sizeInGiB"))
577
674
  PersistentStorage.struct_class = Types::PersistentStorage
578
675
 
@@ -644,6 +741,18 @@ module Aws::CodeCatalyst
644
741
  StartDevEnvironmentSessionResponse.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
645
742
  StartDevEnvironmentSessionResponse.struct_class = Types::StartDevEnvironmentSessionResponse
646
743
 
744
+ StartWorkflowRunRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: StartWorkflowRunRequestSpaceNameString, required: true, location: "uri", location_name: "spaceName"))
745
+ StartWorkflowRunRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: StartWorkflowRunRequestProjectNameString, required: true, location: "uri", location_name: "projectName"))
746
+ StartWorkflowRunRequest.add_member(:workflow_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "querystring", location_name: "workflowId"))
747
+ StartWorkflowRunRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: StartWorkflowRunRequestClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
748
+ StartWorkflowRunRequest.struct_class = Types::StartWorkflowRunRequest
749
+
750
+ StartWorkflowRunResponse.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "spaceName"))
751
+ StartWorkflowRunResponse.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "projectName"))
752
+ StartWorkflowRunResponse.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
753
+ StartWorkflowRunResponse.add_member(:workflow_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "workflowId"))
754
+ StartWorkflowRunResponse.struct_class = Types::StartWorkflowRunResponse
755
+
647
756
  StopDevEnvironmentRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
648
757
  StopDevEnvironmentRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "projectName"))
649
758
  StopDevEnvironmentRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
@@ -724,6 +833,49 @@ module Aws::CodeCatalyst
724
833
  VerifySessionResponse.add_member(:identity, Shapes::ShapeRef.new(shape: VerifySessionResponseIdentityString, location_name: "identity"))
725
834
  VerifySessionResponse.struct_class = Types::VerifySessionResponse
726
835
 
836
+ WorkflowDefinition.add_member(:path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "path"))
837
+ WorkflowDefinition.struct_class = Types::WorkflowDefinition
838
+
839
+ WorkflowDefinitionSummary.add_member(:path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "path"))
840
+ WorkflowDefinitionSummary.struct_class = Types::WorkflowDefinitionSummary
841
+
842
+ WorkflowRunSortCriteria.struct_class = Types::WorkflowRunSortCriteria
843
+
844
+ WorkflowRunSortCriteriaList.member = Shapes::ShapeRef.new(shape: WorkflowRunSortCriteria)
845
+
846
+ WorkflowRunStatusReason.struct_class = Types::WorkflowRunStatusReason
847
+
848
+ WorkflowRunStatusReasons.member = Shapes::ShapeRef.new(shape: WorkflowRunStatusReason)
849
+
850
+ WorkflowRunSummaries.member = Shapes::ShapeRef.new(shape: WorkflowRunSummary)
851
+
852
+ WorkflowRunSummary.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
853
+ WorkflowRunSummary.add_member(:workflow_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "workflowId"))
854
+ WorkflowRunSummary.add_member(:workflow_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "workflowName"))
855
+ WorkflowRunSummary.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowRunStatus, required: true, location_name: "status"))
856
+ WorkflowRunSummary.add_member(:status_reasons, Shapes::ShapeRef.new(shape: WorkflowRunStatusReasons, location_name: "statusReasons"))
857
+ WorkflowRunSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "startTime"))
858
+ WorkflowRunSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endTime"))
859
+ WorkflowRunSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "lastUpdatedTime"))
860
+ WorkflowRunSummary.struct_class = Types::WorkflowRunSummary
861
+
862
+ WorkflowSortCriteria.struct_class = Types::WorkflowSortCriteria
863
+
864
+ WorkflowSortCriteriaList.member = Shapes::ShapeRef.new(shape: WorkflowSortCriteria)
865
+
866
+ WorkflowSummaries.member = Shapes::ShapeRef.new(shape: WorkflowSummary)
867
+
868
+ WorkflowSummary.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
869
+ WorkflowSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
870
+ WorkflowSummary.add_member(:source_repository_name, Shapes::ShapeRef.new(shape: SourceRepositoryNameString, required: true, location_name: "sourceRepositoryName"))
871
+ WorkflowSummary.add_member(:source_branch_name, Shapes::ShapeRef.new(shape: SourceRepositoryBranchString, required: true, location_name: "sourceBranchName"))
872
+ WorkflowSummary.add_member(:definition, Shapes::ShapeRef.new(shape: WorkflowDefinitionSummary, required: true, location_name: "definition"))
873
+ WorkflowSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdTime"))
874
+ WorkflowSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "lastUpdatedTime"))
875
+ WorkflowSummary.add_member(:run_mode, Shapes::ShapeRef.new(shape: WorkflowRunMode, required: true, location_name: "runMode"))
876
+ WorkflowSummary.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowStatus, required: true, location_name: "status"))
877
+ WorkflowSummary.struct_class = Types::WorkflowSummary
878
+
727
879
 
728
880
  # @api private
729
881
  API = Seahorse::Model::Api.new.tap do |api|
@@ -980,6 +1132,34 @@ module Aws::CodeCatalyst
980
1132
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
981
1133
  end)
982
1134
 
1135
+ api.add_operation(:get_workflow, Seahorse::Model::Operation.new.tap do |o|
1136
+ o.name = "GetWorkflow"
1137
+ o.http_method = "GET"
1138
+ o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/workflows/{id}"
1139
+ o.input = Shapes::ShapeRef.new(shape: GetWorkflowRequest)
1140
+ o.output = Shapes::ShapeRef.new(shape: GetWorkflowResponse)
1141
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1142
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1143
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1144
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1145
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1146
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1147
+ end)
1148
+
1149
+ api.add_operation(:get_workflow_run, Seahorse::Model::Operation.new.tap do |o|
1150
+ o.name = "GetWorkflowRun"
1151
+ o.http_method = "GET"
1152
+ o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns/{id}"
1153
+ o.input = Shapes::ShapeRef.new(shape: GetWorkflowRunRequest)
1154
+ o.output = Shapes::ShapeRef.new(shape: GetWorkflowRunResponse)
1155
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1156
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1157
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1158
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1159
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1160
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1161
+ end)
1162
+
983
1163
  api.add_operation(:list_access_tokens, Seahorse::Model::Operation.new.tap do |o|
984
1164
  o.name = "ListAccessTokens"
985
1165
  o.http_method = "POST"
@@ -1023,7 +1203,7 @@ module Aws::CodeCatalyst
1023
1203
  api.add_operation(:list_dev_environments, Seahorse::Model::Operation.new.tap do |o|
1024
1204
  o.name = "ListDevEnvironments"
1025
1205
  o.http_method = "POST"
1026
- o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments"
1206
+ o.http_request_uri = "/v1/spaces/{spaceName}/devEnvironments"
1027
1207
  o.input = Shapes::ShapeRef.new(shape: ListDevEnvironmentsRequest)
1028
1208
  o.output = Shapes::ShapeRef.new(shape: ListDevEnvironmentsResponse)
1029
1209
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
@@ -1139,6 +1319,46 @@ module Aws::CodeCatalyst
1139
1319
  )
1140
1320
  end)
1141
1321
 
1322
+ api.add_operation(:list_workflow_runs, Seahorse::Model::Operation.new.tap do |o|
1323
+ o.name = "ListWorkflowRuns"
1324
+ o.http_method = "POST"
1325
+ o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns"
1326
+ o.input = Shapes::ShapeRef.new(shape: ListWorkflowRunsRequest)
1327
+ o.output = Shapes::ShapeRef.new(shape: ListWorkflowRunsResponse)
1328
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1329
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1330
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1331
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1332
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1333
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1334
+ o[:pager] = Aws::Pager.new(
1335
+ limit_key: "max_results",
1336
+ tokens: {
1337
+ "next_token" => "next_token"
1338
+ }
1339
+ )
1340
+ end)
1341
+
1342
+ api.add_operation(:list_workflows, Seahorse::Model::Operation.new.tap do |o|
1343
+ o.name = "ListWorkflows"
1344
+ o.http_method = "POST"
1345
+ o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/workflows"
1346
+ o.input = Shapes::ShapeRef.new(shape: ListWorkflowsRequest)
1347
+ o.output = Shapes::ShapeRef.new(shape: ListWorkflowsResponse)
1348
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1349
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1350
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1351
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1352
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1353
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1354
+ o[:pager] = Aws::Pager.new(
1355
+ limit_key: "max_results",
1356
+ tokens: {
1357
+ "next_token" => "next_token"
1358
+ }
1359
+ )
1360
+ end)
1361
+
1142
1362
  api.add_operation(:start_dev_environment, Seahorse::Model::Operation.new.tap do |o|
1143
1363
  o.name = "StartDevEnvironment"
1144
1364
  o.http_method = "PUT"
@@ -1167,6 +1387,20 @@ module Aws::CodeCatalyst
1167
1387
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1168
1388
  end)
1169
1389
 
1390
+ api.add_operation(:start_workflow_run, Seahorse::Model::Operation.new.tap do |o|
1391
+ o.name = "StartWorkflowRun"
1392
+ o.http_method = "PUT"
1393
+ o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns"
1394
+ o.input = Shapes::ShapeRef.new(shape: StartWorkflowRunRequest)
1395
+ o.output = Shapes::ShapeRef.new(shape: StartWorkflowRunResponse)
1396
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1397
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1398
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1399
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1400
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1401
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1402
+ end)
1403
+
1170
1404
  api.add_operation(:stop_dev_environment, Seahorse::Model::Operation.new.tap do |o|
1171
1405
  o.name = "StopDevEnvironment"
1172
1406
  o.http_method = "PUT"
@@ -233,6 +233,32 @@ module Aws::CodeCatalyst
233
233
  end
234
234
  end
235
235
 
236
+ class GetWorkflow
237
+ def self.build(context)
238
+ unless context.config.regional_endpoint
239
+ endpoint = context.config.endpoint.to_s
240
+ end
241
+ Aws::CodeCatalyst::EndpointParameters.new(
242
+ use_fips: context.config.use_fips_endpoint,
243
+ region: context.config.region,
244
+ endpoint: endpoint,
245
+ )
246
+ end
247
+ end
248
+
249
+ class GetWorkflowRun
250
+ def self.build(context)
251
+ unless context.config.regional_endpoint
252
+ endpoint = context.config.endpoint.to_s
253
+ end
254
+ Aws::CodeCatalyst::EndpointParameters.new(
255
+ use_fips: context.config.use_fips_endpoint,
256
+ region: context.config.region,
257
+ endpoint: endpoint,
258
+ )
259
+ end
260
+ end
261
+
236
262
  class ListAccessTokens
237
263
  def self.build(context)
238
264
  unless context.config.regional_endpoint
@@ -337,6 +363,32 @@ module Aws::CodeCatalyst
337
363
  end
338
364
  end
339
365
 
366
+ class ListWorkflowRuns
367
+ def self.build(context)
368
+ unless context.config.regional_endpoint
369
+ endpoint = context.config.endpoint.to_s
370
+ end
371
+ Aws::CodeCatalyst::EndpointParameters.new(
372
+ use_fips: context.config.use_fips_endpoint,
373
+ region: context.config.region,
374
+ endpoint: endpoint,
375
+ )
376
+ end
377
+ end
378
+
379
+ class ListWorkflows
380
+ def self.build(context)
381
+ unless context.config.regional_endpoint
382
+ endpoint = context.config.endpoint.to_s
383
+ end
384
+ Aws::CodeCatalyst::EndpointParameters.new(
385
+ use_fips: context.config.use_fips_endpoint,
386
+ region: context.config.region,
387
+ endpoint: endpoint,
388
+ )
389
+ end
390
+ end
391
+
340
392
  class StartDevEnvironment
341
393
  def self.build(context)
342
394
  unless context.config.regional_endpoint
@@ -363,6 +415,19 @@ module Aws::CodeCatalyst
363
415
  end
364
416
  end
365
417
 
418
+ class StartWorkflowRun
419
+ def self.build(context)
420
+ unless context.config.regional_endpoint
421
+ endpoint = context.config.endpoint.to_s
422
+ end
423
+ Aws::CodeCatalyst::EndpointParameters.new(
424
+ use_fips: context.config.use_fips_endpoint,
425
+ region: context.config.region,
426
+ endpoint: endpoint,
427
+ )
428
+ end
429
+ end
430
+
366
431
  class StopDevEnvironment
367
432
  def self.build(context)
368
433
  unless context.config.regional_endpoint
@@ -90,6 +90,10 @@ module Aws::CodeCatalyst
90
90
  Aws::CodeCatalyst::Endpoints::GetSubscription.build(context)
91
91
  when :get_user_details
92
92
  Aws::CodeCatalyst::Endpoints::GetUserDetails.build(context)
93
+ when :get_workflow
94
+ Aws::CodeCatalyst::Endpoints::GetWorkflow.build(context)
95
+ when :get_workflow_run
96
+ Aws::CodeCatalyst::Endpoints::GetWorkflowRun.build(context)
93
97
  when :list_access_tokens
94
98
  Aws::CodeCatalyst::Endpoints::ListAccessTokens.build(context)
95
99
  when :list_dev_environment_sessions
@@ -106,10 +110,16 @@ module Aws::CodeCatalyst
106
110
  Aws::CodeCatalyst::Endpoints::ListSourceRepositoryBranches.build(context)
107
111
  when :list_spaces
108
112
  Aws::CodeCatalyst::Endpoints::ListSpaces.build(context)
113
+ when :list_workflow_runs
114
+ Aws::CodeCatalyst::Endpoints::ListWorkflowRuns.build(context)
115
+ when :list_workflows
116
+ Aws::CodeCatalyst::Endpoints::ListWorkflows.build(context)
109
117
  when :start_dev_environment
110
118
  Aws::CodeCatalyst::Endpoints::StartDevEnvironment.build(context)
111
119
  when :start_dev_environment_session
112
120
  Aws::CodeCatalyst::Endpoints::StartDevEnvironmentSession.build(context)
121
+ when :start_workflow_run
122
+ Aws::CodeCatalyst::Endpoints::StartWorkflowRun.build(context)
113
123
  when :stop_dev_environment
114
124
  Aws::CodeCatalyst::Endpoints::StopDevEnvironment.build(context)
115
125
  when :stop_dev_environment_session