aws-sdk-codecatalyst 1.11.0 → 1.12.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
@@ -464,6 +500,40 @@ module Aws::CodeCatalyst
464
500
  GetUserDetailsResponse.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
465
501
  GetUserDetailsResponse.struct_class = Types::GetUserDetailsResponse
466
502
 
503
+ GetWorkflowRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
504
+ GetWorkflowRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
505
+ GetWorkflowRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: GetWorkflowRequestProjectNameString, required: true, location: "uri", location_name: "projectName"))
506
+ GetWorkflowRequest.struct_class = Types::GetWorkflowRequest
507
+
508
+ GetWorkflowResponse.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "spaceName"))
509
+ GetWorkflowResponse.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "projectName"))
510
+ GetWorkflowResponse.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
511
+ GetWorkflowResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
512
+ GetWorkflowResponse.add_member(:source_repository_name, Shapes::ShapeRef.new(shape: SourceRepositoryNameString, location_name: "sourceRepositoryName"))
513
+ GetWorkflowResponse.add_member(:source_branch_name, Shapes::ShapeRef.new(shape: SourceRepositoryBranchString, location_name: "sourceBranchName"))
514
+ GetWorkflowResponse.add_member(:definition, Shapes::ShapeRef.new(shape: WorkflowDefinition, required: true, location_name: "definition"))
515
+ GetWorkflowResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdTime"))
516
+ GetWorkflowResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "lastUpdatedTime"))
517
+ GetWorkflowResponse.add_member(:run_mode, Shapes::ShapeRef.new(shape: WorkflowRunMode, required: true, location_name: "runMode"))
518
+ GetWorkflowResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowStatus, required: true, location_name: "status"))
519
+ GetWorkflowResponse.struct_class = Types::GetWorkflowResponse
520
+
521
+ GetWorkflowRunRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
522
+ GetWorkflowRunRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
523
+ GetWorkflowRunRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: GetWorkflowRunRequestProjectNameString, required: true, location: "uri", location_name: "projectName"))
524
+ GetWorkflowRunRequest.struct_class = Types::GetWorkflowRunRequest
525
+
526
+ GetWorkflowRunResponse.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "spaceName"))
527
+ GetWorkflowRunResponse.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "projectName"))
528
+ GetWorkflowRunResponse.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
529
+ GetWorkflowRunResponse.add_member(:workflow_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "workflowId"))
530
+ GetWorkflowRunResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowRunStatus, required: true, location_name: "status"))
531
+ GetWorkflowRunResponse.add_member(:status_reasons, Shapes::ShapeRef.new(shape: WorkflowRunStatusReasons, location_name: "statusReasons"))
532
+ GetWorkflowRunResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "startTime"))
533
+ GetWorkflowRunResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endTime"))
534
+ GetWorkflowRunResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "lastUpdatedTime"))
535
+ GetWorkflowRunResponse.struct_class = Types::GetWorkflowRunResponse
536
+
467
537
  Ide.add_member(:runtime, Shapes::ShapeRef.new(shape: IdeRuntimeString, location_name: "runtime"))
468
538
  Ide.add_member(:name, Shapes::ShapeRef.new(shape: IdeNameString, location_name: "name"))
469
539
  Ide.struct_class = Types::Ide
@@ -496,7 +566,7 @@ module Aws::CodeCatalyst
496
566
  ListDevEnvironmentSessionsResponse.struct_class = Types::ListDevEnvironmentSessionsResponse
497
567
 
498
568
  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"))
569
+ ListDevEnvironmentsRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, location_name: "projectName"))
500
570
  ListDevEnvironmentsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "filters"))
501
571
  ListDevEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListDevEnvironmentsRequestNextTokenString, location_name: "nextToken"))
502
572
  ListDevEnvironmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDevEnvironmentsRequestMaxResultsInteger, location_name: "maxResults"))
@@ -573,6 +643,29 @@ module Aws::CodeCatalyst
573
643
  ListSpacesResponse.add_member(:items, Shapes::ShapeRef.new(shape: SpaceSummaries, location_name: "items"))
574
644
  ListSpacesResponse.struct_class = Types::ListSpacesResponse
575
645
 
646
+ ListWorkflowRunsRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
647
+ ListWorkflowRunsRequest.add_member(:workflow_id, Shapes::ShapeRef.new(shape: Uuid, location: "querystring", location_name: "workflowId"))
648
+ ListWorkflowRunsRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: ListWorkflowRunsRequestProjectNameString, required: true, location: "uri", location_name: "projectName"))
649
+ ListWorkflowRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListWorkflowRunsRequestNextTokenString, location: "querystring", location_name: "nextToken"))
650
+ ListWorkflowRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkflowRunsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
651
+ ListWorkflowRunsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: WorkflowRunSortCriteriaList, location_name: "sortBy"))
652
+ ListWorkflowRunsRequest.struct_class = Types::ListWorkflowRunsRequest
653
+
654
+ ListWorkflowRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
655
+ ListWorkflowRunsResponse.add_member(:items, Shapes::ShapeRef.new(shape: WorkflowRunSummaries, location_name: "items"))
656
+ ListWorkflowRunsResponse.struct_class = Types::ListWorkflowRunsResponse
657
+
658
+ ListWorkflowsRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: ListWorkflowsRequestSpaceNameString, required: true, location: "uri", location_name: "spaceName"))
659
+ ListWorkflowsRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "projectName"))
660
+ ListWorkflowsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListWorkflowsRequestNextTokenString, location: "querystring", location_name: "nextToken"))
661
+ ListWorkflowsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkflowsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
662
+ ListWorkflowsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: WorkflowSortCriteriaList, location_name: "sortBy"))
663
+ ListWorkflowsRequest.struct_class = Types::ListWorkflowsRequest
664
+
665
+ ListWorkflowsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
666
+ ListWorkflowsResponse.add_member(:items, Shapes::ShapeRef.new(shape: WorkflowSummaries, location_name: "items"))
667
+ ListWorkflowsResponse.struct_class = Types::ListWorkflowsResponse
668
+
576
669
  PersistentStorage.add_member(:size_in_gi_b, Shapes::ShapeRef.new(shape: PersistentStorageSizeInGiBInteger, required: true, location_name: "sizeInGiB"))
577
670
  PersistentStorage.struct_class = Types::PersistentStorage
578
671
 
@@ -644,6 +737,18 @@ module Aws::CodeCatalyst
644
737
  StartDevEnvironmentSessionResponse.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
645
738
  StartDevEnvironmentSessionResponse.struct_class = Types::StartDevEnvironmentSessionResponse
646
739
 
740
+ StartWorkflowRunRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: StartWorkflowRunRequestSpaceNameString, required: true, location: "uri", location_name: "spaceName"))
741
+ StartWorkflowRunRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: StartWorkflowRunRequestProjectNameString, required: true, location: "uri", location_name: "projectName"))
742
+ StartWorkflowRunRequest.add_member(:workflow_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "querystring", location_name: "workflowId"))
743
+ StartWorkflowRunRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: StartWorkflowRunRequestClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
744
+ StartWorkflowRunRequest.struct_class = Types::StartWorkflowRunRequest
745
+
746
+ StartWorkflowRunResponse.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "spaceName"))
747
+ StartWorkflowRunResponse.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "projectName"))
748
+ StartWorkflowRunResponse.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
749
+ StartWorkflowRunResponse.add_member(:workflow_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "workflowId"))
750
+ StartWorkflowRunResponse.struct_class = Types::StartWorkflowRunResponse
751
+
647
752
  StopDevEnvironmentRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "spaceName"))
648
753
  StopDevEnvironmentRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: NameString, required: true, location: "uri", location_name: "projectName"))
649
754
  StopDevEnvironmentRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
@@ -724,6 +829,49 @@ module Aws::CodeCatalyst
724
829
  VerifySessionResponse.add_member(:identity, Shapes::ShapeRef.new(shape: VerifySessionResponseIdentityString, location_name: "identity"))
725
830
  VerifySessionResponse.struct_class = Types::VerifySessionResponse
726
831
 
832
+ WorkflowDefinition.add_member(:path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "path"))
833
+ WorkflowDefinition.struct_class = Types::WorkflowDefinition
834
+
835
+ WorkflowDefinitionSummary.add_member(:path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "path"))
836
+ WorkflowDefinitionSummary.struct_class = Types::WorkflowDefinitionSummary
837
+
838
+ WorkflowRunSortCriteria.struct_class = Types::WorkflowRunSortCriteria
839
+
840
+ WorkflowRunSortCriteriaList.member = Shapes::ShapeRef.new(shape: WorkflowRunSortCriteria)
841
+
842
+ WorkflowRunStatusReason.struct_class = Types::WorkflowRunStatusReason
843
+
844
+ WorkflowRunStatusReasons.member = Shapes::ShapeRef.new(shape: WorkflowRunStatusReason)
845
+
846
+ WorkflowRunSummaries.member = Shapes::ShapeRef.new(shape: WorkflowRunSummary)
847
+
848
+ WorkflowRunSummary.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
849
+ WorkflowRunSummary.add_member(:workflow_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "workflowId"))
850
+ WorkflowRunSummary.add_member(:workflow_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "workflowName"))
851
+ WorkflowRunSummary.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowRunStatus, required: true, location_name: "status"))
852
+ WorkflowRunSummary.add_member(:status_reasons, Shapes::ShapeRef.new(shape: WorkflowRunStatusReasons, location_name: "statusReasons"))
853
+ WorkflowRunSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "startTime"))
854
+ WorkflowRunSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endTime"))
855
+ WorkflowRunSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "lastUpdatedTime"))
856
+ WorkflowRunSummary.struct_class = Types::WorkflowRunSummary
857
+
858
+ WorkflowSortCriteria.struct_class = Types::WorkflowSortCriteria
859
+
860
+ WorkflowSortCriteriaList.member = Shapes::ShapeRef.new(shape: WorkflowSortCriteria)
861
+
862
+ WorkflowSummaries.member = Shapes::ShapeRef.new(shape: WorkflowSummary)
863
+
864
+ WorkflowSummary.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
865
+ WorkflowSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
866
+ WorkflowSummary.add_member(:source_repository_name, Shapes::ShapeRef.new(shape: SourceRepositoryNameString, required: true, location_name: "sourceRepositoryName"))
867
+ WorkflowSummary.add_member(:source_branch_name, Shapes::ShapeRef.new(shape: SourceRepositoryBranchString, required: true, location_name: "sourceBranchName"))
868
+ WorkflowSummary.add_member(:definition, Shapes::ShapeRef.new(shape: WorkflowDefinitionSummary, required: true, location_name: "definition"))
869
+ WorkflowSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdTime"))
870
+ WorkflowSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "lastUpdatedTime"))
871
+ WorkflowSummary.add_member(:run_mode, Shapes::ShapeRef.new(shape: WorkflowRunMode, required: true, location_name: "runMode"))
872
+ WorkflowSummary.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowStatus, required: true, location_name: "status"))
873
+ WorkflowSummary.struct_class = Types::WorkflowSummary
874
+
727
875
 
728
876
  # @api private
729
877
  API = Seahorse::Model::Api.new.tap do |api|
@@ -980,6 +1128,34 @@ module Aws::CodeCatalyst
980
1128
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
981
1129
  end)
982
1130
 
1131
+ api.add_operation(:get_workflow, Seahorse::Model::Operation.new.tap do |o|
1132
+ o.name = "GetWorkflow"
1133
+ o.http_method = "GET"
1134
+ o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/workflows/{id}"
1135
+ o.input = Shapes::ShapeRef.new(shape: GetWorkflowRequest)
1136
+ o.output = Shapes::ShapeRef.new(shape: GetWorkflowResponse)
1137
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1138
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1139
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1140
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1141
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1142
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1143
+ end)
1144
+
1145
+ api.add_operation(:get_workflow_run, Seahorse::Model::Operation.new.tap do |o|
1146
+ o.name = "GetWorkflowRun"
1147
+ o.http_method = "GET"
1148
+ o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns/{id}"
1149
+ o.input = Shapes::ShapeRef.new(shape: GetWorkflowRunRequest)
1150
+ o.output = Shapes::ShapeRef.new(shape: GetWorkflowRunResponse)
1151
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1152
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1153
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1154
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1155
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1156
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1157
+ end)
1158
+
983
1159
  api.add_operation(:list_access_tokens, Seahorse::Model::Operation.new.tap do |o|
984
1160
  o.name = "ListAccessTokens"
985
1161
  o.http_method = "POST"
@@ -1023,7 +1199,7 @@ module Aws::CodeCatalyst
1023
1199
  api.add_operation(:list_dev_environments, Seahorse::Model::Operation.new.tap do |o|
1024
1200
  o.name = "ListDevEnvironments"
1025
1201
  o.http_method = "POST"
1026
- o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments"
1202
+ o.http_request_uri = "/v1/spaces/{spaceName}/devEnvironments"
1027
1203
  o.input = Shapes::ShapeRef.new(shape: ListDevEnvironmentsRequest)
1028
1204
  o.output = Shapes::ShapeRef.new(shape: ListDevEnvironmentsResponse)
1029
1205
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
@@ -1139,6 +1315,46 @@ module Aws::CodeCatalyst
1139
1315
  )
1140
1316
  end)
1141
1317
 
1318
+ api.add_operation(:list_workflow_runs, Seahorse::Model::Operation.new.tap do |o|
1319
+ o.name = "ListWorkflowRuns"
1320
+ o.http_method = "POST"
1321
+ o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns"
1322
+ o.input = Shapes::ShapeRef.new(shape: ListWorkflowRunsRequest)
1323
+ o.output = Shapes::ShapeRef.new(shape: ListWorkflowRunsResponse)
1324
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1325
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1326
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1327
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1328
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1329
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1330
+ o[:pager] = Aws::Pager.new(
1331
+ limit_key: "max_results",
1332
+ tokens: {
1333
+ "next_token" => "next_token"
1334
+ }
1335
+ )
1336
+ end)
1337
+
1338
+ api.add_operation(:list_workflows, Seahorse::Model::Operation.new.tap do |o|
1339
+ o.name = "ListWorkflows"
1340
+ o.http_method = "POST"
1341
+ o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/workflows"
1342
+ o.input = Shapes::ShapeRef.new(shape: ListWorkflowsRequest)
1343
+ o.output = Shapes::ShapeRef.new(shape: ListWorkflowsResponse)
1344
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1345
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1346
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1347
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1348
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1349
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1350
+ o[:pager] = Aws::Pager.new(
1351
+ limit_key: "max_results",
1352
+ tokens: {
1353
+ "next_token" => "next_token"
1354
+ }
1355
+ )
1356
+ end)
1357
+
1142
1358
  api.add_operation(:start_dev_environment, Seahorse::Model::Operation.new.tap do |o|
1143
1359
  o.name = "StartDevEnvironment"
1144
1360
  o.http_method = "PUT"
@@ -1167,6 +1383,20 @@ module Aws::CodeCatalyst
1167
1383
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1168
1384
  end)
1169
1385
 
1386
+ api.add_operation(:start_workflow_run, Seahorse::Model::Operation.new.tap do |o|
1387
+ o.name = "StartWorkflowRun"
1388
+ o.http_method = "PUT"
1389
+ o.http_request_uri = "/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns"
1390
+ o.input = Shapes::ShapeRef.new(shape: StartWorkflowRunRequest)
1391
+ o.output = Shapes::ShapeRef.new(shape: StartWorkflowRunResponse)
1392
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1393
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1394
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1395
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1396
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1397
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1398
+ end)
1399
+
1170
1400
  api.add_operation(:stop_dev_environment, Seahorse::Model::Operation.new.tap do |o|
1171
1401
  o.name = "StopDevEnvironment"
1172
1402
  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