aws-sdk-codepipeline 1.87.0 → 1.89.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0b6cdfb6a2522e3b4ebcc1eebc7e79df23a757e0a436fc381af711d8bf52df3
4
- data.tar.gz: 22fe96987fbb9d9e4ab8a102d8d933546a4ce0c7f278579d2875ac47000201fe
3
+ metadata.gz: 8755b5650f6facaa64efcd80ce5c14a124e9cb27145f9d53ccb2a4c03248ddf2
4
+ data.tar.gz: 8669b77f0beba097fa737cbde73dbdce5f004d433a2565d0fd2de7f9d4dc71ca
5
5
  SHA512:
6
- metadata.gz: 797f0b411dab3852ce8e59667ea0eeb0f673e7a2a491723d0cf3e8b28c42d0ab12d0fcb0d241f18d246f1641cd29e48d61cfaca29474948da4f73f17f1844820
7
- data.tar.gz: 550579c29e612662aa22260bb5a4ca13fbf81bee791ea40b4ac482c036de242fc92d48e40619f98831eb632222166677922aa15ab2f6f824150faddfcd0e7b10
6
+ metadata.gz: f3f45a213ed82cfd3cdd017997ffdf9050b1ce7d056395db8b97aae1ba4fdc5cc2f0eec8139a4d95bf6286d6a3c78b9174b044bd1118930cb25690b34dd92cd2
7
+ data.tar.gz: b9526037bed7b8f204a36442488dfee37cabb36562dd3b7eb97386c9ac134659157d2452f4711bd455222ae212517308baed55b7844383f541b3d4105acf2e1a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.89.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.88.0 (2024-10-14)
10
+ ------------------
11
+
12
+ * Feature - AWS CodePipeline V2 type pipelines now support automatically retrying failed stages and skipping stage for failed entry conditions.
13
+
4
14
  1.87.0 (2024-10-09)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.87.0
1
+ 1.89.0
@@ -741,10 +741,13 @@ module Aws::CodePipeline
741
741
  # },
742
742
  # ],
743
743
  # on_failure: {
744
- # result: "ROLLBACK", # accepts ROLLBACK, FAIL
744
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL, RETRY, SKIP
745
+ # retry_configuration: {
746
+ # retry_mode: "FAILED_ACTIONS", # accepts FAILED_ACTIONS, ALL_ACTIONS
747
+ # },
745
748
  # conditions: [
746
749
  # {
747
- # result: "ROLLBACK", # accepts ROLLBACK, FAIL
750
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL, RETRY, SKIP
748
751
  # rules: [
749
752
  # {
750
753
  # name: "RuleName", # required
@@ -773,7 +776,7 @@ module Aws::CodePipeline
773
776
  # on_success: {
774
777
  # conditions: [ # required
775
778
  # {
776
- # result: "ROLLBACK", # accepts ROLLBACK, FAIL
779
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL, RETRY, SKIP
777
780
  # rules: [
778
781
  # {
779
782
  # name: "RuleName", # required
@@ -802,7 +805,7 @@ module Aws::CodePipeline
802
805
  # before_entry: {
803
806
  # conditions: [ # required
804
807
  # {
805
- # result: "ROLLBACK", # accepts ROLLBACK, FAIL
808
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL, RETRY, SKIP
806
809
  # rules: [
807
810
  # {
808
811
  # name: "RuleName", # required
@@ -927,9 +930,10 @@ module Aws::CodePipeline
927
930
  # resp.pipeline.stages[0].actions[0].region #=> String
928
931
  # resp.pipeline.stages[0].actions[0].namespace #=> String
929
932
  # resp.pipeline.stages[0].actions[0].timeout_in_minutes #=> Integer
930
- # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK", "FAIL"
933
+ # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK", "FAIL", "RETRY", "SKIP"
934
+ # resp.pipeline.stages[0].on_failure.retry_configuration.retry_mode #=> String, one of "FAILED_ACTIONS", "ALL_ACTIONS"
931
935
  # resp.pipeline.stages[0].on_failure.conditions #=> Array
932
- # resp.pipeline.stages[0].on_failure.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
936
+ # resp.pipeline.stages[0].on_failure.conditions[0].result #=> String, one of "ROLLBACK", "FAIL", "RETRY", "SKIP"
933
937
  # resp.pipeline.stages[0].on_failure.conditions[0].rules #=> Array
934
938
  # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].name #=> String
935
939
  # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
@@ -944,7 +948,7 @@ module Aws::CodePipeline
944
948
  # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].region #=> String
945
949
  # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].timeout_in_minutes #=> Integer
946
950
  # resp.pipeline.stages[0].on_success.conditions #=> Array
947
- # resp.pipeline.stages[0].on_success.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
951
+ # resp.pipeline.stages[0].on_success.conditions[0].result #=> String, one of "ROLLBACK", "FAIL", "RETRY", "SKIP"
948
952
  # resp.pipeline.stages[0].on_success.conditions[0].rules #=> Array
949
953
  # resp.pipeline.stages[0].on_success.conditions[0].rules[0].name #=> String
950
954
  # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
@@ -959,7 +963,7 @@ module Aws::CodePipeline
959
963
  # resp.pipeline.stages[0].on_success.conditions[0].rules[0].region #=> String
960
964
  # resp.pipeline.stages[0].on_success.conditions[0].rules[0].timeout_in_minutes #=> Integer
961
965
  # resp.pipeline.stages[0].before_entry.conditions #=> Array
962
- # resp.pipeline.stages[0].before_entry.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
966
+ # resp.pipeline.stages[0].before_entry.conditions[0].result #=> String, one of "ROLLBACK", "FAIL", "RETRY", "SKIP"
963
967
  # resp.pipeline.stages[0].before_entry.conditions[0].rules #=> Array
964
968
  # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].name #=> String
965
969
  # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
@@ -1430,9 +1434,10 @@ module Aws::CodePipeline
1430
1434
  # resp.pipeline.stages[0].actions[0].region #=> String
1431
1435
  # resp.pipeline.stages[0].actions[0].namespace #=> String
1432
1436
  # resp.pipeline.stages[0].actions[0].timeout_in_minutes #=> Integer
1433
- # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK", "FAIL"
1437
+ # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK", "FAIL", "RETRY", "SKIP"
1438
+ # resp.pipeline.stages[0].on_failure.retry_configuration.retry_mode #=> String, one of "FAILED_ACTIONS", "ALL_ACTIONS"
1434
1439
  # resp.pipeline.stages[0].on_failure.conditions #=> Array
1435
- # resp.pipeline.stages[0].on_failure.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
1440
+ # resp.pipeline.stages[0].on_failure.conditions[0].result #=> String, one of "ROLLBACK", "FAIL", "RETRY", "SKIP"
1436
1441
  # resp.pipeline.stages[0].on_failure.conditions[0].rules #=> Array
1437
1442
  # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].name #=> String
1438
1443
  # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
@@ -1447,7 +1452,7 @@ module Aws::CodePipeline
1447
1452
  # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].region #=> String
1448
1453
  # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].timeout_in_minutes #=> Integer
1449
1454
  # resp.pipeline.stages[0].on_success.conditions #=> Array
1450
- # resp.pipeline.stages[0].on_success.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
1455
+ # resp.pipeline.stages[0].on_success.conditions[0].result #=> String, one of "ROLLBACK", "FAIL", "RETRY", "SKIP"
1451
1456
  # resp.pipeline.stages[0].on_success.conditions[0].rules #=> Array
1452
1457
  # resp.pipeline.stages[0].on_success.conditions[0].rules[0].name #=> String
1453
1458
  # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
@@ -1462,7 +1467,7 @@ module Aws::CodePipeline
1462
1467
  # resp.pipeline.stages[0].on_success.conditions[0].rules[0].region #=> String
1463
1468
  # resp.pipeline.stages[0].on_success.conditions[0].rules[0].timeout_in_minutes #=> Integer
1464
1469
  # resp.pipeline.stages[0].before_entry.conditions #=> Array
1465
- # resp.pipeline.stages[0].before_entry.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
1470
+ # resp.pipeline.stages[0].before_entry.conditions[0].result #=> String, one of "ROLLBACK", "FAIL", "RETRY", "SKIP"
1466
1471
  # resp.pipeline.stages[0].before_entry.conditions[0].rules #=> Array
1467
1472
  # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].name #=> String
1468
1473
  # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
@@ -1612,11 +1617,11 @@ module Aws::CodePipeline
1612
1617
  # resp.stage_states #=> Array
1613
1618
  # resp.stage_states[0].stage_name #=> String
1614
1619
  # resp.stage_states[0].inbound_execution.pipeline_execution_id #=> String
1615
- # resp.stage_states[0].inbound_execution.status #=> String, one of "Cancelled", "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
1620
+ # resp.stage_states[0].inbound_execution.status #=> String, one of "Cancelled", "InProgress", "Failed", "Stopped", "Stopping", "Succeeded", "Skipped"
1616
1621
  # resp.stage_states[0].inbound_execution.type #=> String, one of "STANDARD", "ROLLBACK"
1617
1622
  # resp.stage_states[0].inbound_executions #=> Array
1618
1623
  # resp.stage_states[0].inbound_executions[0].pipeline_execution_id #=> String
1619
- # resp.stage_states[0].inbound_executions[0].status #=> String, one of "Cancelled", "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
1624
+ # resp.stage_states[0].inbound_executions[0].status #=> String, one of "Cancelled", "InProgress", "Failed", "Stopped", "Stopping", "Succeeded", "Skipped"
1620
1625
  # resp.stage_states[0].inbound_executions[0].type #=> String, one of "STANDARD", "ROLLBACK"
1621
1626
  # resp.stage_states[0].inbound_transition_state.enabled #=> Boolean
1622
1627
  # resp.stage_states[0].inbound_transition_state.last_changed_by #=> String
@@ -1641,7 +1646,7 @@ module Aws::CodePipeline
1641
1646
  # resp.stage_states[0].action_states[0].entity_url #=> String
1642
1647
  # resp.stage_states[0].action_states[0].revision_url #=> String
1643
1648
  # resp.stage_states[0].latest_execution.pipeline_execution_id #=> String
1644
- # resp.stage_states[0].latest_execution.status #=> String, one of "Cancelled", "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
1649
+ # resp.stage_states[0].latest_execution.status #=> String, one of "Cancelled", "InProgress", "Failed", "Stopped", "Stopping", "Succeeded", "Skipped"
1645
1650
  # resp.stage_states[0].latest_execution.type #=> String, one of "STANDARD", "ROLLBACK"
1646
1651
  # resp.stage_states[0].before_entry_condition_state.latest_execution.status #=> String, one of "InProgress", "Failed", "Errored", "Succeeded", "Cancelled", "Abandoned", "Overridden"
1647
1652
  # resp.stage_states[0].before_entry_condition_state.latest_execution.summary #=> String
@@ -1712,6 +1717,9 @@ module Aws::CodePipeline
1712
1717
  # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.error_details.message #=> String
1713
1718
  # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].entity_url #=> String
1714
1719
  # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].revision_url #=> String
1720
+ # resp.stage_states[0].retry_stage_metadata.auto_stage_retry_attempt #=> Integer
1721
+ # resp.stage_states[0].retry_stage_metadata.manual_stage_retry_attempt #=> Integer
1722
+ # resp.stage_states[0].retry_stage_metadata.latest_retry_trigger #=> String, one of "AutomatedStageRetry", "ManualStageRetry"
1715
1723
  # resp.created #=> Time
1716
1724
  # resp.updated #=> Time
1717
1725
  #
@@ -3300,10 +3308,13 @@ module Aws::CodePipeline
3300
3308
  # },
3301
3309
  # ],
3302
3310
  # on_failure: {
3303
- # result: "ROLLBACK", # accepts ROLLBACK, FAIL
3311
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL, RETRY, SKIP
3312
+ # retry_configuration: {
3313
+ # retry_mode: "FAILED_ACTIONS", # accepts FAILED_ACTIONS, ALL_ACTIONS
3314
+ # },
3304
3315
  # conditions: [
3305
3316
  # {
3306
- # result: "ROLLBACK", # accepts ROLLBACK, FAIL
3317
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL, RETRY, SKIP
3307
3318
  # rules: [
3308
3319
  # {
3309
3320
  # name: "RuleName", # required
@@ -3332,7 +3343,7 @@ module Aws::CodePipeline
3332
3343
  # on_success: {
3333
3344
  # conditions: [ # required
3334
3345
  # {
3335
- # result: "ROLLBACK", # accepts ROLLBACK, FAIL
3346
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL, RETRY, SKIP
3336
3347
  # rules: [
3337
3348
  # {
3338
3349
  # name: "RuleName", # required
@@ -3361,7 +3372,7 @@ module Aws::CodePipeline
3361
3372
  # before_entry: {
3362
3373
  # conditions: [ # required
3363
3374
  # {
3364
- # result: "ROLLBACK", # accepts ROLLBACK, FAIL
3375
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL, RETRY, SKIP
3365
3376
  # rules: [
3366
3377
  # {
3367
3378
  # name: "RuleName", # required
@@ -3480,9 +3491,10 @@ module Aws::CodePipeline
3480
3491
  # resp.pipeline.stages[0].actions[0].region #=> String
3481
3492
  # resp.pipeline.stages[0].actions[0].namespace #=> String
3482
3493
  # resp.pipeline.stages[0].actions[0].timeout_in_minutes #=> Integer
3483
- # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK", "FAIL"
3494
+ # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK", "FAIL", "RETRY", "SKIP"
3495
+ # resp.pipeline.stages[0].on_failure.retry_configuration.retry_mode #=> String, one of "FAILED_ACTIONS", "ALL_ACTIONS"
3484
3496
  # resp.pipeline.stages[0].on_failure.conditions #=> Array
3485
- # resp.pipeline.stages[0].on_failure.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
3497
+ # resp.pipeline.stages[0].on_failure.conditions[0].result #=> String, one of "ROLLBACK", "FAIL", "RETRY", "SKIP"
3486
3498
  # resp.pipeline.stages[0].on_failure.conditions[0].rules #=> Array
3487
3499
  # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].name #=> String
3488
3500
  # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
@@ -3497,7 +3509,7 @@ module Aws::CodePipeline
3497
3509
  # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].region #=> String
3498
3510
  # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].timeout_in_minutes #=> Integer
3499
3511
  # resp.pipeline.stages[0].on_success.conditions #=> Array
3500
- # resp.pipeline.stages[0].on_success.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
3512
+ # resp.pipeline.stages[0].on_success.conditions[0].result #=> String, one of "ROLLBACK", "FAIL", "RETRY", "SKIP"
3501
3513
  # resp.pipeline.stages[0].on_success.conditions[0].rules #=> Array
3502
3514
  # resp.pipeline.stages[0].on_success.conditions[0].rules[0].name #=> String
3503
3515
  # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
@@ -3512,7 +3524,7 @@ module Aws::CodePipeline
3512
3524
  # resp.pipeline.stages[0].on_success.conditions[0].rules[0].region #=> String
3513
3525
  # resp.pipeline.stages[0].on_success.conditions[0].rules[0].timeout_in_minutes #=> Integer
3514
3526
  # resp.pipeline.stages[0].before_entry.conditions #=> Array
3515
- # resp.pipeline.stages[0].before_entry.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
3527
+ # resp.pipeline.stages[0].before_entry.conditions[0].result #=> String, one of "ROLLBACK", "FAIL", "RETRY", "SKIP"
3516
3528
  # resp.pipeline.stages[0].before_entry.conditions[0].rules #=> Array
3517
3529
  # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].name #=> String
3518
3530
  # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
@@ -3588,7 +3600,7 @@ module Aws::CodePipeline
3588
3600
  tracer: tracer
3589
3601
  )
3590
3602
  context[:gem_name] = 'aws-sdk-codepipeline'
3591
- context[:gem_version] = '1.87.0'
3603
+ context[:gem_version] = '1.89.0'
3592
3604
  Seahorse::Client::Request.new(handlers, context)
3593
3605
  end
3594
3606
 
@@ -312,8 +312,12 @@ module Aws::CodePipeline
312
312
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
313
313
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
314
314
  Result = Shapes::StringShape.new(name: 'Result')
315
+ RetryAttempt = Shapes::IntegerShape.new(name: 'RetryAttempt')
316
+ RetryConfiguration = Shapes::StructureShape.new(name: 'RetryConfiguration')
315
317
  RetryStageExecutionInput = Shapes::StructureShape.new(name: 'RetryStageExecutionInput')
316
318
  RetryStageExecutionOutput = Shapes::StructureShape.new(name: 'RetryStageExecutionOutput')
319
+ RetryStageMetadata = Shapes::StructureShape.new(name: 'RetryStageMetadata')
320
+ RetryTrigger = Shapes::StringShape.new(name: 'RetryTrigger')
317
321
  Revision = Shapes::StringShape.new(name: 'Revision')
318
322
  RevisionChangeIdentifier = Shapes::StringShape.new(name: 'RevisionChangeIdentifier')
319
323
  RevisionSummary = Shapes::StringShape.new(name: 'RevisionSummary')
@@ -793,6 +797,7 @@ module Aws::CodePipeline
793
797
  ExecutorConfiguration.struct_class = Types::ExecutorConfiguration
794
798
 
795
799
  FailureConditions.add_member(:result, Shapes::ShapeRef.new(shape: Result, location_name: "result"))
800
+ FailureConditions.add_member(:retry_configuration, Shapes::ShapeRef.new(shape: RetryConfiguration, location_name: "retryConfiguration"))
796
801
  FailureConditions.add_member(:conditions, Shapes::ShapeRef.new(shape: ConditionList, location_name: "conditions"))
797
802
  FailureConditions.struct_class = Types::FailureConditions
798
803
 
@@ -1262,6 +1267,9 @@ module Aws::CodePipeline
1262
1267
 
1263
1268
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1264
1269
 
1270
+ RetryConfiguration.add_member(:retry_mode, Shapes::ShapeRef.new(shape: StageRetryMode, location_name: "retryMode"))
1271
+ RetryConfiguration.struct_class = Types::RetryConfiguration
1272
+
1265
1273
  RetryStageExecutionInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
1266
1274
  RetryStageExecutionInput.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, required: true, location_name: "stageName"))
1267
1275
  RetryStageExecutionInput.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, required: true, location_name: "pipelineExecutionId"))
@@ -1271,6 +1279,11 @@ module Aws::CodePipeline
1271
1279
  RetryStageExecutionOutput.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
1272
1280
  RetryStageExecutionOutput.struct_class = Types::RetryStageExecutionOutput
1273
1281
 
1282
+ RetryStageMetadata.add_member(:auto_stage_retry_attempt, Shapes::ShapeRef.new(shape: RetryAttempt, location_name: "autoStageRetryAttempt"))
1283
+ RetryStageMetadata.add_member(:manual_stage_retry_attempt, Shapes::ShapeRef.new(shape: RetryAttempt, location_name: "manualStageRetryAttempt"))
1284
+ RetryStageMetadata.add_member(:latest_retry_trigger, Shapes::ShapeRef.new(shape: RetryTrigger, location_name: "latestRetryTrigger"))
1285
+ RetryStageMetadata.struct_class = Types::RetryStageMetadata
1286
+
1274
1287
  RollbackStageInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
1275
1288
  RollbackStageInput.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, required: true, location_name: "stageName"))
1276
1289
  RollbackStageInput.add_member(:target_pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, required: true, location_name: "targetPipelineExecutionId"))
@@ -1451,6 +1464,7 @@ module Aws::CodePipeline
1451
1464
  StageState.add_member(:before_entry_condition_state, Shapes::ShapeRef.new(shape: StageConditionState, location_name: "beforeEntryConditionState"))
1452
1465
  StageState.add_member(:on_success_condition_state, Shapes::ShapeRef.new(shape: StageConditionState, location_name: "onSuccessConditionState"))
1453
1466
  StageState.add_member(:on_failure_condition_state, Shapes::ShapeRef.new(shape: StageConditionState, location_name: "onFailureConditionState"))
1467
+ StageState.add_member(:retry_stage_metadata, Shapes::ShapeRef.new(shape: RetryStageMetadata, location_name: "retryStageMetadata"))
1454
1468
  StageState.struct_class = Types::StageState
1455
1469
 
1456
1470
  StageStateList.member = Shapes::ShapeRef.new(shape: StageState)
@@ -52,15 +52,18 @@ module Aws::CodePipeline
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end
@@ -12,478 +12,9 @@ module Aws::CodePipeline
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class AcknowledgeJob
16
- def self.build(context)
17
- Aws::CodePipeline::EndpointParameters.new(
18
- region: context.config.region,
19
- use_dual_stack: context.config.use_dualstack_endpoint,
20
- use_fips: context.config.use_fips_endpoint,
21
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
22
- )
23
- end
24
- end
25
-
26
- class AcknowledgeThirdPartyJob
27
- def self.build(context)
28
- Aws::CodePipeline::EndpointParameters.new(
29
- region: context.config.region,
30
- use_dual_stack: context.config.use_dualstack_endpoint,
31
- use_fips: context.config.use_fips_endpoint,
32
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
33
- )
34
- end
35
- end
36
-
37
- class CreateCustomActionType
38
- def self.build(context)
39
- Aws::CodePipeline::EndpointParameters.new(
40
- region: context.config.region,
41
- use_dual_stack: context.config.use_dualstack_endpoint,
42
- use_fips: context.config.use_fips_endpoint,
43
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
44
- )
45
- end
46
- end
47
-
48
- class CreatePipeline
49
- def self.build(context)
50
- Aws::CodePipeline::EndpointParameters.new(
51
- region: context.config.region,
52
- use_dual_stack: context.config.use_dualstack_endpoint,
53
- use_fips: context.config.use_fips_endpoint,
54
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
55
- )
56
- end
57
- end
58
-
59
- class DeleteCustomActionType
60
- def self.build(context)
61
- Aws::CodePipeline::EndpointParameters.new(
62
- region: context.config.region,
63
- use_dual_stack: context.config.use_dualstack_endpoint,
64
- use_fips: context.config.use_fips_endpoint,
65
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
66
- )
67
- end
68
- end
69
-
70
- class DeletePipeline
71
- def self.build(context)
72
- Aws::CodePipeline::EndpointParameters.new(
73
- region: context.config.region,
74
- use_dual_stack: context.config.use_dualstack_endpoint,
75
- use_fips: context.config.use_fips_endpoint,
76
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
77
- )
78
- end
79
- end
80
-
81
- class DeleteWebhook
82
- def self.build(context)
83
- Aws::CodePipeline::EndpointParameters.new(
84
- region: context.config.region,
85
- use_dual_stack: context.config.use_dualstack_endpoint,
86
- use_fips: context.config.use_fips_endpoint,
87
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
88
- )
89
- end
90
- end
91
-
92
- class DeregisterWebhookWithThirdParty
93
- def self.build(context)
94
- Aws::CodePipeline::EndpointParameters.new(
95
- region: context.config.region,
96
- use_dual_stack: context.config.use_dualstack_endpoint,
97
- use_fips: context.config.use_fips_endpoint,
98
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
99
- )
100
- end
101
- end
102
-
103
- class DisableStageTransition
104
- def self.build(context)
105
- Aws::CodePipeline::EndpointParameters.new(
106
- region: context.config.region,
107
- use_dual_stack: context.config.use_dualstack_endpoint,
108
- use_fips: context.config.use_fips_endpoint,
109
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
110
- )
111
- end
112
- end
113
-
114
- class EnableStageTransition
115
- def self.build(context)
116
- Aws::CodePipeline::EndpointParameters.new(
117
- region: context.config.region,
118
- use_dual_stack: context.config.use_dualstack_endpoint,
119
- use_fips: context.config.use_fips_endpoint,
120
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
121
- )
122
- end
123
- end
124
-
125
- class GetActionType
126
- def self.build(context)
127
- Aws::CodePipeline::EndpointParameters.new(
128
- region: context.config.region,
129
- use_dual_stack: context.config.use_dualstack_endpoint,
130
- use_fips: context.config.use_fips_endpoint,
131
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
132
- )
133
- end
134
- end
135
-
136
- class GetJobDetails
137
- def self.build(context)
138
- Aws::CodePipeline::EndpointParameters.new(
139
- region: context.config.region,
140
- use_dual_stack: context.config.use_dualstack_endpoint,
141
- use_fips: context.config.use_fips_endpoint,
142
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
143
- )
144
- end
145
- end
146
-
147
- class GetPipeline
148
- def self.build(context)
149
- Aws::CodePipeline::EndpointParameters.new(
150
- region: context.config.region,
151
- use_dual_stack: context.config.use_dualstack_endpoint,
152
- use_fips: context.config.use_fips_endpoint,
153
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
154
- )
155
- end
156
- end
157
-
158
- class GetPipelineExecution
159
- def self.build(context)
160
- Aws::CodePipeline::EndpointParameters.new(
161
- region: context.config.region,
162
- use_dual_stack: context.config.use_dualstack_endpoint,
163
- use_fips: context.config.use_fips_endpoint,
164
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
165
- )
166
- end
167
- end
168
-
169
- class GetPipelineState
170
- def self.build(context)
171
- Aws::CodePipeline::EndpointParameters.new(
172
- region: context.config.region,
173
- use_dual_stack: context.config.use_dualstack_endpoint,
174
- use_fips: context.config.use_fips_endpoint,
175
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
176
- )
177
- end
178
- end
179
-
180
- class GetThirdPartyJobDetails
181
- def self.build(context)
182
- Aws::CodePipeline::EndpointParameters.new(
183
- region: context.config.region,
184
- use_dual_stack: context.config.use_dualstack_endpoint,
185
- use_fips: context.config.use_fips_endpoint,
186
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
187
- )
188
- end
189
- end
190
-
191
- class ListActionExecutions
192
- def self.build(context)
193
- Aws::CodePipeline::EndpointParameters.new(
194
- region: context.config.region,
195
- use_dual_stack: context.config.use_dualstack_endpoint,
196
- use_fips: context.config.use_fips_endpoint,
197
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
198
- )
199
- end
200
- end
201
-
202
- class ListActionTypes
203
- def self.build(context)
204
- Aws::CodePipeline::EndpointParameters.new(
205
- region: context.config.region,
206
- use_dual_stack: context.config.use_dualstack_endpoint,
207
- use_fips: context.config.use_fips_endpoint,
208
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
209
- )
210
- end
211
- end
212
-
213
- class ListPipelineExecutions
214
- def self.build(context)
215
- Aws::CodePipeline::EndpointParameters.new(
216
- region: context.config.region,
217
- use_dual_stack: context.config.use_dualstack_endpoint,
218
- use_fips: context.config.use_fips_endpoint,
219
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
220
- )
221
- end
222
- end
223
-
224
- class ListPipelines
225
- def self.build(context)
226
- Aws::CodePipeline::EndpointParameters.new(
227
- region: context.config.region,
228
- use_dual_stack: context.config.use_dualstack_endpoint,
229
- use_fips: context.config.use_fips_endpoint,
230
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
231
- )
232
- end
233
- end
234
-
235
- class ListRuleExecutions
236
- def self.build(context)
237
- Aws::CodePipeline::EndpointParameters.new(
238
- region: context.config.region,
239
- use_dual_stack: context.config.use_dualstack_endpoint,
240
- use_fips: context.config.use_fips_endpoint,
241
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
242
- )
243
- end
244
- end
245
-
246
- class ListRuleTypes
247
- def self.build(context)
248
- Aws::CodePipeline::EndpointParameters.new(
249
- region: context.config.region,
250
- use_dual_stack: context.config.use_dualstack_endpoint,
251
- use_fips: context.config.use_fips_endpoint,
252
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
253
- )
254
- end
255
- end
256
-
257
- class ListTagsForResource
258
- def self.build(context)
259
- Aws::CodePipeline::EndpointParameters.new(
260
- region: context.config.region,
261
- use_dual_stack: context.config.use_dualstack_endpoint,
262
- use_fips: context.config.use_fips_endpoint,
263
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
264
- )
265
- end
266
- end
267
-
268
- class ListWebhooks
269
- def self.build(context)
270
- Aws::CodePipeline::EndpointParameters.new(
271
- region: context.config.region,
272
- use_dual_stack: context.config.use_dualstack_endpoint,
273
- use_fips: context.config.use_fips_endpoint,
274
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
275
- )
276
- end
277
- end
278
-
279
- class OverrideStageCondition
280
- def self.build(context)
281
- Aws::CodePipeline::EndpointParameters.new(
282
- region: context.config.region,
283
- use_dual_stack: context.config.use_dualstack_endpoint,
284
- use_fips: context.config.use_fips_endpoint,
285
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
286
- )
287
- end
288
- end
289
-
290
- class PollForJobs
291
- def self.build(context)
292
- Aws::CodePipeline::EndpointParameters.new(
293
- region: context.config.region,
294
- use_dual_stack: context.config.use_dualstack_endpoint,
295
- use_fips: context.config.use_fips_endpoint,
296
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
297
- )
298
- end
299
- end
300
-
301
- class PollForThirdPartyJobs
302
- def self.build(context)
303
- Aws::CodePipeline::EndpointParameters.new(
304
- region: context.config.region,
305
- use_dual_stack: context.config.use_dualstack_endpoint,
306
- use_fips: context.config.use_fips_endpoint,
307
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
308
- )
309
- end
310
- end
311
-
312
- class PutActionRevision
313
- def self.build(context)
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: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
319
- )
320
- end
321
- end
322
-
323
- class PutApprovalResult
324
- def self.build(context)
325
- Aws::CodePipeline::EndpointParameters.new(
326
- region: context.config.region,
327
- use_dual_stack: context.config.use_dualstack_endpoint,
328
- use_fips: context.config.use_fips_endpoint,
329
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
330
- )
331
- end
332
- end
333
-
334
- class PutJobFailureResult
335
- def self.build(context)
336
- Aws::CodePipeline::EndpointParameters.new(
337
- region: context.config.region,
338
- use_dual_stack: context.config.use_dualstack_endpoint,
339
- use_fips: context.config.use_fips_endpoint,
340
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
341
- )
342
- end
343
- end
344
-
345
- class PutJobSuccessResult
346
- def self.build(context)
347
- Aws::CodePipeline::EndpointParameters.new(
348
- region: context.config.region,
349
- use_dual_stack: context.config.use_dualstack_endpoint,
350
- use_fips: context.config.use_fips_endpoint,
351
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
352
- )
353
- end
354
- end
355
-
356
- class PutThirdPartyJobFailureResult
357
- def self.build(context)
358
- Aws::CodePipeline::EndpointParameters.new(
359
- region: context.config.region,
360
- use_dual_stack: context.config.use_dualstack_endpoint,
361
- use_fips: context.config.use_fips_endpoint,
362
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
363
- )
364
- end
365
- end
366
15
 
367
- class PutThirdPartyJobSuccessResult
368
- def self.build(context)
369
- Aws::CodePipeline::EndpointParameters.new(
370
- region: context.config.region,
371
- use_dual_stack: context.config.use_dualstack_endpoint,
372
- use_fips: context.config.use_fips_endpoint,
373
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
374
- )
375
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::CodePipeline::EndpointParameters.create(context.config)
376
18
  end
377
-
378
- class PutWebhook
379
- def self.build(context)
380
- Aws::CodePipeline::EndpointParameters.new(
381
- region: context.config.region,
382
- use_dual_stack: context.config.use_dualstack_endpoint,
383
- use_fips: context.config.use_fips_endpoint,
384
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
385
- )
386
- end
387
- end
388
-
389
- class RegisterWebhookWithThirdParty
390
- def self.build(context)
391
- Aws::CodePipeline::EndpointParameters.new(
392
- region: context.config.region,
393
- use_dual_stack: context.config.use_dualstack_endpoint,
394
- use_fips: context.config.use_fips_endpoint,
395
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
396
- )
397
- end
398
- end
399
-
400
- class RetryStageExecution
401
- def self.build(context)
402
- Aws::CodePipeline::EndpointParameters.new(
403
- region: context.config.region,
404
- use_dual_stack: context.config.use_dualstack_endpoint,
405
- use_fips: context.config.use_fips_endpoint,
406
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
407
- )
408
- end
409
- end
410
-
411
- class RollbackStage
412
- def self.build(context)
413
- Aws::CodePipeline::EndpointParameters.new(
414
- region: context.config.region,
415
- use_dual_stack: context.config.use_dualstack_endpoint,
416
- use_fips: context.config.use_fips_endpoint,
417
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
418
- )
419
- end
420
- end
421
-
422
- class StartPipelineExecution
423
- def self.build(context)
424
- Aws::CodePipeline::EndpointParameters.new(
425
- region: context.config.region,
426
- use_dual_stack: context.config.use_dualstack_endpoint,
427
- use_fips: context.config.use_fips_endpoint,
428
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
429
- )
430
- end
431
- end
432
-
433
- class StopPipelineExecution
434
- def self.build(context)
435
- Aws::CodePipeline::EndpointParameters.new(
436
- region: context.config.region,
437
- use_dual_stack: context.config.use_dualstack_endpoint,
438
- use_fips: context.config.use_fips_endpoint,
439
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
440
- )
441
- end
442
- end
443
-
444
- class TagResource
445
- def self.build(context)
446
- Aws::CodePipeline::EndpointParameters.new(
447
- region: context.config.region,
448
- use_dual_stack: context.config.use_dualstack_endpoint,
449
- use_fips: context.config.use_fips_endpoint,
450
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
451
- )
452
- end
453
- end
454
-
455
- class UntagResource
456
- def self.build(context)
457
- Aws::CodePipeline::EndpointParameters.new(
458
- region: context.config.region,
459
- use_dual_stack: context.config.use_dualstack_endpoint,
460
- use_fips: context.config.use_fips_endpoint,
461
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
462
- )
463
- end
464
- end
465
-
466
- class UpdateActionType
467
- def self.build(context)
468
- Aws::CodePipeline::EndpointParameters.new(
469
- region: context.config.region,
470
- use_dual_stack: context.config.use_dualstack_endpoint,
471
- use_fips: context.config.use_fips_endpoint,
472
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
473
- )
474
- end
475
- end
476
-
477
- class UpdatePipeline
478
- def self.build(context)
479
- Aws::CodePipeline::EndpointParameters.new(
480
- region: context.config.region,
481
- use_dual_stack: context.config.use_dualstack_endpoint,
482
- use_fips: context.config.use_fips_endpoint,
483
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
484
- )
485
- end
486
- end
487
-
488
19
  end
489
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::CodePipeline::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,97 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :acknowledge_job
74
- Aws::CodePipeline::Endpoints::AcknowledgeJob.build(context)
75
- when :acknowledge_third_party_job
76
- Aws::CodePipeline::Endpoints::AcknowledgeThirdPartyJob.build(context)
77
- when :create_custom_action_type
78
- Aws::CodePipeline::Endpoints::CreateCustomActionType.build(context)
79
- when :create_pipeline
80
- Aws::CodePipeline::Endpoints::CreatePipeline.build(context)
81
- when :delete_custom_action_type
82
- Aws::CodePipeline::Endpoints::DeleteCustomActionType.build(context)
83
- when :delete_pipeline
84
- Aws::CodePipeline::Endpoints::DeletePipeline.build(context)
85
- when :delete_webhook
86
- Aws::CodePipeline::Endpoints::DeleteWebhook.build(context)
87
- when :deregister_webhook_with_third_party
88
- Aws::CodePipeline::Endpoints::DeregisterWebhookWithThirdParty.build(context)
89
- when :disable_stage_transition
90
- Aws::CodePipeline::Endpoints::DisableStageTransition.build(context)
91
- when :enable_stage_transition
92
- Aws::CodePipeline::Endpoints::EnableStageTransition.build(context)
93
- when :get_action_type
94
- Aws::CodePipeline::Endpoints::GetActionType.build(context)
95
- when :get_job_details
96
- Aws::CodePipeline::Endpoints::GetJobDetails.build(context)
97
- when :get_pipeline
98
- Aws::CodePipeline::Endpoints::GetPipeline.build(context)
99
- when :get_pipeline_execution
100
- Aws::CodePipeline::Endpoints::GetPipelineExecution.build(context)
101
- when :get_pipeline_state
102
- Aws::CodePipeline::Endpoints::GetPipelineState.build(context)
103
- when :get_third_party_job_details
104
- Aws::CodePipeline::Endpoints::GetThirdPartyJobDetails.build(context)
105
- when :list_action_executions
106
- Aws::CodePipeline::Endpoints::ListActionExecutions.build(context)
107
- when :list_action_types
108
- Aws::CodePipeline::Endpoints::ListActionTypes.build(context)
109
- when :list_pipeline_executions
110
- Aws::CodePipeline::Endpoints::ListPipelineExecutions.build(context)
111
- when :list_pipelines
112
- Aws::CodePipeline::Endpoints::ListPipelines.build(context)
113
- when :list_rule_executions
114
- Aws::CodePipeline::Endpoints::ListRuleExecutions.build(context)
115
- when :list_rule_types
116
- Aws::CodePipeline::Endpoints::ListRuleTypes.build(context)
117
- when :list_tags_for_resource
118
- Aws::CodePipeline::Endpoints::ListTagsForResource.build(context)
119
- when :list_webhooks
120
- Aws::CodePipeline::Endpoints::ListWebhooks.build(context)
121
- when :override_stage_condition
122
- Aws::CodePipeline::Endpoints::OverrideStageCondition.build(context)
123
- when :poll_for_jobs
124
- Aws::CodePipeline::Endpoints::PollForJobs.build(context)
125
- when :poll_for_third_party_jobs
126
- Aws::CodePipeline::Endpoints::PollForThirdPartyJobs.build(context)
127
- when :put_action_revision
128
- Aws::CodePipeline::Endpoints::PutActionRevision.build(context)
129
- when :put_approval_result
130
- Aws::CodePipeline::Endpoints::PutApprovalResult.build(context)
131
- when :put_job_failure_result
132
- Aws::CodePipeline::Endpoints::PutJobFailureResult.build(context)
133
- when :put_job_success_result
134
- Aws::CodePipeline::Endpoints::PutJobSuccessResult.build(context)
135
- when :put_third_party_job_failure_result
136
- Aws::CodePipeline::Endpoints::PutThirdPartyJobFailureResult.build(context)
137
- when :put_third_party_job_success_result
138
- Aws::CodePipeline::Endpoints::PutThirdPartyJobSuccessResult.build(context)
139
- when :put_webhook
140
- Aws::CodePipeline::Endpoints::PutWebhook.build(context)
141
- when :register_webhook_with_third_party
142
- Aws::CodePipeline::Endpoints::RegisterWebhookWithThirdParty.build(context)
143
- when :retry_stage_execution
144
- Aws::CodePipeline::Endpoints::RetryStageExecution.build(context)
145
- when :rollback_stage
146
- Aws::CodePipeline::Endpoints::RollbackStage.build(context)
147
- when :start_pipeline_execution
148
- Aws::CodePipeline::Endpoints::StartPipelineExecution.build(context)
149
- when :stop_pipeline_execution
150
- Aws::CodePipeline::Endpoints::StopPipelineExecution.build(context)
151
- when :tag_resource
152
- Aws::CodePipeline::Endpoints::TagResource.build(context)
153
- when :untag_resource
154
- Aws::CodePipeline::Endpoints::UntagResource.build(context)
155
- when :update_action_type
156
- Aws::CodePipeline::Endpoints::UpdateActionType.build(context)
157
- when :update_pipeline
158
- Aws::CodePipeline::Endpoints::UpdatePipeline.build(context)
159
- end
160
- end
161
70
  end
162
71
 
163
72
  def add_handlers(handlers, _config)
@@ -1872,6 +1872,11 @@ module Aws::CodePipeline
1872
1872
  # as rolling back the stage.
1873
1873
  # @return [String]
1874
1874
  #
1875
+ # @!attribute [rw] retry_configuration
1876
+ # The retry configuration specifies automatic retry for a failed
1877
+ # stage, along with the configured retry mode.
1878
+ # @return [Types::RetryConfiguration]
1879
+ #
1875
1880
  # @!attribute [rw] conditions
1876
1881
  # The conditions that are configured as failure conditions.
1877
1882
  # @return [Array<Types::Condition>]
@@ -1880,6 +1885,7 @@ module Aws::CodePipeline
1880
1885
  #
1881
1886
  class FailureConditions < Struct.new(
1882
1887
  :result,
1888
+ :retry_configuration,
1883
1889
  :conditions)
1884
1890
  SENSITIVE = []
1885
1891
  include Aws::Structure
@@ -4164,6 +4170,23 @@ module Aws::CodePipeline
4164
4170
  #
4165
4171
  class ResourceNotFoundException < Aws::EmptyStructure; end
4166
4172
 
4173
+ # The retry configuration specifies automatic retry for a failed stage,
4174
+ # along with the configured retry mode.
4175
+ #
4176
+ # @!attribute [rw] retry_mode
4177
+ # The method that you want to configure for automatic stage retry on
4178
+ # stage failure. You can specify to retry only failed action in the
4179
+ # stage or all actions in the stage.
4180
+ # @return [String]
4181
+ #
4182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryConfiguration AWS API Documentation
4183
+ #
4184
+ class RetryConfiguration < Struct.new(
4185
+ :retry_mode)
4186
+ SENSITIVE = []
4187
+ include Aws::Structure
4188
+ end
4189
+
4167
4190
  # Represents the input of a `RetryStageExecution` action.
4168
4191
  #
4169
4192
  # @!attribute [rw] pipeline_name
@@ -4209,6 +4232,35 @@ module Aws::CodePipeline
4209
4232
  include Aws::Structure
4210
4233
  end
4211
4234
 
4235
+ # The details of a specific automatic retry on stage failure, including
4236
+ # the attempt number and trigger.
4237
+ #
4238
+ # @!attribute [rw] auto_stage_retry_attempt
4239
+ # The number of attempts for a specific stage with automatic retry on
4240
+ # stage failure. One attempt is allowed for automatic stage retry on
4241
+ # failure.
4242
+ # @return [Integer]
4243
+ #
4244
+ # @!attribute [rw] manual_stage_retry_attempt
4245
+ # The number of attempts for a specific stage where manual retries
4246
+ # have been made upon stage failure.
4247
+ # @return [Integer]
4248
+ #
4249
+ # @!attribute [rw] latest_retry_trigger
4250
+ # The latest trigger for a specific stage where manual or automatic
4251
+ # retries have been made upon stage failure.
4252
+ # @return [String]
4253
+ #
4254
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageMetadata AWS API Documentation
4255
+ #
4256
+ class RetryStageMetadata < Struct.new(
4257
+ :auto_stage_retry_attempt,
4258
+ :manual_stage_retry_attempt,
4259
+ :latest_retry_trigger)
4260
+ SENSITIVE = []
4261
+ include Aws::Structure
4262
+ end
4263
+
4212
4264
  # @!attribute [rw] pipeline_name
4213
4265
  # The name of the pipeline for which the stage will be rolled back.
4214
4266
  # @return [String]
@@ -5063,6 +5115,11 @@ module Aws::CodePipeline
5063
5115
  # The state of the failure conditions for a stage.
5064
5116
  # @return [Types::StageConditionState]
5065
5117
  #
5118
+ # @!attribute [rw] retry_stage_metadata
5119
+ # he details of a specific automatic retry on stage failure, including
5120
+ # the attempt number and trigger.
5121
+ # @return [Types::RetryStageMetadata]
5122
+ #
5066
5123
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageState AWS API Documentation
5067
5124
  #
5068
5125
  class StageState < Struct.new(
@@ -5074,7 +5131,8 @@ module Aws::CodePipeline
5074
5131
  :latest_execution,
5075
5132
  :before_entry_condition_state,
5076
5133
  :on_success_condition_state,
5077
- :on_failure_condition_state)
5134
+ :on_failure_condition_state,
5135
+ :retry_stage_metadata)
5078
5136
  SENSITIVE = []
5079
5137
  include Aws::Structure
5080
5138
  end
@@ -54,7 +54,7 @@ module Aws::CodePipeline
54
54
  autoload :EndpointProvider, 'aws-sdk-codepipeline/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-codepipeline/endpoints'
56
56
 
57
- GEM_VERSION = '1.87.0'
57
+ GEM_VERSION = '1.89.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -209,10 +209,13 @@ module Aws
209
209
  },
210
210
  ],
211
211
  on_failure: {
212
- result: ("ROLLBACK" | "FAIL")?,
212
+ result: ("ROLLBACK" | "FAIL" | "RETRY" | "SKIP")?,
213
+ retry_configuration: {
214
+ retry_mode: ("FAILED_ACTIONS" | "ALL_ACTIONS")?
215
+ }?,
213
216
  conditions: Array[
214
217
  {
215
- result: ("ROLLBACK" | "FAIL")?,
218
+ result: ("ROLLBACK" | "FAIL" | "RETRY" | "SKIP")?,
216
219
  rules: Array[
217
220
  {
218
221
  name: ::String,
@@ -239,7 +242,7 @@ module Aws
239
242
  on_success: {
240
243
  conditions: Array[
241
244
  {
242
- result: ("ROLLBACK" | "FAIL")?,
245
+ result: ("ROLLBACK" | "FAIL" | "RETRY" | "SKIP")?,
243
246
  rules: Array[
244
247
  {
245
248
  name: ::String,
@@ -266,7 +269,7 @@ module Aws
266
269
  before_entry: {
267
270
  conditions: Array[
268
271
  {
269
- result: ("ROLLBACK" | "FAIL")?,
272
+ result: ("ROLLBACK" | "FAIL" | "RETRY" | "SKIP")?,
270
273
  rules: Array[
271
274
  {
272
275
  name: ::String,
@@ -973,10 +976,13 @@ module Aws
973
976
  },
974
977
  ],
975
978
  on_failure: {
976
- result: ("ROLLBACK" | "FAIL")?,
979
+ result: ("ROLLBACK" | "FAIL" | "RETRY" | "SKIP")?,
980
+ retry_configuration: {
981
+ retry_mode: ("FAILED_ACTIONS" | "ALL_ACTIONS")?
982
+ }?,
977
983
  conditions: Array[
978
984
  {
979
- result: ("ROLLBACK" | "FAIL")?,
985
+ result: ("ROLLBACK" | "FAIL" | "RETRY" | "SKIP")?,
980
986
  rules: Array[
981
987
  {
982
988
  name: ::String,
@@ -1003,7 +1009,7 @@ module Aws
1003
1009
  on_success: {
1004
1010
  conditions: Array[
1005
1011
  {
1006
- result: ("ROLLBACK" | "FAIL")?,
1012
+ result: ("ROLLBACK" | "FAIL" | "RETRY" | "SKIP")?,
1007
1013
  rules: Array[
1008
1014
  {
1009
1015
  name: ::String,
@@ -1030,7 +1036,7 @@ module Aws
1030
1036
  before_entry: {
1031
1037
  conditions: Array[
1032
1038
  {
1033
- result: ("ROLLBACK" | "FAIL")?,
1039
+ result: ("ROLLBACK" | "FAIL" | "RETRY" | "SKIP")?,
1034
1040
  rules: Array[
1035
1041
  {
1036
1042
  name: ::String,
data/sig/types.rbs CHANGED
@@ -317,7 +317,7 @@ module Aws::CodePipeline
317
317
  end
318
318
 
319
319
  class Condition
320
- attr_accessor result: ("ROLLBACK" | "FAIL")
320
+ attr_accessor result: ("ROLLBACK" | "FAIL" | "RETRY" | "SKIP")
321
321
  attr_accessor rules: ::Array[Types::RuleDeclaration]
322
322
  SENSITIVE: []
323
323
  end
@@ -463,7 +463,8 @@ module Aws::CodePipeline
463
463
  end
464
464
 
465
465
  class FailureConditions
466
- attr_accessor result: ("ROLLBACK" | "FAIL")
466
+ attr_accessor result: ("ROLLBACK" | "FAIL" | "RETRY" | "SKIP")
467
+ attr_accessor retry_configuration: Types::RetryConfiguration
467
468
  attr_accessor conditions: ::Array[Types::Condition]
468
469
  SENSITIVE: []
469
470
  end
@@ -1059,6 +1060,11 @@ module Aws::CodePipeline
1059
1060
  class ResourceNotFoundException < Aws::EmptyStructure
1060
1061
  end
1061
1062
 
1063
+ class RetryConfiguration
1064
+ attr_accessor retry_mode: ("FAILED_ACTIONS" | "ALL_ACTIONS")
1065
+ SENSITIVE: []
1066
+ end
1067
+
1062
1068
  class RetryStageExecutionInput
1063
1069
  attr_accessor pipeline_name: ::String
1064
1070
  attr_accessor stage_name: ::String
@@ -1072,6 +1078,13 @@ module Aws::CodePipeline
1072
1078
  SENSITIVE: []
1073
1079
  end
1074
1080
 
1081
+ class RetryStageMetadata
1082
+ attr_accessor auto_stage_retry_attempt: ::Integer
1083
+ attr_accessor manual_stage_retry_attempt: ::Integer
1084
+ attr_accessor latest_retry_trigger: ("AutomatedStageRetry" | "ManualStageRetry")
1085
+ SENSITIVE: []
1086
+ end
1087
+
1075
1088
  class RollbackStageInput
1076
1089
  attr_accessor pipeline_name: ::String
1077
1090
  attr_accessor stage_name: ::String
@@ -1259,7 +1272,7 @@ module Aws::CodePipeline
1259
1272
 
1260
1273
  class StageExecution
1261
1274
  attr_accessor pipeline_execution_id: ::String
1262
- attr_accessor status: ("Cancelled" | "InProgress" | "Failed" | "Stopped" | "Stopping" | "Succeeded")
1275
+ attr_accessor status: ("Cancelled" | "InProgress" | "Failed" | "Stopped" | "Stopping" | "Succeeded" | "Skipped")
1263
1276
  attr_accessor type: ("STANDARD" | "ROLLBACK")
1264
1277
  SENSITIVE: []
1265
1278
  end
@@ -1280,6 +1293,7 @@ module Aws::CodePipeline
1280
1293
  attr_accessor before_entry_condition_state: Types::StageConditionState
1281
1294
  attr_accessor on_success_condition_state: Types::StageConditionState
1282
1295
  attr_accessor on_failure_condition_state: Types::StageConditionState
1296
+ attr_accessor retry_stage_metadata: Types::RetryStageMetadata
1283
1297
  SENSITIVE: []
1284
1298
  end
1285
1299
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codepipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.87.0
4
+ version: 1.89.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-09 00:00:00.000000000 Z
11
+ date: 2024-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.210.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement