aws-sdk-codepipeline 1.67.0 → 1.69.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,880 @@
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
+ execution_mode: ("QUEUED" | "SUPERSEDED" | "PARALLEL")?,
208
+ pipeline_type: ("V1" | "V2")?,
209
+ variables: Array[
210
+ {
211
+ name: ::String,
212
+ default_value: ::String?,
213
+ description: ::String?
214
+ },
215
+ ]?,
216
+ triggers: Array[
217
+ {
218
+ provider_type: ("CodeStarSourceConnection"),
219
+ git_configuration: {
220
+ source_action_name: ::String,
221
+ push: Array[
222
+ {
223
+ tags: {
224
+ includes: Array[::String]?,
225
+ excludes: Array[::String]?
226
+ }?,
227
+ branches: {
228
+ includes: Array[::String]?,
229
+ excludes: Array[::String]?
230
+ }?,
231
+ file_paths: {
232
+ includes: Array[::String]?,
233
+ excludes: Array[::String]?
234
+ }?
235
+ },
236
+ ]?,
237
+ pull_request: Array[
238
+ {
239
+ events: Array[("OPEN" | "UPDATED" | "CLOSED")]?,
240
+ branches: {
241
+ includes: Array[::String]?,
242
+ excludes: Array[::String]?
243
+ }?,
244
+ file_paths: {
245
+ includes: Array[::String]?,
246
+ excludes: Array[::String]?
247
+ }?
248
+ },
249
+ ]?
250
+ }
251
+ },
252
+ ]?
253
+ },
254
+ ?tags: Array[
255
+ {
256
+ key: ::String,
257
+ value: ::String
258
+ },
259
+ ]
260
+ ) -> _CreatePipelineResponseSuccess
261
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePipelineResponseSuccess
262
+
263
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#delete_custom_action_type-instance_method
264
+ def delete_custom_action_type: (
265
+ category: ("Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval"),
266
+ provider: ::String,
267
+ version: ::String
268
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
269
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
270
+
271
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#delete_pipeline-instance_method
272
+ def delete_pipeline: (
273
+ name: ::String
274
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
275
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
276
+
277
+ interface _DeleteWebhookResponseSuccess
278
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWebhookOutput]
279
+ end
280
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#delete_webhook-instance_method
281
+ def delete_webhook: (
282
+ name: ::String
283
+ ) -> _DeleteWebhookResponseSuccess
284
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWebhookResponseSuccess
285
+
286
+ interface _DeregisterWebhookWithThirdPartyResponseSuccess
287
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterWebhookWithThirdPartyOutput]
288
+ end
289
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#deregister_webhook_with_third_party-instance_method
290
+ def deregister_webhook_with_third_party: (
291
+ ?webhook_name: ::String
292
+ ) -> _DeregisterWebhookWithThirdPartyResponseSuccess
293
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterWebhookWithThirdPartyResponseSuccess
294
+
295
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#disable_stage_transition-instance_method
296
+ def disable_stage_transition: (
297
+ pipeline_name: ::String,
298
+ stage_name: ::String,
299
+ transition_type: ("Inbound" | "Outbound"),
300
+ reason: ::String
301
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
302
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
303
+
304
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#enable_stage_transition-instance_method
305
+ def enable_stage_transition: (
306
+ pipeline_name: ::String,
307
+ stage_name: ::String,
308
+ transition_type: ("Inbound" | "Outbound")
309
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
310
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
311
+
312
+ interface _GetActionTypeResponseSuccess
313
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetActionTypeOutput]
314
+ def action_type: () -> Types::ActionTypeDeclaration
315
+ end
316
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#get_action_type-instance_method
317
+ def get_action_type: (
318
+ category: ("Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval"),
319
+ owner: ::String,
320
+ provider: ::String,
321
+ version: ::String
322
+ ) -> _GetActionTypeResponseSuccess
323
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetActionTypeResponseSuccess
324
+
325
+ interface _GetJobDetailsResponseSuccess
326
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJobDetailsOutput]
327
+ def job_details: () -> Types::JobDetails
328
+ end
329
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#get_job_details-instance_method
330
+ def get_job_details: (
331
+ job_id: ::String
332
+ ) -> _GetJobDetailsResponseSuccess
333
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJobDetailsResponseSuccess
334
+
335
+ interface _GetPipelineResponseSuccess
336
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPipelineOutput]
337
+ def pipeline: () -> Types::PipelineDeclaration
338
+ def metadata: () -> Types::PipelineMetadata
339
+ end
340
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#get_pipeline-instance_method
341
+ def get_pipeline: (
342
+ name: ::String,
343
+ ?version: ::Integer
344
+ ) -> _GetPipelineResponseSuccess
345
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPipelineResponseSuccess
346
+
347
+ interface _GetPipelineExecutionResponseSuccess
348
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPipelineExecutionOutput]
349
+ def pipeline_execution: () -> Types::PipelineExecution
350
+ end
351
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#get_pipeline_execution-instance_method
352
+ def get_pipeline_execution: (
353
+ pipeline_name: ::String,
354
+ pipeline_execution_id: ::String
355
+ ) -> _GetPipelineExecutionResponseSuccess
356
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPipelineExecutionResponseSuccess
357
+
358
+ interface _GetPipelineStateResponseSuccess
359
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPipelineStateOutput]
360
+ def pipeline_name: () -> ::String
361
+ def pipeline_version: () -> ::Integer
362
+ def stage_states: () -> ::Array[Types::StageState]
363
+ def created: () -> ::Time
364
+ def updated: () -> ::Time
365
+ end
366
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#get_pipeline_state-instance_method
367
+ def get_pipeline_state: (
368
+ name: ::String
369
+ ) -> _GetPipelineStateResponseSuccess
370
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPipelineStateResponseSuccess
371
+
372
+ interface _GetThirdPartyJobDetailsResponseSuccess
373
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetThirdPartyJobDetailsOutput]
374
+ def job_details: () -> Types::ThirdPartyJobDetails
375
+ end
376
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#get_third_party_job_details-instance_method
377
+ def get_third_party_job_details: (
378
+ job_id: ::String,
379
+ client_token: ::String
380
+ ) -> _GetThirdPartyJobDetailsResponseSuccess
381
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetThirdPartyJobDetailsResponseSuccess
382
+
383
+ interface _ListActionExecutionsResponseSuccess
384
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListActionExecutionsOutput]
385
+ def action_execution_details: () -> ::Array[Types::ActionExecutionDetail]
386
+ def next_token: () -> ::String
387
+ end
388
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_action_executions-instance_method
389
+ def list_action_executions: (
390
+ pipeline_name: ::String,
391
+ ?filter: {
392
+ pipeline_execution_id: ::String?,
393
+ latest_in_pipeline_execution: {
394
+ pipeline_execution_id: ::String,
395
+ start_time_range: ("Latest" | "All")
396
+ }?
397
+ },
398
+ ?max_results: ::Integer,
399
+ ?next_token: ::String
400
+ ) -> _ListActionExecutionsResponseSuccess
401
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActionExecutionsResponseSuccess
402
+
403
+ interface _ListActionTypesResponseSuccess
404
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListActionTypesOutput]
405
+ def action_types: () -> ::Array[Types::ActionType]
406
+ def next_token: () -> ::String
407
+ end
408
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_action_types-instance_method
409
+ def list_action_types: (
410
+ ?action_owner_filter: ("AWS" | "ThirdParty" | "Custom"),
411
+ ?next_token: ::String,
412
+ ?region_filter: ::String
413
+ ) -> _ListActionTypesResponseSuccess
414
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActionTypesResponseSuccess
415
+
416
+ interface _ListPipelineExecutionsResponseSuccess
417
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPipelineExecutionsOutput]
418
+ def pipeline_execution_summaries: () -> ::Array[Types::PipelineExecutionSummary]
419
+ def next_token: () -> ::String
420
+ end
421
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_pipeline_executions-instance_method
422
+ def list_pipeline_executions: (
423
+ pipeline_name: ::String,
424
+ ?max_results: ::Integer,
425
+ ?next_token: ::String
426
+ ) -> _ListPipelineExecutionsResponseSuccess
427
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPipelineExecutionsResponseSuccess
428
+
429
+ interface _ListPipelinesResponseSuccess
430
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPipelinesOutput]
431
+ def pipelines: () -> ::Array[Types::PipelineSummary]
432
+ def next_token: () -> ::String
433
+ end
434
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_pipelines-instance_method
435
+ def list_pipelines: (
436
+ ?next_token: ::String,
437
+ ?max_results: ::Integer
438
+ ) -> _ListPipelinesResponseSuccess
439
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPipelinesResponseSuccess
440
+
441
+ interface _ListTagsForResourceResponseSuccess
442
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
443
+ def tags: () -> ::Array[Types::Tag]
444
+ def next_token: () -> ::String
445
+ end
446
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_tags_for_resource-instance_method
447
+ def list_tags_for_resource: (
448
+ resource_arn: ::String,
449
+ ?next_token: ::String,
450
+ ?max_results: ::Integer
451
+ ) -> _ListTagsForResourceResponseSuccess
452
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
453
+
454
+ interface _ListWebhooksResponseSuccess
455
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListWebhooksOutput]
456
+ def webhooks: () -> ::Array[Types::ListWebhookItem]
457
+ def next_token: () -> ::String
458
+ end
459
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#list_webhooks-instance_method
460
+ def list_webhooks: (
461
+ ?next_token: ::String,
462
+ ?max_results: ::Integer
463
+ ) -> _ListWebhooksResponseSuccess
464
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebhooksResponseSuccess
465
+
466
+ interface _PollForJobsResponseSuccess
467
+ include ::Seahorse::Client::_ResponseSuccess[Types::PollForJobsOutput]
468
+ def jobs: () -> ::Array[Types::Job]
469
+ end
470
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#poll_for_jobs-instance_method
471
+ def poll_for_jobs: (
472
+ action_type_id: {
473
+ category: ("Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval"),
474
+ owner: ("AWS" | "ThirdParty" | "Custom"),
475
+ provider: ::String,
476
+ version: ::String
477
+ },
478
+ ?max_batch_size: ::Integer,
479
+ ?query_param: Hash[::String, ::String]
480
+ ) -> _PollForJobsResponseSuccess
481
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PollForJobsResponseSuccess
482
+
483
+ interface _PollForThirdPartyJobsResponseSuccess
484
+ include ::Seahorse::Client::_ResponseSuccess[Types::PollForThirdPartyJobsOutput]
485
+ def jobs: () -> ::Array[Types::ThirdPartyJob]
486
+ end
487
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#poll_for_third_party_jobs-instance_method
488
+ def poll_for_third_party_jobs: (
489
+ action_type_id: {
490
+ category: ("Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval"),
491
+ owner: ("AWS" | "ThirdParty" | "Custom"),
492
+ provider: ::String,
493
+ version: ::String
494
+ },
495
+ ?max_batch_size: ::Integer
496
+ ) -> _PollForThirdPartyJobsResponseSuccess
497
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PollForThirdPartyJobsResponseSuccess
498
+
499
+ interface _PutActionRevisionResponseSuccess
500
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutActionRevisionOutput]
501
+ def new_revision: () -> bool
502
+ def pipeline_execution_id: () -> ::String
503
+ end
504
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#put_action_revision-instance_method
505
+ def put_action_revision: (
506
+ pipeline_name: ::String,
507
+ stage_name: ::String,
508
+ action_name: ::String,
509
+ action_revision: {
510
+ revision_id: ::String,
511
+ revision_change_id: ::String,
512
+ created: ::Time
513
+ }
514
+ ) -> _PutActionRevisionResponseSuccess
515
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutActionRevisionResponseSuccess
516
+
517
+ interface _PutApprovalResultResponseSuccess
518
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutApprovalResultOutput]
519
+ def approved_at: () -> ::Time
520
+ end
521
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#put_approval_result-instance_method
522
+ def put_approval_result: (
523
+ pipeline_name: ::String,
524
+ stage_name: ::String,
525
+ action_name: ::String,
526
+ result: {
527
+ summary: ::String,
528
+ status: ("Approved" | "Rejected")
529
+ },
530
+ token: ::String
531
+ ) -> _PutApprovalResultResponseSuccess
532
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutApprovalResultResponseSuccess
533
+
534
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#put_job_failure_result-instance_method
535
+ def put_job_failure_result: (
536
+ job_id: ::String,
537
+ failure_details: {
538
+ type: ("JobFailed" | "ConfigurationError" | "PermissionError" | "RevisionOutOfSync" | "RevisionUnavailable" | "SystemUnavailable"),
539
+ message: ::String,
540
+ external_execution_id: ::String?
541
+ }
542
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
543
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
544
+
545
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#put_job_success_result-instance_method
546
+ def put_job_success_result: (
547
+ job_id: ::String,
548
+ ?current_revision: {
549
+ revision: ::String,
550
+ change_identifier: ::String,
551
+ created: ::Time?,
552
+ revision_summary: ::String?
553
+ },
554
+ ?continuation_token: ::String,
555
+ ?execution_details: {
556
+ summary: ::String?,
557
+ external_execution_id: ::String?,
558
+ percent_complete: ::Integer?
559
+ },
560
+ ?output_variables: Hash[::String, ::String]
561
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
562
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
563
+
564
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#put_third_party_job_failure_result-instance_method
565
+ def put_third_party_job_failure_result: (
566
+ job_id: ::String,
567
+ client_token: ::String,
568
+ failure_details: {
569
+ type: ("JobFailed" | "ConfigurationError" | "PermissionError" | "RevisionOutOfSync" | "RevisionUnavailable" | "SystemUnavailable"),
570
+ message: ::String,
571
+ external_execution_id: ::String?
572
+ }
573
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
574
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
575
+
576
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#put_third_party_job_success_result-instance_method
577
+ def put_third_party_job_success_result: (
578
+ job_id: ::String,
579
+ client_token: ::String,
580
+ ?current_revision: {
581
+ revision: ::String,
582
+ change_identifier: ::String,
583
+ created: ::Time?,
584
+ revision_summary: ::String?
585
+ },
586
+ ?continuation_token: ::String,
587
+ ?execution_details: {
588
+ summary: ::String?,
589
+ external_execution_id: ::String?,
590
+ percent_complete: ::Integer?
591
+ }
592
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
593
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
594
+
595
+ interface _PutWebhookResponseSuccess
596
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutWebhookOutput]
597
+ def webhook: () -> Types::ListWebhookItem
598
+ end
599
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#put_webhook-instance_method
600
+ def put_webhook: (
601
+ webhook: {
602
+ name: ::String,
603
+ target_pipeline: ::String,
604
+ target_action: ::String,
605
+ filters: Array[
606
+ {
607
+ json_path: ::String,
608
+ match_equals: ::String?
609
+ },
610
+ ],
611
+ authentication: ("GITHUB_HMAC" | "IP" | "UNAUTHENTICATED"),
612
+ authentication_configuration: {
613
+ allowed_ip_range: ::String?,
614
+ secret_token: ::String?
615
+ }
616
+ },
617
+ ?tags: Array[
618
+ {
619
+ key: ::String,
620
+ value: ::String
621
+ },
622
+ ]
623
+ ) -> _PutWebhookResponseSuccess
624
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutWebhookResponseSuccess
625
+
626
+ interface _RegisterWebhookWithThirdPartyResponseSuccess
627
+ include ::Seahorse::Client::_ResponseSuccess[Types::RegisterWebhookWithThirdPartyOutput]
628
+ end
629
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#register_webhook_with_third_party-instance_method
630
+ def register_webhook_with_third_party: (
631
+ ?webhook_name: ::String
632
+ ) -> _RegisterWebhookWithThirdPartyResponseSuccess
633
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterWebhookWithThirdPartyResponseSuccess
634
+
635
+ interface _RetryStageExecutionResponseSuccess
636
+ include ::Seahorse::Client::_ResponseSuccess[Types::RetryStageExecutionOutput]
637
+ def pipeline_execution_id: () -> ::String
638
+ end
639
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#retry_stage_execution-instance_method
640
+ def retry_stage_execution: (
641
+ pipeline_name: ::String,
642
+ stage_name: ::String,
643
+ pipeline_execution_id: ::String,
644
+ retry_mode: ("FAILED_ACTIONS" | "ALL_ACTIONS")
645
+ ) -> _RetryStageExecutionResponseSuccess
646
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RetryStageExecutionResponseSuccess
647
+
648
+ interface _StartPipelineExecutionResponseSuccess
649
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartPipelineExecutionOutput]
650
+ def pipeline_execution_id: () -> ::String
651
+ end
652
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#start_pipeline_execution-instance_method
653
+ def start_pipeline_execution: (
654
+ name: ::String,
655
+ ?variables: Array[
656
+ {
657
+ name: ::String,
658
+ value: ::String
659
+ },
660
+ ],
661
+ ?client_request_token: ::String,
662
+ ?source_revisions: Array[
663
+ {
664
+ action_name: ::String,
665
+ revision_type: ("COMMIT_ID" | "IMAGE_DIGEST" | "S3_OBJECT_VERSION_ID"),
666
+ revision_value: ::String
667
+ },
668
+ ]
669
+ ) -> _StartPipelineExecutionResponseSuccess
670
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPipelineExecutionResponseSuccess
671
+
672
+ interface _StopPipelineExecutionResponseSuccess
673
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopPipelineExecutionOutput]
674
+ def pipeline_execution_id: () -> ::String
675
+ end
676
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#stop_pipeline_execution-instance_method
677
+ def stop_pipeline_execution: (
678
+ pipeline_name: ::String,
679
+ pipeline_execution_id: ::String,
680
+ ?abandon: bool,
681
+ ?reason: ::String
682
+ ) -> _StopPipelineExecutionResponseSuccess
683
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopPipelineExecutionResponseSuccess
684
+
685
+ interface _TagResourceResponseSuccess
686
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
687
+ end
688
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#tag_resource-instance_method
689
+ def tag_resource: (
690
+ resource_arn: ::String,
691
+ tags: Array[
692
+ {
693
+ key: ::String,
694
+ value: ::String
695
+ },
696
+ ]
697
+ ) -> _TagResourceResponseSuccess
698
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
699
+
700
+ interface _UntagResourceResponseSuccess
701
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
702
+ end
703
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#untag_resource-instance_method
704
+ def untag_resource: (
705
+ resource_arn: ::String,
706
+ tag_keys: Array[::String]
707
+ ) -> _UntagResourceResponseSuccess
708
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
709
+
710
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#update_action_type-instance_method
711
+ def update_action_type: (
712
+ action_type: {
713
+ description: ::String?,
714
+ executor: {
715
+ configuration: {
716
+ lambda_executor_configuration: {
717
+ lambda_function_arn: ::String
718
+ }?,
719
+ job_worker_executor_configuration: {
720
+ polling_accounts: Array[::String]?,
721
+ polling_service_principals: Array[::String]?
722
+ }?
723
+ },
724
+ type: ("JobWorker" | "Lambda"),
725
+ policy_statements_template: ::String?,
726
+ job_timeout: ::Integer?
727
+ },
728
+ id: {
729
+ category: ("Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval"),
730
+ owner: ::String,
731
+ provider: ::String,
732
+ version: ::String
733
+ },
734
+ input_artifact_details: {
735
+ minimum_count: ::Integer,
736
+ maximum_count: ::Integer
737
+ },
738
+ output_artifact_details: {
739
+ minimum_count: ::Integer,
740
+ maximum_count: ::Integer
741
+ },
742
+ permissions: {
743
+ allowed_accounts: Array[::String]
744
+ }?,
745
+ properties: Array[
746
+ {
747
+ name: ::String,
748
+ optional: bool,
749
+ key: bool,
750
+ no_echo: bool,
751
+ queryable: bool?,
752
+ description: ::String?
753
+ },
754
+ ]?,
755
+ urls: {
756
+ configuration_url: ::String?,
757
+ entity_url_template: ::String?,
758
+ execution_url_template: ::String?,
759
+ revision_url_template: ::String?
760
+ }?
761
+ }
762
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
763
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
764
+
765
+ interface _UpdatePipelineResponseSuccess
766
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePipelineOutput]
767
+ def pipeline: () -> Types::PipelineDeclaration
768
+ end
769
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodePipeline/Client.html#update_pipeline-instance_method
770
+ def update_pipeline: (
771
+ pipeline: {
772
+ name: ::String,
773
+ role_arn: ::String,
774
+ artifact_store: {
775
+ type: ("S3"),
776
+ location: ::String,
777
+ encryption_key: {
778
+ id: ::String,
779
+ type: ("KMS")
780
+ }?
781
+ }?,
782
+ artifact_stores: Hash[::String, {
783
+ type: ("S3"),
784
+ location: ::String,
785
+ encryption_key: {
786
+ id: ::String,
787
+ type: ("KMS")
788
+ }?
789
+ }]?,
790
+ stages: Array[
791
+ {
792
+ name: ::String,
793
+ blockers: Array[
794
+ {
795
+ name: ::String,
796
+ type: ("Schedule")
797
+ },
798
+ ]?,
799
+ actions: Array[
800
+ {
801
+ name: ::String,
802
+ action_type_id: {
803
+ category: ("Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval"),
804
+ owner: ("AWS" | "ThirdParty" | "Custom"),
805
+ provider: ::String,
806
+ version: ::String
807
+ },
808
+ run_order: ::Integer?,
809
+ configuration: Hash[::String, ::String]?,
810
+ output_artifacts: Array[
811
+ {
812
+ name: ::String
813
+ },
814
+ ]?,
815
+ input_artifacts: Array[
816
+ {
817
+ name: ::String
818
+ },
819
+ ]?,
820
+ role_arn: ::String?,
821
+ region: ::String?,
822
+ namespace: ::String?
823
+ },
824
+ ]
825
+ },
826
+ ],
827
+ version: ::Integer?,
828
+ execution_mode: ("QUEUED" | "SUPERSEDED" | "PARALLEL")?,
829
+ pipeline_type: ("V1" | "V2")?,
830
+ variables: Array[
831
+ {
832
+ name: ::String,
833
+ default_value: ::String?,
834
+ description: ::String?
835
+ },
836
+ ]?,
837
+ triggers: Array[
838
+ {
839
+ provider_type: ("CodeStarSourceConnection"),
840
+ git_configuration: {
841
+ source_action_name: ::String,
842
+ push: Array[
843
+ {
844
+ tags: {
845
+ includes: Array[::String]?,
846
+ excludes: Array[::String]?
847
+ }?,
848
+ branches: {
849
+ includes: Array[::String]?,
850
+ excludes: Array[::String]?
851
+ }?,
852
+ file_paths: {
853
+ includes: Array[::String]?,
854
+ excludes: Array[::String]?
855
+ }?
856
+ },
857
+ ]?,
858
+ pull_request: Array[
859
+ {
860
+ events: Array[("OPEN" | "UPDATED" | "CLOSED")]?,
861
+ branches: {
862
+ includes: Array[::String]?,
863
+ excludes: Array[::String]?
864
+ }?,
865
+ file_paths: {
866
+ includes: Array[::String]?,
867
+ excludes: Array[::String]?
868
+ }?
869
+ },
870
+ ]?
871
+ }
872
+ },
873
+ ]?
874
+ }
875
+ ) -> _UpdatePipelineResponseSuccess
876
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePipelineResponseSuccess
877
+ end
878
+ end
879
+ end
880
+