@aws-sdk/client-appflow 3.405.0 → 3.408.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.
@@ -728,6 +728,7 @@ exports.SAPODataConnectorProfileCredentialsFilterSensitiveLog = SAPODataConnecto
728
728
  const ServiceNowConnectorProfileCredentialsFilterSensitiveLog = (obj) => ({
729
729
  ...obj,
730
730
  ...(obj.password && { password: smithy_client_1.SENSITIVE_STRING }),
731
+ ...(obj.oAuth2Credentials && { oAuth2Credentials: (0, exports.OAuth2CredentialsFilterSensitiveLog)(obj.oAuth2Credentials) }),
731
732
  });
732
733
  exports.ServiceNowConnectorProfileCredentialsFilterSensitiveLog = ServiceNowConnectorProfileCredentialsFilterSensitiveLog;
733
734
  const SingularConnectorProfileCredentialsFilterSensitiveLog = (obj) => ({
@@ -698,6 +698,7 @@ export const SAPODataConnectorProfileCredentialsFilterSensitiveLog = (obj) => ({
698
698
  export const ServiceNowConnectorProfileCredentialsFilterSensitiveLog = (obj) => ({
699
699
  ...obj,
700
700
  ...(obj.password && { password: SENSITIVE_STRING }),
701
+ ...(obj.oAuth2Credentials && { oAuth2Credentials: OAuth2CredentialsFilterSensitiveLog(obj.oAuth2Credentials) }),
701
702
  });
702
703
  export const SingularConnectorProfileCredentialsFilterSensitiveLog = (obj) => ({
703
704
  ...obj,
@@ -191,8 +191,18 @@ export interface CreateConnectorProfileCommandOutput extends CreateConnectorProf
191
191
  * jwtToken: "STRING_VALUE",
192
192
  * },
193
193
  * ServiceNow: { // ServiceNowConnectorProfileCredentials
194
- * username: "STRING_VALUE", // required
195
- * password: "STRING_VALUE", // required
194
+ * username: "STRING_VALUE",
195
+ * password: "STRING_VALUE",
196
+ * oAuth2Credentials: { // OAuth2Credentials
197
+ * clientId: "STRING_VALUE",
198
+ * clientSecret: "STRING_VALUE",
199
+ * accessToken: "STRING_VALUE",
200
+ * refreshToken: "STRING_VALUE",
201
+ * oAuthRequest: {
202
+ * authCode: "STRING_VALUE",
203
+ * redirectUri: "STRING_VALUE",
204
+ * },
205
+ * },
196
206
  * },
197
207
  * Singular: { // SingularConnectorProfileCredentials
198
208
  * apiKey: "STRING_VALUE", // required
@@ -201,10 +211,7 @@ export interface CreateConnectorProfileCommandOutput extends CreateConnectorProf
201
211
  * clientId: "STRING_VALUE", // required
202
212
  * clientSecret: "STRING_VALUE", // required
203
213
  * accessToken: "STRING_VALUE",
204
- * oAuthRequest: {
205
- * authCode: "STRING_VALUE",
206
- * redirectUri: "STRING_VALUE",
207
- * },
214
+ * oAuthRequest: "<ConnectorOAuthRequest>",
208
215
  * },
209
216
  * Snowflake: { // SnowflakeConnectorProfileCredentials
210
217
  * username: "STRING_VALUE", // required
@@ -242,7 +249,7 @@ export interface CreateConnectorProfileCommandOutput extends CreateConnectorProf
242
249
  * username: "STRING_VALUE", // required
243
250
  * password: "STRING_VALUE", // required
244
251
  * },
245
- * oauth2: { // OAuth2Credentials
252
+ * oauth2: {
246
253
  * clientId: "STRING_VALUE",
247
254
  * clientSecret: "STRING_VALUE",
248
255
  * accessToken: "STRING_VALUE",
@@ -184,8 +184,18 @@ export interface UpdateConnectorProfileCommandOutput extends UpdateConnectorProf
184
184
  * jwtToken: "STRING_VALUE",
185
185
  * },
186
186
  * ServiceNow: { // ServiceNowConnectorProfileCredentials
187
- * username: "STRING_VALUE", // required
188
- * password: "STRING_VALUE", // required
187
+ * username: "STRING_VALUE",
188
+ * password: "STRING_VALUE",
189
+ * oAuth2Credentials: { // OAuth2Credentials
190
+ * clientId: "STRING_VALUE",
191
+ * clientSecret: "STRING_VALUE",
192
+ * accessToken: "STRING_VALUE",
193
+ * refreshToken: "STRING_VALUE",
194
+ * oAuthRequest: {
195
+ * authCode: "STRING_VALUE",
196
+ * redirectUri: "STRING_VALUE",
197
+ * },
198
+ * },
189
199
  * },
190
200
  * Singular: { // SingularConnectorProfileCredentials
191
201
  * apiKey: "STRING_VALUE", // required
@@ -194,10 +204,7 @@ export interface UpdateConnectorProfileCommandOutput extends UpdateConnectorProf
194
204
  * clientId: "STRING_VALUE", // required
195
205
  * clientSecret: "STRING_VALUE", // required
196
206
  * accessToken: "STRING_VALUE",
197
- * oAuthRequest: {
198
- * authCode: "STRING_VALUE",
199
- * redirectUri: "STRING_VALUE",
200
- * },
207
+ * oAuthRequest: "<ConnectorOAuthRequest>",
201
208
  * },
202
209
  * Snowflake: { // SnowflakeConnectorProfileCredentials
203
210
  * username: "STRING_VALUE", // required
@@ -235,7 +242,7 @@ export interface UpdateConnectorProfileCommandOutput extends UpdateConnectorProf
235
242
  * username: "STRING_VALUE", // required
236
243
  * password: "STRING_VALUE", // required
237
244
  * },
238
- * oauth2: { // OAuth2Credentials
245
+ * oauth2: {
239
246
  * clientId: "STRING_VALUE",
240
247
  * clientSecret: "STRING_VALUE",
241
248
  * accessToken: "STRING_VALUE",
@@ -3035,12 +3035,17 @@ export interface ServiceNowConnectorProfileCredentials {
3035
3035
  * @public
3036
3036
  * <p> The name of the user. </p>
3037
3037
  */
3038
- username: string | undefined;
3038
+ username?: string;
3039
3039
  /**
3040
3040
  * @public
3041
3041
  * <p> The password that corresponds to the user name. </p>
3042
3042
  */
3043
- password: string | undefined;
3043
+ password?: string;
3044
+ /**
3045
+ * @public
3046
+ * <p> The OAuth 2.0 credentials required to authenticate the user. </p>
3047
+ */
3048
+ oAuth2Credentials?: OAuth2Credentials;
3044
3049
  }
3045
3050
  /**
3046
3051
  * @public
@@ -989,8 +989,9 @@ export interface SAPODataConnectorProfileCredentials {
989
989
  oAuthCredentials?: OAuthCredentials;
990
990
  }
991
991
  export interface ServiceNowConnectorProfileCredentials {
992
- username: string | undefined;
993
- password: string | undefined;
992
+ username?: string;
993
+ password?: string;
994
+ oAuth2Credentials?: OAuth2Credentials;
994
995
  }
995
996
  export interface SingularConnectorProfileCredentials {
996
997
  apiKey: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appflow",
3
3
  "description": "AWS SDK for JavaScript Appflow Client for Node.js, Browser and React Native",
4
- "version": "3.405.0",
4
+ "version": "3.408.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",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.405.0",
25
- "@aws-sdk/credential-provider-node": "3.405.0",
26
- "@aws-sdk/middleware-host-header": "3.398.0",
27
- "@aws-sdk/middleware-logger": "3.398.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.398.0",
29
- "@aws-sdk/middleware-signing": "3.398.0",
30
- "@aws-sdk/middleware-user-agent": "3.398.0",
31
- "@aws-sdk/types": "3.398.0",
32
- "@aws-sdk/util-endpoints": "3.398.0",
33
- "@aws-sdk/util-user-agent-browser": "3.398.0",
34
- "@aws-sdk/util-user-agent-node": "3.405.0",
24
+ "@aws-sdk/client-sts": "3.408.0",
25
+ "@aws-sdk/credential-provider-node": "3.408.0",
26
+ "@aws-sdk/middleware-host-header": "3.408.0",
27
+ "@aws-sdk/middleware-logger": "3.408.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.408.0",
29
+ "@aws-sdk/middleware-signing": "3.408.0",
30
+ "@aws-sdk/middleware-user-agent": "3.408.0",
31
+ "@aws-sdk/types": "3.408.0",
32
+ "@aws-sdk/util-endpoints": "3.408.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.408.0",
34
+ "@aws-sdk/util-user-agent-node": "3.408.0",
35
35
  "@smithy/config-resolver": "^2.0.5",
36
36
  "@smithy/fetch-http-handler": "^2.0.5",
37
37
  "@smithy/hash-node": "^2.0.5",