aws-sdk-codepipeline 1.77.0 → 1.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-codepipeline/customizations'
52
52
  # @!group service
53
53
  module Aws::CodePipeline
54
54
 
55
- GEM_VERSION = '1.77.0'
55
+ GEM_VERSION = '1.78.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -204,7 +204,86 @@ module Aws
204
204
  },
205
205
  ],
206
206
  on_failure: {
207
- result: ("ROLLBACK")?
207
+ result: ("ROLLBACK" | "FAIL")?,
208
+ conditions: Array[
209
+ {
210
+ result: ("ROLLBACK" | "FAIL")?,
211
+ rules: Array[
212
+ {
213
+ name: ::String,
214
+ rule_type_id: {
215
+ category: ("Rule"),
216
+ owner: ("AWS")?,
217
+ provider: ::String,
218
+ version: ::String?
219
+ },
220
+ configuration: Hash[::String, ::String]?,
221
+ input_artifacts: Array[
222
+ {
223
+ name: ::String
224
+ },
225
+ ]?,
226
+ role_arn: ::String?,
227
+ region: ::String?,
228
+ timeout_in_minutes: ::Integer?
229
+ },
230
+ ]?
231
+ },
232
+ ]?
233
+ }?,
234
+ on_success: {
235
+ conditions: Array[
236
+ {
237
+ result: ("ROLLBACK" | "FAIL")?,
238
+ rules: Array[
239
+ {
240
+ name: ::String,
241
+ rule_type_id: {
242
+ category: ("Rule"),
243
+ owner: ("AWS")?,
244
+ provider: ::String,
245
+ version: ::String?
246
+ },
247
+ configuration: Hash[::String, ::String]?,
248
+ input_artifacts: Array[
249
+ {
250
+ name: ::String
251
+ },
252
+ ]?,
253
+ role_arn: ::String?,
254
+ region: ::String?,
255
+ timeout_in_minutes: ::Integer?
256
+ },
257
+ ]?
258
+ },
259
+ ]
260
+ }?,
261
+ before_entry: {
262
+ conditions: Array[
263
+ {
264
+ result: ("ROLLBACK" | "FAIL")?,
265
+ rules: Array[
266
+ {
267
+ name: ::String,
268
+ rule_type_id: {
269
+ category: ("Rule"),
270
+ owner: ("AWS")?,
271
+ provider: ::String,
272
+ version: ::String?
273
+ },
274
+ configuration: Hash[::String, ::String]?,
275
+ input_artifacts: Array[
276
+ {
277
+ name: ::String
278
+ },
279
+ ]?,
280
+ role_arn: ::String?,
281
+ region: ::String?,
282
+ timeout_in_minutes: ::Integer?
283
+ },
284
+ ]?
285
+ },
286
+ ]
208
287
  }?
209
288
  },
210
289
  ],
@@ -448,6 +527,37 @@ module Aws
448
527
  ) -> _ListPipelinesResponseSuccess
449
528
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPipelinesResponseSuccess
450
529
 
530
+ interface _ListRuleExecutionsResponseSuccess
531
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleExecutionsOutput]
532
+ def rule_execution_details: () -> ::Array[Types::RuleExecutionDetail]
533
+ def next_token: () -> ::String
534
+ end
535
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_rule_executions-instance_method
536
+ def list_rule_executions: (
537
+ pipeline_name: ::String,
538
+ ?filter: {
539
+ pipeline_execution_id: ::String?,
540
+ latest_in_pipeline_execution: {
541
+ pipeline_execution_id: ::String,
542
+ start_time_range: ("Latest" | "All")
543
+ }?
544
+ },
545
+ ?max_results: ::Integer,
546
+ ?next_token: ::String
547
+ ) -> _ListRuleExecutionsResponseSuccess
548
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRuleExecutionsResponseSuccess
549
+
550
+ interface _ListRuleTypesResponseSuccess
551
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleTypesOutput]
552
+ def rule_types: () -> ::Array[Types::RuleType]
553
+ end
554
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_rule_types-instance_method
555
+ def list_rule_types: (
556
+ ?rule_owner_filter: ("AWS"),
557
+ ?region_filter: ::String
558
+ ) -> _ListRuleTypesResponseSuccess
559
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRuleTypesResponseSuccess
560
+
451
561
  interface _ListTagsForResourceResponseSuccess
452
562
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
453
563
  def tags: () -> ::Array[Types::Tag]
@@ -473,6 +583,15 @@ module Aws
473
583
  ) -> _ListWebhooksResponseSuccess
474
584
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebhooksResponseSuccess
475
585
 
586
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#override_stage_condition-instance_method
587
+ def override_stage_condition: (
588
+ pipeline_name: ::String,
589
+ stage_name: ::String,
590
+ pipeline_execution_id: ::String,
591
+ condition_type: ("BEFORE_ENTRY" | "ON_SUCCESS")
592
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
593
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
594
+
476
595
  interface _PollForJobsResponseSuccess
477
596
  include ::Seahorse::Client::_ResponseSuccess[Types::PollForJobsOutput]
478
597
  def jobs: () -> ::Array[Types::Job]
@@ -846,7 +965,86 @@ module Aws
846
965
  },
847
966
  ],
848
967
  on_failure: {
849
- result: ("ROLLBACK")?
968
+ result: ("ROLLBACK" | "FAIL")?,
969
+ conditions: Array[
970
+ {
971
+ result: ("ROLLBACK" | "FAIL")?,
972
+ rules: Array[
973
+ {
974
+ name: ::String,
975
+ rule_type_id: {
976
+ category: ("Rule"),
977
+ owner: ("AWS")?,
978
+ provider: ::String,
979
+ version: ::String?
980
+ },
981
+ configuration: Hash[::String, ::String]?,
982
+ input_artifacts: Array[
983
+ {
984
+ name: ::String
985
+ },
986
+ ]?,
987
+ role_arn: ::String?,
988
+ region: ::String?,
989
+ timeout_in_minutes: ::Integer?
990
+ },
991
+ ]?
992
+ },
993
+ ]?
994
+ }?,
995
+ on_success: {
996
+ conditions: Array[
997
+ {
998
+ result: ("ROLLBACK" | "FAIL")?,
999
+ rules: Array[
1000
+ {
1001
+ name: ::String,
1002
+ rule_type_id: {
1003
+ category: ("Rule"),
1004
+ owner: ("AWS")?,
1005
+ provider: ::String,
1006
+ version: ::String?
1007
+ },
1008
+ configuration: Hash[::String, ::String]?,
1009
+ input_artifacts: Array[
1010
+ {
1011
+ name: ::String
1012
+ },
1013
+ ]?,
1014
+ role_arn: ::String?,
1015
+ region: ::String?,
1016
+ timeout_in_minutes: ::Integer?
1017
+ },
1018
+ ]?
1019
+ },
1020
+ ]
1021
+ }?,
1022
+ before_entry: {
1023
+ conditions: Array[
1024
+ {
1025
+ result: ("ROLLBACK" | "FAIL")?,
1026
+ rules: Array[
1027
+ {
1028
+ name: ::String,
1029
+ rule_type_id: {
1030
+ category: ("Rule"),
1031
+ owner: ("AWS")?,
1032
+ provider: ::String,
1033
+ version: ::String?
1034
+ },
1035
+ configuration: Hash[::String, ::String]?,
1036
+ input_artifacts: Array[
1037
+ {
1038
+ name: ::String
1039
+ },
1040
+ ]?,
1041
+ role_arn: ::String?,
1042
+ region: ::String?,
1043
+ timeout_in_minutes: ::Integer?
1044
+ },
1045
+ ]?
1046
+ },
1047
+ ]
850
1048
  }?
851
1049
  },
852
1050
  ],
data/sig/errors.rbs CHANGED
@@ -25,6 +25,9 @@ module Aws
25
25
  class ConcurrentPipelineExecutionsLimitExceededException < ::Aws::Errors::ServiceError
26
26
  def message: () -> ::String
27
27
  end
28
+ class ConditionNotOverridableException < ::Aws::Errors::ServiceError
29
+ def message: () -> ::String
30
+ end
28
31
  class ConflictException < ::Aws::Errors::ServiceError
29
32
  def message: () -> ::String
30
33
  end
data/sig/types.rbs CHANGED
@@ -293,6 +293,11 @@ module Aws::CodePipeline
293
293
  SENSITIVE: []
294
294
  end
295
295
 
296
+ class BeforeEntryConditions
297
+ attr_accessor conditions: ::Array[Types::Condition]
298
+ SENSITIVE: []
299
+ end
300
+
296
301
  class BlockerDeclaration
297
302
  attr_accessor name: ::String
298
303
  attr_accessor type: ("Schedule")
@@ -309,6 +314,30 @@ module Aws::CodePipeline
309
314
  SENSITIVE: []
310
315
  end
311
316
 
317
+ class Condition
318
+ attr_accessor result: ("ROLLBACK" | "FAIL")
319
+ attr_accessor rules: ::Array[Types::RuleDeclaration]
320
+ SENSITIVE: []
321
+ end
322
+
323
+ class ConditionExecution
324
+ attr_accessor status: ("InProgress" | "Failed" | "Errored" | "Succeeded" | "Cancelled" | "Abandoned" | "Overridden")
325
+ attr_accessor summary: ::String
326
+ attr_accessor last_status_change: ::Time
327
+ SENSITIVE: []
328
+ end
329
+
330
+ class ConditionNotOverridableException
331
+ attr_accessor message: ::String
332
+ SENSITIVE: []
333
+ end
334
+
335
+ class ConditionState
336
+ attr_accessor latest_execution: Types::ConditionExecution
337
+ attr_accessor rule_states: ::Array[Types::RuleState]
338
+ SENSITIVE: []
339
+ end
340
+
312
341
  class ConflictException
313
342
  attr_accessor message: ::String
314
343
  SENSITIVE: []
@@ -432,7 +461,8 @@ module Aws::CodePipeline
432
461
  end
433
462
 
434
463
  class FailureConditions
435
- attr_accessor result: ("ROLLBACK")
464
+ attr_accessor result: ("ROLLBACK" | "FAIL")
465
+ attr_accessor conditions: ::Array[Types::Condition]
436
466
  SENSITIVE: []
437
467
  end
438
468
 
@@ -707,6 +737,31 @@ module Aws::CodePipeline
707
737
  SENSITIVE: []
708
738
  end
709
739
 
740
+ class ListRuleExecutionsInput
741
+ attr_accessor pipeline_name: ::String
742
+ attr_accessor filter: Types::RuleExecutionFilter
743
+ attr_accessor max_results: ::Integer
744
+ attr_accessor next_token: ::String
745
+ SENSITIVE: []
746
+ end
747
+
748
+ class ListRuleExecutionsOutput
749
+ attr_accessor rule_execution_details: ::Array[Types::RuleExecutionDetail]
750
+ attr_accessor next_token: ::String
751
+ SENSITIVE: []
752
+ end
753
+
754
+ class ListRuleTypesInput
755
+ attr_accessor rule_owner_filter: ("AWS")
756
+ attr_accessor region_filter: ::String
757
+ SENSITIVE: []
758
+ end
759
+
760
+ class ListRuleTypesOutput
761
+ attr_accessor rule_types: ::Array[Types::RuleType]
762
+ SENSITIVE: []
763
+ end
764
+
710
765
  class ListTagsForResourceInput
711
766
  attr_accessor resource_arn: ::String
712
767
  attr_accessor next_token: ::String
@@ -756,6 +811,14 @@ module Aws::CodePipeline
756
811
  SENSITIVE: []
757
812
  end
758
813
 
814
+ class OverrideStageConditionInput
815
+ attr_accessor pipeline_name: ::String
816
+ attr_accessor stage_name: ::String
817
+ attr_accessor pipeline_execution_id: ::String
818
+ attr_accessor condition_type: ("BEFORE_ENTRY" | "ON_SUCCESS")
819
+ SENSITIVE: []
820
+ end
821
+
759
822
  class PipelineContext
760
823
  attr_accessor pipeline_name: ::String
761
824
  attr_accessor stage: Types::StageContext
@@ -1018,6 +1081,125 @@ module Aws::CodePipeline
1018
1081
  SENSITIVE: []
1019
1082
  end
1020
1083
 
1084
+ class RuleConfigurationProperty
1085
+ attr_accessor name: ::String
1086
+ attr_accessor required: bool
1087
+ attr_accessor key: bool
1088
+ attr_accessor secret: bool
1089
+ attr_accessor queryable: bool
1090
+ attr_accessor description: ::String
1091
+ attr_accessor type: ("String" | "Number" | "Boolean")
1092
+ SENSITIVE: []
1093
+ end
1094
+
1095
+ class RuleDeclaration
1096
+ attr_accessor name: ::String
1097
+ attr_accessor rule_type_id: Types::RuleTypeId
1098
+ attr_accessor configuration: ::Hash[::String, ::String]
1099
+ attr_accessor input_artifacts: ::Array[Types::InputArtifact]
1100
+ attr_accessor role_arn: ::String
1101
+ attr_accessor region: ::String
1102
+ attr_accessor timeout_in_minutes: ::Integer
1103
+ SENSITIVE: []
1104
+ end
1105
+
1106
+ class RuleExecution
1107
+ attr_accessor rule_execution_id: ::String
1108
+ attr_accessor status: ("InProgress" | "Abandoned" | "Succeeded" | "Failed")
1109
+ attr_accessor summary: ::String
1110
+ attr_accessor last_status_change: ::Time
1111
+ attr_accessor token: ::String
1112
+ attr_accessor last_updated_by: ::String
1113
+ attr_accessor external_execution_id: ::String
1114
+ attr_accessor external_execution_url: ::String
1115
+ attr_accessor error_details: Types::ErrorDetails
1116
+ SENSITIVE: []
1117
+ end
1118
+
1119
+ class RuleExecutionDetail
1120
+ attr_accessor pipeline_execution_id: ::String
1121
+ attr_accessor rule_execution_id: ::String
1122
+ attr_accessor pipeline_version: ::Integer
1123
+ attr_accessor stage_name: ::String
1124
+ attr_accessor rule_name: ::String
1125
+ attr_accessor start_time: ::Time
1126
+ attr_accessor last_update_time: ::Time
1127
+ attr_accessor updated_by: ::String
1128
+ attr_accessor status: ("InProgress" | "Abandoned" | "Succeeded" | "Failed")
1129
+ attr_accessor input: Types::RuleExecutionInput
1130
+ attr_accessor output: Types::RuleExecutionOutput
1131
+ SENSITIVE: []
1132
+ end
1133
+
1134
+ class RuleExecutionFilter
1135
+ attr_accessor pipeline_execution_id: ::String
1136
+ attr_accessor latest_in_pipeline_execution: Types::LatestInPipelineExecutionFilter
1137
+ SENSITIVE: []
1138
+ end
1139
+
1140
+ class RuleExecutionInput
1141
+ attr_accessor rule_type_id: Types::RuleTypeId
1142
+ attr_accessor configuration: ::Hash[::String, ::String]
1143
+ attr_accessor resolved_configuration: ::Hash[::String, ::String]
1144
+ attr_accessor role_arn: ::String
1145
+ attr_accessor region: ::String
1146
+ attr_accessor input_artifacts: ::Array[Types::ArtifactDetail]
1147
+ SENSITIVE: []
1148
+ end
1149
+
1150
+ class RuleExecutionOutput
1151
+ attr_accessor execution_result: Types::RuleExecutionResult
1152
+ SENSITIVE: []
1153
+ end
1154
+
1155
+ class RuleExecutionResult
1156
+ attr_accessor external_execution_id: ::String
1157
+ attr_accessor external_execution_summary: ::String
1158
+ attr_accessor external_execution_url: ::String
1159
+ attr_accessor error_details: Types::ErrorDetails
1160
+ SENSITIVE: []
1161
+ end
1162
+
1163
+ class RuleRevision
1164
+ attr_accessor revision_id: ::String
1165
+ attr_accessor revision_change_id: ::String
1166
+ attr_accessor created: ::Time
1167
+ SENSITIVE: []
1168
+ end
1169
+
1170
+ class RuleState
1171
+ attr_accessor rule_name: ::String
1172
+ attr_accessor current_revision: Types::RuleRevision
1173
+ attr_accessor latest_execution: Types::RuleExecution
1174
+ attr_accessor entity_url: ::String
1175
+ attr_accessor revision_url: ::String
1176
+ SENSITIVE: []
1177
+ end
1178
+
1179
+ class RuleType
1180
+ attr_accessor id: Types::RuleTypeId
1181
+ attr_accessor settings: Types::RuleTypeSettings
1182
+ attr_accessor rule_configuration_properties: ::Array[Types::RuleConfigurationProperty]
1183
+ attr_accessor input_artifact_details: Types::ArtifactDetails
1184
+ SENSITIVE: []
1185
+ end
1186
+
1187
+ class RuleTypeId
1188
+ attr_accessor category: ("Rule")
1189
+ attr_accessor owner: ("AWS")
1190
+ attr_accessor provider: ::String
1191
+ attr_accessor version: ::String
1192
+ SENSITIVE: []
1193
+ end
1194
+
1195
+ class RuleTypeSettings
1196
+ attr_accessor third_party_configuration_url: ::String
1197
+ attr_accessor entity_url_template: ::String
1198
+ attr_accessor execution_url_template: ::String
1199
+ attr_accessor revision_url_template: ::String
1200
+ SENSITIVE: []
1201
+ end
1202
+
1021
1203
  class S3ArtifactLocation
1022
1204
  attr_accessor bucket_name: ::String
1023
1205
  attr_accessor object_key: ::String
@@ -1045,6 +1227,18 @@ module Aws::CodePipeline
1045
1227
  SENSITIVE: []
1046
1228
  end
1047
1229
 
1230
+ class StageConditionState
1231
+ attr_accessor latest_execution: Types::StageConditionsExecution
1232
+ attr_accessor condition_states: ::Array[Types::ConditionState]
1233
+ SENSITIVE: []
1234
+ end
1235
+
1236
+ class StageConditionsExecution
1237
+ attr_accessor status: ("InProgress" | "Failed" | "Errored" | "Succeeded" | "Cancelled" | "Abandoned" | "Overridden")
1238
+ attr_accessor summary: ::String
1239
+ SENSITIVE: []
1240
+ end
1241
+
1048
1242
  class StageContext
1049
1243
  attr_accessor name: ::String
1050
1244
  SENSITIVE: []
@@ -1055,6 +1249,8 @@ module Aws::CodePipeline
1055
1249
  attr_accessor blockers: ::Array[Types::BlockerDeclaration]
1056
1250
  attr_accessor actions: ::Array[Types::ActionDeclaration]
1057
1251
  attr_accessor on_failure: Types::FailureConditions
1252
+ attr_accessor on_success: Types::SuccessConditions
1253
+ attr_accessor before_entry: Types::BeforeEntryConditions
1058
1254
  SENSITIVE: []
1059
1255
  end
1060
1256
 
@@ -1078,6 +1274,9 @@ module Aws::CodePipeline
1078
1274
  attr_accessor inbound_transition_state: Types::TransitionState
1079
1275
  attr_accessor action_states: ::Array[Types::ActionState]
1080
1276
  attr_accessor latest_execution: Types::StageExecution
1277
+ attr_accessor before_entry_condition_state: Types::StageConditionState
1278
+ attr_accessor on_success_condition_state: Types::StageConditionState
1279
+ attr_accessor on_failure_condition_state: Types::StageConditionState
1081
1280
  SENSITIVE: []
1082
1281
  end
1083
1282
 
@@ -1117,6 +1316,11 @@ module Aws::CodePipeline
1117
1316
  SENSITIVE: []
1118
1317
  end
1119
1318
 
1319
+ class SuccessConditions
1320
+ attr_accessor conditions: ::Array[Types::Condition]
1321
+ SENSITIVE: []
1322
+ end
1323
+
1120
1324
  class Tag
1121
1325
  attr_accessor key: ::String
1122
1326
  attr_accessor value: ::String
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.77.0
4
+ version: 1.78.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-07-02 00:00:00.000000000 Z
11
+ date: 2024-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core