aws-sdk-codepipeline 1.77.0 → 1.79.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
32
  require 'aws-sdk-core/plugins/request_compression.rb'
33
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
34
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/telemetry.rb'
35
36
  require 'aws-sdk-core/plugins/sign.rb'
36
37
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
37
38
 
@@ -83,6 +84,7 @@ module Aws::CodePipeline
83
84
  add_plugin(Aws::Plugins::RequestCompression)
84
85
  add_plugin(Aws::Plugins::DefaultsMode)
85
86
  add_plugin(Aws::Plugins::RecursionDetection)
87
+ add_plugin(Aws::Plugins::Telemetry)
86
88
  add_plugin(Aws::Plugins::Sign)
87
89
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
88
90
  add_plugin(Aws::CodePipeline::Plugins::Endpoints)
@@ -337,6 +339,16 @@ module Aws::CodePipeline
337
339
  # ** Please note ** When response stubbing is enabled, no HTTP
338
340
  # requests are made, and retries are disabled.
339
341
  #
342
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
343
+ # Allows you to provide a telemetry provider, which is used to
344
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
345
+ # will not record or emit any telemetry data. The SDK supports the
346
+ # following telemetry providers:
347
+ #
348
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
349
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
350
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
351
+ #
340
352
  # @option options [Aws::TokenProvider] :token_provider
341
353
  # A Bearer Token Provider. This can be an instance of any one of the
342
354
  # following classes:
@@ -716,7 +728,92 @@ module Aws::CodePipeline
716
728
  # },
717
729
  # ],
718
730
  # on_failure: {
719
- # result: "ROLLBACK", # accepts ROLLBACK
731
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
732
+ # conditions: [
733
+ # {
734
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
735
+ # rules: [
736
+ # {
737
+ # name: "RuleName", # required
738
+ # rule_type_id: { # required
739
+ # category: "Rule", # required, accepts Rule
740
+ # owner: "AWS", # accepts AWS
741
+ # provider: "RuleProvider", # required
742
+ # version: "Version",
743
+ # },
744
+ # configuration: {
745
+ # "RuleConfigurationKey" => "RuleConfigurationValue",
746
+ # },
747
+ # input_artifacts: [
748
+ # {
749
+ # name: "ArtifactName", # required
750
+ # },
751
+ # ],
752
+ # role_arn: "RoleArn",
753
+ # region: "AWSRegionName",
754
+ # timeout_in_minutes: 1,
755
+ # },
756
+ # ],
757
+ # },
758
+ # ],
759
+ # },
760
+ # on_success: {
761
+ # conditions: [ # required
762
+ # {
763
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
764
+ # rules: [
765
+ # {
766
+ # name: "RuleName", # required
767
+ # rule_type_id: { # required
768
+ # category: "Rule", # required, accepts Rule
769
+ # owner: "AWS", # accepts AWS
770
+ # provider: "RuleProvider", # required
771
+ # version: "Version",
772
+ # },
773
+ # configuration: {
774
+ # "RuleConfigurationKey" => "RuleConfigurationValue",
775
+ # },
776
+ # input_artifacts: [
777
+ # {
778
+ # name: "ArtifactName", # required
779
+ # },
780
+ # ],
781
+ # role_arn: "RoleArn",
782
+ # region: "AWSRegionName",
783
+ # timeout_in_minutes: 1,
784
+ # },
785
+ # ],
786
+ # },
787
+ # ],
788
+ # },
789
+ # before_entry: {
790
+ # conditions: [ # required
791
+ # {
792
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
793
+ # rules: [
794
+ # {
795
+ # name: "RuleName", # required
796
+ # rule_type_id: { # required
797
+ # category: "Rule", # required, accepts Rule
798
+ # owner: "AWS", # accepts AWS
799
+ # provider: "RuleProvider", # required
800
+ # version: "Version",
801
+ # },
802
+ # configuration: {
803
+ # "RuleConfigurationKey" => "RuleConfigurationValue",
804
+ # },
805
+ # input_artifacts: [
806
+ # {
807
+ # name: "ArtifactName", # required
808
+ # },
809
+ # ],
810
+ # role_arn: "RoleArn",
811
+ # region: "AWSRegionName",
812
+ # timeout_in_minutes: 1,
813
+ # },
814
+ # ],
815
+ # },
816
+ # ],
720
817
  # },
721
818
  # },
722
819
  # ],
@@ -811,7 +908,52 @@ module Aws::CodePipeline
811
908
  # resp.pipeline.stages[0].actions[0].region #=> String
812
909
  # resp.pipeline.stages[0].actions[0].namespace #=> String
813
910
  # resp.pipeline.stages[0].actions[0].timeout_in_minutes #=> Integer
814
- # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK"
911
+ # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK", "FAIL"
912
+ # resp.pipeline.stages[0].on_failure.conditions #=> Array
913
+ # resp.pipeline.stages[0].on_failure.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
914
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules #=> Array
915
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].name #=> String
916
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
917
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
918
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.provider #=> String
919
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.version #=> String
920
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].configuration #=> Hash
921
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
922
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].input_artifacts #=> Array
923
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].input_artifacts[0].name #=> String
924
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].role_arn #=> String
925
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].region #=> String
926
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].timeout_in_minutes #=> Integer
927
+ # resp.pipeline.stages[0].on_success.conditions #=> Array
928
+ # resp.pipeline.stages[0].on_success.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
929
+ # resp.pipeline.stages[0].on_success.conditions[0].rules #=> Array
930
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].name #=> String
931
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
932
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
933
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.provider #=> String
934
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.version #=> String
935
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].configuration #=> Hash
936
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
937
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].input_artifacts #=> Array
938
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].input_artifacts[0].name #=> String
939
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].role_arn #=> String
940
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].region #=> String
941
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].timeout_in_minutes #=> Integer
942
+ # resp.pipeline.stages[0].before_entry.conditions #=> Array
943
+ # resp.pipeline.stages[0].before_entry.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
944
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules #=> Array
945
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].name #=> String
946
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
947
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
948
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.provider #=> String
949
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.version #=> String
950
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].configuration #=> Hash
951
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
952
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].input_artifacts #=> Array
953
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].input_artifacts[0].name #=> String
954
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].role_arn #=> String
955
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].region #=> String
956
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].timeout_in_minutes #=> Integer
815
957
  # resp.pipeline.version #=> Integer
816
958
  # resp.pipeline.execution_mode #=> String, one of "QUEUED", "SUPERSEDED", "PARALLEL"
817
959
  # resp.pipeline.pipeline_type #=> String, one of "V1", "V2"
@@ -1263,7 +1405,52 @@ module Aws::CodePipeline
1263
1405
  # resp.pipeline.stages[0].actions[0].region #=> String
1264
1406
  # resp.pipeline.stages[0].actions[0].namespace #=> String
1265
1407
  # resp.pipeline.stages[0].actions[0].timeout_in_minutes #=> Integer
1266
- # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK"
1408
+ # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK", "FAIL"
1409
+ # resp.pipeline.stages[0].on_failure.conditions #=> Array
1410
+ # resp.pipeline.stages[0].on_failure.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
1411
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules #=> Array
1412
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].name #=> String
1413
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
1414
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
1415
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.provider #=> String
1416
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.version #=> String
1417
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].configuration #=> Hash
1418
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
1419
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].input_artifacts #=> Array
1420
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].input_artifacts[0].name #=> String
1421
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].role_arn #=> String
1422
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].region #=> String
1423
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].timeout_in_minutes #=> Integer
1424
+ # resp.pipeline.stages[0].on_success.conditions #=> Array
1425
+ # resp.pipeline.stages[0].on_success.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
1426
+ # resp.pipeline.stages[0].on_success.conditions[0].rules #=> Array
1427
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].name #=> String
1428
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
1429
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
1430
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.provider #=> String
1431
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.version #=> String
1432
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].configuration #=> Hash
1433
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
1434
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].input_artifacts #=> Array
1435
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].input_artifacts[0].name #=> String
1436
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].role_arn #=> String
1437
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].region #=> String
1438
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].timeout_in_minutes #=> Integer
1439
+ # resp.pipeline.stages[0].before_entry.conditions #=> Array
1440
+ # resp.pipeline.stages[0].before_entry.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
1441
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules #=> Array
1442
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].name #=> String
1443
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
1444
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
1445
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.provider #=> String
1446
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.version #=> String
1447
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].configuration #=> Hash
1448
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
1449
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].input_artifacts #=> Array
1450
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].input_artifacts[0].name #=> String
1451
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].role_arn #=> String
1452
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].region #=> String
1453
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].timeout_in_minutes #=> Integer
1267
1454
  # resp.pipeline.version #=> Integer
1268
1455
  # resp.pipeline.execution_mode #=> String, one of "QUEUED", "SUPERSEDED", "PARALLEL"
1269
1456
  # resp.pipeline.pipeline_type #=> String, one of "V1", "V2"
@@ -1431,6 +1618,75 @@ module Aws::CodePipeline
1431
1618
  # resp.stage_states[0].latest_execution.pipeline_execution_id #=> String
1432
1619
  # resp.stage_states[0].latest_execution.status #=> String, one of "Cancelled", "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
1433
1620
  # resp.stage_states[0].latest_execution.type #=> String, one of "STANDARD", "ROLLBACK"
1621
+ # resp.stage_states[0].before_entry_condition_state.latest_execution.status #=> String, one of "InProgress", "Failed", "Errored", "Succeeded", "Cancelled", "Abandoned", "Overridden"
1622
+ # resp.stage_states[0].before_entry_condition_state.latest_execution.summary #=> String
1623
+ # resp.stage_states[0].before_entry_condition_state.condition_states #=> Array
1624
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].latest_execution.status #=> String, one of "InProgress", "Failed", "Errored", "Succeeded", "Cancelled", "Abandoned", "Overridden"
1625
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].latest_execution.summary #=> String
1626
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].latest_execution.last_status_change #=> Time
1627
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states #=> Array
1628
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].rule_name #=> String
1629
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].current_revision.revision_id #=> String
1630
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].current_revision.revision_change_id #=> String
1631
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].current_revision.created #=> Time
1632
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.rule_execution_id #=> String
1633
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
1634
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.summary #=> String
1635
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.last_status_change #=> Time
1636
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.token #=> String
1637
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.last_updated_by #=> String
1638
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.external_execution_id #=> String
1639
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.external_execution_url #=> String
1640
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.error_details.code #=> String
1641
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].latest_execution.error_details.message #=> String
1642
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].entity_url #=> String
1643
+ # resp.stage_states[0].before_entry_condition_state.condition_states[0].rule_states[0].revision_url #=> String
1644
+ # resp.stage_states[0].on_success_condition_state.latest_execution.status #=> String, one of "InProgress", "Failed", "Errored", "Succeeded", "Cancelled", "Abandoned", "Overridden"
1645
+ # resp.stage_states[0].on_success_condition_state.latest_execution.summary #=> String
1646
+ # resp.stage_states[0].on_success_condition_state.condition_states #=> Array
1647
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].latest_execution.status #=> String, one of "InProgress", "Failed", "Errored", "Succeeded", "Cancelled", "Abandoned", "Overridden"
1648
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].latest_execution.summary #=> String
1649
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].latest_execution.last_status_change #=> Time
1650
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states #=> Array
1651
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].rule_name #=> String
1652
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].current_revision.revision_id #=> String
1653
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].current_revision.revision_change_id #=> String
1654
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].current_revision.created #=> Time
1655
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.rule_execution_id #=> String
1656
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
1657
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.summary #=> String
1658
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.last_status_change #=> Time
1659
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.token #=> String
1660
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.last_updated_by #=> String
1661
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.external_execution_id #=> String
1662
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.external_execution_url #=> String
1663
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.error_details.code #=> String
1664
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].latest_execution.error_details.message #=> String
1665
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].entity_url #=> String
1666
+ # resp.stage_states[0].on_success_condition_state.condition_states[0].rule_states[0].revision_url #=> String
1667
+ # resp.stage_states[0].on_failure_condition_state.latest_execution.status #=> String, one of "InProgress", "Failed", "Errored", "Succeeded", "Cancelled", "Abandoned", "Overridden"
1668
+ # resp.stage_states[0].on_failure_condition_state.latest_execution.summary #=> String
1669
+ # resp.stage_states[0].on_failure_condition_state.condition_states #=> Array
1670
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].latest_execution.status #=> String, one of "InProgress", "Failed", "Errored", "Succeeded", "Cancelled", "Abandoned", "Overridden"
1671
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].latest_execution.summary #=> String
1672
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].latest_execution.last_status_change #=> Time
1673
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states #=> Array
1674
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].rule_name #=> String
1675
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].current_revision.revision_id #=> String
1676
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].current_revision.revision_change_id #=> String
1677
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].current_revision.created #=> Time
1678
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.rule_execution_id #=> String
1679
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
1680
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.summary #=> String
1681
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.last_status_change #=> Time
1682
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.token #=> String
1683
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.last_updated_by #=> String
1684
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.external_execution_id #=> String
1685
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.external_execution_url #=> String
1686
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.error_details.code #=> String
1687
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].latest_execution.error_details.message #=> String
1688
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].entity_url #=> String
1689
+ # resp.stage_states[0].on_failure_condition_state.condition_states[0].rule_states[0].revision_url #=> String
1434
1690
  # resp.created #=> Time
1435
1691
  # resp.updated #=> Time
1436
1692
  #
@@ -1792,6 +2048,141 @@ module Aws::CodePipeline
1792
2048
  req.send_request(options)
1793
2049
  end
1794
2050
 
2051
+ # Lists the rule executions that have occurred in a pipeline configured
2052
+ # for conditions with rules.
2053
+ #
2054
+ # @option params [required, String] :pipeline_name
2055
+ # The name of the pipeline for which you want to get execution summary
2056
+ # information.
2057
+ #
2058
+ # @option params [Types::RuleExecutionFilter] :filter
2059
+ # Input information used to filter rule execution history.
2060
+ #
2061
+ # @option params [Integer] :max_results
2062
+ # The maximum number of results to return in a single call. To retrieve
2063
+ # the remaining results, make another call with the returned nextToken
2064
+ # value. Pipeline history is limited to the most recent 12 months, based
2065
+ # on pipeline execution start times. Default value is 100.
2066
+ #
2067
+ # @option params [String] :next_token
2068
+ # The token that was returned from the previous `ListRuleExecutions`
2069
+ # call, which can be used to return the next set of rule executions in
2070
+ # the list.
2071
+ #
2072
+ # @return [Types::ListRuleExecutionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2073
+ #
2074
+ # * {Types::ListRuleExecutionsOutput#rule_execution_details #rule_execution_details} => Array<Types::RuleExecutionDetail>
2075
+ # * {Types::ListRuleExecutionsOutput#next_token #next_token} => String
2076
+ #
2077
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2078
+ #
2079
+ # @example Request syntax with placeholder values
2080
+ #
2081
+ # resp = client.list_rule_executions({
2082
+ # pipeline_name: "PipelineName", # required
2083
+ # filter: {
2084
+ # pipeline_execution_id: "PipelineExecutionId",
2085
+ # latest_in_pipeline_execution: {
2086
+ # pipeline_execution_id: "PipelineExecutionId", # required
2087
+ # start_time_range: "Latest", # required, accepts Latest, All
2088
+ # },
2089
+ # },
2090
+ # max_results: 1,
2091
+ # next_token: "NextToken",
2092
+ # })
2093
+ #
2094
+ # @example Response structure
2095
+ #
2096
+ # resp.rule_execution_details #=> Array
2097
+ # resp.rule_execution_details[0].pipeline_execution_id #=> String
2098
+ # resp.rule_execution_details[0].rule_execution_id #=> String
2099
+ # resp.rule_execution_details[0].pipeline_version #=> Integer
2100
+ # resp.rule_execution_details[0].stage_name #=> String
2101
+ # resp.rule_execution_details[0].rule_name #=> String
2102
+ # resp.rule_execution_details[0].start_time #=> Time
2103
+ # resp.rule_execution_details[0].last_update_time #=> Time
2104
+ # resp.rule_execution_details[0].updated_by #=> String
2105
+ # resp.rule_execution_details[0].status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
2106
+ # resp.rule_execution_details[0].input.rule_type_id.category #=> String, one of "Rule"
2107
+ # resp.rule_execution_details[0].input.rule_type_id.owner #=> String, one of "AWS"
2108
+ # resp.rule_execution_details[0].input.rule_type_id.provider #=> String
2109
+ # resp.rule_execution_details[0].input.rule_type_id.version #=> String
2110
+ # resp.rule_execution_details[0].input.configuration #=> Hash
2111
+ # resp.rule_execution_details[0].input.configuration["RuleConfigurationKey"] #=> String
2112
+ # resp.rule_execution_details[0].input.resolved_configuration #=> Hash
2113
+ # resp.rule_execution_details[0].input.resolved_configuration["String"] #=> String
2114
+ # resp.rule_execution_details[0].input.role_arn #=> String
2115
+ # resp.rule_execution_details[0].input.region #=> String
2116
+ # resp.rule_execution_details[0].input.input_artifacts #=> Array
2117
+ # resp.rule_execution_details[0].input.input_artifacts[0].name #=> String
2118
+ # resp.rule_execution_details[0].input.input_artifacts[0].s3location.bucket #=> String
2119
+ # resp.rule_execution_details[0].input.input_artifacts[0].s3location.key #=> String
2120
+ # resp.rule_execution_details[0].output.execution_result.external_execution_id #=> String
2121
+ # resp.rule_execution_details[0].output.execution_result.external_execution_summary #=> String
2122
+ # resp.rule_execution_details[0].output.execution_result.external_execution_url #=> String
2123
+ # resp.rule_execution_details[0].output.execution_result.error_details.code #=> String
2124
+ # resp.rule_execution_details[0].output.execution_result.error_details.message #=> String
2125
+ # resp.next_token #=> String
2126
+ #
2127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListRuleExecutions AWS API Documentation
2128
+ #
2129
+ # @overload list_rule_executions(params = {})
2130
+ # @param [Hash] params ({})
2131
+ def list_rule_executions(params = {}, options = {})
2132
+ req = build_request(:list_rule_executions, params)
2133
+ req.send_request(options)
2134
+ end
2135
+
2136
+ # Lists the rules for the condition.
2137
+ #
2138
+ # @option params [String] :rule_owner_filter
2139
+ # The rule owner to filter on.
2140
+ #
2141
+ # @option params [String] :region_filter
2142
+ # The rule Region to filter on.
2143
+ #
2144
+ # @return [Types::ListRuleTypesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2145
+ #
2146
+ # * {Types::ListRuleTypesOutput#rule_types #rule_types} => Array<Types::RuleType>
2147
+ #
2148
+ # @example Request syntax with placeholder values
2149
+ #
2150
+ # resp = client.list_rule_types({
2151
+ # rule_owner_filter: "AWS", # accepts AWS
2152
+ # region_filter: "AWSRegionName",
2153
+ # })
2154
+ #
2155
+ # @example Response structure
2156
+ #
2157
+ # resp.rule_types #=> Array
2158
+ # resp.rule_types[0].id.category #=> String, one of "Rule"
2159
+ # resp.rule_types[0].id.owner #=> String, one of "AWS"
2160
+ # resp.rule_types[0].id.provider #=> String
2161
+ # resp.rule_types[0].id.version #=> String
2162
+ # resp.rule_types[0].settings.third_party_configuration_url #=> String
2163
+ # resp.rule_types[0].settings.entity_url_template #=> String
2164
+ # resp.rule_types[0].settings.execution_url_template #=> String
2165
+ # resp.rule_types[0].settings.revision_url_template #=> String
2166
+ # resp.rule_types[0].rule_configuration_properties #=> Array
2167
+ # resp.rule_types[0].rule_configuration_properties[0].name #=> String
2168
+ # resp.rule_types[0].rule_configuration_properties[0].required #=> Boolean
2169
+ # resp.rule_types[0].rule_configuration_properties[0].key #=> Boolean
2170
+ # resp.rule_types[0].rule_configuration_properties[0].secret #=> Boolean
2171
+ # resp.rule_types[0].rule_configuration_properties[0].queryable #=> Boolean
2172
+ # resp.rule_types[0].rule_configuration_properties[0].description #=> String
2173
+ # resp.rule_types[0].rule_configuration_properties[0].type #=> String, one of "String", "Number", "Boolean"
2174
+ # resp.rule_types[0].input_artifact_details.minimum_count #=> Integer
2175
+ # resp.rule_types[0].input_artifact_details.maximum_count #=> Integer
2176
+ #
2177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListRuleTypes AWS API Documentation
2178
+ #
2179
+ # @overload list_rule_types(params = {})
2180
+ # @param [Hash] params ({})
2181
+ def list_rule_types(params = {}, options = {})
2182
+ req = build_request(:list_rule_types, params)
2183
+ req.send_request(options)
2184
+ end
2185
+
1795
2186
  # Gets the set of key-value pairs (metadata) that are used to manage the
1796
2187
  # resource.
1797
2188
  #
@@ -1895,6 +2286,42 @@ module Aws::CodePipeline
1895
2286
  req.send_request(options)
1896
2287
  end
1897
2288
 
2289
+ # Used to override a stage condition.
2290
+ #
2291
+ # @option params [required, String] :pipeline_name
2292
+ # The name of the pipeline with the stage that will override the
2293
+ # condition.
2294
+ #
2295
+ # @option params [required, String] :stage_name
2296
+ # The name of the stage for the override.
2297
+ #
2298
+ # @option params [required, String] :pipeline_execution_id
2299
+ # The ID of the pipeline execution for the override.
2300
+ #
2301
+ # @option params [required, String] :condition_type
2302
+ # The type of condition to override for the stage, such as entry
2303
+ # conditions, failure conditions, or success conditions.
2304
+ #
2305
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2306
+ #
2307
+ # @example Request syntax with placeholder values
2308
+ #
2309
+ # resp = client.override_stage_condition({
2310
+ # pipeline_name: "PipelineName", # required
2311
+ # stage_name: "StageName", # required
2312
+ # pipeline_execution_id: "PipelineExecutionId", # required
2313
+ # condition_type: "BEFORE_ENTRY", # required, accepts BEFORE_ENTRY, ON_SUCCESS
2314
+ # })
2315
+ #
2316
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/OverrideStageCondition AWS API Documentation
2317
+ #
2318
+ # @overload override_stage_condition(params = {})
2319
+ # @param [Hash] params ({})
2320
+ def override_stage_condition(params = {}, options = {})
2321
+ req = build_request(:override_stage_condition, params)
2322
+ req.send_request(options)
2323
+ end
2324
+
1898
2325
  # Returns information about any jobs for CodePipeline to act on.
1899
2326
  # `PollForJobs` is valid only for action types with "Custom" in the
1900
2327
  # owner field. If the action type contains `AWS` or `ThirdParty` in the
@@ -2828,7 +3255,92 @@ module Aws::CodePipeline
2828
3255
  # },
2829
3256
  # ],
2830
3257
  # on_failure: {
2831
- # result: "ROLLBACK", # accepts ROLLBACK
3258
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
3259
+ # conditions: [
3260
+ # {
3261
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
3262
+ # rules: [
3263
+ # {
3264
+ # name: "RuleName", # required
3265
+ # rule_type_id: { # required
3266
+ # category: "Rule", # required, accepts Rule
3267
+ # owner: "AWS", # accepts AWS
3268
+ # provider: "RuleProvider", # required
3269
+ # version: "Version",
3270
+ # },
3271
+ # configuration: {
3272
+ # "RuleConfigurationKey" => "RuleConfigurationValue",
3273
+ # },
3274
+ # input_artifacts: [
3275
+ # {
3276
+ # name: "ArtifactName", # required
3277
+ # },
3278
+ # ],
3279
+ # role_arn: "RoleArn",
3280
+ # region: "AWSRegionName",
3281
+ # timeout_in_minutes: 1,
3282
+ # },
3283
+ # ],
3284
+ # },
3285
+ # ],
3286
+ # },
3287
+ # on_success: {
3288
+ # conditions: [ # required
3289
+ # {
3290
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
3291
+ # rules: [
3292
+ # {
3293
+ # name: "RuleName", # required
3294
+ # rule_type_id: { # required
3295
+ # category: "Rule", # required, accepts Rule
3296
+ # owner: "AWS", # accepts AWS
3297
+ # provider: "RuleProvider", # required
3298
+ # version: "Version",
3299
+ # },
3300
+ # configuration: {
3301
+ # "RuleConfigurationKey" => "RuleConfigurationValue",
3302
+ # },
3303
+ # input_artifacts: [
3304
+ # {
3305
+ # name: "ArtifactName", # required
3306
+ # },
3307
+ # ],
3308
+ # role_arn: "RoleArn",
3309
+ # region: "AWSRegionName",
3310
+ # timeout_in_minutes: 1,
3311
+ # },
3312
+ # ],
3313
+ # },
3314
+ # ],
3315
+ # },
3316
+ # before_entry: {
3317
+ # conditions: [ # required
3318
+ # {
3319
+ # result: "ROLLBACK", # accepts ROLLBACK, FAIL
3320
+ # rules: [
3321
+ # {
3322
+ # name: "RuleName", # required
3323
+ # rule_type_id: { # required
3324
+ # category: "Rule", # required, accepts Rule
3325
+ # owner: "AWS", # accepts AWS
3326
+ # provider: "RuleProvider", # required
3327
+ # version: "Version",
3328
+ # },
3329
+ # configuration: {
3330
+ # "RuleConfigurationKey" => "RuleConfigurationValue",
3331
+ # },
3332
+ # input_artifacts: [
3333
+ # {
3334
+ # name: "ArtifactName", # required
3335
+ # },
3336
+ # ],
3337
+ # role_arn: "RoleArn",
3338
+ # region: "AWSRegionName",
3339
+ # timeout_in_minutes: 1,
3340
+ # },
3341
+ # ],
3342
+ # },
3343
+ # ],
2832
3344
  # },
2833
3345
  # },
2834
3346
  # ],
@@ -2917,7 +3429,52 @@ module Aws::CodePipeline
2917
3429
  # resp.pipeline.stages[0].actions[0].region #=> String
2918
3430
  # resp.pipeline.stages[0].actions[0].namespace #=> String
2919
3431
  # resp.pipeline.stages[0].actions[0].timeout_in_minutes #=> Integer
2920
- # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK"
3432
+ # resp.pipeline.stages[0].on_failure.result #=> String, one of "ROLLBACK", "FAIL"
3433
+ # resp.pipeline.stages[0].on_failure.conditions #=> Array
3434
+ # resp.pipeline.stages[0].on_failure.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
3435
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules #=> Array
3436
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].name #=> String
3437
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
3438
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
3439
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.provider #=> String
3440
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].rule_type_id.version #=> String
3441
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].configuration #=> Hash
3442
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
3443
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].input_artifacts #=> Array
3444
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].input_artifacts[0].name #=> String
3445
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].role_arn #=> String
3446
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].region #=> String
3447
+ # resp.pipeline.stages[0].on_failure.conditions[0].rules[0].timeout_in_minutes #=> Integer
3448
+ # resp.pipeline.stages[0].on_success.conditions #=> Array
3449
+ # resp.pipeline.stages[0].on_success.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
3450
+ # resp.pipeline.stages[0].on_success.conditions[0].rules #=> Array
3451
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].name #=> String
3452
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
3453
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
3454
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.provider #=> String
3455
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].rule_type_id.version #=> String
3456
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].configuration #=> Hash
3457
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
3458
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].input_artifacts #=> Array
3459
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].input_artifacts[0].name #=> String
3460
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].role_arn #=> String
3461
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].region #=> String
3462
+ # resp.pipeline.stages[0].on_success.conditions[0].rules[0].timeout_in_minutes #=> Integer
3463
+ # resp.pipeline.stages[0].before_entry.conditions #=> Array
3464
+ # resp.pipeline.stages[0].before_entry.conditions[0].result #=> String, one of "ROLLBACK", "FAIL"
3465
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules #=> Array
3466
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].name #=> String
3467
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.category #=> String, one of "Rule"
3468
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.owner #=> String, one of "AWS"
3469
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.provider #=> String
3470
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].rule_type_id.version #=> String
3471
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].configuration #=> Hash
3472
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].configuration["RuleConfigurationKey"] #=> String
3473
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].input_artifacts #=> Array
3474
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].input_artifacts[0].name #=> String
3475
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].role_arn #=> String
3476
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].region #=> String
3477
+ # resp.pipeline.stages[0].before_entry.conditions[0].rules[0].timeout_in_minutes #=> Integer
2921
3478
  # resp.pipeline.version #=> Integer
2922
3479
  # resp.pipeline.execution_mode #=> String, one of "QUEUED", "SUPERSEDED", "PARALLEL"
2923
3480
  # resp.pipeline.pipeline_type #=> String, one of "V1", "V2"
@@ -2968,14 +3525,19 @@ module Aws::CodePipeline
2968
3525
  # @api private
2969
3526
  def build_request(operation_name, params = {})
2970
3527
  handlers = @handlers.for(operation_name)
3528
+ tracer = config.telemetry_provider.tracer_provider.tracer(
3529
+ Aws::Telemetry.module_to_tracer_name('Aws::CodePipeline')
3530
+ )
2971
3531
  context = Seahorse::Client::RequestContext.new(
2972
3532
  operation_name: operation_name,
2973
3533
  operation: config.api.operation(operation_name),
2974
3534
  client: self,
2975
3535
  params: params,
2976
- config: config)
3536
+ config: config,
3537
+ tracer: tracer
3538
+ )
2977
3539
  context[:gem_name] = 'aws-sdk-codepipeline'
2978
- context[:gem_version] = '1.77.0'
3540
+ context[:gem_version] = '1.79.0'
2979
3541
  Seahorse::Client::Request.new(handlers, context)
2980
3542
  end
2981
3543