aws-sdk-codepipeline 1.77.0 → 1.78.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ddc79ff2c2a8eeb68d5c1bf81ff0af5e38d5110f7a810bb868f57e53f0baafe
4
- data.tar.gz: 78845e3081415401807869d895b55cfafad40db05ae0b0b93f1598a0fc59534d
3
+ metadata.gz: 0ec540d3179bb16c4c8e677e2cde8cf5a221e7a5ef56e21721182f79f60a97f7
4
+ data.tar.gz: f0644534297578957789acf8cc0eade8820d554d750f29cac37388c3a2b98de6
5
5
  SHA512:
6
- metadata.gz: fd1654b6f12d38d7503c05080a276b31b9f5826f568b250127b09a59f3fb16c3efe865b526878c4ed2fa760840e538a7e97cab88c7612d8391c28a207e0309c3
7
- data.tar.gz: b64501ff9d57322547619f4c460d37dae25309cf5771b3efbe260af12d2b694c0a23d2658d569d7cb616a8c9a0f041a14b0336e1c7520250ae550827682826e5
6
+ metadata.gz: 031dabc1a171e6b88d5f5b8081a2e9f6de82c0ca7d3554645c7e485059cfc8acbeb7c2a90b30257530e591a5c4fa3b633baddbca7fec7b7b015cd2f1c736c2a6
7
+ data.tar.gz: 9abf168ad05c49ca91a29f3b87d11a142d8c2596262f5932b788382d96ee8f25f92a92d0ca42c28091190b2d0ec3895117691169ad6363d8f71fe18ee2f86ac1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.78.0 (2024-07-30)
5
+ ------------------
6
+
7
+ * Feature - AWS CodePipeline V2 type pipelines now support stage level conditions to enable development teams to safely release changes that meet quality and compliance requirements.
8
+
4
9
  1.77.0 (2024-07-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.77.0
1
+ 1.78.0
@@ -716,7 +716,92 @@ module Aws::CodePipeline
716
716
  # },
717
717
  # ],
718
718
  # on_failure: {
719
- # result: "ROLLBACK", # accepts ROLLBACK
719
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
720
+ # conditions: [
721
+ # {
722
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
723
+ # rules: [
724
+ # {
725
+ # name: "RuleName", # required
726
+ # rule_type_id: { # required
727
+ # category: "Rule", # required, accepts Rule
728
+ # owner: "AWS", # accepts AWS
729
+ # provider: "RuleProvider", # required
730
+ # version: "Version",
731
+ # },
732
+ # configuration: {
733
+ # "RuleConfigurationKey" => "RuleConfigurationValue",
734
+ # },
735
+ # input_artifacts: [
736
+ # {
737
+ # name: "ArtifactName", # required
738
+ # },
739
+ # ],
740
+ # role_arn: "RoleArn",
741
+ # region: "AWSRegionName",
742
+ # timeout_in_minutes: 1,
743
+ # },
744
+ # ],
745
+ # },
746
+ # ],
747
+ # },
748
+ # on_success: {
749
+ # conditions: [ # required
750
+ # {
751
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
752
+ # rules: [
753
+ # {
754
+ # name: "RuleName", # required
755
+ # rule_type_id: { # required
756
+ # category: "Rule", # required, accepts Rule
757
+ # owner: "AWS", # accepts AWS
758
+ # provider: "RuleProvider", # required
759
+ # version: "Version",
760
+ # },
761
+ # configuration: {
762
+ # "RuleConfigurationKey" => "RuleConfigurationValue",
763
+ # },
764
+ # input_artifacts: [
765
+ # {
766
+ # name: "ArtifactName", # required
767
+ # },
768
+ # ],
769
+ # role_arn: "RoleArn",
770
+ # region: "AWSRegionName",
771
+ # timeout_in_minutes: 1,
772
+ # },
773
+ # ],
774
+ # },
775
+ # ],
776
+ # },
777
+ # before_entry: {
778
+ # conditions: [ # required
779
+ # {
780
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
781
+ # rules: [
782
+ # {
783
+ # name: "RuleName", # required
784
+ # rule_type_id: { # required
785
+ # category: "Rule", # required, accepts Rule
786
+ # owner: "AWS", # accepts AWS
787
+ # provider: "RuleProvider", # required
788
+ # version: "Version",
789
+ # },
790
+ # configuration: {
791
+ # "RuleConfigurationKey" => "RuleConfigurationValue",
792
+ # },
793
+ # input_artifacts: [
794
+ # {
795
+ # name: "ArtifactName", # required
796
+ # },
797
+ # ],
798
+ # role_arn: "RoleArn",
799
+ # region: "AWSRegionName",
800
+ # timeout_in_minutes: 1,
801
+ # },
802
+ # ],
803
+ # },
804
+ # ],
720
805
  # },
721
806
  # },
722
807
  # ],
@@ -811,7 +896,52 @@ module Aws::CodePipeline
811
896
  # resp.pipeline.stages[0].actions[0].region #=> String
812
897
  # resp.pipeline.stages[0].actions[0].namespace #=> String
813
898
  # resp.pipeline.stages[0].actions[0].timeout_in_minutes #=> Integer
814
- # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK"
899
+ # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK", "FAIL"
900
+ # resp.pipeline.stages[0].on_failure.conditions #=> Array
901
+ # resp.pipeline.stages[0].on_failure.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
902
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules #=> Array
903
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].name #=> String
904
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
905
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
906
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.provider #=> String
907
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.version #=> String
908
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].configuration #=> Hash
909
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
910
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].input_artifacts #=> Array
911
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].input_artifacts[0].name #=> String
912
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].role_arn #=> String
913
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].region #=> String
914
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].timeout_in_minutes #=> Integer
915
+ # resp.pipeline.stages[0].on_success.conditions #=> Array
916
+ # resp.pipeline.stages[0].on_success.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
917
+ # resp.pipeline.stages[0].on_success.conditions[0].rules #=> Array
918
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].name #=> String
919
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
920
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
921
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.provider #=> String
922
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.version #=> String
923
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].configuration #=> Hash
924
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
925
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].input_artifacts #=> Array
926
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].input_artifacts[0].name #=> String
927
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].role_arn #=> String
928
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].region #=> String
929
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].timeout_in_minutes #=> Integer
930
+ # resp.pipeline.stages[0].before_entry.conditions #=> Array
931
+ # resp.pipeline.stages[0].before_entry.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
932
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules #=> Array
933
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].name #=> String
934
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
935
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
936
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.provider #=> String
937
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.version #=> String
938
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].configuration #=> Hash
939
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
940
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].input_artifacts #=> Array
941
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].input_artifacts[0].name #=> String
942
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].role_arn #=> String
943
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].region #=> String
944
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].timeout_in_minutes #=> Integer
815
945
  # resp.pipeline.version #=> Integer
816
946
  # resp.pipeline.execution_mode #=> String, one of "QUEUED", "SUPERSEDED", "PARALLEL"
817
947
  # resp.pipeline.pipeline_type #=> String, one of "V1", "V2"
@@ -1263,7 +1393,52 @@ module Aws::CodePipeline
1263
1393
  # resp.pipeline.stages[0].actions[0].region #=> String
1264
1394
  # resp.pipeline.stages[0].actions[0].namespace #=> String
1265
1395
  # resp.pipeline.stages[0].actions[0].timeout_in_minutes #=> Integer
1266
- # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK"
1396
+ # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK", "FAIL"
1397
+ # resp.pipeline.stages[0].on_failure.conditions #=> Array
1398
+ # resp.pipeline.stages[0].on_failure.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
1399
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules #=> Array
1400
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].name #=> String
1401
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
1402
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
1403
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.provider #=> String
1404
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.version #=> String
1405
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].configuration #=> Hash
1406
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
1407
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].input_artifacts #=> Array
1408
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].input_artifacts[0].name #=> String
1409
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].role_arn #=> String
1410
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].region #=> String
1411
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].timeout_in_minutes #=> Integer
1412
+ # resp.pipeline.stages[0].on_success.conditions #=> Array
1413
+ # resp.pipeline.stages[0].on_success.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
1414
+ # resp.pipeline.stages[0].on_success.conditions[0].rules #=> Array
1415
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].name #=> String
1416
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
1417
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
1418
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.provider #=> String
1419
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.version #=> String
1420
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].configuration #=> Hash
1421
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
1422
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].input_artifacts #=> Array
1423
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].input_artifacts[0].name #=> String
1424
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].role_arn #=> String
1425
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].region #=> String
1426
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].timeout_in_minutes #=> Integer
1427
+ # resp.pipeline.stages[0].before_entry.conditions #=> Array
1428
+ # resp.pipeline.stages[0].before_entry.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
1429
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules #=> Array
1430
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].name #=> String
1431
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
1432
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
1433
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.provider #=> String
1434
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.version #=> String
1435
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].configuration #=> Hash
1436
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
1437
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].input_artifacts #=> Array
1438
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].input_artifacts[0].name #=> String
1439
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].role_arn #=> String
1440
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].region #=> String
1441
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].timeout_in_minutes #=> Integer
1267
1442
  # resp.pipeline.version #=> Integer
1268
1443
  # resp.pipeline.execution_mode #=> String, one of "QUEUED", "SUPERSEDED", "PARALLEL"
1269
1444
  # resp.pipeline.pipeline_type #=> String, one of "V1", "V2"
@@ -1431,6 +1606,75 @@ module Aws::CodePipeline
1431
1606
  # resp.stage_states[0].latest_execution.pipeline_execution_id #=> String
1432
1607
  # resp.stage_states[0].latest_execution.status #=> String, one of "Cancelled", "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
1433
1608
  # resp.stage_states[0].latest_execution.type #=> String, one of "STANDARD", "ROLLBACK"
1609
+ # resp.stage_states[0].before_entry_condition_state.latest_execution.status #=> String, one of "InProgress", "Failed", "Errored", "Succeeded", "Cancelled", "Abandoned", "Overridden"
1610
+ # resp.stage_states[0].before_entry_condition_state.latest_execution.summary #=> String
1611
+ # resp.stage_states[0].before_entry_condition_state.condition_states #=> Array
1612
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].latest_execution.status #=> String, one of "InProgress", "Failed", "Errored", "Succeeded", "Cancelled", "Abandoned", "Overridden"
1613
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].latest_execution.summary #=> String
1614
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].latest_execution.last_status_change #=> Time
1615
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states #=> Array
1616
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].rule_name #=> String
1617
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].current_revision.revision_id #=> String
1618
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].current_revision.revision_change_id #=> String
1619
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].current_revision.created #=> Time
1620
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.rule_execution_id #=> String
1621
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
1622
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.summary #=> String
1623
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.last_status_change #=> Time
1624
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.token #=> String
1625
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.last_updated_by #=> String
1626
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.external_execution_id #=> String
1627
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.external_execution_url #=> String
1628
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.error_details.code #=> String
1629
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.error_details.message #=> String
1630
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].entity_url #=> String
1631
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].revision_url #=> String
1632
+ # resp.stage_states[0].on_success_condition_state.latest_execution.status #=> String, one of "InProgress", "Failed", "Errored", "Succeeded", "Cancelled", "Abandoned", "Overridden"
1633
+ # resp.stage_states[0].on_success_condition_state.latest_execution.summary #=> String
1634
+ # resp.stage_states[0].on_success_condition_state.condition_states #=> Array
1635
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].latest_execution.status #=> String, one of "InProgress", "Failed", "Errored", "Succeeded", "Cancelled", "Abandoned", "Overridden"
1636
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].latest_execution.summary #=> String
1637
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].latest_execution.last_status_change #=> Time
1638
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states #=> Array
1639
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].rule_name #=> String
1640
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].current_revision.revision_id #=> String
1641
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].current_revision.revision_change_id #=> String
1642
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].current_revision.created #=> Time
1643
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.rule_execution_id #=> String
1644
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
1645
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.summary #=> String
1646
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.last_status_change #=> Time
1647
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.token #=> String
1648
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.last_updated_by #=> String
1649
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.external_execution_id #=> String
1650
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.external_execution_url #=> String
1651
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.error_details.code #=> String
1652
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.error_details.message #=> String
1653
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].entity_url #=> String
1654
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].revision_url #=> String
1655
+ # resp.stage_states[0].on_failure_condition_state.latest_execution.status #=> String, one of "InProgress", "Failed", "Errored", "Succeeded", "Cancelled", "Abandoned", "Overridden"
1656
+ # resp.stage_states[0].on_failure_condition_state.latest_execution.summary #=> String
1657
+ # resp.stage_states[0].on_failure_condition_state.condition_states #=> Array
1658
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].latest_execution.status #=> String, one of "InProgress", "Failed", "Errored", "Succeeded", "Cancelled", "Abandoned", "Overridden"
1659
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].latest_execution.summary #=> String
1660
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].latest_execution.last_status_change #=> Time
1661
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states #=> Array
1662
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].rule_name #=> String
1663
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].current_revision.revision_id #=> String
1664
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].current_revision.revision_change_id #=> String
1665
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].current_revision.created #=> Time
1666
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.rule_execution_id #=> String
1667
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
1668
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.summary #=> String
1669
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.last_status_change #=> Time
1670
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.token #=> String
1671
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.last_updated_by #=> String
1672
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.external_execution_id #=> String
1673
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.external_execution_url #=> String
1674
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.error_details.code #=> String
1675
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.error_details.message #=> String
1676
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].entity_url #=> String
1677
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].revision_url #=> String
1434
1678
  # resp.created #=> Time
1435
1679
  # resp.updated #=> Time
1436
1680
  #
@@ -1792,6 +2036,141 @@ module Aws::CodePipeline
1792
2036
  req.send_request(options)
1793
2037
  end
1794
2038
 
2039
+ # Lists the rule executions that have occurred in a pipeline configured
2040
+ # for conditions with rules.
2041
+ #
2042
+ # @option params [required, String] :pipeline_name
2043
+ # The name of the pipeline for which you want to get execution summary
2044
+ # information.
2045
+ #
2046
+ # @option params [Types::RuleExecutionFilter] :filter
2047
+ # Input information used to filter rule execution history.
2048
+ #
2049
+ # @option params [Integer] :max_results
2050
+ # The maximum number of results to return in a single call. To retrieve
2051
+ # the remaining results, make another call with the returned nextToken
2052
+ # value. Pipeline history is limited to the most recent 12 months, based
2053
+ # on pipeline execution start times. Default value is 100.
2054
+ #
2055
+ # @option params [String] :next_token
2056
+ # The token that was returned from the previous `ListRuleExecutions`
2057
+ # call, which can be used to return the next set of rule executions in
2058
+ # the list.
2059
+ #
2060
+ # @return [Types::ListRuleExecutionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2061
+ #
2062
+ # * {Types::ListRuleExecutionsOutput#rule_execution_details #rule_execution_details} => Array<Types::RuleExecutionDetail>
2063
+ # * {Types::ListRuleExecutionsOutput#next_token #next_token} => String
2064
+ #
2065
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2066
+ #
2067
+ # @example Request syntax with placeholder values
2068
+ #
2069
+ # resp = client.list_rule_executions({
2070
+ # pipeline_name: "PipelineName", # required
2071
+ # filter: {
2072
+ # pipeline_execution_id: "PipelineExecutionId",
2073
+ # latest_in_pipeline_execution: {
2074
+ # pipeline_execution_id: "PipelineExecutionId", # required
2075
+ # start_time_range: "Latest", # required, accepts Latest, All
2076
+ # },
2077
+ # },
2078
+ # max_results: 1,
2079
+ # next_token: "NextToken",
2080
+ # })
2081
+ #
2082
+ # @example Response structure
2083
+ #
2084
+ # resp.rule_execution_details #=> Array
2085
+ # resp.rule_execution_details[0].pipeline_execution_id #=> String
2086
+ # resp.rule_execution_details[0].rule_execution_id #=> String
2087
+ # resp.rule_execution_details[0].pipeline_version #=> Integer
2088
+ # resp.rule_execution_details[0].stage_name #=> String
2089
+ # resp.rule_execution_details[0].rule_name #=> String
2090
+ # resp.rule_execution_details[0].start_time #=> Time
2091
+ # resp.rule_execution_details[0].last_update_time #=> Time
2092
+ # resp.rule_execution_details[0].updated_by #=> String
2093
+ # resp.rule_execution_details[0].status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
2094
+ # resp.rule_execution_details[0].input.rule_type_id.category #=> String, one of "Rule"
2095
+ # resp.rule_execution_details[0].input.rule_type_id.owner #=> String, one of "AWS"
2096
+ # resp.rule_execution_details[0].input.rule_type_id.provider #=> String
2097
+ # resp.rule_execution_details[0].input.rule_type_id.version #=> String
2098
+ # resp.rule_execution_details[0].input.configuration #=> Hash
2099
+ # resp.rule_execution_details[0].input.configuration["RuleConfigurationKey"] #=> String
2100
+ # resp.rule_execution_details[0].input.resolved_configuration #=> Hash
2101
+ # resp.rule_execution_details[0].input.resolved_configuration["String"] #=> String
2102
+ # resp.rule_execution_details[0].input.role_arn #=> String
2103
+ # resp.rule_execution_details[0].input.region #=> String
2104
+ # resp.rule_execution_details[0].input.input_artifacts #=> Array
2105
+ # resp.rule_execution_details[0].input.input_artifacts[0].name #=> String
2106
+ # resp.rule_execution_details[0].input.input_artifacts[0].s3location.bucket #=> String
2107
+ # resp.rule_execution_details[0].input.input_artifacts[0].s3location.key #=> String
2108
+ # resp.rule_execution_details[0].output.execution_result.external_execution_id #=> String
2109
+ # resp.rule_execution_details[0].output.execution_result.external_execution_summary #=> String
2110
+ # resp.rule_execution_details[0].output.execution_result.external_execution_url #=> String
2111
+ # resp.rule_execution_details[0].output.execution_result.error_details.code #=> String
2112
+ # resp.rule_execution_details[0].output.execution_result.error_details.message #=> String
2113
+ # resp.next_token #=> String
2114
+ #
2115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListRuleExecutions AWS API Documentation
2116
+ #
2117
+ # @overload list_rule_executions(params = {})
2118
+ # @param [Hash] params ({})
2119
+ def list_rule_executions(params = {}, options = {})
2120
+ req = build_request(:list_rule_executions, params)
2121
+ req.send_request(options)
2122
+ end
2123
+
2124
+ # Lists the rules for the condition.
2125
+ #
2126
+ # @option params [String] :rule_owner_filter
2127
+ # The rule owner to filter on.
2128
+ #
2129
+ # @option params [String] :region_filter
2130
+ # The rule Region to filter on.
2131
+ #
2132
+ # @return [Types::ListRuleTypesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2133
+ #
2134
+ # * {Types::ListRuleTypesOutput#rule_types #rule_types} => Array<Types::RuleType>
2135
+ #
2136
+ # @example Request syntax with placeholder values
2137
+ #
2138
+ # resp = client.list_rule_types({
2139
+ # rule_owner_filter: "AWS", # accepts AWS
2140
+ # region_filter: "AWSRegionName",
2141
+ # })
2142
+ #
2143
+ # @example Response structure
2144
+ #
2145
+ # resp.rule_types #=> Array
2146
+ # resp.rule_types[0].id.category #=> String, one of "Rule"
2147
+ # resp.rule_types[0].id.owner #=> String, one of "AWS"
2148
+ # resp.rule_types[0].id.provider #=> String
2149
+ # resp.rule_types[0].id.version #=> String
2150
+ # resp.rule_types[0].settings.third_party_configuration_url #=> String
2151
+ # resp.rule_types[0].settings.entity_url_template #=> String
2152
+ # resp.rule_types[0].settings.execution_url_template #=> String
2153
+ # resp.rule_types[0].settings.revision_url_template #=> String
2154
+ # resp.rule_types[0].rule_configuration_properties #=> Array
2155
+ # resp.rule_types[0].rule_configuration_properties[0].name #=> String
2156
+ # resp.rule_types[0].rule_configuration_properties[0].required #=> Boolean
2157
+ # resp.rule_types[0].rule_configuration_properties[0].key #=> Boolean
2158
+ # resp.rule_types[0].rule_configuration_properties[0].secret #=> Boolean
2159
+ # resp.rule_types[0].rule_configuration_properties[0].queryable #=> Boolean
2160
+ # resp.rule_types[0].rule_configuration_properties[0].description #=> String
2161
+ # resp.rule_types[0].rule_configuration_properties[0].type #=> String, one of "String", "Number", "Boolean"
2162
+ # resp.rule_types[0].input_artifact_details.minimum_count #=> Integer
2163
+ # resp.rule_types[0].input_artifact_details.maximum_count #=> Integer
2164
+ #
2165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListRuleTypes AWS API Documentation
2166
+ #
2167
+ # @overload list_rule_types(params = {})
2168
+ # @param [Hash] params ({})
2169
+ def list_rule_types(params = {}, options = {})
2170
+ req = build_request(:list_rule_types, params)
2171
+ req.send_request(options)
2172
+ end
2173
+
1795
2174
  # Gets the set of key-value pairs (metadata) that are used to manage the
1796
2175
  # resource.
1797
2176
  #
@@ -1895,6 +2274,42 @@ module Aws::CodePipeline
1895
2274
  req.send_request(options)
1896
2275
  end
1897
2276
 
2277
+ # Used to override a stage condition.
2278
+ #
2279
+ # @option params [required, String] :pipeline_name
2280
+ # The name of the pipeline with the stage that will override the
2281
+ # condition.
2282
+ #
2283
+ # @option params [required, String] :stage_name
2284
+ # The name of the stage for the override.
2285
+ #
2286
+ # @option params [required, String] :pipeline_execution_id
2287
+ # The ID of the pipeline execution for the override.
2288
+ #
2289
+ # @option params [required, String] :condition_type
2290
+ # The type of condition to override for the stage, such as entry
2291
+ # conditions, failure conditions, or success conditions.
2292
+ #
2293
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2294
+ #
2295
+ # @example Request syntax with placeholder values
2296
+ #
2297
+ # resp = client.override_stage_condition({
2298
+ # pipeline_name: "PipelineName", # required
2299
+ # stage_name: "StageName", # required
2300
+ # pipeline_execution_id: "PipelineExecutionId", # required
2301
+ # condition_type: "BEFORE_ENTRY", # required, accepts BEFORE_ENTRY, ON_SUCCESS
2302
+ # })
2303
+ #
2304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/OverrideStageCondition AWS API Documentation
2305
+ #
2306
+ # @overload override_stage_condition(params = {})
2307
+ # @param [Hash] params ({})
2308
+ def override_stage_condition(params = {}, options = {})
2309
+ req = build_request(:override_stage_condition, params)
2310
+ req.send_request(options)
2311
+ end
2312
+
1898
2313
  # Returns information about any jobs for CodePipeline to act on.
1899
2314
  # `PollForJobs` is valid only for action types with "Custom" in the
1900
2315
  # owner field. If the action type contains `AWS` or `ThirdParty` in the
@@ -2828,7 +3243,92 @@ module Aws::CodePipeline
2828
3243
  # },
2829
3244
  # ],
2830
3245
  # on_failure: {
2831
- # result: "ROLLBACK", # accepts ROLLBACK
3246
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
3247
+ # conditions: [
3248
+ # {
3249
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
3250
+ # rules: [
3251
+ # {
3252
+ # name: "RuleName", # required
3253
+ # rule_type_id: { # required
3254
+ # category: "Rule", # required, accepts Rule
3255
+ # owner: "AWS", # accepts AWS
3256
+ # provider: "RuleProvider", # required
3257
+ # version: "Version",
3258
+ # },
3259
+ # configuration: {
3260
+ # "RuleConfigurationKey" => "RuleConfigurationValue",
3261
+ # },
3262
+ # input_artifacts: [
3263
+ # {
3264
+ # name: "ArtifactName", # required
3265
+ # },
3266
+ # ],
3267
+ # role_arn: "RoleArn",
3268
+ # region: "AWSRegionName",
3269
+ # timeout_in_minutes: 1,
3270
+ # },
3271
+ # ],
3272
+ # },
3273
+ # ],
3274
+ # },
3275
+ # on_success: {
3276
+ # conditions: [ # required
3277
+ # {
3278
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
3279
+ # rules: [
3280
+ # {
3281
+ # name: "RuleName", # required
3282
+ # rule_type_id: { # required
3283
+ # category: "Rule", # required, accepts Rule
3284
+ # owner: "AWS", # accepts AWS
3285
+ # provider: "RuleProvider", # required
3286
+ # version: "Version",
3287
+ # },
3288
+ # configuration: {
3289
+ # "RuleConfigurationKey" => "RuleConfigurationValue",
3290
+ # },
3291
+ # input_artifacts: [
3292
+ # {
3293
+ # name: "ArtifactName", # required
3294
+ # },
3295
+ # ],
3296
+ # role_arn: "RoleArn",
3297
+ # region: "AWSRegionName",
3298
+ # timeout_in_minutes: 1,
3299
+ # },
3300
+ # ],
3301
+ # },
3302
+ # ],
3303
+ # },
3304
+ # before_entry: {
3305
+ # conditions: [ # required
3306
+ # {
3307
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
3308
+ # rules: [
3309
+ # {
3310
+ # name: "RuleName", # required
3311
+ # rule_type_id: { # required
3312
+ # category: "Rule", # required, accepts Rule
3313
+ # owner: "AWS", # accepts AWS
3314
+ # provider: "RuleProvider", # required
3315
+ # version: "Version",
3316
+ # },
3317
+ # configuration: {
3318
+ # "RuleConfigurationKey" => "RuleConfigurationValue",
3319
+ # },
3320
+ # input_artifacts: [
3321
+ # {
3322
+ # name: "ArtifactName", # required
3323
+ # },
3324
+ # ],
3325
+ # role_arn: "RoleArn",
3326
+ # region: "AWSRegionName",
3327
+ # timeout_in_minutes: 1,
3328
+ # },
3329
+ # ],
3330
+ # },
3331
+ # ],
2832
3332
  # },
2833
3333
  # },
2834
3334
  # ],
@@ -2917,7 +3417,52 @@ module Aws::CodePipeline
2917
3417
  # resp.pipeline.stages[0].actions[0].region #=> String
2918
3418
  # resp.pipeline.stages[0].actions[0].namespace #=> String
2919
3419
  # resp.pipeline.stages[0].actions[0].timeout_in_minutes #=> Integer
2920
- # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK"
3420
+ # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK", "FAIL"
3421
+ # resp.pipeline.stages[0].on_failure.conditions #=> Array
3422
+ # resp.pipeline.stages[0].on_failure.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
3423
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules #=> Array
3424
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].name #=> String
3425
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
3426
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
3427
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.provider #=> String
3428
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.version #=> String
3429
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].configuration #=> Hash
3430
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
3431
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].input_artifacts #=> Array
3432
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].input_artifacts[0].name #=> String
3433
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].role_arn #=> String
3434
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].region #=> String
3435
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].timeout_in_minutes #=> Integer
3436
+ # resp.pipeline.stages[0].on_success.conditions #=> Array
3437
+ # resp.pipeline.stages[0].on_success.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
3438
+ # resp.pipeline.stages[0].on_success.conditions[0].rules #=> Array
3439
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].name #=> String
3440
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
3441
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
3442
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.provider #=> String
3443
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.version #=> String
3444
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].configuration #=> Hash
3445
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
3446
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].input_artifacts #=> Array
3447
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].input_artifacts[0].name #=> String
3448
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].role_arn #=> String
3449
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].region #=> String
3450
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].timeout_in_minutes #=> Integer
3451
+ # resp.pipeline.stages[0].before_entry.conditions #=> Array
3452
+ # resp.pipeline.stages[0].before_entry.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
3453
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules #=> Array
3454
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].name #=> String
3455
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
3456
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
3457
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.provider #=> String
3458
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.version #=> String
3459
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].configuration #=> Hash
3460
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
3461
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].input_artifacts #=> Array
3462
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].input_artifacts[0].name #=> String
3463
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].role_arn #=> String
3464
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].region #=> String
3465
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].timeout_in_minutes #=> Integer
2921
3466
  # resp.pipeline.version #=> Integer
2922
3467
  # resp.pipeline.execution_mode #=> String, one of "QUEUED", "SUPERSEDED", "PARALLEL"
2923
3468
  # resp.pipeline.pipeline_type #=> String, one of "V1", "V2"
@@ -2975,7 +3520,7 @@ module Aws::CodePipeline
2975
3520
  params: params,
2976
3521
  config: config)
2977
3522
  context[:gem_name] = 'aws-sdk-codepipeline'
2978
- context[:gem_version] = '1.77.0'
3523
+ context[:gem_version] = '1.78.0'
2979
3524
  Seahorse::Client::Request.new(handlers, context)
2980
3525
  end
2981
3526