Skip to content

Commit

Permalink
feat(client-cognito-identity-provider): API model updated in Amazon C…
Browse files Browse the repository at this point in the history
…ognito
  • Loading branch information
awstools committed Jul 13, 2023
1 parent 4fd0ab0 commit a6c3b78
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
13 changes: 13 additions & 0 deletions clients/client-cognito-identity-provider/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8909,6 +8909,13 @@ export const ConfirmDeviceRequestFilterSensitiveLog = (obj: ConfirmDeviceRequest
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
});

/**
* @internal
*/
export const UserContextDataTypeFilterSensitiveLog = (obj: UserContextDataType): any => ({
...obj,
});

/**
* @internal
*/
Expand All @@ -8918,6 +8925,7 @@ export const ConfirmForgotPasswordRequestFilterSensitiveLog = (obj: ConfirmForgo
...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
...(obj.Username && { Username: SENSITIVE_STRING }),
...(obj.Password && { Password: SENSITIVE_STRING }),
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
});

/**
Expand All @@ -8928,6 +8936,7 @@ export const ConfirmSignUpRequestFilterSensitiveLog = (obj: ConfirmSignUpRequest
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
...(obj.Username && { Username: SENSITIVE_STRING }),
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
});

/**
Expand Down Expand Up @@ -9026,6 +9035,7 @@ export const ForgotPasswordRequestFilterSensitiveLog = (obj: ForgotPasswordReque
...obj,
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
...(obj.Username && { Username: SENSITIVE_STRING }),
});

Expand Down Expand Up @@ -9113,6 +9123,7 @@ export const InitiateAuthRequestFilterSensitiveLog = (obj: InitiateAuthRequest):
...obj,
...(obj.AuthParameters && { AuthParameters: SENSITIVE_STRING }),
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
});

/**
Expand Down Expand Up @@ -9182,6 +9193,7 @@ export const ResendConfirmationCodeRequestFilterSensitiveLog = (obj: ResendConfi
...obj,
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
...(obj.Username && { Username: SENSITIVE_STRING }),
});

Expand All @@ -9193,6 +9205,7 @@ export const RespondToAuthChallengeRequestFilterSensitiveLog = (obj: RespondToAu
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
...(obj.Session && { Session: SENSITIVE_STRING }),
...(obj.ChallengeResponses && { ChallengeResponses: SENSITIVE_STRING }),
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
});

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1108,6 +1108,7 @@ export const SignUpRequestFilterSensitiveLog = (obj: SignUpRequest): any => ({
...(obj.ValidationData && {
ValidationData: obj.ValidationData.map((item) => AttributeTypeFilterSensitiveLog(item)),
}),
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
});

/**
Expand Down Expand Up @@ -1161,6 +1162,7 @@ export const VerifySoftwareTokenRequestFilterSensitiveLog = (obj: VerifySoftware
...obj,
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
...(obj.Session && { Session: SENSITIVE_STRING }),
...(obj.UserCode && { UserCode: SENSITIVE_STRING }),
});

/**
Expand Down
6 changes: 4 additions & 2 deletions codegen/sdk-codegen/aws-models/cognito-identity-provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -12200,7 +12200,8 @@
"min": 6,
"max": 6
},
"smithy.api#pattern": "^[0-9]+$"
"smithy.api#pattern": "^[0-9]+$",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.cognitoidentityprovider#SoftwareTokenMfaConfigType": {
Expand Down Expand Up @@ -13815,7 +13816,8 @@
}
},
"traits": {
"smithy.api#documentation": "<p>Contextual data, such as the user's device fingerprint, IP address, or location, used\n for evaluating the risk of an unexpected event by Amazon Cognito advanced\n security.</p>"
"smithy.api#documentation": "<p>Contextual data, such as the user's device fingerprint, IP address, or location, used\n for evaluating the risk of an unexpected event by Amazon Cognito advanced\n security.</p>",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.cognitoidentityprovider#UserFilterType": {
Expand Down

0 comments on commit a6c3b78

Please sign in to comment.