aws-sdk-codepipeline 1.87.0 → 1.88.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codepipeline/client.rb +36 -24
- data/lib/aws-sdk-codepipeline/client_api.rb +14 -0
- data/lib/aws-sdk-codepipeline/types.rb +59 -1
- data/lib/aws-sdk-codepipeline.rb +1 -1
- data/sig/client.rbs +14 -8
- data/sig/types.rbs +17 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3734931471ccb6826c2cee88941418573ff51276a0594823cea86412dda38e94
|
4
|
+
data.tar.gz: '049f13f1e42a62b6b3fc47791d12036413f8d521e3fd2027828a5fde4aa5a28d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 686f6ae88f03b1a5aaac530f9b2b9544a6e6928095d56cc72e57fe860a6bc866e4be60f0935d23f76b89fa15d9396cffe27d492ac0d6634b75bdcbb3ae4c48b1
|
7
|
+
data.tar.gz: cf3cb7bcad6474771c76310c4879026f5d658ae42ab75c7a3b9b158cbcb4d8fbf9e4bb88ed082ec788f61aa4689d9ae30f4364e4a1e8bf51ffb617351564f580
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.88.0 (2024-10-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS CodePipeline V2 type pipelines now support automatically retrying failed stages and skipping stage for failed entry conditions.
|
8
|
+
|
4
9
|
1.87.0 (2024-10-09)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.88.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.
|
3603
|
+
context[:gem_version] = '1.88.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)
|
@@ -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
|
data/lib/aws-sdk-codepipeline.rb
CHANGED
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.
|
4
|
+
version: 1.88.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-
|
11
|
+
date: 2024-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|