aws-sdk-codepipeline 1.67.0 → 1.68.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,832 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodePipeline
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _AcknowledgeJobResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::AcknowledgeJobOutput]
78
+ def status: () -> ("Created" | "Queued" | "Dispatched" | "InProgress" | "TimedOut" | "Succeeded" | "Failed")
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#acknowledge_job-instance_method
81
+ def acknowledge_job: (
82
+ job_id: ::String,
83
+ nonce: ::String
84
+ ) -> _AcknowledgeJobResponseSuccess
85
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AcknowledgeJobResponseSuccess
86
+
87
+ interface _AcknowledgeThirdPartyJobResponseSuccess
88
+ include ::Seahorse::Client::_ResponseSuccess[Types::AcknowledgeThirdPartyJobOutput]
89
+ def status: () -> ("Created" | "Queued" | "Dispatched" | "InProgress" | "TimedOut" | "Succeeded" | "Failed")
90
+ end
91
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#acknowledge_third_party_job-instance_method
92
+ def acknowledge_third_party_job: (
93
+ job_id: ::String,
94
+ nonce: ::String,
95
+ client_token: ::String
96
+ ) -> _AcknowledgeThirdPartyJobResponseSuccess
97
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AcknowledgeThirdPartyJobResponseSuccess
98
+
99
+ interface _CreateCustomActionTypeResponseSuccess
100
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCustomActionTypeOutput]
101
+ def action_type: () -> Types::ActionType
102
+ def tags: () -> ::Array[Types::Tag]
103
+ end
104
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#create_custom_action_type-instance_method
105
+ def create_custom_action_type: (
106
+ category: ("Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval"),
107
+ provider: ::String,
108
+ version: ::String,
109
+ ?settings: {
110
+ third_party_configuration_url: ::String?,
111
+ entity_url_template: ::String?,
112
+ execution_url_template: ::String?,
113
+ revision_url_template: ::String?
114
+ },
115
+ ?configuration_properties: Array[
116
+ {
117
+ name: ::String,
118
+ required: bool,
119
+ key: bool,
120
+ secret: bool,
121
+ queryable: bool?,
122
+ description: ::String?,
123
+ type: ("String" | "Number" | "Boolean")?
124
+ },
125
+ ],
126
+ input_artifact_details: {
127
+ minimum_count: ::Integer,
128
+ maximum_count: ::Integer
129
+ },
130
+ output_artifact_details: {
131
+ minimum_count: ::Integer,
132
+ maximum_count: ::Integer
133
+ },
134
+ ?tags: Array[
135
+ {
136
+ key: ::String,
137
+ value: ::String
138
+ },
139
+ ]
140
+ ) -> _CreateCustomActionTypeResponseSuccess
141
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCustomActionTypeResponseSuccess
142
+
143
+ interface _CreatePipelineResponseSuccess
144
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePipelineOutput]
145
+ def pipeline: () -> Types::PipelineDeclaration
146
+ def tags: () -> ::Array[Types::Tag]
147
+ end
148
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#create_pipeline-instance_method
149
+ def create_pipeline: (
150
+ pipeline: {
151
+ name: ::String,
152
+ role_arn: ::String,
153
+ artifact_store: {
154
+ type: ("S3"),
155
+ location: ::String,
156
+ encryption_key: {
157
+ id: ::String,
158
+ type: ("KMS")
159
+ }?
160
+ }?,
161
+ artifact_stores: Hash[::String, {
162
+ type: ("S3"),
163
+ location: ::String,
164
+ encryption_key: {
165
+ id: ::String,
166
+ type: ("KMS")
167
+ }?
168
+ }]?,
169
+ stages: Array[
170
+ {
171
+ name: ::String,
172
+ blockers: Array[
173
+ {
174
+ name: ::String,
175
+ type: ("Schedule")
176
+ },
177
+ ]?,
178
+ actions: Array[
179
+ {
180
+ name: ::String,
181
+ action_type_id: {
182
+ category: ("Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval"),
183
+ owner: ("AWS" | "ThirdParty" | "Custom"),
184
+ provider: ::String,
185
+ version: ::String
186
+ },
187
+ run_order: ::Integer?,
188
+ configuration: Hash[::String, ::String]?,
189
+ output_artifacts: Array[
190
+ {
191
+ name: ::String
192
+ },
193
+ ]?,
194
+ input_artifacts: Array[
195
+ {
196
+ name: ::String
197
+ },
198
+ ]?,
199
+ role_arn: ::String?,
200
+ region: ::String?,
201
+ namespace: ::String?
202
+ },
203
+ ]
204
+ },
205
+ ],
206
+ version: ::Integer?,
207
+ pipeline_type: ("V1" | "V2")?,
208
+ triggers: Array[
209
+ {
210
+ provider_type: ("CodeStarSourceConnection"),
211
+ git_configuration: {
212
+ source_action_name: ::String,
213
+ push: Array[
214
+ {
215
+ tags: {
216
+ includes: Array[::String]?,
217
+ excludes: Array[::String]?
218
+ }?
219
+ },
220
+ ]?
221
+ }
222
+ },
223
+ ]?,
224
+ variables: Array[
225
+ {
226
+ name: ::String,
227
+ default_value: ::String?,
228
+ description: ::String?
229
+ },
230
+ ]?
231
+ },
232
+ ?tags: Array[
233
+ {
234
+ key: ::String,
235
+ value: ::String
236
+ },
237
+ ]
238
+ ) -> _CreatePipelineResponseSuccess
239
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePipelineResponseSuccess
240
+
241
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#delete_custom_action_type-instance_method
242
+ def delete_custom_action_type: (
243
+ category: ("Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval"),
244
+ provider: ::String,
245
+ version: ::String
246
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
247
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
248
+
249
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#delete_pipeline-instance_method
250
+ def delete_pipeline: (
251
+ name: ::String
252
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
253
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
254
+
255
+ interface _DeleteWebhookResponseSuccess
256
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWebhookOutput]
257
+ end
258
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#delete_webhook-instance_method
259
+ def delete_webhook: (
260
+ name: ::String
261
+ ) -> _DeleteWebhookResponseSuccess
262
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWebhookResponseSuccess
263
+
264
+ interface _DeregisterWebhookWithThirdPartyResponseSuccess
265
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterWebhookWithThirdPartyOutput]
266
+ end
267
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#deregister_webhook_with_third_party-instance_method
268
+ def deregister_webhook_with_third_party: (
269
+ ?webhook_name: ::String
270
+ ) -> _DeregisterWebhookWithThirdPartyResponseSuccess
271
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterWebhookWithThirdPartyResponseSuccess
272
+
273
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#disable_stage_transition-instance_method
274
+ def disable_stage_transition: (
275
+ pipeline_name: ::String,
276
+ stage_name: ::String,
277
+ transition_type: ("Inbound" | "Outbound"),
278
+ reason: ::String
279
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
280
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
281
+
282
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#enable_stage_transition-instance_method
283
+ def enable_stage_transition: (
284
+ pipeline_name: ::String,
285
+ stage_name: ::String,
286
+ transition_type: ("Inbound" | "Outbound")
287
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
288
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
289
+
290
+ interface _GetActionTypeResponseSuccess
291
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetActionTypeOutput]
292
+ def action_type: () -> Types::ActionTypeDeclaration
293
+ end
294
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#get_action_type-instance_method
295
+ def get_action_type: (
296
+ category: ("Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval"),
297
+ owner: ::String,
298
+ provider: ::String,
299
+ version: ::String
300
+ ) -> _GetActionTypeResponseSuccess
301
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetActionTypeResponseSuccess
302
+
303
+ interface _GetJobDetailsResponseSuccess
304
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJobDetailsOutput]
305
+ def job_details: () -> Types::JobDetails
306
+ end
307
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#get_job_details-instance_method
308
+ def get_job_details: (
309
+ job_id: ::String
310
+ ) -> _GetJobDetailsResponseSuccess
311
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJobDetailsResponseSuccess
312
+
313
+ interface _GetPipelineResponseSuccess
314
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPipelineOutput]
315
+ def pipeline: () -> Types::PipelineDeclaration
316
+ def metadata: () -> Types::PipelineMetadata
317
+ end
318
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#get_pipeline-instance_method
319
+ def get_pipeline: (
320
+ name: ::String,
321
+ ?version: ::Integer
322
+ ) -> _GetPipelineResponseSuccess
323
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPipelineResponseSuccess
324
+
325
+ interface _GetPipelineExecutionResponseSuccess
326
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPipelineExecutionOutput]
327
+ def pipeline_execution: () -> Types::PipelineExecution
328
+ end
329
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#get_pipeline_execution-instance_method
330
+ def get_pipeline_execution: (
331
+ pipeline_name: ::String,
332
+ pipeline_execution_id: ::String
333
+ ) -> _GetPipelineExecutionResponseSuccess
334
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPipelineExecutionResponseSuccess
335
+
336
+ interface _GetPipelineStateResponseSuccess
337
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPipelineStateOutput]
338
+ def pipeline_name: () -> ::String
339
+ def pipeline_version: () -> ::Integer
340
+ def stage_states: () -> ::Array[Types::StageState]
341
+ def created: () -> ::Time
342
+ def updated: () -> ::Time
343
+ end
344
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#get_pipeline_state-instance_method
345
+ def get_pipeline_state: (
346
+ name: ::String
347
+ ) -> _GetPipelineStateResponseSuccess
348
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPipelineStateResponseSuccess
349
+
350
+ interface _GetThirdPartyJobDetailsResponseSuccess
351
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetThirdPartyJobDetailsOutput]
352
+ def job_details: () -> Types::ThirdPartyJobDetails
353
+ end
354
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#get_third_party_job_details-instance_method
355
+ def get_third_party_job_details: (
356
+ job_id: ::String,
357
+ client_token: ::String
358
+ ) -> _GetThirdPartyJobDetailsResponseSuccess
359
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetThirdPartyJobDetailsResponseSuccess
360
+
361
+ interface _ListActionExecutionsResponseSuccess
362
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListActionExecutionsOutput]
363
+ def action_execution_details: () -> ::Array[Types::ActionExecutionDetail]
364
+ def next_token: () -> ::String
365
+ end
366
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_action_executions-instance_method
367
+ def list_action_executions: (
368
+ pipeline_name: ::String,
369
+ ?filter: {
370
+ pipeline_execution_id: ::String?
371
+ },
372
+ ?max_results: ::Integer,
373
+ ?next_token: ::String
374
+ ) -> _ListActionExecutionsResponseSuccess
375
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActionExecutionsResponseSuccess
376
+
377
+ interface _ListActionTypesResponseSuccess
378
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListActionTypesOutput]
379
+ def action_types: () -> ::Array[Types::ActionType]
380
+ def next_token: () -> ::String
381
+ end
382
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_action_types-instance_method
383
+ def list_action_types: (
384
+ ?action_owner_filter: ("AWS" | "ThirdParty" | "Custom"),
385
+ ?next_token: ::String,
386
+ ?region_filter: ::String
387
+ ) -> _ListActionTypesResponseSuccess
388
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActionTypesResponseSuccess
389
+
390
+ interface _ListPipelineExecutionsResponseSuccess
391
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPipelineExecutionsOutput]
392
+ def pipeline_execution_summaries: () -> ::Array[Types::PipelineExecutionSummary]
393
+ def next_token: () -> ::String
394
+ end
395
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_pipeline_executions-instance_method
396
+ def list_pipeline_executions: (
397
+ pipeline_name: ::String,
398
+ ?max_results: ::Integer,
399
+ ?next_token: ::String
400
+ ) -> _ListPipelineExecutionsResponseSuccess
401
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPipelineExecutionsResponseSuccess
402
+
403
+ interface _ListPipelinesResponseSuccess
404
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPipelinesOutput]
405
+ def pipelines: () -> ::Array[Types::PipelineSummary]
406
+ def next_token: () -> ::String
407
+ end
408
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_pipelines-instance_method
409
+ def list_pipelines: (
410
+ ?next_token: ::String,
411
+ ?max_results: ::Integer
412
+ ) -> _ListPipelinesResponseSuccess
413
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPipelinesResponseSuccess
414
+
415
+ interface _ListTagsForResourceResponseSuccess
416
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
417
+ def tags: () -> ::Array[Types::Tag]
418
+ def next_token: () -> ::String
419
+ end
420
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_tags_for_resource-instance_method
421
+ def list_tags_for_resource: (
422
+ resource_arn: ::String,
423
+ ?next_token: ::String,
424
+ ?max_results: ::Integer
425
+ ) -> _ListTagsForResourceResponseSuccess
426
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
427
+
428
+ interface _ListWebhooksResponseSuccess
429
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListWebhooksOutput]
430
+ def webhooks: () -> ::Array[Types::ListWebhookItem]
431
+ def next_token: () -> ::String
432
+ end
433
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_webhooks-instance_method
434
+ def list_webhooks: (
435
+ ?next_token: ::String,
436
+ ?max_results: ::Integer
437
+ ) -> _ListWebhooksResponseSuccess
438
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebhooksResponseSuccess
439
+
440
+ interface _PollForJobsResponseSuccess
441
+ include ::Seahorse::Client::_ResponseSuccess[Types::PollForJobsOutput]
442
+ def jobs: () -> ::Array[Types::Job]
443
+ end
444
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#poll_for_jobs-instance_method
445
+ def poll_for_jobs: (
446
+ action_type_id: {
447
+ category: ("Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval"),
448
+ owner: ("AWS" | "ThirdParty" | "Custom"),
449
+ provider: ::String,
450
+ version: ::String
451
+ },
452
+ ?max_batch_size: ::Integer,
453
+ ?query_param: Hash[::String, ::String]
454
+ ) -> _PollForJobsResponseSuccess
455
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PollForJobsResponseSuccess
456
+
457
+ interface _PollForThirdPartyJobsResponseSuccess
458
+ include ::Seahorse::Client::_ResponseSuccess[Types::PollForThirdPartyJobsOutput]
459
+ def jobs: () -> ::Array[Types::ThirdPartyJob]
460
+ end
461
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#poll_for_third_party_jobs-instance_method
462
+ def poll_for_third_party_jobs: (
463
+ action_type_id: {
464
+ category: ("Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval"),
465
+ owner: ("AWS" | "ThirdParty" | "Custom"),
466
+ provider: ::String,
467
+ version: ::String
468
+ },
469
+ ?max_batch_size: ::Integer
470
+ ) -> _PollForThirdPartyJobsResponseSuccess
471
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PollForThirdPartyJobsResponseSuccess
472
+
473
+ interface _PutActionRevisionResponseSuccess
474
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutActionRevisionOutput]
475
+ def new_revision: () -> bool
476
+ def pipeline_execution_id: () -> ::String
477
+ end
478
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#put_action_revision-instance_method
479
+ def put_action_revision: (
480
+ pipeline_name: ::String,
481
+ stage_name: ::String,
482
+ action_name: ::String,
483
+ action_revision: {
484
+ revision_id: ::String,
485
+ revision_change_id: ::String,
486
+ created: ::Time
487
+ }
488
+ ) -> _PutActionRevisionResponseSuccess
489
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutActionRevisionResponseSuccess
490
+
491
+ interface _PutApprovalResultResponseSuccess
492
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutApprovalResultOutput]
493
+ def approved_at: () -> ::Time
494
+ end
495
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#put_approval_result-instance_method
496
+ def put_approval_result: (
497
+ pipeline_name: ::String,
498
+ stage_name: ::String,
499
+ action_name: ::String,
500
+ result: {
501
+ summary: ::String,
502
+ status: ("Approved" | "Rejected")
503
+ },
504
+ token: ::String
505
+ ) -> _PutApprovalResultResponseSuccess
506
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutApprovalResultResponseSuccess
507
+
508
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#put_job_failure_result-instance_method
509
+ def put_job_failure_result: (
510
+ job_id: ::String,
511
+ failure_details: {
512
+ type: ("JobFailed" | "ConfigurationError" | "PermissionError" | "RevisionOutOfSync" | "RevisionUnavailable" | "SystemUnavailable"),
513
+ message: ::String,
514
+ external_execution_id: ::String?
515
+ }
516
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
517
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
518
+
519
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#put_job_success_result-instance_method
520
+ def put_job_success_result: (
521
+ job_id: ::String,
522
+ ?current_revision: {
523
+ revision: ::String,
524
+ change_identifier: ::String,
525
+ created: ::Time?,
526
+ revision_summary: ::String?
527
+ },
528
+ ?continuation_token: ::String,
529
+ ?execution_details: {
530
+ summary: ::String?,
531
+ external_execution_id: ::String?,
532
+ percent_complete: ::Integer?
533
+ },
534
+ ?output_variables: Hash[::String, ::String]
535
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
536
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
537
+
538
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#put_third_party_job_failure_result-instance_method
539
+ def put_third_party_job_failure_result: (
540
+ job_id: ::String,
541
+ client_token: ::String,
542
+ failure_details: {
543
+ type: ("JobFailed" | "ConfigurationError" | "PermissionError" | "RevisionOutOfSync" | "RevisionUnavailable" | "SystemUnavailable"),
544
+ message: ::String,
545
+ external_execution_id: ::String?
546
+ }
547
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
548
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
549
+
550
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#put_third_party_job_success_result-instance_method
551
+ def put_third_party_job_success_result: (
552
+ job_id: ::String,
553
+ client_token: ::String,
554
+ ?current_revision: {
555
+ revision: ::String,
556
+ change_identifier: ::String,
557
+ created: ::Time?,
558
+ revision_summary: ::String?
559
+ },
560
+ ?continuation_token: ::String,
561
+ ?execution_details: {
562
+ summary: ::String?,
563
+ external_execution_id: ::String?,
564
+ percent_complete: ::Integer?
565
+ }
566
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
567
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
568
+
569
+ interface _PutWebhookResponseSuccess
570
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutWebhookOutput]
571
+ def webhook: () -> Types::ListWebhookItem
572
+ end
573
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#put_webhook-instance_method
574
+ def put_webhook: (
575
+ webhook: {
576
+ name: ::String,
577
+ target_pipeline: ::String,
578
+ target_action: ::String,
579
+ filters: Array[
580
+ {
581
+ json_path: ::String,
582
+ match_equals: ::String?
583
+ },
584
+ ],
585
+ authentication: ("GITHUB_HMAC" | "IP" | "UNAUTHENTICATED"),
586
+ authentication_configuration: {
587
+ allowed_ip_range: ::String?,
588
+ secret_token: ::String?
589
+ }
590
+ },
591
+ ?tags: Array[
592
+ {
593
+ key: ::String,
594
+ value: ::String
595
+ },
596
+ ]
597
+ ) -> _PutWebhookResponseSuccess
598
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutWebhookResponseSuccess
599
+
600
+ interface _RegisterWebhookWithThirdPartyResponseSuccess
601
+ include ::Seahorse::Client::_ResponseSuccess[Types::RegisterWebhookWithThirdPartyOutput]
602
+ end
603
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#register_webhook_with_third_party-instance_method
604
+ def register_webhook_with_third_party: (
605
+ ?webhook_name: ::String
606
+ ) -> _RegisterWebhookWithThirdPartyResponseSuccess
607
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterWebhookWithThirdPartyResponseSuccess
608
+
609
+ interface _RetryStageExecutionResponseSuccess
610
+ include ::Seahorse::Client::_ResponseSuccess[Types::RetryStageExecutionOutput]
611
+ def pipeline_execution_id: () -> ::String
612
+ end
613
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#retry_stage_execution-instance_method
614
+ def retry_stage_execution: (
615
+ pipeline_name: ::String,
616
+ stage_name: ::String,
617
+ pipeline_execution_id: ::String,
618
+ retry_mode: ("FAILED_ACTIONS" | "ALL_ACTIONS")
619
+ ) -> _RetryStageExecutionResponseSuccess
620
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RetryStageExecutionResponseSuccess
621
+
622
+ interface _StartPipelineExecutionResponseSuccess
623
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartPipelineExecutionOutput]
624
+ def pipeline_execution_id: () -> ::String
625
+ end
626
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#start_pipeline_execution-instance_method
627
+ def start_pipeline_execution: (
628
+ name: ::String,
629
+ ?variables: Array[
630
+ {
631
+ name: ::String,
632
+ value: ::String
633
+ },
634
+ ],
635
+ ?client_request_token: ::String,
636
+ ?source_revisions: Array[
637
+ {
638
+ action_name: ::String,
639
+ revision_type: ("COMMIT_ID" | "IMAGE_DIGEST" | "S3_OBJECT_VERSION_ID"),
640
+ revision_value: ::String
641
+ },
642
+ ]
643
+ ) -> _StartPipelineExecutionResponseSuccess
644
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPipelineExecutionResponseSuccess
645
+
646
+ interface _StopPipelineExecutionResponseSuccess
647
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopPipelineExecutionOutput]
648
+ def pipeline_execution_id: () -> ::String
649
+ end
650
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#stop_pipeline_execution-instance_method
651
+ def stop_pipeline_execution: (
652
+ pipeline_name: ::String,
653
+ pipeline_execution_id: ::String,
654
+ ?abandon: bool,
655
+ ?reason: ::String
656
+ ) -> _StopPipelineExecutionResponseSuccess
657
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopPipelineExecutionResponseSuccess
658
+
659
+ interface _TagResourceResponseSuccess
660
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
661
+ end
662
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#tag_resource-instance_method
663
+ def tag_resource: (
664
+ resource_arn: ::String,
665
+ tags: Array[
666
+ {
667
+ key: ::String,
668
+ value: ::String
669
+ },
670
+ ]
671
+ ) -> _TagResourceResponseSuccess
672
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
673
+
674
+ interface _UntagResourceResponseSuccess
675
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
676
+ end
677
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#untag_resource-instance_method
678
+ def untag_resource: (
679
+ resource_arn: ::String,
680
+ tag_keys: Array[::String]
681
+ ) -> _UntagResourceResponseSuccess
682
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
683
+
684
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#update_action_type-instance_method
685
+ def update_action_type: (
686
+ action_type: {
687
+ description: ::String?,
688
+ executor: {
689
+ configuration: {
690
+ lambda_executor_configuration: {
691
+ lambda_function_arn: ::String
692
+ }?,
693
+ job_worker_executor_configuration: {
694
+ polling_accounts: Array[::String]?,
695
+ polling_service_principals: Array[::String]?
696
+ }?
697
+ },
698
+ type: ("JobWorker" | "Lambda"),
699
+ policy_statements_template: ::String?,
700
+ job_timeout: ::Integer?
701
+ },
702
+ id: {
703
+ category: ("Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval"),
704
+ owner: ::String,
705
+ provider: ::String,
706
+ version: ::String
707
+ },
708
+ input_artifact_details: {
709
+ minimum_count: ::Integer,
710
+ maximum_count: ::Integer
711
+ },
712
+ output_artifact_details: {
713
+ minimum_count: ::Integer,
714
+ maximum_count: ::Integer
715
+ },
716
+ permissions: {
717
+ allowed_accounts: Array[::String]
718
+ }?,
719
+ properties: Array[
720
+ {
721
+ name: ::String,
722
+ optional: bool,
723
+ key: bool,
724
+ no_echo: bool,
725
+ queryable: bool?,
726
+ description: ::String?
727
+ },
728
+ ]?,
729
+ urls: {
730
+ configuration_url: ::String?,
731
+ entity_url_template: ::String?,
732
+ execution_url_template: ::String?,
733
+ revision_url_template: ::String?
734
+ }?
735
+ }
736
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
737
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
738
+
739
+ interface _UpdatePipelineResponseSuccess
740
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePipelineOutput]
741
+ def pipeline: () -> Types::PipelineDeclaration
742
+ end
743
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#update_pipeline-instance_method
744
+ def update_pipeline: (
745
+ pipeline: {
746
+ name: ::String,
747
+ role_arn: ::String,
748
+ artifact_store: {
749
+ type: ("S3"),
750
+ location: ::String,
751
+ encryption_key: {
752
+ id: ::String,
753
+ type: ("KMS")
754
+ }?
755
+ }?,
756
+ artifact_stores: Hash[::String, {
757
+ type: ("S3"),
758
+ location: ::String,
759
+ encryption_key: {
760
+ id: ::String,
761
+ type: ("KMS")
762
+ }?
763
+ }]?,
764
+ stages: Array[
765
+ {
766
+ name: ::String,
767
+ blockers: Array[
768
+ {
769
+ name: ::String,
770
+ type: ("Schedule")
771
+ },
772
+ ]?,
773
+ actions: Array[
774
+ {
775
+ name: ::String,
776
+ action_type_id: {
777
+ category: ("Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval"),
778
+ owner: ("AWS" | "ThirdParty" | "Custom"),
779
+ provider: ::String,
780
+ version: ::String
781
+ },
782
+ run_order: ::Integer?,
783
+ configuration: Hash[::String, ::String]?,
784
+ output_artifacts: Array[
785
+ {
786
+ name: ::String
787
+ },
788
+ ]?,
789
+ input_artifacts: Array[
790
+ {
791
+ name: ::String
792
+ },
793
+ ]?,
794
+ role_arn: ::String?,
795
+ region: ::String?,
796
+ namespace: ::String?
797
+ },
798
+ ]
799
+ },
800
+ ],
801
+ version: ::Integer?,
802
+ pipeline_type: ("V1" | "V2")?,
803
+ triggers: Array[
804
+ {
805
+ provider_type: ("CodeStarSourceConnection"),
806
+ git_configuration: {
807
+ source_action_name: ::String,
808
+ push: Array[
809
+ {
810
+ tags: {
811
+ includes: Array[::String]?,
812
+ excludes: Array[::String]?
813
+ }?
814
+ },
815
+ ]?
816
+ }
817
+ },
818
+ ]?,
819
+ variables: Array[
820
+ {
821
+ name: ::String,
822
+ default_value: ::String?,
823
+ description: ::String?
824
+ },
825
+ ]?
826
+ }
827
+ ) -> _UpdatePipelineResponseSuccess
828
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePipelineResponseSuccess
829
+ end
830
+ end
831
+ end
832
+