aws-sdk-codepipeline 1.68.0 → 1.70.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -51,6 +51,7 @@ module Aws::CodePipeline
51
51
  ActionRunOrder = Shapes::IntegerShape.new(name: 'ActionRunOrder')
52
52
  ActionState = Shapes::StructureShape.new(name: 'ActionState')
53
53
  ActionStateList = Shapes::ListShape.new(name: 'ActionStateList')
54
+ ActionTimeout = Shapes::IntegerShape.new(name: 'ActionTimeout')
54
55
  ActionType = Shapes::StructureShape.new(name: 'ActionType')
55
56
  ActionTypeAlreadyExistsException = Shapes::StructureShape.new(name: 'ActionTypeAlreadyExistsException')
56
57
  ActionTypeArtifactDetails = Shapes::StructureShape.new(name: 'ActionTypeArtifactDetails')
@@ -97,6 +98,7 @@ module Aws::CodePipeline
97
98
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
98
99
  Code = Shapes::StringShape.new(name: 'Code')
99
100
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
101
+ ConcurrentPipelineExecutionsLimitExceededException = Shapes::StructureShape.new(name: 'ConcurrentPipelineExecutionsLimitExceededException')
100
102
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
101
103
  ContinuationToken = Shapes::StringShape.new(name: 'ContinuationToken')
102
104
  CreateCustomActionTypeInput = Shapes::StructureShape.new(name: 'CreateCustomActionTypeInput')
@@ -122,6 +124,7 @@ module Aws::CodePipeline
122
124
  ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
123
125
  ExecutionDetails = Shapes::StructureShape.new(name: 'ExecutionDetails')
124
126
  ExecutionId = Shapes::StringShape.new(name: 'ExecutionId')
127
+ ExecutionMode = Shapes::StringShape.new(name: 'ExecutionMode')
125
128
  ExecutionSummary = Shapes::StringShape.new(name: 'ExecutionSummary')
126
129
  ExecutionTrigger = Shapes::StructureShape.new(name: 'ExecutionTrigger')
127
130
  ExecutorConfiguration = Shapes::StructureShape.new(name: 'ExecutorConfiguration')
@@ -142,7 +145,17 @@ module Aws::CodePipeline
142
145
  GetPipelineStateOutput = Shapes::StructureShape.new(name: 'GetPipelineStateOutput')
143
146
  GetThirdPartyJobDetailsInput = Shapes::StructureShape.new(name: 'GetThirdPartyJobDetailsInput')
144
147
  GetThirdPartyJobDetailsOutput = Shapes::StructureShape.new(name: 'GetThirdPartyJobDetailsOutput')
148
+ GitBranchFilterCriteria = Shapes::StructureShape.new(name: 'GitBranchFilterCriteria')
149
+ GitBranchNamePattern = Shapes::StringShape.new(name: 'GitBranchNamePattern')
150
+ GitBranchPatternList = Shapes::ListShape.new(name: 'GitBranchPatternList')
145
151
  GitConfiguration = Shapes::StructureShape.new(name: 'GitConfiguration')
152
+ GitFilePathFilterCriteria = Shapes::StructureShape.new(name: 'GitFilePathFilterCriteria')
153
+ GitFilePathPattern = Shapes::StringShape.new(name: 'GitFilePathPattern')
154
+ GitFilePathPatternList = Shapes::ListShape.new(name: 'GitFilePathPatternList')
155
+ GitPullRequestEventType = Shapes::StringShape.new(name: 'GitPullRequestEventType')
156
+ GitPullRequestEventTypeList = Shapes::ListShape.new(name: 'GitPullRequestEventTypeList')
157
+ GitPullRequestFilter = Shapes::StructureShape.new(name: 'GitPullRequestFilter')
158
+ GitPullRequestFilterList = Shapes::ListShape.new(name: 'GitPullRequestFilterList')
146
159
  GitPushFilter = Shapes::StructureShape.new(name: 'GitPushFilter')
147
160
  GitPushFilterList = Shapes::ListShape.new(name: 'GitPushFilterList')
148
161
  GitTagFilterCriteria = Shapes::StructureShape.new(name: 'GitTagFilterCriteria')
@@ -179,6 +192,7 @@ module Aws::CodePipeline
179
192
  LastChangedAt = Shapes::TimestampShape.new(name: 'LastChangedAt')
180
193
  LastChangedBy = Shapes::StringShape.new(name: 'LastChangedBy')
181
194
  LastUpdatedBy = Shapes::StringShape.new(name: 'LastUpdatedBy')
195
+ LatestInPipelineExecutionFilter = Shapes::StructureShape.new(name: 'LatestInPipelineExecutionFilter')
182
196
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
183
197
  ListActionExecutionsInput = Shapes::StructureShape.new(name: 'ListActionExecutionsInput')
184
198
  ListActionExecutionsOutput = Shapes::StructureShape.new(name: 'ListActionExecutionsOutput')
@@ -295,6 +309,7 @@ module Aws::CodePipeline
295
309
  StageContext = Shapes::StructureShape.new(name: 'StageContext')
296
310
  StageDeclaration = Shapes::StructureShape.new(name: 'StageDeclaration')
297
311
  StageExecution = Shapes::StructureShape.new(name: 'StageExecution')
312
+ StageExecutionList = Shapes::ListShape.new(name: 'StageExecutionList')
298
313
  StageExecutionStatus = Shapes::StringShape.new(name: 'StageExecutionStatus')
299
314
  StageName = Shapes::StringShape.new(name: 'StageName')
300
315
  StageNotFoundException = Shapes::StructureShape.new(name: 'StageNotFoundException')
@@ -305,6 +320,7 @@ module Aws::CodePipeline
305
320
  StageTransitionType = Shapes::StringShape.new(name: 'StageTransitionType')
306
321
  StartPipelineExecutionInput = Shapes::StructureShape.new(name: 'StartPipelineExecutionInput')
307
322
  StartPipelineExecutionOutput = Shapes::StructureShape.new(name: 'StartPipelineExecutionOutput')
323
+ StartTimeRange = Shapes::StringShape.new(name: 'StartTimeRange')
308
324
  StopExecutionTrigger = Shapes::StructureShape.new(name: 'StopExecutionTrigger')
309
325
  StopPipelineExecutionInput = Shapes::StructureShape.new(name: 'StopPipelineExecutionInput')
310
326
  StopPipelineExecutionOutput = Shapes::StructureShape.new(name: 'StopPipelineExecutionOutput')
@@ -403,6 +419,7 @@ module Aws::CodePipeline
403
419
  ActionDeclaration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
404
420
  ActionDeclaration.add_member(:region, Shapes::ShapeRef.new(shape: AWSRegionName, location_name: "region"))
405
421
  ActionDeclaration.add_member(:namespace, Shapes::ShapeRef.new(shape: ActionNamespace, location_name: "namespace"))
422
+ ActionDeclaration.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: ActionTimeout, location_name: "timeoutInMinutes"))
406
423
  ActionDeclaration.struct_class = Types::ActionDeclaration
407
424
 
408
425
  ActionExecution.add_member(:action_execution_id, Shapes::ShapeRef.new(shape: ActionExecutionId, location_name: "actionExecutionId"))
@@ -424,6 +441,7 @@ module Aws::CodePipeline
424
441
  ActionExecutionDetail.add_member(:action_name, Shapes::ShapeRef.new(shape: ActionName, location_name: "actionName"))
425
442
  ActionExecutionDetail.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
426
443
  ActionExecutionDetail.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
444
+ ActionExecutionDetail.add_member(:updated_by, Shapes::ShapeRef.new(shape: LastUpdatedBy, location_name: "updatedBy"))
427
445
  ActionExecutionDetail.add_member(:status, Shapes::ShapeRef.new(shape: ActionExecutionStatus, location_name: "status"))
428
446
  ActionExecutionDetail.add_member(:input, Shapes::ShapeRef.new(shape: ActionExecutionInput, location_name: "input"))
429
447
  ActionExecutionDetail.add_member(:output, Shapes::ShapeRef.new(shape: ActionExecutionOutput, location_name: "output"))
@@ -432,6 +450,7 @@ module Aws::CodePipeline
432
450
  ActionExecutionDetailList.member = Shapes::ShapeRef.new(shape: ActionExecutionDetail)
433
451
 
434
452
  ActionExecutionFilter.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
453
+ ActionExecutionFilter.add_member(:latest_in_pipeline_execution, Shapes::ShapeRef.new(shape: LatestInPipelineExecutionFilter, location_name: "latestInPipelineExecution"))
435
454
  ActionExecutionFilter.struct_class = Types::ActionExecutionFilter
436
455
 
437
456
  ActionExecutionInput.add_member(:action_type_id, Shapes::ShapeRef.new(shape: ActionTypeId, location_name: "actionTypeId"))
@@ -451,6 +470,7 @@ module Aws::CodePipeline
451
470
  ActionExecutionResult.add_member(:external_execution_id, Shapes::ShapeRef.new(shape: ExternalExecutionId, location_name: "externalExecutionId"))
452
471
  ActionExecutionResult.add_member(:external_execution_summary, Shapes::ShapeRef.new(shape: ExternalExecutionSummary, location_name: "externalExecutionSummary"))
453
472
  ActionExecutionResult.add_member(:external_execution_url, Shapes::ShapeRef.new(shape: Url, location_name: "externalExecutionUrl"))
473
+ ActionExecutionResult.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "errorDetails"))
454
474
  ActionExecutionResult.struct_class = Types::ActionExecutionResult
455
475
 
456
476
  ActionNotFoundException.struct_class = Types::ActionNotFoundException
@@ -593,6 +613,9 @@ module Aws::CodePipeline
593
613
  ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
594
614
  ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
595
615
 
616
+ ConcurrentPipelineExecutionsLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
617
+ ConcurrentPipelineExecutionsLimitExceededException.struct_class = Types::ConcurrentPipelineExecutionsLimitExceededException
618
+
596
619
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
597
620
  ConflictException.struct_class = Types::ConflictException
598
621
 
@@ -729,11 +752,35 @@ module Aws::CodePipeline
729
752
  GetThirdPartyJobDetailsOutput.add_member(:job_details, Shapes::ShapeRef.new(shape: ThirdPartyJobDetails, location_name: "jobDetails"))
730
753
  GetThirdPartyJobDetailsOutput.struct_class = Types::GetThirdPartyJobDetailsOutput
731
754
 
755
+ GitBranchFilterCriteria.add_member(:includes, Shapes::ShapeRef.new(shape: GitBranchPatternList, location_name: "includes"))
756
+ GitBranchFilterCriteria.add_member(:excludes, Shapes::ShapeRef.new(shape: GitBranchPatternList, location_name: "excludes"))
757
+ GitBranchFilterCriteria.struct_class = Types::GitBranchFilterCriteria
758
+
759
+ GitBranchPatternList.member = Shapes::ShapeRef.new(shape: GitBranchNamePattern)
760
+
732
761
  GitConfiguration.add_member(:source_action_name, Shapes::ShapeRef.new(shape: ActionName, required: true, location_name: "sourceActionName"))
733
762
  GitConfiguration.add_member(:push, Shapes::ShapeRef.new(shape: GitPushFilterList, location_name: "push"))
763
+ GitConfiguration.add_member(:pull_request, Shapes::ShapeRef.new(shape: GitPullRequestFilterList, location_name: "pullRequest"))
734
764
  GitConfiguration.struct_class = Types::GitConfiguration
735
765
 
766
+ GitFilePathFilterCriteria.add_member(:includes, Shapes::ShapeRef.new(shape: GitFilePathPatternList, location_name: "includes"))
767
+ GitFilePathFilterCriteria.add_member(:excludes, Shapes::ShapeRef.new(shape: GitFilePathPatternList, location_name: "excludes"))
768
+ GitFilePathFilterCriteria.struct_class = Types::GitFilePathFilterCriteria
769
+
770
+ GitFilePathPatternList.member = Shapes::ShapeRef.new(shape: GitFilePathPattern)
771
+
772
+ GitPullRequestEventTypeList.member = Shapes::ShapeRef.new(shape: GitPullRequestEventType)
773
+
774
+ GitPullRequestFilter.add_member(:events, Shapes::ShapeRef.new(shape: GitPullRequestEventTypeList, location_name: "events"))
775
+ GitPullRequestFilter.add_member(:branches, Shapes::ShapeRef.new(shape: GitBranchFilterCriteria, location_name: "branches"))
776
+ GitPullRequestFilter.add_member(:file_paths, Shapes::ShapeRef.new(shape: GitFilePathFilterCriteria, location_name: "filePaths"))
777
+ GitPullRequestFilter.struct_class = Types::GitPullRequestFilter
778
+
779
+ GitPullRequestFilterList.member = Shapes::ShapeRef.new(shape: GitPullRequestFilter)
780
+
736
781
  GitPushFilter.add_member(:tags, Shapes::ShapeRef.new(shape: GitTagFilterCriteria, location_name: "tags"))
782
+ GitPushFilter.add_member(:branches, Shapes::ShapeRef.new(shape: GitBranchFilterCriteria, location_name: "branches"))
783
+ GitPushFilter.add_member(:file_paths, Shapes::ShapeRef.new(shape: GitFilePathFilterCriteria, location_name: "filePaths"))
737
784
  GitPushFilter.struct_class = Types::GitPushFilter
738
785
 
739
786
  GitPushFilterList.member = Shapes::ShapeRef.new(shape: GitPushFilter)
@@ -811,6 +858,10 @@ module Aws::CodePipeline
811
858
  LambdaExecutorConfiguration.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: LambdaFunctionArn, required: true, location_name: "lambdaFunctionArn"))
812
859
  LambdaExecutorConfiguration.struct_class = Types::LambdaExecutorConfiguration
813
860
 
861
+ LatestInPipelineExecutionFilter.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, required: true, location_name: "pipelineExecutionId"))
862
+ LatestInPipelineExecutionFilter.add_member(:start_time_range, Shapes::ShapeRef.new(shape: StartTimeRange, required: true, location_name: "startTimeRange"))
863
+ LatestInPipelineExecutionFilter.struct_class = Types::LatestInPipelineExecutionFilter
864
+
814
865
  LimitExceededException.struct_class = Types::LimitExceededException
815
866
 
816
867
  ListActionExecutionsInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
@@ -901,9 +952,10 @@ module Aws::CodePipeline
901
952
  PipelineDeclaration.add_member(:artifact_stores, Shapes::ShapeRef.new(shape: ArtifactStoreMap, location_name: "artifactStores"))
902
953
  PipelineDeclaration.add_member(:stages, Shapes::ShapeRef.new(shape: PipelineStageDeclarationList, required: true, location_name: "stages"))
903
954
  PipelineDeclaration.add_member(:version, Shapes::ShapeRef.new(shape: PipelineVersion, location_name: "version"))
955
+ PipelineDeclaration.add_member(:execution_mode, Shapes::ShapeRef.new(shape: ExecutionMode, location_name: "executionMode"))
904
956
  PipelineDeclaration.add_member(:pipeline_type, Shapes::ShapeRef.new(shape: PipelineType, location_name: "pipelineType"))
905
- PipelineDeclaration.add_member(:triggers, Shapes::ShapeRef.new(shape: PipelineTriggerDeclarationList, location_name: "triggers"))
906
957
  PipelineDeclaration.add_member(:variables, Shapes::ShapeRef.new(shape: PipelineVariableDeclarationList, location_name: "variables"))
958
+ PipelineDeclaration.add_member(:triggers, Shapes::ShapeRef.new(shape: PipelineTriggerDeclarationList, location_name: "triggers"))
907
959
  PipelineDeclaration.struct_class = Types::PipelineDeclaration
908
960
 
909
961
  PipelineExecution.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "pipelineName"))
@@ -912,8 +964,9 @@ module Aws::CodePipeline
912
964
  PipelineExecution.add_member(:status, Shapes::ShapeRef.new(shape: PipelineExecutionStatus, location_name: "status"))
913
965
  PipelineExecution.add_member(:status_summary, Shapes::ShapeRef.new(shape: PipelineExecutionStatusSummary, location_name: "statusSummary"))
914
966
  PipelineExecution.add_member(:artifact_revisions, Shapes::ShapeRef.new(shape: ArtifactRevisionList, location_name: "artifactRevisions"))
915
- PipelineExecution.add_member(:trigger, Shapes::ShapeRef.new(shape: ExecutionTrigger, location_name: "trigger"))
916
967
  PipelineExecution.add_member(:variables, Shapes::ShapeRef.new(shape: ResolvedPipelineVariableList, location_name: "variables"))
968
+ PipelineExecution.add_member(:trigger, Shapes::ShapeRef.new(shape: ExecutionTrigger, location_name: "trigger"))
969
+ PipelineExecution.add_member(:execution_mode, Shapes::ShapeRef.new(shape: ExecutionMode, location_name: "executionMode"))
917
970
  PipelineExecution.struct_class = Types::PipelineExecution
918
971
 
919
972
  PipelineExecutionNotFoundException.struct_class = Types::PipelineExecutionNotFoundException
@@ -928,6 +981,7 @@ module Aws::CodePipeline
928
981
  PipelineExecutionSummary.add_member(:source_revisions, Shapes::ShapeRef.new(shape: SourceRevisionList, location_name: "sourceRevisions"))
929
982
  PipelineExecutionSummary.add_member(:trigger, Shapes::ShapeRef.new(shape: ExecutionTrigger, location_name: "trigger"))
930
983
  PipelineExecutionSummary.add_member(:stop_trigger, Shapes::ShapeRef.new(shape: StopExecutionTrigger, location_name: "stopTrigger"))
984
+ PipelineExecutionSummary.add_member(:execution_mode, Shapes::ShapeRef.new(shape: ExecutionMode, location_name: "executionMode"))
931
985
  PipelineExecutionSummary.struct_class = Types::PipelineExecutionSummary
932
986
 
933
987
  PipelineExecutionSummaryList.member = Shapes::ShapeRef.new(shape: PipelineExecutionSummary)
@@ -949,6 +1003,7 @@ module Aws::CodePipeline
949
1003
  PipelineSummary.add_member(:name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "name"))
950
1004
  PipelineSummary.add_member(:version, Shapes::ShapeRef.new(shape: PipelineVersion, location_name: "version"))
951
1005
  PipelineSummary.add_member(:pipeline_type, Shapes::ShapeRef.new(shape: PipelineType, location_name: "pipelineType"))
1006
+ PipelineSummary.add_member(:execution_mode, Shapes::ShapeRef.new(shape: ExecutionMode, location_name: "executionMode"))
952
1007
  PipelineSummary.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "created"))
953
1008
  PipelineSummary.add_member(:updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updated"))
954
1009
  PipelineSummary.struct_class = Types::PipelineSummary
@@ -1113,12 +1168,15 @@ module Aws::CodePipeline
1113
1168
  StageExecution.add_member(:status, Shapes::ShapeRef.new(shape: StageExecutionStatus, required: true, location_name: "status"))
1114
1169
  StageExecution.struct_class = Types::StageExecution
1115
1170
 
1171
+ StageExecutionList.member = Shapes::ShapeRef.new(shape: StageExecution)
1172
+
1116
1173
  StageNotFoundException.struct_class = Types::StageNotFoundException
1117
1174
 
1118
1175
  StageNotRetryableException.struct_class = Types::StageNotRetryableException
1119
1176
 
1120
1177
  StageState.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, location_name: "stageName"))
1121
1178
  StageState.add_member(:inbound_execution, Shapes::ShapeRef.new(shape: StageExecution, location_name: "inboundExecution"))
1179
+ StageState.add_member(:inbound_executions, Shapes::ShapeRef.new(shape: StageExecutionList, location_name: "inboundExecutions"))
1122
1180
  StageState.add_member(:inbound_transition_state, Shapes::ShapeRef.new(shape: TransitionState, location_name: "inboundTransitionState"))
1123
1181
  StageState.add_member(:action_states, Shapes::ShapeRef.new(shape: ActionStateList, location_name: "actionStates"))
1124
1182
  StageState.add_member(:latest_execution, Shapes::ShapeRef.new(shape: StageExecution, location_name: "latestExecution"))
@@ -1671,6 +1729,7 @@ module Aws::CodePipeline
1671
1729
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1672
1730
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1673
1731
  o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
1732
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentPipelineExecutionsLimitExceededException)
1674
1733
  end)
1675
1734
 
1676
1735
  api.add_operation(:stop_pipeline_execution, Seahorse::Model::Operation.new.tap do |o|
@@ -32,6 +32,7 @@ module Aws::CodePipeline
32
32
  # * {ActionTypeNotFoundException}
33
33
  # * {ApprovalAlreadyCompletedException}
34
34
  # * {ConcurrentModificationException}
35
+ # * {ConcurrentPipelineExecutionsLimitExceededException}
35
36
  # * {ConflictException}
36
37
  # * {DuplicatedStopRequestException}
37
38
  # * {InvalidActionDeclarationException}
@@ -126,6 +127,21 @@ module Aws::CodePipeline
126
127
  end
127
128
  end
128
129
 
130
+ class ConcurrentPipelineExecutionsLimitExceededException < ServiceError
131
+
132
+ # @param [Seahorse::Client::RequestContext] context
133
+ # @param [String] message
134
+ # @param [Aws::CodePipeline::Types::ConcurrentPipelineExecutionsLimitExceededException] data
135
+ def initialize(context, message, data = Aws::EmptyStructure.new)
136
+ super(context, message, data)
137
+ end
138
+
139
+ # @return [String]
140
+ def message
141
+ @message || @data[:message]
142
+ end
143
+ end
144
+
129
145
  class ConflictException < ServiceError
130
146
 
131
147
  # @param [Seahorse::Client::RequestContext] context