aws-sdk-amplify 1.24.0 → 1.29.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 +158 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-amplify.rb +2 -2
- data/lib/aws-sdk-amplify/client.rb +54 -11
- data/lib/aws-sdk-amplify/client_api.rb +10 -1
- data/lib/aws-sdk-amplify/errors.rb +1 -1
- data/lib/aws-sdk-amplify/resource.rb +1 -1
- data/lib/aws-sdk-amplify/types.rb +75 -13
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4bf89c9355292bb4a079bcea9395583379d3b076849b79fd82c41a682e6a8cf
|
4
|
+
data.tar.gz: a137fc39d13fc6c21aec0e6bb4b14cad898df1e2a379a776dc5f10c751628805
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 483079905440a60603f88a17c2f337e68d0b1a467f57ea13278e9fd7f7f39b4f703b82f88ee5052034eb6796235cb15304f1bbc9f633181a281e958055a2a401
|
7
|
+
data.tar.gz: 9efc5b0de25f6f0f53f79a7172a71e2199ac5d7403b7581e9722878de17b74e83b20bfe1d2b83ea04313bde8032eb5c35b03e9a823f8a557e5e73656cdca0db9
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.29.0 (2021-03-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.28.0 (2021-02-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.27.0 (2020-11-11)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Whereas previously custom headers were set via the app's buildspec, custom headers can now be set directly on the Amplify app for both ci/cd and manual deploy apps.
|
18
|
+
|
19
|
+
1.26.0 (2020-10-09)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval - enabling can make code changes can take up to 10 minutes to roll out.
|
23
|
+
|
24
|
+
1.25.0 (2020-09-30)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.24.0 (2020-09-24)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Allow Oauth Token in CreateApp call to be a maximum of 1000 characters instead of 100
|
33
|
+
|
34
|
+
1.23.0 (2020-09-15)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.22.0 (2020-08-25)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.21.0 (2020-07-09)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Documentation update to the introduction text to specify that this is the Amplify Console API.
|
48
|
+
|
49
|
+
1.20.0 (2020-06-24)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - This release of AWS Amplify Console introduces support for automatically creating custom subdomains for branches based on user-defined glob patterns, as well as automatically cleaning up Amplify branches when their corresponding git branches are deleted.
|
53
|
+
|
54
|
+
1.19.0 (2020-06-23)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
1.18.1 (2020-06-11)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
63
|
+
|
64
|
+
1.18.0 (2020-06-10)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Issue - This version has been yanked. (#2327).
|
68
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
69
|
+
|
70
|
+
1.17.0 (2020-05-28)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
74
|
+
|
75
|
+
1.16.0 (2020-05-07)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.15.0 (2020-03-09)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
84
|
+
|
85
|
+
1.14.0 (2019-11-21)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - This release of AWS Amplify Console introduces support for backend environments. Backend environments are containers for AWS deployments. Each environment is a collection of AWS resources.
|
89
|
+
|
90
|
+
1.13.0 (2019-10-31)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - This release of AWS Amplify Console introduces support for Web Previews. This feature allows user to create ephemeral branch deployments from pull request submissions made to a connected repository. A pull-request preview deploys every pull request made to your Git repository to a unique preview URL.
|
94
|
+
|
95
|
+
1.12.0 (2019-10-23)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.11.0 (2019-09-27)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - This release adds access logs APIs and artifact APIs for AWS Amplify Console.
|
104
|
+
|
105
|
+
1.10.0 (2019-07-25)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
109
|
+
|
110
|
+
1.9.0 (2019-07-09)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - This release adds webhook APIs and manual deployment APIs for AWS Amplify Console.
|
114
|
+
|
115
|
+
1.8.0 (2019-07-01)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
119
|
+
|
120
|
+
1.7.0 (2019-06-17)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
124
|
+
|
125
|
+
1.6.0 (2019-05-21)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - API update.
|
129
|
+
|
130
|
+
1.5.0 (2019-05-15)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - API update.
|
134
|
+
|
135
|
+
1.4.0 (2019-05-14)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - API update.
|
139
|
+
|
140
|
+
1.3.0 (2019-03-21)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - API update.
|
144
|
+
|
145
|
+
1.2.0 (2019-03-18)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - API update.
|
149
|
+
|
150
|
+
1.1.0 (2019-03-14)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - API update.
|
154
|
+
|
155
|
+
1.0.0 (2018-11-26)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - Initial release of `aws-sdk-amplify`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.29.0
|
data/lib/aws-sdk-amplify.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-amplify/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::Amplify
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.29.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -330,7 +330,7 @@ module Aws::Amplify
|
|
330
330
|
# Creates a new Amplify app.
|
331
331
|
#
|
332
332
|
# @option params [required, String] :name
|
333
|
-
# The name for
|
333
|
+
# The name for an Amplify app.
|
334
334
|
#
|
335
335
|
# @option params [String] :description
|
336
336
|
# The description for an Amplify app.
|
@@ -381,14 +381,17 @@ module Aws::Amplify
|
|
381
381
|
# @option params [String] :build_spec
|
382
382
|
# The build specification (build spec) for an Amplify app.
|
383
383
|
#
|
384
|
+
# @option params [String] :custom_headers
|
385
|
+
# The custom HTTP headers for an Amplify app.
|
386
|
+
#
|
384
387
|
# @option params [Boolean] :enable_auto_branch_creation
|
385
|
-
# Enables automated branch creation for
|
388
|
+
# Enables automated branch creation for an Amplify app.
|
386
389
|
#
|
387
390
|
# @option params [Array<String>] :auto_branch_creation_patterns
|
388
|
-
# The automated branch creation glob patterns for
|
391
|
+
# The automated branch creation glob patterns for an Amplify app.
|
389
392
|
#
|
390
393
|
# @option params [Types::AutoBranchCreationConfig] :auto_branch_creation_config
|
391
|
-
# The automated branch creation configuration for
|
394
|
+
# The automated branch creation configuration for an Amplify app.
|
392
395
|
#
|
393
396
|
# @return [Types::CreateAppResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
394
397
|
#
|
@@ -423,6 +426,7 @@ module Aws::Amplify
|
|
423
426
|
# "TagKey" => "TagValue",
|
424
427
|
# },
|
425
428
|
# build_spec: "BuildSpec",
|
429
|
+
# custom_headers: "CustomHeaders",
|
426
430
|
# enable_auto_branch_creation: false,
|
427
431
|
# auto_branch_creation_patterns: ["AutoBranchCreationPattern"],
|
428
432
|
# auto_branch_creation_config: {
|
@@ -434,6 +438,7 @@ module Aws::Amplify
|
|
434
438
|
# },
|
435
439
|
# basic_auth_credentials: "BasicAuthCredentials",
|
436
440
|
# enable_basic_auth: false,
|
441
|
+
# enable_performance_mode: false,
|
437
442
|
# build_spec: "BuildSpec",
|
438
443
|
# enable_pull_request_preview: false,
|
439
444
|
# pull_request_environment_name: "PullRequestEnvironmentName",
|
@@ -470,6 +475,7 @@ module Aws::Amplify
|
|
470
475
|
# resp.app.production_branch.thumbnail_url #=> String
|
471
476
|
# resp.app.production_branch.branch_name #=> String
|
472
477
|
# resp.app.build_spec #=> String
|
478
|
+
# resp.app.custom_headers #=> String
|
473
479
|
# resp.app.enable_auto_branch_creation #=> Boolean
|
474
480
|
# resp.app.auto_branch_creation_patterns #=> Array
|
475
481
|
# resp.app.auto_branch_creation_patterns[0] #=> String
|
@@ -480,6 +486,7 @@ module Aws::Amplify
|
|
480
486
|
# resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
|
481
487
|
# resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
|
482
488
|
# resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
|
489
|
+
# resp.app.auto_branch_creation_config.enable_performance_mode #=> Boolean
|
483
490
|
# resp.app.auto_branch_creation_config.build_spec #=> String
|
484
491
|
# resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
485
492
|
# resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
|
@@ -570,6 +577,14 @@ module Aws::Amplify
|
|
570
577
|
# @option params [Boolean] :enable_basic_auth
|
571
578
|
# Enables basic authorization for the branch.
|
572
579
|
#
|
580
|
+
# @option params [Boolean] :enable_performance_mode
|
581
|
+
# Enables performance mode for the branch.
|
582
|
+
#
|
583
|
+
# Performance mode optimizes for faster hosting performance by keeping
|
584
|
+
# content cached at the edge for a longer interval. When performance
|
585
|
+
# mode is enabled, hosting configuration or code changes can take up to
|
586
|
+
# 10 minutes to roll out.
|
587
|
+
#
|
573
588
|
# @option params [Hash<String,String>] :tags
|
574
589
|
# The tag for the branch.
|
575
590
|
#
|
@@ -584,7 +599,7 @@ module Aws::Amplify
|
|
584
599
|
# prefix.
|
585
600
|
#
|
586
601
|
# @option params [Boolean] :enable_pull_request_preview
|
587
|
-
# Enables pull request
|
602
|
+
# Enables pull request previews for this branch.
|
588
603
|
#
|
589
604
|
# @option params [String] :pull_request_environment_name
|
590
605
|
# The Amplify environment name for the pull request.
|
@@ -612,6 +627,7 @@ module Aws::Amplify
|
|
612
627
|
# },
|
613
628
|
# basic_auth_credentials: "BasicAuthCredentials",
|
614
629
|
# enable_basic_auth: false,
|
630
|
+
# enable_performance_mode: false,
|
615
631
|
# tags: {
|
616
632
|
# "TagKey" => "TagValue",
|
617
633
|
# },
|
@@ -644,6 +660,7 @@ module Aws::Amplify
|
|
644
660
|
# resp.branch.active_job_id #=> String
|
645
661
|
# resp.branch.total_number_of_jobs #=> String
|
646
662
|
# resp.branch.enable_basic_auth #=> Boolean
|
663
|
+
# resp.branch.enable_performance_mode #=> Boolean
|
647
664
|
# resp.branch.thumbnail_url #=> String
|
648
665
|
# resp.branch.basic_auth_credentials #=> String
|
649
666
|
# resp.branch.build_spec #=> String
|
@@ -867,6 +884,7 @@ module Aws::Amplify
|
|
867
884
|
# resp.app.production_branch.thumbnail_url #=> String
|
868
885
|
# resp.app.production_branch.branch_name #=> String
|
869
886
|
# resp.app.build_spec #=> String
|
887
|
+
# resp.app.custom_headers #=> String
|
870
888
|
# resp.app.enable_auto_branch_creation #=> Boolean
|
871
889
|
# resp.app.auto_branch_creation_patterns #=> Array
|
872
890
|
# resp.app.auto_branch_creation_patterns[0] #=> String
|
@@ -877,6 +895,7 @@ module Aws::Amplify
|
|
877
895
|
# resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
|
878
896
|
# resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
|
879
897
|
# resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
|
898
|
+
# resp.app.auto_branch_creation_config.enable_performance_mode #=> Boolean
|
880
899
|
# resp.app.auto_branch_creation_config.build_spec #=> String
|
881
900
|
# resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
882
901
|
# resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
|
@@ -967,6 +986,7 @@ module Aws::Amplify
|
|
967
986
|
# resp.branch.active_job_id #=> String
|
968
987
|
# resp.branch.total_number_of_jobs #=> String
|
969
988
|
# resp.branch.enable_basic_auth #=> Boolean
|
989
|
+
# resp.branch.enable_performance_mode #=> Boolean
|
970
990
|
# resp.branch.thumbnail_url #=> String
|
971
991
|
# resp.branch.basic_auth_credentials #=> String
|
972
992
|
# resp.branch.build_spec #=> String
|
@@ -1199,6 +1219,7 @@ module Aws::Amplify
|
|
1199
1219
|
# resp.app.production_branch.thumbnail_url #=> String
|
1200
1220
|
# resp.app.production_branch.branch_name #=> String
|
1201
1221
|
# resp.app.build_spec #=> String
|
1222
|
+
# resp.app.custom_headers #=> String
|
1202
1223
|
# resp.app.enable_auto_branch_creation #=> Boolean
|
1203
1224
|
# resp.app.auto_branch_creation_patterns #=> Array
|
1204
1225
|
# resp.app.auto_branch_creation_patterns[0] #=> String
|
@@ -1209,6 +1230,7 @@ module Aws::Amplify
|
|
1209
1230
|
# resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
|
1210
1231
|
# resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
|
1211
1232
|
# resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
|
1233
|
+
# resp.app.auto_branch_creation_config.enable_performance_mode #=> Boolean
|
1212
1234
|
# resp.app.auto_branch_creation_config.build_spec #=> String
|
1213
1235
|
# resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
1214
1236
|
# resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
|
@@ -1329,6 +1351,7 @@ module Aws::Amplify
|
|
1329
1351
|
# resp.branch.active_job_id #=> String
|
1330
1352
|
# resp.branch.total_number_of_jobs #=> String
|
1331
1353
|
# resp.branch.enable_basic_auth #=> Boolean
|
1354
|
+
# resp.branch.enable_performance_mode #=> Boolean
|
1332
1355
|
# resp.branch.thumbnail_url #=> String
|
1333
1356
|
# resp.branch.basic_auth_credentials #=> String
|
1334
1357
|
# resp.branch.build_spec #=> String
|
@@ -1539,6 +1562,7 @@ module Aws::Amplify
|
|
1539
1562
|
# resp.apps[0].production_branch.thumbnail_url #=> String
|
1540
1563
|
# resp.apps[0].production_branch.branch_name #=> String
|
1541
1564
|
# resp.apps[0].build_spec #=> String
|
1565
|
+
# resp.apps[0].custom_headers #=> String
|
1542
1566
|
# resp.apps[0].enable_auto_branch_creation #=> Boolean
|
1543
1567
|
# resp.apps[0].auto_branch_creation_patterns #=> Array
|
1544
1568
|
# resp.apps[0].auto_branch_creation_patterns[0] #=> String
|
@@ -1549,6 +1573,7 @@ module Aws::Amplify
|
|
1549
1573
|
# resp.apps[0].auto_branch_creation_config.environment_variables["EnvKey"] #=> String
|
1550
1574
|
# resp.apps[0].auto_branch_creation_config.basic_auth_credentials #=> String
|
1551
1575
|
# resp.apps[0].auto_branch_creation_config.enable_basic_auth #=> Boolean
|
1576
|
+
# resp.apps[0].auto_branch_creation_config.enable_performance_mode #=> Boolean
|
1552
1577
|
# resp.apps[0].auto_branch_creation_config.build_spec #=> String
|
1553
1578
|
# resp.apps[0].auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
1554
1579
|
# resp.apps[0].auto_branch_creation_config.pull_request_environment_name #=> String
|
@@ -1711,6 +1736,7 @@ module Aws::Amplify
|
|
1711
1736
|
# resp.branches[0].active_job_id #=> String
|
1712
1737
|
# resp.branches[0].total_number_of_jobs #=> String
|
1713
1738
|
# resp.branches[0].enable_basic_auth #=> Boolean
|
1739
|
+
# resp.branches[0].enable_performance_mode #=> Boolean
|
1714
1740
|
# resp.branches[0].thumbnail_url #=> String
|
1715
1741
|
# resp.branches[0].basic_auth_credentials #=> String
|
1716
1742
|
# resp.branches[0].build_spec #=> String
|
@@ -2175,15 +2201,18 @@ module Aws::Amplify
|
|
2175
2201
|
# @option params [String] :build_spec
|
2176
2202
|
# The build specification (build spec) for an Amplify app.
|
2177
2203
|
#
|
2204
|
+
# @option params [String] :custom_headers
|
2205
|
+
# The custom HTTP headers for an Amplify app.
|
2206
|
+
#
|
2178
2207
|
# @option params [Boolean] :enable_auto_branch_creation
|
2179
|
-
# Enables automated branch creation for
|
2208
|
+
# Enables automated branch creation for an Amplify app.
|
2180
2209
|
#
|
2181
2210
|
# @option params [Array<String>] :auto_branch_creation_patterns
|
2182
|
-
# Describes the automated branch creation glob patterns for
|
2211
|
+
# Describes the automated branch creation glob patterns for an Amplify
|
2183
2212
|
# app.
|
2184
2213
|
#
|
2185
2214
|
# @option params [Types::AutoBranchCreationConfig] :auto_branch_creation_config
|
2186
|
-
# The automated branch creation configuration for
|
2215
|
+
# The automated branch creation configuration for an Amplify app.
|
2187
2216
|
#
|
2188
2217
|
# @option params [String] :repository
|
2189
2218
|
# The name of the repository for an Amplify app
|
@@ -2226,6 +2255,7 @@ module Aws::Amplify
|
|
2226
2255
|
# },
|
2227
2256
|
# ],
|
2228
2257
|
# build_spec: "BuildSpec",
|
2258
|
+
# custom_headers: "CustomHeaders",
|
2229
2259
|
# enable_auto_branch_creation: false,
|
2230
2260
|
# auto_branch_creation_patterns: ["AutoBranchCreationPattern"],
|
2231
2261
|
# auto_branch_creation_config: {
|
@@ -2237,6 +2267,7 @@ module Aws::Amplify
|
|
2237
2267
|
# },
|
2238
2268
|
# basic_auth_credentials: "BasicAuthCredentials",
|
2239
2269
|
# enable_basic_auth: false,
|
2270
|
+
# enable_performance_mode: false,
|
2240
2271
|
# build_spec: "BuildSpec",
|
2241
2272
|
# enable_pull_request_preview: false,
|
2242
2273
|
# pull_request_environment_name: "PullRequestEnvironmentName",
|
@@ -2276,6 +2307,7 @@ module Aws::Amplify
|
|
2276
2307
|
# resp.app.production_branch.thumbnail_url #=> String
|
2277
2308
|
# resp.app.production_branch.branch_name #=> String
|
2278
2309
|
# resp.app.build_spec #=> String
|
2310
|
+
# resp.app.custom_headers #=> String
|
2279
2311
|
# resp.app.enable_auto_branch_creation #=> Boolean
|
2280
2312
|
# resp.app.auto_branch_creation_patterns #=> Array
|
2281
2313
|
# resp.app.auto_branch_creation_patterns[0] #=> String
|
@@ -2286,6 +2318,7 @@ module Aws::Amplify
|
|
2286
2318
|
# resp.app.auto_branch_creation_config.environment_variables["EnvKey"] #=> String
|
2287
2319
|
# resp.app.auto_branch_creation_config.basic_auth_credentials #=> String
|
2288
2320
|
# resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
|
2321
|
+
# resp.app.auto_branch_creation_config.enable_performance_mode #=> Boolean
|
2289
2322
|
# resp.app.auto_branch_creation_config.build_spec #=> String
|
2290
2323
|
# resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
2291
2324
|
# resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
|
@@ -2331,6 +2364,14 @@ module Aws::Amplify
|
|
2331
2364
|
# @option params [Boolean] :enable_basic_auth
|
2332
2365
|
# Enables basic authorization for the branch.
|
2333
2366
|
#
|
2367
|
+
# @option params [Boolean] :enable_performance_mode
|
2368
|
+
# Enables performance mode for the branch.
|
2369
|
+
#
|
2370
|
+
# Performance mode optimizes for faster hosting performance by keeping
|
2371
|
+
# content cached at the edge for a longer interval. When performance
|
2372
|
+
# mode is enabled, hosting configuration or code changes can take up to
|
2373
|
+
# 10 minutes to roll out.
|
2374
|
+
#
|
2334
2375
|
# @option params [String] :build_spec
|
2335
2376
|
# The build specification (build spec) for the branch.
|
2336
2377
|
#
|
@@ -2342,7 +2383,7 @@ module Aws::Amplify
|
|
2342
2383
|
# prefix.
|
2343
2384
|
#
|
2344
2385
|
# @option params [Boolean] :enable_pull_request_preview
|
2345
|
-
# Enables pull request
|
2386
|
+
# Enables pull request previews for this branch.
|
2346
2387
|
#
|
2347
2388
|
# @option params [String] :pull_request_environment_name
|
2348
2389
|
# The Amplify environment name for the pull request.
|
@@ -2370,6 +2411,7 @@ module Aws::Amplify
|
|
2370
2411
|
# },
|
2371
2412
|
# basic_auth_credentials: "BasicAuthCredentials",
|
2372
2413
|
# enable_basic_auth: false,
|
2414
|
+
# enable_performance_mode: false,
|
2373
2415
|
# build_spec: "BuildSpec",
|
2374
2416
|
# ttl: "TTL",
|
2375
2417
|
# display_name: "DisplayName",
|
@@ -2399,6 +2441,7 @@ module Aws::Amplify
|
|
2399
2441
|
# resp.branch.active_job_id #=> String
|
2400
2442
|
# resp.branch.total_number_of_jobs #=> String
|
2401
2443
|
# resp.branch.enable_basic_auth #=> Boolean
|
2444
|
+
# resp.branch.enable_performance_mode #=> Boolean
|
2402
2445
|
# resp.branch.thumbnail_url #=> String
|
2403
2446
|
# resp.branch.basic_auth_credentials #=> String
|
2404
2447
|
# resp.branch.build_spec #=> String
|
@@ -2542,7 +2585,7 @@ module Aws::Amplify
|
|
2542
2585
|
params: params,
|
2543
2586
|
config: config)
|
2544
2587
|
context[:gem_name] = 'aws-sdk-amplify'
|
2545
|
-
context[:gem_version] = '1.
|
2588
|
+
context[:gem_version] = '1.29.0'
|
2546
2589
|
Seahorse::Client::Request.new(handlers, context)
|
2547
2590
|
end
|
2548
2591
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -65,6 +65,7 @@ module Aws::Amplify
|
|
65
65
|
CreateWebhookResult = Shapes::StructureShape.new(name: 'CreateWebhookResult')
|
66
66
|
CustomDomain = Shapes::StringShape.new(name: 'CustomDomain')
|
67
67
|
CustomDomains = Shapes::ListShape.new(name: 'CustomDomains')
|
68
|
+
CustomHeaders = Shapes::StringShape.new(name: 'CustomHeaders')
|
68
69
|
CustomRule = Shapes::StructureShape.new(name: 'CustomRule')
|
69
70
|
CustomRules = Shapes::ListShape.new(name: 'CustomRules')
|
70
71
|
DNSRecord = Shapes::StringShape.new(name: 'DNSRecord')
|
@@ -98,6 +99,7 @@ module Aws::Amplify
|
|
98
99
|
EnableBranchAutoBuild = Shapes::BooleanShape.new(name: 'EnableBranchAutoBuild')
|
99
100
|
EnableBranchAutoDeletion = Shapes::BooleanShape.new(name: 'EnableBranchAutoDeletion')
|
100
101
|
EnableNotification = Shapes::BooleanShape.new(name: 'EnableNotification')
|
102
|
+
EnablePerformanceMode = Shapes::BooleanShape.new(name: 'EnablePerformanceMode')
|
101
103
|
EnablePullRequestPreview = Shapes::BooleanShape.new(name: 'EnablePullRequestPreview')
|
102
104
|
EndTime = Shapes::TimestampShape.new(name: 'EndTime')
|
103
105
|
EnvKey = Shapes::StringShape.new(name: 'EnvKey')
|
@@ -239,6 +241,7 @@ module Aws::Amplify
|
|
239
241
|
App.add_member(:custom_rules, Shapes::ShapeRef.new(shape: CustomRules, location_name: "customRules"))
|
240
242
|
App.add_member(:production_branch, Shapes::ShapeRef.new(shape: ProductionBranch, location_name: "productionBranch"))
|
241
243
|
App.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
244
|
+
App.add_member(:custom_headers, Shapes::ShapeRef.new(shape: CustomHeaders, location_name: "customHeaders"))
|
242
245
|
App.add_member(:enable_auto_branch_creation, Shapes::ShapeRef.new(shape: EnableAutoBranchCreation, location_name: "enableAutoBranchCreation"))
|
243
246
|
App.add_member(:auto_branch_creation_patterns, Shapes::ShapeRef.new(shape: AutoBranchCreationPatterns, location_name: "autoBranchCreationPatterns"))
|
244
247
|
App.add_member(:auto_branch_creation_config, Shapes::ShapeRef.new(shape: AutoBranchCreationConfig, location_name: "autoBranchCreationConfig"))
|
@@ -260,6 +263,7 @@ module Aws::Amplify
|
|
260
263
|
AutoBranchCreationConfig.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
261
264
|
AutoBranchCreationConfig.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
262
265
|
AutoBranchCreationConfig.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
|
266
|
+
AutoBranchCreationConfig.add_member(:enable_performance_mode, Shapes::ShapeRef.new(shape: EnablePerformanceMode, location_name: "enablePerformanceMode"))
|
263
267
|
AutoBranchCreationConfig.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
264
268
|
AutoBranchCreationConfig.add_member(:enable_pull_request_preview, Shapes::ShapeRef.new(shape: EnablePullRequestPreview, location_name: "enablePullRequestPreview"))
|
265
269
|
AutoBranchCreationConfig.add_member(:pull_request_environment_name, Shapes::ShapeRef.new(shape: PullRequestEnvironmentName, location_name: "pullRequestEnvironmentName"))
|
@@ -298,6 +302,7 @@ module Aws::Amplify
|
|
298
302
|
Branch.add_member(:active_job_id, Shapes::ShapeRef.new(shape: ActiveJobId, required: true, location_name: "activeJobId"))
|
299
303
|
Branch.add_member(:total_number_of_jobs, Shapes::ShapeRef.new(shape: TotalNumberOfJobs, required: true, location_name: "totalNumberOfJobs"))
|
300
304
|
Branch.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, required: true, location_name: "enableBasicAuth"))
|
305
|
+
Branch.add_member(:enable_performance_mode, Shapes::ShapeRef.new(shape: EnablePerformanceMode, location_name: "enablePerformanceMode"))
|
301
306
|
Branch.add_member(:thumbnail_url, Shapes::ShapeRef.new(shape: ThumbnailUrl, location_name: "thumbnailUrl"))
|
302
307
|
Branch.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
303
308
|
Branch.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
@@ -327,6 +332,7 @@ module Aws::Amplify
|
|
327
332
|
CreateAppRequest.add_member(:custom_rules, Shapes::ShapeRef.new(shape: CustomRules, location_name: "customRules"))
|
328
333
|
CreateAppRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
329
334
|
CreateAppRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
335
|
+
CreateAppRequest.add_member(:custom_headers, Shapes::ShapeRef.new(shape: CustomHeaders, location_name: "customHeaders"))
|
330
336
|
CreateAppRequest.add_member(:enable_auto_branch_creation, Shapes::ShapeRef.new(shape: EnableAutoBranchCreation, location_name: "enableAutoBranchCreation"))
|
331
337
|
CreateAppRequest.add_member(:auto_branch_creation_patterns, Shapes::ShapeRef.new(shape: AutoBranchCreationPatterns, location_name: "autoBranchCreationPatterns"))
|
332
338
|
CreateAppRequest.add_member(:auto_branch_creation_config, Shapes::ShapeRef.new(shape: AutoBranchCreationConfig, location_name: "autoBranchCreationConfig"))
|
@@ -354,6 +360,7 @@ module Aws::Amplify
|
|
354
360
|
CreateBranchRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
355
361
|
CreateBranchRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
356
362
|
CreateBranchRequest.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
|
363
|
+
CreateBranchRequest.add_member(:enable_performance_mode, Shapes::ShapeRef.new(shape: EnablePerformanceMode, location_name: "enablePerformanceMode"))
|
357
364
|
CreateBranchRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
358
365
|
CreateBranchRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
359
366
|
CreateBranchRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, location_name: "ttl"))
|
@@ -729,6 +736,7 @@ module Aws::Amplify
|
|
729
736
|
UpdateAppRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
730
737
|
UpdateAppRequest.add_member(:custom_rules, Shapes::ShapeRef.new(shape: CustomRules, location_name: "customRules"))
|
731
738
|
UpdateAppRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
739
|
+
UpdateAppRequest.add_member(:custom_headers, Shapes::ShapeRef.new(shape: CustomHeaders, location_name: "customHeaders"))
|
732
740
|
UpdateAppRequest.add_member(:enable_auto_branch_creation, Shapes::ShapeRef.new(shape: EnableAutoBranchCreation, location_name: "enableAutoBranchCreation"))
|
733
741
|
UpdateAppRequest.add_member(:auto_branch_creation_patterns, Shapes::ShapeRef.new(shape: AutoBranchCreationPatterns, location_name: "autoBranchCreationPatterns"))
|
734
742
|
UpdateAppRequest.add_member(:auto_branch_creation_config, Shapes::ShapeRef.new(shape: AutoBranchCreationConfig, location_name: "autoBranchCreationConfig"))
|
@@ -750,6 +758,7 @@ module Aws::Amplify
|
|
750
758
|
UpdateBranchRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
751
759
|
UpdateBranchRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
752
760
|
UpdateBranchRequest.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
|
761
|
+
UpdateBranchRequest.add_member(:enable_performance_mode, Shapes::ShapeRef.new(shape: EnablePerformanceMode, location_name: "enablePerformanceMode"))
|
753
762
|
UpdateBranchRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
754
763
|
UpdateBranchRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, location_name: "ttl"))
|
755
764
|
UpdateBranchRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -94,6 +94,10 @@ module Aws::Amplify
|
|
94
94
|
# the Amplify app.
|
95
95
|
# @return [String]
|
96
96
|
#
|
97
|
+
# @!attribute [rw] custom_headers
|
98
|
+
# Describes the custom HTTP headers for the Amplify app.
|
99
|
+
# @return [String]
|
100
|
+
#
|
97
101
|
# @!attribute [rw] enable_auto_branch_creation
|
98
102
|
# Enables automated branch creation for the Amplify app.
|
99
103
|
# @return [Boolean]
|
@@ -130,6 +134,7 @@ module Aws::Amplify
|
|
130
134
|
:custom_rules,
|
131
135
|
:production_branch,
|
132
136
|
:build_spec,
|
137
|
+
:custom_headers,
|
133
138
|
:enable_auto_branch_creation,
|
134
139
|
:auto_branch_creation_patterns,
|
135
140
|
:auto_branch_creation_config)
|
@@ -170,6 +175,7 @@ module Aws::Amplify
|
|
170
175
|
# },
|
171
176
|
# basic_auth_credentials: "BasicAuthCredentials",
|
172
177
|
# enable_basic_auth: false,
|
178
|
+
# enable_performance_mode: false,
|
173
179
|
# build_spec: "BuildSpec",
|
174
180
|
# enable_pull_request_preview: false,
|
175
181
|
# pull_request_environment_name: "PullRequestEnvironmentName",
|
@@ -199,12 +205,21 @@ module Aws::Amplify
|
|
199
205
|
# Enables basic authorization for the autocreated branch.
|
200
206
|
# @return [Boolean]
|
201
207
|
#
|
208
|
+
# @!attribute [rw] enable_performance_mode
|
209
|
+
# Enables performance mode for the branch.
|
210
|
+
#
|
211
|
+
# Performance mode optimizes for faster hosting performance by keeping
|
212
|
+
# content cached at the edge for a longer interval. When performance
|
213
|
+
# mode is enabled, hosting configuration or code changes can take up
|
214
|
+
# to 10 minutes to roll out.
|
215
|
+
# @return [Boolean]
|
216
|
+
#
|
202
217
|
# @!attribute [rw] build_spec
|
203
218
|
# The build specification (build spec) for the autocreated branch.
|
204
219
|
# @return [String]
|
205
220
|
#
|
206
221
|
# @!attribute [rw] enable_pull_request_preview
|
207
|
-
# Enables pull request
|
222
|
+
# Enables pull request previews for the autocreated branch.
|
208
223
|
# @return [Boolean]
|
209
224
|
#
|
210
225
|
# @!attribute [rw] pull_request_environment_name
|
@@ -220,6 +235,7 @@ module Aws::Amplify
|
|
220
235
|
:environment_variables,
|
221
236
|
:basic_auth_credentials,
|
222
237
|
:enable_basic_auth,
|
238
|
+
:enable_performance_mode,
|
223
239
|
:build_spec,
|
224
240
|
:enable_pull_request_preview,
|
225
241
|
:pull_request_environment_name)
|
@@ -353,6 +369,15 @@ module Aws::Amplify
|
|
353
369
|
# Enables basic authorization for a branch of an Amplify app.
|
354
370
|
# @return [Boolean]
|
355
371
|
#
|
372
|
+
# @!attribute [rw] enable_performance_mode
|
373
|
+
# Enables performance mode for the branch.
|
374
|
+
#
|
375
|
+
# Performance mode optimizes for faster hosting performance by keeping
|
376
|
+
# content cached at the edge for a longer interval. When performance
|
377
|
+
# mode is enabled, hosting configuration or code changes can take up
|
378
|
+
# to 10 minutes to roll out.
|
379
|
+
# @return [Boolean]
|
380
|
+
#
|
356
381
|
# @!attribute [rw] thumbnail_url
|
357
382
|
# The thumbnail URL for the branch of an Amplify app.
|
358
383
|
# @return [String]
|
@@ -375,7 +400,7 @@ module Aws::Amplify
|
|
375
400
|
# @return [Array<String>]
|
376
401
|
#
|
377
402
|
# @!attribute [rw] enable_pull_request_preview
|
378
|
-
# Enables pull request
|
403
|
+
# Enables pull request previews for the branch.
|
379
404
|
# @return [Boolean]
|
380
405
|
#
|
381
406
|
# @!attribute [rw] pull_request_environment_name
|
@@ -414,6 +439,7 @@ module Aws::Amplify
|
|
414
439
|
:active_job_id,
|
415
440
|
:total_number_of_jobs,
|
416
441
|
:enable_basic_auth,
|
442
|
+
:enable_performance_mode,
|
417
443
|
:thumbnail_url,
|
418
444
|
:basic_auth_credentials,
|
419
445
|
:build_spec,
|
@@ -460,6 +486,7 @@ module Aws::Amplify
|
|
460
486
|
# "TagKey" => "TagValue",
|
461
487
|
# },
|
462
488
|
# build_spec: "BuildSpec",
|
489
|
+
# custom_headers: "CustomHeaders",
|
463
490
|
# enable_auto_branch_creation: false,
|
464
491
|
# auto_branch_creation_patterns: ["AutoBranchCreationPattern"],
|
465
492
|
# auto_branch_creation_config: {
|
@@ -471,6 +498,7 @@ module Aws::Amplify
|
|
471
498
|
# },
|
472
499
|
# basic_auth_credentials: "BasicAuthCredentials",
|
473
500
|
# enable_basic_auth: false,
|
501
|
+
# enable_performance_mode: false,
|
474
502
|
# build_spec: "BuildSpec",
|
475
503
|
# enable_pull_request_preview: false,
|
476
504
|
# pull_request_environment_name: "PullRequestEnvironmentName",
|
@@ -478,7 +506,7 @@ module Aws::Amplify
|
|
478
506
|
# }
|
479
507
|
#
|
480
508
|
# @!attribute [rw] name
|
481
|
-
# The name for
|
509
|
+
# The name for an Amplify app.
|
482
510
|
# @return [String]
|
483
511
|
#
|
484
512
|
# @!attribute [rw] description
|
@@ -544,16 +572,20 @@ module Aws::Amplify
|
|
544
572
|
# The build specification (build spec) for an Amplify app.
|
545
573
|
# @return [String]
|
546
574
|
#
|
575
|
+
# @!attribute [rw] custom_headers
|
576
|
+
# The custom HTTP headers for an Amplify app.
|
577
|
+
# @return [String]
|
578
|
+
#
|
547
579
|
# @!attribute [rw] enable_auto_branch_creation
|
548
|
-
# Enables automated branch creation for
|
580
|
+
# Enables automated branch creation for an Amplify app.
|
549
581
|
# @return [Boolean]
|
550
582
|
#
|
551
583
|
# @!attribute [rw] auto_branch_creation_patterns
|
552
|
-
# The automated branch creation glob patterns for
|
584
|
+
# The automated branch creation glob patterns for an Amplify app.
|
553
585
|
# @return [Array<String>]
|
554
586
|
#
|
555
587
|
# @!attribute [rw] auto_branch_creation_config
|
556
|
-
# The automated branch creation configuration for
|
588
|
+
# The automated branch creation configuration for an Amplify app.
|
557
589
|
# @return [Types::AutoBranchCreationConfig]
|
558
590
|
#
|
559
591
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateAppRequest AWS API Documentation
|
@@ -574,6 +606,7 @@ module Aws::Amplify
|
|
574
606
|
:custom_rules,
|
575
607
|
:tags,
|
576
608
|
:build_spec,
|
609
|
+
:custom_headers,
|
577
610
|
:enable_auto_branch_creation,
|
578
611
|
:auto_branch_creation_patterns,
|
579
612
|
:auto_branch_creation_config)
|
@@ -665,6 +698,7 @@ module Aws::Amplify
|
|
665
698
|
# },
|
666
699
|
# basic_auth_credentials: "BasicAuthCredentials",
|
667
700
|
# enable_basic_auth: false,
|
701
|
+
# enable_performance_mode: false,
|
668
702
|
# tags: {
|
669
703
|
# "TagKey" => "TagValue",
|
670
704
|
# },
|
@@ -716,6 +750,15 @@ module Aws::Amplify
|
|
716
750
|
# Enables basic authorization for the branch.
|
717
751
|
# @return [Boolean]
|
718
752
|
#
|
753
|
+
# @!attribute [rw] enable_performance_mode
|
754
|
+
# Enables performance mode for the branch.
|
755
|
+
#
|
756
|
+
# Performance mode optimizes for faster hosting performance by keeping
|
757
|
+
# content cached at the edge for a longer interval. When performance
|
758
|
+
# mode is enabled, hosting configuration or code changes can take up
|
759
|
+
# to 10 minutes to roll out.
|
760
|
+
# @return [Boolean]
|
761
|
+
#
|
719
762
|
# @!attribute [rw] tags
|
720
763
|
# The tag for the branch.
|
721
764
|
# @return [Hash<String,String>]
|
@@ -734,7 +777,7 @@ module Aws::Amplify
|
|
734
777
|
# @return [String]
|
735
778
|
#
|
736
779
|
# @!attribute [rw] enable_pull_request_preview
|
737
|
-
# Enables pull request
|
780
|
+
# Enables pull request previews for this branch.
|
738
781
|
# @return [Boolean]
|
739
782
|
#
|
740
783
|
# @!attribute [rw] pull_request_environment_name
|
@@ -759,6 +802,7 @@ module Aws::Amplify
|
|
759
802
|
:environment_variables,
|
760
803
|
:basic_auth_credentials,
|
761
804
|
:enable_basic_auth,
|
805
|
+
:enable_performance_mode,
|
762
806
|
:tags,
|
763
807
|
:build_spec,
|
764
808
|
:ttl,
|
@@ -2693,6 +2737,7 @@ module Aws::Amplify
|
|
2693
2737
|
# },
|
2694
2738
|
# ],
|
2695
2739
|
# build_spec: "BuildSpec",
|
2740
|
+
# custom_headers: "CustomHeaders",
|
2696
2741
|
# enable_auto_branch_creation: false,
|
2697
2742
|
# auto_branch_creation_patterns: ["AutoBranchCreationPattern"],
|
2698
2743
|
# auto_branch_creation_config: {
|
@@ -2704,6 +2749,7 @@ module Aws::Amplify
|
|
2704
2749
|
# },
|
2705
2750
|
# basic_auth_credentials: "BasicAuthCredentials",
|
2706
2751
|
# enable_basic_auth: false,
|
2752
|
+
# enable_performance_mode: false,
|
2707
2753
|
# build_spec: "BuildSpec",
|
2708
2754
|
# enable_pull_request_preview: false,
|
2709
2755
|
# pull_request_environment_name: "PullRequestEnvironmentName",
|
@@ -2763,17 +2809,21 @@ module Aws::Amplify
|
|
2763
2809
|
# The build specification (build spec) for an Amplify app.
|
2764
2810
|
# @return [String]
|
2765
2811
|
#
|
2812
|
+
# @!attribute [rw] custom_headers
|
2813
|
+
# The custom HTTP headers for an Amplify app.
|
2814
|
+
# @return [String]
|
2815
|
+
#
|
2766
2816
|
# @!attribute [rw] enable_auto_branch_creation
|
2767
|
-
# Enables automated branch creation for
|
2817
|
+
# Enables automated branch creation for an Amplify app.
|
2768
2818
|
# @return [Boolean]
|
2769
2819
|
#
|
2770
2820
|
# @!attribute [rw] auto_branch_creation_patterns
|
2771
|
-
# Describes the automated branch creation glob patterns for
|
2772
|
-
#
|
2821
|
+
# Describes the automated branch creation glob patterns for an Amplify
|
2822
|
+
# app.
|
2773
2823
|
# @return [Array<String>]
|
2774
2824
|
#
|
2775
2825
|
# @!attribute [rw] auto_branch_creation_config
|
2776
|
-
# The automated branch creation configuration for
|
2826
|
+
# The automated branch creation configuration for an Amplify app.
|
2777
2827
|
# @return [Types::AutoBranchCreationConfig]
|
2778
2828
|
#
|
2779
2829
|
# @!attribute [rw] repository
|
@@ -2807,6 +2857,7 @@ module Aws::Amplify
|
|
2807
2857
|
:basic_auth_credentials,
|
2808
2858
|
:custom_rules,
|
2809
2859
|
:build_spec,
|
2860
|
+
:custom_headers,
|
2810
2861
|
:enable_auto_branch_creation,
|
2811
2862
|
:auto_branch_creation_patterns,
|
2812
2863
|
:auto_branch_creation_config,
|
@@ -2849,6 +2900,7 @@ module Aws::Amplify
|
|
2849
2900
|
# },
|
2850
2901
|
# basic_auth_credentials: "BasicAuthCredentials",
|
2851
2902
|
# enable_basic_auth: false,
|
2903
|
+
# enable_performance_mode: false,
|
2852
2904
|
# build_spec: "BuildSpec",
|
2853
2905
|
# ttl: "TTL",
|
2854
2906
|
# display_name: "DisplayName",
|
@@ -2897,6 +2949,15 @@ module Aws::Amplify
|
|
2897
2949
|
# Enables basic authorization for the branch.
|
2898
2950
|
# @return [Boolean]
|
2899
2951
|
#
|
2952
|
+
# @!attribute [rw] enable_performance_mode
|
2953
|
+
# Enables performance mode for the branch.
|
2954
|
+
#
|
2955
|
+
# Performance mode optimizes for faster hosting performance by keeping
|
2956
|
+
# content cached at the edge for a longer interval. When performance
|
2957
|
+
# mode is enabled, hosting configuration or code changes can take up
|
2958
|
+
# to 10 minutes to roll out.
|
2959
|
+
# @return [Boolean]
|
2960
|
+
#
|
2900
2961
|
# @!attribute [rw] build_spec
|
2901
2962
|
# The build specification (build spec) for the branch.
|
2902
2963
|
# @return [String]
|
@@ -2911,7 +2972,7 @@ module Aws::Amplify
|
|
2911
2972
|
# @return [String]
|
2912
2973
|
#
|
2913
2974
|
# @!attribute [rw] enable_pull_request_preview
|
2914
|
-
# Enables pull request
|
2975
|
+
# Enables pull request previews for this branch.
|
2915
2976
|
# @return [Boolean]
|
2916
2977
|
#
|
2917
2978
|
# @!attribute [rw] pull_request_environment_name
|
@@ -2936,6 +2997,7 @@ module Aws::Amplify
|
|
2936
2997
|
:environment_variables,
|
2937
2998
|
:basic_auth_credentials,
|
2938
2999
|
:enable_basic_auth,
|
3000
|
+
:enable_performance_mode,
|
2939
3001
|
:build_spec,
|
2940
3002
|
:ttl,
|
2941
3003
|
: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.29.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: 2021-03-10 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.112.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.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,11 +47,14 @@ dependencies:
|
|
47
47
|
description: Official AWS Ruby gem for AWS Amplify (Amplify). This gem is part of
|
48
48
|
the AWS SDK for Ruby.
|
49
49
|
email:
|
50
|
-
-
|
50
|
+
- aws-dr-rubygems@amazon.com
|
51
51
|
executables: []
|
52
52
|
extensions: []
|
53
53
|
extra_rdoc_files: []
|
54
54
|
files:
|
55
|
+
- CHANGELOG.md
|
56
|
+
- LICENSE.txt
|
57
|
+
- VERSION
|
55
58
|
- lib/aws-sdk-amplify.rb
|
56
59
|
- lib/aws-sdk-amplify/client.rb
|
57
60
|
- lib/aws-sdk-amplify/client_api.rb
|