You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* <p> The OAuth token for a third-party source control system for an Amplify app. The OAuth
198
-
* token is used to create a webhook and a read-only deploy key. The OAuth token is not
199
-
* stored. </p>
197
+
* <p>The OAuth token for a third-party source control system for an Amplify app. The OAuth
198
+
* token is used to create a webhook and a read-only deploy key using SSH cloning. The
199
+
* OAuth token is not stored.</p>
200
+
* <p>Use <code>oauthToken</code> for repository providers other than GitHub, such as
201
+
* Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use
202
+
* <code>accessToken</code>.</p>
203
+
* <p>You must specify either <code>oauthToken</code> or <code>accessToken</code> when you
204
+
* create a new app.</p>
205
+
* <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work
206
+
* with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub
207
+
* 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
208
+
* <i>Amplify User Guide</i> .</p>
200
209
*/
201
210
oauthToken?: string;
202
211
203
212
/**
204
-
* <p> The personal access token for a third-party source control system for an Amplify app.
205
-
* The personal access token is used to create a webhook and a read-only deploy key. The
206
-
* token is not stored. </p>
213
+
* <p>The personal access token for a GitHub repository for an Amplify app. The personal
214
+
* access token is used to authorize access to a GitHub repository using the Amplify GitHub
215
+
* App. The token is not stored.</p>
216
+
* <p>Use <code>accessToken</code> for GitHub repositories only. To authorize access to a
217
+
* repository provider such as Bitbucket or CodeCommit, use <code>oauthToken</code>.</p>
218
+
* <p>You must specify either <code>accessToken</code> or <code>oauthToken</code> when you
219
+
* create a new app.</p>
220
+
* <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work
221
+
* with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub
222
+
* 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
* <p> The OAuth token for a third-party source control system for an Amplify app. The token
2950
-
* is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
2951
-
* </p>
2969
+
* <p>The OAuth token for a third-party source control system for an Amplify app. The OAuth
2970
+
* token is used to create a webhook and a read-only deploy key using SSH cloning. The
2971
+
* OAuth token is not stored.</p>
2972
+
* <p>Use <code>oauthToken</code> for repository providers other than GitHub, such as
2973
+
* Bitbucket or CodeCommit.</p>
2974
+
* <p>To authorize access to GitHub as your repository provider, use
2975
+
* <code>accessToken</code>.</p>
2976
+
* <p>You must specify either <code>oauthToken</code> or <code>accessToken</code> when you
2977
+
* update an app.</p>
2978
+
* <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work
2979
+
* with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub
2980
+
* 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
2981
+
* <i>Amplify User Guide</i> .</p>
2952
2982
*/
2953
2983
oauthToken?: string;
2954
2984
2955
2985
/**
2956
-
* <p> The personal access token for a third-party source control system for an Amplify app.
2957
-
* The token is used to create webhook and a read-only deploy key. The token is not stored.
2958
-
* </p>
2986
+
* <p>The personal access token for a GitHub repository for an Amplify app. The personal
2987
+
* access token is used to authorize access to a GitHub repository using the Amplify GitHub
2988
+
* App. The token is not stored.</p>
2989
+
* <p>Use <code>accessToken</code> for GitHub repositories only. To authorize access to a
2990
+
* repository provider such as Bitbucket or CodeCommit, use <code>oauthToken</code>.</p>
2991
+
* <p>You must specify either <code>accessToken</code> or <code>oauthToken</code> when you
2992
+
* update an app.</p>
2993
+
* <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work
2994
+
* with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub
2995
+
* 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
"smithy.api#documentation": "<p>The authentication protocol to useto access the Git repository for an Amplify app.\nFor a GitHub repository, specify <code>TOKEN</code>. For an Amazon Web Services CodeCommit repository,\nspecify <code>SIGV4</code>. For GitLab and Bitbucket repositories, specify\n <code>SSH</code>.</p>"
343
+
"smithy.api#documentation": "<note>\n <p>This is for internal use.</p>\n </note>\n <p>The Amplify service uses this parameter to specify the authentication protocol to use to access\nthe Git repository for an Amplify app. Amplify specifies <code>TOKEN</code> for a GitHub\nrepository, <code>SIGV4</code> for an Amazon Web Services CodeCommit repository, and\n <code>SSH</code> for GitLab and Bitbucket repositories.</p>"
344
344
}
345
345
}
346
346
},
@@ -1001,13 +1001,13 @@
1001
1001
"oauthToken": {
1002
1002
"target": "com.amazonaws.amplify#OauthToken",
1003
1003
"traits": {
1004
-
"smithy.api#documentation": "<p> The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key. The OAuth token is not\n stored. </p>"
1004
+
"smithy.api#documentation": "<p>The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key using SSH cloning. The\n OAuth token is not stored.</p>\n <p>Use <code>oauthToken</code> for repository providers other than GitHub, such as\n Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use\n <code>accessToken</code>.</p>\n <p>You must specify either <code>oauthToken</code> or <code>accessToken</code> when you\n create a new app.</p>\n <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n 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\n <i>Amplify User Guide</i> .</p>"
1005
1005
}
1006
1006
},
1007
1007
"accessToken": {
1008
1008
"target": "com.amazonaws.amplify#AccessToken",
1009
1009
"traits": {
1010
-
"smithy.api#documentation": "<p> The personal access token for a third-party source control system for an Amplify app.\n The personal access token is used to create a webhook and a read-only deploy key. The\n token is not stored. </p>"
1010
+
"smithy.api#documentation": "<p>The personal access token for a GitHub repository for an Amplify app. The personal\n access token is used to authorize access to a GitHub repository using the Amplify GitHub\n App. The token is not stored.</p>\n <p>Use <code>accessToken</code> for GitHub repositories only. To authorize access to a\n repository provider such as Bitbucket or CodeCommit, use <code>oauthToken</code>.</p>\n <p>You must specify either <code>accessToken</code> or <code>oauthToken</code> when you\n create a new app.</p>\n <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n 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\n <i>Amplify User Guide</i> .</p>"
1011
1011
}
1012
1012
},
1013
1013
"environmentVariables": {
@@ -5008,13 +5008,13 @@
5008
5008
"oauthToken": {
5009
5009
"target": "com.amazonaws.amplify#OauthToken",
5010
5010
"traits": {
5011
-
"smithy.api#documentation": "<p> The OAuth token for a third-party source control system for an Amplify app. The token\n is used to create a webhook and a read-only deploy key. The OAuth token is not stored.\n </p>"
5011
+
"smithy.api#documentation": "<p>The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key using SSH cloning. The\n OAuth token is not stored.</p>\n <p>Use <code>oauthToken</code> for repository providers other than GitHub, such as\n Bitbucket or CodeCommit.</p>\n <p>To authorize access to GitHub as your repository provider, use\n <code>accessToken</code>.</p>\n <p>You must specify either <code>oauthToken</code> or <code>accessToken</code> when you\n update an app.</p>\n <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n 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\n <i>Amplify User Guide</i> .</p>"
5012
5012
}
5013
5013
},
5014
5014
"accessToken": {
5015
5015
"target": "com.amazonaws.amplify#AccessToken",
5016
5016
"traits": {
5017
-
"smithy.api#documentation": "<p> The personal access token for a third-party source control system for an Amplify app.\n The token is used to create webhook and a read-only deploy key. The token is not stored.\n </p>"
5017
+
"smithy.api#documentation": "<p>The personal access token for a GitHub repository for an Amplify app. The personal\n access token is used to authorize access to a GitHub repository using the Amplify GitHub\n App. The token is not stored.</p>\n <p>Use <code>accessToken</code> for GitHub repositories only. To authorize access to a\n repository provider such as Bitbucket or CodeCommit, use <code>oauthToken</code>.</p>\n <p>You must specify either <code>accessToken</code> or <code>oauthToken</code> when you\n update an app.</p>\n <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n 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\n <i>Amplify User Guide</i> .</p>"
0 commit comments