aws-sdk-amplify 1.54.0 → 1.56.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,647 @@
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 Amplify
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/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
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _CreateAppResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAppResult]
77
+ def app: () -> Types::App
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#create_app-instance_method
80
+ def create_app: (
81
+ name: ::String,
82
+ ?description: ::String,
83
+ ?repository: ::String,
84
+ ?platform: ("WEB" | "WEB_DYNAMIC" | "WEB_COMPUTE"),
85
+ ?iam_service_role_arn: ::String,
86
+ ?oauth_token: ::String,
87
+ ?access_token: ::String,
88
+ ?environment_variables: Hash[::String, ::String],
89
+ ?enable_branch_auto_build: bool,
90
+ ?enable_branch_auto_deletion: bool,
91
+ ?enable_basic_auth: bool,
92
+ ?basic_auth_credentials: ::String,
93
+ ?custom_rules: Array[
94
+ {
95
+ source: ::String,
96
+ target: ::String,
97
+ status: ::String?,
98
+ condition: ::String?
99
+ },
100
+ ],
101
+ ?tags: Hash[::String, ::String],
102
+ ?build_spec: ::String,
103
+ ?custom_headers: ::String,
104
+ ?enable_auto_branch_creation: bool,
105
+ ?auto_branch_creation_patterns: Array[::String],
106
+ ?auto_branch_creation_config: {
107
+ stage: ("PRODUCTION" | "BETA" | "DEVELOPMENT" | "EXPERIMENTAL" | "PULL_REQUEST")?,
108
+ framework: ::String?,
109
+ enable_auto_build: bool?,
110
+ environment_variables: Hash[::String, ::String]?,
111
+ basic_auth_credentials: ::String?,
112
+ enable_basic_auth: bool?,
113
+ enable_performance_mode: bool?,
114
+ build_spec: ::String?,
115
+ enable_pull_request_preview: bool?,
116
+ pull_request_environment_name: ::String?
117
+ }
118
+ ) -> _CreateAppResponseSuccess
119
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAppResponseSuccess
120
+
121
+ interface _CreateBackendEnvironmentResponseSuccess
122
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateBackendEnvironmentResult]
123
+ def backend_environment: () -> Types::BackendEnvironment
124
+ end
125
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#create_backend_environment-instance_method
126
+ def create_backend_environment: (
127
+ app_id: ::String,
128
+ environment_name: ::String,
129
+ ?stack_name: ::String,
130
+ ?deployment_artifacts: ::String
131
+ ) -> _CreateBackendEnvironmentResponseSuccess
132
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBackendEnvironmentResponseSuccess
133
+
134
+ interface _CreateBranchResponseSuccess
135
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateBranchResult]
136
+ def branch: () -> Types::Branch
137
+ end
138
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#create_branch-instance_method
139
+ def create_branch: (
140
+ app_id: ::String,
141
+ branch_name: ::String,
142
+ ?description: ::String,
143
+ ?stage: ("PRODUCTION" | "BETA" | "DEVELOPMENT" | "EXPERIMENTAL" | "PULL_REQUEST"),
144
+ ?framework: ::String,
145
+ ?enable_notification: bool,
146
+ ?enable_auto_build: bool,
147
+ ?environment_variables: Hash[::String, ::String],
148
+ ?basic_auth_credentials: ::String,
149
+ ?enable_basic_auth: bool,
150
+ ?enable_performance_mode: bool,
151
+ ?tags: Hash[::String, ::String],
152
+ ?build_spec: ::String,
153
+ ?ttl: ::String,
154
+ ?display_name: ::String,
155
+ ?enable_pull_request_preview: bool,
156
+ ?pull_request_environment_name: ::String,
157
+ ?backend_environment_arn: ::String,
158
+ ?backend: {
159
+ stack_arn: ::String?
160
+ }
161
+ ) -> _CreateBranchResponseSuccess
162
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBranchResponseSuccess
163
+
164
+ interface _CreateDeploymentResponseSuccess
165
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDeploymentResult]
166
+ def job_id: () -> ::String
167
+ def file_upload_urls: () -> ::Hash[::String, ::String]
168
+ def zip_upload_url: () -> ::String
169
+ end
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#create_deployment-instance_method
171
+ def create_deployment: (
172
+ app_id: ::String,
173
+ branch_name: ::String,
174
+ ?file_map: Hash[::String, ::String]
175
+ ) -> _CreateDeploymentResponseSuccess
176
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeploymentResponseSuccess
177
+
178
+ interface _CreateDomainAssociationResponseSuccess
179
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDomainAssociationResult]
180
+ def domain_association: () -> Types::DomainAssociation
181
+ end
182
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#create_domain_association-instance_method
183
+ def create_domain_association: (
184
+ app_id: ::String,
185
+ domain_name: ::String,
186
+ ?enable_auto_sub_domain: bool,
187
+ sub_domain_settings: Array[
188
+ {
189
+ prefix: ::String,
190
+ branch_name: ::String
191
+ },
192
+ ],
193
+ ?auto_sub_domain_creation_patterns: Array[::String],
194
+ ?auto_sub_domain_iam_role: ::String,
195
+ ?certificate_settings: {
196
+ type: ("AMPLIFY_MANAGED" | "CUSTOM"),
197
+ custom_certificate_arn: ::String?
198
+ }
199
+ ) -> _CreateDomainAssociationResponseSuccess
200
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainAssociationResponseSuccess
201
+
202
+ interface _CreateWebhookResponseSuccess
203
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateWebhookResult]
204
+ def webhook: () -> Types::Webhook
205
+ end
206
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#create_webhook-instance_method
207
+ def create_webhook: (
208
+ app_id: ::String,
209
+ branch_name: ::String,
210
+ ?description: ::String
211
+ ) -> _CreateWebhookResponseSuccess
212
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebhookResponseSuccess
213
+
214
+ interface _DeleteAppResponseSuccess
215
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAppResult]
216
+ def app: () -> Types::App
217
+ end
218
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#delete_app-instance_method
219
+ def delete_app: (
220
+ app_id: ::String
221
+ ) -> _DeleteAppResponseSuccess
222
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAppResponseSuccess
223
+
224
+ interface _DeleteBackendEnvironmentResponseSuccess
225
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBackendEnvironmentResult]
226
+ def backend_environment: () -> Types::BackendEnvironment
227
+ end
228
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#delete_backend_environment-instance_method
229
+ def delete_backend_environment: (
230
+ app_id: ::String,
231
+ environment_name: ::String
232
+ ) -> _DeleteBackendEnvironmentResponseSuccess
233
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBackendEnvironmentResponseSuccess
234
+
235
+ interface _DeleteBranchResponseSuccess
236
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBranchResult]
237
+ def branch: () -> Types::Branch
238
+ end
239
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#delete_branch-instance_method
240
+ def delete_branch: (
241
+ app_id: ::String,
242
+ branch_name: ::String
243
+ ) -> _DeleteBranchResponseSuccess
244
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBranchResponseSuccess
245
+
246
+ interface _DeleteDomainAssociationResponseSuccess
247
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDomainAssociationResult]
248
+ def domain_association: () -> Types::DomainAssociation
249
+ end
250
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#delete_domain_association-instance_method
251
+ def delete_domain_association: (
252
+ app_id: ::String,
253
+ domain_name: ::String
254
+ ) -> _DeleteDomainAssociationResponseSuccess
255
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDomainAssociationResponseSuccess
256
+
257
+ interface _DeleteJobResponseSuccess
258
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteJobResult]
259
+ def job_summary: () -> Types::JobSummary
260
+ end
261
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#delete_job-instance_method
262
+ def delete_job: (
263
+ app_id: ::String,
264
+ branch_name: ::String,
265
+ job_id: ::String
266
+ ) -> _DeleteJobResponseSuccess
267
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteJobResponseSuccess
268
+
269
+ interface _DeleteWebhookResponseSuccess
270
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWebhookResult]
271
+ def webhook: () -> Types::Webhook
272
+ end
273
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#delete_webhook-instance_method
274
+ def delete_webhook: (
275
+ webhook_id: ::String
276
+ ) -> _DeleteWebhookResponseSuccess
277
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWebhookResponseSuccess
278
+
279
+ interface _GenerateAccessLogsResponseSuccess
280
+ include ::Seahorse::Client::_ResponseSuccess[Types::GenerateAccessLogsResult]
281
+ def log_url: () -> ::String
282
+ end
283
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#generate_access_logs-instance_method
284
+ def generate_access_logs: (
285
+ ?start_time: ::Time,
286
+ ?end_time: ::Time,
287
+ domain_name: ::String,
288
+ app_id: ::String
289
+ ) -> _GenerateAccessLogsResponseSuccess
290
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateAccessLogsResponseSuccess
291
+
292
+ interface _GetAppResponseSuccess
293
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppResult]
294
+ def app: () -> Types::App
295
+ end
296
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#get_app-instance_method
297
+ def get_app: (
298
+ app_id: ::String
299
+ ) -> _GetAppResponseSuccess
300
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppResponseSuccess
301
+
302
+ interface _GetArtifactUrlResponseSuccess
303
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetArtifactUrlResult]
304
+ def artifact_id: () -> ::String
305
+ def artifact_url: () -> ::String
306
+ end
307
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#get_artifact_url-instance_method
308
+ def get_artifact_url: (
309
+ artifact_id: ::String
310
+ ) -> _GetArtifactUrlResponseSuccess
311
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetArtifactUrlResponseSuccess
312
+
313
+ interface _GetBackendEnvironmentResponseSuccess
314
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBackendEnvironmentResult]
315
+ def backend_environment: () -> Types::BackendEnvironment
316
+ end
317
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#get_backend_environment-instance_method
318
+ def get_backend_environment: (
319
+ app_id: ::String,
320
+ environment_name: ::String
321
+ ) -> _GetBackendEnvironmentResponseSuccess
322
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBackendEnvironmentResponseSuccess
323
+
324
+ interface _GetBranchResponseSuccess
325
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBranchResult]
326
+ def branch: () -> Types::Branch
327
+ end
328
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#get_branch-instance_method
329
+ def get_branch: (
330
+ app_id: ::String,
331
+ branch_name: ::String
332
+ ) -> _GetBranchResponseSuccess
333
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBranchResponseSuccess
334
+
335
+ interface _GetDomainAssociationResponseSuccess
336
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDomainAssociationResult]
337
+ def domain_association: () -> Types::DomainAssociation
338
+ end
339
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#get_domain_association-instance_method
340
+ def get_domain_association: (
341
+ app_id: ::String,
342
+ domain_name: ::String
343
+ ) -> _GetDomainAssociationResponseSuccess
344
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDomainAssociationResponseSuccess
345
+
346
+ interface _GetJobResponseSuccess
347
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJobResult]
348
+ def job: () -> Types::Job
349
+ end
350
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#get_job-instance_method
351
+ def get_job: (
352
+ app_id: ::String,
353
+ branch_name: ::String,
354
+ job_id: ::String
355
+ ) -> _GetJobResponseSuccess
356
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJobResponseSuccess
357
+
358
+ interface _GetWebhookResponseSuccess
359
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetWebhookResult]
360
+ def webhook: () -> Types::Webhook
361
+ end
362
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#get_webhook-instance_method
363
+ def get_webhook: (
364
+ webhook_id: ::String
365
+ ) -> _GetWebhookResponseSuccess
366
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWebhookResponseSuccess
367
+
368
+ interface _ListAppsResponseSuccess
369
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAppsResult]
370
+ def apps: () -> ::Array[Types::App]
371
+ def next_token: () -> ::String
372
+ end
373
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_apps-instance_method
374
+ def list_apps: (
375
+ ?next_token: ::String,
376
+ ?max_results: ::Integer
377
+ ) -> _ListAppsResponseSuccess
378
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAppsResponseSuccess
379
+
380
+ interface _ListArtifactsResponseSuccess
381
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListArtifactsResult]
382
+ def artifacts: () -> ::Array[Types::Artifact]
383
+ def next_token: () -> ::String
384
+ end
385
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_artifacts-instance_method
386
+ def list_artifacts: (
387
+ app_id: ::String,
388
+ branch_name: ::String,
389
+ job_id: ::String,
390
+ ?next_token: ::String,
391
+ ?max_results: ::Integer
392
+ ) -> _ListArtifactsResponseSuccess
393
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListArtifactsResponseSuccess
394
+
395
+ interface _ListBackendEnvironmentsResponseSuccess
396
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListBackendEnvironmentsResult]
397
+ def backend_environments: () -> ::Array[Types::BackendEnvironment]
398
+ def next_token: () -> ::String
399
+ end
400
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_backend_environments-instance_method
401
+ def list_backend_environments: (
402
+ app_id: ::String,
403
+ ?environment_name: ::String,
404
+ ?next_token: ::String,
405
+ ?max_results: ::Integer
406
+ ) -> _ListBackendEnvironmentsResponseSuccess
407
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBackendEnvironmentsResponseSuccess
408
+
409
+ interface _ListBranchesResponseSuccess
410
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListBranchesResult]
411
+ def branches: () -> ::Array[Types::Branch]
412
+ def next_token: () -> ::String
413
+ end
414
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_branches-instance_method
415
+ def list_branches: (
416
+ app_id: ::String,
417
+ ?next_token: ::String,
418
+ ?max_results: ::Integer
419
+ ) -> _ListBranchesResponseSuccess
420
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBranchesResponseSuccess
421
+
422
+ interface _ListDomainAssociationsResponseSuccess
423
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDomainAssociationsResult]
424
+ def domain_associations: () -> ::Array[Types::DomainAssociation]
425
+ def next_token: () -> ::String
426
+ end
427
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_domain_associations-instance_method
428
+ def list_domain_associations: (
429
+ app_id: ::String,
430
+ ?next_token: ::String,
431
+ ?max_results: ::Integer
432
+ ) -> _ListDomainAssociationsResponseSuccess
433
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDomainAssociationsResponseSuccess
434
+
435
+ interface _ListJobsResponseSuccess
436
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListJobsResult]
437
+ def job_summaries: () -> ::Array[Types::JobSummary]
438
+ def next_token: () -> ::String
439
+ end
440
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_jobs-instance_method
441
+ def list_jobs: (
442
+ app_id: ::String,
443
+ branch_name: ::String,
444
+ ?next_token: ::String,
445
+ ?max_results: ::Integer
446
+ ) -> _ListJobsResponseSuccess
447
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJobsResponseSuccess
448
+
449
+ interface _ListTagsForResourceResponseSuccess
450
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
451
+ def tags: () -> ::Hash[::String, ::String]
452
+ end
453
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_tags_for_resource-instance_method
454
+ def list_tags_for_resource: (
455
+ resource_arn: ::String
456
+ ) -> _ListTagsForResourceResponseSuccess
457
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
458
+
459
+ interface _ListWebhooksResponseSuccess
460
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListWebhooksResult]
461
+ def webhooks: () -> ::Array[Types::Webhook]
462
+ def next_token: () -> ::String
463
+ end
464
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_webhooks-instance_method
465
+ def list_webhooks: (
466
+ app_id: ::String,
467
+ ?next_token: ::String,
468
+ ?max_results: ::Integer
469
+ ) -> _ListWebhooksResponseSuccess
470
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebhooksResponseSuccess
471
+
472
+ interface _StartDeploymentResponseSuccess
473
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartDeploymentResult]
474
+ def job_summary: () -> Types::JobSummary
475
+ end
476
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#start_deployment-instance_method
477
+ def start_deployment: (
478
+ app_id: ::String,
479
+ branch_name: ::String,
480
+ ?job_id: ::String,
481
+ ?source_url: ::String
482
+ ) -> _StartDeploymentResponseSuccess
483
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDeploymentResponseSuccess
484
+
485
+ interface _StartJobResponseSuccess
486
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartJobResult]
487
+ def job_summary: () -> Types::JobSummary
488
+ end
489
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#start_job-instance_method
490
+ def start_job: (
491
+ app_id: ::String,
492
+ branch_name: ::String,
493
+ ?job_id: ::String,
494
+ job_type: ("RELEASE" | "RETRY" | "MANUAL" | "WEB_HOOK"),
495
+ ?job_reason: ::String,
496
+ ?commit_id: ::String,
497
+ ?commit_message: ::String,
498
+ ?commit_time: ::Time
499
+ ) -> _StartJobResponseSuccess
500
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartJobResponseSuccess
501
+
502
+ interface _StopJobResponseSuccess
503
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopJobResult]
504
+ def job_summary: () -> Types::JobSummary
505
+ end
506
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#stop_job-instance_method
507
+ def stop_job: (
508
+ app_id: ::String,
509
+ branch_name: ::String,
510
+ job_id: ::String
511
+ ) -> _StopJobResponseSuccess
512
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopJobResponseSuccess
513
+
514
+ interface _TagResourceResponseSuccess
515
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
516
+ end
517
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#tag_resource-instance_method
518
+ def tag_resource: (
519
+ resource_arn: ::String,
520
+ tags: Hash[::String, ::String]
521
+ ) -> _TagResourceResponseSuccess
522
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
523
+
524
+ interface _UntagResourceResponseSuccess
525
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
526
+ end
527
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#untag_resource-instance_method
528
+ def untag_resource: (
529
+ resource_arn: ::String,
530
+ tag_keys: Array[::String]
531
+ ) -> _UntagResourceResponseSuccess
532
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
533
+
534
+ interface _UpdateAppResponseSuccess
535
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAppResult]
536
+ def app: () -> Types::App
537
+ end
538
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#update_app-instance_method
539
+ def update_app: (
540
+ app_id: ::String,
541
+ ?name: ::String,
542
+ ?description: ::String,
543
+ ?platform: ("WEB" | "WEB_DYNAMIC" | "WEB_COMPUTE"),
544
+ ?iam_service_role_arn: ::String,
545
+ ?environment_variables: Hash[::String, ::String],
546
+ ?enable_branch_auto_build: bool,
547
+ ?enable_branch_auto_deletion: bool,
548
+ ?enable_basic_auth: bool,
549
+ ?basic_auth_credentials: ::String,
550
+ ?custom_rules: Array[
551
+ {
552
+ source: ::String,
553
+ target: ::String,
554
+ status: ::String?,
555
+ condition: ::String?
556
+ },
557
+ ],
558
+ ?build_spec: ::String,
559
+ ?custom_headers: ::String,
560
+ ?enable_auto_branch_creation: bool,
561
+ ?auto_branch_creation_patterns: Array[::String],
562
+ ?auto_branch_creation_config: {
563
+ stage: ("PRODUCTION" | "BETA" | "DEVELOPMENT" | "EXPERIMENTAL" | "PULL_REQUEST")?,
564
+ framework: ::String?,
565
+ enable_auto_build: bool?,
566
+ environment_variables: Hash[::String, ::String]?,
567
+ basic_auth_credentials: ::String?,
568
+ enable_basic_auth: bool?,
569
+ enable_performance_mode: bool?,
570
+ build_spec: ::String?,
571
+ enable_pull_request_preview: bool?,
572
+ pull_request_environment_name: ::String?
573
+ },
574
+ ?repository: ::String,
575
+ ?oauth_token: ::String,
576
+ ?access_token: ::String
577
+ ) -> _UpdateAppResponseSuccess
578
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAppResponseSuccess
579
+
580
+ interface _UpdateBranchResponseSuccess
581
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateBranchResult]
582
+ def branch: () -> Types::Branch
583
+ end
584
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#update_branch-instance_method
585
+ def update_branch: (
586
+ app_id: ::String,
587
+ branch_name: ::String,
588
+ ?description: ::String,
589
+ ?framework: ::String,
590
+ ?stage: ("PRODUCTION" | "BETA" | "DEVELOPMENT" | "EXPERIMENTAL" | "PULL_REQUEST"),
591
+ ?enable_notification: bool,
592
+ ?enable_auto_build: bool,
593
+ ?environment_variables: Hash[::String, ::String],
594
+ ?basic_auth_credentials: ::String,
595
+ ?enable_basic_auth: bool,
596
+ ?enable_performance_mode: bool,
597
+ ?build_spec: ::String,
598
+ ?ttl: ::String,
599
+ ?display_name: ::String,
600
+ ?enable_pull_request_preview: bool,
601
+ ?pull_request_environment_name: ::String,
602
+ ?backend_environment_arn: ::String,
603
+ ?backend: {
604
+ stack_arn: ::String?
605
+ }
606
+ ) -> _UpdateBranchResponseSuccess
607
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBranchResponseSuccess
608
+
609
+ interface _UpdateDomainAssociationResponseSuccess
610
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDomainAssociationResult]
611
+ def domain_association: () -> Types::DomainAssociation
612
+ end
613
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#update_domain_association-instance_method
614
+ def update_domain_association: (
615
+ app_id: ::String,
616
+ domain_name: ::String,
617
+ ?enable_auto_sub_domain: bool,
618
+ ?sub_domain_settings: Array[
619
+ {
620
+ prefix: ::String,
621
+ branch_name: ::String
622
+ },
623
+ ],
624
+ ?auto_sub_domain_creation_patterns: Array[::String],
625
+ ?auto_sub_domain_iam_role: ::String,
626
+ ?certificate_settings: {
627
+ type: ("AMPLIFY_MANAGED" | "CUSTOM"),
628
+ custom_certificate_arn: ::String?
629
+ }
630
+ ) -> _UpdateDomainAssociationResponseSuccess
631
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainAssociationResponseSuccess
632
+
633
+ interface _UpdateWebhookResponseSuccess
634
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWebhookResult]
635
+ def webhook: () -> Types::Webhook
636
+ end
637
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#update_webhook-instance_method
638
+ def update_webhook: (
639
+ webhook_id: ::String,
640
+ ?branch_name: ::String,
641
+ ?description: ::String
642
+ ) -> _UpdateWebhookResponseSuccess
643
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWebhookResponseSuccess
644
+ end
645
+ end
646
+ end
647
+