|
1 | 1 | // smithy-typescript generated code
|
2 |
| -import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; |
| 2 | +import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from "@smithy/smithy-client"; |
3 | 3 |
|
4 | 4 | import { CognitoIdentityServiceException as __BaseException } from "./CognitoIdentityServiceException";
|
5 | 5 |
|
@@ -1438,3 +1438,79 @@ export interface UntagResourceInput {
|
1438 | 1438 | * @public
|
1439 | 1439 | */
|
1440 | 1440 | export interface UntagResourceResponse {}
|
| 1441 | + |
| 1442 | +/** |
| 1443 | + * @internal |
| 1444 | + */ |
| 1445 | +export const GetCredentialsForIdentityInputFilterSensitiveLog = (obj: GetCredentialsForIdentityInput): any => ({ |
| 1446 | + ...obj, |
| 1447 | + ...(obj.Logins && { Logins: SENSITIVE_STRING }), |
| 1448 | +}); |
| 1449 | + |
| 1450 | +/** |
| 1451 | + * @internal |
| 1452 | + */ |
| 1453 | +export const CredentialsFilterSensitiveLog = (obj: Credentials): any => ({ |
| 1454 | + ...obj, |
| 1455 | + ...(obj.SecretKey && { SecretKey: SENSITIVE_STRING }), |
| 1456 | +}); |
| 1457 | + |
| 1458 | +/** |
| 1459 | + * @internal |
| 1460 | + */ |
| 1461 | +export const GetCredentialsForIdentityResponseFilterSensitiveLog = (obj: GetCredentialsForIdentityResponse): any => ({ |
| 1462 | + ...obj, |
| 1463 | + ...(obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }), |
| 1464 | +}); |
| 1465 | + |
| 1466 | +/** |
| 1467 | + * @internal |
| 1468 | + */ |
| 1469 | +export const GetIdInputFilterSensitiveLog = (obj: GetIdInput): any => ({ |
| 1470 | + ...obj, |
| 1471 | + ...(obj.Logins && { Logins: SENSITIVE_STRING }), |
| 1472 | +}); |
| 1473 | + |
| 1474 | +/** |
| 1475 | + * @internal |
| 1476 | + */ |
| 1477 | +export const GetOpenIdTokenInputFilterSensitiveLog = (obj: GetOpenIdTokenInput): any => ({ |
| 1478 | + ...obj, |
| 1479 | + ...(obj.Logins && { Logins: SENSITIVE_STRING }), |
| 1480 | +}); |
| 1481 | + |
| 1482 | +/** |
| 1483 | + * @internal |
| 1484 | + */ |
| 1485 | +export const GetOpenIdTokenResponseFilterSensitiveLog = (obj: GetOpenIdTokenResponse): any => ({ |
| 1486 | + ...obj, |
| 1487 | + ...(obj.Token && { Token: SENSITIVE_STRING }), |
| 1488 | +}); |
| 1489 | + |
| 1490 | +/** |
| 1491 | + * @internal |
| 1492 | + */ |
| 1493 | +export const GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog = ( |
| 1494 | + obj: GetOpenIdTokenForDeveloperIdentityInput |
| 1495 | +): any => ({ |
| 1496 | + ...obj, |
| 1497 | + ...(obj.Logins && { Logins: SENSITIVE_STRING }), |
| 1498 | +}); |
| 1499 | + |
| 1500 | +/** |
| 1501 | + * @internal |
| 1502 | + */ |
| 1503 | +export const GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog = ( |
| 1504 | + obj: GetOpenIdTokenForDeveloperIdentityResponse |
| 1505 | +): any => ({ |
| 1506 | + ...obj, |
| 1507 | + ...(obj.Token && { Token: SENSITIVE_STRING }), |
| 1508 | +}); |
| 1509 | + |
| 1510 | +/** |
| 1511 | + * @internal |
| 1512 | + */ |
| 1513 | +export const UnlinkIdentityInputFilterSensitiveLog = (obj: UnlinkIdentityInput): any => ({ |
| 1514 | + ...obj, |
| 1515 | + ...(obj.Logins && { Logins: SENSITIVE_STRING }), |
| 1516 | +}); |
0 commit comments