aws-sdk-amplify 1.53.0 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/client.rbs ADDED
@@ -0,0 +1,639 @@
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
+ ) -> _CreateDomainAssociationResponseSuccess
196
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainAssociationResponseSuccess
197
+
198
+ interface _CreateWebhookResponseSuccess
199
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateWebhookResult]
200
+ def webhook: () -> Types::Webhook
201
+ end
202
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#create_webhook-instance_method
203
+ def create_webhook: (
204
+ app_id: ::String,
205
+ branch_name: ::String,
206
+ ?description: ::String
207
+ ) -> _CreateWebhookResponseSuccess
208
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebhookResponseSuccess
209
+
210
+ interface _DeleteAppResponseSuccess
211
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAppResult]
212
+ def app: () -> Types::App
213
+ end
214
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#delete_app-instance_method
215
+ def delete_app: (
216
+ app_id: ::String
217
+ ) -> _DeleteAppResponseSuccess
218
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAppResponseSuccess
219
+
220
+ interface _DeleteBackendEnvironmentResponseSuccess
221
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBackendEnvironmentResult]
222
+ def backend_environment: () -> Types::BackendEnvironment
223
+ end
224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#delete_backend_environment-instance_method
225
+ def delete_backend_environment: (
226
+ app_id: ::String,
227
+ environment_name: ::String
228
+ ) -> _DeleteBackendEnvironmentResponseSuccess
229
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBackendEnvironmentResponseSuccess
230
+
231
+ interface _DeleteBranchResponseSuccess
232
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBranchResult]
233
+ def branch: () -> Types::Branch
234
+ end
235
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#delete_branch-instance_method
236
+ def delete_branch: (
237
+ app_id: ::String,
238
+ branch_name: ::String
239
+ ) -> _DeleteBranchResponseSuccess
240
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBranchResponseSuccess
241
+
242
+ interface _DeleteDomainAssociationResponseSuccess
243
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDomainAssociationResult]
244
+ def domain_association: () -> Types::DomainAssociation
245
+ end
246
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#delete_domain_association-instance_method
247
+ def delete_domain_association: (
248
+ app_id: ::String,
249
+ domain_name: ::String
250
+ ) -> _DeleteDomainAssociationResponseSuccess
251
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDomainAssociationResponseSuccess
252
+
253
+ interface _DeleteJobResponseSuccess
254
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteJobResult]
255
+ def job_summary: () -> Types::JobSummary
256
+ end
257
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#delete_job-instance_method
258
+ def delete_job: (
259
+ app_id: ::String,
260
+ branch_name: ::String,
261
+ job_id: ::String
262
+ ) -> _DeleteJobResponseSuccess
263
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteJobResponseSuccess
264
+
265
+ interface _DeleteWebhookResponseSuccess
266
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWebhookResult]
267
+ def webhook: () -> Types::Webhook
268
+ end
269
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#delete_webhook-instance_method
270
+ def delete_webhook: (
271
+ webhook_id: ::String
272
+ ) -> _DeleteWebhookResponseSuccess
273
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWebhookResponseSuccess
274
+
275
+ interface _GenerateAccessLogsResponseSuccess
276
+ include ::Seahorse::Client::_ResponseSuccess[Types::GenerateAccessLogsResult]
277
+ def log_url: () -> ::String
278
+ end
279
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#generate_access_logs-instance_method
280
+ def generate_access_logs: (
281
+ ?start_time: ::Time,
282
+ ?end_time: ::Time,
283
+ domain_name: ::String,
284
+ app_id: ::String
285
+ ) -> _GenerateAccessLogsResponseSuccess
286
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateAccessLogsResponseSuccess
287
+
288
+ interface _GetAppResponseSuccess
289
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppResult]
290
+ def app: () -> Types::App
291
+ end
292
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#get_app-instance_method
293
+ def get_app: (
294
+ app_id: ::String
295
+ ) -> _GetAppResponseSuccess
296
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppResponseSuccess
297
+
298
+ interface _GetArtifactUrlResponseSuccess
299
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetArtifactUrlResult]
300
+ def artifact_id: () -> ::String
301
+ def artifact_url: () -> ::String
302
+ end
303
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#get_artifact_url-instance_method
304
+ def get_artifact_url: (
305
+ artifact_id: ::String
306
+ ) -> _GetArtifactUrlResponseSuccess
307
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetArtifactUrlResponseSuccess
308
+
309
+ interface _GetBackendEnvironmentResponseSuccess
310
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBackendEnvironmentResult]
311
+ def backend_environment: () -> Types::BackendEnvironment
312
+ end
313
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#get_backend_environment-instance_method
314
+ def get_backend_environment: (
315
+ app_id: ::String,
316
+ environment_name: ::String
317
+ ) -> _GetBackendEnvironmentResponseSuccess
318
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBackendEnvironmentResponseSuccess
319
+
320
+ interface _GetBranchResponseSuccess
321
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBranchResult]
322
+ def branch: () -> Types::Branch
323
+ end
324
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#get_branch-instance_method
325
+ def get_branch: (
326
+ app_id: ::String,
327
+ branch_name: ::String
328
+ ) -> _GetBranchResponseSuccess
329
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBranchResponseSuccess
330
+
331
+ interface _GetDomainAssociationResponseSuccess
332
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDomainAssociationResult]
333
+ def domain_association: () -> Types::DomainAssociation
334
+ end
335
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#get_domain_association-instance_method
336
+ def get_domain_association: (
337
+ app_id: ::String,
338
+ domain_name: ::String
339
+ ) -> _GetDomainAssociationResponseSuccess
340
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDomainAssociationResponseSuccess
341
+
342
+ interface _GetJobResponseSuccess
343
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJobResult]
344
+ def job: () -> Types::Job
345
+ end
346
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#get_job-instance_method
347
+ def get_job: (
348
+ app_id: ::String,
349
+ branch_name: ::String,
350
+ job_id: ::String
351
+ ) -> _GetJobResponseSuccess
352
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJobResponseSuccess
353
+
354
+ interface _GetWebhookResponseSuccess
355
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetWebhookResult]
356
+ def webhook: () -> Types::Webhook
357
+ end
358
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#get_webhook-instance_method
359
+ def get_webhook: (
360
+ webhook_id: ::String
361
+ ) -> _GetWebhookResponseSuccess
362
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWebhookResponseSuccess
363
+
364
+ interface _ListAppsResponseSuccess
365
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAppsResult]
366
+ def apps: () -> ::Array[Types::App]
367
+ def next_token: () -> ::String
368
+ end
369
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_apps-instance_method
370
+ def list_apps: (
371
+ ?next_token: ::String,
372
+ ?max_results: ::Integer
373
+ ) -> _ListAppsResponseSuccess
374
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAppsResponseSuccess
375
+
376
+ interface _ListArtifactsResponseSuccess
377
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListArtifactsResult]
378
+ def artifacts: () -> ::Array[Types::Artifact]
379
+ def next_token: () -> ::String
380
+ end
381
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_artifacts-instance_method
382
+ def list_artifacts: (
383
+ app_id: ::String,
384
+ branch_name: ::String,
385
+ job_id: ::String,
386
+ ?next_token: ::String,
387
+ ?max_results: ::Integer
388
+ ) -> _ListArtifactsResponseSuccess
389
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListArtifactsResponseSuccess
390
+
391
+ interface _ListBackendEnvironmentsResponseSuccess
392
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListBackendEnvironmentsResult]
393
+ def backend_environments: () -> ::Array[Types::BackendEnvironment]
394
+ def next_token: () -> ::String
395
+ end
396
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_backend_environments-instance_method
397
+ def list_backend_environments: (
398
+ app_id: ::String,
399
+ ?environment_name: ::String,
400
+ ?next_token: ::String,
401
+ ?max_results: ::Integer
402
+ ) -> _ListBackendEnvironmentsResponseSuccess
403
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBackendEnvironmentsResponseSuccess
404
+
405
+ interface _ListBranchesResponseSuccess
406
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListBranchesResult]
407
+ def branches: () -> ::Array[Types::Branch]
408
+ def next_token: () -> ::String
409
+ end
410
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_branches-instance_method
411
+ def list_branches: (
412
+ app_id: ::String,
413
+ ?next_token: ::String,
414
+ ?max_results: ::Integer
415
+ ) -> _ListBranchesResponseSuccess
416
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBranchesResponseSuccess
417
+
418
+ interface _ListDomainAssociationsResponseSuccess
419
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDomainAssociationsResult]
420
+ def domain_associations: () -> ::Array[Types::DomainAssociation]
421
+ def next_token: () -> ::String
422
+ end
423
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_domain_associations-instance_method
424
+ def list_domain_associations: (
425
+ app_id: ::String,
426
+ ?next_token: ::String,
427
+ ?max_results: ::Integer
428
+ ) -> _ListDomainAssociationsResponseSuccess
429
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDomainAssociationsResponseSuccess
430
+
431
+ interface _ListJobsResponseSuccess
432
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListJobsResult]
433
+ def job_summaries: () -> ::Array[Types::JobSummary]
434
+ def next_token: () -> ::String
435
+ end
436
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_jobs-instance_method
437
+ def list_jobs: (
438
+ app_id: ::String,
439
+ branch_name: ::String,
440
+ ?next_token: ::String,
441
+ ?max_results: ::Integer
442
+ ) -> _ListJobsResponseSuccess
443
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJobsResponseSuccess
444
+
445
+ interface _ListTagsForResourceResponseSuccess
446
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
447
+ def tags: () -> ::Hash[::String, ::String]
448
+ end
449
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_tags_for_resource-instance_method
450
+ def list_tags_for_resource: (
451
+ resource_arn: ::String
452
+ ) -> _ListTagsForResourceResponseSuccess
453
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
454
+
455
+ interface _ListWebhooksResponseSuccess
456
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListWebhooksResult]
457
+ def webhooks: () -> ::Array[Types::Webhook]
458
+ def next_token: () -> ::String
459
+ end
460
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#list_webhooks-instance_method
461
+ def list_webhooks: (
462
+ app_id: ::String,
463
+ ?next_token: ::String,
464
+ ?max_results: ::Integer
465
+ ) -> _ListWebhooksResponseSuccess
466
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebhooksResponseSuccess
467
+
468
+ interface _StartDeploymentResponseSuccess
469
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartDeploymentResult]
470
+ def job_summary: () -> Types::JobSummary
471
+ end
472
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#start_deployment-instance_method
473
+ def start_deployment: (
474
+ app_id: ::String,
475
+ branch_name: ::String,
476
+ ?job_id: ::String,
477
+ ?source_url: ::String
478
+ ) -> _StartDeploymentResponseSuccess
479
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDeploymentResponseSuccess
480
+
481
+ interface _StartJobResponseSuccess
482
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartJobResult]
483
+ def job_summary: () -> Types::JobSummary
484
+ end
485
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#start_job-instance_method
486
+ def start_job: (
487
+ app_id: ::String,
488
+ branch_name: ::String,
489
+ ?job_id: ::String,
490
+ job_type: ("RELEASE" | "RETRY" | "MANUAL" | "WEB_HOOK"),
491
+ ?job_reason: ::String,
492
+ ?commit_id: ::String,
493
+ ?commit_message: ::String,
494
+ ?commit_time: ::Time
495
+ ) -> _StartJobResponseSuccess
496
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartJobResponseSuccess
497
+
498
+ interface _StopJobResponseSuccess
499
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopJobResult]
500
+ def job_summary: () -> Types::JobSummary
501
+ end
502
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#stop_job-instance_method
503
+ def stop_job: (
504
+ app_id: ::String,
505
+ branch_name: ::String,
506
+ job_id: ::String
507
+ ) -> _StopJobResponseSuccess
508
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopJobResponseSuccess
509
+
510
+ interface _TagResourceResponseSuccess
511
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
512
+ end
513
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#tag_resource-instance_method
514
+ def tag_resource: (
515
+ resource_arn: ::String,
516
+ tags: Hash[::String, ::String]
517
+ ) -> _TagResourceResponseSuccess
518
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
519
+
520
+ interface _UntagResourceResponseSuccess
521
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
522
+ end
523
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#untag_resource-instance_method
524
+ def untag_resource: (
525
+ resource_arn: ::String,
526
+ tag_keys: Array[::String]
527
+ ) -> _UntagResourceResponseSuccess
528
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
529
+
530
+ interface _UpdateAppResponseSuccess
531
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAppResult]
532
+ def app: () -> Types::App
533
+ end
534
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#update_app-instance_method
535
+ def update_app: (
536
+ app_id: ::String,
537
+ ?name: ::String,
538
+ ?description: ::String,
539
+ ?platform: ("WEB" | "WEB_DYNAMIC" | "WEB_COMPUTE"),
540
+ ?iam_service_role_arn: ::String,
541
+ ?environment_variables: Hash[::String, ::String],
542
+ ?enable_branch_auto_build: bool,
543
+ ?enable_branch_auto_deletion: bool,
544
+ ?enable_basic_auth: bool,
545
+ ?basic_auth_credentials: ::String,
546
+ ?custom_rules: Array[
547
+ {
548
+ source: ::String,
549
+ target: ::String,
550
+ status: ::String?,
551
+ condition: ::String?
552
+ },
553
+ ],
554
+ ?build_spec: ::String,
555
+ ?custom_headers: ::String,
556
+ ?enable_auto_branch_creation: bool,
557
+ ?auto_branch_creation_patterns: Array[::String],
558
+ ?auto_branch_creation_config: {
559
+ stage: ("PRODUCTION" | "BETA" | "DEVELOPMENT" | "EXPERIMENTAL" | "PULL_REQUEST")?,
560
+ framework: ::String?,
561
+ enable_auto_build: bool?,
562
+ environment_variables: Hash[::String, ::String]?,
563
+ basic_auth_credentials: ::String?,
564
+ enable_basic_auth: bool?,
565
+ enable_performance_mode: bool?,
566
+ build_spec: ::String?,
567
+ enable_pull_request_preview: bool?,
568
+ pull_request_environment_name: ::String?
569
+ },
570
+ ?repository: ::String,
571
+ ?oauth_token: ::String,
572
+ ?access_token: ::String
573
+ ) -> _UpdateAppResponseSuccess
574
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAppResponseSuccess
575
+
576
+ interface _UpdateBranchResponseSuccess
577
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateBranchResult]
578
+ def branch: () -> Types::Branch
579
+ end
580
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#update_branch-instance_method
581
+ def update_branch: (
582
+ app_id: ::String,
583
+ branch_name: ::String,
584
+ ?description: ::String,
585
+ ?framework: ::String,
586
+ ?stage: ("PRODUCTION" | "BETA" | "DEVELOPMENT" | "EXPERIMENTAL" | "PULL_REQUEST"),
587
+ ?enable_notification: bool,
588
+ ?enable_auto_build: bool,
589
+ ?environment_variables: Hash[::String, ::String],
590
+ ?basic_auth_credentials: ::String,
591
+ ?enable_basic_auth: bool,
592
+ ?enable_performance_mode: bool,
593
+ ?build_spec: ::String,
594
+ ?ttl: ::String,
595
+ ?display_name: ::String,
596
+ ?enable_pull_request_preview: bool,
597
+ ?pull_request_environment_name: ::String,
598
+ ?backend_environment_arn: ::String,
599
+ ?backend: {
600
+ stack_arn: ::String?
601
+ }
602
+ ) -> _UpdateBranchResponseSuccess
603
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBranchResponseSuccess
604
+
605
+ interface _UpdateDomainAssociationResponseSuccess
606
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDomainAssociationResult]
607
+ def domain_association: () -> Types::DomainAssociation
608
+ end
609
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#update_domain_association-instance_method
610
+ def update_domain_association: (
611
+ app_id: ::String,
612
+ domain_name: ::String,
613
+ ?enable_auto_sub_domain: bool,
614
+ ?sub_domain_settings: Array[
615
+ {
616
+ prefix: ::String,
617
+ branch_name: ::String
618
+ },
619
+ ],
620
+ ?auto_sub_domain_creation_patterns: Array[::String],
621
+ ?auto_sub_domain_iam_role: ::String
622
+ ) -> _UpdateDomainAssociationResponseSuccess
623
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainAssociationResponseSuccess
624
+
625
+ interface _UpdateWebhookResponseSuccess
626
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWebhookResult]
627
+ def webhook: () -> Types::Webhook
628
+ end
629
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Amplify/Client.html#update_webhook-instance_method
630
+ def update_webhook: (
631
+ webhook_id: ::String,
632
+ ?branch_name: ::String,
633
+ ?description: ::String
634
+ ) -> _UpdateWebhookResponseSuccess
635
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWebhookResponseSuccess
636
+ end
637
+ end
638
+ end
639
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,38 @@
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
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class BadRequestException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class DependentServiceFailureException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class InternalFailureException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class LimitExceededException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class NotFoundException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
30
+ def code: () -> ::String
31
+ def message: () -> ::String
32
+ end
33
+ class UnauthorizedException < ::Aws::Errors::ServiceError
34
+ def message: () -> ::String
35
+ end
36
+ end
37
+ end
38
+ end