aws-sdk-amplify 1.21.0 → 1.26.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-amplify.rb +3 -2
- data/lib/aws-sdk-amplify/client.rb +49 -8
- data/lib/aws-sdk-amplify/client_api.rb +5 -0
- data/lib/aws-sdk-amplify/types.rb +58 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65c82f4d8dae8eb1262da4b431cc3b635e584e44a5aa3273e73be1ae8ea7caee
|
4
|
+
data.tar.gz: 3d850e16947365573fcba57a92194ec01c6e29ef2e43d8e6e261761ac3dea158
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13b509309fce40f3288a4306888e63adbee2ac9af1c073a1b05d71cffd7bceb0d324a485e8f56ab01745d0f30b0e3791144c7a964af1998d0713d7a01e370110
|
7
|
+
data.tar.gz: 2c99d6d703975c96d0c744422ce2e9e410216f21b50a6a39210a6677c6b6e5b7f5dfd59765397a1fb81905833f58eb267be3fd6b9a4cd00884973760c30ca1c3
|
data/lib/aws-sdk-amplify.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-amplify/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::Amplify
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.26.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::Amplify
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::Amplify
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -419,6 +434,7 @@ module Aws::Amplify
|
|
419
434
|
# },
|
420
435
|
# basic_auth_credentials: "BasicAuthCredentials",
|
421
436
|
# enable_basic_auth: false,
|
437
|
+
# enable_performance_mode: false,
|
422
438
|
# build_spec: "BuildSpec",
|
423
439
|
# enable_pull_request_preview: false,
|
424
440
|
# pull_request_environment_name: "PullRequestEnvironmentName",
|
@@ -465,6 +481,7 @@ module Aws::Amplify
|
|
465
481
|
# resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
|
466
482
|
# resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
|
467
483
|
# resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
|
484
|
+
# resp.app.auto_branch_creation_config.enable_performance_mode #=> Boolean
|
468
485
|
# resp.app.auto_branch_creation_config.build_spec #=> String
|
469
486
|
# resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
470
487
|
# resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
|
@@ -555,6 +572,12 @@ module Aws::Amplify
|
|
555
572
|
# @option params [Boolean] :enable_basic_auth
|
556
573
|
# Enables basic authorization for the branch.
|
557
574
|
#
|
575
|
+
# @option params [Boolean] :enable_performance_mode
|
576
|
+
# Performance mode optimizes for faster hosting performance by keeping
|
577
|
+
# content cached at the edge for a longer interval. Enabling performance
|
578
|
+
# mode will mean that hosting configuration or code changes can take up
|
579
|
+
# to 10 minutes to roll out.
|
580
|
+
#
|
558
581
|
# @option params [Hash<String,String>] :tags
|
559
582
|
# The tag for the branch.
|
560
583
|
#
|
@@ -597,6 +620,7 @@ module Aws::Amplify
|
|
597
620
|
# },
|
598
621
|
# basic_auth_credentials: "BasicAuthCredentials",
|
599
622
|
# enable_basic_auth: false,
|
623
|
+
# enable_performance_mode: false,
|
600
624
|
# tags: {
|
601
625
|
# "TagKey" => "TagValue",
|
602
626
|
# },
|
@@ -629,6 +653,7 @@ module Aws::Amplify
|
|
629
653
|
# resp.branch.active_job_id #=> String
|
630
654
|
# resp.branch.total_number_of_jobs #=> String
|
631
655
|
# resp.branch.enable_basic_auth #=> Boolean
|
656
|
+
# resp.branch.enable_performance_mode #=> Boolean
|
632
657
|
# resp.branch.thumbnail_url #=> String
|
633
658
|
# resp.branch.basic_auth_credentials #=> String
|
634
659
|
# resp.branch.build_spec #=> String
|
@@ -862,6 +887,7 @@ module Aws::Amplify
|
|
862
887
|
# resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
|
863
888
|
# resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
|
864
889
|
# resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
|
890
|
+
# resp.app.auto_branch_creation_config.enable_performance_mode #=> Boolean
|
865
891
|
# resp.app.auto_branch_creation_config.build_spec #=> String
|
866
892
|
# resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
867
893
|
# resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
|
@@ -952,6 +978,7 @@ module Aws::Amplify
|
|
952
978
|
# resp.branch.active_job_id #=> String
|
953
979
|
# resp.branch.total_number_of_jobs #=> String
|
954
980
|
# resp.branch.enable_basic_auth #=> Boolean
|
981
|
+
# resp.branch.enable_performance_mode #=> Boolean
|
955
982
|
# resp.branch.thumbnail_url #=> String
|
956
983
|
# resp.branch.basic_auth_credentials #=> String
|
957
984
|
# resp.branch.build_spec #=> String
|
@@ -1194,6 +1221,7 @@ module Aws::Amplify
|
|
1194
1221
|
# resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
|
1195
1222
|
# resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
|
1196
1223
|
# resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
|
1224
|
+
# resp.app.auto_branch_creation_config.enable_performance_mode #=> Boolean
|
1197
1225
|
# resp.app.auto_branch_creation_config.build_spec #=> String
|
1198
1226
|
# resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
1199
1227
|
# resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
|
@@ -1314,6 +1342,7 @@ module Aws::Amplify
|
|
1314
1342
|
# resp.branch.active_job_id #=> String
|
1315
1343
|
# resp.branch.total_number_of_jobs #=> String
|
1316
1344
|
# resp.branch.enable_basic_auth #=> Boolean
|
1345
|
+
# resp.branch.enable_performance_mode #=> Boolean
|
1317
1346
|
# resp.branch.thumbnail_url #=> String
|
1318
1347
|
# resp.branch.basic_auth_credentials #=> String
|
1319
1348
|
# resp.branch.build_spec #=> String
|
@@ -1534,6 +1563,7 @@ module Aws::Amplify
|
|
1534
1563
|
# resp.apps[0].auto_branch_creation_config.environment_variables["EnvKey"] #=> String
|
1535
1564
|
# resp.apps[0].auto_branch_creation_config.basic_auth_credentials #=> String
|
1536
1565
|
# resp.apps[0].auto_branch_creation_config.enable_basic_auth #=> Boolean
|
1566
|
+
# resp.apps[0].auto_branch_creation_config.enable_performance_mode #=> Boolean
|
1537
1567
|
# resp.apps[0].auto_branch_creation_config.build_spec #=> String
|
1538
1568
|
# resp.apps[0].auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
1539
1569
|
# resp.apps[0].auto_branch_creation_config.pull_request_environment_name #=> String
|
@@ -1696,6 +1726,7 @@ module Aws::Amplify
|
|
1696
1726
|
# resp.branches[0].active_job_id #=> String
|
1697
1727
|
# resp.branches[0].total_number_of_jobs #=> String
|
1698
1728
|
# resp.branches[0].enable_basic_auth #=> Boolean
|
1729
|
+
# resp.branches[0].enable_performance_mode #=> Boolean
|
1699
1730
|
# resp.branches[0].thumbnail_url #=> String
|
1700
1731
|
# resp.branches[0].basic_auth_credentials #=> String
|
1701
1732
|
# resp.branches[0].build_spec #=> String
|
@@ -2222,6 +2253,7 @@ module Aws::Amplify
|
|
2222
2253
|
# },
|
2223
2254
|
# basic_auth_credentials: "BasicAuthCredentials",
|
2224
2255
|
# enable_basic_auth: false,
|
2256
|
+
# enable_performance_mode: false,
|
2225
2257
|
# build_spec: "BuildSpec",
|
2226
2258
|
# enable_pull_request_preview: false,
|
2227
2259
|
# pull_request_environment_name: "PullRequestEnvironmentName",
|
@@ -2271,6 +2303,7 @@ module Aws::Amplify
|
|
2271
2303
|
# resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
|
2272
2304
|
# resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
|
2273
2305
|
# resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
|
2306
|
+
# resp.app.auto_branch_creation_config.enable_performance_mode #=> Boolean
|
2274
2307
|
# resp.app.auto_branch_creation_config.build_spec #=> String
|
2275
2308
|
# resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
2276
2309
|
# resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
|
@@ -2316,6 +2349,12 @@ module Aws::Amplify
|
|
2316
2349
|
# @option params [Boolean] :enable_basic_auth
|
2317
2350
|
# Enables basic authorization for the branch.
|
2318
2351
|
#
|
2352
|
+
# @option params [Boolean] :enable_performance_mode
|
2353
|
+
# Performance mode optimizes for faster hosting performance by keeping
|
2354
|
+
# content cached at the edge for a longer interval. Enabling performance
|
2355
|
+
# mode will mean that hosting configuration or code changes can take up
|
2356
|
+
# to 10 minutes to roll out.
|
2357
|
+
#
|
2319
2358
|
# @option params [String] :build_spec
|
2320
2359
|
# The build specification (build spec) for the branch.
|
2321
2360
|
#
|
@@ -2355,6 +2394,7 @@ module Aws::Amplify
|
|
2355
2394
|
# },
|
2356
2395
|
# basic_auth_credentials: "BasicAuthCredentials",
|
2357
2396
|
# enable_basic_auth: false,
|
2397
|
+
# enable_performance_mode: false,
|
2358
2398
|
# build_spec: "BuildSpec",
|
2359
2399
|
# ttl: "TTL",
|
2360
2400
|
# display_name: "DisplayName",
|
@@ -2384,6 +2424,7 @@ module Aws::Amplify
|
|
2384
2424
|
# resp.branch.active_job_id #=> String
|
2385
2425
|
# resp.branch.total_number_of_jobs #=> String
|
2386
2426
|
# resp.branch.enable_basic_auth #=> Boolean
|
2427
|
+
# resp.branch.enable_performance_mode #=> Boolean
|
2387
2428
|
# resp.branch.thumbnail_url #=> String
|
2388
2429
|
# resp.branch.basic_auth_credentials #=> String
|
2389
2430
|
# resp.branch.build_spec #=> String
|
@@ -2527,7 +2568,7 @@ module Aws::Amplify
|
|
2527
2568
|
params: params,
|
2528
2569
|
config: config)
|
2529
2570
|
context[:gem_name] = 'aws-sdk-amplify'
|
2530
|
-
context[:gem_version] = '1.
|
2571
|
+
context[:gem_version] = '1.26.0'
|
2531
2572
|
Seahorse::Client::Request.new(handlers, context)
|
2532
2573
|
end
|
2533
2574
|
|
@@ -98,6 +98,7 @@ module Aws::Amplify
|
|
98
98
|
EnableBranchAutoBuild = Shapes::BooleanShape.new(name: 'EnableBranchAutoBuild')
|
99
99
|
EnableBranchAutoDeletion = Shapes::BooleanShape.new(name: 'EnableBranchAutoDeletion')
|
100
100
|
EnableNotification = Shapes::BooleanShape.new(name: 'EnableNotification')
|
101
|
+
EnablePerformanceMode = Shapes::BooleanShape.new(name: 'EnablePerformanceMode')
|
101
102
|
EnablePullRequestPreview = Shapes::BooleanShape.new(name: 'EnablePullRequestPreview')
|
102
103
|
EndTime = Shapes::TimestampShape.new(name: 'EndTime')
|
103
104
|
EnvKey = Shapes::StringShape.new(name: 'EnvKey')
|
@@ -260,6 +261,7 @@ module Aws::Amplify
|
|
260
261
|
AutoBranchCreationConfig.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
261
262
|
AutoBranchCreationConfig.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
262
263
|
AutoBranchCreationConfig.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
|
264
|
+
AutoBranchCreationConfig.add_member(:enable_performance_mode, Shapes::ShapeRef.new(shape: EnablePerformanceMode, location_name: "enablePerformanceMode"))
|
263
265
|
AutoBranchCreationConfig.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
264
266
|
AutoBranchCreationConfig.add_member(:enable_pull_request_preview, Shapes::ShapeRef.new(shape: EnablePullRequestPreview, location_name: "enablePullRequestPreview"))
|
265
267
|
AutoBranchCreationConfig.add_member(:pull_request_environment_name, Shapes::ShapeRef.new(shape: PullRequestEnvironmentName, location_name: "pullRequestEnvironmentName"))
|
@@ -298,6 +300,7 @@ module Aws::Amplify
|
|
298
300
|
Branch.add_member(:active_job_id, Shapes::ShapeRef.new(shape: ActiveJobId, required: true, location_name: "activeJobId"))
|
299
301
|
Branch.add_member(:total_number_of_jobs, Shapes::ShapeRef.new(shape: TotalNumberOfJobs, required: true, location_name: "totalNumberOfJobs"))
|
300
302
|
Branch.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, required: true, location_name: "enableBasicAuth"))
|
303
|
+
Branch.add_member(:enable_performance_mode, Shapes::ShapeRef.new(shape: EnablePerformanceMode, location_name: "enablePerformanceMode"))
|
301
304
|
Branch.add_member(:thumbnail_url, Shapes::ShapeRef.new(shape: ThumbnailUrl, location_name: "thumbnailUrl"))
|
302
305
|
Branch.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
303
306
|
Branch.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
@@ -354,6 +357,7 @@ module Aws::Amplify
|
|
354
357
|
CreateBranchRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
355
358
|
CreateBranchRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
356
359
|
CreateBranchRequest.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
|
360
|
+
CreateBranchRequest.add_member(:enable_performance_mode, Shapes::ShapeRef.new(shape: EnablePerformanceMode, location_name: "enablePerformanceMode"))
|
357
361
|
CreateBranchRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
358
362
|
CreateBranchRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
359
363
|
CreateBranchRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, location_name: "ttl"))
|
@@ -750,6 +754,7 @@ module Aws::Amplify
|
|
750
754
|
UpdateBranchRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
751
755
|
UpdateBranchRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
752
756
|
UpdateBranchRequest.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
|
757
|
+
UpdateBranchRequest.add_member(:enable_performance_mode, Shapes::ShapeRef.new(shape: EnablePerformanceMode, location_name: "enablePerformanceMode"))
|
753
758
|
UpdateBranchRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
754
759
|
UpdateBranchRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, location_name: "ttl"))
|
755
760
|
UpdateBranchRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
|
@@ -170,6 +170,7 @@ module Aws::Amplify
|
|
170
170
|
# },
|
171
171
|
# basic_auth_credentials: "BasicAuthCredentials",
|
172
172
|
# enable_basic_auth: false,
|
173
|
+
# enable_performance_mode: false,
|
173
174
|
# build_spec: "BuildSpec",
|
174
175
|
# enable_pull_request_preview: false,
|
175
176
|
# pull_request_environment_name: "PullRequestEnvironmentName",
|
@@ -199,6 +200,13 @@ module Aws::Amplify
|
|
199
200
|
# Enables basic authorization for the autocreated branch.
|
200
201
|
# @return [Boolean]
|
201
202
|
#
|
203
|
+
# @!attribute [rw] enable_performance_mode
|
204
|
+
# Performance mode optimizes for faster hosting performance by keeping
|
205
|
+
# content cached at the edge for a longer interval. Enabling
|
206
|
+
# performance mode will mean that hosting configuration or code
|
207
|
+
# changes can take up to 10 minutes to roll out.
|
208
|
+
# @return [Boolean]
|
209
|
+
#
|
202
210
|
# @!attribute [rw] build_spec
|
203
211
|
# The build specification (build spec) for the autocreated branch.
|
204
212
|
# @return [String]
|
@@ -220,6 +228,7 @@ module Aws::Amplify
|
|
220
228
|
:environment_variables,
|
221
229
|
:basic_auth_credentials,
|
222
230
|
:enable_basic_auth,
|
231
|
+
:enable_performance_mode,
|
223
232
|
:build_spec,
|
224
233
|
:enable_pull_request_preview,
|
225
234
|
:pull_request_environment_name)
|
@@ -353,6 +362,13 @@ module Aws::Amplify
|
|
353
362
|
# Enables basic authorization for a branch of an Amplify app.
|
354
363
|
# @return [Boolean]
|
355
364
|
#
|
365
|
+
# @!attribute [rw] enable_performance_mode
|
366
|
+
# Performance mode optimizes for faster hosting performance by keeping
|
367
|
+
# content cached at the edge for a longer interval. Enabling
|
368
|
+
# performance mode will mean that hosting configuration or code
|
369
|
+
# changes can take up to 10 minutes to roll out.
|
370
|
+
# @return [Boolean]
|
371
|
+
#
|
356
372
|
# @!attribute [rw] thumbnail_url
|
357
373
|
# The thumbnail URL for the branch of an Amplify app.
|
358
374
|
# @return [String]
|
@@ -414,6 +430,7 @@ module Aws::Amplify
|
|
414
430
|
:active_job_id,
|
415
431
|
:total_number_of_jobs,
|
416
432
|
:enable_basic_auth,
|
433
|
+
:enable_performance_mode,
|
417
434
|
:thumbnail_url,
|
418
435
|
:basic_auth_credentials,
|
419
436
|
:build_spec,
|
@@ -471,6 +488,7 @@ module Aws::Amplify
|
|
471
488
|
# },
|
472
489
|
# basic_auth_credentials: "BasicAuthCredentials",
|
473
490
|
# enable_basic_auth: false,
|
491
|
+
# enable_performance_mode: false,
|
474
492
|
# build_spec: "BuildSpec",
|
475
493
|
# enable_pull_request_preview: false,
|
476
494
|
# pull_request_environment_name: "PullRequestEnvironmentName",
|
@@ -665,6 +683,7 @@ module Aws::Amplify
|
|
665
683
|
# },
|
666
684
|
# basic_auth_credentials: "BasicAuthCredentials",
|
667
685
|
# enable_basic_auth: false,
|
686
|
+
# enable_performance_mode: false,
|
668
687
|
# tags: {
|
669
688
|
# "TagKey" => "TagValue",
|
670
689
|
# },
|
@@ -716,6 +735,13 @@ module Aws::Amplify
|
|
716
735
|
# Enables basic authorization for the branch.
|
717
736
|
# @return [Boolean]
|
718
737
|
#
|
738
|
+
# @!attribute [rw] enable_performance_mode
|
739
|
+
# Performance mode optimizes for faster hosting performance by keeping
|
740
|
+
# content cached at the edge for a longer interval. Enabling
|
741
|
+
# performance mode will mean that hosting configuration or code
|
742
|
+
# changes can take up to 10 minutes to roll out.
|
743
|
+
# @return [Boolean]
|
744
|
+
#
|
719
745
|
# @!attribute [rw] tags
|
720
746
|
# The tag for the branch.
|
721
747
|
# @return [Hash<String,String>]
|
@@ -759,6 +785,7 @@ module Aws::Amplify
|
|
759
785
|
:environment_variables,
|
760
786
|
:basic_auth_credentials,
|
761
787
|
:enable_basic_auth,
|
788
|
+
:enable_performance_mode,
|
762
789
|
:tags,
|
763
790
|
:build_spec,
|
764
791
|
:ttl,
|
@@ -993,6 +1020,27 @@ module Aws::Amplify
|
|
993
1020
|
#
|
994
1021
|
# @!attribute [rw] status
|
995
1022
|
# The status code for a URL rewrite or redirect rule.
|
1023
|
+
#
|
1024
|
+
# 200
|
1025
|
+
#
|
1026
|
+
# : Represents a 200 rewrite rule.
|
1027
|
+
#
|
1028
|
+
# 301
|
1029
|
+
#
|
1030
|
+
# : Represents a 301 (moved pemanently) redirect rule. This and all
|
1031
|
+
# future requests should be directed to the target URL.
|
1032
|
+
#
|
1033
|
+
# 302
|
1034
|
+
#
|
1035
|
+
# : Represents a 302 temporary redirect rule.
|
1036
|
+
#
|
1037
|
+
# 404
|
1038
|
+
#
|
1039
|
+
# : Represents a 404 redirect rule.
|
1040
|
+
#
|
1041
|
+
# 404-200
|
1042
|
+
#
|
1043
|
+
# : Represents a 404 rewrite rule.
|
996
1044
|
# @return [String]
|
997
1045
|
#
|
998
1046
|
# @!attribute [rw] condition
|
@@ -2683,6 +2731,7 @@ module Aws::Amplify
|
|
2683
2731
|
# },
|
2684
2732
|
# basic_auth_credentials: "BasicAuthCredentials",
|
2685
2733
|
# enable_basic_auth: false,
|
2734
|
+
# enable_performance_mode: false,
|
2686
2735
|
# build_spec: "BuildSpec",
|
2687
2736
|
# enable_pull_request_preview: false,
|
2688
2737
|
# pull_request_environment_name: "PullRequestEnvironmentName",
|
@@ -2828,6 +2877,7 @@ module Aws::Amplify
|
|
2828
2877
|
# },
|
2829
2878
|
# basic_auth_credentials: "BasicAuthCredentials",
|
2830
2879
|
# enable_basic_auth: false,
|
2880
|
+
# enable_performance_mode: false,
|
2831
2881
|
# build_spec: "BuildSpec",
|
2832
2882
|
# ttl: "TTL",
|
2833
2883
|
# display_name: "DisplayName",
|
@@ -2876,6 +2926,13 @@ module Aws::Amplify
|
|
2876
2926
|
# Enables basic authorization for the branch.
|
2877
2927
|
# @return [Boolean]
|
2878
2928
|
#
|
2929
|
+
# @!attribute [rw] enable_performance_mode
|
2930
|
+
# Performance mode optimizes for faster hosting performance by keeping
|
2931
|
+
# content cached at the edge for a longer interval. Enabling
|
2932
|
+
# performance mode will mean that hosting configuration or code
|
2933
|
+
# changes can take up to 10 minutes to roll out.
|
2934
|
+
# @return [Boolean]
|
2935
|
+
#
|
2879
2936
|
# @!attribute [rw] build_spec
|
2880
2937
|
# The build specification (build spec) for the branch.
|
2881
2938
|
# @return [String]
|
@@ -2915,6 +2972,7 @@ module Aws::Amplify
|
|
2915
2972
|
:environment_variables,
|
2916
2973
|
:basic_auth_credentials,
|
2917
2974
|
:enable_basic_auth,
|
2975
|
+
:enable_performance_mode,
|
2918
2976
|
:build_spec,
|
2919
2977
|
:ttl,
|
2920
2978
|
:display_name,
|
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.26.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: 2020-
|
11
|
+
date: 2020-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.109.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|