Skip to content

Commit b381b16

Browse files
author
awstools
committed
docs(client-appflow): Doc only updates for clarification around OAuth2GrantType for Salesforce.
1 parent 6f6d4ac commit b381b16

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

clients/client-appflow/src/models/models_0.ts

+6-10
Original file line numberDiff line numberDiff line change
@@ -691,11 +691,6 @@ export interface SalesforceMetadata {
691691
* after you log in to your Salesforce account and authorize Amazon AppFlow to access
692692
* your records.</p>
693693
* </dd>
694-
* <dt>CLIENT_CREDENTIALS</dt>
695-
* <dd>
696-
* <p>Amazon AppFlow passes client credentials (a client ID and client secret) when
697-
* it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.</p>
698-
* </dd>
699694
* <dt>JWT_BEARER</dt>
700695
* <dd>
701696
* <p>Amazon AppFlow passes a JSON web token (JWT) when it requests the access token
@@ -705,6 +700,9 @@ export interface SalesforceMetadata {
705700
* records.</p>
706701
* </dd>
707702
* </dl>
703+
* <note>
704+
* <p>The CLIENT_CREDENTIALS value is not supported for Salesforce.</p>
705+
* </note>
708706
* @public
709707
*/
710708
oauth2GrantTypesSupported?: OAuth2GrantType[];
@@ -3377,11 +3375,6 @@ export interface SalesforceConnectorProfileCredentials {
33773375
* after you log in to your Salesforce account and authorize Amazon AppFlow to access
33783376
* your records.</p>
33793377
* </dd>
3380-
* <dt>CLIENT_CREDENTIALS</dt>
3381-
* <dd>
3382-
* <p>Amazon AppFlow passes client credentials (a client ID and client secret) when
3383-
* it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.</p>
3384-
* </dd>
33853378
* <dt>JWT_BEARER</dt>
33863379
* <dd>
33873380
* <p>Amazon AppFlow passes a JSON web token (JWT) when it requests the access token
@@ -3391,6 +3384,9 @@ export interface SalesforceConnectorProfileCredentials {
33913384
* records.</p>
33923385
* </dd>
33933386
* </dl>
3387+
* <note>
3388+
* <p>The CLIENT_CREDENTIALS value is not supported for Salesforce.</p>
3389+
* </note>
33943390
* @public
33953391
*/
33963392
oAuth2GrantType?: OAuth2GrantType;

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -7886,7 +7886,7 @@
78867886
"oAuth2GrantType": {
78877887
"target": "com.amazonaws.appflow#OAuth2GrantType",
78887888
"traits": {
7889-
"smithy.api#documentation": "<p>Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an\n access token from Salesforce. Amazon AppFlow requires an access token each time it\n attempts to access your Salesforce records.</p>\n <p>You can specify one of the following values:</p>\n <dl>\n <dt>AUTHORIZATION_CODE</dt>\n <dd>\n <p>Amazon AppFlow passes an authorization code when it requests the access token\n from Salesforce. Amazon AppFlow receives the authorization code from Salesforce\n after you log in to your Salesforce account and authorize Amazon AppFlow to access\n your records.</p>\n </dd>\n <dt>CLIENT_CREDENTIALS</dt>\n <dd>\n <p>Amazon AppFlow passes client credentials (a client ID and client secret) when\n it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.</p>\n </dd>\n <dt>JWT_BEARER</dt>\n <dd>\n <p>Amazon AppFlow passes a JSON web token (JWT) when it requests the access token\n from Salesforce. You provide the JWT to Amazon AppFlow when you define the\n connection to your Salesforce account. When you use this grant type, you don't need to\n log in to your Salesforce account to authorize Amazon AppFlow to access your\n records.</p>\n </dd>\n </dl>"
7889+
"smithy.api#documentation": "<p>Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an\n access token from Salesforce. Amazon AppFlow requires an access token each time it\n attempts to access your Salesforce records.</p>\n <p>You can specify one of the following values:</p>\n <dl>\n <dt>AUTHORIZATION_CODE</dt>\n <dd>\n <p>Amazon AppFlow passes an authorization code when it requests the access token\n from Salesforce. Amazon AppFlow receives the authorization code from Salesforce\n after you log in to your Salesforce account and authorize Amazon AppFlow to access\n your records.</p>\n </dd>\n <dt>JWT_BEARER</dt>\n <dd>\n <p>Amazon AppFlow passes a JSON web token (JWT) when it requests the access token\n from Salesforce. You provide the JWT to Amazon AppFlow when you define the\n connection to your Salesforce account. When you use this grant type, you don't need to\n log in to your Salesforce account to authorize Amazon AppFlow to access your\n records.</p>\n </dd>\n </dl>\n <note>\n <p>The CLIENT_CREDENTIALS value is not supported for Salesforce.</p>\n </note>"
78907890
}
78917891
},
78927892
"jwtToken": {
@@ -8014,7 +8014,7 @@
80148014
"oauth2GrantTypesSupported": {
80158015
"target": "com.amazonaws.appflow#OAuth2GrantTypeSupportedList",
80168016
"traits": {
8017-
"smithy.api#documentation": "<p>The OAuth 2.0 grant types that Amazon AppFlow can use when it requests an access\n token from Salesforce. Amazon AppFlow requires an access token each time it attempts to\n access your Salesforce records.</p>\n <dl>\n <dt>AUTHORIZATION_CODE</dt>\n <dd>\n <p>Amazon AppFlow passes an authorization code when it requests the access token\n from Salesforce. Amazon AppFlow receives the authorization code from Salesforce\n after you log in to your Salesforce account and authorize Amazon AppFlow to access\n your records.</p>\n </dd>\n <dt>CLIENT_CREDENTIALS</dt>\n <dd>\n <p>Amazon AppFlow passes client credentials (a client ID and client secret) when\n it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.</p>\n </dd>\n <dt>JWT_BEARER</dt>\n <dd>\n <p>Amazon AppFlow passes a JSON web token (JWT) when it requests the access token\n from Salesforce. You provide the JWT to Amazon AppFlow when you define the\n connection to your Salesforce account. When you use this grant type, you don't need to\n log in to your Salesforce account to authorize Amazon AppFlow to access your\n records.</p>\n </dd>\n </dl>"
8017+
"smithy.api#documentation": "<p>The OAuth 2.0 grant types that Amazon AppFlow can use when it requests an access\n token from Salesforce. Amazon AppFlow requires an access token each time it attempts to\n access your Salesforce records.</p>\n <dl>\n <dt>AUTHORIZATION_CODE</dt>\n <dd>\n <p>Amazon AppFlow passes an authorization code when it requests the access token\n from Salesforce. Amazon AppFlow receives the authorization code from Salesforce\n after you log in to your Salesforce account and authorize Amazon AppFlow to access\n your records.</p>\n </dd>\n <dt>JWT_BEARER</dt>\n <dd>\n <p>Amazon AppFlow passes a JSON web token (JWT) when it requests the access token\n from Salesforce. You provide the JWT to Amazon AppFlow when you define the\n connection to your Salesforce account. When you use this grant type, you don't need to\n log in to your Salesforce account to authorize Amazon AppFlow to access your\n records.</p>\n </dd>\n </dl>\n <note>\n <p>The CLIENT_CREDENTIALS value is not supported for Salesforce.</p>\n </note>"
80188018
}
80198019
}
80208020
},

0 commit comments

Comments
 (0)