{ "type": "object", "properties": { "PreviousPassword": { "allOf": [ { "$ref": "#/components/schemas/PasswordType" }, { "description": "The old password." } ] }, "ProposedPassword": { "allOf": [ { "$ref": "#/components/schemas/PasswordType" }, { "description": "The new password." } ] }, "AccessToken": { "allOf": [ { "$ref": "#/components/schemas/TokenModelType" }, { "description": "A valid access token that Amazon Cognito issued to the user whose password you want to change." } ] } }, "required": [ "PreviousPassword", "ProposedPassword", "AccessToken" ], "description": "Represents the request to change a user password.", "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/aws-cognito/refs/heads/main/json-schema/cognito-idp-change-password-request-schema.json", "title": "ChangePasswordRequest" }