Skip to content

Commit 9d635db

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent a1ee023 commit 9d635db

File tree

7 files changed

+3540
-336
lines changed

7 files changed

+3540
-336
lines changed

codegen/sdk-codegen/aws-models/amplify.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@
340340
"repositoryCloneMethod": {
341341
"target": "com.amazonaws.amplify#RepositoryCloneMethod",
342342
"traits": {
343-
"smithy.api#documentation": "<p>The authentication protocol to use to access the Git repository for an Amplify app.\n For a GitHub repository, specify <code>TOKEN</code>. For an Amazon Web Services CodeCommit repository,\n specify <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\n the Git repository for an Amplify app. Amplify specifies <code>TOKEN</code> for a GitHub\n repository, <code>SIGV4</code> for an Amazon Web Services CodeCommit repository, and\n <code>SSH</code> for GitLab and Bitbucket repositories.</p>"
344344
}
345345
}
346346
},
@@ -1001,13 +1001,13 @@
10011001
"oauthToken": {
10021002
"target": "com.amazonaws.amplify#OauthToken",
10031003
"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>"
10051005
}
10061006
},
10071007
"accessToken": {
10081008
"target": "com.amazonaws.amplify#AccessToken",
10091009
"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>"
10111011
}
10121012
},
10131013
"environmentVariables": {
@@ -5008,13 +5008,13 @@
50085008
"oauthToken": {
50095009
"target": "com.amazonaws.amplify#OauthToken",
50105010
"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>"
50125012
}
50135013
},
50145014
"accessToken": {
50155015
"target": "com.amazonaws.amplify#AccessToken",
50165016
"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>"
50185018
}
50195019
}
50205020
},

0 commit comments

Comments
 (0)