aws-sdk-codepipeline 1.26.0 → 1.31.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 804c6c456543be0d7236675e8934c3f52c252539
4
- data.tar.gz: 4bd9fedb9baa1f50f5dd1b715943b3e8f8b8af50
2
+ SHA256:
3
+ metadata.gz: cba6824c2c39cca73548333017723f8d53c53bd75f4d2747fcbc37c434bc5c1b
4
+ data.tar.gz: ffc5c061c87d970c8e8e3f6ae9cfcf1300e44f293304426a892c1051c69c30da
5
5
  SHA512:
6
- metadata.gz: 5286abd36d19d2a53efd3099d6aba76de133fc393988de6a53545a3091aa415b6b1fd75a848b18f8694abaebf6f058c93cd637132c93362d919af2fc26877751
7
- data.tar.gz: 7a16e5e191f0128ad52505c36707737a742616623747aa5ffc0f8d1ba2e492bf114a802406515d7ad1bf739e1dd9f43621ec52c116e05ba83b96380923fdba1b
6
+ metadata.gz: 75b85bba46403283c84e3c4b212d1e2df03a49c9fb43b355bf7b7f86e870da2cdb9789b4ecae62583ad460e3c4eb0fdd08eec031f85cd21b97b3488499edc0ef
7
+ data.tar.gz: 89b1a75f5fa42bcad67eb7560f30e1f63a819a77177c7422da9cfaa655e8ff4e6503ef42f7e19a38e4dff3a2bc530546a9e2151636cae1eabe675dbe039281de
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-codepipeline/customizations'
24
24
  # methods each accept a hash of request parameters and return a response
25
25
  # structure.
26
26
  #
27
+ # code_pipeline = Aws::CodePipeline::Client.new
28
+ # resp = code_pipeline.acknowledge_job(params)
29
+ #
27
30
  # See {Client} for more information.
28
31
  #
29
32
  # # Errors
30
33
  #
31
- # Errors returned from AWS CodePipeline all
32
- # extend {Errors::ServiceError}.
34
+ # Errors returned from AWS CodePipeline are defined in the
35
+ # {Errors} module and all extend {Errors::ServiceError}.
33
36
  #
34
37
  # begin
35
38
  # # do stuff
36
39
  # rescue Aws::CodePipeline::Errors::ServiceError
37
- # # rescues all service API errors
40
+ # # rescues all AWS CodePipeline API errors
38
41
  # end
39
42
  #
40
43
  # See {Errors} for more information.
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-codepipeline/customizations'
42
45
  # @service
43
46
  module Aws::CodePipeline
44
47
 
45
- GEM_VERSION = '1.26.0'
48
+ GEM_VERSION = '1.31.0'
46
49
 
47
50
  end
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
30
30
  Aws::Plugins::GlobalConfiguration.add_identifier(:codepipeline)
31
31
 
32
32
  module Aws::CodePipeline
33
+ # An API client for CodePipeline. To construct a client, you need to configure a `:region` and `:credentials`.
34
+ #
35
+ # client = Aws::CodePipeline::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
+ #
41
+ # For details on configuring region and credentials see
42
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
43
+ #
44
+ # See {#initialize} for a full list of supported configuration options.
33
45
  class Client < Seahorse::Client::Base
34
46
 
35
47
  include Aws::ClientStubs
@@ -93,7 +105,7 @@ module Aws::CodePipeline
93
105
  # @option options [required, String] :region
94
106
  # The AWS region to connect to. The configured `:region` is
95
107
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
108
+ # a default `:region` is searched for in the following locations:
97
109
  #
98
110
  # * `Aws.config[:region]`
99
111
  # * `ENV['AWS_REGION']`
@@ -108,6 +120,12 @@ module Aws::CodePipeline
108
120
  # When set to `true`, a thread polling for endpoints will be running in
109
121
  # the background every 60 secs (default). Defaults to `false`.
110
122
  #
123
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
124
+ # Used only in `adaptive` retry mode. When true, the request will sleep
125
+ # until there is sufficent client side capacity to retry the request.
126
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
127
+ # not retry instead of sleeping.
128
+ #
111
129
  # @option options [Boolean] :client_side_monitoring (false)
112
130
  # When `true`, client-side metrics will be collected for all API requests from
113
131
  # this client.
@@ -132,6 +150,10 @@ module Aws::CodePipeline
132
150
  # When `true`, an attempt is made to coerce request parameters into
133
151
  # the required types.
134
152
  #
153
+ # @option options [Boolean] :correct_clock_skew (true)
154
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
155
+ # a clock skew correction and retry requests with skewed client clocks.
156
+ #
135
157
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
158
  # Set to true to disable SDK automatically adding host prefix
137
159
  # to default service endpoint when available.
@@ -139,7 +161,7 @@ module Aws::CodePipeline
139
161
  # @option options [String] :endpoint
140
162
  # The client endpoint is normally constructed from the `:region`
141
163
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
164
+ # to test endpoints. This should be a valid HTTP(S) URI.
143
165
  #
144
166
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
167
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +176,7 @@ module Aws::CodePipeline
154
176
  # requests fetching endpoints information. Defaults to 60 sec.
155
177
  #
156
178
  # @option options [Boolean] :endpoint_discovery (false)
157
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
179
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
158
180
  #
159
181
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
182
  # The log formatter.
@@ -166,15 +188,29 @@ module Aws::CodePipeline
166
188
  # The Logger instance to send log messages to. If this option
167
189
  # is not set, logging will be disabled.
168
190
  #
191
+ # @option options [Integer] :max_attempts (3)
192
+ # An integer representing the maximum number attempts that will be made for
193
+ # a single request, including the initial attempt. For example,
194
+ # setting this value to 5 will result in a request being retried up to
195
+ # 4 times. Used in `standard` and `adaptive` retry modes.
196
+ #
169
197
  # @option options [String] :profile ("default")
170
198
  # Used when loading credentials from the shared credentials file
171
199
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
200
  #
201
+ # @option options [Proc] :retry_backoff
202
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
203
+ # This option is only used in the `legacy` retry mode.
204
+ #
173
205
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
206
+ # The base delay in seconds used by the default backoff function. This option
207
+ # is only used in the `legacy` retry mode.
175
208
  #
176
209
  # @option options [Symbol] :retry_jitter (:none)
177
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
210
+ # A delay randomiser function used by the default backoff function.
211
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
212
+ # otherwise a Proc that takes and returns a number. This option is only used
213
+ # in the `legacy` retry mode.
178
214
  #
179
215
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
216
  #
@@ -182,11 +218,30 @@ module Aws::CodePipeline
182
218
  # The maximum number of times to retry failed requests. Only
183
219
  # ~ 500 level server errors and certain ~ 400 level client errors
184
220
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
221
+ # checksum errors, networking errors, timeout errors, auth errors,
222
+ # endpoint discovery, and errors from expired credentials.
223
+ # This option is only used in the `legacy` retry mode.
187
224
  #
188
225
  # @option options [Integer] :retry_max_delay (0)
189
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
226
+ # The maximum number of seconds to delay between retries (0 for no limit)
227
+ # used by the default backoff function. This option is only used in the
228
+ # `legacy` retry mode.
229
+ #
230
+ # @option options [String] :retry_mode ("legacy")
231
+ # Specifies which retry algorithm to use. Values are:
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
190
245
  #
191
246
  # @option options [String] :secret_access_key
192
247
  #
@@ -219,16 +274,15 @@ module Aws::CodePipeline
219
274
  # requests through. Formatted like 'http://proxy.com:123'.
220
275
  #
221
276
  # @option options [Float] :http_open_timeout (15) The number of
222
- # seconds to wait when opening a HTTP session before rasing a
277
+ # seconds to wait when opening a HTTP session before raising a
223
278
  # `Timeout::Error`.
224
279
  #
225
280
  # @option options [Integer] :http_read_timeout (60) The default
226
281
  # number of seconds to wait for response data. This value can
227
- # safely be set
228
- # per-request on the session yeidled by {#session_for}.
282
+ # safely be set per-request on the session.
229
283
  #
230
284
  # @option options [Float] :http_idle_timeout (5) The number of
231
- # seconds a connection is allowed to sit idble before it is
285
+ # seconds a connection is allowed to sit idle before it is
232
286
  # considered stale. Stale connections are closed and removed
233
287
  # from the pool before making a request.
234
288
  #
@@ -237,7 +291,7 @@ module Aws::CodePipeline
237
291
  # request body. This option has no effect unless the request has
238
292
  # "Expect" header set to "100-continue". Defaults to `nil` which
239
293
  # disables this behaviour. This value can safely be set per
240
- # request on the session yeidled by {#session_for}.
294
+ # request on the session.
241
295
  #
242
296
  # @option options [Boolean] :http_wire_trace (false) When `true`,
243
297
  # HTTP debug output will be sent to the `:logger`.
@@ -548,6 +602,7 @@ module Aws::CodePipeline
548
602
  # ],
549
603
  # role_arn: "RoleArn",
550
604
  # region: "AWSRegionName",
605
+ # namespace: "ActionNamespace",
551
606
  # },
552
607
  # ],
553
608
  # },
@@ -595,6 +650,7 @@ module Aws::CodePipeline
595
650
  # resp.pipeline.stages[0].actions[0].input_artifacts[0].name #=> String
596
651
  # resp.pipeline.stages[0].actions[0].role_arn #=> String
597
652
  # resp.pipeline.stages[0].actions[0].region #=> String
653
+ # resp.pipeline.stages[0].actions[0].namespace #=> String
598
654
  # resp.pipeline.version #=> Integer
599
655
  # resp.tags #=> Array
600
656
  # resp.tags[0].key #=> String
@@ -804,10 +860,10 @@ module Aws::CodePipeline
804
860
  # Returns information about a job. Used for custom actions only.
805
861
  #
806
862
  # When this API is called, AWS CodePipeline returns temporary
807
- # credentials for the Amazon S3 bucket used to store artifacts for the
808
- # pipeline, if the action requires access to that Amazon S3 bucket for
809
- # input or output artifacts. This API also returns any secret values
810
- # defined for the action.
863
+ # credentials for the S3 bucket used to store artifacts for the
864
+ # pipeline, if the action requires access to that S3 bucket for input or
865
+ # output artifacts. This API also returns any secret values defined for
866
+ # the action.
811
867
  #
812
868
  # @option params [required, String] :job_id
813
869
  # The unique system-generated ID for the job.
@@ -924,6 +980,7 @@ module Aws::CodePipeline
924
980
  # resp.pipeline.stages[0].actions[0].input_artifacts[0].name #=> String
925
981
  # resp.pipeline.stages[0].actions[0].role_arn #=> String
926
982
  # resp.pipeline.stages[0].actions[0].region #=> String
983
+ # resp.pipeline.stages[0].actions[0].namespace #=> String
927
984
  # resp.pipeline.version #=> Integer
928
985
  # resp.metadata.pipeline_arn #=> String
929
986
  # resp.metadata.created #=> Time
@@ -966,7 +1023,7 @@ module Aws::CodePipeline
966
1023
  # resp.pipeline_execution.pipeline_name #=> String
967
1024
  # resp.pipeline_execution.pipeline_version #=> Integer
968
1025
  # resp.pipeline_execution.pipeline_execution_id #=> String
969
- # resp.pipeline_execution.status #=> String, one of "InProgress", "Succeeded", "Superseded", "Failed"
1026
+ # resp.pipeline_execution.status #=> String, one of "InProgress", "Stopped", "Stopping", "Succeeded", "Superseded", "Failed"
970
1027
  # resp.pipeline_execution.artifact_revisions #=> Array
971
1028
  # resp.pipeline_execution.artifact_revisions[0].name #=> String
972
1029
  # resp.pipeline_execution.artifact_revisions[0].revision_id #=> String
@@ -1025,7 +1082,7 @@ module Aws::CodePipeline
1025
1082
  # resp.stage_states[0].action_states[0].current_revision.revision_id #=> String
1026
1083
  # resp.stage_states[0].action_states[0].current_revision.revision_change_id #=> String
1027
1084
  # resp.stage_states[0].action_states[0].current_revision.created #=> Time
1028
- # resp.stage_states[0].action_states[0].latest_execution.status #=> String, one of "InProgress", "Succeeded", "Failed"
1085
+ # resp.stage_states[0].action_states[0].latest_execution.status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
1029
1086
  # resp.stage_states[0].action_states[0].latest_execution.summary #=> String
1030
1087
  # resp.stage_states[0].action_states[0].latest_execution.last_status_change #=> Time
1031
1088
  # resp.stage_states[0].action_states[0].latest_execution.token #=> String
@@ -1038,7 +1095,7 @@ module Aws::CodePipeline
1038
1095
  # resp.stage_states[0].action_states[0].entity_url #=> String
1039
1096
  # resp.stage_states[0].action_states[0].revision_url #=> String
1040
1097
  # resp.stage_states[0].latest_execution.pipeline_execution_id #=> String
1041
- # resp.stage_states[0].latest_execution.status #=> String, one of "InProgress", "Failed", "Succeeded"
1098
+ # resp.stage_states[0].latest_execution.status #=> String, one of "InProgress", "Failed", "Stopped", "Stopping", "Succeeded"
1042
1099
  # resp.created #=> Time
1043
1100
  # resp.updated #=> Time
1044
1101
  #
@@ -1055,10 +1112,10 @@ module Aws::CodePipeline
1055
1112
  # partner actions only.
1056
1113
  #
1057
1114
  # When this API is called, AWS CodePipeline returns temporary
1058
- # credentials for the Amazon S3 bucket used to store artifacts for the
1059
- # pipeline, if the action requires access to that Amazon S3 bucket for
1060
- # input or output artifacts. This API also returns any secret values
1061
- # defined for the action.
1115
+ # credentials for the S3 bucket used to store artifacts for the
1116
+ # pipeline, if the action requires access to that S3 bucket for input or
1117
+ # output artifacts. This API also returns any secret values defined for
1118
+ # the action.
1062
1119
  #
1063
1120
  # @option params [required, String] :job_id
1064
1121
  # The unique system-generated ID used for identifying the job.
@@ -1153,6 +1210,8 @@ module Aws::CodePipeline
1153
1210
  # * {Types::ListActionExecutionsOutput#action_execution_details #action_execution_details} => Array&lt;Types::ActionExecutionDetail&gt;
1154
1211
  # * {Types::ListActionExecutionsOutput#next_token #next_token} => String
1155
1212
  #
1213
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1214
+ #
1156
1215
  # @example Request syntax with placeholder values
1157
1216
  #
1158
1217
  # resp = client.list_action_executions({
@@ -1174,19 +1233,22 @@ module Aws::CodePipeline
1174
1233
  # resp.action_execution_details[0].action_name #=> String
1175
1234
  # resp.action_execution_details[0].start_time #=> Time
1176
1235
  # resp.action_execution_details[0].last_update_time #=> Time
1177
- # resp.action_execution_details[0].status #=> String, one of "InProgress", "Succeeded", "Failed"
1236
+ # resp.action_execution_details[0].status #=> String, one of "InProgress", "Abandoned", "Succeeded", "Failed"
1178
1237
  # resp.action_execution_details[0].input.action_type_id.category #=> String, one of "Source", "Build", "Deploy", "Test", "Invoke", "Approval"
1179
1238
  # resp.action_execution_details[0].input.action_type_id.owner #=> String, one of "AWS", "ThirdParty", "Custom"
1180
1239
  # resp.action_execution_details[0].input.action_type_id.provider #=> String
1181
1240
  # resp.action_execution_details[0].input.action_type_id.version #=> String
1182
1241
  # resp.action_execution_details[0].input.configuration #=> Hash
1183
1242
  # resp.action_execution_details[0].input.configuration["ActionConfigurationKey"] #=> String
1243
+ # resp.action_execution_details[0].input.resolved_configuration #=> Hash
1244
+ # resp.action_execution_details[0].input.resolved_configuration["String"] #=> String
1184
1245
  # resp.action_execution_details[0].input.role_arn #=> String
1185
1246
  # resp.action_execution_details[0].input.region #=> String
1186
1247
  # resp.action_execution_details[0].input.input_artifacts #=> Array
1187
1248
  # resp.action_execution_details[0].input.input_artifacts[0].name #=> String
1188
1249
  # resp.action_execution_details[0].input.input_artifacts[0].s3location.bucket #=> String
1189
1250
  # resp.action_execution_details[0].input.input_artifacts[0].s3location.key #=> String
1251
+ # resp.action_execution_details[0].input.namespace #=> String
1190
1252
  # resp.action_execution_details[0].output.output_artifacts #=> Array
1191
1253
  # resp.action_execution_details[0].output.output_artifacts[0].name #=> String
1192
1254
  # resp.action_execution_details[0].output.output_artifacts[0].s3location.bucket #=> String
@@ -1194,6 +1256,8 @@ module Aws::CodePipeline
1194
1256
  # resp.action_execution_details[0].output.execution_result.external_execution_id #=> String
1195
1257
  # resp.action_execution_details[0].output.execution_result.external_execution_summary #=> String
1196
1258
  # resp.action_execution_details[0].output.execution_result.external_execution_url #=> String
1259
+ # resp.action_execution_details[0].output.output_variables #=> Hash
1260
+ # resp.action_execution_details[0].output.output_variables["OutputVariablesKey"] #=> String
1197
1261
  # resp.next_token #=> String
1198
1262
  #
1199
1263
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionExecutions AWS API Documentation
@@ -1222,6 +1286,8 @@ module Aws::CodePipeline
1222
1286
  # * {Types::ListActionTypesOutput#action_types #action_types} => Array&lt;Types::ActionType&gt;
1223
1287
  # * {Types::ListActionTypesOutput#next_token #next_token} => String
1224
1288
  #
1289
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1290
+ #
1225
1291
  # @example Request syntax with placeholder values
1226
1292
  #
1227
1293
  # resp = client.list_action_types({
@@ -1285,6 +1351,8 @@ module Aws::CodePipeline
1285
1351
  # * {Types::ListPipelineExecutionsOutput#pipeline_execution_summaries #pipeline_execution_summaries} => Array&lt;Types::PipelineExecutionSummary&gt;
1286
1352
  # * {Types::ListPipelineExecutionsOutput#next_token #next_token} => String
1287
1353
  #
1354
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1355
+ #
1288
1356
  # @example Request syntax with placeholder values
1289
1357
  #
1290
1358
  # resp = client.list_pipeline_executions({
@@ -1297,7 +1365,7 @@ module Aws::CodePipeline
1297
1365
  #
1298
1366
  # resp.pipeline_execution_summaries #=> Array
1299
1367
  # resp.pipeline_execution_summaries[0].pipeline_execution_id #=> String
1300
- # resp.pipeline_execution_summaries[0].status #=> String, one of "InProgress", "Succeeded", "Superseded", "Failed"
1368
+ # resp.pipeline_execution_summaries[0].status #=> String, one of "InProgress", "Stopped", "Stopping", "Succeeded", "Superseded", "Failed"
1301
1369
  # resp.pipeline_execution_summaries[0].start_time #=> Time
1302
1370
  # resp.pipeline_execution_summaries[0].last_update_time #=> Time
1303
1371
  # resp.pipeline_execution_summaries[0].source_revisions #=> Array
@@ -1307,6 +1375,7 @@ module Aws::CodePipeline
1307
1375
  # resp.pipeline_execution_summaries[0].source_revisions[0].revision_url #=> String
1308
1376
  # resp.pipeline_execution_summaries[0].trigger.trigger_type #=> String, one of "CreatePipeline", "StartPipelineExecution", "PollForSourceChanges", "Webhook", "CloudWatchEvent", "PutActionRevision"
1309
1377
  # resp.pipeline_execution_summaries[0].trigger.trigger_detail #=> String
1378
+ # resp.pipeline_execution_summaries[0].stop_trigger.reason #=> String
1310
1379
  # resp.next_token #=> String
1311
1380
  #
1312
1381
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutions AWS API Documentation
@@ -1329,6 +1398,8 @@ module Aws::CodePipeline
1329
1398
  # * {Types::ListPipelinesOutput#pipelines #pipelines} => Array&lt;Types::PipelineSummary&gt;
1330
1399
  # * {Types::ListPipelinesOutput#next_token #next_token} => String
1331
1400
  #
1401
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1402
+ #
1332
1403
  # @example Request syntax with placeholder values
1333
1404
  #
1334
1405
  # resp = client.list_pipelines({
@@ -1372,6 +1443,8 @@ module Aws::CodePipeline
1372
1443
  # * {Types::ListTagsForResourceOutput#tags #tags} => Array&lt;Types::Tag&gt;
1373
1444
  # * {Types::ListTagsForResourceOutput#next_token #next_token} => String
1374
1445
  #
1446
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1447
+ #
1375
1448
  # @example Request syntax with placeholder values
1376
1449
  #
1377
1450
  # resp = client.list_tags_for_resource({
@@ -1414,6 +1487,8 @@ module Aws::CodePipeline
1414
1487
  # * {Types::ListWebhooksOutput#webhooks #webhooks} => Array&lt;Types::ListWebhookItem&gt;
1415
1488
  # * {Types::ListWebhooksOutput#next_token #next_token} => String
1416
1489
  #
1490
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1491
+ #
1417
1492
  # @example Request syntax with placeholder values
1418
1493
  #
1419
1494
  # resp = client.list_webhooks({
@@ -1458,10 +1533,10 @@ module Aws::CodePipeline
1458
1533
  # the owner field, the `PollForJobs` action returns an error.
1459
1534
  #
1460
1535
  # When this API is called, AWS CodePipeline returns temporary
1461
- # credentials for the Amazon S3 bucket used to store artifacts for the
1462
- # pipeline, if the action requires access to that Amazon S3 bucket for
1463
- # input or output artifacts. This API also returns any secret values
1464
- # defined for the action.
1536
+ # credentials for the S3 bucket used to store artifacts for the
1537
+ # pipeline, if the action requires access to that S3 bucket for input or
1538
+ # output artifacts. This API also returns any secret values defined for
1539
+ # the action.
1465
1540
  #
1466
1541
  # @option params [required, Types::ActionTypeId] :action_type_id
1467
1542
  # Represents information about an action type.
@@ -1545,9 +1620,9 @@ module Aws::CodePipeline
1545
1620
  # act on. Used for partner actions only.
1546
1621
  #
1547
1622
  # When this API is called, AWS CodePipeline returns temporary
1548
- # credentials for the Amazon S3 bucket used to store artifacts for the
1549
- # pipeline, if the action requires access to that Amazon S3 bucket for
1550
- # input or output artifacts.
1623
+ # credentials for the S3 bucket used to store artifacts for the
1624
+ # pipeline, if the action requires access to that S3 bucket for input or
1625
+ # output artifacts.
1551
1626
  #
1552
1627
  # @option params [required, Types::ActionTypeId] :action_type_id
1553
1628
  # Represents information about an action type.
@@ -1741,6 +1816,11 @@ module Aws::CodePipeline
1741
1816
  # The execution details of the successful job, such as the actions taken
1742
1817
  # by the job worker.
1743
1818
  #
1819
+ # @option params [Hash<String,String>] :output_variables
1820
+ # Key-value pairs produced as output by a job worker that can be made
1821
+ # available to a downstream action configuration. `outputVariables` can
1822
+ # be included only when there is no continuation token on the request.
1823
+ #
1744
1824
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1745
1825
  #
1746
1826
  # @example Request syntax with placeholder values
@@ -1759,6 +1839,9 @@ module Aws::CodePipeline
1759
1839
  # external_execution_id: "ExecutionId",
1760
1840
  # percent_complete: 1,
1761
1841
  # },
1842
+ # output_variables: {
1843
+ # "OutputVariablesKey" => "OutputVariablesValue",
1844
+ # },
1762
1845
  # })
1763
1846
  #
1764
1847
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResult AWS API Documentation
@@ -2053,6 +2136,59 @@ module Aws::CodePipeline
2053
2136
  req.send_request(options)
2054
2137
  end
2055
2138
 
2139
+ # Stops the specified pipeline execution. You choose to either stop the
2140
+ # pipeline execution by completing in-progress actions without starting
2141
+ # subsequent actions, or by abandoning in-progress actions. While
2142
+ # completing or abandoning in-progress actions, the pipeline execution
2143
+ # is in a `Stopping` state. After all in-progress actions are completed
2144
+ # or abandoned, the pipeline execution is in a `Stopped` state.
2145
+ #
2146
+ # @option params [required, String] :pipeline_name
2147
+ # The name of the pipeline to stop.
2148
+ #
2149
+ # @option params [required, String] :pipeline_execution_id
2150
+ # The ID of the pipeline execution to be stopped in the current stage.
2151
+ # Use the `GetPipelineState` action to retrieve the current
2152
+ # pipelineExecutionId.
2153
+ #
2154
+ # @option params [Boolean] :abandon
2155
+ # Use this option to stop the pipeline execution by abandoning, rather
2156
+ # than finishing, in-progress actions.
2157
+ #
2158
+ # <note markdown="1"> This option can lead to failed or out-of-sequence tasks.
2159
+ #
2160
+ # </note>
2161
+ #
2162
+ # @option params [String] :reason
2163
+ # Use this option to enter comments, such as the reason the pipeline was
2164
+ # stopped.
2165
+ #
2166
+ # @return [Types::StopPipelineExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2167
+ #
2168
+ # * {Types::StopPipelineExecutionOutput#pipeline_execution_id #pipeline_execution_id} => String
2169
+ #
2170
+ # @example Request syntax with placeholder values
2171
+ #
2172
+ # resp = client.stop_pipeline_execution({
2173
+ # pipeline_name: "PipelineName", # required
2174
+ # pipeline_execution_id: "PipelineExecutionId", # required
2175
+ # abandon: false,
2176
+ # reason: "StopPipelineExecutionReason",
2177
+ # })
2178
+ #
2179
+ # @example Response structure
2180
+ #
2181
+ # resp.pipeline_execution_id #=> String
2182
+ #
2183
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopPipelineExecution AWS API Documentation
2184
+ #
2185
+ # @overload stop_pipeline_execution(params = {})
2186
+ # @param [Hash] params ({})
2187
+ def stop_pipeline_execution(params = {}, options = {})
2188
+ req = build_request(:stop_pipeline_execution, params)
2189
+ req.send_request(options)
2190
+ end
2191
+
2056
2192
  # Adds to or modifies the tags of the given resource. Tags are metadata
2057
2193
  # that can be used to manage a resource.
2058
2194
  #
@@ -2182,6 +2318,7 @@ module Aws::CodePipeline
2182
2318
  # ],
2183
2319
  # role_arn: "RoleArn",
2184
2320
  # region: "AWSRegionName",
2321
+ # namespace: "ActionNamespace",
2185
2322
  # },
2186
2323
  # ],
2187
2324
  # },
@@ -2223,6 +2360,7 @@ module Aws::CodePipeline
2223
2360
  # resp.pipeline.stages[0].actions[0].input_artifacts[0].name #=> String
2224
2361
  # resp.pipeline.stages[0].actions[0].role_arn #=> String
2225
2362
  # resp.pipeline.stages[0].actions[0].region #=> String
2363
+ # resp.pipeline.stages[0].actions[0].namespace #=> String
2226
2364
  # resp.pipeline.version #=> Integer
2227
2365
  #
2228
2366
  # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline AWS API Documentation
@@ -2247,7 +2385,7 @@ module Aws::CodePipeline
2247
2385
  params: params,
2248
2386
  config: config)
2249
2387
  context[:gem_name] = 'aws-sdk-codepipeline'
2250
- context[:gem_version] = '1.26.0'
2388
+ context[:gem_version] = '1.31.0'
2251
2389
  Seahorse::Client::Request.new(handlers, context)
2252
2390
  end
2253
2391