aws-sdk-amplify 1.42.0 → 1.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-amplify/client.rb +18 -10
- data/lib/aws-sdk-amplify/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-amplify/types.rb +15 -496
- data/lib/aws-sdk-amplify.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6294645fbc201a157fefd959ca04a62030489ce877431f9c340b14462df9f24d
|
4
|
+
data.tar.gz: 8cf093db4c2ed574ac39010ad1b910862282290c658ad409bb910daceae779c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7556b158d342d186e4d155bdefcf2d60fb425d2e3e7a98969c88d6b132e7c34bb70dfd622fc2148e80a4cc0d8f7d98b3dc40241928867e2b44731b91b18be37
|
7
|
+
data.tar.gz: 187811e43682b0b803ed3fe78777871725a732154db4d22636165387d438b9d380532a39575c65934f03c91dfd7a8a5e5c7588c100330ab893e3d2b896ddb009
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.44.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.43.0 (2022-11-17)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - Adds a new value (WEB_COMPUTE) to the Platform enum that allows customers to create Amplify Apps with Server-Side Rendering support.
|
15
|
+
|
4
16
|
1.42.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
@@ -220,4 +232,4 @@ Unreleased Changes
|
|
220
232
|
1.0.0 (2018-11-26)
|
221
233
|
------------------
|
222
234
|
|
223
|
-
* Feature - Initial release of `aws-sdk-amplify`.
|
235
|
+
* Feature - Initial release of `aws-sdk-amplify`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
@@ -380,7 +380,11 @@ module Aws::Amplify
|
|
380
380
|
# The repository for an Amplify app.
|
381
381
|
#
|
382
382
|
# @option params [String] :platform
|
383
|
-
# The platform
|
383
|
+
# The platform for the Amplify app. For a static app, set the platform
|
384
|
+
# type to `WEB`. For a dynamic server-side rendered (SSR) app, set the
|
385
|
+
# platform type to `WEB_COMPUTE`. For an app requiring Amplify
|
386
|
+
# Hosting's original SSR support only, set the platform type to
|
387
|
+
# `WEB_DYNAMIC`.
|
384
388
|
#
|
385
389
|
# @option params [String] :iam_service_role_arn
|
386
390
|
# The AWS Identity and Access Management (IAM) service role for an
|
@@ -480,7 +484,7 @@ module Aws::Amplify
|
|
480
484
|
# name: "Name", # required
|
481
485
|
# description: "Description",
|
482
486
|
# repository: "Repository",
|
483
|
-
# platform: "WEB", # accepts WEB, WEB_DYNAMIC
|
487
|
+
# platform: "WEB", # accepts WEB, WEB_DYNAMIC, WEB_COMPUTE
|
484
488
|
# iam_service_role_arn: "ServiceRoleArn",
|
485
489
|
# oauth_token: "OauthToken",
|
486
490
|
# access_token: "AccessToken",
|
@@ -531,7 +535,7 @@ module Aws::Amplify
|
|
531
535
|
# resp.app.tags["TagKey"] #=> String
|
532
536
|
# resp.app.description #=> String
|
533
537
|
# resp.app.repository #=> String
|
534
|
-
# resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
|
538
|
+
# resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC", "WEB_COMPUTE"
|
535
539
|
# resp.app.create_time #=> Time
|
536
540
|
# resp.app.update_time #=> Time
|
537
541
|
# resp.app.iam_service_role_arn #=> String
|
@@ -943,7 +947,7 @@ module Aws::Amplify
|
|
943
947
|
# resp.app.tags["TagKey"] #=> String
|
944
948
|
# resp.app.description #=> String
|
945
949
|
# resp.app.repository #=> String
|
946
|
-
# resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
|
950
|
+
# resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC", "WEB_COMPUTE"
|
947
951
|
# resp.app.create_time #=> Time
|
948
952
|
# resp.app.update_time #=> Time
|
949
953
|
# resp.app.iam_service_role_arn #=> String
|
@@ -1279,7 +1283,7 @@ module Aws::Amplify
|
|
1279
1283
|
# resp.app.tags["TagKey"] #=> String
|
1280
1284
|
# resp.app.description #=> String
|
1281
1285
|
# resp.app.repository #=> String
|
1282
|
-
# resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
|
1286
|
+
# resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC", "WEB_COMPUTE"
|
1283
1287
|
# resp.app.create_time #=> Time
|
1284
1288
|
# resp.app.update_time #=> Time
|
1285
1289
|
# resp.app.iam_service_role_arn #=> String
|
@@ -1623,7 +1627,7 @@ module Aws::Amplify
|
|
1623
1627
|
# resp.apps[0].tags["TagKey"] #=> String
|
1624
1628
|
# resp.apps[0].description #=> String
|
1625
1629
|
# resp.apps[0].repository #=> String
|
1626
|
-
# resp.apps[0].platform #=> String, one of "WEB", "WEB_DYNAMIC"
|
1630
|
+
# resp.apps[0].platform #=> String, one of "WEB", "WEB_DYNAMIC", "WEB_COMPUTE"
|
1627
1631
|
# resp.apps[0].create_time #=> Time
|
1628
1632
|
# resp.apps[0].update_time #=> Time
|
1629
1633
|
# resp.apps[0].iam_service_role_arn #=> String
|
@@ -2256,7 +2260,11 @@ module Aws::Amplify
|
|
2256
2260
|
# The description for an Amplify app.
|
2257
2261
|
#
|
2258
2262
|
# @option params [String] :platform
|
2259
|
-
# The platform for
|
2263
|
+
# The platform for the Amplify app. For a static app, set the platform
|
2264
|
+
# type to `WEB`. For a dynamic server-side rendered (SSR) app, set the
|
2265
|
+
# platform type to `WEB_COMPUTE`. For an app requiring Amplify
|
2266
|
+
# Hosting's original SSR support only, set the platform type to
|
2267
|
+
# `WEB_DYNAMIC`.
|
2260
2268
|
#
|
2261
2269
|
# @option params [String] :iam_service_role_arn
|
2262
2270
|
# The AWS Identity and Access Management (IAM) service role for an
|
@@ -2358,7 +2366,7 @@ module Aws::Amplify
|
|
2358
2366
|
# app_id: "AppId", # required
|
2359
2367
|
# name: "Name",
|
2360
2368
|
# description: "Description",
|
2361
|
-
# platform: "WEB", # accepts WEB, WEB_DYNAMIC
|
2369
|
+
# platform: "WEB", # accepts WEB, WEB_DYNAMIC, WEB_COMPUTE
|
2362
2370
|
# iam_service_role_arn: "ServiceRoleArn",
|
2363
2371
|
# environment_variables: {
|
2364
2372
|
# "EnvKey" => "EnvValue",
|
@@ -2407,7 +2415,7 @@ module Aws::Amplify
|
|
2407
2415
|
# resp.app.tags["TagKey"] #=> String
|
2408
2416
|
# resp.app.description #=> String
|
2409
2417
|
# resp.app.repository #=> String
|
2410
|
-
# resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
|
2418
|
+
# resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC", "WEB_COMPUTE"
|
2411
2419
|
# resp.app.create_time #=> Time
|
2412
2420
|
# resp.app.update_time #=> Time
|
2413
2421
|
# resp.app.iam_service_role_arn #=> String
|
@@ -2709,7 +2717,7 @@ module Aws::Amplify
|
|
2709
2717
|
params: params,
|
2710
2718
|
config: config)
|
2711
2719
|
context[:gem_name] = 'aws-sdk-amplify'
|
2712
|
-
context[:gem_version] = '1.
|
2720
|
+
context[:gem_version] = '1.44.0'
|
2713
2721
|
Seahorse::Client::Request.new(handlers, context)
|
2714
2722
|
end
|
2715
2723
|
|
@@ -9,103 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::Amplify
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://amplify-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://amplify-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://amplify.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://amplify.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5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cHM6Ly9hbXBsaWZ5
|
100
|
-
LntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4
|
101
|
-
fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRw
|
102
|
-
b2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sg
|
103
|
-
aXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9y
|
104
|
-
dCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6
|
105
|
-
W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vYW1wbGlmeS57UmVnaW9u
|
106
|
-
fS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7
|
107
|
-
fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
|
108
|
-
|
109
|
-
JSON
|
110
50
|
end
|
111
51
|
end
|
@@ -38,7 +38,11 @@ module Aws::Amplify
|
|
38
38
|
# @return [String]
|
39
39
|
#
|
40
40
|
# @!attribute [rw] platform
|
41
|
-
# The platform for the Amplify app.
|
41
|
+
# The platform for the Amplify app. For a static app, set the platform
|
42
|
+
# type to `WEB`. For a dynamic server-side rendered (SSR) app, set the
|
43
|
+
# platform type to `WEB_COMPUTE`. For an app requiring Amplify
|
44
|
+
# Hosting's original SSR support only, set the platform type to
|
45
|
+
# `WEB_DYNAMIC`.
|
42
46
|
# @return [String]
|
43
47
|
#
|
44
48
|
# @!attribute [rw] create_time
|
@@ -177,24 +181,6 @@ module Aws::Amplify
|
|
177
181
|
|
178
182
|
# Describes the automated branch creation configuration.
|
179
183
|
#
|
180
|
-
# @note When making an API call, you may pass AutoBranchCreationConfig
|
181
|
-
# data as a hash:
|
182
|
-
#
|
183
|
-
# {
|
184
|
-
# stage: "PRODUCTION", # accepts PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST
|
185
|
-
# framework: "Framework",
|
186
|
-
# enable_auto_build: false,
|
187
|
-
# environment_variables: {
|
188
|
-
# "EnvKey" => "EnvValue",
|
189
|
-
# },
|
190
|
-
# basic_auth_credentials: "BasicAuthCredentials",
|
191
|
-
# enable_basic_auth: false,
|
192
|
-
# enable_performance_mode: false,
|
193
|
-
# build_spec: "BuildSpec",
|
194
|
-
# enable_pull_request_preview: false,
|
195
|
-
# pull_request_environment_name: "PullRequestEnvironmentName",
|
196
|
-
# }
|
197
|
-
#
|
198
184
|
# @!attribute [rw] stage
|
199
185
|
# Describes the current stage for the autocreated branch.
|
200
186
|
# @return [String]
|
@@ -474,55 +460,6 @@ module Aws::Amplify
|
|
474
460
|
|
475
461
|
# The request structure used to create apps in Amplify.
|
476
462
|
#
|
477
|
-
# @note When making an API call, you may pass CreateAppRequest
|
478
|
-
# data as a hash:
|
479
|
-
#
|
480
|
-
# {
|
481
|
-
# name: "Name", # required
|
482
|
-
# description: "Description",
|
483
|
-
# repository: "Repository",
|
484
|
-
# platform: "WEB", # accepts WEB, WEB_DYNAMIC
|
485
|
-
# iam_service_role_arn: "ServiceRoleArn",
|
486
|
-
# oauth_token: "OauthToken",
|
487
|
-
# access_token: "AccessToken",
|
488
|
-
# environment_variables: {
|
489
|
-
# "EnvKey" => "EnvValue",
|
490
|
-
# },
|
491
|
-
# enable_branch_auto_build: false,
|
492
|
-
# enable_branch_auto_deletion: false,
|
493
|
-
# enable_basic_auth: false,
|
494
|
-
# basic_auth_credentials: "BasicAuthCredentials",
|
495
|
-
# custom_rules: [
|
496
|
-
# {
|
497
|
-
# source: "Source", # required
|
498
|
-
# target: "Target", # required
|
499
|
-
# status: "Status",
|
500
|
-
# condition: "Condition",
|
501
|
-
# },
|
502
|
-
# ],
|
503
|
-
# tags: {
|
504
|
-
# "TagKey" => "TagValue",
|
505
|
-
# },
|
506
|
-
# build_spec: "BuildSpec",
|
507
|
-
# custom_headers: "CustomHeaders",
|
508
|
-
# enable_auto_branch_creation: false,
|
509
|
-
# auto_branch_creation_patterns: ["AutoBranchCreationPattern"],
|
510
|
-
# auto_branch_creation_config: {
|
511
|
-
# stage: "PRODUCTION", # accepts PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST
|
512
|
-
# framework: "Framework",
|
513
|
-
# enable_auto_build: false,
|
514
|
-
# environment_variables: {
|
515
|
-
# "EnvKey" => "EnvValue",
|
516
|
-
# },
|
517
|
-
# basic_auth_credentials: "BasicAuthCredentials",
|
518
|
-
# enable_basic_auth: false,
|
519
|
-
# enable_performance_mode: false,
|
520
|
-
# build_spec: "BuildSpec",
|
521
|
-
# enable_pull_request_preview: false,
|
522
|
-
# pull_request_environment_name: "PullRequestEnvironmentName",
|
523
|
-
# },
|
524
|
-
# }
|
525
|
-
#
|
526
463
|
# @!attribute [rw] name
|
527
464
|
# The name for an Amplify app.
|
528
465
|
# @return [String]
|
@@ -536,7 +473,11 @@ module Aws::Amplify
|
|
536
473
|
# @return [String]
|
537
474
|
#
|
538
475
|
# @!attribute [rw] platform
|
539
|
-
# The platform
|
476
|
+
# The platform for the Amplify app. For a static app, set the platform
|
477
|
+
# type to `WEB`. For a dynamic server-side rendered (SSR) app, set the
|
478
|
+
# platform type to `WEB_COMPUTE`. For an app requiring Amplify
|
479
|
+
# Hosting's original SSR support only, set the platform type to
|
480
|
+
# `WEB_DYNAMIC`.
|
540
481
|
# @return [String]
|
541
482
|
#
|
542
483
|
# @!attribute [rw] iam_service_role_arn
|
@@ -685,16 +626,6 @@ module Aws::Amplify
|
|
685
626
|
|
686
627
|
# The request structure for the backend environment create request.
|
687
628
|
#
|
688
|
-
# @note When making an API call, you may pass CreateBackendEnvironmentRequest
|
689
|
-
# data as a hash:
|
690
|
-
#
|
691
|
-
# {
|
692
|
-
# app_id: "AppId", # required
|
693
|
-
# environment_name: "EnvironmentName", # required
|
694
|
-
# stack_name: "StackName",
|
695
|
-
# deployment_artifacts: "DeploymentArtifacts",
|
696
|
-
# }
|
697
|
-
#
|
698
629
|
# @!attribute [rw] app_id
|
699
630
|
# The unique ID for an Amplify app.
|
700
631
|
# @return [String]
|
@@ -738,34 +669,6 @@ module Aws::Amplify
|
|
738
669
|
|
739
670
|
# The request structure for the create branch request.
|
740
671
|
#
|
741
|
-
# @note When making an API call, you may pass CreateBranchRequest
|
742
|
-
# data as a hash:
|
743
|
-
#
|
744
|
-
# {
|
745
|
-
# app_id: "AppId", # required
|
746
|
-
# branch_name: "BranchName", # required
|
747
|
-
# description: "Description",
|
748
|
-
# stage: "PRODUCTION", # accepts PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST
|
749
|
-
# framework: "Framework",
|
750
|
-
# enable_notification: false,
|
751
|
-
# enable_auto_build: false,
|
752
|
-
# environment_variables: {
|
753
|
-
# "EnvKey" => "EnvValue",
|
754
|
-
# },
|
755
|
-
# basic_auth_credentials: "BasicAuthCredentials",
|
756
|
-
# enable_basic_auth: false,
|
757
|
-
# enable_performance_mode: false,
|
758
|
-
# tags: {
|
759
|
-
# "TagKey" => "TagValue",
|
760
|
-
# },
|
761
|
-
# build_spec: "BuildSpec",
|
762
|
-
# ttl: "TTL",
|
763
|
-
# display_name: "DisplayName",
|
764
|
-
# enable_pull_request_preview: false,
|
765
|
-
# pull_request_environment_name: "PullRequestEnvironmentName",
|
766
|
-
# backend_environment_arn: "BackendEnvironmentArn",
|
767
|
-
# }
|
768
|
-
#
|
769
672
|
# @!attribute [rw] app_id
|
770
673
|
# The unique ID for an Amplify app.
|
771
674
|
# @return [String]
|
@@ -889,17 +792,6 @@ module Aws::Amplify
|
|
889
792
|
|
890
793
|
# The request structure for the create a new deployment request.
|
891
794
|
#
|
892
|
-
# @note When making an API call, you may pass CreateDeploymentRequest
|
893
|
-
# data as a hash:
|
894
|
-
#
|
895
|
-
# {
|
896
|
-
# app_id: "AppId", # required
|
897
|
-
# branch_name: "BranchName", # required
|
898
|
-
# file_map: {
|
899
|
-
# "FileName" => "MD5Hash",
|
900
|
-
# },
|
901
|
-
# }
|
902
|
-
#
|
903
795
|
# @!attribute [rw] app_id
|
904
796
|
# The unique ID for an Amplify app.
|
905
797
|
# @return [String]
|
@@ -954,23 +846,6 @@ module Aws::Amplify
|
|
954
846
|
|
955
847
|
# The request structure for the create domain association request.
|
956
848
|
#
|
957
|
-
# @note When making an API call, you may pass CreateDomainAssociationRequest
|
958
|
-
# data as a hash:
|
959
|
-
#
|
960
|
-
# {
|
961
|
-
# app_id: "AppId", # required
|
962
|
-
# domain_name: "DomainName", # required
|
963
|
-
# enable_auto_sub_domain: false,
|
964
|
-
# sub_domain_settings: [ # required
|
965
|
-
# {
|
966
|
-
# prefix: "DomainPrefix", # required
|
967
|
-
# branch_name: "BranchName", # required
|
968
|
-
# },
|
969
|
-
# ],
|
970
|
-
# auto_sub_domain_creation_patterns: ["AutoSubDomainCreationPattern"],
|
971
|
-
# auto_sub_domain_iam_role: "AutoSubDomainIAMRole",
|
972
|
-
# }
|
973
|
-
#
|
974
849
|
# @!attribute [rw] app_id
|
975
850
|
# The unique ID for an Amplify app.
|
976
851
|
# @return [String]
|
@@ -1027,15 +902,6 @@ module Aws::Amplify
|
|
1027
902
|
|
1028
903
|
# The request structure for the create webhook request.
|
1029
904
|
#
|
1030
|
-
# @note When making an API call, you may pass CreateWebhookRequest
|
1031
|
-
# data as a hash:
|
1032
|
-
#
|
1033
|
-
# {
|
1034
|
-
# app_id: "AppId", # required
|
1035
|
-
# branch_name: "BranchName", # required
|
1036
|
-
# description: "Description",
|
1037
|
-
# }
|
1038
|
-
#
|
1039
905
|
# @!attribute [rw] app_id
|
1040
906
|
# The unique ID for an Amplify app.
|
1041
907
|
# @return [String]
|
@@ -1075,16 +941,6 @@ module Aws::Amplify
|
|
1075
941
|
|
1076
942
|
# Describes a custom rewrite or redirect rule.
|
1077
943
|
#
|
1078
|
-
# @note When making an API call, you may pass CustomRule
|
1079
|
-
# data as a hash:
|
1080
|
-
#
|
1081
|
-
# {
|
1082
|
-
# source: "Source", # required
|
1083
|
-
# target: "Target", # required
|
1084
|
-
# status: "Status",
|
1085
|
-
# condition: "Condition",
|
1086
|
-
# }
|
1087
|
-
#
|
1088
944
|
# @!attribute [rw] source
|
1089
945
|
# The source pattern for a URL rewrite or redirect rule.
|
1090
946
|
# @return [String]
|
@@ -1136,13 +992,6 @@ module Aws::Amplify
|
|
1136
992
|
|
1137
993
|
# Describes the request structure for the delete app request.
|
1138
994
|
#
|
1139
|
-
# @note When making an API call, you may pass DeleteAppRequest
|
1140
|
-
# data as a hash:
|
1141
|
-
#
|
1142
|
-
# {
|
1143
|
-
# app_id: "AppId", # required
|
1144
|
-
# }
|
1145
|
-
#
|
1146
995
|
# @!attribute [rw] app_id
|
1147
996
|
# The unique ID for an Amplify app.
|
1148
997
|
# @return [String]
|
@@ -1172,14 +1021,6 @@ module Aws::Amplify
|
|
1172
1021
|
|
1173
1022
|
# The request structure for the delete backend environment request.
|
1174
1023
|
#
|
1175
|
-
# @note When making an API call, you may pass DeleteBackendEnvironmentRequest
|
1176
|
-
# data as a hash:
|
1177
|
-
#
|
1178
|
-
# {
|
1179
|
-
# app_id: "AppId", # required
|
1180
|
-
# environment_name: "EnvironmentName", # required
|
1181
|
-
# }
|
1182
|
-
#
|
1183
1024
|
# @!attribute [rw] app_id
|
1184
1025
|
# The unique ID of an Amplify app.
|
1185
1026
|
# @return [String]
|
@@ -1213,14 +1054,6 @@ module Aws::Amplify
|
|
1213
1054
|
|
1214
1055
|
# The request structure for the delete branch request.
|
1215
1056
|
#
|
1216
|
-
# @note When making an API call, you may pass DeleteBranchRequest
|
1217
|
-
# data as a hash:
|
1218
|
-
#
|
1219
|
-
# {
|
1220
|
-
# app_id: "AppId", # required
|
1221
|
-
# branch_name: "BranchName", # required
|
1222
|
-
# }
|
1223
|
-
#
|
1224
1057
|
# @!attribute [rw] app_id
|
1225
1058
|
# The unique ID for an Amplify app.
|
1226
1059
|
# @return [String]
|
@@ -1255,14 +1088,6 @@ module Aws::Amplify
|
|
1255
1088
|
|
1256
1089
|
# The request structure for the delete domain association request.
|
1257
1090
|
#
|
1258
|
-
# @note When making an API call, you may pass DeleteDomainAssociationRequest
|
1259
|
-
# data as a hash:
|
1260
|
-
#
|
1261
|
-
# {
|
1262
|
-
# app_id: "AppId", # required
|
1263
|
-
# domain_name: "DomainName", # required
|
1264
|
-
# }
|
1265
|
-
#
|
1266
1091
|
# @!attribute [rw] app_id
|
1267
1092
|
# The unique id for an Amplify app.
|
1268
1093
|
# @return [String]
|
@@ -1295,15 +1120,6 @@ module Aws::Amplify
|
|
1295
1120
|
|
1296
1121
|
# The request structure for the delete job request.
|
1297
1122
|
#
|
1298
|
-
# @note When making an API call, you may pass DeleteJobRequest
|
1299
|
-
# data as a hash:
|
1300
|
-
#
|
1301
|
-
# {
|
1302
|
-
# app_id: "AppId", # required
|
1303
|
-
# branch_name: "BranchName", # required
|
1304
|
-
# job_id: "JobId", # required
|
1305
|
-
# }
|
1306
|
-
#
|
1307
1123
|
# @!attribute [rw] app_id
|
1308
1124
|
# The unique ID for an Amplify app.
|
1309
1125
|
# @return [String]
|
@@ -1342,13 +1158,6 @@ module Aws::Amplify
|
|
1342
1158
|
|
1343
1159
|
# The request structure for the delete webhook request.
|
1344
1160
|
#
|
1345
|
-
# @note When making an API call, you may pass DeleteWebhookRequest
|
1346
|
-
# data as a hash:
|
1347
|
-
#
|
1348
|
-
# {
|
1349
|
-
# webhook_id: "WebhookId", # required
|
1350
|
-
# }
|
1351
|
-
#
|
1352
1161
|
# @!attribute [rw] webhook_id
|
1353
1162
|
# The unique ID for a webhook.
|
1354
1163
|
# @return [String]
|
@@ -1448,16 +1257,6 @@ module Aws::Amplify
|
|
1448
1257
|
|
1449
1258
|
# The request structure for the generate access logs request.
|
1450
1259
|
#
|
1451
|
-
# @note When making an API call, you may pass GenerateAccessLogsRequest
|
1452
|
-
# data as a hash:
|
1453
|
-
#
|
1454
|
-
# {
|
1455
|
-
# start_time: Time.now,
|
1456
|
-
# end_time: Time.now,
|
1457
|
-
# domain_name: "DomainName", # required
|
1458
|
-
# app_id: "AppId", # required
|
1459
|
-
# }
|
1460
|
-
#
|
1461
1260
|
# @!attribute [rw] start_time
|
1462
1261
|
# The time at which the logs should start. The time range specified is
|
1463
1262
|
# inclusive of the start time.
|
@@ -1503,13 +1302,6 @@ module Aws::Amplify
|
|
1503
1302
|
|
1504
1303
|
# The request structure for the get app request.
|
1505
1304
|
#
|
1506
|
-
# @note When making an API call, you may pass GetAppRequest
|
1507
|
-
# data as a hash:
|
1508
|
-
#
|
1509
|
-
# {
|
1510
|
-
# app_id: "AppId", # required
|
1511
|
-
# }
|
1512
|
-
#
|
1513
1305
|
# @!attribute [rw] app_id
|
1514
1306
|
# The unique ID for an Amplify app.
|
1515
1307
|
# @return [String]
|
@@ -1537,13 +1329,6 @@ module Aws::Amplify
|
|
1537
1329
|
|
1538
1330
|
# Returns the request structure for the get artifact request.
|
1539
1331
|
#
|
1540
|
-
# @note When making an API call, you may pass GetArtifactUrlRequest
|
1541
|
-
# data as a hash:
|
1542
|
-
#
|
1543
|
-
# {
|
1544
|
-
# artifact_id: "ArtifactId", # required
|
1545
|
-
# }
|
1546
|
-
#
|
1547
1332
|
# @!attribute [rw] artifact_id
|
1548
1333
|
# The unique ID for an artifact.
|
1549
1334
|
# @return [String]
|
@@ -1577,14 +1362,6 @@ module Aws::Amplify
|
|
1577
1362
|
|
1578
1363
|
# The request structure for the get backend environment request.
|
1579
1364
|
#
|
1580
|
-
# @note When making an API call, you may pass GetBackendEnvironmentRequest
|
1581
|
-
# data as a hash:
|
1582
|
-
#
|
1583
|
-
# {
|
1584
|
-
# app_id: "AppId", # required
|
1585
|
-
# environment_name: "EnvironmentName", # required
|
1586
|
-
# }
|
1587
|
-
#
|
1588
1365
|
# @!attribute [rw] app_id
|
1589
1366
|
# The unique id for an Amplify app.
|
1590
1367
|
# @return [String]
|
@@ -1618,14 +1395,6 @@ module Aws::Amplify
|
|
1618
1395
|
|
1619
1396
|
# The request structure for the get branch request.
|
1620
1397
|
#
|
1621
|
-
# @note When making an API call, you may pass GetBranchRequest
|
1622
|
-
# data as a hash:
|
1623
|
-
#
|
1624
|
-
# {
|
1625
|
-
# app_id: "AppId", # required
|
1626
|
-
# branch_name: "BranchName", # required
|
1627
|
-
# }
|
1628
|
-
#
|
1629
1398
|
# @!attribute [rw] app_id
|
1630
1399
|
# The unique ID for an Amplify app.
|
1631
1400
|
# @return [String]
|
@@ -1658,14 +1427,6 @@ module Aws::Amplify
|
|
1658
1427
|
|
1659
1428
|
# The request structure for the get domain association request.
|
1660
1429
|
#
|
1661
|
-
# @note When making an API call, you may pass GetDomainAssociationRequest
|
1662
|
-
# data as a hash:
|
1663
|
-
#
|
1664
|
-
# {
|
1665
|
-
# app_id: "AppId", # required
|
1666
|
-
# domain_name: "DomainName", # required
|
1667
|
-
# }
|
1668
|
-
#
|
1669
1430
|
# @!attribute [rw] app_id
|
1670
1431
|
# The unique id for an Amplify app.
|
1671
1432
|
# @return [String]
|
@@ -1700,15 +1461,6 @@ module Aws::Amplify
|
|
1700
1461
|
|
1701
1462
|
# The request structure for the get job request.
|
1702
1463
|
#
|
1703
|
-
# @note When making an API call, you may pass GetJobRequest
|
1704
|
-
# data as a hash:
|
1705
|
-
#
|
1706
|
-
# {
|
1707
|
-
# app_id: "AppId", # required
|
1708
|
-
# branch_name: "BranchName", # required
|
1709
|
-
# job_id: "JobId", # required
|
1710
|
-
# }
|
1711
|
-
#
|
1712
1464
|
# @!attribute [rw] app_id
|
1713
1465
|
# The unique ID for an Amplify app.
|
1714
1466
|
# @return [String]
|
@@ -1745,13 +1497,6 @@ module Aws::Amplify
|
|
1745
1497
|
|
1746
1498
|
# The request structure for the get webhook request.
|
1747
1499
|
#
|
1748
|
-
# @note When making an API call, you may pass GetWebhookRequest
|
1749
|
-
# data as a hash:
|
1750
|
-
#
|
1751
|
-
# {
|
1752
|
-
# webhook_id: "WebhookId", # required
|
1753
|
-
# }
|
1754
|
-
#
|
1755
1500
|
# @!attribute [rw] webhook_id
|
1756
1501
|
# The unique ID for a webhook.
|
1757
1502
|
# @return [String]
|
@@ -1884,14 +1629,6 @@ module Aws::Amplify
|
|
1884
1629
|
|
1885
1630
|
# The request structure for the list apps request.
|
1886
1631
|
#
|
1887
|
-
# @note When making an API call, you may pass ListAppsRequest
|
1888
|
-
# data as a hash:
|
1889
|
-
#
|
1890
|
-
# {
|
1891
|
-
# next_token: "NextToken",
|
1892
|
-
# max_results: 1,
|
1893
|
-
# }
|
1894
|
-
#
|
1895
1632
|
# @!attribute [rw] next_token
|
1896
1633
|
# A pagination token. If non-null, the pagination token is returned in
|
1897
1634
|
# a result. Pass its value in another request to retrieve more
|
@@ -1934,17 +1671,6 @@ module Aws::Amplify
|
|
1934
1671
|
|
1935
1672
|
# Describes the request structure for the list artifacts request.
|
1936
1673
|
#
|
1937
|
-
# @note When making an API call, you may pass ListArtifactsRequest
|
1938
|
-
# data as a hash:
|
1939
|
-
#
|
1940
|
-
# {
|
1941
|
-
# app_id: "AppId", # required
|
1942
|
-
# branch_name: "BranchName", # required
|
1943
|
-
# job_id: "JobId", # required
|
1944
|
-
# next_token: "NextToken",
|
1945
|
-
# max_results: 1,
|
1946
|
-
# }
|
1947
|
-
#
|
1948
1674
|
# @!attribute [rw] app_id
|
1949
1675
|
# The unique ID for an Amplify app.
|
1950
1676
|
# @return [String]
|
@@ -2001,16 +1727,6 @@ module Aws::Amplify
|
|
2001
1727
|
|
2002
1728
|
# The request structure for the list backend environments request.
|
2003
1729
|
#
|
2004
|
-
# @note When making an API call, you may pass ListBackendEnvironmentsRequest
|
2005
|
-
# data as a hash:
|
2006
|
-
#
|
2007
|
-
# {
|
2008
|
-
# app_id: "AppId", # required
|
2009
|
-
# environment_name: "EnvironmentName",
|
2010
|
-
# next_token: "NextToken",
|
2011
|
-
# max_results: 1,
|
2012
|
-
# }
|
2013
|
-
#
|
2014
1730
|
# @!attribute [rw] app_id
|
2015
1731
|
# The unique ID for an Amplify app.
|
2016
1732
|
# @return [String]
|
@@ -2063,15 +1779,6 @@ module Aws::Amplify
|
|
2063
1779
|
|
2064
1780
|
# The request structure for the list branches request.
|
2065
1781
|
#
|
2066
|
-
# @note When making an API call, you may pass ListBranchesRequest
|
2067
|
-
# data as a hash:
|
2068
|
-
#
|
2069
|
-
# {
|
2070
|
-
# app_id: "AppId", # required
|
2071
|
-
# next_token: "NextToken",
|
2072
|
-
# max_results: 1,
|
2073
|
-
# }
|
2074
|
-
#
|
2075
1782
|
# @!attribute [rw] app_id
|
2076
1783
|
# The unique ID for an Amplify app.
|
2077
1784
|
# @return [String]
|
@@ -2118,15 +1825,6 @@ module Aws::Amplify
|
|
2118
1825
|
|
2119
1826
|
# The request structure for the list domain associations request.
|
2120
1827
|
#
|
2121
|
-
# @note When making an API call, you may pass ListDomainAssociationsRequest
|
2122
|
-
# data as a hash:
|
2123
|
-
#
|
2124
|
-
# {
|
2125
|
-
# app_id: "AppId", # required
|
2126
|
-
# next_token: "NextToken",
|
2127
|
-
# max_results: 1,
|
2128
|
-
# }
|
2129
|
-
#
|
2130
1828
|
# @!attribute [rw] app_id
|
2131
1829
|
# The unique ID for an Amplify app.
|
2132
1830
|
# @return [String]
|
@@ -2173,16 +1871,6 @@ module Aws::Amplify
|
|
2173
1871
|
|
2174
1872
|
# The request structure for the list jobs request.
|
2175
1873
|
#
|
2176
|
-
# @note When making an API call, you may pass ListJobsRequest
|
2177
|
-
# data as a hash:
|
2178
|
-
#
|
2179
|
-
# {
|
2180
|
-
# app_id: "AppId", # required
|
2181
|
-
# branch_name: "BranchName", # required
|
2182
|
-
# next_token: "NextToken",
|
2183
|
-
# max_results: 1,
|
2184
|
-
# }
|
2185
|
-
#
|
2186
1874
|
# @!attribute [rw] app_id
|
2187
1875
|
# The unique ID for an Amplify app.
|
2188
1876
|
# @return [String]
|
@@ -2235,13 +1923,6 @@ module Aws::Amplify
|
|
2235
1923
|
|
2236
1924
|
# The request structure to use to list tags for a resource.
|
2237
1925
|
#
|
2238
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
2239
|
-
# data as a hash:
|
2240
|
-
#
|
2241
|
-
# {
|
2242
|
-
# resource_arn: "ResourceArn", # required
|
2243
|
-
# }
|
2244
|
-
#
|
2245
1926
|
# @!attribute [rw] resource_arn
|
2246
1927
|
# The Amazon Resource Name (ARN) to use to list tags.
|
2247
1928
|
# @return [String]
|
@@ -2270,15 +1951,6 @@ module Aws::Amplify
|
|
2270
1951
|
|
2271
1952
|
# The request structure for the list webhooks request.
|
2272
1953
|
#
|
2273
|
-
# @note When making an API call, you may pass ListWebhooksRequest
|
2274
|
-
# data as a hash:
|
2275
|
-
#
|
2276
|
-
# {
|
2277
|
-
# app_id: "AppId", # required
|
2278
|
-
# next_token: "NextToken",
|
2279
|
-
# max_results: 1,
|
2280
|
-
# }
|
2281
|
-
#
|
2282
1954
|
# @!attribute [rw] app_id
|
2283
1955
|
# The unique ID for an Amplify app.
|
2284
1956
|
# @return [String]
|
@@ -2386,16 +2058,6 @@ module Aws::Amplify
|
|
2386
2058
|
|
2387
2059
|
# The request structure for the start a deployment request.
|
2388
2060
|
#
|
2389
|
-
# @note When making an API call, you may pass StartDeploymentRequest
|
2390
|
-
# data as a hash:
|
2391
|
-
#
|
2392
|
-
# {
|
2393
|
-
# app_id: "AppId", # required
|
2394
|
-
# branch_name: "BranchName", # required
|
2395
|
-
# job_id: "JobId",
|
2396
|
-
# source_url: "SourceUrl",
|
2397
|
-
# }
|
2398
|
-
#
|
2399
2061
|
# @!attribute [rw] app_id
|
2400
2062
|
# The unique ID for an Amplify app.
|
2401
2063
|
# @return [String]
|
@@ -2443,20 +2105,6 @@ module Aws::Amplify
|
|
2443
2105
|
|
2444
2106
|
# The request structure for the start job request.
|
2445
2107
|
#
|
2446
|
-
# @note When making an API call, you may pass StartJobRequest
|
2447
|
-
# data as a hash:
|
2448
|
-
#
|
2449
|
-
# {
|
2450
|
-
# app_id: "AppId", # required
|
2451
|
-
# branch_name: "BranchName", # required
|
2452
|
-
# job_id: "JobId",
|
2453
|
-
# job_type: "RELEASE", # required, accepts RELEASE, RETRY, MANUAL, WEB_HOOK
|
2454
|
-
# job_reason: "JobReason",
|
2455
|
-
# commit_id: "CommitId",
|
2456
|
-
# commit_message: "CommitMessage",
|
2457
|
-
# commit_time: Time.now,
|
2458
|
-
# }
|
2459
|
-
#
|
2460
2108
|
# @!attribute [rw] app_id
|
2461
2109
|
# The unique ID for an Amplify app.
|
2462
2110
|
# @return [String]
|
@@ -2591,15 +2239,6 @@ module Aws::Amplify
|
|
2591
2239
|
|
2592
2240
|
# The request structure for the stop job request.
|
2593
2241
|
#
|
2594
|
-
# @note When making an API call, you may pass StopJobRequest
|
2595
|
-
# data as a hash:
|
2596
|
-
#
|
2597
|
-
# {
|
2598
|
-
# app_id: "AppId", # required
|
2599
|
-
# branch_name: "BranchName", # required
|
2600
|
-
# job_id: "JobId", # required
|
2601
|
-
# }
|
2602
|
-
#
|
2603
2242
|
# @!attribute [rw] app_id
|
2604
2243
|
# The unique ID for an Amplify app.
|
2605
2244
|
# @return [String]
|
@@ -2662,14 +2301,6 @@ module Aws::Amplify
|
|
2662
2301
|
|
2663
2302
|
# Describes the settings for the subdomain.
|
2664
2303
|
#
|
2665
|
-
# @note When making an API call, you may pass SubDomainSetting
|
2666
|
-
# data as a hash:
|
2667
|
-
#
|
2668
|
-
# {
|
2669
|
-
# prefix: "DomainPrefix", # required
|
2670
|
-
# branch_name: "BranchName", # required
|
2671
|
-
# }
|
2672
|
-
#
|
2673
2304
|
# @!attribute [rw] prefix
|
2674
2305
|
# The prefix setting for the subdomain.
|
2675
2306
|
# @return [String]
|
@@ -2689,16 +2320,6 @@ module Aws::Amplify
|
|
2689
2320
|
|
2690
2321
|
# The request structure to tag a resource with a tag key and value.
|
2691
2322
|
#
|
2692
|
-
# @note When making an API call, you may pass TagResourceRequest
|
2693
|
-
# data as a hash:
|
2694
|
-
#
|
2695
|
-
# {
|
2696
|
-
# resource_arn: "ResourceArn", # required
|
2697
|
-
# tags: { # required
|
2698
|
-
# "TagKey" => "TagValue",
|
2699
|
-
# },
|
2700
|
-
# }
|
2701
|
-
#
|
2702
2323
|
# @!attribute [rw] resource_arn
|
2703
2324
|
# The Amazon Resource Name (ARN) to use to tag a resource.
|
2704
2325
|
# @return [String]
|
@@ -2737,14 +2358,6 @@ module Aws::Amplify
|
|
2737
2358
|
|
2738
2359
|
# The request structure for the untag resource request.
|
2739
2360
|
#
|
2740
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
2741
|
-
# data as a hash:
|
2742
|
-
#
|
2743
|
-
# {
|
2744
|
-
# resource_arn: "ResourceArn", # required
|
2745
|
-
# tag_keys: ["TagKey"], # required
|
2746
|
-
# }
|
2747
|
-
#
|
2748
2361
|
# @!attribute [rw] resource_arn
|
2749
2362
|
# The Amazon Resource Name (ARN) to use to untag a resource.
|
2750
2363
|
# @return [String]
|
@@ -2770,53 +2383,6 @@ module Aws::Amplify
|
|
2770
2383
|
|
2771
2384
|
# The request structure for the update app request.
|
2772
2385
|
#
|
2773
|
-
# @note When making an API call, you may pass UpdateAppRequest
|
2774
|
-
# data as a hash:
|
2775
|
-
#
|
2776
|
-
# {
|
2777
|
-
# app_id: "AppId", # required
|
2778
|
-
# name: "Name",
|
2779
|
-
# description: "Description",
|
2780
|
-
# platform: "WEB", # accepts WEB, WEB_DYNAMIC
|
2781
|
-
# iam_service_role_arn: "ServiceRoleArn",
|
2782
|
-
# environment_variables: {
|
2783
|
-
# "EnvKey" => "EnvValue",
|
2784
|
-
# },
|
2785
|
-
# enable_branch_auto_build: false,
|
2786
|
-
# enable_branch_auto_deletion: false,
|
2787
|
-
# enable_basic_auth: false,
|
2788
|
-
# basic_auth_credentials: "BasicAuthCredentials",
|
2789
|
-
# custom_rules: [
|
2790
|
-
# {
|
2791
|
-
# source: "Source", # required
|
2792
|
-
# target: "Target", # required
|
2793
|
-
# status: "Status",
|
2794
|
-
# condition: "Condition",
|
2795
|
-
# },
|
2796
|
-
# ],
|
2797
|
-
# build_spec: "BuildSpec",
|
2798
|
-
# custom_headers: "CustomHeaders",
|
2799
|
-
# enable_auto_branch_creation: false,
|
2800
|
-
# auto_branch_creation_patterns: ["AutoBranchCreationPattern"],
|
2801
|
-
# auto_branch_creation_config: {
|
2802
|
-
# stage: "PRODUCTION", # accepts PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST
|
2803
|
-
# framework: "Framework",
|
2804
|
-
# enable_auto_build: false,
|
2805
|
-
# environment_variables: {
|
2806
|
-
# "EnvKey" => "EnvValue",
|
2807
|
-
# },
|
2808
|
-
# basic_auth_credentials: "BasicAuthCredentials",
|
2809
|
-
# enable_basic_auth: false,
|
2810
|
-
# enable_performance_mode: false,
|
2811
|
-
# build_spec: "BuildSpec",
|
2812
|
-
# enable_pull_request_preview: false,
|
2813
|
-
# pull_request_environment_name: "PullRequestEnvironmentName",
|
2814
|
-
# },
|
2815
|
-
# repository: "Repository",
|
2816
|
-
# oauth_token: "OauthToken",
|
2817
|
-
# access_token: "AccessToken",
|
2818
|
-
# }
|
2819
|
-
#
|
2820
2386
|
# @!attribute [rw] app_id
|
2821
2387
|
# The unique ID for an Amplify app.
|
2822
2388
|
# @return [String]
|
@@ -2830,7 +2396,11 @@ module Aws::Amplify
|
|
2830
2396
|
# @return [String]
|
2831
2397
|
#
|
2832
2398
|
# @!attribute [rw] platform
|
2833
|
-
# The platform for
|
2399
|
+
# The platform for the Amplify app. For a static app, set the platform
|
2400
|
+
# type to `WEB`. For a dynamic server-side rendered (SSR) app, set the
|
2401
|
+
# platform type to `WEB_COMPUTE`. For an app requiring Amplify
|
2402
|
+
# Hosting's original SSR support only, set the platform type to
|
2403
|
+
# `WEB_DYNAMIC`.
|
2834
2404
|
# @return [String]
|
2835
2405
|
#
|
2836
2406
|
# @!attribute [rw] iam_service_role_arn
|
@@ -2982,31 +2552,6 @@ module Aws::Amplify
|
|
2982
2552
|
|
2983
2553
|
# The request structure for the update branch request.
|
2984
2554
|
#
|
2985
|
-
# @note When making an API call, you may pass UpdateBranchRequest
|
2986
|
-
# data as a hash:
|
2987
|
-
#
|
2988
|
-
# {
|
2989
|
-
# app_id: "AppId", # required
|
2990
|
-
# branch_name: "BranchName", # required
|
2991
|
-
# description: "Description",
|
2992
|
-
# framework: "Framework",
|
2993
|
-
# stage: "PRODUCTION", # accepts PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST
|
2994
|
-
# enable_notification: false,
|
2995
|
-
# enable_auto_build: false,
|
2996
|
-
# environment_variables: {
|
2997
|
-
# "EnvKey" => "EnvValue",
|
2998
|
-
# },
|
2999
|
-
# basic_auth_credentials: "BasicAuthCredentials",
|
3000
|
-
# enable_basic_auth: false,
|
3001
|
-
# enable_performance_mode: false,
|
3002
|
-
# build_spec: "BuildSpec",
|
3003
|
-
# ttl: "TTL",
|
3004
|
-
# display_name: "DisplayName",
|
3005
|
-
# enable_pull_request_preview: false,
|
3006
|
-
# pull_request_environment_name: "PullRequestEnvironmentName",
|
3007
|
-
# backend_environment_arn: "BackendEnvironmentArn",
|
3008
|
-
# }
|
3009
|
-
#
|
3010
2555
|
# @!attribute [rw] app_id
|
3011
2556
|
# The unique ID for an Amplify app.
|
3012
2557
|
# @return [String]
|
@@ -3125,23 +2670,6 @@ module Aws::Amplify
|
|
3125
2670
|
|
3126
2671
|
# The request structure for the update domain association request.
|
3127
2672
|
#
|
3128
|
-
# @note When making an API call, you may pass UpdateDomainAssociationRequest
|
3129
|
-
# data as a hash:
|
3130
|
-
#
|
3131
|
-
# {
|
3132
|
-
# app_id: "AppId", # required
|
3133
|
-
# domain_name: "DomainName", # required
|
3134
|
-
# enable_auto_sub_domain: false,
|
3135
|
-
# sub_domain_settings: [
|
3136
|
-
# {
|
3137
|
-
# prefix: "DomainPrefix", # required
|
3138
|
-
# branch_name: "BranchName", # required
|
3139
|
-
# },
|
3140
|
-
# ],
|
3141
|
-
# auto_sub_domain_creation_patterns: ["AutoSubDomainCreationPattern"],
|
3142
|
-
# auto_sub_domain_iam_role: "AutoSubDomainIAMRole",
|
3143
|
-
# }
|
3144
|
-
#
|
3145
2673
|
# @!attribute [rw] app_id
|
3146
2674
|
# The unique ID for an Amplify app.
|
3147
2675
|
# @return [String]
|
@@ -3198,15 +2726,6 @@ module Aws::Amplify
|
|
3198
2726
|
|
3199
2727
|
# The request structure for the update webhook request.
|
3200
2728
|
#
|
3201
|
-
# @note When making an API call, you may pass UpdateWebhookRequest
|
3202
|
-
# data as a hash:
|
3203
|
-
#
|
3204
|
-
# {
|
3205
|
-
# webhook_id: "WebhookId", # required
|
3206
|
-
# branch_name: "BranchName",
|
3207
|
-
# description: "Description",
|
3208
|
-
# }
|
3209
|
-
#
|
3210
2729
|
# @!attribute [rw] webhook_id
|
3211
2730
|
# The unique ID for a webhook.
|
3212
2731
|
# @return [String]
|
data/lib/aws-sdk-amplify.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-amplify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.44.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|