aws-sdk-codepipeline 1.27.0 → 1.32.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,10 +6,96 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::CodePipeline
9
+
10
+ # When CodePipeline returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::CodePipeline::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all CodePipeline errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::CodePipeline::Errors::ServiceError
18
+ # # rescues all CodePipeline API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {ActionNotFoundException}
29
+ # * {ActionTypeNotFoundException}
30
+ # * {ApprovalAlreadyCompletedException}
31
+ # * {ConcurrentModificationException}
32
+ # * {DuplicatedStopRequestException}
33
+ # * {InvalidActionDeclarationException}
34
+ # * {InvalidApprovalTokenException}
35
+ # * {InvalidArnException}
36
+ # * {InvalidBlockerDeclarationException}
37
+ # * {InvalidClientTokenException}
38
+ # * {InvalidJobException}
39
+ # * {InvalidJobStateException}
40
+ # * {InvalidNextTokenException}
41
+ # * {InvalidNonceException}
42
+ # * {InvalidStageDeclarationException}
43
+ # * {InvalidStructureException}
44
+ # * {InvalidTagsException}
45
+ # * {InvalidWebhookAuthenticationParametersException}
46
+ # * {InvalidWebhookFilterPatternException}
47
+ # * {JobNotFoundException}
48
+ # * {LimitExceededException}
49
+ # * {NotLatestPipelineExecutionException}
50
+ # * {OutputVariablesSizeExceededException}
51
+ # * {PipelineExecutionNotFoundException}
52
+ # * {PipelineExecutionNotStoppableException}
53
+ # * {PipelineNameInUseException}
54
+ # * {PipelineNotFoundException}
55
+ # * {PipelineVersionNotFoundException}
56
+ # * {ResourceNotFoundException}
57
+ # * {StageNotFoundException}
58
+ # * {StageNotRetryableException}
59
+ # * {TooManyTagsException}
60
+ # * {ValidationException}
61
+ # * {WebhookNotFoundException}
62
+ #
63
+ # Additionally, error classes are dynamically generated for service errors based on the error code
64
+ # if they are not defined above.
9
65
  module Errors
10
66
 
11
67
  extend Aws::Errors::DynamicErrors
12
68
 
69
+ class ActionNotFoundException < ServiceError
70
+
71
+ # @param [Seahorse::Client::RequestContext] context
72
+ # @param [String] message
73
+ # @param [Aws::CodePipeline::Types::ActionNotFoundException] data
74
+ def initialize(context, message, data = Aws::EmptyStructure.new)
75
+ super(context, message, data)
76
+ end
77
+ end
78
+
79
+ class ActionTypeNotFoundException < ServiceError
80
+
81
+ # @param [Seahorse::Client::RequestContext] context
82
+ # @param [String] message
83
+ # @param [Aws::CodePipeline::Types::ActionTypeNotFoundException] data
84
+ def initialize(context, message, data = Aws::EmptyStructure.new)
85
+ super(context, message, data)
86
+ end
87
+ end
88
+
89
+ class ApprovalAlreadyCompletedException < ServiceError
90
+
91
+ # @param [Seahorse::Client::RequestContext] context
92
+ # @param [String] message
93
+ # @param [Aws::CodePipeline::Types::ApprovalAlreadyCompletedException] data
94
+ def initialize(context, message, data = Aws::EmptyStructure.new)
95
+ super(context, message, data)
96
+ end
97
+ end
98
+
13
99
  class ConcurrentModificationException < ServiceError
14
100
 
15
101
  # @param [Seahorse::Client::RequestContext] context
@@ -23,7 +109,41 @@ module Aws::CodePipeline
23
109
  def message
24
110
  @message || @data[:message]
25
111
  end
112
+ end
113
+
114
+ class DuplicatedStopRequestException < ServiceError
115
+
116
+ # @param [Seahorse::Client::RequestContext] context
117
+ # @param [String] message
118
+ # @param [Aws::CodePipeline::Types::DuplicatedStopRequestException] data
119
+ def initialize(context, message, data = Aws::EmptyStructure.new)
120
+ super(context, message, data)
121
+ end
122
+
123
+ # @return [String]
124
+ def message
125
+ @message || @data[:message]
126
+ end
127
+ end
128
+
129
+ class InvalidActionDeclarationException < ServiceError
130
+
131
+ # @param [Seahorse::Client::RequestContext] context
132
+ # @param [String] message
133
+ # @param [Aws::CodePipeline::Types::InvalidActionDeclarationException] data
134
+ def initialize(context, message, data = Aws::EmptyStructure.new)
135
+ super(context, message, data)
136
+ end
137
+ end
26
138
 
139
+ class InvalidApprovalTokenException < ServiceError
140
+
141
+ # @param [Seahorse::Client::RequestContext] context
142
+ # @param [String] message
143
+ # @param [Aws::CodePipeline::Types::InvalidApprovalTokenException] data
144
+ def initialize(context, message, data = Aws::EmptyStructure.new)
145
+ super(context, message, data)
146
+ end
27
147
  end
28
148
 
29
149
  class InvalidArnException < ServiceError
@@ -39,7 +159,86 @@ module Aws::CodePipeline
39
159
  def message
40
160
  @message || @data[:message]
41
161
  end
162
+ end
163
+
164
+ class InvalidBlockerDeclarationException < ServiceError
42
165
 
166
+ # @param [Seahorse::Client::RequestContext] context
167
+ # @param [String] message
168
+ # @param [Aws::CodePipeline::Types::InvalidBlockerDeclarationException] data
169
+ def initialize(context, message, data = Aws::EmptyStructure.new)
170
+ super(context, message, data)
171
+ end
172
+ end
173
+
174
+ class InvalidClientTokenException < ServiceError
175
+
176
+ # @param [Seahorse::Client::RequestContext] context
177
+ # @param [String] message
178
+ # @param [Aws::CodePipeline::Types::InvalidClientTokenException] data
179
+ def initialize(context, message, data = Aws::EmptyStructure.new)
180
+ super(context, message, data)
181
+ end
182
+ end
183
+
184
+ class InvalidJobException < ServiceError
185
+
186
+ # @param [Seahorse::Client::RequestContext] context
187
+ # @param [String] message
188
+ # @param [Aws::CodePipeline::Types::InvalidJobException] data
189
+ def initialize(context, message, data = Aws::EmptyStructure.new)
190
+ super(context, message, data)
191
+ end
192
+ end
193
+
194
+ class InvalidJobStateException < ServiceError
195
+
196
+ # @param [Seahorse::Client::RequestContext] context
197
+ # @param [String] message
198
+ # @param [Aws::CodePipeline::Types::InvalidJobStateException] data
199
+ def initialize(context, message, data = Aws::EmptyStructure.new)
200
+ super(context, message, data)
201
+ end
202
+ end
203
+
204
+ class InvalidNextTokenException < ServiceError
205
+
206
+ # @param [Seahorse::Client::RequestContext] context
207
+ # @param [String] message
208
+ # @param [Aws::CodePipeline::Types::InvalidNextTokenException] data
209
+ def initialize(context, message, data = Aws::EmptyStructure.new)
210
+ super(context, message, data)
211
+ end
212
+ end
213
+
214
+ class InvalidNonceException < ServiceError
215
+
216
+ # @param [Seahorse::Client::RequestContext] context
217
+ # @param [String] message
218
+ # @param [Aws::CodePipeline::Types::InvalidNonceException] data
219
+ def initialize(context, message, data = Aws::EmptyStructure.new)
220
+ super(context, message, data)
221
+ end
222
+ end
223
+
224
+ class InvalidStageDeclarationException < ServiceError
225
+
226
+ # @param [Seahorse::Client::RequestContext] context
227
+ # @param [String] message
228
+ # @param [Aws::CodePipeline::Types::InvalidStageDeclarationException] data
229
+ def initialize(context, message, data = Aws::EmptyStructure.new)
230
+ super(context, message, data)
231
+ end
232
+ end
233
+
234
+ class InvalidStructureException < ServiceError
235
+
236
+ # @param [Seahorse::Client::RequestContext] context
237
+ # @param [String] message
238
+ # @param [Aws::CodePipeline::Types::InvalidStructureException] data
239
+ def initialize(context, message, data = Aws::EmptyStructure.new)
240
+ super(context, message, data)
241
+ end
43
242
  end
44
243
 
45
244
  class InvalidTagsException < ServiceError
@@ -55,7 +254,56 @@ module Aws::CodePipeline
55
254
  def message
56
255
  @message || @data[:message]
57
256
  end
257
+ end
258
+
259
+ class InvalidWebhookAuthenticationParametersException < ServiceError
260
+
261
+ # @param [Seahorse::Client::RequestContext] context
262
+ # @param [String] message
263
+ # @param [Aws::CodePipeline::Types::InvalidWebhookAuthenticationParametersException] data
264
+ def initialize(context, message, data = Aws::EmptyStructure.new)
265
+ super(context, message, data)
266
+ end
267
+ end
268
+
269
+ class InvalidWebhookFilterPatternException < ServiceError
270
+
271
+ # @param [Seahorse::Client::RequestContext] context
272
+ # @param [String] message
273
+ # @param [Aws::CodePipeline::Types::InvalidWebhookFilterPatternException] data
274
+ def initialize(context, message, data = Aws::EmptyStructure.new)
275
+ super(context, message, data)
276
+ end
277
+ end
278
+
279
+ class JobNotFoundException < ServiceError
280
+
281
+ # @param [Seahorse::Client::RequestContext] context
282
+ # @param [String] message
283
+ # @param [Aws::CodePipeline::Types::JobNotFoundException] data
284
+ def initialize(context, message, data = Aws::EmptyStructure.new)
285
+ super(context, message, data)
286
+ end
287
+ end
288
+
289
+ class LimitExceededException < ServiceError
290
+
291
+ # @param [Seahorse::Client::RequestContext] context
292
+ # @param [String] message
293
+ # @param [Aws::CodePipeline::Types::LimitExceededException] data
294
+ def initialize(context, message, data = Aws::EmptyStructure.new)
295
+ super(context, message, data)
296
+ end
297
+ end
58
298
 
299
+ class NotLatestPipelineExecutionException < ServiceError
300
+
301
+ # @param [Seahorse::Client::RequestContext] context
302
+ # @param [String] message
303
+ # @param [Aws::CodePipeline::Types::NotLatestPipelineExecutionException] data
304
+ def initialize(context, message, data = Aws::EmptyStructure.new)
305
+ super(context, message, data)
306
+ end
59
307
  end
60
308
 
61
309
  class OutputVariablesSizeExceededException < ServiceError
@@ -71,7 +319,91 @@ module Aws::CodePipeline
71
319
  def message
72
320
  @message || @data[:message]
73
321
  end
322
+ end
323
+
324
+ class PipelineExecutionNotFoundException < ServiceError
325
+
326
+ # @param [Seahorse::Client::RequestContext] context
327
+ # @param [String] message
328
+ # @param [Aws::CodePipeline::Types::PipelineExecutionNotFoundException] data
329
+ def initialize(context, message, data = Aws::EmptyStructure.new)
330
+ super(context, message, data)
331
+ end
332
+ end
333
+
334
+ class PipelineExecutionNotStoppableException < ServiceError
335
+
336
+ # @param [Seahorse::Client::RequestContext] context
337
+ # @param [String] message
338
+ # @param [Aws::CodePipeline::Types::PipelineExecutionNotStoppableException] data
339
+ def initialize(context, message, data = Aws::EmptyStructure.new)
340
+ super(context, message, data)
341
+ end
74
342
 
343
+ # @return [String]
344
+ def message
345
+ @message || @data[:message]
346
+ end
347
+ end
348
+
349
+ class PipelineNameInUseException < ServiceError
350
+
351
+ # @param [Seahorse::Client::RequestContext] context
352
+ # @param [String] message
353
+ # @param [Aws::CodePipeline::Types::PipelineNameInUseException] data
354
+ def initialize(context, message, data = Aws::EmptyStructure.new)
355
+ super(context, message, data)
356
+ end
357
+ end
358
+
359
+ class PipelineNotFoundException < ServiceError
360
+
361
+ # @param [Seahorse::Client::RequestContext] context
362
+ # @param [String] message
363
+ # @param [Aws::CodePipeline::Types::PipelineNotFoundException] data
364
+ def initialize(context, message, data = Aws::EmptyStructure.new)
365
+ super(context, message, data)
366
+ end
367
+ end
368
+
369
+ class PipelineVersionNotFoundException < ServiceError
370
+
371
+ # @param [Seahorse::Client::RequestContext] context
372
+ # @param [String] message
373
+ # @param [Aws::CodePipeline::Types::PipelineVersionNotFoundException] data
374
+ def initialize(context, message, data = Aws::EmptyStructure.new)
375
+ super(context, message, data)
376
+ end
377
+ end
378
+
379
+ class ResourceNotFoundException < ServiceError
380
+
381
+ # @param [Seahorse::Client::RequestContext] context
382
+ # @param [String] message
383
+ # @param [Aws::CodePipeline::Types::ResourceNotFoundException] data
384
+ def initialize(context, message, data = Aws::EmptyStructure.new)
385
+ super(context, message, data)
386
+ end
387
+ end
388
+
389
+ class StageNotFoundException < ServiceError
390
+
391
+ # @param [Seahorse::Client::RequestContext] context
392
+ # @param [String] message
393
+ # @param [Aws::CodePipeline::Types::StageNotFoundException] data
394
+ def initialize(context, message, data = Aws::EmptyStructure.new)
395
+ super(context, message, data)
396
+ end
397
+ end
398
+
399
+ class StageNotRetryableException < ServiceError
400
+
401
+ # @param [Seahorse::Client::RequestContext] context
402
+ # @param [String] message
403
+ # @param [Aws::CodePipeline::Types::StageNotRetryableException] data
404
+ def initialize(context, message, data = Aws::EmptyStructure.new)
405
+ super(context, message, data)
406
+ end
75
407
  end
76
408
 
77
409
  class TooManyTagsException < ServiceError
@@ -87,7 +419,26 @@ module Aws::CodePipeline
87
419
  def message
88
420
  @message || @data[:message]
89
421
  end
422
+ end
90
423
 
424
+ class ValidationException < ServiceError
425
+
426
+ # @param [Seahorse::Client::RequestContext] context
427
+ # @param [String] message
428
+ # @param [Aws::CodePipeline::Types::ValidationException] data
429
+ def initialize(context, message, data = Aws::EmptyStructure.new)
430
+ super(context, message, data)
431
+ end
432
+ end
433
+
434
+ class WebhookNotFoundException < ServiceError
435
+
436
+ # @param [Seahorse::Client::RequestContext] context
437
+ # @param [String] message
438
+ # @param [Aws::CodePipeline::Types::WebhookNotFoundException] data
439
+ def initialize(context, message, data = Aws::EmptyStructure.new)
440
+ super(context, message, data)
441
+ end
91
442
  end
92
443
 
93
444
  end
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::CodePipeline
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -10,9 +10,8 @@ module Aws::CodePipeline
10
10
 
11
11
  # Represents an AWS session credentials object. These credentials are
12
12
  # temporary credentials that are issued by AWS Secure Token Service
13
- # (STS). They can be used to access input and output artifacts in the
14
- # Amazon S3 bucket used to store artifact for the pipeline in AWS
15
- # CodePipeline.
13
+ # (STS). They can be used to access input and output artifacts in the S3
14
+ # bucket used to store artifact for the pipeline in AWS CodePipeline.
16
15
  #
17
16
  # @!attribute [rw] access_key_id
18
17
  # The access key for the session.
@@ -579,6 +578,12 @@ module Aws::CodePipeline
579
578
  include Aws::Structure
580
579
  end
581
580
 
581
+ # The specified action cannot be found.
582
+ #
583
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionNotFoundException AWS API Documentation
584
+ #
585
+ class ActionNotFoundException < Aws::EmptyStructure; end
586
+
582
587
  # Represents information about the version (or revision) of an action.
583
588
  #
584
589
  # @note When making an API call, you may pass ActionRevision
@@ -733,6 +738,12 @@ module Aws::CodePipeline
733
738
  include Aws::Structure
734
739
  end
735
740
 
741
+ # The specified action type cannot be found.
742
+ #
743
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeNotFoundException AWS API Documentation
744
+ #
745
+ class ActionTypeNotFoundException < Aws::EmptyStructure; end
746
+
736
747
  # Returns information about the settings for an action type.
737
748
  #
738
749
  # @note When making an API call, you may pass ActionTypeSettings
@@ -782,6 +793,12 @@ module Aws::CodePipeline
782
793
  include Aws::Structure
783
794
  end
784
795
 
796
+ # The approval action has already been approved or rejected.
797
+ #
798
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ApprovalAlreadyCompletedException AWS API Documentation
799
+ #
800
+ class ApprovalAlreadyCompletedException < Aws::EmptyStructure; end
801
+
785
802
  # Represents information about the result of an approval request.
786
803
  #
787
804
  # @note When making an API call, you may pass ApprovalResult
@@ -886,7 +903,7 @@ module Aws::CodePipeline
886
903
  # @return [String]
887
904
  #
888
905
  # @!attribute [rw] s3_location
889
- # The Amazon S3 bucket that contains the artifact.
906
+ # The S3 bucket that contains the artifact.
890
907
  # @return [Types::S3ArtifactLocation]
891
908
  #
892
909
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactLocation AWS API Documentation
@@ -944,7 +961,7 @@ module Aws::CodePipeline
944
961
  include Aws::Structure
945
962
  end
946
963
 
947
- # The Amazon S3 bucket where artifacts for the pipeline are stored.
964
+ # The S3 bucket where artifacts for the pipeline are stored.
948
965
  #
949
966
  # <note markdown="1"> You must include either `artifactStore` or `artifactStores` in your
950
967
  # pipeline, but you cannot use both. If you create a cross-region action
@@ -969,12 +986,11 @@ module Aws::CodePipeline
969
986
  # @return [String]
970
987
  #
971
988
  # @!attribute [rw] location
972
- # The Amazon S3 bucket used for storing the artifacts for a pipeline.
973
- # You can specify the name of an S3 bucket but not a folder in the
974
- # bucket. A folder to contain the pipeline artifacts is created for
975
- # you based on the name of the pipeline. You can use any Amazon S3
976
- # bucket in the same AWS Region as the pipeline to store your pipeline
977
- # artifacts.
989
+ # The S3 bucket used for storing the artifacts for a pipeline. You can
990
+ # specify the name of an S3 bucket but not a folder in the bucket. A
991
+ # folder to contain the pipeline artifacts is created for you based on
992
+ # the name of the pipeline. You can use any S3 bucket in the same AWS
993
+ # Region as the pipeline to store your pipeline artifacts.
978
994
  # @return [String]
979
995
  #
980
996
  # @!attribute [rw] encryption_key
@@ -1453,6 +1469,22 @@ module Aws::CodePipeline
1453
1469
  include Aws::Structure
1454
1470
  end
1455
1471
 
1472
+ # The pipeline execution is already in a `Stopping` state. If you
1473
+ # already chose to stop and wait, you cannot make that request again.
1474
+ # You can choose to stop and abandon now, but be aware that this option
1475
+ # can lead to failed tasks or out of sequence tasks. If you already
1476
+ # chose to stop and abandon, you cannot make that request again.
1477
+ #
1478
+ # @!attribute [rw] message
1479
+ # @return [String]
1480
+ #
1481
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DuplicatedStopRequestException AWS API Documentation
1482
+ #
1483
+ class DuplicatedStopRequestException < Struct.new(
1484
+ :message)
1485
+ include Aws::Structure
1486
+ end
1487
+
1456
1488
  # Represents the input of an `EnableStageTransition` action.
1457
1489
  #
1458
1490
  # @note When making an API call, you may pass EnableStageTransitionInput
@@ -1891,6 +1923,18 @@ module Aws::CodePipeline
1891
1923
  include Aws::Structure
1892
1924
  end
1893
1925
 
1926
+ # The action declaration was specified in an invalid format.
1927
+ #
1928
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidActionDeclarationException AWS API Documentation
1929
+ #
1930
+ class InvalidActionDeclarationException < Aws::EmptyStructure; end
1931
+
1932
+ # The approval request already received a response or has expired.
1933
+ #
1934
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidApprovalTokenException AWS API Documentation
1935
+ #
1936
+ class InvalidApprovalTokenException < Aws::EmptyStructure; end
1937
+
1894
1938
  # The specified resource ARN is invalid.
1895
1939
  #
1896
1940
  # @!attribute [rw] message
@@ -1903,6 +1947,55 @@ module Aws::CodePipeline
1903
1947
  include Aws::Structure
1904
1948
  end
1905
1949
 
1950
+ # Reserved for future use.
1951
+ #
1952
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidBlockerDeclarationException AWS API Documentation
1953
+ #
1954
+ class InvalidBlockerDeclarationException < Aws::EmptyStructure; end
1955
+
1956
+ # The client token was specified in an invalid format
1957
+ #
1958
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidClientTokenException AWS API Documentation
1959
+ #
1960
+ class InvalidClientTokenException < Aws::EmptyStructure; end
1961
+
1962
+ # The job was specified in an invalid format or cannot be found.
1963
+ #
1964
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidJobException AWS API Documentation
1965
+ #
1966
+ class InvalidJobException < Aws::EmptyStructure; end
1967
+
1968
+ # The job state was specified in an invalid format.
1969
+ #
1970
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidJobStateException AWS API Documentation
1971
+ #
1972
+ class InvalidJobStateException < Aws::EmptyStructure; end
1973
+
1974
+ # The next token was specified in an invalid format. Make sure that the
1975
+ # next token you provide is the token returned by a previous call.
1976
+ #
1977
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidNextTokenException AWS API Documentation
1978
+ #
1979
+ class InvalidNextTokenException < Aws::EmptyStructure; end
1980
+
1981
+ # The nonce was specified in an invalid format.
1982
+ #
1983
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidNonceException AWS API Documentation
1984
+ #
1985
+ class InvalidNonceException < Aws::EmptyStructure; end
1986
+
1987
+ # The stage declaration was specified in an invalid format.
1988
+ #
1989
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidStageDeclarationException AWS API Documentation
1990
+ #
1991
+ class InvalidStageDeclarationException < Aws::EmptyStructure; end
1992
+
1993
+ # The structure was specified in an invalid format.
1994
+ #
1995
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidStructureException AWS API Documentation
1996
+ #
1997
+ class InvalidStructureException < Aws::EmptyStructure; end
1998
+
1906
1999
  # The specified resource tags are invalid.
1907
2000
  #
1908
2001
  # @!attribute [rw] message
@@ -1915,6 +2008,18 @@ module Aws::CodePipeline
1915
2008
  include Aws::Structure
1916
2009
  end
1917
2010
 
2011
+ # The specified authentication type is in an invalid format.
2012
+ #
2013
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidWebhookAuthenticationParametersException AWS API Documentation
2014
+ #
2015
+ class InvalidWebhookAuthenticationParametersException < Aws::EmptyStructure; end
2016
+
2017
+ # The specified event filter rule is in an invalid format.
2018
+ #
2019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InvalidWebhookFilterPatternException AWS API Documentation
2020
+ #
2021
+ class InvalidWebhookFilterPatternException < Aws::EmptyStructure; end
2022
+
1918
2023
  # Represents information about a job.
1919
2024
  #
1920
2025
  # @!attribute [rw] id
@@ -1976,7 +2081,7 @@ module Aws::CodePipeline
1976
2081
  # Represents an AWS session credentials object. These credentials are
1977
2082
  # temporary credentials that are issued by AWS Secure Token Service
1978
2083
  # (STS). They can be used to access input and output artifacts in the
1979
- # Amazon S3 bucket used to store artifacts for the pipeline in AWS
2084
+ # S3 bucket used to store artifacts for the pipeline in AWS
1980
2085
  # CodePipeline.
1981
2086
  # @return [Types::AWSSessionCredentials]
1982
2087
  #
@@ -2028,6 +2133,19 @@ module Aws::CodePipeline
2028
2133
  include Aws::Structure
2029
2134
  end
2030
2135
 
2136
+ # The job was specified in an invalid format or cannot be found.
2137
+ #
2138
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/JobNotFoundException AWS API Documentation
2139
+ #
2140
+ class JobNotFoundException < Aws::EmptyStructure; end
2141
+
2142
+ # The number of pipelines associated with the AWS account has exceeded
2143
+ # the limit allowed for the account.
2144
+ #
2145
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/LimitExceededException AWS API Documentation
2146
+ #
2147
+ class LimitExceededException < Aws::EmptyStructure; end
2148
+
2031
2149
  # @note When making an API call, you may pass ListActionExecutionsInput
2032
2150
  # data as a hash:
2033
2151
  #
@@ -2396,6 +2514,13 @@ module Aws::CodePipeline
2396
2514
  include Aws::Structure
2397
2515
  end
2398
2516
 
2517
+ # The stage has failed in a later run of the pipeline and the
2518
+ # pipelineExecutionId associated with the request is out of date.
2519
+ #
2520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/NotLatestPipelineExecutionException AWS API Documentation
2521
+ #
2522
+ class NotLatestPipelineExecutionException < Aws::EmptyStructure; end
2523
+
2399
2524
  # Represents information about the output of an action.
2400
2525
  #
2401
2526
  # @note When making an API call, you may pass OutputArtifact
@@ -2558,8 +2683,8 @@ module Aws::CodePipeline
2558
2683
  # @return [String]
2559
2684
  #
2560
2685
  # @!attribute [rw] artifact_store
2561
- # Represents information about the Amazon S3 bucket where artifacts
2562
- # are stored for the pipeline.
2686
+ # Represents information about the S3 bucket where artifacts are
2687
+ # stored for the pipeline.
2563
2688
  #
2564
2689
  # <note markdown="1"> You must include either `artifactStore` or `artifactStores` in your
2565
2690
  # pipeline, but you cannot use both. If you create a cross-region
@@ -2605,11 +2730,12 @@ module Aws::CodePipeline
2605
2730
  # Represents information about an execution of a pipeline.
2606
2731
  #
2607
2732
  # @!attribute [rw] pipeline_name
2608
- # The name of the pipeline that was executed.
2733
+ # The name of the pipeline with the specified pipeline execution.
2609
2734
  # @return [String]
2610
2735
  #
2611
2736
  # @!attribute [rw] pipeline_version
2612
- # The version number of the pipeline that was executed.
2737
+ # The version number of the pipeline with the specified pipeline
2738
+ # execution.
2613
2739
  # @return [Integer]
2614
2740
  #
2615
2741
  # @!attribute [rw] pipeline_execution_id
@@ -2621,13 +2747,27 @@ module Aws::CodePipeline
2621
2747
  #
2622
2748
  # * InProgress: The pipeline execution is currently running.
2623
2749
  #
2750
+ # * Stopped: The pipeline execution was manually stopped. For more
2751
+ # information, see [Stopped Executions][1].
2752
+ #
2753
+ # * Stopping: The pipeline execution received a request to be manually
2754
+ # stopped. Depending on the selected stop mode, the execution is
2755
+ # either completing or abandoning in-progress actions. For more
2756
+ # information, see [Stopped Executions][1].
2757
+ #
2624
2758
  # * Succeeded: The pipeline execution was completed successfully.
2625
2759
  #
2626
2760
  # * Superseded: While this pipeline execution was waiting for the next
2627
2761
  # stage to be completed, a newer pipeline execution advanced and
2628
- # continued through the pipeline instead.
2762
+ # continued through the pipeline instead. For more information, see
2763
+ # [Superseded Executions][2].
2629
2764
  #
2630
2765
  # * Failed: The pipeline execution was not completed successfully.
2766
+ #
2767
+ #
2768
+ #
2769
+ # [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped
2770
+ # [2]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded
2631
2771
  # @return [String]
2632
2772
  #
2633
2773
  # @!attribute [rw] artifact_revisions
@@ -2646,6 +2786,26 @@ module Aws::CodePipeline
2646
2786
  include Aws::Structure
2647
2787
  end
2648
2788
 
2789
+ # The pipeline execution was specified in an invalid format or cannot be
2790
+ # found, or an execution ID does not belong to the specified pipeline.
2791
+ #
2792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionNotFoundException AWS API Documentation
2793
+ #
2794
+ class PipelineExecutionNotFoundException < Aws::EmptyStructure; end
2795
+
2796
+ # Unable to stop the pipeline execution. The execution might already be
2797
+ # in a `Stopped` state, or it might no longer be in progress.
2798
+ #
2799
+ # @!attribute [rw] message
2800
+ # @return [String]
2801
+ #
2802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionNotStoppableException AWS API Documentation
2803
+ #
2804
+ class PipelineExecutionNotStoppableException < Struct.new(
2805
+ :message)
2806
+ include Aws::Structure
2807
+ end
2808
+
2649
2809
  # Summary information about a pipeline execution.
2650
2810
  #
2651
2811
  # @!attribute [rw] pipeline_execution_id
@@ -2657,13 +2817,27 @@ module Aws::CodePipeline
2657
2817
  #
2658
2818
  # * InProgress: The pipeline execution is currently running.
2659
2819
  #
2820
+ # * Stopped: The pipeline execution was manually stopped. For more
2821
+ # information, see [Stopped Executions][1].
2822
+ #
2823
+ # * Stopping: The pipeline execution received a request to be manually
2824
+ # stopped. Depending on the selected stop mode, the execution is
2825
+ # either completing or abandoning in-progress actions. For more
2826
+ # information, see [Stopped Executions][1].
2827
+ #
2660
2828
  # * Succeeded: The pipeline execution was completed successfully.
2661
2829
  #
2662
2830
  # * Superseded: While this pipeline execution was waiting for the next
2663
2831
  # stage to be completed, a newer pipeline execution advanced and
2664
- # continued through the pipeline instead.
2832
+ # continued through the pipeline instead. For more information, see
2833
+ # [Superseded Executions][2].
2665
2834
  #
2666
2835
  # * Failed: The pipeline execution was not completed successfully.
2836
+ #
2837
+ #
2838
+ #
2839
+ # [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped
2840
+ # [2]: https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded
2667
2841
  # @return [String]
2668
2842
  #
2669
2843
  # @!attribute [rw] start_time
@@ -2686,6 +2860,10 @@ module Aws::CodePipeline
2686
2860
  # automated change detection or a `StartPipelineExecution` API call.
2687
2861
  # @return [Types::ExecutionTrigger]
2688
2862
  #
2863
+ # @!attribute [rw] stop_trigger
2864
+ # The interaction that stopped a pipeline execution.
2865
+ # @return [Types::StopExecutionTrigger]
2866
+ #
2689
2867
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionSummary AWS API Documentation
2690
2868
  #
2691
2869
  class PipelineExecutionSummary < Struct.new(
@@ -2694,7 +2872,8 @@ module Aws::CodePipeline
2694
2872
  :start_time,
2695
2873
  :last_update_time,
2696
2874
  :source_revisions,
2697
- :trigger)
2875
+ :trigger,
2876
+ :stop_trigger)
2698
2877
  include Aws::Structure
2699
2878
  end
2700
2879
 
@@ -2722,6 +2901,18 @@ module Aws::CodePipeline
2722
2901
  include Aws::Structure
2723
2902
  end
2724
2903
 
2904
+ # The specified pipeline name is already in use.
2905
+ #
2906
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineNameInUseException AWS API Documentation
2907
+ #
2908
+ class PipelineNameInUseException < Aws::EmptyStructure; end
2909
+
2910
+ # The pipeline was specified in an invalid format or cannot be found.
2911
+ #
2912
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineNotFoundException AWS API Documentation
2913
+ #
2914
+ class PipelineNotFoundException < Aws::EmptyStructure; end
2915
+
2725
2916
  # Returns a summary of a pipeline.
2726
2917
  #
2727
2918
  # @!attribute [rw] name
@@ -2751,6 +2942,13 @@ module Aws::CodePipeline
2751
2942
  include Aws::Structure
2752
2943
  end
2753
2944
 
2945
+ # The pipeline version was specified in an invalid format or cannot be
2946
+ # found.
2947
+ #
2948
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineVersionNotFoundException AWS API Documentation
2949
+ #
2950
+ class PipelineVersionNotFoundException < Aws::EmptyStructure; end
2951
+
2754
2952
  # Represents the input of a `PollForJobs` action.
2755
2953
  #
2756
2954
  # @note When making an API call, you may pass PollForJobsInput
@@ -3258,6 +3456,12 @@ module Aws::CodePipeline
3258
3456
  #
3259
3457
  class RegisterWebhookWithThirdPartyOutput < Aws::EmptyStructure; end
3260
3458
 
3459
+ # The resource was specified in an invalid format.
3460
+ #
3461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ResourceNotFoundException AWS API Documentation
3462
+ #
3463
+ class ResourceNotFoundException < Aws::EmptyStructure; end
3464
+
3261
3465
  # Represents the input of a `RetryStageExecution` action.
3262
3466
  #
3263
3467
  # @note When making an API call, you may pass RetryStageExecutionInput
@@ -3312,15 +3516,15 @@ module Aws::CodePipeline
3312
3516
  include Aws::Structure
3313
3517
  end
3314
3518
 
3315
- # The location of the Amazon S3 bucket that contains a revision.
3519
+ # The location of the S3 bucket that contains a revision.
3316
3520
  #
3317
3521
  # @!attribute [rw] bucket_name
3318
- # The name of the Amazon S3 bucket.
3522
+ # The name of the S3 bucket.
3319
3523
  # @return [String]
3320
3524
  #
3321
3525
  # @!attribute [rw] object_key
3322
- # The key of the object in the Amazon S3 bucket, which uniquely
3323
- # identifies the object in the bucket.
3526
+ # The key of the object in the S3 bucket, which uniquely identifies
3527
+ # the object in the bucket.
3324
3528
  # @return [String]
3325
3529
  #
3326
3530
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/S3ArtifactLocation AWS API Documentation
@@ -3482,6 +3686,20 @@ module Aws::CodePipeline
3482
3686
  include Aws::Structure
3483
3687
  end
3484
3688
 
3689
+ # The stage was specified in an invalid format or cannot be found.
3690
+ #
3691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageNotFoundException AWS API Documentation
3692
+ #
3693
+ class StageNotFoundException < Aws::EmptyStructure; end
3694
+
3695
+ # Unable to retry. The pipeline structure or stage state might have
3696
+ # changed while actions awaited retry, or the stage contains no failed
3697
+ # actions.
3698
+ #
3699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageNotRetryableException AWS API Documentation
3700
+ #
3701
+ class StageNotRetryableException < Aws::EmptyStructure; end
3702
+
3485
3703
  # Represents information about the state of the stage.
3486
3704
  #
3487
3705
  # @!attribute [rw] stage_name
@@ -3556,6 +3774,75 @@ module Aws::CodePipeline
3556
3774
  include Aws::Structure
3557
3775
  end
3558
3776
 
3777
+ # The interaction that stopped a pipeline execution.
3778
+ #
3779
+ # @!attribute [rw] reason
3780
+ # The user-specified reason the pipeline was stopped.
3781
+ # @return [String]
3782
+ #
3783
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopExecutionTrigger AWS API Documentation
3784
+ #
3785
+ class StopExecutionTrigger < Struct.new(
3786
+ :reason)
3787
+ include Aws::Structure
3788
+ end
3789
+
3790
+ # @note When making an API call, you may pass StopPipelineExecutionInput
3791
+ # data as a hash:
3792
+ #
3793
+ # {
3794
+ # pipeline_name: "PipelineName", # required
3795
+ # pipeline_execution_id: "PipelineExecutionId", # required
3796
+ # abandon: false,
3797
+ # reason: "StopPipelineExecutionReason",
3798
+ # }
3799
+ #
3800
+ # @!attribute [rw] pipeline_name
3801
+ # The name of the pipeline to stop.
3802
+ # @return [String]
3803
+ #
3804
+ # @!attribute [rw] pipeline_execution_id
3805
+ # The ID of the pipeline execution to be stopped in the current stage.
3806
+ # Use the `GetPipelineState` action to retrieve the current
3807
+ # pipelineExecutionId.
3808
+ # @return [String]
3809
+ #
3810
+ # @!attribute [rw] abandon
3811
+ # Use this option to stop the pipeline execution by abandoning, rather
3812
+ # than finishing, in-progress actions.
3813
+ #
3814
+ # <note markdown="1"> This option can lead to failed or out-of-sequence tasks.
3815
+ #
3816
+ # </note>
3817
+ # @return [Boolean]
3818
+ #
3819
+ # @!attribute [rw] reason
3820
+ # Use this option to enter comments, such as the reason the pipeline
3821
+ # was stopped.
3822
+ # @return [String]
3823
+ #
3824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopPipelineExecutionInput AWS API Documentation
3825
+ #
3826
+ class StopPipelineExecutionInput < Struct.new(
3827
+ :pipeline_name,
3828
+ :pipeline_execution_id,
3829
+ :abandon,
3830
+ :reason)
3831
+ include Aws::Structure
3832
+ end
3833
+
3834
+ # @!attribute [rw] pipeline_execution_id
3835
+ # The unique system-generated ID of the pipeline execution that was
3836
+ # stopped.
3837
+ # @return [String]
3838
+ #
3839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopPipelineExecutionOutput AWS API Documentation
3840
+ #
3841
+ class StopPipelineExecutionOutput < Struct.new(
3842
+ :pipeline_execution_id)
3843
+ include Aws::Structure
3844
+ end
3845
+
3559
3846
  # A tag is a key-value pair that is used to manage the resource.
3560
3847
  #
3561
3848
  # @note When making an API call, you may pass Tag
@@ -3674,7 +3961,7 @@ module Aws::CodePipeline
3674
3961
  # Represents an AWS session credentials object. These credentials are
3675
3962
  # temporary credentials that are issued by AWS Secure Token Service
3676
3963
  # (STS). They can be used to access input and output artifacts in the
3677
- # Amazon S3 bucket used to store artifact for the pipeline in AWS
3964
+ # S3 bucket used to store artifact for the pipeline in AWS
3678
3965
  # CodePipeline.
3679
3966
  # @return [Types::AWSSessionCredentials]
3680
3967
  #
@@ -3894,6 +4181,12 @@ module Aws::CodePipeline
3894
4181
  include Aws::Structure
3895
4182
  end
3896
4183
 
4184
+ # The validation was specified in an invalid format.
4185
+ #
4186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ValidationException AWS API Documentation
4187
+ #
4188
+ class ValidationException < Aws::EmptyStructure; end
4189
+
3897
4190
  # The authentication applied to incoming webhook trigger requests.
3898
4191
  #
3899
4192
  # @note When making an API call, you may pass WebhookAuthConfiguration
@@ -4054,5 +4347,12 @@ module Aws::CodePipeline
4054
4347
  include Aws::Structure
4055
4348
  end
4056
4349
 
4350
+ # The specified webhook was entered in an invalid format or cannot be
4351
+ # found.
4352
+ #
4353
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/WebhookNotFoundException AWS API Documentation
4354
+ #
4355
+ class WebhookNotFoundException < Aws::EmptyStructure; end
4356
+
4057
4357
  end
4058
4358
  end