@aws-sdk/client-amplify 3.75.0 → 3.79.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.
- package/CHANGELOG.md +24 -0
- package/dist-types/models/models_0.d.ts +54 -16
- package/package.json +25 -25
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.79.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.78.0...v3.79.0) (2022-04-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-amplify
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.78.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.77.0...v3.78.0) (2022-04-26)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-amplify
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.76.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.75.0...v3.76.0) (2022-04-22)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-amplify
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.75.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.74.0...v3.75.0) (2022-04-21)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @aws-sdk/client-amplify
|
|
@@ -156,15 +156,32 @@ export interface CreateAppRequest {
|
|
|
156
156
|
*/
|
|
157
157
|
iamServiceRoleArn?: string;
|
|
158
158
|
/**
|
|
159
|
-
* <p>
|
|
160
|
-
* token is used to create a webhook and a read-only deploy key
|
|
161
|
-
* stored
|
|
159
|
+
* <p>The OAuth token for a third-party source control system for an Amplify app. The OAuth
|
|
160
|
+
* token is used to create a webhook and a read-only deploy key using SSH cloning. The
|
|
161
|
+
* OAuth token is not stored.</p>
|
|
162
|
+
* <p>Use <code>oauthToken</code> for repository providers other than GitHub, such as
|
|
163
|
+
* Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use
|
|
164
|
+
* <code>accessToken</code>.</p>
|
|
165
|
+
* <p>You must specify either <code>oauthToken</code> or <code>accessToken</code> when you
|
|
166
|
+
* create a new app.</p>
|
|
167
|
+
* <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work
|
|
168
|
+
* with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub
|
|
169
|
+
* App. For more information, see <a href="https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth">Migrating an existing OAuth app to the Amplify GitHub App</a> in the
|
|
170
|
+
* <i>Amplify User Guide</i> .</p>
|
|
162
171
|
*/
|
|
163
172
|
oauthToken?: string;
|
|
164
173
|
/**
|
|
165
|
-
* <p>
|
|
166
|
-
*
|
|
167
|
-
* token is not stored
|
|
174
|
+
* <p>The personal access token for a GitHub repository for an Amplify app. The personal
|
|
175
|
+
* access token is used to authorize access to a GitHub repository using the Amplify GitHub
|
|
176
|
+
* App. The token is not stored.</p>
|
|
177
|
+
* <p>Use <code>accessToken</code> for GitHub repositories only. To authorize access to a
|
|
178
|
+
* repository provider such as Bitbucket or CodeCommit, use <code>oauthToken</code>.</p>
|
|
179
|
+
* <p>You must specify either <code>accessToken</code> or <code>oauthToken</code> when you
|
|
180
|
+
* create a new app.</p>
|
|
181
|
+
* <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work
|
|
182
|
+
* with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub
|
|
183
|
+
* App. For more information, see <a href="https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth">Migrating an existing OAuth app to the Amplify GitHub App</a> in the
|
|
184
|
+
* <i>Amplify User Guide</i> .</p>
|
|
168
185
|
*/
|
|
169
186
|
accessToken?: string;
|
|
170
187
|
/**
|
|
@@ -369,10 +386,13 @@ export interface App {
|
|
|
369
386
|
*/
|
|
370
387
|
autoBranchCreationConfig?: AutoBranchCreationConfig;
|
|
371
388
|
/**
|
|
372
|
-
* <
|
|
373
|
-
*
|
|
374
|
-
*
|
|
375
|
-
*
|
|
389
|
+
* <note>
|
|
390
|
+
* <p>This is for internal use.</p>
|
|
391
|
+
* </note>
|
|
392
|
+
* <p>The Amplify service uses this parameter to specify the authentication protocol to use to access
|
|
393
|
+
* the Git repository for an Amplify app. Amplify specifies <code>TOKEN</code> for a GitHub
|
|
394
|
+
* repository, <code>SIGV4</code> for an Amazon Web Services CodeCommit repository, and
|
|
395
|
+
* <code>SSH</code> for GitLab and Bitbucket repositories.</p>
|
|
376
396
|
*/
|
|
377
397
|
repositoryCloneMethod?: RepositoryCloneMethod | string;
|
|
378
398
|
}
|
|
@@ -2342,15 +2362,33 @@ export interface UpdateAppRequest {
|
|
|
2342
2362
|
*/
|
|
2343
2363
|
repository?: string;
|
|
2344
2364
|
/**
|
|
2345
|
-
* <p>
|
|
2346
|
-
* is used to create a webhook and a read-only deploy key
|
|
2347
|
-
*
|
|
2365
|
+
* <p>The OAuth token for a third-party source control system for an Amplify app. The OAuth
|
|
2366
|
+
* token is used to create a webhook and a read-only deploy key using SSH cloning. The
|
|
2367
|
+
* OAuth token is not stored.</p>
|
|
2368
|
+
* <p>Use <code>oauthToken</code> for repository providers other than GitHub, such as
|
|
2369
|
+
* Bitbucket or CodeCommit.</p>
|
|
2370
|
+
* <p>To authorize access to GitHub as your repository provider, use
|
|
2371
|
+
* <code>accessToken</code>.</p>
|
|
2372
|
+
* <p>You must specify either <code>oauthToken</code> or <code>accessToken</code> when you
|
|
2373
|
+
* update an app.</p>
|
|
2374
|
+
* <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work
|
|
2375
|
+
* with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub
|
|
2376
|
+
* App. For more information, see <a href="https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth">Migrating an existing OAuth app to the Amplify GitHub App</a> in the
|
|
2377
|
+
* <i>Amplify User Guide</i> .</p>
|
|
2348
2378
|
*/
|
|
2349
2379
|
oauthToken?: string;
|
|
2350
2380
|
/**
|
|
2351
|
-
* <p>
|
|
2352
|
-
*
|
|
2353
|
-
*
|
|
2381
|
+
* <p>The personal access token for a GitHub repository for an Amplify app. The personal
|
|
2382
|
+
* access token is used to authorize access to a GitHub repository using the Amplify GitHub
|
|
2383
|
+
* App. The token is not stored.</p>
|
|
2384
|
+
* <p>Use <code>accessToken</code> for GitHub repositories only. To authorize access to a
|
|
2385
|
+
* repository provider such as Bitbucket or CodeCommit, use <code>oauthToken</code>.</p>
|
|
2386
|
+
* <p>You must specify either <code>accessToken</code> or <code>oauthToken</code> when you
|
|
2387
|
+
* update an app.</p>
|
|
2388
|
+
* <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work
|
|
2389
|
+
* with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub
|
|
2390
|
+
* App. For more information, see <a href="https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth">Migrating an existing OAuth app to the Amplify GitHub App</a> in the
|
|
2391
|
+
* <i>Amplify User Guide</i> .</p>
|
|
2354
2392
|
*/
|
|
2355
2393
|
accessToken?: string;
|
|
2356
2394
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amplify",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amplify Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.79.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.79.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.79.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.79.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.78.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.79.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.78.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.78.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.78.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.79.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.78.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.78.0",
|
|
39
|
+
"@aws-sdk/types": "3.78.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.78.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.78.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.79.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.78.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.79.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
51
|
"tslib": "^2.3.1"
|