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.
@@ -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.79.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -51,6 +51,7 @@ module Aws
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?simple_json: bool,
53
53
  ?stub_responses: untyped,
54
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
54
55
  ?token_provider: untyped,
55
56
  ?use_dualstack_endpoint: bool,
56
57
  ?use_fips_endpoint: bool,
@@ -204,7 +205,86 @@ module Aws
204
205
  },
205
206
  ],
206
207
  on_failure: {
207
- result: ("ROLLBACK")?
208
+ result: ("ROLLBACK" | "FAIL")?,
209
+ conditions: Array[
210
+ {
211
+ result: ("ROLLBACK" | "FAIL")?,
212
+ rules: Array[
213
+ {
214
+ name: ::String,
215
+ rule_type_id: {
216
+ category: ("Rule"),
217
+ owner: ("AWS")?,
218
+ provider: ::String,
219
+ version: ::String?
220
+ },
221
+ configuration: Hash[::String, ::String]?,
222
+ input_artifacts: Array[
223
+ {
224
+ name: ::String
225
+ },
226
+ ]?,
227
+ role_arn: ::String?,
228
+ region: ::String?,
229
+ timeout_in_minutes: ::Integer?
230
+ },
231
+ ]?
232
+ },
233
+ ]?
234
+ }?,
235
+ on_success: {
236
+ conditions: Array[
237
+ {
238
+ result: ("ROLLBACK" | "FAIL")?,
239
+ rules: Array[
240
+ {
241
+ name: ::String,
242
+ rule_type_id: {
243
+ category: ("Rule"),
244
+ owner: ("AWS")?,
245
+ provider: ::String,
246
+ version: ::String?
247
+ },
248
+ configuration: Hash[::String, ::String]?,
249
+ input_artifacts: Array[
250
+ {
251
+ name: ::String
252
+ },
253
+ ]?,
254
+ role_arn: ::String?,
255
+ region: ::String?,
256
+ timeout_in_minutes: ::Integer?
257
+ },
258
+ ]?
259
+ },
260
+ ]
261
+ }?,
262
+ before_entry: {
263
+ conditions: Array[
264
+ {
265
+ result: ("ROLLBACK" | "FAIL")?,
266
+ rules: Array[
267
+ {
268
+ name: ::String,
269
+ rule_type_id: {
270
+ category: ("Rule"),
271
+ owner: ("AWS")?,
272
+ provider: ::String,
273
+ version: ::String?
274
+ },
275
+ configuration: Hash[::String, ::String]?,
276
+ input_artifacts: Array[
277
+ {
278
+ name: ::String
279
+ },
280
+ ]?,
281
+ role_arn: ::String?,
282
+ region: ::String?,
283
+ timeout_in_minutes: ::Integer?
284
+ },
285
+ ]?
286
+ },
287
+ ]
208
288
  }?
209
289
  },
210
290
  ],
@@ -448,6 +528,37 @@ module Aws
448
528
  ) -> _ListPipelinesResponseSuccess
449
529
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPipelinesResponseSuccess
450
530
 
531
+ interface _ListRuleExecutionsResponseSuccess
532
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleExecutionsOutput]
533
+ def rule_execution_details: () -> ::Array[Types::RuleExecutionDetail]
534
+ def next_token: () -> ::String
535
+ end
536
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_rule_executions-instance_method
537
+ def list_rule_executions: (
538
+ pipeline_name: ::String,
539
+ ?filter: {
540
+ pipeline_execution_id: ::String?,
541
+ latest_in_pipeline_execution: {
542
+ pipeline_execution_id: ::String,
543
+ start_time_range: ("Latest" | "All")
544
+ }?
545
+ },
546
+ ?max_results: ::Integer,
547
+ ?next_token: ::String
548
+ ) -> _ListRuleExecutionsResponseSuccess
549
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRuleExecutionsResponseSuccess
550
+
551
+ interface _ListRuleTypesResponseSuccess
552
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleTypesOutput]
553
+ def rule_types: () -> ::Array[Types::RuleType]
554
+ end
555
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_rule_types-instance_method
556
+ def list_rule_types: (
557
+ ?rule_owner_filter: ("AWS"),
558
+ ?region_filter: ::String
559
+ ) -> _ListRuleTypesResponseSuccess
560
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRuleTypesResponseSuccess
561
+
451
562
  interface _ListTagsForResourceResponseSuccess
452
563
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
453
564
  def tags: () -> ::Array[Types::Tag]
@@ -473,6 +584,15 @@ module Aws
473
584
  ) -> _ListWebhooksResponseSuccess
474
585
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebhooksResponseSuccess
475
586
 
587
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#override_stage_condition-instance_method
588
+ def override_stage_condition: (
589
+ pipeline_name: ::String,
590
+ stage_name: ::String,
591
+ pipeline_execution_id: ::String,
592
+ condition_type: ("BEFORE_ENTRY" | "ON_SUCCESS")
593
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
594
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
595
+
476
596
  interface _PollForJobsResponseSuccess
477
597
  include ::Seahorse::Client::_ResponseSuccess[Types::PollForJobsOutput]
478
598
  def jobs: () -> ::Array[Types::Job]
@@ -846,7 +966,86 @@ module Aws
846
966
  },
847
967
  ],
848
968
  on_failure: {
849
- result: ("ROLLBACK")?
969
+ result: ("ROLLBACK" | "FAIL")?,
970
+ conditions: Array[
971
+ {
972
+ result: ("ROLLBACK" | "FAIL")?,
973
+ rules: Array[
974
+ {
975
+ name: ::String,
976
+ rule_type_id: {
977
+ category: ("Rule"),
978
+ owner: ("AWS")?,
979
+ provider: ::String,
980
+ version: ::String?
981
+ },
982
+ configuration: Hash[::String, ::String]?,
983
+ input_artifacts: Array[
984
+ {
985
+ name: ::String
986
+ },
987
+ ]?,
988
+ role_arn: ::String?,
989
+ region: ::String?,
990
+ timeout_in_minutes: ::Integer?
991
+ },
992
+ ]?
993
+ },
994
+ ]?
995
+ }?,
996
+ on_success: {
997
+ conditions: Array[
998
+ {
999
+ result: ("ROLLBACK" | "FAIL")?,
1000
+ rules: Array[
1001
+ {
1002
+ name: ::String,
1003
+ rule_type_id: {
1004
+ category: ("Rule"),
1005
+ owner: ("AWS")?,
1006
+ provider: ::String,
1007
+ version: ::String?
1008
+ },
1009
+ configuration: Hash[::String, ::String]?,
1010
+ input_artifacts: Array[
1011
+ {
1012
+ name: ::String
1013
+ },
1014
+ ]?,
1015
+ role_arn: ::String?,
1016
+ region: ::String?,
1017
+ timeout_in_minutes: ::Integer?
1018
+ },
1019
+ ]?
1020
+ },
1021
+ ]
1022
+ }?,
1023
+ before_entry: {
1024
+ conditions: Array[
1025
+ {
1026
+ result: ("ROLLBACK" | "FAIL")?,
1027
+ rules: Array[
1028
+ {
1029
+ name: ::String,
1030
+ rule_type_id: {
1031
+ category: ("Rule"),
1032
+ owner: ("AWS")?,
1033
+ provider: ::String,
1034
+ version: ::String?
1035
+ },
1036
+ configuration: Hash[::String, ::String]?,
1037
+ input_artifacts: Array[
1038
+ {
1039
+ name: ::String
1040
+ },
1041
+ ]?,
1042
+ role_arn: ::String?,
1043
+ region: ::String?,
1044
+ timeout_in_minutes: ::Integer?
1045
+ },
1046
+ ]?
1047
+ },
1048
+ ]
850
1049
  }?
851
1050
  },
852
1051
  ],
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/resource.rbs CHANGED
@@ -51,6 +51,7 @@ module Aws
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?simple_json: bool,
53
53
  ?stub_responses: untyped,
54
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
54
55
  ?token_provider: untyped,
55
56
  ?use_dualstack_endpoint: bool,
56
57
  ?use_fips_endpoint: bool,
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.79.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-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.201.0
22
+ version: 3.203.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement