aws-sdk-codepipeline 1.77.0 → 1.78.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.
@@ -89,6 +89,7 @@ module Aws::CodePipeline
89
89
  ArtifactStoreLocation = Shapes::StringShape.new(name: 'ArtifactStoreLocation')
90
90
  ArtifactStoreMap = Shapes::MapShape.new(name: 'ArtifactStoreMap')
91
91
  ArtifactStoreType = Shapes::StringShape.new(name: 'ArtifactStoreType')
92
+ BeforeEntryConditions = Shapes::StructureShape.new(name: 'BeforeEntryConditions')
92
93
  BlockerDeclaration = Shapes::StructureShape.new(name: 'BlockerDeclaration')
93
94
  BlockerName = Shapes::StringShape.new(name: 'BlockerName')
94
95
  BlockerType = Shapes::StringShape.new(name: 'BlockerType')
@@ -99,6 +100,14 @@ module Aws::CodePipeline
99
100
  Code = Shapes::StringShape.new(name: 'Code')
100
101
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
101
102
  ConcurrentPipelineExecutionsLimitExceededException = Shapes::StructureShape.new(name: 'ConcurrentPipelineExecutionsLimitExceededException')
103
+ Condition = Shapes::StructureShape.new(name: 'Condition')
104
+ ConditionExecution = Shapes::StructureShape.new(name: 'ConditionExecution')
105
+ ConditionExecutionStatus = Shapes::StringShape.new(name: 'ConditionExecutionStatus')
106
+ ConditionList = Shapes::ListShape.new(name: 'ConditionList')
107
+ ConditionNotOverridableException = Shapes::StructureShape.new(name: 'ConditionNotOverridableException')
108
+ ConditionState = Shapes::StructureShape.new(name: 'ConditionState')
109
+ ConditionStateList = Shapes::ListShape.new(name: 'ConditionStateList')
110
+ ConditionType = Shapes::StringShape.new(name: 'ConditionType')
102
111
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
103
112
  ContinuationToken = Shapes::StringShape.new(name: 'ContinuationToken')
104
113
  CreateCustomActionTypeInput = Shapes::StructureShape.new(name: 'CreateCustomActionTypeInput')
@@ -204,6 +213,10 @@ module Aws::CodePipeline
204
213
  ListPipelineExecutionsOutput = Shapes::StructureShape.new(name: 'ListPipelineExecutionsOutput')
205
214
  ListPipelinesInput = Shapes::StructureShape.new(name: 'ListPipelinesInput')
206
215
  ListPipelinesOutput = Shapes::StructureShape.new(name: 'ListPipelinesOutput')
216
+ ListRuleExecutionsInput = Shapes::StructureShape.new(name: 'ListRuleExecutionsInput')
217
+ ListRuleExecutionsOutput = Shapes::StructureShape.new(name: 'ListRuleExecutionsOutput')
218
+ ListRuleTypesInput = Shapes::StructureShape.new(name: 'ListRuleTypesInput')
219
+ ListRuleTypesOutput = Shapes::StructureShape.new(name: 'ListRuleTypesOutput')
207
220
  ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
208
221
  ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
209
222
  ListWebhookItem = Shapes::StructureShape.new(name: 'ListWebhookItem')
@@ -227,6 +240,7 @@ module Aws::CodePipeline
227
240
  OutputVariablesMap = Shapes::MapShape.new(name: 'OutputVariablesMap')
228
241
  OutputVariablesSizeExceededException = Shapes::StructureShape.new(name: 'OutputVariablesSizeExceededException')
229
242
  OutputVariablesValue = Shapes::StringShape.new(name: 'OutputVariablesValue')
243
+ OverrideStageConditionInput = Shapes::StructureShape.new(name: 'OverrideStageConditionInput')
230
244
  Percentage = Shapes::IntegerShape.new(name: 'Percentage')
231
245
  PipelineArn = Shapes::StringShape.new(name: 'PipelineArn')
232
246
  PipelineContext = Shapes::StructureShape.new(name: 'PipelineContext')
@@ -287,6 +301,7 @@ module Aws::CodePipeline
287
301
  ResolvedActionConfigurationMap = Shapes::MapShape.new(name: 'ResolvedActionConfigurationMap')
288
302
  ResolvedPipelineVariable = Shapes::StructureShape.new(name: 'ResolvedPipelineVariable')
289
303
  ResolvedPipelineVariableList = Shapes::ListShape.new(name: 'ResolvedPipelineVariableList')
304
+ ResolvedRuleConfigurationMap = Shapes::MapShape.new(name: 'ResolvedRuleConfigurationMap')
290
305
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
291
306
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
292
307
  Result = Shapes::StringShape.new(name: 'Result')
@@ -298,6 +313,36 @@ module Aws::CodePipeline
298
313
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
299
314
  RollbackStageInput = Shapes::StructureShape.new(name: 'RollbackStageInput')
300
315
  RollbackStageOutput = Shapes::StructureShape.new(name: 'RollbackStageOutput')
316
+ RuleCategory = Shapes::StringShape.new(name: 'RuleCategory')
317
+ RuleConfigurationKey = Shapes::StringShape.new(name: 'RuleConfigurationKey')
318
+ RuleConfigurationMap = Shapes::MapShape.new(name: 'RuleConfigurationMap')
319
+ RuleConfigurationProperty = Shapes::StructureShape.new(name: 'RuleConfigurationProperty')
320
+ RuleConfigurationPropertyList = Shapes::ListShape.new(name: 'RuleConfigurationPropertyList')
321
+ RuleConfigurationPropertyType = Shapes::StringShape.new(name: 'RuleConfigurationPropertyType')
322
+ RuleConfigurationValue = Shapes::StringShape.new(name: 'RuleConfigurationValue')
323
+ RuleDeclaration = Shapes::StructureShape.new(name: 'RuleDeclaration')
324
+ RuleDeclarationList = Shapes::ListShape.new(name: 'RuleDeclarationList')
325
+ RuleExecution = Shapes::StructureShape.new(name: 'RuleExecution')
326
+ RuleExecutionDetail = Shapes::StructureShape.new(name: 'RuleExecutionDetail')
327
+ RuleExecutionDetailList = Shapes::ListShape.new(name: 'RuleExecutionDetailList')
328
+ RuleExecutionFilter = Shapes::StructureShape.new(name: 'RuleExecutionFilter')
329
+ RuleExecutionId = Shapes::StringShape.new(name: 'RuleExecutionId')
330
+ RuleExecutionInput = Shapes::StructureShape.new(name: 'RuleExecutionInput')
331
+ RuleExecutionOutput = Shapes::StructureShape.new(name: 'RuleExecutionOutput')
332
+ RuleExecutionResult = Shapes::StructureShape.new(name: 'RuleExecutionResult')
333
+ RuleExecutionStatus = Shapes::StringShape.new(name: 'RuleExecutionStatus')
334
+ RuleExecutionToken = Shapes::StringShape.new(name: 'RuleExecutionToken')
335
+ RuleName = Shapes::StringShape.new(name: 'RuleName')
336
+ RuleOwner = Shapes::StringShape.new(name: 'RuleOwner')
337
+ RuleProvider = Shapes::StringShape.new(name: 'RuleProvider')
338
+ RuleRevision = Shapes::StructureShape.new(name: 'RuleRevision')
339
+ RuleState = Shapes::StructureShape.new(name: 'RuleState')
340
+ RuleStateList = Shapes::ListShape.new(name: 'RuleStateList')
341
+ RuleTimeout = Shapes::IntegerShape.new(name: 'RuleTimeout')
342
+ RuleType = Shapes::StructureShape.new(name: 'RuleType')
343
+ RuleTypeId = Shapes::StructureShape.new(name: 'RuleTypeId')
344
+ RuleTypeList = Shapes::ListShape.new(name: 'RuleTypeList')
345
+ RuleTypeSettings = Shapes::StructureShape.new(name: 'RuleTypeSettings')
301
346
  S3ArtifactLocation = Shapes::StructureShape.new(name: 'S3ArtifactLocation')
302
347
  S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
303
348
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
@@ -314,6 +359,8 @@ module Aws::CodePipeline
314
359
  SourceRevisionType = Shapes::StringShape.new(name: 'SourceRevisionType')
315
360
  StageActionDeclarationList = Shapes::ListShape.new(name: 'StageActionDeclarationList')
316
361
  StageBlockerDeclarationList = Shapes::ListShape.new(name: 'StageBlockerDeclarationList')
362
+ StageConditionState = Shapes::StructureShape.new(name: 'StageConditionState')
363
+ StageConditionsExecution = Shapes::StructureShape.new(name: 'StageConditionsExecution')
317
364
  StageContext = Shapes::StructureShape.new(name: 'StageContext')
318
365
  StageDeclaration = Shapes::StructureShape.new(name: 'StageDeclaration')
319
366
  StageExecution = Shapes::StructureShape.new(name: 'StageExecution')
@@ -335,6 +382,7 @@ module Aws::CodePipeline
335
382
  StopPipelineExecutionReason = Shapes::StringShape.new(name: 'StopPipelineExecutionReason')
336
383
  String = Shapes::StringShape.new(name: 'String')
337
384
  SucceededInStageFilter = Shapes::StructureShape.new(name: 'SucceededInStageFilter')
385
+ SuccessConditions = Shapes::StructureShape.new(name: 'SuccessConditions')
338
386
  Tag = Shapes::StructureShape.new(name: 'Tag')
339
387
  TagKey = Shapes::StringShape.new(name: 'TagKey')
340
388
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -616,6 +664,9 @@ module Aws::CodePipeline
616
664
  ArtifactStoreMap.key = Shapes::ShapeRef.new(shape: AWSRegionName)
617
665
  ArtifactStoreMap.value = Shapes::ShapeRef.new(shape: ArtifactStore)
618
666
 
667
+ BeforeEntryConditions.add_member(:conditions, Shapes::ShapeRef.new(shape: ConditionList, required: true, location_name: "conditions"))
668
+ BeforeEntryConditions.struct_class = Types::BeforeEntryConditions
669
+
619
670
  BlockerDeclaration.add_member(:name, Shapes::ShapeRef.new(shape: BlockerName, required: true, location_name: "name"))
620
671
  BlockerDeclaration.add_member(:type, Shapes::ShapeRef.new(shape: BlockerType, required: true, location_name: "type"))
621
672
  BlockerDeclaration.struct_class = Types::BlockerDeclaration
@@ -626,6 +677,26 @@ module Aws::CodePipeline
626
677
  ConcurrentPipelineExecutionsLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
627
678
  ConcurrentPipelineExecutionsLimitExceededException.struct_class = Types::ConcurrentPipelineExecutionsLimitExceededException
628
679
 
680
+ Condition.add_member(:result, Shapes::ShapeRef.new(shape: Result, location_name: "result"))
681
+ Condition.add_member(:rules, Shapes::ShapeRef.new(shape: RuleDeclarationList, location_name: "rules"))
682
+ Condition.struct_class = Types::Condition
683
+
684
+ ConditionExecution.add_member(:status, Shapes::ShapeRef.new(shape: ConditionExecutionStatus, location_name: "status"))
685
+ ConditionExecution.add_member(:summary, Shapes::ShapeRef.new(shape: ExecutionSummary, location_name: "summary"))
686
+ ConditionExecution.add_member(:last_status_change, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastStatusChange"))
687
+ ConditionExecution.struct_class = Types::ConditionExecution
688
+
689
+ ConditionList.member = Shapes::ShapeRef.new(shape: Condition)
690
+
691
+ ConditionNotOverridableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
692
+ ConditionNotOverridableException.struct_class = Types::ConditionNotOverridableException
693
+
694
+ ConditionState.add_member(:latest_execution, Shapes::ShapeRef.new(shape: ConditionExecution, location_name: "latestExecution"))
695
+ ConditionState.add_member(:rule_states, Shapes::ShapeRef.new(shape: RuleStateList, location_name: "ruleStates"))
696
+ ConditionState.struct_class = Types::ConditionState
697
+
698
+ ConditionStateList.member = Shapes::ShapeRef.new(shape: ConditionState)
699
+
629
700
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
630
701
  ConflictException.struct_class = Types::ConflictException
631
702
 
@@ -711,6 +782,7 @@ module Aws::CodePipeline
711
782
  ExecutorConfiguration.struct_class = Types::ExecutorConfiguration
712
783
 
713
784
  FailureConditions.add_member(:result, Shapes::ShapeRef.new(shape: Result, location_name: "result"))
785
+ FailureConditions.add_member(:conditions, Shapes::ShapeRef.new(shape: ConditionList, location_name: "conditions"))
714
786
  FailureConditions.struct_class = Types::FailureConditions
715
787
 
716
788
  FailureDetails.add_member(:type, Shapes::ShapeRef.new(shape: FailureType, required: true, location_name: "type"))
@@ -914,6 +986,23 @@ module Aws::CodePipeline
914
986
  ListPipelinesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
915
987
  ListPipelinesOutput.struct_class = Types::ListPipelinesOutput
916
988
 
989
+ ListRuleExecutionsInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
990
+ ListRuleExecutionsInput.add_member(:filter, Shapes::ShapeRef.new(shape: RuleExecutionFilter, location_name: "filter"))
991
+ ListRuleExecutionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
992
+ ListRuleExecutionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
993
+ ListRuleExecutionsInput.struct_class = Types::ListRuleExecutionsInput
994
+
995
+ ListRuleExecutionsOutput.add_member(:rule_execution_details, Shapes::ShapeRef.new(shape: RuleExecutionDetailList, location_name: "ruleExecutionDetails"))
996
+ ListRuleExecutionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
997
+ ListRuleExecutionsOutput.struct_class = Types::ListRuleExecutionsOutput
998
+
999
+ ListRuleTypesInput.add_member(:rule_owner_filter, Shapes::ShapeRef.new(shape: RuleOwner, location_name: "ruleOwnerFilter"))
1000
+ ListRuleTypesInput.add_member(:region_filter, Shapes::ShapeRef.new(shape: AWSRegionName, location_name: "regionFilter"))
1001
+ ListRuleTypesInput.struct_class = Types::ListRuleTypesInput
1002
+
1003
+ ListRuleTypesOutput.add_member(:rule_types, Shapes::ShapeRef.new(shape: RuleTypeList, required: true, location_name: "ruleTypes"))
1004
+ ListRuleTypesOutput.struct_class = Types::ListRuleTypesOutput
1005
+
917
1006
  ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
918
1007
  ListTagsForResourceInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
919
1008
  ListTagsForResourceInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
@@ -953,6 +1042,12 @@ module Aws::CodePipeline
953
1042
  OutputVariablesSizeExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
954
1043
  OutputVariablesSizeExceededException.struct_class = Types::OutputVariablesSizeExceededException
955
1044
 
1045
+ OverrideStageConditionInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
1046
+ OverrideStageConditionInput.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, required: true, location_name: "stageName"))
1047
+ OverrideStageConditionInput.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, required: true, location_name: "pipelineExecutionId"))
1048
+ OverrideStageConditionInput.add_member(:condition_type, Shapes::ShapeRef.new(shape: ConditionType, required: true, location_name: "conditionType"))
1049
+ OverrideStageConditionInput.struct_class = Types::OverrideStageConditionInput
1050
+
956
1051
  PipelineContext.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "pipelineName"))
957
1052
  PipelineContext.add_member(:stage, Shapes::ShapeRef.new(shape: StageContext, location_name: "stage"))
958
1053
  PipelineContext.add_member(:action, Shapes::ShapeRef.new(shape: ActionContext, location_name: "action"))
@@ -1146,6 +1241,9 @@ module Aws::CodePipeline
1146
1241
 
1147
1242
  ResolvedPipelineVariableList.member = Shapes::ShapeRef.new(shape: ResolvedPipelineVariable)
1148
1243
 
1244
+ ResolvedRuleConfigurationMap.key = Shapes::ShapeRef.new(shape: String)
1245
+ ResolvedRuleConfigurationMap.value = Shapes::ShapeRef.new(shape: String)
1246
+
1149
1247
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1150
1248
 
1151
1249
  RetryStageExecutionInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
@@ -1165,6 +1263,112 @@ module Aws::CodePipeline
1165
1263
  RollbackStageOutput.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, required: true, location_name: "pipelineExecutionId"))
1166
1264
  RollbackStageOutput.struct_class = Types::RollbackStageOutput
1167
1265
 
1266
+ RuleConfigurationMap.key = Shapes::ShapeRef.new(shape: RuleConfigurationKey)
1267
+ RuleConfigurationMap.value = Shapes::ShapeRef.new(shape: RuleConfigurationValue)
1268
+
1269
+ RuleConfigurationProperty.add_member(:name, Shapes::ShapeRef.new(shape: RuleConfigurationKey, required: true, location_name: "name"))
1270
+ RuleConfigurationProperty.add_member(:required, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "required"))
1271
+ RuleConfigurationProperty.add_member(:key, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "key"))
1272
+ RuleConfigurationProperty.add_member(:secret, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "secret"))
1273
+ RuleConfigurationProperty.add_member(:queryable, Shapes::ShapeRef.new(shape: Boolean, location_name: "queryable"))
1274
+ RuleConfigurationProperty.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1275
+ RuleConfigurationProperty.add_member(:type, Shapes::ShapeRef.new(shape: RuleConfigurationPropertyType, location_name: "type"))
1276
+ RuleConfigurationProperty.struct_class = Types::RuleConfigurationProperty
1277
+
1278
+ RuleConfigurationPropertyList.member = Shapes::ShapeRef.new(shape: RuleConfigurationProperty)
1279
+
1280
+ RuleDeclaration.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "name"))
1281
+ RuleDeclaration.add_member(:rule_type_id, Shapes::ShapeRef.new(shape: RuleTypeId, required: true, location_name: "ruleTypeId"))
1282
+ RuleDeclaration.add_member(:configuration, Shapes::ShapeRef.new(shape: RuleConfigurationMap, location_name: "configuration"))
1283
+ RuleDeclaration.add_member(:input_artifacts, Shapes::ShapeRef.new(shape: InputArtifactList, location_name: "inputArtifacts"))
1284
+ RuleDeclaration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
1285
+ RuleDeclaration.add_member(:region, Shapes::ShapeRef.new(shape: AWSRegionName, location_name: "region"))
1286
+ RuleDeclaration.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: RuleTimeout, location_name: "timeoutInMinutes"))
1287
+ RuleDeclaration.struct_class = Types::RuleDeclaration
1288
+
1289
+ RuleDeclarationList.member = Shapes::ShapeRef.new(shape: RuleDeclaration)
1290
+
1291
+ RuleExecution.add_member(:rule_execution_id, Shapes::ShapeRef.new(shape: RuleExecutionId, location_name: "ruleExecutionId"))
1292
+ RuleExecution.add_member(:status, Shapes::ShapeRef.new(shape: RuleExecutionStatus, location_name: "status"))
1293
+ RuleExecution.add_member(:summary, Shapes::ShapeRef.new(shape: ExecutionSummary, location_name: "summary"))
1294
+ RuleExecution.add_member(:last_status_change, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastStatusChange"))
1295
+ RuleExecution.add_member(:token, Shapes::ShapeRef.new(shape: RuleExecutionToken, location_name: "token"))
1296
+ RuleExecution.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: LastUpdatedBy, location_name: "lastUpdatedBy"))
1297
+ RuleExecution.add_member(:external_execution_id, Shapes::ShapeRef.new(shape: ExecutionId, location_name: "externalExecutionId"))
1298
+ RuleExecution.add_member(:external_execution_url, Shapes::ShapeRef.new(shape: Url, location_name: "externalExecutionUrl"))
1299
+ RuleExecution.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "errorDetails"))
1300
+ RuleExecution.struct_class = Types::RuleExecution
1301
+
1302
+ RuleExecutionDetail.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
1303
+ RuleExecutionDetail.add_member(:rule_execution_id, Shapes::ShapeRef.new(shape: RuleExecutionId, location_name: "ruleExecutionId"))
1304
+ RuleExecutionDetail.add_member(:pipeline_version, Shapes::ShapeRef.new(shape: PipelineVersion, location_name: "pipelineVersion"))
1305
+ RuleExecutionDetail.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, location_name: "stageName"))
1306
+ RuleExecutionDetail.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, location_name: "ruleName"))
1307
+ RuleExecutionDetail.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
1308
+ RuleExecutionDetail.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
1309
+ RuleExecutionDetail.add_member(:updated_by, Shapes::ShapeRef.new(shape: LastUpdatedBy, location_name: "updatedBy"))
1310
+ RuleExecutionDetail.add_member(:status, Shapes::ShapeRef.new(shape: RuleExecutionStatus, location_name: "status"))
1311
+ RuleExecutionDetail.add_member(:input, Shapes::ShapeRef.new(shape: RuleExecutionInput, location_name: "input"))
1312
+ RuleExecutionDetail.add_member(:output, Shapes::ShapeRef.new(shape: RuleExecutionOutput, location_name: "output"))
1313
+ RuleExecutionDetail.struct_class = Types::RuleExecutionDetail
1314
+
1315
+ RuleExecutionDetailList.member = Shapes::ShapeRef.new(shape: RuleExecutionDetail)
1316
+
1317
+ RuleExecutionFilter.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
1318
+ RuleExecutionFilter.add_member(:latest_in_pipeline_execution, Shapes::ShapeRef.new(shape: LatestInPipelineExecutionFilter, location_name: "latestInPipelineExecution"))
1319
+ RuleExecutionFilter.struct_class = Types::RuleExecutionFilter
1320
+
1321
+ RuleExecutionInput.add_member(:rule_type_id, Shapes::ShapeRef.new(shape: RuleTypeId, location_name: "ruleTypeId"))
1322
+ RuleExecutionInput.add_member(:configuration, Shapes::ShapeRef.new(shape: RuleConfigurationMap, location_name: "configuration"))
1323
+ RuleExecutionInput.add_member(:resolved_configuration, Shapes::ShapeRef.new(shape: ResolvedRuleConfigurationMap, location_name: "resolvedConfiguration"))
1324
+ RuleExecutionInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
1325
+ RuleExecutionInput.add_member(:region, Shapes::ShapeRef.new(shape: AWSRegionName, location_name: "region"))
1326
+ RuleExecutionInput.add_member(:input_artifacts, Shapes::ShapeRef.new(shape: ArtifactDetailList, location_name: "inputArtifacts"))
1327
+ RuleExecutionInput.struct_class = Types::RuleExecutionInput
1328
+
1329
+ RuleExecutionOutput.add_member(:execution_result, Shapes::ShapeRef.new(shape: RuleExecutionResult, location_name: "executionResult"))
1330
+ RuleExecutionOutput.struct_class = Types::RuleExecutionOutput
1331
+
1332
+ RuleExecutionResult.add_member(:external_execution_id, Shapes::ShapeRef.new(shape: ExternalExecutionId, location_name: "externalExecutionId"))
1333
+ RuleExecutionResult.add_member(:external_execution_summary, Shapes::ShapeRef.new(shape: ExternalExecutionSummary, location_name: "externalExecutionSummary"))
1334
+ RuleExecutionResult.add_member(:external_execution_url, Shapes::ShapeRef.new(shape: Url, location_name: "externalExecutionUrl"))
1335
+ RuleExecutionResult.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "errorDetails"))
1336
+ RuleExecutionResult.struct_class = Types::RuleExecutionResult
1337
+
1338
+ RuleRevision.add_member(:revision_id, Shapes::ShapeRef.new(shape: Revision, required: true, location_name: "revisionId"))
1339
+ RuleRevision.add_member(:revision_change_id, Shapes::ShapeRef.new(shape: RevisionChangeIdentifier, required: true, location_name: "revisionChangeId"))
1340
+ RuleRevision.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "created"))
1341
+ RuleRevision.struct_class = Types::RuleRevision
1342
+
1343
+ RuleState.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, location_name: "ruleName"))
1344
+ RuleState.add_member(:current_revision, Shapes::ShapeRef.new(shape: RuleRevision, location_name: "currentRevision"))
1345
+ RuleState.add_member(:latest_execution, Shapes::ShapeRef.new(shape: RuleExecution, location_name: "latestExecution"))
1346
+ RuleState.add_member(:entity_url, Shapes::ShapeRef.new(shape: Url, location_name: "entityUrl"))
1347
+ RuleState.add_member(:revision_url, Shapes::ShapeRef.new(shape: Url, location_name: "revisionUrl"))
1348
+ RuleState.struct_class = Types::RuleState
1349
+
1350
+ RuleStateList.member = Shapes::ShapeRef.new(shape: RuleState)
1351
+
1352
+ RuleType.add_member(:id, Shapes::ShapeRef.new(shape: RuleTypeId, required: true, location_name: "id"))
1353
+ RuleType.add_member(:settings, Shapes::ShapeRef.new(shape: RuleTypeSettings, location_name: "settings"))
1354
+ RuleType.add_member(:rule_configuration_properties, Shapes::ShapeRef.new(shape: RuleConfigurationPropertyList, location_name: "ruleConfigurationProperties"))
1355
+ RuleType.add_member(:input_artifact_details, Shapes::ShapeRef.new(shape: ArtifactDetails, required: true, location_name: "inputArtifactDetails"))
1356
+ RuleType.struct_class = Types::RuleType
1357
+
1358
+ RuleTypeId.add_member(:category, Shapes::ShapeRef.new(shape: RuleCategory, required: true, location_name: "category"))
1359
+ RuleTypeId.add_member(:owner, Shapes::ShapeRef.new(shape: RuleOwner, location_name: "owner"))
1360
+ RuleTypeId.add_member(:provider, Shapes::ShapeRef.new(shape: RuleProvider, required: true, location_name: "provider"))
1361
+ RuleTypeId.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
1362
+ RuleTypeId.struct_class = Types::RuleTypeId
1363
+
1364
+ RuleTypeList.member = Shapes::ShapeRef.new(shape: RuleType)
1365
+
1366
+ RuleTypeSettings.add_member(:third_party_configuration_url, Shapes::ShapeRef.new(shape: Url, location_name: "thirdPartyConfigurationUrl"))
1367
+ RuleTypeSettings.add_member(:entity_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "entityUrlTemplate"))
1368
+ RuleTypeSettings.add_member(:execution_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "executionUrlTemplate"))
1369
+ RuleTypeSettings.add_member(:revision_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "revisionUrlTemplate"))
1370
+ RuleTypeSettings.struct_class = Types::RuleTypeSettings
1371
+
1168
1372
  S3ArtifactLocation.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "bucketName"))
1169
1373
  S3ArtifactLocation.add_member(:object_key, Shapes::ShapeRef.new(shape: S3ObjectKey, required: true, location_name: "objectKey"))
1170
1374
  S3ArtifactLocation.struct_class = Types::S3ArtifactLocation
@@ -1192,6 +1396,14 @@ module Aws::CodePipeline
1192
1396
 
1193
1397
  StageBlockerDeclarationList.member = Shapes::ShapeRef.new(shape: BlockerDeclaration)
1194
1398
 
1399
+ StageConditionState.add_member(:latest_execution, Shapes::ShapeRef.new(shape: StageConditionsExecution, location_name: "latestExecution"))
1400
+ StageConditionState.add_member(:condition_states, Shapes::ShapeRef.new(shape: ConditionStateList, location_name: "conditionStates"))
1401
+ StageConditionState.struct_class = Types::StageConditionState
1402
+
1403
+ StageConditionsExecution.add_member(:status, Shapes::ShapeRef.new(shape: ConditionExecutionStatus, location_name: "status"))
1404
+ StageConditionsExecution.add_member(:summary, Shapes::ShapeRef.new(shape: ExecutionSummary, location_name: "summary"))
1405
+ StageConditionsExecution.struct_class = Types::StageConditionsExecution
1406
+
1195
1407
  StageContext.add_member(:name, Shapes::ShapeRef.new(shape: StageName, location_name: "name"))
1196
1408
  StageContext.struct_class = Types::StageContext
1197
1409
 
@@ -1199,6 +1411,8 @@ module Aws::CodePipeline
1199
1411
  StageDeclaration.add_member(:blockers, Shapes::ShapeRef.new(shape: StageBlockerDeclarationList, location_name: "blockers"))
1200
1412
  StageDeclaration.add_member(:actions, Shapes::ShapeRef.new(shape: StageActionDeclarationList, required: true, location_name: "actions"))
1201
1413
  StageDeclaration.add_member(:on_failure, Shapes::ShapeRef.new(shape: FailureConditions, location_name: "onFailure"))
1414
+ StageDeclaration.add_member(:on_success, Shapes::ShapeRef.new(shape: SuccessConditions, location_name: "onSuccess"))
1415
+ StageDeclaration.add_member(:before_entry, Shapes::ShapeRef.new(shape: BeforeEntryConditions, location_name: "beforeEntry"))
1202
1416
  StageDeclaration.struct_class = Types::StageDeclaration
1203
1417
 
1204
1418
  StageExecution.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, required: true, location_name: "pipelineExecutionId"))
@@ -1218,6 +1432,9 @@ module Aws::CodePipeline
1218
1432
  StageState.add_member(:inbound_transition_state, Shapes::ShapeRef.new(shape: TransitionState, location_name: "inboundTransitionState"))
1219
1433
  StageState.add_member(:action_states, Shapes::ShapeRef.new(shape: ActionStateList, location_name: "actionStates"))
1220
1434
  StageState.add_member(:latest_execution, Shapes::ShapeRef.new(shape: StageExecution, location_name: "latestExecution"))
1435
+ StageState.add_member(:before_entry_condition_state, Shapes::ShapeRef.new(shape: StageConditionState, location_name: "beforeEntryConditionState"))
1436
+ StageState.add_member(:on_success_condition_state, Shapes::ShapeRef.new(shape: StageConditionState, location_name: "onSuccessConditionState"))
1437
+ StageState.add_member(:on_failure_condition_state, Shapes::ShapeRef.new(shape: StageConditionState, location_name: "onFailureConditionState"))
1221
1438
  StageState.struct_class = Types::StageState
1222
1439
 
1223
1440
  StageStateList.member = Shapes::ShapeRef.new(shape: StageState)
@@ -1246,6 +1463,9 @@ module Aws::CodePipeline
1246
1463
  SucceededInStageFilter.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, location_name: "stageName"))
1247
1464
  SucceededInStageFilter.struct_class = Types::SucceededInStageFilter
1248
1465
 
1466
+ SuccessConditions.add_member(:conditions, Shapes::ShapeRef.new(shape: ConditionList, required: true, location_name: "conditions"))
1467
+ SuccessConditions.struct_class = Types::SuccessConditions
1468
+
1249
1469
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
1250
1470
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
1251
1471
  Tag.struct_class = Types::Tag
@@ -1599,6 +1819,34 @@ module Aws::CodePipeline
1599
1819
  )
1600
1820
  end)
1601
1821
 
1822
+ api.add_operation(:list_rule_executions, Seahorse::Model::Operation.new.tap do |o|
1823
+ o.name = "ListRuleExecutions"
1824
+ o.http_method = "POST"
1825
+ o.http_request_uri = "/"
1826
+ o.input = Shapes::ShapeRef.new(shape: ListRuleExecutionsInput)
1827
+ o.output = Shapes::ShapeRef.new(shape: ListRuleExecutionsOutput)
1828
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1829
+ o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
1830
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1831
+ o.errors << Shapes::ShapeRef.new(shape: PipelineExecutionNotFoundException)
1832
+ o[:pager] = Aws::Pager.new(
1833
+ limit_key: "max_results",
1834
+ tokens: {
1835
+ "next_token" => "next_token"
1836
+ }
1837
+ )
1838
+ end)
1839
+
1840
+ api.add_operation(:list_rule_types, Seahorse::Model::Operation.new.tap do |o|
1841
+ o.name = "ListRuleTypes"
1842
+ o.http_method = "POST"
1843
+ o.http_request_uri = "/"
1844
+ o.input = Shapes::ShapeRef.new(shape: ListRuleTypesInput)
1845
+ o.output = Shapes::ShapeRef.new(shape: ListRuleTypesOutput)
1846
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1847
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1848
+ end)
1849
+
1602
1850
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1603
1851
  o.name = "ListTagsForResource"
1604
1852
  o.http_method = "POST"
@@ -1633,6 +1881,21 @@ module Aws::CodePipeline
1633
1881
  )
1634
1882
  end)
1635
1883
 
1884
+ api.add_operation(:override_stage_condition, Seahorse::Model::Operation.new.tap do |o|
1885
+ o.name = "OverrideStageCondition"
1886
+ o.http_method = "POST"
1887
+ o.http_request_uri = "/"
1888
+ o.input = Shapes::ShapeRef.new(shape: OverrideStageConditionInput)
1889
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1890
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1891
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1892
+ o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
1893
+ o.errors << Shapes::ShapeRef.new(shape: StageNotFoundException)
1894
+ o.errors << Shapes::ShapeRef.new(shape: ConditionNotOverridableException)
1895
+ o.errors << Shapes::ShapeRef.new(shape: NotLatestPipelineExecutionException)
1896
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentPipelineExecutionsLimitExceededException)
1897
+ end)
1898
+
1636
1899
  api.add_operation(:poll_for_jobs, Seahorse::Model::Operation.new.tap do |o|
1637
1900
  o.name = "PollForJobs"
1638
1901
  o.http_method = "POST"
@@ -1663,6 +1926,7 @@ module Aws::CodePipeline
1663
1926
  o.errors << Shapes::ShapeRef.new(shape: StageNotFoundException)
1664
1927
  o.errors << Shapes::ShapeRef.new(shape: ActionNotFoundException)
1665
1928
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1929
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentPipelineExecutionsLimitExceededException)
1666
1930
  end)
1667
1931
 
1668
1932
  api.add_operation(:put_approval_result, Seahorse::Model::Operation.new.tap do |o|
@@ -1764,6 +2028,7 @@ module Aws::CodePipeline
1764
2028
  o.errors << Shapes::ShapeRef.new(shape: StageNotFoundException)
1765
2029
  o.errors << Shapes::ShapeRef.new(shape: StageNotRetryableException)
1766
2030
  o.errors << Shapes::ShapeRef.new(shape: NotLatestPipelineExecutionException)
2031
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentPipelineExecutionsLimitExceededException)
1767
2032
  end)
1768
2033
 
1769
2034
  api.add_operation(:rollback_stage, Seahorse::Model::Operation.new.tap do |o|
@@ -292,6 +292,34 @@ module Aws::CodePipeline
292
292
  end
293
293
  end
294
294
 
295
+ class ListRuleExecutions
296
+ def self.build(context)
297
+ unless context.config.regional_endpoint
298
+ endpoint = context.config.endpoint.to_s
299
+ end
300
+ Aws::CodePipeline::EndpointParameters.new(
301
+ region: context.config.region,
302
+ use_dual_stack: context.config.use_dualstack_endpoint,
303
+ use_fips: context.config.use_fips_endpoint,
304
+ endpoint: endpoint,
305
+ )
306
+ end
307
+ end
308
+
309
+ class ListRuleTypes
310
+ def self.build(context)
311
+ unless context.config.regional_endpoint
312
+ endpoint = context.config.endpoint.to_s
313
+ end
314
+ Aws::CodePipeline::EndpointParameters.new(
315
+ region: context.config.region,
316
+ use_dual_stack: context.config.use_dualstack_endpoint,
317
+ use_fips: context.config.use_fips_endpoint,
318
+ endpoint: endpoint,
319
+ )
320
+ end
321
+ end
322
+
295
323
  class ListTagsForResource
296
324
  def self.build(context)
297
325
  unless context.config.regional_endpoint
@@ -320,6 +348,20 @@ module Aws::CodePipeline
320
348
  end
321
349
  end
322
350
 
351
+ class OverrideStageCondition
352
+ def self.build(context)
353
+ unless context.config.regional_endpoint
354
+ endpoint = context.config.endpoint.to_s
355
+ end
356
+ Aws::CodePipeline::EndpointParameters.new(
357
+ region: context.config.region,
358
+ use_dual_stack: context.config.use_dualstack_endpoint,
359
+ use_fips: context.config.use_fips_endpoint,
360
+ endpoint: endpoint,
361
+ )
362
+ end
363
+ end
364
+
323
365
  class PollForJobs
324
366
  def self.build(context)
325
367
  unless context.config.regional_endpoint
@@ -33,6 +33,7 @@ module Aws::CodePipeline
33
33
  # * {ApprovalAlreadyCompletedException}
34
34
  # * {ConcurrentModificationException}
35
35
  # * {ConcurrentPipelineExecutionsLimitExceededException}
36
+ # * {ConditionNotOverridableException}
36
37
  # * {ConflictException}
37
38
  # * {DuplicatedStopRequestException}
38
39
  # * {InvalidActionDeclarationException}
@@ -144,6 +145,21 @@ module Aws::CodePipeline
144
145
  end
145
146
  end
146
147
 
148
+ class ConditionNotOverridableException < ServiceError
149
+
150
+ # @param [Seahorse::Client::RequestContext] context
151
+ # @param [String] message
152
+ # @param [Aws::CodePipeline::Types::ConditionNotOverridableException] data
153
+ def initialize(context, message, data = Aws::EmptyStructure.new)
154
+ super(context, message, data)
155
+ end
156
+
157
+ # @return [String]
158
+ def message
159
+ @message || @data[:message]
160
+ end
161
+ end
162
+
147
163
  class ConflictException < ServiceError
148
164
 
149
165
  # @param [Seahorse::Client::RequestContext] context
@@ -98,10 +98,16 @@ module Aws::CodePipeline
98
98
  Aws::CodePipeline::Endpoints::ListPipelineExecutions.build(context)
99
99
  when :list_pipelines
100
100
  Aws::CodePipeline::Endpoints::ListPipelines.build(context)
101
+ when :list_rule_executions
102
+ Aws::CodePipeline::Endpoints::ListRuleExecutions.build(context)
103
+ when :list_rule_types
104
+ Aws::CodePipeline::Endpoints::ListRuleTypes.build(context)
101
105
  when :list_tags_for_resource
102
106
  Aws::CodePipeline::Endpoints::ListTagsForResource.build(context)
103
107
  when :list_webhooks
104
108
  Aws::CodePipeline::Endpoints::ListWebhooks.build(context)
109
+ when :override_stage_condition
110
+ Aws::CodePipeline::Endpoints::OverrideStageCondition.build(context)
105
111
  when :poll_for_jobs
106
112
  Aws::CodePipeline::Endpoints::PollForJobs.build(context)
107
113
  when :poll_for_third_party_jobs