aws-sdk-for-zig/codegen/models/cognitoidentityprovider.2016-04-18.json

13158 lines
719 KiB
JSON
Raw Permalink Normal View History

2021-05-30 01:17:45 +00:00
{
"smithy": "1.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.cognitoidentityprovider#AWSAccountIdType": {
"type": "string"
},
"com.amazonaws.cognitoidentityprovider#AWSCognitoIdentityProviderService": {
"type": "service",
"version": "2016-04-18",
"operations": [
{
"target": "com.amazonaws.cognitoidentityprovider#AddCustomAttributes"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminAddUserToGroup"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminConfirmSignUp"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminCreateUser"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminDeleteUser"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminDeleteUserAttributes"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminDisableProviderForUser"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminDisableUser"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminEnableUser"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminForgetDevice"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminGetDevice"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminGetUser"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminInitiateAuth"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminLinkProviderForUser"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminListDevices"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminListGroupsForUser"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminListUserAuthEvents"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminRemoveUserFromGroup"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminResetUserPassword"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminRespondToAuthChallenge"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminSetUserMFAPreference"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminSetUserPassword"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminSetUserSettings"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminUpdateAuthEventFeedback"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminUpdateDeviceStatus"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminUpdateUserAttributes"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AdminUserGlobalSignOut"
},
{
"target": "com.amazonaws.cognitoidentityprovider#AssociateSoftwareToken"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ChangePassword"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ConfirmDevice"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ConfirmForgotPassword"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ConfirmSignUp"
},
{
"target": "com.amazonaws.cognitoidentityprovider#CreateGroup"
},
{
"target": "com.amazonaws.cognitoidentityprovider#CreateIdentityProvider"
},
{
"target": "com.amazonaws.cognitoidentityprovider#CreateResourceServer"
},
{
"target": "com.amazonaws.cognitoidentityprovider#CreateUserImportJob"
},
{
"target": "com.amazonaws.cognitoidentityprovider#CreateUserPool"
},
{
"target": "com.amazonaws.cognitoidentityprovider#CreateUserPoolClient"
},
{
"target": "com.amazonaws.cognitoidentityprovider#CreateUserPoolDomain"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DeleteGroup"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DeleteIdentityProvider"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DeleteResourceServer"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DeleteUser"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DeleteUserAttributes"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DeleteUserPool"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DeleteUserPoolClient"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DeleteUserPoolDomain"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DescribeIdentityProvider"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DescribeResourceServer"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DescribeRiskConfiguration"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DescribeUserImportJob"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DescribeUserPool"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DescribeUserPoolClient"
},
{
"target": "com.amazonaws.cognitoidentityprovider#DescribeUserPoolDomain"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ForgetDevice"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ForgotPassword"
},
{
"target": "com.amazonaws.cognitoidentityprovider#GetCSVHeader"
},
{
"target": "com.amazonaws.cognitoidentityprovider#GetDevice"
},
{
"target": "com.amazonaws.cognitoidentityprovider#GetGroup"
},
{
"target": "com.amazonaws.cognitoidentityprovider#GetIdentityProviderByIdentifier"
},
{
"target": "com.amazonaws.cognitoidentityprovider#GetSigningCertificate"
},
{
"target": "com.amazonaws.cognitoidentityprovider#GetUICustomization"
},
{
"target": "com.amazonaws.cognitoidentityprovider#GetUser"
},
{
"target": "com.amazonaws.cognitoidentityprovider#GetUserAttributeVerificationCode"
},
{
"target": "com.amazonaws.cognitoidentityprovider#GetUserPoolMfaConfig"
},
{
"target": "com.amazonaws.cognitoidentityprovider#GlobalSignOut"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InitiateAuth"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ListDevices"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ListGroups"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ListIdentityProviders"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ListResourceServers"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ListTagsForResource"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ListUserImportJobs"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ListUserPoolClients"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ListUserPools"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ListUsers"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ListUsersInGroup"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResendConfirmationCode"
},
{
"target": "com.amazonaws.cognitoidentityprovider#RespondToAuthChallenge"
},
{
"target": "com.amazonaws.cognitoidentityprovider#SetRiskConfiguration"
},
{
"target": "com.amazonaws.cognitoidentityprovider#SetUICustomization"
},
{
"target": "com.amazonaws.cognitoidentityprovider#SetUserMFAPreference"
},
{
"target": "com.amazonaws.cognitoidentityprovider#SetUserPoolMfaConfig"
},
{
"target": "com.amazonaws.cognitoidentityprovider#SetUserSettings"
},
{
"target": "com.amazonaws.cognitoidentityprovider#SignUp"
},
{
"target": "com.amazonaws.cognitoidentityprovider#StartUserImportJob"
},
{
"target": "com.amazonaws.cognitoidentityprovider#StopUserImportJob"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TagResource"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UntagResource"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UpdateAuthEventFeedback"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UpdateDeviceStatus"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UpdateGroup"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UpdateIdentityProvider"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UpdateResourceServer"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UpdateUserAttributes"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UpdateUserPool"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UpdateUserPoolClient"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UpdateUserPoolDomain"
},
{
"target": "com.amazonaws.cognitoidentityprovider#VerifySoftwareToken"
},
{
"target": "com.amazonaws.cognitoidentityprovider#VerifyUserAttribute"
}
],
"traits": {
"aws.api#service": {
"sdkId": "Cognito Identity Provider",
"arnNamespace": "cognito-idp",
"cloudFormationName": "Cognito",
"cloudTrailEventSource": "cognitoidentityprovider.amazonaws.com",
"endpointPrefix": "cognito-idp"
},
"aws.auth#sigv4": {
"name": "cognito-idp"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<p>Using the Amazon Cognito User Pools API, you can create a user pool to manage\n directories and users. You can authenticate a user to obtain tokens related to user\n identity and access policies.</p>\n <p>This API reference provides information about user pools in Amazon Cognito User\n Pools.</p>\n <p>For more information, see the <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html\">Amazon Cognito Documentation</a>.</p>",
"smithy.api#title": "Amazon Cognito Identity Provider",
"smithy.api#xmlNamespace": {
"uri": "http://cognito-idp.amazonaws.com/doc/2016-04-18/"
}
}
},
"com.amazonaws.cognitoidentityprovider#AccessTokenValidityType": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 86400
}
}
},
"com.amazonaws.cognitoidentityprovider#AccountRecoverySettingType": {
"type": "structure",
"members": {
"RecoveryMechanisms": {
"target": "com.amazonaws.cognitoidentityprovider#RecoveryMechanismsType",
"traits": {
"smithy.api#documentation": "<p>The list of <code>RecoveryOptionTypes</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The data type for <code>AccountRecoverySetting</code>.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AccountTakeoverActionNotifyType": {
"type": "boolean"
},
"com.amazonaws.cognitoidentityprovider#AccountTakeoverActionType": {
"type": "structure",
"members": {
"Notify": {
"target": "com.amazonaws.cognitoidentityprovider#AccountTakeoverActionNotifyType",
"traits": {
"smithy.api#documentation": "<p>Flag specifying whether to send a notification.</p>",
"smithy.api#required": {}
}
},
"EventAction": {
"target": "com.amazonaws.cognitoidentityprovider#AccountTakeoverEventActionType",
"traits": {
"smithy.api#documentation": "<p>The event action.</p>\n <ul>\n <li>\n <p>\n <code>BLOCK</code> Choosing this action will block the request.</p>\n </li>\n <li>\n <p>\n <code>MFA_IF_CONFIGURED</code> Throw MFA challenge if user has configured it,\n else allow the request.</p>\n </li>\n <li>\n <p>\n <code>MFA_REQUIRED</code> Throw MFA challenge if user has configured it, else\n block the request.</p>\n </li>\n <li>\n <p>\n <code>NO_ACTION</code> Allow the user sign-in.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Account takeover action type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AccountTakeoverActionsType": {
"type": "structure",
"members": {
"LowAction": {
"target": "com.amazonaws.cognitoidentityprovider#AccountTakeoverActionType",
"traits": {
"smithy.api#documentation": "<p>Action to take for a low risk.</p>"
}
},
"MediumAction": {
"target": "com.amazonaws.cognitoidentityprovider#AccountTakeoverActionType",
"traits": {
"smithy.api#documentation": "<p>Action to take for a medium risk.</p>"
}
},
"HighAction": {
"target": "com.amazonaws.cognitoidentityprovider#AccountTakeoverActionType",
"traits": {
"smithy.api#documentation": "<p>Action to take for a high risk.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Account takeover actions type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AccountTakeoverEventActionType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "BLOCK",
"name": "BLOCK"
},
{
"value": "MFA_IF_CONFIGURED",
"name": "MFA_IF_CONFIGURED"
},
{
"value": "MFA_REQUIRED",
"name": "MFA_REQUIRED"
},
{
"value": "NO_ACTION",
"name": "NO_ACTION"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#AccountTakeoverRiskConfigurationType": {
"type": "structure",
"members": {
"NotifyConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#NotifyConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The notify configuration used to construct email notifications.</p>"
}
},
"Actions": {
"target": "com.amazonaws.cognitoidentityprovider#AccountTakeoverActionsType",
"traits": {
"smithy.api#documentation": "<p>Account takeover risk configuration actions</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Configuration for mitigation actions and notification for different levels of risk\n detected for a potential account takeover.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AddCustomAttributes": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AddCustomAttributesRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AddCustomAttributesResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserImportInProgressException"
}
],
"traits": {
"smithy.api#documentation": "<p>Adds additional user attributes to the user pool schema.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AddCustomAttributesRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where you want to add custom attributes.</p>",
"smithy.api#required": {}
}
},
"CustomAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#CustomAttributesListType",
"traits": {
"smithy.api#documentation": "<p>An array of custom attributes, such as Mutable and Name.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to add custom attributes.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AddCustomAttributesResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server for the request to add custom\n attributes.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminAddUserToGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminAddUserToGroupRequest"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Adds the specified user to the specified group.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminAddUserToGroupRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The username for the user.</p>",
"smithy.api#required": {}
}
},
"GroupName": {
"target": "com.amazonaws.cognitoidentityprovider#GroupNameType",
"traits": {
"smithy.api#documentation": "<p>The group name.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#AdminConfirmSignUp": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminConfirmSignUpRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminConfirmSignUpResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyFailedAttemptsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Confirms user registration as an admin without using a confirmation code. Works on any\n user.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminConfirmSignUpRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for which you want to confirm user registration.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name for which you want to confirm user registration.</p>",
"smithy.api#required": {}
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers. </p>\n <p>If your user pool configuration includes triggers, the AdminConfirmSignUp API action\n invokes the AWS Lambda function that is specified for the <i>post\n confirmation</i> trigger. When Amazon Cognito invokes this function, it\n passes a JSON payload, which the function receives as input. In this payload, the\n <code>clientMetadata</code> attribute provides the data that you assigned to the\n ClientMetadata parameter in your AdminConfirmSignUp request. In your function code in\n AWS Lambda, you can process the ClientMetadata value to enhance your workflow for your\n specific needs.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to confirm user registration.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminConfirmSignUpResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server for the request to confirm\n registration.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminCreateUser": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminCreateUserRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminCreateUserResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryFailureException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidPasswordException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PreconditionNotMetException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnsupportedUserStateException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UsernameExistsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a new user in the specified user pool.</p>\n <p>If <code>MessageAction</code> is not set, the default is to send a welcome message via\n email or phone (SMS).</p>\n <p>This message is based on a template that you configured in your call to create or\n update a user pool. This template includes your custom sign-up instructions and\n placeholders for user name and temporary password.</p>\n <p>Alternatively, you can call <code>AdminCreateUser</code> with “SUPPRESS” for the\n <code>MessageAction</code> parameter, and Amazon Cognito will not send any email. </p>\n <p>In either case, the user will be in the <code>FORCE_CHANGE_PASSWORD</code> state until\n they sign in and change their password.</p>\n <p>\n <code>AdminCreateUser</code> requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminCreateUserConfigType": {
"type": "structure",
"members": {
"AllowAdminCreateUserOnly": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>Set to <code>True</code> if only the administrator is allowed to create user profiles.\n Set to <code>False</code> if users can sign themselves up via an app.</p>"
}
},
"UnusedAccountValidityDays": {
"target": "com.amazonaws.cognitoidentityprovider#AdminCreateUserUnusedAccountValidityDaysType",
"traits": {
"smithy.api#documentation": "<p>The user account expiration limit, in days, after which the account is no longer\n usable. To reset the account after that time limit, you must call\n <code>AdminCreateUser</code> again, specifying <code>\"RESEND\"</code> for the\n <code>MessageAction</code> parameter. The default value for this parameter is 7. </p>\n <note>\n <p>If you set a value for <code>TemporaryPasswordValidityDays</code> in\n <code>PasswordPolicy</code>, that value will be used and\n <code>UnusedAccountValidityDays</code> will be deprecated for that user pool.\n </p>\n </note>"
}
},
"InviteMessageTemplate": {
"target": "com.amazonaws.cognitoidentityprovider#MessageTemplateType",
"traits": {
"smithy.api#documentation": "<p>The message template to be used for the welcome message to new users.</p>\n <p>See also <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-customizations.html#cognito-user-pool-settings-user-invitation-message-customization\">Customizing User Invitation Messages</a>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The configuration for creating a new user profile.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminCreateUserRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where the user will be created.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The username for the user. Must be unique within the user pool. Must be a UTF-8 string\n between 1 and 128 characters. After the user is created, the username cannot be\n changed.</p>",
"smithy.api#required": {}
}
},
"UserAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeListType",
"traits": {
"smithy.api#documentation": "<p>An array of name-value pairs that contain user attributes and attribute values to be\n set for the user to be created. You can create a user without specifying any attributes\n other than <code>Username</code>. However, any attributes that you specify as required\n (when creating a user pool or in the <b>Attributes</b> tab of\n the console) must be supplied either by you (in your call to\n <code>AdminCreateUser</code>) or by the user (when he or she signs up in response to\n your welcome message).</p>\n <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the\n attribute name.</p>\n <p>To send a message inviting the user to sign up, you must specify the user's email\n address or phone number. This can be done in your call to AdminCreateUser or in the\n <b>Users</b> tab of the Amazon Cognito console for\n managing your user pools.</p>\n <p>In your call to <code>AdminCreateUser</code>, you can set the\n <code>email_verified</code> attribute to <code>True</code>, and you can set the\n <code>phone_number_verified</code> attribute to <code>True</code>. (You can also do\n this by calling <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminUpdateUserAttributes.html\">AdminUpdateUserAttributes</a>.)</p>\n <ul>\n <li>\n <p>\n <b>email</b>: The email address of the user to whom\n the message that contains the code and username will be sent. Required if the\n <code>email_verified</code> attribute is set to <code>True</code>, or if\n <code>\"EMAIL\"</code> is specified in the <code>DesiredDeliveryMediums</code>\n parameter.</p>\n </li>\n <li>\n <p>\n <b>phone_number</b>: The phone number of the user to\n whom the message that contains the code and username will be sent. Required if\n the <code>phone_number_verified</code> attribute is set to <code>True</code>, or\n if <code>\"SMS\"</code> is specified in the <code>DesiredDeliveryMediums</code>\n parameter.</p>\n </li>\n </ul>"
}
},
"ValidationData": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeListType",
"traits": {
"smithy.api#documentation": "<p>The user's validation data. This is an array of name-value pairs that contain user\n attributes and attribute values that you can use for custom validation, such as\n restricting the types of user accounts that can be registered. For example, you might\n choose to allow or disallow user sign-up based on the user's domain.</p>\n <p>To configure custom validation, you must create a Pre Sign-up Lambda trigger for the\n user pool as described in the Amazon Cognito Developer Guide. The Lambda trigger\n receives the validation data and uses it in the validation process.</p>\n <p>The user's validation data is not persisted.</p>"
}
},
"TemporaryPassword": {
"target": "com.amazonaws.cognitoidentityprovider#PasswordType",
"traits": {
"smithy.api#documentation": "<p>The user's temporary password. This password must conform to the password policy that\n you specified when you created the user pool.</p>\n <p>The temporary password is valid only once. To complete the Admin Create User flow, the\n user must enter the temporary password in the sign-in page along with a new password to\n be used in all future sign-ins.</p>\n <p>This parameter is not required. If you do not specify a value, Amazon Cognito\n generates one for you.</p>\n <p>The temporary password can only be used until the user account expiration limit that\n you specified when you created the user pool. To reset the account after that time\n limit, you must call <code>AdminCreateUser</code> again, specifying\n <code>\"RESEND\"</code> for the <code>MessageAction</code> parameter.</p>"
}
},
"ForceAliasCreation": {
"target": "com.amazonaws.cognitoidentityprovider#ForceAliasCreation",
"traits": {
"smithy.api#documentation": "<p>This parameter is only used if the <code>phone_number_verified</code> or\n <code>email_verified</code> attribute is set to <code>True</code>. Otherwise, it is\n ignored.</p>\n <p>If this parameter is set to <code>True</code> and the phone number or email address\n specified in the UserAttributes parameter already exists as an alias with a different\n user, the API call will migrate the alias from the previous user to the newly created\n user. The previous user will no longer be able to log in using that alias.</p>\n <p>If this parameter is set to <code>False</code>, the API throws an\n <code>AliasExistsException</code> error if the alias already exists. The default\n value is <code>False</code>.</p>"
}
},
"MessageAction": {
"target": "com.amazonaws.cognitoidentityprovider#MessageActionType",
"traits": {
"smithy.api#documentation": "<p>Set to <code>\"RESEND\"</code> to resend the invitation message to a user that already\n exists and reset the expiration limit on the user's account. Set to\n <code>\"SUPPRESS\"</code> to suppress sending the message. Only one value can be\n specified.</p>"
}
},
"DesiredDeliveryMediums": {
"target": "com.amazonaws.cognitoidentityprovider#DeliveryMediumListType",
"traits": {
"smithy.api#documentation": "<p>Specify <code>\"EMAIL\"</code> if email will be used to send the welcome message.\n Specify <code>\"SMS\"</code> if the phone number will be used. The default value is\n <code>\"SMS\"</code>. More than one value can be specified.</p>"
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers. </p>\n <p>You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the AdminCreateUser API action, Amazon Cognito invokes the function that is\n assigned to the <i>pre sign-up</i> trigger. When Amazon Cognito invokes\n this function, it passes a JSON payload, which the function receives as input. This\n payload contains a <code>clientMetadata</code> attribute, which provides the data that\n you assigned to the ClientMetadata parameter in your AdminCreateUser request. In your\n function code in AWS Lambda, you can process the <code>clientMetadata</code> value to\n enhance your workflow for your specific needs.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to create a user in the specified user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminCreateUserResponse": {
"type": "structure",
"members": {
"User": {
"target": "com.amazonaws.cognitoidentityprovider#UserType",
"traits": {
"smithy.api#documentation": "<p>The newly created user.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server to the request to create the user.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminCreateUserUnusedAccountValidityDaysType": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 0,
"max": 365
}
}
},
"com.amazonaws.cognitoidentityprovider#AdminDeleteUser": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminDeleteUserRequest"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a user as an administrator. Works on any user.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminDeleteUserAttributes": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminDeleteUserAttributesRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminDeleteUserAttributesResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the user attributes in a user pool as an administrator. Works on any\n user.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminDeleteUserAttributesRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where you want to delete user attributes.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user from which you would like to delete attributes.</p>",
"smithy.api#required": {}
}
},
"UserAttributeNames": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeNameListType",
"traits": {
"smithy.api#documentation": "<p>An array of strings representing the user attribute names you wish to delete.</p>\n <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the\n attribute name.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to delete user attributes as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminDeleteUserAttributesResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>Represents the response received from the server for a request to delete user\n attributes.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminDeleteUserRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where you want to delete the user.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user you wish to delete.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to delete a user as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminDisableProviderForUser": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminDisableProviderForUserRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminDisableProviderForUserResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#AliasExistsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Disables the user from signing in with the specified external (SAML or social)\n identity provider. If the user to disable is a Cognito User Pools native username +\n password user, they are not permitted to use their password to sign-in. If the user to\n disable is a linked external IdP user, any link between that user and an existing user\n is removed. The next time the external user (no longer attached to the previously linked\n <code>DestinationUser</code>) signs in, they must create a new user account. See\n <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminLinkProviderForUser.html\">AdminLinkProviderForUser</a>.</p>\n <p>This action is enabled only for admin access and requires developer\n credentials.</p>\n <p>The <code>ProviderName</code> must match the value specified when creating an IdP for\n the pool. </p>\n <p>To disable a native username + password user, the <code>ProviderName</code> value must\n be <code>Cognito</code> and the <code>ProviderAttributeName</code> must be\n <code>Cognito_Subject</code>, with the <code>ProviderAttributeValue</code> being the\n name that is used in the user pool for the user.</p>\n <p>The <code>ProviderAttributeName</code> must always be <code>Cognito_Subject</code> for\n social identity providers. The <code>ProviderAttributeValue</code> must always be the\n exact subject that was used when the user was originally linked as a source user.</p>\n <p>For de-linking a SAML identity, there are two scenarios. If the linked identity has\n not yet been used to sign-in, the <code>ProviderAttributeName</code> and\n <code>ProviderAttributeValue</code> must be the same values that were used for the\n <code>SourceUser</code> when the identities were originally linked using <code>\n AdminLinkProviderForUser</code> call. (If the linking was done with\n <code>ProviderAttributeName</code> set to <code>Cognito_Subject</code>, the same\n applies here). However, if the user has already signed in, the\n <code>ProviderAttributeName</code> must be <code>Cognito_Subject</code> and\n <code>ProviderAttributeValue</code> must be the subject of the SAML\n assertion.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminDisableProviderForUserRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
},
"User": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderUserIdentifierType",
"traits": {
"smithy.api#documentation": "<p>The user to be disabled.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#AdminDisableProviderForUserResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.cognitoidentityprovider#AdminDisableUser": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminDisableUserRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminDisableUserResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Disables the specified user.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminDisableUserRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where you want to disable the user.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user you wish to disable.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to disable the user as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminDisableUserResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>Represents the response received from the server to disable the user as an\n administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminEnableUser": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminEnableUserRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminEnableUserResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Enables the specified user as an administrator. Works on any user.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminEnableUserRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where you want to enable the user.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user you wish to enable.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request that enables the user as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminEnableUserResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server for the request to enable a user as an\n administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminForgetDevice": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminForgetDeviceRequest"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Forgets the device, as an administrator.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminForgetDeviceRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name.</p>",
"smithy.api#required": {}
}
},
"DeviceKey": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceKeyType",
"traits": {
"smithy.api#documentation": "<p>The device key.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Sends the forgot device request, as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminGetDevice": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminGetDeviceRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminGetDeviceResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets the device, as an administrator.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminGetDeviceRequest": {
"type": "structure",
"members": {
"DeviceKey": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceKeyType",
"traits": {
"smithy.api#documentation": "<p>The device key.</p>",
"smithy.api#required": {}
}
},
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to get the device, as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminGetDeviceResponse": {
"type": "structure",
"members": {
"Device": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceType",
"traits": {
"smithy.api#documentation": "<p>The device.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Gets the device response, as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminGetUser": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminGetUserRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminGetUserResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets the specified user by user name in a user pool as an administrator. Works on any\n user.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminGetUserRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where you want to get information about the\n user.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user you wish to retrieve.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to get the specified user as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminGetUserResponse": {
"type": "structure",
"members": {
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user about whom you are receiving information.</p>",
"smithy.api#required": {}
}
},
"UserAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeListType",
"traits": {
"smithy.api#documentation": "<p>An array of name-value pairs representing user attributes.</p>"
}
},
"UserCreateDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the user was created.</p>"
}
},
"UserLastModifiedDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the user was last modified.</p>"
}
},
"Enabled": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>Indicates that the status is enabled.</p>"
}
},
"UserStatus": {
"target": "com.amazonaws.cognitoidentityprovider#UserStatusType",
"traits": {
"smithy.api#documentation": "<p>The user status. Can be one of the following:</p>\n <ul>\n <li>\n <p>UNCONFIRMED - User has been created but not confirmed.</p>\n </li>\n <li>\n <p>CONFIRMED - User has been confirmed.</p>\n </li>\n <li>\n <p>ARCHIVED - User is no longer active.</p>\n </li>\n <li>\n <p>COMPROMISED - User is disabled due to a potential security threat.</p>\n </li>\n <li>\n <p>UNKNOWN - User status is not known.</p>\n </li>\n <li>\n <p>RESET_REQUIRED - User is confirmed, but the user must request a code and reset\n his or her password before he or she can sign in.</p>\n </li>\n <li>\n <p>FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a\n temporary password, but on first sign-in, the user must change his or her\n password to a new value before doing anything else. </p>\n </li>\n </ul>"
}
},
"MFAOptions": {
"target": "com.amazonaws.cognitoidentityprovider#MFAOptionListType",
"traits": {
"smithy.api#documentation": "<p>\n <i>This response parameter is no longer supported.</i> It provides\n information only about SMS MFA configurations. It doesn't provide information about TOTP\n software token MFA configurations. To look up information about either type of MFA\n configuration, use UserMFASettingList instead.</p>"
}
},
"PreferredMfaSetting": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The user's preferred MFA setting.</p>"
}
},
"UserMFASettingList": {
"target": "com.amazonaws.cognitoidentityprovider#UserMFASettingListType",
"traits": {
"smithy.api#documentation": "<p>The MFA options that are enabled for the user. The possible values in this list are\n <code>SMS_MFA</code> and <code>SOFTWARE_TOKEN_MFA</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server from the request to get the specified user as\n an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminInitiateAuth": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminInitiateAuthRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminInitiateAuthResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#MFAMethodNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Initiates the authentication flow, as an administrator.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminInitiateAuthRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The ID of the Amazon Cognito user pool.</p>",
"smithy.api#required": {}
}
},
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The app client ID.</p>",
"smithy.api#required": {}
}
},
"AuthFlow": {
"target": "com.amazonaws.cognitoidentityprovider#AuthFlowType",
"traits": {
"smithy.api#documentation": "<p>The authentication flow for this call to execute. The API action will depend on this\n value. For example:</p>\n <ul>\n <li>\n <p>\n <code>REFRESH_TOKEN_AUTH</code> will take in a valid refresh token and return\n new tokens.</p>\n </li>\n <li>\n <p>\n <code>USER_SRP_AUTH</code> will take in <code>USERNAME</code> and\n <code>SRP_A</code> and return the SRP variables to be used for next\n challenge execution.</p>\n </li>\n <li>\n <p>\n <code>USER_PASSWORD_AUTH</code> will take in <code>USERNAME</code> and\n <code>PASSWORD</code> and return the next challenge or tokens.</p>\n </li>\n </ul>\n <p>Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>USER_SRP_AUTH</code>: Authentication flow for the Secure Remote Password\n (SRP) protocol.</p>\n </li>\n <li>\n <p>\n <code>REFRESH_TOKEN_AUTH</code>/<code>REFRESH_TOKEN</code>: Authentication\n flow for refreshing the access token and ID token by supplying a valid refresh\n token.</p>\n </li>\n <li>\n <p>\n <code>CUSTOM_AUTH</code>: Custom authentication flow.</p>\n </li>\n <li>\n <p>\n <code>ADMIN_NO_SRP_AUTH</code>: Non-SRP authentication flow; you can pass in\n the USERNAME and PASSWORD directly if the flow is enabled for calling the app\n client.</p>\n </li>\n <li>\n <p>\n <code>USER_PASSWORD_AUTH</code>: Non-SRP authentication flow; USERNAME and\n PASSWORD are passed directly. If a user migration Lambda trigger is set, this\n flow will invoke the user migration Lambda if the USERNAME is not found in the\n user pool. </p>\n </li>\n <li>\n <p>\n <code>ADMIN_USER_PASSWORD_AUTH</code>: Admin-based user password\n authentication. This replaces the <code>ADMIN_NO_SRP_AUTH</code> authentication\n flow. In this flow, Cognito receives the password in the request instead of\n using the SRP process to verify passwords.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"AuthParameters": {
"target": "com.amazonaws.cognitoidentityprovider#AuthParametersType",
"traits": {
"smithy.api#documentation": "<p>The authentication parameters. These are inputs corresponding to the\n <code>AuthFlow</code> that you are invoking. The required values depend on the value\n of <code>AuthFlow</code>:</p>\n <ul>\n <li>\n <p>For <code>USER_SRP_AUTH</code>: <code>USERNAME</code> (required),\n <code>SRP_A</code> (required), <code>SECRET_HASH</code> (required if the app\n client is configured with a client secret), <code>DEVICE_KEY</code>.</p>\n </li>\n <li>\n <p>For <code>REFRESH_TOKEN_AUTH/REFRESH_TOKEN</code>: <code>REFRESH_TOKEN</code>\n (required), <code>SECRET_HASH</code> (required if the app client is configured\n with a client secret), <code>DEVICE_KEY</code>.</p>\n </li>\n <li>\n <p>For <code>ADMIN_NO_SRP_AUTH</code>: <code>USERNAME</code> (required),\n <code>SECRET_HASH</code> (if app client is configured with client secret),\n <code>PASSWORD</code> (required), <code>DEVICE_KEY</code>.</p>\n </li>\n <li>\n <p>For <code>CUSTOM_AUTH</code>: <code>USERNAME</code> (required),\n <code>SECRET_HASH</code> (if app client is configured with client secret),\n <code>DEVICE_KEY</code>. To start the authentication flow with password\n verification, include <code>ChallengeName: SRP_A</code> and <code>SRP_A: (The\n SRP_A Value)</code>.</p>\n </li>\n </ul>"
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for certain custom\n workflows that this action triggers.</p>\n <p>You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the AdminInitiateAuth API action, Amazon Cognito invokes the AWS Lambda\n functions that are specified for various triggers. The ClientMetadata value is passed as\n input to the functions for only the following triggers:</p>\n <ul>\n <li>\n <p>Pre signup</p>\n </li>\n <li>\n <p>Pre authentication</p>\n </li>\n <li>\n <p>User migration</p>\n </li>\n </ul>\n\n <p>When Amazon Cognito invokes the functions for these triggers, it passes a JSON\n payload, which the function receives as input. This payload contains a\n <code>validationData</code> attribute, which provides the data that you assigned to\n the ClientMetadata parameter in your AdminInitiateAuth request. In your function code in\n AWS Lambda, you can process the <code>validationData</code> value to enhance your\n workflow for your specific needs.</p>\n\n <p>When you use the AdminInitiateAuth API action, Amazon Cognito also invokes the\n functions for the following triggers, but it does not provide the ClientMetadata value\n as input:</p>\n\n <ul>\n <li>\n <p>Post authentication</p>\n </li>\n <li>\n <p>Custom message</p>\n </li>\n <li>\n <p>Pre token generation</p>\n </li>\n <li>\n <p>Create auth challenge</p>\n </li>\n <li>\n <p>Define auth challenge</p>\n </li>\n <li>\n <p>Verify auth challenge</p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
},
"AnalyticsMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType",
"traits": {
"smithy.api#documentation": "<p>The analytics metadata for collecting Amazon Pinpoint metrics for\n <code>AdminInitiateAuth</code> calls.</p>"
}
},
"ContextData": {
"target": "com.amazonaws.cognitoidentityprovider#ContextDataType",
"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>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Initiates the authorization request, as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminInitiateAuthResponse": {
"type": "structure",
"members": {
"ChallengeName": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the challenge which you are responding to with this call. This is returned\n to you in the <code>AdminInitiateAuth</code> response if you need to pass another\n challenge.</p>\n <ul>\n <li>\n <p>\n <code>MFA_SETUP</code>: If MFA is required, users who do not have at least one\n of the MFA methods set up are presented with an <code>MFA_SETUP</code>\n challenge. The user must set up at least one MFA type to continue to\n authenticate.</p>\n </li>\n <li>\n <p>\n <code>SELECT_MFA_TYPE</code>: Selects the MFA type. Valid MFA options are\n <code>SMS_MFA</code> for text SMS MFA, and <code>SOFTWARE_TOKEN_MFA</code>\n for TOTP software token MFA.</p>\n </li>\n <li>\n <p>\n <code>SMS_MFA</code>: Next challenge is to supply an\n <code>SMS_MFA_CODE</code>, delivered via SMS.</p>\n </li>\n <li>\n <p>\n <code>PASSWORD_VERIFIER</code>: Next challenge is to supply\n <code>PASSWORD_CLAIM_SIGNATURE</code>,\n <code>PASSWORD_CLAIM_SECRET_BLOCK</code>, and <code>TIMESTAMP</code> after\n the client-side SRP calculations.</p>\n </li>\n <li>\n <p>\n <code>CUSTOM_CHALLENGE</code>: This is returned if your custom authentication\n flow determines that the user should pass another challenge before tokens are\n issued.</p>\n </li>\n <li>\n <p>\n <code>DEVICE_SRP_AUTH</code>: If device tracking was enabled on your user pool\n and the previous challenges were passed, this challenge is returned so that\n Amazon Cognito can start tracking this device.</p>\n </li>\n <li>\n <p>\n <code>DEVICE_PASSWORD_VERIFIER</code>: Similar to\n <code>PASSWORD_VERIFIER</code>, but for devices only.</p>\n </li>\n <li>\n <p>\n <code>ADMIN_NO_SRP_AUTH</code>: This is returned if you need to authenticate\n with <code>USERNAME</code> and <code>PASSWORD</code> directly. An app client\n must be enabled to use this flow.</p>\n </li>\n <li>\n <p>\n <code>NEW_PASSWORD_REQUIRED</code>: For users who are required to change their\n passwords after successful first login. This challenge should be passed with\n <code>NEW_PASSWORD</code> and any other required attributes.</p>\n </li>\n <li>\n <p>\n <code>MFA_SETUP</code>: For users who are required to setup an MFA factor\n before they can sign-in. The MFA types enabled for the user pool will be listed\n in the challenge parameters <code>MFA_CAN_SETUP</code> value. </p>\n <p> To setup software token MFA, use the session returned here from\n <code>InitiateAuth</code> as an input to\n <code>AssociateSoftwareToken</code>, and use the session returned by\n <code>VerifySoftwareToken</code> as an input to\n <code>RespondToAuthChallenge</code> with challenge name\n <code>MFA_SETUP</code> to complete sign-in. To setup SMS MFA, users will\n need help from an administrator to add a phone number to their account and then\n call <code>InitiateAuth</code> again to restart sign-in.</p>\n </li>\n </ul>"
}
},
"Session": {
"target": "com.amazonaws.cognitoidentityprovider#SessionType",
"traits": {
"smithy.api#documentation": "<p>The session which should be passed both ways in challenge-response calls to the\n service. If <code>AdminInitiateAuth</code> or <code>AdminRespondToAuthChallenge</code>\n API call determines that the caller needs to go through another challenge, they return a\n session with other challenge parameters. This session should be passed as it is to the\n next <code>AdminRespondToAuthChallenge</code> API call.</p>"
}
},
"ChallengeParameters": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeParametersType",
"traits": {
"smithy.api#documentation": "<p>The challenge parameters. These are returned to you in the\n <code>AdminInitiateAuth</code> response if you need to pass another challenge. The\n responses in this parameter should be used to compute inputs to the next call\n (<code>AdminRespondToAuthChallenge</code>).</p>\n <p>All challenges require <code>USERNAME</code> and <code>SECRET_HASH</code> (if\n applicable).</p>\n <p>The value of the <code>USER_ID_FOR_SRP</code> attribute will be the user's actual\n username, not an alias (such as email address or phone number), even if you specified an\n alias in your call to <code>AdminInitiateAuth</code>. This is because, in the\n <code>AdminRespondToAuthChallenge</code> API <code>ChallengeResponses</code>, the\n <code>USERNAME</code> attribute cannot be an alias.</p>"
}
},
"AuthenticationResult": {
"target": "com.amazonaws.cognitoidentityprovider#AuthenticationResultType",
"traits": {
"smithy.api#documentation": "<p>The result of the authentication response. This is only returned if the caller does\n not need to pass another challenge. If the caller does need to pass another challenge\n before it gets tokens, <code>ChallengeName</code>, <code>ChallengeParameters</code>, and\n <code>Session</code> are returned.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Initiates the authentication response, as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminLinkProviderForUser": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminLinkProviderForUserRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminLinkProviderForUserResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#AliasExistsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Links an existing user account in a user pool (<code>DestinationUser</code>) to an\n identity from an external identity provider (<code>SourceUser</code>) based on a\n specified attribute name and value from the external identity provider. This allows you\n to create a link from the existing user account to an external federated user identity\n that has not yet been used to sign in, so that the federated user identity can be used\n to sign in as the existing user account. </p>\n <p> For example, if there is an existing user with a username and password, this API\n links that user to a federated user identity, so that when the federated user identity\n is used, the user signs in as the existing user account. </p>\n <note>\n <p>The maximum number of federated identities linked to a user is 5.</p>\n </note>\n <important>\n <p>Because this API allows a user with an external federated identity to sign in as\n an existing user in the user pool, it is critical that it only be used with external\n identity providers and provider attributes that have been trusted by the application\n owner.</p>\n </important>\n \n <p>This action is enabled only for admin access and requires developer\n credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminLinkProviderForUserRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
},
"DestinationUser": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderUserIdentifierType",
"traits": {
"smithy.api#documentation": "<p>The existing user in the user pool to be linked to the external identity provider user\n account. Can be a native (Username + Password) Cognito User Pools user or a federated\n user (for example, a SAML or Facebook user). If the user doesn't exist, an exception is\n thrown. This is the user that is returned when the new user (with the linked identity\n provider attribute) signs in.</p>\n <p>For a native username + password user, the <code>ProviderAttributeValue</code> for the\n <code>DestinationUser</code> should be the username in the user pool. For a\n federated user, it should be the provider-specific <code>user_id</code>.</p>\n <p>The <code>ProviderAttributeName</code> of the <code>DestinationUser</code> is\n ignored.</p>\n <p>The <code>ProviderName</code> should be set to <code>Cognito</code> for users in\n Cognito user pools.</p>",
"smithy.api#required": {}
}
},
"SourceUser": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderUserIdentifierType",
"traits": {
"smithy.api#documentation": "<p>An external identity provider account for a user who does not currently exist yet in\n the user pool. This user must be a federated user (for example, a SAML or Facebook\n user), not another native user.</p>\n <p>If the <code>SourceUser</code> is a federated social identity provider user (Facebook,\n Google, or Login with Amazon), you must set the <code>ProviderAttributeName</code> to\n <code>Cognito_Subject</code>. For social identity providers, the\n <code>ProviderName</code> will be <code>Facebook</code>, <code>Google</code>, or\n <code>LoginWithAmazon</code>, and Cognito will automatically parse the Facebook,\n Google, and Login with Amazon tokens for <code>id</code>, <code>sub</code>, and\n <code>user_id</code>, respectively. The <code>ProviderAttributeValue</code> for the\n user must be the same value as the <code>id</code>, <code>sub</code>, or\n <code>user_id</code> value found in the social identity provider token.</p>\n <p></p>\n <p>For SAML, the <code>ProviderAttributeName</code> can be any value that matches a claim\n in the SAML assertion. If you wish to link SAML users based on the subject of the SAML\n assertion, you should map the subject to a claim through the SAML identity provider and\n submit that claim name as the <code>ProviderAttributeName</code>. If you set\n <code>ProviderAttributeName</code> to <code>Cognito_Subject</code>, Cognito will\n automatically parse the default unique identifier found in the subject from the SAML\n token.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#AdminLinkProviderForUserResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.cognitoidentityprovider#AdminListDevices": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminListDevicesRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminListDevicesResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists devices, as an administrator.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminListDevicesRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name.</p>",
"smithy.api#required": {}
}
},
"Limit": {
"target": "com.amazonaws.cognitoidentityprovider#QueryLimitType",
"traits": {
"smithy.api#documentation": "<p>The limit of the devices request.</p>"
}
},
"PaginationToken": {
"target": "com.amazonaws.cognitoidentityprovider#SearchPaginationTokenType",
"traits": {
"smithy.api#documentation": "<p>The pagination token.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to list devices, as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminListDevicesResponse": {
"type": "structure",
"members": {
"Devices": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceListType",
"traits": {
"smithy.api#documentation": "<p>The devices in the list of devices response.</p>"
}
},
"PaginationToken": {
"target": "com.amazonaws.cognitoidentityprovider#SearchPaginationTokenType",
"traits": {
"smithy.api#documentation": "<p>The pagination token.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Lists the device's response, as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminListGroupsForUser": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminListGroupsForUserRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminListGroupsForUserResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the groups that the user belongs to.</p>\n <p>Calling this action requires developer credentials.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"items": "Groups",
"pageSize": "Limit"
}
}
},
"com.amazonaws.cognitoidentityprovider#AdminListGroupsForUserRequest": {
"type": "structure",
"members": {
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The username for the user.</p>",
"smithy.api#required": {}
}
},
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
},
"Limit": {
"target": "com.amazonaws.cognitoidentityprovider#QueryLimitType",
"traits": {
"smithy.api#documentation": "<p>The limit of the request to list groups.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKey",
"traits": {
"smithy.api#documentation": "<p>An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#AdminListGroupsForUserResponse": {
"type": "structure",
"members": {
"Groups": {
"target": "com.amazonaws.cognitoidentityprovider#GroupListType",
"traits": {
"smithy.api#documentation": "<p>The groups that the user belongs to.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKey",
"traits": {
"smithy.api#documentation": "<p>An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#AdminListUserAuthEvents": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminListUserAuthEventsRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminListUserAuthEventsResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserPoolAddOnNotEnabledException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists a history of user activity and any risks detected as part of Amazon Cognito\n advanced security.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"items": "AuthEvents",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.cognitoidentityprovider#AdminListUserAuthEventsRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user pool username or an alias.</p>",
"smithy.api#required": {}
}
},
"MaxResults": {
"target": "com.amazonaws.cognitoidentityprovider#QueryLimitType",
"traits": {
"smithy.api#documentation": "<p>The maximum number of authentication events to return.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKey",
"traits": {
"smithy.api#documentation": "<p>A pagination token.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#AdminListUserAuthEventsResponse": {
"type": "structure",
"members": {
"AuthEvents": {
"target": "com.amazonaws.cognitoidentityprovider#AuthEventsType",
"traits": {
"smithy.api#documentation": "<p>The response object. It includes the <code>EventID</code>, <code>EventType</code>,\n <code>CreationDate</code>, <code>EventRisk</code>, and\n <code>EventResponse</code>.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKey",
"traits": {
"smithy.api#documentation": "<p>A pagination token.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#AdminRemoveUserFromGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminRemoveUserFromGroupRequest"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Removes the specified user from the specified group.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminRemoveUserFromGroupRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The username for the user.</p>",
"smithy.api#required": {}
}
},
"GroupName": {
"target": "com.amazonaws.cognitoidentityprovider#GroupNameType",
"traits": {
"smithy.api#documentation": "<p>The group name.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#AdminResetUserPassword": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminResetUserPasswordRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminResetUserPasswordResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidEmailRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Resets the specified user's password in a user pool as an administrator. Works on any\n user.</p>\n <p>When a developer calls this API, the current password is invalidated, so it must be\n changed. If a user tries to sign in after the API is called, the app will get a\n PasswordResetRequiredException exception back and should direct the user down the flow\n to reset the password, which is the same as the forgot password flow. In addition, if\n the user pool has phone verification selected and a verified phone number exists for the\n user, or if email verification is selected and a verified email exists for the user,\n calling this API will also result in sending a message to the end user with the code to\n change their password.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminResetUserPasswordRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where you want to reset the user's password.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user whose password you wish to reset.</p>",
"smithy.api#required": {}
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers. </p>\n <p>You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the AdminResetUserPassword API action, Amazon Cognito invokes the function\n that is assigned to the <i>custom message</i> trigger. When Amazon Cognito\n invokes this function, it passes a JSON payload, which the function receives as input.\n This payload contains a <code>clientMetadata</code> attribute, which provides the data\n that you assigned to the ClientMetadata parameter in your AdminResetUserPassword\n request. In your function code in AWS Lambda, you can process the\n <code>clientMetadata</code> value to enhance your workflow for your specific\n needs.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to reset a user's password as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminResetUserPasswordResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server to reset a user password as an\n administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminRespondToAuthChallenge": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminRespondToAuthChallengeRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminRespondToAuthChallengeResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#AliasExistsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#CodeMismatchException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ExpiredCodeException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidPasswordException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#MFAMethodNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#SoftwareTokenMFANotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Responds to an authentication challenge, as an administrator.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminRespondToAuthChallengeRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The ID of the Amazon Cognito user pool.</p>",
"smithy.api#required": {}
}
},
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The app client ID.</p>",
"smithy.api#required": {}
}
},
"ChallengeName": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeNameType",
"traits": {
"smithy.api#documentation": "<p>The challenge name. For more information, see <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminInitiateAuth.html\">AdminInitiateAuth</a>.</p>",
"smithy.api#required": {}
}
},
"ChallengeResponses": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeResponsesType",
"traits": {
"smithy.api#documentation": "<p>The challenge responses. These are inputs corresponding to the value of\n <code>ChallengeName</code>, for example:</p>\n <ul>\n <li>\n <p>\n <code>SMS_MFA</code>: <code>SMS_MFA_CODE</code>, <code>USERNAME</code>,\n <code>SECRET_HASH</code> (if app client is configured with client\n secret).</p>\n </li>\n <li>\n <p>\n <code>PASSWORD_VERIFIER</code>: <code>PASSWORD_CLAIM_SIGNATURE</code>,\n <code>PASSWORD_CLAIM_SECRET_BLOCK</code>, <code>TIMESTAMP</code>,\n <code>USERNAME</code>, <code>SECRET_HASH</code> (if app client is configured\n with client secret).</p>\n </li>\n <li>\n <p>\n <code>ADMIN_NO_SRP_AUTH</code>: <code>PASSWORD</code>, <code>USERNAME</code>,\n <code>SECRET_HASH</code> (if app client is configured with client secret).\n </p>\n </li>\n <li>\n <p>\n <code>NEW_PASSWORD_REQUIRED</code>: <code>NEW_PASSWORD</code>, any other\n required attributes, <code>USERNAME</code>, <code>SECRET_HASH</code> (if app\n client is configured with client secret). </p>\n </li>\n <li>\n <p>\n <code>MFA_SETUP</code> requires <code>USERNAME</code>, plus you need to use\n the session value returned by <code>VerifySoftwareToken</code> in the\n <code>Session</code> parameter.</p>\n </li>\n </ul>\n <p>The value of the <code>USERNAME</code> attribute must be the user's actual username,\n not an alias (such as email address or phone number). To make this easier, the\n <code>AdminInitiateAuth</code> response includes the actual username value in the\n <code>USERNAMEUSER_ID_FOR_SRP</code> attribute, even if you specified an alias in\n your call to <code>AdminInitiateAuth</code>.</p>"
}
},
"Session": {
"target": "com.amazonaws.cognitoidentityprovider#SessionType",
"traits": {
"smithy.api#documentation": "<p>The session which should be passed both ways in challenge-response calls to the\n service. If <code>InitiateAuth</code> or <code>RespondToAuthChallenge</code> API call\n determines that the caller needs to go through another challenge, they return a session\n with other challenge parameters. This session should be passed as it is to the next\n <code>RespondToAuthChallenge</code> API call.</p>"
}
},
"AnalyticsMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType",
"traits": {
"smithy.api#documentation": "<p>The analytics metadata for collecting Amazon Pinpoint metrics for\n <code>AdminRespondToAuthChallenge</code> calls.</p>"
}
},
"ContextData": {
"target": "com.amazonaws.cognitoidentityprovider#ContextDataType",
"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>"
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers. </p>\n <p>You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the AdminRespondToAuthChallenge API action, Amazon Cognito invokes any\n functions that are assigned to the following triggers: <i>pre sign-up</i>,\n <i>custom message</i>, <i>post authentication</i>,\n <i>user migration</i>, <i>pre token generation</i>,\n <i>define auth challenge</i>, <i>create auth\n challenge</i>, and <i>verify auth challenge response</i>. When\n Amazon Cognito invokes any of these functions, it passes a JSON payload, which the\n function receives as input. This payload contains a <code>clientMetadata</code>\n attribute, which provides the data that you assigned to the ClientMetadata parameter in\n your AdminRespondToAuthChallenge request. In your function code in AWS Lambda, you can\n process the <code>clientMetadata</code> value to enhance your workflow for your specific\n needs.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The request to respond to the authentication challenge, as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminRespondToAuthChallengeResponse": {
"type": "structure",
"members": {
"ChallengeName": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the challenge. For more information, see <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminInitiateAuth.html\">AdminInitiateAuth</a>.</p>"
}
},
"Session": {
"target": "com.amazonaws.cognitoidentityprovider#SessionType",
"traits": {
"smithy.api#documentation": "<p>The session which should be passed both ways in challenge-response calls to the\n service. If the caller needs to go through another challenge, they return a session with\n other challenge parameters. This session should be passed as it is to the next\n <code>RespondToAuthChallenge</code> API call.</p>"
}
},
"ChallengeParameters": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeParametersType",
"traits": {
"smithy.api#documentation": "<p>The challenge parameters. For more information, see <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminInitiateAuth.html\">AdminInitiateAuth</a>.</p>"
}
},
"AuthenticationResult": {
"target": "com.amazonaws.cognitoidentityprovider#AuthenticationResultType",
"traits": {
"smithy.api#documentation": "<p>The result returned by the server in response to the authentication request.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Responds to the authentication challenge, as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminSetUserMFAPreference": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminSetUserMFAPreferenceRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminSetUserMFAPreferenceResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Sets the user's multi-factor authentication (MFA) preference, including which MFA\n options are enabled and if any are preferred. Only one factor can be set as preferred.\n The preferred MFA factor will be used to authenticate a user if multiple factors are\n enabled. If multiple options are enabled and no preference is set, a challenge to choose\n an MFA option will be returned during sign in.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminSetUserMFAPreferenceRequest": {
"type": "structure",
"members": {
"SMSMfaSettings": {
"target": "com.amazonaws.cognitoidentityprovider#SMSMfaSettingsType",
"traits": {
"smithy.api#documentation": "<p>The SMS text message MFA settings.</p>"
}
},
"SoftwareTokenMfaSettings": {
"target": "com.amazonaws.cognitoidentityprovider#SoftwareTokenMfaSettingsType",
"traits": {
"smithy.api#documentation": "<p>The time-based one-time password software token MFA settings.</p>"
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user pool username or alias.</p>",
"smithy.api#required": {}
}
},
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#AdminSetUserMFAPreferenceResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.cognitoidentityprovider#AdminSetUserPassword": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminSetUserPasswordRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminSetUserPasswordResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidPasswordException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Sets the specified user's password in a user pool as an administrator. Works on any\n user. </p>\n <p>The password can be temporary or permanent. If it is temporary, the user status will\n be placed into the <code>FORCE_CHANGE_PASSWORD</code> state. When the user next tries to\n sign in, the InitiateAuth/AdminInitiateAuth response will contain the\n <code>NEW_PASSWORD_REQUIRED</code> challenge. If the user does not sign in before it\n expires, the user will not be able to sign in and their password will need to be reset\n by an administrator. </p>\n <p>Once the user has set a new password, or the password is permanent, the user status\n will be set to <code>Confirmed</code>.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminSetUserPasswordRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where you want to set the user's password.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user whose password you wish to set.</p>",
"smithy.api#required": {}
}
},
"Password": {
"target": "com.amazonaws.cognitoidentityprovider#PasswordType",
"traits": {
"smithy.api#documentation": "<p>The password for the user.</p>",
"smithy.api#required": {}
}
},
"Permanent": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>\n <code>True</code> if the password is permanent, <code>False</code> if it is\n temporary.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#AdminSetUserPasswordResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.cognitoidentityprovider#AdminSetUserSettings": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminSetUserSettingsRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminSetUserSettingsResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n <i>This action is no longer supported.</i> You can use it to configure\n only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either\n type of MFA, use <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserMFAPreference.html\">AdminSetUserMFAPreference</a> instead.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminSetUserSettingsRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The ID of the user pool that contains the user that you are setting options\n for.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user that you are setting options for.</p>",
"smithy.api#required": {}
}
},
"MFAOptions": {
"target": "com.amazonaws.cognitoidentityprovider#MFAOptionListType",
"traits": {
"smithy.api#documentation": "<p>You can use this parameter only to set an SMS configuration that uses SMS for\n delivery.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>You can use this parameter to set an MFA configuration that uses the SMS delivery\n medium.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminSetUserSettingsResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server to set user settings as an\n administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminUpdateAuthEventFeedback": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminUpdateAuthEventFeedbackRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminUpdateAuthEventFeedbackResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserPoolAddOnNotEnabledException"
}
],
"traits": {
"smithy.api#documentation": "<p>Provides feedback for an authentication event as to whether it was from a valid user.\n This feedback is used for improving the risk evaluation decision for the user pool as\n part of Amazon Cognito advanced security.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminUpdateAuthEventFeedbackRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user pool username.</p>",
"smithy.api#required": {}
}
},
"EventId": {
"target": "com.amazonaws.cognitoidentityprovider#EventIdType",
"traits": {
"smithy.api#documentation": "<p>The authentication event ID.</p>",
"smithy.api#required": {}
}
},
"FeedbackValue": {
"target": "com.amazonaws.cognitoidentityprovider#FeedbackValueType",
"traits": {
"smithy.api#documentation": "<p>The authentication event feedback value.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#AdminUpdateAuthEventFeedbackResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.cognitoidentityprovider#AdminUpdateDeviceStatus": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminUpdateDeviceStatusRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminUpdateDeviceStatusResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the device status as an administrator.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminUpdateDeviceStatusRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name.</p>",
"smithy.api#required": {}
}
},
"DeviceKey": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceKeyType",
"traits": {
"smithy.api#documentation": "<p>The device key.</p>",
"smithy.api#required": {}
}
},
"DeviceRememberedStatus": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceRememberedStatusType",
"traits": {
"smithy.api#documentation": "<p>The status indicating whether a device has been remembered or not.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The request to update the device status, as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminUpdateDeviceStatusResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>The status response from the request to update the device, as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminUpdateUserAttributes": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminUpdateUserAttributesRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminUpdateUserAttributesResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#AliasExistsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidEmailRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the specified user's attributes, including developer attributes, as an\n administrator. Works on any user.</p>\n <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the\n attribute name.</p>\n <p>In addition to updating user attributes, this API can also be used to mark phone and\n email as verified.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminUpdateUserAttributesRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where you want to update user attributes.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user for whom you want to update user attributes.</p>",
"smithy.api#required": {}
}
},
"UserAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeListType",
"traits": {
"smithy.api#documentation": "<p>An array of name-value pairs representing user attributes.</p>\n <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the\n attribute name.</p>",
"smithy.api#required": {}
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers. </p>\n <p>You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the AdminUpdateUserAttributes API action, Amazon Cognito invokes the\n function that is assigned to the <i>custom message</i> trigger. When\n Amazon Cognito invokes this function, it passes a JSON payload, which the function\n receives as input. This payload contains a <code>clientMetadata</code> attribute, which\n provides the data that you assigned to the ClientMetadata parameter in your\n AdminUpdateUserAttributes request. In your function code in AWS Lambda, you can process\n the <code>clientMetadata</code> value to enhance your workflow for your specific\n needs.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to update the user's attributes as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminUpdateUserAttributesResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server for the request to update user attributes as\n an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminUserGlobalSignOut": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AdminUserGlobalSignOutRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AdminUserGlobalSignOutResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Signs out users from all devices, as an administrator. It also invalidates all refresh\n tokens issued to a user. The user's current access and Id tokens remain valid until\n their expiry. Access and Id tokens expire one hour after they are issued.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminUserGlobalSignOutRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The request to sign out of all devices, as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdminUserGlobalSignOutResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>The global sign-out response, as an administrator.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AdvancedSecurityModeType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "OFF",
"name": "OFF"
},
{
"value": "AUDIT",
"name": "AUDIT"
},
{
"value": "ENFORCED",
"name": "ENFORCED"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#AliasAttributeType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "phone_number",
"name": "PHONE_NUMBER"
},
{
"value": "email",
"name": "EMAIL"
},
{
"value": "preferred_username",
"name": "PREFERRED_USERNAME"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#AliasAttributesListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#AliasAttributeType"
}
},
"com.amazonaws.cognitoidentityprovider#AliasExistsException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message sent to the user when an alias exists.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when a user tries to confirm the account with an email or\n phone number that has already been supplied as an alias from a different account. This\n exception tells user that an account with this email or phone already exists.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#AnalyticsConfigurationType": {
"type": "structure",
"members": {
"ApplicationId": {
"target": "com.amazonaws.cognitoidentityprovider#HexStringType",
"traits": {
"smithy.api#documentation": "<p>The application ID for an Amazon Pinpoint application.</p>"
}
},
"ApplicationArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon\n Pinpoint project for Pinpoint integration with the chosen User Pool Client. Amazon\n Cognito publishes events to the pinpoint project declared by the app ARN.</p>"
}
},
"RoleArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon\n Pinpoint analytics.</p>"
}
},
"ExternalId": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The external ID.</p>"
}
},
"UserDataShared": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>If <code>UserDataShared</code> is <code>true</code>, Amazon Cognito will include user\n data in the events it publishes to Amazon Pinpoint analytics.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The Amazon Pinpoint analytics configuration for collecting metrics for a user\n pool.</p>\n <note>\n <p>In regions where Pinpoint is not available, Cognito User Pools only supports\n sending events to Amazon Pinpoint projects in us-east-1. In regions where Pinpoint\n is available, Cognito User Pools will support sending events to Amazon Pinpoint\n projects within that same region. </p>\n </note>"
}
},
"com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType": {
"type": "structure",
"members": {
"AnalyticsEndpointId": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The endpoint ID.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>An Amazon Pinpoint analytics endpoint.</p>\n <p>An endpoint uniquely identifies a mobile device, email address, or phone number that\n can receive messages from Amazon Pinpoint analytics.</p>\n <note>\n <p>Cognito User Pools only supports sending events to Amazon Pinpoint projects in the\n US East (N. Virginia) us-east-1 Region, regardless of the region in which the user\n pool resides.</p>\n </note>"
}
},
"com.amazonaws.cognitoidentityprovider#ArnType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 20,
"max": 2048
},
"smithy.api#pattern": "arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:([\\w+=/,.@-]*)?:[0-9]+:[\\w+=/,.@-]+(:[\\w+=/,.@-]+)?(:[\\w+=/,.@-]+)?"
}
},
"com.amazonaws.cognitoidentityprovider#AssociateSoftwareToken": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#AssociateSoftwareTokenRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#AssociateSoftwareTokenResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#ConcurrentModificationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#SoftwareTokenMFANotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns a unique generated shared secret key code for the user account. The request\n takes an access token or a session string, but not both.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AssociateSoftwareTokenRequest": {
"type": "structure",
"members": {
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token.</p>"
}
},
"Session": {
"target": "com.amazonaws.cognitoidentityprovider#SessionType",
"traits": {
"smithy.api#documentation": "<p>The session which should be passed both ways in challenge-response calls to the\n service. This allows authentication of the user as part of the MFA setup process.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#AssociateSoftwareTokenResponse": {
"type": "structure",
"members": {
"SecretCode": {
"target": "com.amazonaws.cognitoidentityprovider#SecretCodeType",
"traits": {
"smithy.api#documentation": "<p>A unique generated shared secret code that is used in the TOTP algorithm to generate a\n one time code.</p>"
}
},
"Session": {
"target": "com.amazonaws.cognitoidentityprovider#SessionType",
"traits": {
"smithy.api#documentation": "<p>The session which should be passed both ways in challenge-response calls to the\n service. This allows authentication of the user as part of the MFA setup process.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#AttributeDataType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "String",
"name": "STRING"
},
{
"value": "Number",
"name": "NUMBER"
},
{
"value": "DateTime",
"name": "DATETIME"
},
{
"value": "Boolean",
"name": "BOOLEAN"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#AttributeListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeType"
}
},
"com.amazonaws.cognitoidentityprovider#AttributeMappingKeyType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 32
}
}
},
"com.amazonaws.cognitoidentityprovider#AttributeMappingType": {
"type": "map",
"key": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeMappingKeyType"
},
"value": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
}
},
"com.amazonaws.cognitoidentityprovider#AttributeNameListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeNameType"
}
},
"com.amazonaws.cognitoidentityprovider#AttributeNameType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 32
},
"smithy.api#pattern": "[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+"
}
},
"com.amazonaws.cognitoidentityprovider#AttributeType": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the attribute.</p>",
"smithy.api#required": {}
}
},
"Value": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeValueType",
"traits": {
"smithy.api#documentation": "<p>The value of the attribute.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies whether the attribute is standard or custom.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AttributeValueType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 2048
},
"smithy.api#sensitive": {}
}
},
"com.amazonaws.cognitoidentityprovider#AuthEventType": {
"type": "structure",
"members": {
"EventId": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The event ID.</p>"
}
},
"EventType": {
"target": "com.amazonaws.cognitoidentityprovider#EventType",
"traits": {
"smithy.api#documentation": "<p>The event type.</p>"
}
},
"CreationDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The creation date</p>"
}
},
"EventResponse": {
"target": "com.amazonaws.cognitoidentityprovider#EventResponseType",
"traits": {
"smithy.api#documentation": "<p>The event response.</p>"
}
},
"EventRisk": {
"target": "com.amazonaws.cognitoidentityprovider#EventRiskType",
"traits": {
"smithy.api#documentation": "<p>The event risk.</p>"
}
},
"ChallengeResponses": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeResponseListType",
"traits": {
"smithy.api#documentation": "<p>The challenge responses.</p>"
}
},
"EventContextData": {
"target": "com.amazonaws.cognitoidentityprovider#EventContextDataType",
"traits": {
"smithy.api#documentation": "<p>The user context data captured at the time of an event request. It provides additional\n information about the client from which event the request is received.</p>"
}
},
"EventFeedback": {
"target": "com.amazonaws.cognitoidentityprovider#EventFeedbackType",
"traits": {
"smithy.api#documentation": "<p>A flag specifying the user feedback captured at the time of an event request is good\n or bad. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The authentication event type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#AuthEventsType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#AuthEventType"
}
},
"com.amazonaws.cognitoidentityprovider#AuthFlowType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "USER_SRP_AUTH",
"name": "USER_SRP_AUTH"
},
{
"value": "REFRESH_TOKEN_AUTH",
"name": "REFRESH_TOKEN_AUTH"
},
{
"value": "REFRESH_TOKEN",
"name": "REFRESH_TOKEN"
},
{
"value": "CUSTOM_AUTH",
"name": "CUSTOM_AUTH"
},
{
"value": "ADMIN_NO_SRP_AUTH",
"name": "ADMIN_NO_SRP_AUTH"
},
{
"value": "USER_PASSWORD_AUTH",
"name": "USER_PASSWORD_AUTH"
},
{
"value": "ADMIN_USER_PASSWORD_AUTH",
"name": "ADMIN_USER_PASSWORD_AUTH"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#AuthParametersType": {
"type": "map",
"key": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
},
"value": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
},
"traits": {
"smithy.api#sensitive": {}
}
},
"com.amazonaws.cognitoidentityprovider#AuthenticationResultType": {
"type": "structure",
"members": {
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token.</p>"
}
},
"ExpiresIn": {
"target": "com.amazonaws.cognitoidentityprovider#IntegerType",
"traits": {
"smithy.api#documentation": "<p>The expiration period of the authentication result in seconds.</p>"
}
},
"TokenType": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The token type.</p>"
}
},
"RefreshToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The refresh token.</p>"
}
},
"IdToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The ID token.</p>"
}
},
"NewDeviceMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#NewDeviceMetadataType",
"traits": {
"smithy.api#documentation": "<p>The new device metadata from an authentication result.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The authentication result.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#BlockedIPRangeListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 20
}
}
},
"com.amazonaws.cognitoidentityprovider#BooleanType": {
"type": "boolean"
},
"com.amazonaws.cognitoidentityprovider#CSSType": {
"type": "string"
},
"com.amazonaws.cognitoidentityprovider#CSSVersionType": {
"type": "string"
},
"com.amazonaws.cognitoidentityprovider#CallbackURLsListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#RedirectUrlType"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 100
}
}
},
"com.amazonaws.cognitoidentityprovider#ChallengeName": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "Password",
"name": "Password"
},
{
"value": "Mfa",
"name": "Mfa"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#ChallengeNameType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "SMS_MFA",
"name": "SMS_MFA"
},
{
"value": "SOFTWARE_TOKEN_MFA",
"name": "SOFTWARE_TOKEN_MFA"
},
{
"value": "SELECT_MFA_TYPE",
"name": "SELECT_MFA_TYPE"
},
{
"value": "MFA_SETUP",
"name": "MFA_SETUP"
},
{
"value": "PASSWORD_VERIFIER",
"name": "PASSWORD_VERIFIER"
},
{
"value": "CUSTOM_CHALLENGE",
"name": "CUSTOM_CHALLENGE"
},
{
"value": "DEVICE_SRP_AUTH",
"name": "DEVICE_SRP_AUTH"
},
{
"value": "DEVICE_PASSWORD_VERIFIER",
"name": "DEVICE_PASSWORD_VERIFIER"
},
{
"value": "ADMIN_NO_SRP_AUTH",
"name": "ADMIN_NO_SRP_AUTH"
},
{
"value": "NEW_PASSWORD_REQUIRED",
"name": "NEW_PASSWORD_REQUIRED"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#ChallengeParametersType": {
"type": "map",
"key": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
},
"value": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
}
},
"com.amazonaws.cognitoidentityprovider#ChallengeResponse": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "Success",
"name": "Success"
},
{
"value": "Failure",
"name": "Failure"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#ChallengeResponseListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeResponseType"
}
},
"com.amazonaws.cognitoidentityprovider#ChallengeResponseType": {
"type": "structure",
"members": {
"ChallengeName": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeName",
"traits": {
"smithy.api#documentation": "<p>The challenge name</p>"
}
},
"ChallengeResponse": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeResponse",
"traits": {
"smithy.api#documentation": "<p>The challenge response.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The challenge response type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ChallengeResponsesType": {
"type": "map",
"key": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
},
"value": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
}
},
"com.amazonaws.cognitoidentityprovider#ChangePassword": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ChangePasswordRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ChangePasswordResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidPasswordException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>Changes the password for a specified user in a user pool.</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#ChangePasswordRequest": {
"type": "structure",
"members": {
"PreviousPassword": {
"target": "com.amazonaws.cognitoidentityprovider#PasswordType",
"traits": {
"smithy.api#documentation": "<p>The old password.</p>",
"smithy.api#required": {}
}
},
"ProposedPassword": {
"target": "com.amazonaws.cognitoidentityprovider#PasswordType",
"traits": {
"smithy.api#documentation": "<p>The new password.</p>",
"smithy.api#required": {}
}
},
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to change a user password.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ChangePasswordResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>The response from the server to the change password request.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ClientIdType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[\\w+]+",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.cognitoidentityprovider#ClientMetadataType": {
"type": "map",
"key": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
},
"value": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
}
},
"com.amazonaws.cognitoidentityprovider#ClientNameType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[\\w\\s+=,.@-]+"
}
},
"com.amazonaws.cognitoidentityprovider#ClientPermissionListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#ClientPermissionType"
}
},
"com.amazonaws.cognitoidentityprovider#ClientPermissionType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 2048
}
}
},
"com.amazonaws.cognitoidentityprovider#ClientSecretType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 64
},
"smithy.api#pattern": "[\\w+]+",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.cognitoidentityprovider#CodeDeliveryDetailsListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryDetailsType"
}
},
"com.amazonaws.cognitoidentityprovider#CodeDeliveryDetailsType": {
"type": "structure",
"members": {
"Destination": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The destination for the code delivery details.</p>"
}
},
"DeliveryMedium": {
"target": "com.amazonaws.cognitoidentityprovider#DeliveryMediumType",
"traits": {
"smithy.api#documentation": "<p>The delivery medium (email message or phone number).</p>"
}
},
"AttributeName": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeNameType",
"traits": {
"smithy.api#documentation": "<p>The attribute name.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The code delivery details being returned from the server.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CodeDeliveryFailureException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message sent when a verification code fails to deliver successfully.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when a verification code fails to deliver\n successfully.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#CodeMismatchException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message provided when the code mismatch exception is thrown.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown if the provided code does not match what the server was\n expecting.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#CompletionMessageType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[\\w]+"
}
},
"com.amazonaws.cognitoidentityprovider#CompromisedCredentialsActionsType": {
"type": "structure",
"members": {
"EventAction": {
"target": "com.amazonaws.cognitoidentityprovider#CompromisedCredentialsEventActionType",
"traits": {
"smithy.api#documentation": "<p>The event action.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The compromised credentials actions type</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CompromisedCredentialsEventActionType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "BLOCK",
"name": "BLOCK"
},
{
"value": "NO_ACTION",
"name": "NO_ACTION"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#CompromisedCredentialsRiskConfigurationType": {
"type": "structure",
"members": {
"EventFilter": {
"target": "com.amazonaws.cognitoidentityprovider#EventFiltersType",
"traits": {
"smithy.api#documentation": "<p>Perform the action for these events. The default is to perform all events if no event\n filter is specified.</p>"
}
},
"Actions": {
"target": "com.amazonaws.cognitoidentityprovider#CompromisedCredentialsActionsType",
"traits": {
"smithy.api#documentation": "<p>The compromised credentials risk configuration actions.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The compromised credentials risk configuration type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ConcurrentModificationException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message provided when the concurrent exception is thrown.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown if two or more modifications are happening\n concurrently.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#ConfirmDevice": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ConfirmDeviceRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ConfirmDeviceResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidPasswordException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UsernameExistsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Confirms tracking of the device. This API call is the call that begins device\n tracking.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ConfirmDeviceRequest": {
"type": "structure",
"members": {
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token.</p>",
"smithy.api#required": {}
}
},
"DeviceKey": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceKeyType",
"traits": {
"smithy.api#documentation": "<p>The device key.</p>",
"smithy.api#required": {}
}
},
"DeviceSecretVerifierConfig": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceSecretVerifierConfigType",
"traits": {
"smithy.api#documentation": "<p>The configuration of the device secret verifier.</p>"
}
},
"DeviceName": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceNameType",
"traits": {
"smithy.api#documentation": "<p>The device name.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Confirms the device request.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ConfirmDeviceResponse": {
"type": "structure",
"members": {
"UserConfirmationNecessary": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>Indicates whether the user confirmation is necessary to confirm the device\n response.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Confirms the device response.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ConfirmForgotPassword": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ConfirmForgotPasswordRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ConfirmForgotPasswordResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#CodeMismatchException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ExpiredCodeException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidPasswordException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyFailedAttemptsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>Allows a user to enter a confirmation code to reset a forgotten password.</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#ConfirmForgotPasswordRequest": {
"type": "structure",
"members": {
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The app client ID of the app associated with the user pool.</p>",
"smithy.api#required": {}
}
},
"SecretHash": {
"target": "com.amazonaws.cognitoidentityprovider#SecretHashType",
"traits": {
"smithy.api#documentation": "<p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a\n user pool client and username plus the client ID in the message.</p>"
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user for whom you want to enter a code to retrieve a forgotten\n password.</p>",
"smithy.api#required": {}
}
},
"ConfirmationCode": {
"target": "com.amazonaws.cognitoidentityprovider#ConfirmationCodeType",
"traits": {
"smithy.api#documentation": "<p>The confirmation code sent by a user's request to retrieve a forgotten password. For\n more information, see <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html\">ForgotPassword</a>.</p>",
"smithy.api#required": {}
}
},
"Password": {
"target": "com.amazonaws.cognitoidentityprovider#PasswordType",
"traits": {
"smithy.api#documentation": "<p>The password sent by a user's request to retrieve a forgotten password.</p>",
"smithy.api#required": {}
}
},
"AnalyticsMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Pinpoint analytics metadata for collecting metrics for\n <code>ConfirmForgotPassword</code> calls.</p>"
}
},
"UserContextData": {
"target": "com.amazonaws.cognitoidentityprovider#UserContextDataType",
"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>"
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers. </p>\n <p>You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the ConfirmForgotPassword API action, Amazon Cognito invokes the function\n that is assigned to the <i>post confirmation</i> trigger. When Amazon\n Cognito invokes this function, it passes a JSON payload, which the function receives as\n input. This payload contains a <code>clientMetadata</code> attribute, which provides the\n data that you assigned to the ClientMetadata parameter in your ConfirmForgotPassword\n request. In your function code in AWS Lambda, you can process the\n <code>clientMetadata</code> value to enhance your workflow for your specific\n needs.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The request representing the confirmation for a password reset.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ConfirmForgotPasswordResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>The response from the server that results from a user's request to retrieve a\n forgotten password.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ConfirmSignUp": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ConfirmSignUpRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ConfirmSignUpResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#AliasExistsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#CodeMismatchException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ExpiredCodeException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyFailedAttemptsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>Confirms registration of a user and handles the existing alias from a previous\n user.</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#ConfirmSignUpRequest": {
"type": "structure",
"members": {
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The ID of the app client associated with the user pool.</p>",
"smithy.api#required": {}
}
},
"SecretHash": {
"target": "com.amazonaws.cognitoidentityprovider#SecretHashType",
"traits": {
"smithy.api#documentation": "<p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a\n user pool client and username plus the client ID in the message.</p>"
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user whose registration you wish to confirm.</p>",
"smithy.api#required": {}
}
},
"ConfirmationCode": {
"target": "com.amazonaws.cognitoidentityprovider#ConfirmationCodeType",
"traits": {
"smithy.api#documentation": "<p>The confirmation code sent by a user's request to confirm registration.</p>",
"smithy.api#required": {}
}
},
"ForceAliasCreation": {
"target": "com.amazonaws.cognitoidentityprovider#ForceAliasCreation",
"traits": {
"smithy.api#documentation": "<p>Boolean to be specified to force user confirmation irrespective of existing alias. By\n default set to <code>False</code>. If this parameter is set to <code>True</code> and the\n phone number/email used for sign up confirmation already exists as an alias with a\n different user, the API call will migrate the alias from the previous user to the newly\n created user being confirmed. If set to <code>False</code>, the API will throw an\n <b>AliasExistsException</b> error.</p>"
}
},
"AnalyticsMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Pinpoint analytics metadata for collecting metrics for\n <code>ConfirmSignUp</code> calls.</p>"
}
},
"UserContextData": {
"target": "com.amazonaws.cognitoidentityprovider#UserContextDataType",
"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>"
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers. </p>\n <p>You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the ConfirmSignUp API action, Amazon Cognito invokes the function that is\n assigned to the <i>post confirmation</i> trigger. When Amazon Cognito\n invokes this function, it passes a JSON payload, which the function receives as input.\n This payload contains a <code>clientMetadata</code> attribute, which provides the data\n that you assigned to the ClientMetadata parameter in your ConfirmSignUp request. In your\n function code in AWS Lambda, you can process the <code>clientMetadata</code> value to\n enhance your workflow for your specific needs.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to confirm registration of a user.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ConfirmSignUpResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server for the registration confirmation.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ConfirmationCodeType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 2048
},
"smithy.api#pattern": "[\\S]+"
}
},
"com.amazonaws.cognitoidentityprovider#ContextDataType": {
"type": "structure",
"members": {
"IpAddress": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>Source IP address of your user.</p>",
"smithy.api#required": {}
}
},
"ServerName": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>Your server endpoint where this API is invoked.</p>",
"smithy.api#required": {}
}
},
"ServerPath": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>Your server path where this API is invoked. </p>",
"smithy.api#required": {}
}
},
"HttpHeaders": {
"target": "com.amazonaws.cognitoidentityprovider#HttpHeaderList",
"traits": {
"smithy.api#documentation": "<p>HttpHeaders received on your server in same order.</p>",
"smithy.api#required": {}
}
},
"EncodedData": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>Encoded data containing device fingerprinting details, collected using the Amazon\n Cognito context data collection library.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contextual user data type used for evaluating the risk of an unexpected event by\n Amazon Cognito advanced security.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CreateGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#CreateGroupRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#CreateGroupResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#GroupExistsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a new group in the specified user pool.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CreateGroupRequest": {
"type": "structure",
"members": {
"GroupName": {
"target": "com.amazonaws.cognitoidentityprovider#GroupNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the group. Must be unique.</p>",
"smithy.api#required": {}
}
},
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.cognitoidentityprovider#DescriptionType",
"traits": {
"smithy.api#documentation": "<p>A string containing the description of the group.</p>"
}
},
"RoleArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The role ARN for the group.</p>"
}
},
"Precedence": {
"target": "com.amazonaws.cognitoidentityprovider#PrecedenceType",
"traits": {
"smithy.api#documentation": "<p>A nonnegative integer value that specifies the precedence of this group relative to\n the other groups that a user can belong to in the user pool. Zero is the highest\n precedence value. Groups with lower <code>Precedence</code> values take precedence over\n groups with higher or null <code>Precedence</code> values. If a user belongs to two or\n more groups, it is the group with the lowest precedence value whose role ARN will be\n used in the <code>cognito:roles</code> and <code>cognito:preferred_role</code> claims in\n the user's tokens.</p>\n <p>Two groups can have the same <code>Precedence</code> value. If this happens, neither\n group takes precedence over the other. If two groups with the same\n <code>Precedence</code> have the same role ARN, that role is used in the\n <code>cognito:preferred_role</code> claim in tokens for users in each group. If the\n two groups have different role ARNs, the <code>cognito:preferred_role</code> claim is\n not set in users' tokens.</p>\n <p>The default <code>Precedence</code> value is null.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#CreateGroupResponse": {
"type": "structure",
"members": {
"Group": {
"target": "com.amazonaws.cognitoidentityprovider#GroupType",
"traits": {
"smithy.api#documentation": "<p>The group object for the group.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#CreateIdentityProvider": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#CreateIdentityProviderRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#CreateIdentityProviderResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#DuplicateProviderException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates an identity provider for a user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CreateIdentityProviderRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"ProviderName": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderNameTypeV1",
"traits": {
"smithy.api#documentation": "<p>The identity provider name.</p>",
"smithy.api#required": {}
}
},
"ProviderType": {
"target": "com.amazonaws.cognitoidentityprovider#IdentityProviderTypeType",
"traits": {
"smithy.api#documentation": "<p>The identity provider type.</p>",
"smithy.api#required": {}
}
},
"ProviderDetails": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderDetailsType",
"traits": {
"smithy.api#documentation": "<p>The identity provider details. The following list describes the provider detail keys\n for each identity provider type.</p>\n <ul>\n <li>\n <p>For Google and Login with Amazon:</p>\n <ul>\n <li>\n <p>client_id</p>\n </li>\n <li>\n <p>client_secret</p>\n </li>\n <li>\n <p>authorize_scopes</p>\n </li>\n </ul>\n </li>\n <li>\n <p>For Facebook:</p>\n <ul>\n <li>\n <p>client_id</p>\n </li>\n <li>\n <p>client_secret</p>\n </li>\n <li>\n <p>authorize_scopes</p>\n </li>\n <li>\n <p>api_version</p>\n </li>\n </ul>\n </li>\n <li>\n <p>For Sign in with Apple:</p>\n <ul>\n <li>\n <p>client_id</p>\n </li>\n <li>\n <p>team_id</p>\n </li>\n <li>\n <p>key_id</p>\n </li>\n <li>\n <p>private_key</p>\n </li>\n <li>\n <p>authorize_scopes</p>\n </li>\n </ul>\n </li>\n <li>\n <p>For OIDC providers:</p>\n <ul>\n <li>\n <p>client_id</p>\n </li>\n <li>\n <p>client_secret</p>\n </li>\n <li>\n <p>attributes_request_method</p>\n </li>\n <li>\n <p>oidc_issuer</p>\n </li>\n <li>\n <p>authorize_scopes</p>\n </li>\n <li>\n <p>authorize_url <i>if not available from discovery URL specified\n by oidc_issuer key</i>\n </p>\n </li>\n <li>\n <p>token_url <i>if not available from discovery URL specified by\n oidc_issuer key</i>\n </p>\n </li>\n <li>\n <p>attributes_url <i>if not available from discovery URL specified\n by oidc_issuer key</i>\n </p>\n </li>\n <li>\n <p>jwks_uri <i>if not available from discovery URL specified by\n oidc_issuer key</i>\n </p>\n </li>\n </ul>\n </li>\n <li>\n <p>For SAML providers:</p>\n <ul>\n <li>\n <p>MetadataFile OR MetadataURL</p>\n </li>\n <li>\n <p>IDPSignout <i>optional</i>\n </p>\n </li>\n </ul>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"AttributeMapping": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeMappingType",
"traits": {
"smithy.api#documentation": "<p>A mapping of identity provider attributes to standard and custom user pool\n attributes.</p>"
}
},
"IdpIdentifiers": {
"target": "com.amazonaws.cognitoidentityprovider#IdpIdentifiersListType",
"traits": {
"smithy.api#documentation": "<p>A list of identity provider identifiers.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#CreateIdentityProviderResponse": {
"type": "structure",
"members": {
"IdentityProvider": {
"target": "com.amazonaws.cognitoidentityprovider#IdentityProviderType",
"traits": {
"smithy.api#documentation": "<p>The newly created identity provider object.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#CreateResourceServer": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#CreateResourceServerRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#CreateResourceServerResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a new OAuth2.0 resource server and defines custom scopes in it.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CreateResourceServerRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
},
"Identifier": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerIdentifierType",
"traits": {
"smithy.api#documentation": "<p>A unique resource server identifier for the resource server. This could be an HTTPS\n endpoint where the resource server is located. For example,\n <code>https://my-weather-api.example.com</code>.</p>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerNameType",
"traits": {
"smithy.api#documentation": "<p>A friendly name for the resource server.</p>",
"smithy.api#required": {}
}
},
"Scopes": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerScopeListType",
"traits": {
"smithy.api#documentation": "<p>A list of scopes. Each scope is map, where the keys are <code>name</code> and\n <code>description</code>.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#CreateResourceServerResponse": {
"type": "structure",
"members": {
"ResourceServer": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerType",
"traits": {
"smithy.api#documentation": "<p>The newly created resource server.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#CreateUserImportJob": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#CreateUserImportJobRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#CreateUserImportJobResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PreconditionNotMetException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates the user import job.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CreateUserImportJobRequest": {
"type": "structure",
"members": {
"JobName": {
"target": "com.amazonaws.cognitoidentityprovider#UserImportJobNameType",
"traits": {
"smithy.api#documentation": "<p>The job name for the user import job.</p>",
"smithy.api#required": {}
}
},
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool that the users are being imported into.</p>",
"smithy.api#required": {}
}
},
"CloudWatchLogsRoleArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The role ARN for the Amazon CloudWatch Logging role for the user import job.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to create the user import job.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CreateUserImportJobResponse": {
"type": "structure",
"members": {
"UserImportJob": {
"target": "com.amazonaws.cognitoidentityprovider#UserImportJobType",
"traits": {
"smithy.api#documentation": "<p>The job object that represents the user import job.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server to the request to create the user import\n job.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CreateUserPool": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#CreateUserPoolRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#CreateUserPoolResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidEmailRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserPoolTaggingException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a new Amazon Cognito user pool and sets the password policy for the\n pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CreateUserPoolClient": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#CreateUserPoolClientRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#CreateUserPoolClientResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidOAuthFlowException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ScopeDoesNotExistException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates the user pool client.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CreateUserPoolClientRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where you want to create a user pool client.</p>",
"smithy.api#required": {}
}
},
"ClientName": {
"target": "com.amazonaws.cognitoidentityprovider#ClientNameType",
"traits": {
"smithy.api#documentation": "<p>The client name for the user pool client you would like to create.</p>",
"smithy.api#required": {}
}
},
"GenerateSecret": {
"target": "com.amazonaws.cognitoidentityprovider#GenerateSecret",
"traits": {
"smithy.api#documentation": "<p>Boolean to specify whether you want to generate a secret for the user pool client\n being created.</p>"
}
},
"RefreshTokenValidity": {
"target": "com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType",
"traits": {
"smithy.api#documentation": "<p>The time limit, in days, after which the refresh token is no longer valid and cannot\n be used.</p>"
}
},
"AccessTokenValidity": {
"target": "com.amazonaws.cognitoidentityprovider#AccessTokenValidityType",
"traits": {
"smithy.api#documentation": "<p>The time limit, between 5 minutes and 1 day, after which the access token is no longer\n valid and cannot be used. This value will be overridden if you have entered a value in\n TokenValidityUnits.</p>"
}
},
"IdTokenValidity": {
"target": "com.amazonaws.cognitoidentityprovider#IdTokenValidityType",
"traits": {
"smithy.api#documentation": "<p>The time limit, between 5 minutes and 1 day, after which the ID token is no longer\n valid and cannot be used. This value will be overridden if you have entered a value in\n TokenValidityUnits.</p>"
}
},
"TokenValidityUnits": {
"target": "com.amazonaws.cognitoidentityprovider#TokenValidityUnitsType",
"traits": {
"smithy.api#documentation": "<p>The units in which the validity times are represented in. Default for RefreshToken is\n days, and default for ID and access tokens are hours.</p>"
}
},
"ReadAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#ClientPermissionListType",
"traits": {
"smithy.api#documentation": "<p>The read attributes.</p>"
}
},
"WriteAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#ClientPermissionListType",
"traits": {
"smithy.api#documentation": "<p>The user pool attributes that the app client can write to.</p>\n <p>If your app client allows users to sign in through an identity provider, this array\n must include all attributes that are mapped to identity provider attributes. Amazon\n Cognito updates mapped attributes when users sign in to your application through an\n identity provider. If your app client lacks write access to a mapped attribute, Amazon\n Cognito throws an error when it attempts to update the attribute. For more information,\n see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-specifying-attribute-mapping.html\">Specifying Identity Provider Attribute Mappings for Your User\n Pool</a>.</p>"
}
},
"ExplicitAuthFlows": {
"target": "com.amazonaws.cognitoidentityprovider#ExplicitAuthFlowsListType",
"traits": {
"smithy.api#documentation": "<p>The authentication flows that are supported by the user pool clients. Flow names\n without the <code>ALLOW_</code> prefix are deprecated in favor of new names with the\n <code>ALLOW_</code> prefix. Note that values with <code>ALLOW_</code> prefix cannot\n be used along with values without <code>ALLOW_</code> prefix.</p>\n <p>Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>ALLOW_ADMIN_USER_PASSWORD_AUTH</code>: Enable admin based user password\n authentication flow <code>ADMIN_USER_PASSWORD_AUTH</code>. This setting replaces\n the <code>ADMIN_NO_SRP_AUTH</code> setting. With this authentication flow,\n Cognito receives the password in the request instead of using the SRP (Secure\n Remote Password protocol) protocol to verify passwords.</p>\n </li>\n <li>\n <p>\n <code>ALLOW_CUSTOM_AUTH</code>: Enable Lambda trigger based\n authentication.</p>\n </li>\n <li>\n <p>\n <code>ALLOW_USER_PASSWORD_AUTH</code>: Enable user password-based\n authentication. In this flow, Cognito receives the password in the request\n instead of using the SRP protocol to verify passwords.</p>\n </li>\n <li>\n <p>\n <code>ALLOW_USER_SRP_AUTH</code>: Enable SRP based authentication.</p>\n </li>\n <li>\n <p>\n <code>ALLOW_REFRESH_TOKEN_AUTH</code>: Enable authflow to refresh\n tokens.</p>\n </li>\n </ul>"
}
},
"SupportedIdentityProviders": {
"target": "com.amazonaws.cognitoidentityprovider#SupportedIdentityProvidersListType",
"traits": {
"smithy.api#documentation": "<p>A list of provider names for the identity providers that are supported on this client.\n The following are supported: <code>COGNITO</code>, <code>Facebook</code>,\n <code>Google</code> and <code>LoginWithAmazon</code>.</p>"
}
},
"CallbackURLs": {
"target": "com.amazonaws.cognitoidentityprovider#CallbackURLsListType",
"traits": {
"smithy.api#documentation": "<p>A list of allowed redirect (callback) URLs for the identity providers.</p>\n <p>A redirect URI must:</p>\n <ul>\n <li>\n <p>Be an absolute URI.</p>\n </li>\n <li>\n <p>Be registered with the authorization server.</p>\n </li>\n <li>\n <p>Not include a fragment component.</p>\n </li>\n </ul>\n <p>See <a href=\"https://tools.ietf.org/html/rfc6749#section-3.1.2\">OAuth 2.0 -\n Redirection Endpoint</a>.</p>\n <p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing\n purposes only.</p>\n <p>App callback URLs such as myapp://example are also supported.</p>"
}
},
"LogoutURLs": {
"target": "com.amazonaws.cognitoidentityprovider#LogoutURLsListType",
"traits": {
"smithy.api#documentation": "<p>A list of allowed logout URLs for the identity providers.</p>"
}
},
"DefaultRedirectURI": {
"target": "com.amazonaws.cognitoidentityprovider#RedirectUrlType",
"traits": {
"smithy.api#documentation": "<p>The default redirect URI. Must be in the <code>CallbackURLs</code> list.</p>\n <p>A redirect URI must:</p>\n <ul>\n <li>\n <p>Be an absolute URI.</p>\n </li>\n <li>\n <p>Be registered with the authorization server.</p>\n </li>\n <li>\n <p>Not include a fragment component.</p>\n </li>\n </ul>\n <p>See <a href=\"https://tools.ietf.org/html/rfc6749#section-3.1.2\">OAuth 2.0 -\n Redirection Endpoint</a>.</p>\n <p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing\n purposes only.</p>\n <p>App callback URLs such as myapp://example are also supported.</p>"
}
},
"AllowedOAuthFlows": {
"target": "com.amazonaws.cognitoidentityprovider#OAuthFlowsType",
"traits": {
"smithy.api#documentation": "<p>The allowed OAuth flows.</p>\n <p>Set to <code>code</code> to initiate a code grant flow, which provides an\n authorization code as the response. This code can be exchanged for access tokens with\n the token endpoint.</p>\n <p>Set to <code>implicit</code> to specify that the client should get the access token\n (and, optionally, ID token, based on scopes) directly.</p>\n <p>Set to <code>client_credentials</code> to specify that the client should get the\n access token (and, optionally, ID token, based on scopes) from the token endpoint using\n a combination of client and client_secret.</p>"
}
},
"AllowedOAuthScopes": {
"target": "com.amazonaws.cognitoidentityprovider#ScopeListType",
"traits": {
"smithy.api#documentation": "<p>The allowed OAuth scopes. Possible values provided by OAuth are: <code>phone</code>,\n <code>email</code>, <code>openid</code>, and <code>profile</code>. Possible values\n provided by AWS are: <code>aws.cognito.signin.user.admin</code>. Custom scopes created\n in Resource Servers are also supported.</p>"
}
},
"AllowedOAuthFlowsUserPoolClient": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>Set to true if the client is allowed to follow the OAuth protocol when interacting\n with Cognito user pools.</p>"
}
},
"AnalyticsConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#AnalyticsConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Pinpoint analytics configuration for collecting metrics for this user\n pool.</p>\n <note>\n <p>In regions where Pinpoint is not available, Cognito User Pools only supports\n sending events to Amazon Pinpoint projects in us-east-1. In regions where Pinpoint\n is available, Cognito User Pools will support sending events to Amazon Pinpoint\n projects within that same region. </p>\n </note>"
}
},
"PreventUserExistenceErrors": {
"target": "com.amazonaws.cognitoidentityprovider#PreventUserExistenceErrorTypes",
"traits": {
"smithy.api#documentation": "<p>Use this setting to choose which errors and responses are returned by Cognito APIs\n during authentication, account confirmation, and password recovery when the user does\n not exist in the user pool. When set to <code>ENABLED</code> and the user does not\n exist, authentication returns an error indicating either the username or password was\n incorrect, and account confirmation and password recovery return a response indicating a\n code was sent to a simulated destination. When set to <code>LEGACY</code>, those APIs\n will return a <code>UserNotFoundException</code> exception if the user does not exist in\n the user pool.</p>\n <p>Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>ENABLED</code> - This prevents user existence-related errors.</p>\n </li>\n <li>\n <p>\n <code>LEGACY</code> - This represents the old behavior of Cognito where user\n existence related errors are not prevented.</p>\n </li>\n </ul>\n \n \n <note>\n <p>After February 15th 2020, the value of <code>PreventUserExistenceErrors</code>\n will default to <code>ENABLED</code> for newly created user pool clients if no value\n is provided.</p>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to create a user pool client.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CreateUserPoolClientResponse": {
"type": "structure",
"members": {
"UserPoolClient": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolClientType",
"traits": {
"smithy.api#documentation": "<p>The user pool client that was just created.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server to create a user pool client.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CreateUserPoolDomain": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#CreateUserPoolDomainRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#CreateUserPoolDomainResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a new domain for a user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CreateUserPoolDomainRequest": {
"type": "structure",
"members": {
"Domain": {
"target": "com.amazonaws.cognitoidentityprovider#DomainType",
"traits": {
"smithy.api#documentation": "<p>The domain string.</p>",
"smithy.api#required": {}
}
},
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"CustomDomainConfig": {
"target": "com.amazonaws.cognitoidentityprovider#CustomDomainConfigType",
"traits": {
"smithy.api#documentation": "<p>The configuration for a custom domain that hosts the sign-up and sign-in webpages for\n your application.</p>\n <p>Provide this parameter only if you want to use a custom domain for your user pool.\n Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain\n instead.</p>\n <p>For more information about the hosted domain and custom domains, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-assign-domain.html\">Configuring a User Pool Domain</a>.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#CreateUserPoolDomainResponse": {
"type": "structure",
"members": {
"CloudFrontDomain": {
"target": "com.amazonaws.cognitoidentityprovider#DomainType",
"traits": {
"smithy.api#documentation": "<p>The Amazon CloudFront endpoint that you use as the target of the alias that you set up\n with your Domain Name Service (DNS) provider.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#CreateUserPoolRequest": {
"type": "structure",
"members": {
"PoolName": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolNameType",
"traits": {
"smithy.api#documentation": "<p>A string used to name the user pool.</p>",
"smithy.api#required": {}
}
},
"Policies": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolPolicyType",
"traits": {
"smithy.api#documentation": "<p>The policies associated with the new user pool.</p>"
}
},
"LambdaConfig": {
"target": "com.amazonaws.cognitoidentityprovider#LambdaConfigType",
"traits": {
"smithy.api#documentation": "<p>The Lambda trigger configuration information for the new user pool.</p>\n <note>\n <p>In a push model, event sources (such as Amazon S3 and custom applications) need\n permission to invoke a function. So you will need to make an extra call to add\n permission for these event sources to invoke your Lambda function.</p>\n <p></p>\n <p>For more information on using the Lambda API to add permission, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/API_AddPermission.html\">\n AddPermission </a>. </p>\n <p>For adding permission using the AWS CLI, see <a href=\"https://docs.aws.amazon.com/cli/latest/reference/lambda/add-permission.html\"> add-permission\n </a>.</p>\n </note>"
}
},
"AutoVerifiedAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#VerifiedAttributesListType",
"traits": {
"smithy.api#documentation": "<p>The attributes to be auto-verified. Possible values: <b>email</b>, <b>phone_number</b>.</p>"
}
},
"AliasAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#AliasAttributesListType",
"traits": {
"smithy.api#documentation": "<p>Attributes supported as an alias for this user pool. Possible values: <b>phone_number</b>, <b>email</b>, or\n <b>preferred_username</b>.</p>"
}
},
"UsernameAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameAttributesListType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether email addresses or phone numbers can be specified as usernames when\n a user signs up.</p>"
}
},
"SmsVerificationMessage": {
"target": "com.amazonaws.cognitoidentityprovider#SmsVerificationMessageType",
"traits": {
"smithy.api#documentation": "<p>A string representing the SMS verification message.</p>"
}
},
"EmailVerificationMessage": {
"target": "com.amazonaws.cognitoidentityprovider#EmailVerificationMessageType",
"traits": {
"smithy.api#documentation": "<p>A string representing the email verification message. EmailVerificationMessage is\n allowed only if <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount\">EmailSendingAccount</a> is DEVELOPER. </p>"
}
},
"EmailVerificationSubject": {
"target": "com.amazonaws.cognitoidentityprovider#EmailVerificationSubjectType",
"traits": {
"smithy.api#documentation": "<p>A string representing the email verification subject. EmailVerificationSubject is\n allowed only if <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount\">EmailSendingAccount</a> is DEVELOPER. </p>"
}
},
"VerificationMessageTemplate": {
"target": "com.amazonaws.cognitoidentityprovider#VerificationMessageTemplateType",
"traits": {
"smithy.api#documentation": "<p>The template for the verification message that the user sees when the app requests\n permission to access the user's information.</p>"
}
},
"SmsAuthenticationMessage": {
"target": "com.amazonaws.cognitoidentityprovider#SmsVerificationMessageType",
"traits": {
"smithy.api#documentation": "<p>A string representing the SMS authentication message.</p>"
}
},
"MfaConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolMfaType",
"traits": {
"smithy.api#documentation": "<p>Specifies MFA configuration details.</p>"
}
},
"DeviceConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The device configuration.</p>"
}
},
"EmailConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#EmailConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The email configuration.</p>"
}
},
"SmsConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#SmsConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The SMS configuration.</p>"
}
},
"UserPoolTags": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolTagsType",
"traits": {
"smithy.api#documentation": "<p>The tag keys and values to assign to the user pool. A tag is a label that you can use\n to categorize and manage user pools in different ways, such as by purpose, owner,\n environment, or other criteria.</p>"
}
},
"AdminCreateUserConfig": {
"target": "com.amazonaws.cognitoidentityprovider#AdminCreateUserConfigType",
"traits": {
"smithy.api#documentation": "<p>The configuration for <code>AdminCreateUser</code> requests.</p>"
}
},
"Schema": {
"target": "com.amazonaws.cognitoidentityprovider#SchemaAttributesListType",
"traits": {
"smithy.api#documentation": "<p>An array of schema attributes for the new user pool. These attributes can be standard\n or custom attributes.</p>"
}
},
"UserPoolAddOns": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolAddOnsType",
"traits": {
"smithy.api#documentation": "<p>Used to enable advanced security risk detection. Set the key\n <code>AdvancedSecurityMode</code> to the value \"AUDIT\".</p>"
}
},
"UsernameConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameConfigurationType",
"traits": {
"smithy.api#documentation": "<p>You can choose to set case sensitivity on the username input for the selected sign-in\n option. For example, when this is set to <code>False</code>, users will be able to sign\n in using either \"username\" or \"Username\". This configuration is immutable once it has\n been set. For more information, see <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UsernameConfigurationType.html\">UsernameConfigurationType</a>.</p>"
}
},
"AccountRecoverySetting": {
"target": "com.amazonaws.cognitoidentityprovider#AccountRecoverySettingType",
"traits": {
"smithy.api#documentation": "<p>Use this setting to define which verified available method a user can use to recover\n their password when they call <code>ForgotPassword</code>. It allows you to define a\n preferred method when a user has more than one method available. With this setting, SMS\n does not qualify for a valid password recovery mechanism if the user also has SMS MFA\n enabled. In the absence of this setting, Cognito uses the legacy behavior to determine\n the recovery method where SMS is preferred over email.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to create a user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CreateUserPoolResponse": {
"type": "structure",
"members": {
"UserPool": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolType",
"traits": {
"smithy.api#documentation": "<p>A container for the user pool details.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server for the request to create a user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CustomAttributeNameType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 20
},
"smithy.api#pattern": "[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+"
}
},
"com.amazonaws.cognitoidentityprovider#CustomAttributesListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#SchemaAttributeType"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 25
}
}
},
"com.amazonaws.cognitoidentityprovider#CustomDomainConfigType": {
"type": "structure",
"members": {
"CertificateArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of an AWS Certificate Manager SSL certificate. You use\n this certificate for the subdomain of your custom domain.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The configuration for a custom domain that hosts the sign-up and sign-in webpages for\n your application.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CustomEmailLambdaVersionConfigType": {
"type": "structure",
"members": {
"LambdaVersion": {
"target": "com.amazonaws.cognitoidentityprovider#CustomEmailSenderLambdaVersionType",
"traits": {
"smithy.api#documentation": "<p>The Lambda version represents the signature of the \"request\" attribute in the \"event\"\n information Amazon Cognito passes to your custom email Lambda function. The only\n supported value is <code>V1_0</code>.</p>",
"smithy.api#required": {}
}
},
"LambdaArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The Lambda Amazon Resource Name of the Lambda function that Amazon Cognito triggers to\n send email notifications to users.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A custom email sender Lambda configuration type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CustomEmailSenderLambdaVersionType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "V1_0",
"name": "V1_0"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#CustomSMSLambdaVersionConfigType": {
"type": "structure",
"members": {
"LambdaVersion": {
"target": "com.amazonaws.cognitoidentityprovider#CustomSMSSenderLambdaVersionType",
"traits": {
"smithy.api#documentation": "<p>The Lambda version represents the signature of the \"request\" attribute in the \"event\"\n information Amazon Cognito passes to your custom SMS Lambda function. The only supported\n value is <code>V1_0</code>.</p>",
"smithy.api#required": {}
}
},
"LambdaArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The Lambda Amazon Resource Name of the Lambda function that Amazon Cognito triggers to\n send SMS notifications to users.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A custom SMS sender Lambda configuration type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#CustomSMSSenderLambdaVersionType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "V1_0",
"name": "V1_0"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#DateType": {
"type": "timestamp"
},
"com.amazonaws.cognitoidentityprovider#DefaultEmailOptionType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CONFIRM_WITH_LINK",
"name": "CONFIRM_WITH_LINK"
},
{
"value": "CONFIRM_WITH_CODE",
"name": "CONFIRM_WITH_CODE"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#DeleteGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DeleteGroupRequest"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a group.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DeleteGroupRequest": {
"type": "structure",
"members": {
"GroupName": {
"target": "com.amazonaws.cognitoidentityprovider#GroupNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the group.</p>",
"smithy.api#required": {}
}
},
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#DeleteIdentityProvider": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DeleteIdentityProviderRequest"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnsupportedIdentityProviderException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes an identity provider for a user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DeleteIdentityProviderRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"ProviderName": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderNameType",
"traits": {
"smithy.api#documentation": "<p>The identity provider name.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#DeleteResourceServer": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DeleteResourceServerRequest"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a resource server.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DeleteResourceServerRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool that hosts the resource server.</p>",
"smithy.api#required": {}
}
},
"Identifier": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerIdentifierType",
"traits": {
"smithy.api#documentation": "<p>The identifier for the resource server.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#DeleteUser": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DeleteUserRequest"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>Allows a user to delete himself or herself.</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#DeleteUserAttributes": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DeleteUserAttributesRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#DeleteUserAttributesResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>Deletes the attributes for a user.</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#DeleteUserAttributesRequest": {
"type": "structure",
"members": {
"UserAttributeNames": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeNameListType",
"traits": {
"smithy.api#documentation": "<p>An array of strings representing the user attribute names you wish to delete.</p>\n <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the\n attribute name.</p>",
"smithy.api#required": {}
}
},
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token used in the request to delete user attributes.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to delete user attributes.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DeleteUserAttributesResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server to delete user attributes.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DeleteUserPool": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DeleteUserPoolRequest"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserImportInProgressException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the specified Amazon Cognito user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DeleteUserPoolClient": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DeleteUserPoolClientRequest"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Allows the developer to delete the user pool client.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DeleteUserPoolClientRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where you want to delete the client.</p>",
"smithy.api#required": {}
}
},
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The app client ID of the app associated with the user pool.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to delete a user pool client.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DeleteUserPoolDomain": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DeleteUserPoolDomainRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#DeleteUserPoolDomainResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a domain for a user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DeleteUserPoolDomainRequest": {
"type": "structure",
"members": {
"Domain": {
"target": "com.amazonaws.cognitoidentityprovider#DomainType",
"traits": {
"smithy.api#documentation": "<p>The domain string.</p>",
"smithy.api#required": {}
}
},
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#DeleteUserPoolDomainResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.cognitoidentityprovider#DeleteUserPoolRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool you want to delete.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to delete a user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DeleteUserRequest": {
"type": "structure",
"members": {
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token from a request to delete a user.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to delete a user.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DeliveryMediumListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#DeliveryMediumType"
}
},
"com.amazonaws.cognitoidentityprovider#DeliveryMediumType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "SMS",
"name": "SMS"
},
{
"value": "EMAIL",
"name": "EMAIL"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#DescribeIdentityProvider": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DescribeIdentityProviderRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#DescribeIdentityProviderResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets information about a specific identity provider.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DescribeIdentityProviderRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"ProviderName": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderNameType",
"traits": {
"smithy.api#documentation": "<p>The identity provider name.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#DescribeIdentityProviderResponse": {
"type": "structure",
"members": {
"IdentityProvider": {
"target": "com.amazonaws.cognitoidentityprovider#IdentityProviderType",
"traits": {
"smithy.api#documentation": "<p>The identity provider that was deleted.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#DescribeResourceServer": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DescribeResourceServerRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#DescribeResourceServerResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Describes a resource server.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DescribeResourceServerRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool that hosts the resource server.</p>",
"smithy.api#required": {}
}
},
"Identifier": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerIdentifierType",
"traits": {
"smithy.api#documentation": "<p>The identifier for the resource server</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#DescribeResourceServerResponse": {
"type": "structure",
"members": {
"ResourceServer": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerType",
"traits": {
"smithy.api#documentation": "<p>The resource server.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#DescribeRiskConfiguration": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DescribeRiskConfigurationRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#DescribeRiskConfigurationResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserPoolAddOnNotEnabledException"
}
],
"traits": {
"smithy.api#documentation": "<p>Describes the risk configuration.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DescribeRiskConfigurationRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The app client ID.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#DescribeRiskConfigurationResponse": {
"type": "structure",
"members": {
"RiskConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#RiskConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The risk configuration.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#DescribeUserImportJob": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DescribeUserImportJobRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#DescribeUserImportJobResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Describes the user import job.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DescribeUserImportJobRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool that the users are being imported into.</p>",
"smithy.api#required": {}
}
},
"JobId": {
"target": "com.amazonaws.cognitoidentityprovider#UserImportJobIdType",
"traits": {
"smithy.api#documentation": "<p>The job ID for the user import job.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to describe the user import job.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DescribeUserImportJobResponse": {
"type": "structure",
"members": {
"UserImportJob": {
"target": "com.amazonaws.cognitoidentityprovider#UserImportJobType",
"traits": {
"smithy.api#documentation": "<p>The job object that represents the user import job.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server to the request to describe the user import\n job.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DescribeUserPool": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DescribeUserPoolRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#DescribeUserPoolResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserPoolTaggingException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns the configuration information and metadata of the specified user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DescribeUserPoolClient": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DescribeUserPoolClientRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#DescribeUserPoolClientResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Client method for returning the configuration information and metadata of the\n specified user pool app client.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DescribeUserPoolClientRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool you want to describe.</p>",
"smithy.api#required": {}
}
},
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The app client ID of the app associated with the user pool.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to describe a user pool client.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DescribeUserPoolClientResponse": {
"type": "structure",
"members": {
"UserPoolClient": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolClientType",
"traits": {
"smithy.api#documentation": "<p>The user pool client from a server response to describe the user pool client.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server from a request to describe the user pool\n client.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DescribeUserPoolDomain": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#DescribeUserPoolDomainRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#DescribeUserPoolDomainResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets information about a domain.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DescribeUserPoolDomainRequest": {
"type": "structure",
"members": {
"Domain": {
"target": "com.amazonaws.cognitoidentityprovider#DomainType",
"traits": {
"smithy.api#documentation": "<p>The domain string.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#DescribeUserPoolDomainResponse": {
"type": "structure",
"members": {
"DomainDescription": {
"target": "com.amazonaws.cognitoidentityprovider#DomainDescriptionType",
"traits": {
"smithy.api#documentation": "<p>A domain description object containing information about the domain.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#DescribeUserPoolRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool you want to describe.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to describe the user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DescribeUserPoolResponse": {
"type": "structure",
"members": {
"UserPool": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolType",
"traits": {
"smithy.api#documentation": "<p>The container of metadata returned by the server to describe the pool.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response to describe the user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DescriptionType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 2048
}
}
},
"com.amazonaws.cognitoidentityprovider#DeviceConfigurationType": {
"type": "structure",
"members": {
"ChallengeRequiredOnNewDevice": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>Indicates whether a challenge is required on a new device. Only applicable to a new\n device.</p>"
}
},
"DeviceOnlyRememberedOnUserPrompt": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>If true, a device is only remembered on user prompt.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The configuration for the user pool's device tracking.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DeviceKeyType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 55
},
"smithy.api#pattern": "[\\w-]+_[0-9a-f-]+"
}
},
"com.amazonaws.cognitoidentityprovider#DeviceListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceType"
}
},
"com.amazonaws.cognitoidentityprovider#DeviceNameType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1024
}
}
},
"com.amazonaws.cognitoidentityprovider#DeviceRememberedStatusType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "remembered",
"name": "REMEMBERED"
},
{
"value": "not_remembered",
"name": "NOT_REMEMBERED"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#DeviceSecretVerifierConfigType": {
"type": "structure",
"members": {
"PasswordVerifier": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The password verifier.</p>"
}
},
"Salt": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The salt.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The device verifier against which it will be authenticated.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DeviceType": {
"type": "structure",
"members": {
"DeviceKey": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceKeyType",
"traits": {
"smithy.api#documentation": "<p>The device key.</p>"
}
},
"DeviceAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeListType",
"traits": {
"smithy.api#documentation": "<p>The device attributes.</p>"
}
},
"DeviceCreateDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The creation date of the device.</p>"
}
},
"DeviceLastModifiedDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The last modified date of the device.</p>"
}
},
"DeviceLastAuthenticatedDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date in which the device was last authenticated.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The device type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DomainDescriptionType": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>"
}
},
"AWSAccountId": {
"target": "com.amazonaws.cognitoidentityprovider#AWSAccountIdType",
"traits": {
"smithy.api#documentation": "<p>The AWS account ID for the user pool owner.</p>"
}
},
"Domain": {
"target": "com.amazonaws.cognitoidentityprovider#DomainType",
"traits": {
"smithy.api#documentation": "<p>The domain string.</p>"
}
},
"S3Bucket": {
"target": "com.amazonaws.cognitoidentityprovider#S3BucketType",
"traits": {
"smithy.api#documentation": "<p>The S3 bucket where the static files for this domain are stored.</p>"
}
},
"CloudFrontDistribution": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The ARN of the CloudFront distribution.</p>"
}
},
"Version": {
"target": "com.amazonaws.cognitoidentityprovider#DomainVersionType",
"traits": {
"smithy.api#documentation": "<p>The app version.</p>"
}
},
"Status": {
"target": "com.amazonaws.cognitoidentityprovider#DomainStatusType",
"traits": {
"smithy.api#documentation": "<p>The domain status.</p>"
}
},
"CustomDomainConfig": {
"target": "com.amazonaws.cognitoidentityprovider#CustomDomainConfigType",
"traits": {
"smithy.api#documentation": "<p>The configuration for a custom domain that hosts the sign-up and sign-in webpages for\n your application.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A container for information about a domain.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#DomainStatusType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CREATING",
"name": "CREATING"
},
{
"value": "DELETING",
"name": "DELETING"
},
{
"value": "UPDATING",
"name": "UPDATING"
},
{
"value": "ACTIVE",
"name": "ACTIVE"
},
{
"value": "FAILED",
"name": "FAILED"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#DomainType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 63
},
"smithy.api#pattern": "^[a-z0-9](?:[a-z0-9\\-]{0,61}[a-z0-9])?$"
}
},
"com.amazonaws.cognitoidentityprovider#DomainVersionType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 20
}
}
},
"com.amazonaws.cognitoidentityprovider#DuplicateProviderException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType"
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the provider is already supported by the user\n pool.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#EmailAddressType": {
"type": "string",
"traits": {
"smithy.api#pattern": "[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+@[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+"
}
},
"com.amazonaws.cognitoidentityprovider#EmailConfigurationType": {
"type": "structure",
"members": {
"SourceArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of a verified email address in Amazon SES. This email\n address is used in one of the following ways, depending on the value that you specify\n for the <code>EmailSendingAccount</code> parameter:</p>\n <ul>\n <li>\n <p>If you specify <code>COGNITO_DEFAULT</code>, Amazon Cognito uses this address\n as the custom FROM address when it emails your users by using its built-in email\n account.</p>\n </li>\n <li>\n <p>If you specify <code>DEVELOPER</code>, Amazon Cognito emails your users with\n this address by calling Amazon SES on your behalf.</p>\n </li>\n </ul>"
}
},
"ReplyToEmailAddress": {
"target": "com.amazonaws.cognitoidentityprovider#EmailAddressType",
"traits": {
"smithy.api#documentation": "<p>The destination to which the receiver of the email should reply to.</p>"
}
},
"EmailSendingAccount": {
"target": "com.amazonaws.cognitoidentityprovider#EmailSendingAccountType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether Amazon Cognito emails your users by using its built-in email\n functionality or your Amazon SES email configuration. Specify one of the following\n values:</p>\n <dl>\n <dt>COGNITO_DEFAULT</dt>\n <dd>\n <p>When Amazon Cognito emails your users, it uses its built-in email\n functionality. When you use the default option, Amazon Cognito allows only a\n limited number of emails each day for your user pool. For typical production\n environments, the default email limit is below the required delivery volume.\n To achieve a higher delivery volume, specify DEVELOPER to use your Amazon\n SES email configuration.</p>\n\n <p>To look up the email delivery limit for the default option, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/limits.html\">Limits in Amazon Cognito</a> in the <i>Amazon Cognito\n Developer Guide</i>.</p>\n <p>The default FROM address is no-reply@verificationemail.com. To customize\n the FROM address, provide the ARN of an Amazon SES verified email address\n for the <code>SourceArn</code> parameter.</p>\n <p> If EmailSendingAccount is COGNITO_DEFAULT, the following parameters\n aren't allowed:</p>\n\n <ul>\n <li>\n <p>EmailVerificationMessage</p>\n </li>\n <li>\n <p>EmailVerificationSubject</p>\n </li>\n <li>\n <p>InviteMessageTemplate.EmailMessage</p>\n </li>\n <li>\n <p>InviteMessageTemplate.EmailSubject</p>\n </li>\n <li>\n <p>VerificationMessageTemplate.EmailMessage</p>\n </li>\n <li>\n <p>VerificationMessageTemplate.EmailMessageByLink</p>\n </li>\n <li>\n <p>VerificationMessageTemplate.EmailSubject,</p>\n </li>\n <li>\n <p>VerificationMessageTemplate.EmailSubjectByLink</p>\n </li>\n </ul>\n\n\n <note>\n <p>DEVELOPER EmailSendingAccount is required.</p>\n </note>\n </dd>\n <dt>DEVELOPER</dt>\n <dd>\n <p>When Amazon Cognito emails your users, it uses your Amazon SES\n configuration. Amazon Cognito calls Amazon SES on your behalf to send email\n from your verified email address. When you use this option, the email\n delivery limits are the same limits that apply to your Amazon SES verified\n email address in your AWS account.</p>\n <p>If you use this option, you must provide the ARN of an Amazon SES verified\n email address for the <code>SourceArn</code> parameter.</p>\n <p>Before Amazon Cognito can email your users, it requires additional\n permissions to call Amazon SES on your behalf. When you update your user\n pool with this option, Amazon Cognito creates a <i>service-linked\n role</i>, which is a type of IAM role, in your AWS account. This\n role contains the permissions that allow Amazon Cognito to access Amazon SES\n and send email messages with your address. For more information about the\n service-linked role
}
},
"From": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>Identifies either the senders email address or the senders name with their email\n address. For example, <code>testuser@example.com</code> or <code>Test User\n <testuser@example.com></code>. This address will appear before the body of the\n email.</p>"
}
},
"ConfigurationSet": {
"target": "com.amazonaws.cognitoidentityprovider#SESConfigurationSet",
"traits": {
"smithy.api#documentation": "<p>The set of configuration rules that can be applied to emails sent using Amazon SES. A\n configuration set is applied to an email by including a reference to the configuration\n set in the headers of the email. Once applied, all of the rules in that configuration\n set are applied to the email. Configuration sets can be used to apply the following\n types of rules to emails: </p>\n <ul>\n <li>\n <p>Event publishing Amazon SES can track the number of send, delivery, open,\n click, bounce, and complaint events for each email sent. Use event publishing to\n send information about these events to other AWS services such as SNS and\n CloudWatch.</p>\n </li>\n <li>\n <p>IP pool management When leasing dedicated IP addresses with Amazon SES, you\n can create groups of IP addresses, called dedicated IP pools. You can then\n associate the dedicated IP pools with configuration sets.</p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The email configuration type. </p>\n <note>\n <p>Amazon Cognito has specific regions for use with Amazon SES. For more information\n on the supported regions, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-email.html\">Email Settings for Amazon Cognito User Pools</a>.</p>\n </note>"
}
},
"com.amazonaws.cognitoidentityprovider#EmailNotificationBodyType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 6,
"max": 20000
},
"smithy.api#pattern": "[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s*]+"
}
},
"com.amazonaws.cognitoidentityprovider#EmailNotificationSubjectType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 140
},
"smithy.api#pattern": "[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s]+"
}
},
"com.amazonaws.cognitoidentityprovider#EmailSendingAccountType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "COGNITO_DEFAULT",
"name": "COGNITO_DEFAULT"
},
{
"value": "DEVELOPER",
"name": "DEVELOPER"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#EmailVerificationMessageByLinkType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 6,
"max": 20000
},
"smithy.api#pattern": "[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s*]*\\{##[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s*]*##\\}[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s*]*"
}
},
"com.amazonaws.cognitoidentityprovider#EmailVerificationMessageType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 6,
"max": 20000
},
"smithy.api#pattern": "[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s*]*\\{####\\}[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s*]*"
}
},
"com.amazonaws.cognitoidentityprovider#EmailVerificationSubjectByLinkType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 140
},
"smithy.api#pattern": "[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s]+"
}
},
"com.amazonaws.cognitoidentityprovider#EmailVerificationSubjectType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 140
},
"smithy.api#pattern": "[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s]+"
}
},
"com.amazonaws.cognitoidentityprovider#EnableSoftwareTokenMFAException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType"
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when there is a code mismatch and the service fails to\n configure the software token TOTP multi-factor authentication (MFA).</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#EventContextDataType": {
"type": "structure",
"members": {
"IpAddress": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The user's IP address.</p>"
}
},
"DeviceName": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The user's device name.</p>"
}
},
"Timezone": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The user's time zone.</p>"
}
},
"City": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The user's city.</p>"
}
},
"Country": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The user's country.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies the user context data captured at the time of an event request.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#EventFeedbackType": {
"type": "structure",
"members": {
"FeedbackValue": {
"target": "com.amazonaws.cognitoidentityprovider#FeedbackValueType",
"traits": {
"smithy.api#documentation": "<p>The event feedback value.</p>",
"smithy.api#required": {}
}
},
"Provider": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The provider.</p>",
"smithy.api#required": {}
}
},
"FeedbackDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The event feedback date.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies the event feedback type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#EventFilterType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "SIGN_IN",
"name": "SIGN_IN"
},
{
"value": "PASSWORD_CHANGE",
"name": "PASSWORD_CHANGE"
},
{
"value": "SIGN_UP",
"name": "SIGN_UP"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#EventFiltersType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#EventFilterType"
}
},
"com.amazonaws.cognitoidentityprovider#EventIdType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
},
"smithy.api#pattern": "[\\w+-]+"
}
},
"com.amazonaws.cognitoidentityprovider#EventResponseType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "Success",
"name": "Success"
},
{
"value": "Failure",
"name": "Failure"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#EventRiskType": {
"type": "structure",
"members": {
"RiskDecision": {
"target": "com.amazonaws.cognitoidentityprovider#RiskDecisionType",
"traits": {
"smithy.api#documentation": "<p>The risk decision.</p>"
}
},
"RiskLevel": {
"target": "com.amazonaws.cognitoidentityprovider#RiskLevelType",
"traits": {
"smithy.api#documentation": "<p>The risk level.</p>"
}
},
"CompromisedCredentialsDetected": {
"target": "com.amazonaws.cognitoidentityprovider#WrappedBooleanType",
"traits": {
"smithy.api#documentation": "<p>Indicates whether compromised credentials were detected during an authentication\n event.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The event risk type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#EventType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "SignIn",
"name": "SignIn"
},
{
"value": "SignUp",
"name": "SignUp"
},
{
"value": "ForgotPassword",
"name": "ForgotPassword"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#ExpiredCodeException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the expired code exception is thrown.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown if a code has expired.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#ExplicitAuthFlowsListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#ExplicitAuthFlowsType"
}
},
"com.amazonaws.cognitoidentityprovider#ExplicitAuthFlowsType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ADMIN_NO_SRP_AUTH",
"name": "ADMIN_NO_SRP_AUTH"
},
{
"value": "CUSTOM_AUTH_FLOW_ONLY",
"name": "CUSTOM_AUTH_FLOW_ONLY"
},
{
"value": "USER_PASSWORD_AUTH",
"name": "USER_PASSWORD_AUTH"
},
{
"value": "ALLOW_ADMIN_USER_PASSWORD_AUTH",
"name": "ALLOW_ADMIN_USER_PASSWORD_AUTH"
},
{
"value": "ALLOW_CUSTOM_AUTH",
"name": "ALLOW_CUSTOM_AUTH"
},
{
"value": "ALLOW_USER_PASSWORD_AUTH",
"name": "ALLOW_USER_PASSWORD_AUTH"
},
{
"value": "ALLOW_USER_SRP_AUTH",
"name": "ALLOW_USER_SRP_AUTH"
},
{
"value": "ALLOW_REFRESH_TOKEN_AUTH",
"name": "ALLOW_REFRESH_TOKEN_AUTH"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#FeedbackValueType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "Valid",
"name": "VALID"
},
{
"value": "Invalid",
"name": "INVALID"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#ForceAliasCreation": {
"type": "boolean"
},
"com.amazonaws.cognitoidentityprovider#ForgetDevice": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ForgetDeviceRequest"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Forgets the specified device.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ForgetDeviceRequest": {
"type": "structure",
"members": {
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token for the forgotten device request.</p>"
}
},
"DeviceKey": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceKeyType",
"traits": {
"smithy.api#documentation": "<p>The device key.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to forget the device.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ForgotPassword": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ForgotPasswordRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ForgotPasswordResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryFailureException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidEmailRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>Calling this API causes a message to be sent to the end user with a confirmation code\n that is required to change the user's password. For the <code>Username</code> parameter,\n you can use the username or user alias. The method used to send the confirmation code is\n sent according to the specified AccountRecoverySetting. For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-recover-a-user-account.html\">Recovering\n User Accounts</a> in the <i>Amazon Cognito Developer Guide</i>. If\n neither a verified phone number nor a verified email exists, an\n <code>InvalidParameterException</code> is thrown. To use the confirmation code for\n resetting the password, call <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmForgotPassword.html\">ConfirmForgotPassword</a>.</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#ForgotPasswordRequest": {
"type": "structure",
"members": {
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The ID of the client associated with the user pool.</p>",
"smithy.api#required": {}
}
},
"SecretHash": {
"target": "com.amazonaws.cognitoidentityprovider#SecretHashType",
"traits": {
"smithy.api#documentation": "<p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a\n user pool client and username plus the client ID in the message.</p>"
}
},
"UserContextData": {
"target": "com.amazonaws.cognitoidentityprovider#UserContextDataType",
"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>"
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user for whom you want to enter a code to reset a forgotten\n password.</p>",
"smithy.api#required": {}
}
},
"AnalyticsMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Pinpoint analytics metadata for collecting metrics for\n <code>ForgotPassword</code> calls.</p>"
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers. </p>\n <p>You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the ForgotPassword API action, Amazon Cognito invokes any functions that\n are assigned to the following triggers: <i>pre sign-up</i>,\n <i>custom message</i>, and <i>user migration</i>. When\n Amazon Cognito invokes any of these functions, it passes a JSON payload, which the\n function receives as input. This payload contains a <code>clientMetadata</code>\n attribute, which provides the data that you assigned to the ClientMetadata parameter in\n your ForgotPassword request. In your function code in AWS Lambda, you can process the\n <code>clientMetadata</code> value to enhance your workflow for your specific\n needs.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to reset a user's password.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ForgotPasswordResponse": {
"type": "structure",
"members": {
"CodeDeliveryDetails": {
"target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryDetailsType",
"traits": {
"smithy.api#documentation": "<p>The code delivery details returned by the server in response to the request to reset a\n password.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Respresents the response from the server regarding the request to reset a\n password.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GenerateSecret": {
"type": "boolean"
},
"com.amazonaws.cognitoidentityprovider#GetCSVHeader": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#GetCSVHeaderRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#GetCSVHeaderResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets the header information for the .csv file to be used as input for the user import\n job.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetCSVHeaderRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool that the users are to be imported into.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to get the header information for the .csv file for the user\n import job.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetCSVHeaderResponse": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool that the users are to be imported into.</p>"
}
},
"CSVHeader": {
"target": "com.amazonaws.cognitoidentityprovider#ListOfStringTypes",
"traits": {
"smithy.api#documentation": "<p>The header information for the .csv file for the user import job.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server to the request to get the header information\n for the .csv file for the user import job.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetDevice": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#GetDeviceRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#GetDeviceResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets the device.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetDeviceRequest": {
"type": "structure",
"members": {
"DeviceKey": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceKeyType",
"traits": {
"smithy.api#documentation": "<p>The device key.</p>",
"smithy.api#required": {}
}
},
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to get the device.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetDeviceResponse": {
"type": "structure",
"members": {
"Device": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceType",
"traits": {
"smithy.api#documentation": "<p>The device.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Gets the device response.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#GetGroupRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#GetGroupResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets a group.</p>\n <p>Calling this action requires developer credentials.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetGroupRequest": {
"type": "structure",
"members": {
"GroupName": {
"target": "com.amazonaws.cognitoidentityprovider#GroupNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the group.</p>",
"smithy.api#required": {}
}
},
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#GetGroupResponse": {
"type": "structure",
"members": {
"Group": {
"target": "com.amazonaws.cognitoidentityprovider#GroupType",
"traits": {
"smithy.api#documentation": "<p>The group object for the group.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#GetIdentityProviderByIdentifier": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#GetIdentityProviderByIdentifierRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#GetIdentityProviderByIdentifierResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets the specified identity provider.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetIdentityProviderByIdentifierRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"IdpIdentifier": {
"target": "com.amazonaws.cognitoidentityprovider#IdpIdentifierType",
"traits": {
"smithy.api#documentation": "<p>The identity provider ID.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#GetIdentityProviderByIdentifierResponse": {
"type": "structure",
"members": {
"IdentityProvider": {
"target": "com.amazonaws.cognitoidentityprovider#IdentityProviderType",
"traits": {
"smithy.api#documentation": "<p>The identity provider object.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#GetSigningCertificate": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#GetSigningCertificateRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#GetSigningCertificateResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>This method takes a user pool ID, and returns the signing certificate.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetSigningCertificateRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Request to get a signing certificate from Cognito.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetSigningCertificateResponse": {
"type": "structure",
"members": {
"Certificate": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The signing certificate.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Response from Cognito for a signing certificate request.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetUICustomization": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#GetUICustomizationRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#GetUICustomizationResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets the UI Customization information for a particular app client's app UI, if there\n is something set. If nothing is set for the particular client, but there is an existing\n pool level customization (app <code>clientId</code> will be <code>ALL</code>), then that\n is returned. If nothing is present, then an empty shape is returned.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetUICustomizationRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
},
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The client ID for the client app.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#GetUICustomizationResponse": {
"type": "structure",
"members": {
"UICustomization": {
"target": "com.amazonaws.cognitoidentityprovider#UICustomizationType",
"traits": {
"smithy.api#documentation": "<p>The UI customization information.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#GetUser": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#GetUserRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#GetUserResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>Gets the user attributes and metadata for a user.</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#GetUserAttributeVerificationCode": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#GetUserAttributeVerificationCodeRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#GetUserAttributeVerificationCodeResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryFailureException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidEmailRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>Gets the user attribute verification code for the specified attribute name.</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#GetUserAttributeVerificationCodeRequest": {
"type": "structure",
"members": {
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token returned by the server response to get the user attribute\n verification code.</p>",
"smithy.api#required": {}
}
},
"AttributeName": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeNameType",
"traits": {
"smithy.api#documentation": "<p>The attribute name returned by the server response to get the user attribute\n verification code.</p>",
"smithy.api#required": {}
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers. </p>\n <p>You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the GetUserAttributeVerificationCode API action, Amazon Cognito invokes the\n function that is assigned to the <i>custom message</i> trigger. When\n Amazon Cognito invokes this function, it passes a JSON payload, which the function\n receives as input. This payload contains a <code>clientMetadata</code> attribute, which\n provides the data that you assigned to the ClientMetadata parameter in your\n GetUserAttributeVerificationCode request. In your function code in AWS Lambda, you can\n process the <code>clientMetadata</code> value to enhance your workflow for your specific\n needs.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to get user attribute verification.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetUserAttributeVerificationCodeResponse": {
"type": "structure",
"members": {
"CodeDeliveryDetails": {
"target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryDetailsType",
"traits": {
"smithy.api#documentation": "<p>The code delivery details returned by the server in response to the request to get the\n user attribute verification code.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The verification code response returned by the server response to get the user\n attribute verification code.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetUserPoolMfaConfig": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#GetUserPoolMfaConfigRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#GetUserPoolMfaConfigResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets the user pool multi-factor authentication (MFA) configuration.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetUserPoolMfaConfigRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#GetUserPoolMfaConfigResponse": {
"type": "structure",
"members": {
"SmsMfaConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#SmsMfaConfigType",
"traits": {
"smithy.api#documentation": "<p>The SMS text message multi-factor (MFA) configuration.</p>"
}
},
"SoftwareTokenMfaConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#SoftwareTokenMfaConfigType",
"traits": {
"smithy.api#documentation": "<p>The software token multi-factor (MFA) configuration.</p>"
}
},
"MfaConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolMfaType",
"traits": {
"smithy.api#documentation": "<p>The multi-factor (MFA) configuration. Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>OFF</code> MFA will not be used for any users.</p>\n </li>\n <li>\n <p>\n <code>ON</code> MFA is required for all users to sign in.</p>\n </li>\n <li>\n <p>\n <code>OPTIONAL</code> MFA will be required only for individual users who have\n an MFA factor enabled.</p>\n </li>\n </ul>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#GetUserRequest": {
"type": "structure",
"members": {
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token returned by the server response to get information about the\n user.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to get information about the user.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GetUserResponse": {
"type": "structure",
"members": {
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user you wish to retrieve from the get user request.</p>",
"smithy.api#required": {}
}
},
"UserAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeListType",
"traits": {
"smithy.api#documentation": "<p>An array of name-value pairs representing user attributes.</p>\n <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the\n attribute name.</p>",
"smithy.api#required": {}
}
},
"MFAOptions": {
"target": "com.amazonaws.cognitoidentityprovider#MFAOptionListType",
"traits": {
"smithy.api#documentation": "<p>\n <i>This response parameter is no longer supported.</i> It provides\n information only about SMS MFA configurations. It doesn't provide information about TOTP\n software token MFA configurations. To look up information about either type of MFA\n configuration, use UserMFASettingList instead.</p>"
}
},
"PreferredMfaSetting": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The user's preferred MFA setting.</p>"
}
},
"UserMFASettingList": {
"target": "com.amazonaws.cognitoidentityprovider#UserMFASettingListType",
"traits": {
"smithy.api#documentation": "<p>The MFA options that are enabled for the user. The possible values in this list are\n <code>SMS_MFA</code> and <code>SOFTWARE_TOKEN_MFA</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server from the request to get information about the\n user.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GlobalSignOut": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#GlobalSignOutRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#GlobalSignOutResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
}
],
"traits": {
"smithy.api#documentation": "<p>Signs out users from all devices. It also invalidates all refresh tokens issued to a\n user. The user's current access and Id tokens remain valid until their expiry. Access\n and Id tokens expire one hour after they are issued.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GlobalSignOutRequest": {
"type": "structure",
"members": {
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to sign out all devices.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GlobalSignOutResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>The response to the request to sign out all devices.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#GroupExistsException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType"
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when Amazon Cognito encounters a group that already exists in\n the user pool.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#GroupListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#GroupType"
}
},
"com.amazonaws.cognitoidentityprovider#GroupNameType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+"
}
},
"com.amazonaws.cognitoidentityprovider#GroupType": {
"type": "structure",
"members": {
"GroupName": {
"target": "com.amazonaws.cognitoidentityprovider#GroupNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the group.</p>"
}
},
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>"
}
},
"Description": {
"target": "com.amazonaws.cognitoidentityprovider#DescriptionType",
"traits": {
"smithy.api#documentation": "<p>A string containing the description of the group.</p>"
}
},
"RoleArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The role ARN for the group.</p>"
}
},
"Precedence": {
"target": "com.amazonaws.cognitoidentityprovider#PrecedenceType",
"traits": {
"smithy.api#documentation": "<p>A nonnegative integer value that specifies the precedence of this group relative to\n the other groups that a user can belong to in the user pool. If a user belongs to two or\n more groups, it is the group with the highest precedence whose role ARN will be used in\n the <code>cognito:roles</code> and <code>cognito:preferred_role</code> claims in the\n user's tokens. Groups with higher <code>Precedence</code> values take precedence over\n groups with lower <code>Precedence</code> values or with null <code>Precedence</code>\n values.</p>\n <p>Two groups can have the same <code>Precedence</code> value. If this happens, neither\n group takes precedence over the other. If two groups with the same\n <code>Precedence</code> have the same role ARN, that role is used in the\n <code>cognito:preferred_role</code> claim in tokens for users in each group. If the\n two groups have different role ARNs, the <code>cognito:preferred_role</code> claim is\n not set in users' tokens.</p>\n <p>The default <code>Precedence</code> value is null.</p>"
}
},
"LastModifiedDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the group was last modified.</p>"
}
},
"CreationDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the group was created.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The group type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#HexStringType": {
"type": "string",
"traits": {
"smithy.api#pattern": "^[0-9a-fA-F]+$"
}
},
"com.amazonaws.cognitoidentityprovider#HttpHeader": {
"type": "structure",
"members": {
"headerName": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The header name</p>"
}
},
"headerValue": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The header value.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The HTTP header.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#HttpHeaderList": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#HttpHeader"
}
},
"com.amazonaws.cognitoidentityprovider#IdTokenValidityType": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 86400
}
}
},
"com.amazonaws.cognitoidentityprovider#IdentityProviderType": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>"
}
},
"ProviderName": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderNameType",
"traits": {
"smithy.api#documentation": "<p>The identity provider name.</p>"
}
},
"ProviderType": {
"target": "com.amazonaws.cognitoidentityprovider#IdentityProviderTypeType",
"traits": {
"smithy.api#documentation": "<p>The identity provider type.</p>"
}
},
"ProviderDetails": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderDetailsType",
"traits": {
"smithy.api#documentation": "<p>The identity provider details. The following list describes the provider detail keys\n for each identity provider type.</p>\n <ul>\n <li>\n <p>For Google and Login with Amazon:</p>\n <ul>\n <li>\n <p>client_id</p>\n </li>\n <li>\n <p>client_secret</p>\n </li>\n <li>\n <p>authorize_scopes</p>\n </li>\n </ul>\n </li>\n <li>\n <p>For Facebook:</p>\n <ul>\n <li>\n <p>client_id</p>\n </li>\n <li>\n <p>client_secret</p>\n </li>\n <li>\n <p>authorize_scopes</p>\n </li>\n <li>\n <p>api_version</p>\n </li>\n </ul>\n </li>\n <li>\n <p>For Sign in with Apple:</p>\n <ul>\n <li>\n <p>client_id</p>\n </li>\n <li>\n <p>team_id</p>\n </li>\n <li>\n <p>key_id</p>\n </li>\n <li>\n <p>private_key</p>\n </li>\n <li>\n <p>authorize_scopes</p>\n </li>\n </ul>\n </li>\n <li>\n <p>For OIDC providers:</p>\n <ul>\n <li>\n <p>client_id</p>\n </li>\n <li>\n <p>client_secret</p>\n </li>\n <li>\n <p>attributes_request_method</p>\n </li>\n <li>\n <p>oidc_issuer</p>\n </li>\n <li>\n <p>authorize_scopes</p>\n </li>\n <li>\n <p>authorize_url <i>if not available from discovery URL specified\n by oidc_issuer key</i>\n </p>\n </li>\n <li>\n <p>token_url <i>if not available from discovery URL specified by\n oidc_issuer key</i>\n </p>\n </li>\n <li>\n <p>attributes_url <i>if not available from discovery URL specified\n by oidc_issuer key</i>\n </p>\n </li>\n <li>\n <p>jwks_uri <i>if not available from discovery URL specified by\n oidc_issuer key</i>\n </p>\n </li>\n <li>\n <p>authorize_scopes</p>\n </li>\n </ul>\n </li>\n <li>\n <p>For SAML providers:</p>\n <ul>\n <li>\n <p>MetadataFile OR MetadataURL</p>\n </li>\n <li>\n <p>IDPSignOut <i>optional</i>\n </p>\n </li>\n </ul>\n </li>\n </ul>"
}
},
"AttributeMapping": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeMappingType",
"traits": {
"smithy.api#documentation": "<p>A mapping of identity provider attributes to standard and custom user pool\n attributes.</p>"
}
},
"IdpIdentifiers": {
"target": "com.amazonaws.cognitoidentityprovider#IdpIdentifiersListType",
"traits": {
"smithy.api#documentation": "<p>A list of identity provider identifiers.</p>"
}
},
"LastModifiedDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the identity provider was last modified.</p>"
}
},
"CreationDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the identity provider was created.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A container for information about an identity provider.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#IdentityProviderTypeType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "SAML",
"name": "SAML"
},
{
"value": "Facebook",
"name": "Facebook"
},
{
"value": "Google",
"name": "Google"
},
{
"value": "LoginWithAmazon",
"name": "LoginWithAmazon"
},
{
"value": "SignInWithApple",
"name": "SignInWithApple"
},
{
"value": "OIDC",
"name": "OIDC"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#IdpIdentifierType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 40
},
"smithy.api#pattern": "[\\w\\s+=.@-]+"
}
},
"com.amazonaws.cognitoidentityprovider#IdpIdentifiersListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#IdpIdentifierType"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 50
}
}
},
"com.amazonaws.cognitoidentityprovider#ImageFileType": {
"type": "blob"
},
"com.amazonaws.cognitoidentityprovider#ImageUrlType": {
"type": "string"
},
"com.amazonaws.cognitoidentityprovider#InitiateAuth": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#InitiateAuthRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#InitiateAuthResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>Initiates the authentication flow.</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#InitiateAuthRequest": {
"type": "structure",
"members": {
"AuthFlow": {
"target": "com.amazonaws.cognitoidentityprovider#AuthFlowType",
"traits": {
"smithy.api#documentation": "<p>The authentication flow for this call to execute. The API action will depend on this\n value. For example: </p>\n <ul>\n <li>\n <p>\n <code>REFRESH_TOKEN_AUTH</code> will take in a valid refresh token and return\n new tokens.</p>\n </li>\n <li>\n <p>\n <code>USER_SRP_AUTH</code> will take in <code>USERNAME</code> and\n <code>SRP_A</code> and return the SRP variables to be used for next\n challenge execution.</p>\n </li>\n <li>\n <p>\n <code>USER_PASSWORD_AUTH</code> will take in <code>USERNAME</code> and\n <code>PASSWORD</code> and return the next challenge or tokens.</p>\n </li>\n </ul>\n <p>Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>USER_SRP_AUTH</code>: Authentication flow for the Secure Remote Password\n (SRP) protocol.</p>\n </li>\n <li>\n <p>\n <code>REFRESH_TOKEN_AUTH</code>/<code>REFRESH_TOKEN</code>: Authentication\n flow for refreshing the access token and ID token by supplying a valid refresh\n token.</p>\n </li>\n <li>\n <p>\n <code>CUSTOM_AUTH</code>: Custom authentication flow.</p>\n </li>\n <li>\n <p>\n <code>USER_PASSWORD_AUTH</code>: Non-SRP authentication flow; USERNAME and\n PASSWORD are passed directly. If a user migration Lambda trigger is set, this\n flow will invoke the user migration Lambda if the USERNAME is not found in the\n user pool. </p>\n </li>\n <li>\n <p>\n <code>ADMIN_USER_PASSWORD_AUTH</code>: Admin-based user password\n authentication. This replaces the <code>ADMIN_NO_SRP_AUTH</code> authentication\n flow. In this flow, Cognito receives the password in the request instead of\n using the SRP process to verify passwords.</p>\n </li>\n </ul>\n <p>\n <code>ADMIN_NO_SRP_AUTH</code> is not a valid value.</p>",
"smithy.api#required": {}
}
},
"AuthParameters": {
"target": "com.amazonaws.cognitoidentityprovider#AuthParametersType",
"traits": {
"smithy.api#documentation": "<p>The authentication parameters. These are inputs corresponding to the\n <code>AuthFlow</code> that you are invoking. The required values depend on the value\n of <code>AuthFlow</code>:</p>\n <ul>\n <li>\n <p>For <code>USER_SRP_AUTH</code>: <code>USERNAME</code> (required),\n <code>SRP_A</code> (required), <code>SECRET_HASH</code> (required if the app\n client is configured with a client secret), <code>DEVICE_KEY</code>.</p>\n </li>\n <li>\n <p>For <code>REFRESH_TOKEN_AUTH/REFRESH_TOKEN</code>: <code>REFRESH_TOKEN</code>\n (required), <code>SECRET_HASH</code> (required if the app client is configured\n with a client secret), <code>DEVICE_KEY</code>.</p>\n </li>\n <li>\n <p>For <code>CUSTOM_AUTH</code>: <code>USERNAME</code> (required),\n <code>SECRET_HASH</code> (if app client is configured with client secret),\n <code>DEVICE_KEY</code>. To start the authentication flow with password\n verification, include <code>ChallengeName: SRP_A</code> and <code>SRP_A: (The\n SRP_A Value)</code>.</p>\n </li>\n </ul>"
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for certain custom\n workflows that this action triggers.</p>\n <p>You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the InitiateAuth API action, Amazon Cognito invokes the AWS Lambda\n functions that are specified for various triggers. The ClientMetadata value is passed as\n input to the functions for only the following triggers:</p>\n <ul>\n <li>\n <p>Pre signup</p>\n </li>\n <li>\n <p>Pre authentication</p>\n </li>\n <li>\n <p>User migration</p>\n </li>\n </ul>\n\n <p>When Amazon Cognito invokes the functions for these triggers, it passes a JSON\n payload, which the function receives as input. This payload contains a\n <code>validationData</code> attribute, which provides the data that you assigned to\n the ClientMetadata parameter in your InitiateAuth request. In your function code in AWS\n Lambda, you can process the <code>validationData</code> value to enhance your workflow\n for your specific needs.</p>\n\n <p>When you use the InitiateAuth API action, Amazon Cognito also invokes the functions\n for the following triggers, but it does not provide the ClientMetadata value as\n input:</p>\n\n <ul>\n <li>\n <p>Post authentication</p>\n </li>\n <li>\n <p>Custom message</p>\n </li>\n <li>\n <p>Pre token generation</p>\n </li>\n <li>\n <p>Create auth challenge</p>\n </li>\n <li>\n <p>Define auth challenge</p>\n </li>\n <li>\n <p>Verify auth challenge</p>\n </li>\n </ul>\n\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
},
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The app client ID.</p>",
"smithy.api#required": {}
}
},
"AnalyticsMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Pinpoint analytics metadata for collecting metrics for\n <code>InitiateAuth</code> calls.</p>"
}
},
"UserContextData": {
"target": "com.amazonaws.cognitoidentityprovider#UserContextDataType",
"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>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Initiates the authentication request.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#InitiateAuthResponse": {
"type": "structure",
"members": {
"ChallengeName": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the challenge which you are responding to with this call. This is returned\n to you in the <code>AdminInitiateAuth</code> response if you need to pass another\n challenge.</p>\n <p>Valid values include the following. Note that all of these challenges require\n <code>USERNAME</code> and <code>SECRET_HASH</code> (if applicable) in the\n parameters.</p>\n <ul>\n <li>\n <p>\n <code>SMS_MFA</code>: Next challenge is to supply an\n <code>SMS_MFA_CODE</code>, delivered via SMS.</p>\n </li>\n <li>\n <p>\n <code>PASSWORD_VERIFIER</code>: Next challenge is to supply\n <code>PASSWORD_CLAIM_SIGNATURE</code>,\n <code>PASSWORD_CLAIM_SECRET_BLOCK</code>, and <code>TIMESTAMP</code> after\n the client-side SRP calculations.</p>\n </li>\n <li>\n <p>\n <code>CUSTOM_CHALLENGE</code>: This is returned if your custom authentication\n flow determines that the user should pass another challenge before tokens are\n issued.</p>\n </li>\n <li>\n <p>\n <code>DEVICE_SRP_AUTH</code>: If device tracking was enabled on your user pool\n and the previous challenges were passed, this challenge is returned so that\n Amazon Cognito can start tracking this device.</p>\n </li>\n <li>\n <p>\n <code>DEVICE_PASSWORD_VERIFIER</code>: Similar to\n <code>PASSWORD_VERIFIER</code>, but for devices only.</p>\n </li>\n <li>\n <p>\n <code>NEW_PASSWORD_REQUIRED</code>: For users who are required to change their\n passwords after successful first login. This challenge should be passed with\n <code>NEW_PASSWORD</code> and any other required attributes.</p>\n </li>\n <li>\n <p>\n <code>MFA_SETUP</code>: For users who are required to setup an MFA factor\n before they can sign-in. The MFA types enabled for the user pool will be listed\n in the challenge parameters <code>MFA_CAN_SETUP</code> value. </p>\n <p> To setup software token MFA, use the session returned here from\n <code>InitiateAuth</code> as an input to\n <code>AssociateSoftwareToken</code>, and use the session returned by\n <code>VerifySoftwareToken</code> as an input to\n <code>RespondToAuthChallenge</code> with challenge name\n <code>MFA_SETUP</code> to complete sign-in. To setup SMS MFA, users will\n need help from an administrator to add a phone number to their account and then\n call <code>InitiateAuth</code> again to restart sign-in.</p>\n </li>\n </ul>"
}
},
"Session": {
"target": "com.amazonaws.cognitoidentityprovider#SessionType",
"traits": {
"smithy.api#documentation": "<p>The session which should be passed both ways in challenge-response calls to the\n service. If the caller needs to go through another challenge, they return a session with\n other challenge parameters. This session should be passed as it is to the next\n <code>RespondToAuthChallenge</code> API call.</p>"
}
},
"ChallengeParameters": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeParametersType",
"traits": {
"smithy.api#documentation": "<p>The challenge parameters. These are returned to you in the <code>InitiateAuth</code>\n response if you need to pass another challenge. The responses in this parameter should\n be used to compute inputs to the next call (<code>RespondToAuthChallenge</code>). </p>\n <p>All challenges require <code>USERNAME</code> and <code>SECRET_HASH</code> (if\n applicable).</p>"
}
},
"AuthenticationResult": {
"target": "com.amazonaws.cognitoidentityprovider#AuthenticationResultType",
"traits": {
"smithy.api#documentation": "<p>The result of the authentication response. This is only returned if the caller does\n not need to pass another challenge. If the caller does need to pass another challenge\n before it gets tokens, <code>ChallengeName</code>, <code>ChallengeParameters</code>, and\n <code>Session</code> are returned.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Initiates the authentication response.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#IntegerType": {
"type": "integer"
},
"com.amazonaws.cognitoidentityprovider#InternalErrorException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when Amazon Cognito throws an internal error exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when Amazon Cognito encounters an internal error.</p>",
"smithy.api#error": "server"
}
},
"com.amazonaws.cognitoidentityprovider#InvalidEmailRoleAccessPolicyException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when you have an unverified email address or the identity policy\n is not set on an email address that Amazon Cognito can access.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when Amazon Cognito is not allowed to use your email\n identity. HTTP status code: 400.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the Amazon Cognito service throws an invalid AWS Lambda\n response exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the Amazon Cognito service encounters an invalid AWS\n Lambda response.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#InvalidOAuthFlowException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType"
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the specified OAuth flow is invalid.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#InvalidParameterException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the Amazon Cognito service throws an invalid parameter\n exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the Amazon Cognito service encounters an invalid\n parameter.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#InvalidPasswordException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the Amazon Cognito service throws an invalid user password\n exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the Amazon Cognito service encounters an invalid\n password.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message retuned when the invalid SMS role access policy exception is\n thrown.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is returned when the role provided for SMS configuration does not have\n permission to publish using Amazon SNS.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the role trust relationship for the SMS message is\n invalid.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the trust relationship is invalid for the role provided\n for SMS configuration. This can happen if you do not trust <b>cognito-idp.amazonaws.com</b> or the external ID provided in the role does\n not match what is provided in the SMS configuration for the user pool.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the user pool configuration is invalid.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the user pool configuration is invalid.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#LambdaConfigType": {
"type": "structure",
"members": {
"PreSignUp": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>A pre-registration AWS Lambda trigger.</p>"
}
},
"CustomMessage": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>A custom Message AWS Lambda trigger.</p>"
}
},
"PostConfirmation": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>A post-confirmation AWS Lambda trigger.</p>"
}
},
"PreAuthentication": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>A pre-authentication AWS Lambda trigger.</p>"
}
},
"PostAuthentication": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>A post-authentication AWS Lambda trigger.</p>"
}
},
"DefineAuthChallenge": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>Defines the authentication challenge.</p>"
}
},
"CreateAuthChallenge": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>Creates an authentication challenge.</p>"
}
},
"VerifyAuthChallengeResponse": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>Verifies the authentication challenge response.</p>"
}
},
"PreTokenGeneration": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>A Lambda trigger that is invoked before token generation.</p>"
}
},
"UserMigration": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The user migration Lambda config type.</p>"
}
},
"CustomSMSSender": {
"target": "com.amazonaws.cognitoidentityprovider#CustomSMSLambdaVersionConfigType",
"traits": {
"smithy.api#documentation": "<p>A custom SMS sender AWS Lambda trigger.</p>"
}
},
"CustomEmailSender": {
"target": "com.amazonaws.cognitoidentityprovider#CustomEmailLambdaVersionConfigType",
"traits": {
"smithy.api#documentation": "<p>A custom email sender AWS Lambda trigger.</p>"
}
},
"KMSKeyID": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name of Key Management Service <a href=\"/kms/latest/developerguide/concepts.html#master_keys\">Customer master\n keys</a> . Amazon Cognito uses the key to encrypt codes and temporary passwords\n sent to <code>CustomEmailSender</code> and <code>CustomSMSSender</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies the configuration for AWS Lambda triggers.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#LimitExceededException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when Amazon Cognito throws a limit exceeded exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when a user exceeds the limit for a requested AWS\n resource.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#ListDevices": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ListDevicesRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ListDevicesResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the devices.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ListDevicesRequest": {
"type": "structure",
"members": {
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access tokens for the request to list devices.</p>",
"smithy.api#required": {}
}
},
"Limit": {
"target": "com.amazonaws.cognitoidentityprovider#QueryLimitType",
"traits": {
"smithy.api#documentation": "<p>The limit of the device request.</p>"
}
},
"PaginationToken": {
"target": "com.amazonaws.cognitoidentityprovider#SearchPaginationTokenType",
"traits": {
"smithy.api#documentation": "<p>The pagination token for the list request.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to list the devices.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ListDevicesResponse": {
"type": "structure",
"members": {
"Devices": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceListType",
"traits": {
"smithy.api#documentation": "<p>The devices returned in the list devices response.</p>"
}
},
"PaginationToken": {
"target": "com.amazonaws.cognitoidentityprovider#SearchPaginationTokenType",
"traits": {
"smithy.api#documentation": "<p>The pagination token for the list device response.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response to list devices.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ListGroups": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ListGroupsRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ListGroupsResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the groups associated with a user pool.</p>\n <p>Calling this action requires developer credentials.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"items": "Groups",
"pageSize": "Limit"
}
}
},
"com.amazonaws.cognitoidentityprovider#ListGroupsRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
},
"Limit": {
"target": "com.amazonaws.cognitoidentityprovider#QueryLimitType",
"traits": {
"smithy.api#documentation": "<p>The limit of the request to list groups.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKey",
"traits": {
"smithy.api#documentation": "<p>An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#ListGroupsResponse": {
"type": "structure",
"members": {
"Groups": {
"target": "com.amazonaws.cognitoidentityprovider#GroupListType",
"traits": {
"smithy.api#documentation": "<p>The group objects for the groups.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKey",
"traits": {
"smithy.api#documentation": "<p>An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#ListIdentityProviders": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ListIdentityProvidersRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ListIdentityProvidersResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists information about all identity providers for a user pool.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"items": "Providers",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.cognitoidentityprovider#ListIdentityProvidersRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"MaxResults": {
"target": "com.amazonaws.cognitoidentityprovider#ListProvidersLimitType",
"traits": {
"smithy.api#documentation": "<p>The maximum number of identity providers to return.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKeyType",
"traits": {
"smithy.api#documentation": "<p>A pagination token.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#ListIdentityProvidersResponse": {
"type": "structure",
"members": {
"Providers": {
"target": "com.amazonaws.cognitoidentityprovider#ProvidersListType",
"traits": {
"smithy.api#documentation": "<p>A list of identity provider objects.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKeyType",
"traits": {
"smithy.api#documentation": "<p>A pagination token.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#ListOfStringTypes": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
}
},
"com.amazonaws.cognitoidentityprovider#ListProvidersLimitType": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0,
"max": 60
}
}
},
"com.amazonaws.cognitoidentityprovider#ListResourceServers": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ListResourceServersRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ListResourceServersResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the resource servers for a user pool.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"items": "ResourceServers",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.cognitoidentityprovider#ListResourceServersLimitType": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.cognitoidentityprovider#ListResourceServersRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
},
"MaxResults": {
"target": "com.amazonaws.cognitoidentityprovider#ListResourceServersLimitType",
"traits": {
"smithy.api#documentation": "<p>The maximum number of resource servers to return.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKeyType",
"traits": {
"smithy.api#documentation": "<p>A pagination token.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#ListResourceServersResponse": {
"type": "structure",
"members": {
"ResourceServers": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServersListType",
"traits": {
"smithy.api#documentation": "<p>The resource servers.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKeyType",
"traits": {
"smithy.api#documentation": "<p>A pagination token.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#ListTagsForResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ListTagsForResourceRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ListTagsForResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the tags that are assigned to an Amazon Cognito user pool.</p>\n <p>A tag is a label that you can apply to user pools to categorize and manage them in\n different ways, such as by purpose, owner, environment, or other criteria.</p>\n <p>You can use this action up to 10 times per second, per account.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ListTagsForResourceRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the user pool that the tags are assigned to.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#ListTagsForResourceResponse": {
"type": "structure",
"members": {
"Tags": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolTagsType",
"traits": {
"smithy.api#documentation": "<p>The tags that are assigned to the user pool.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#ListUserImportJobs": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ListUserImportJobsRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ListUserImportJobsResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the user import jobs.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ListUserImportJobsRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool that the users are being imported into.</p>",
"smithy.api#required": {}
}
},
"MaxResults": {
"target": "com.amazonaws.cognitoidentityprovider#PoolQueryLimitType",
"traits": {
"smithy.api#documentation": "<p>The maximum number of import jobs you want the request to return.</p>",
"smithy.api#required": {}
}
},
"PaginationToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKeyType",
"traits": {
"smithy.api#documentation": "<p>An identifier that was returned from the previous call to\n <code>ListUserImportJobs</code>, which can be used to return the next set of import\n jobs in the list.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to list the user import jobs.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ListUserImportJobsResponse": {
"type": "structure",
"members": {
"UserImportJobs": {
"target": "com.amazonaws.cognitoidentityprovider#UserImportJobsListType",
"traits": {
"smithy.api#documentation": "<p>The user import jobs.</p>"
}
},
"PaginationToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKeyType",
"traits": {
"smithy.api#documentation": "<p>An identifier that can be used to return the next set of user import jobs in the\n list.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server to the request to list the user import\n jobs.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ListUserPoolClients": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ListUserPoolClientsRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ListUserPoolClientsResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the clients that have been created for the specified user pool.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"items": "UserPoolClients",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.cognitoidentityprovider#ListUserPoolClientsRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where you want to list user pool clients.</p>",
"smithy.api#required": {}
}
},
"MaxResults": {
"target": "com.amazonaws.cognitoidentityprovider#QueryLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results you want the request to return when listing the user\n pool clients.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKey",
"traits": {
"smithy.api#documentation": "<p>An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to list the user pool clients.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ListUserPoolClientsResponse": {
"type": "structure",
"members": {
"UserPoolClients": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolClientListType",
"traits": {
"smithy.api#documentation": "<p>The user pool clients in the response that lists user pool clients.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKey",
"traits": {
"smithy.api#documentation": "<p>An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server that lists user pool clients.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ListUserPools": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ListUserPoolsRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ListUserPoolsResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the user pools associated with an AWS account.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"items": "UserPools",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.cognitoidentityprovider#ListUserPoolsRequest": {
"type": "structure",
"members": {
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKeyType",
"traits": {
"smithy.api#documentation": "<p>An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.cognitoidentityprovider#PoolQueryLimitType",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results you want the request to return when listing the user\n pools.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to list user pools.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ListUserPoolsResponse": {
"type": "structure",
"members": {
"UserPools": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolListType",
"traits": {
"smithy.api#documentation": "<p>The user pools from the response to list users.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKeyType",
"traits": {
"smithy.api#documentation": "<p>An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response to list user pools.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ListUsers": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ListUsersRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ListUsersResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the users in the Amazon Cognito user pool.</p>",
"smithy.api#paginated": {
"inputToken": "PaginationToken",
"outputToken": "PaginationToken",
"items": "Users",
"pageSize": "Limit"
}
}
},
"com.amazonaws.cognitoidentityprovider#ListUsersInGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ListUsersInGroupRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ListUsersInGroupResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the users in the specified group.</p>\n <p>Calling this action requires developer credentials.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"items": "Users",
"pageSize": "Limit"
}
}
},
"com.amazonaws.cognitoidentityprovider#ListUsersInGroupRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
},
"GroupName": {
"target": "com.amazonaws.cognitoidentityprovider#GroupNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the group.</p>",
"smithy.api#required": {}
}
},
"Limit": {
"target": "com.amazonaws.cognitoidentityprovider#QueryLimitType",
"traits": {
"smithy.api#documentation": "<p>The limit of the request to list users.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKey",
"traits": {
"smithy.api#documentation": "<p>An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#ListUsersInGroupResponse": {
"type": "structure",
"members": {
"Users": {
"target": "com.amazonaws.cognitoidentityprovider#UsersListType",
"traits": {
"smithy.api#documentation": "<p>The users returned in the request to list users.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cognitoidentityprovider#PaginationKey",
"traits": {
"smithy.api#documentation": "<p>An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#ListUsersRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool on which the search should be performed.</p>",
"smithy.api#required": {}
}
},
"AttributesToGet": {
"target": "com.amazonaws.cognitoidentityprovider#SearchedAttributeNamesListType",
"traits": {
"smithy.api#documentation": "<p>An array of strings, where each string is the name of a user attribute to be returned\n for each user in the search results. If the array is null, all attributes are\n returned.</p>"
}
},
"Limit": {
"target": "com.amazonaws.cognitoidentityprovider#QueryLimitType",
"traits": {
"smithy.api#documentation": "<p>Maximum number of users to be returned.</p>"
}
},
"PaginationToken": {
"target": "com.amazonaws.cognitoidentityprovider#SearchPaginationTokenType",
"traits": {
"smithy.api#documentation": "<p>An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.</p>"
}
},
"Filter": {
"target": "com.amazonaws.cognitoidentityprovider#UserFilterType",
"traits": {
"smithy.api#documentation": "<p>A filter string of the form \"<i>AttributeName</i>\n <i>Filter-Type</i> \"<i>AttributeValue</i>\"\". Quotation marks\n within the filter string must be escaped using the backslash (\\) character. For example,\n \"<code>family_name</code> = \\\"Reddy\\\"\".</p>\n <ul>\n <li>\n <p>\n <i>AttributeName</i>: The name of the attribute to search for.\n You can only search for one attribute at a time.</p>\n </li>\n <li>\n <p>\n <i>Filter-Type</i>: For an exact match, use =, for example,\n \"<code>given_name</code> = \\\"Jon\\\"\". For a prefix (\"starts with\") match, use\n ^=, for example, \"<code>given_name</code> ^= \\\"Jon\\\"\". </p>\n </li>\n <li>\n <p>\n <i>AttributeValue</i>: The attribute value that must be matched\n for each user.</p>\n </li>\n </ul>\n <p>If the filter string is empty, <code>ListUsers</code> returns all users in the user\n pool.</p>\n <p>You can only search for the following standard attributes:</p>\n <ul>\n <li>\n <p>\n <code>username</code> (case-sensitive)</p>\n </li>\n <li>\n <p>\n <code>email</code>\n </p>\n </li>\n <li>\n <p>\n <code>phone_number</code>\n </p>\n </li>\n <li>\n <p>\n <code>name</code>\n </p>\n </li>\n <li>\n <p>\n <code>given_name</code>\n </p>\n </li>\n <li>\n <p>\n <code>family_name</code>\n </p>\n </li>\n <li>\n <p>\n <code>preferred_username</code>\n </p>\n </li>\n <li>\n <p>\n <code>cognito:user_status</code> (called <b>Status</b> in the Console) (case-insensitive)</p>\n </li>\n <li>\n <p>\n <code>status (called <b>Enabled</b> in the Console)\n (case-sensitive)</code>\n </p>\n </li>\n <li>\n <p>\n <code>sub</code>\n </p>\n </li>\n </ul>\n <p>Custom attributes are not searchable.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-using-listusers-api\">Searching for Users Using the ListUsers API</a> and <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-listusers-api-examples\">Examples of Using the ListUsers API</a> in the <i>Amazon Cognito\n Developer Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to list users.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ListUsersResponse": {
"type": "structure",
"members": {
"Users": {
"target": "com.amazonaws.cognitoidentityprovider#UsersListType",
"traits": {
"smithy.api#documentation": "<p>The users returned in the request to list users.</p>"
}
},
"PaginationToken": {
"target": "com.amazonaws.cognitoidentityprovider#SearchPaginationTokenType",
"traits": {
"smithy.api#documentation": "<p>An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The response from the request to list users.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#LogoutURLsListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#RedirectUrlType"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 100
}
}
},
"com.amazonaws.cognitoidentityprovider#LongType": {
"type": "long"
},
"com.amazonaws.cognitoidentityprovider#MFAMethodNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when Amazon Cognito throws an MFA method not found\n exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when Amazon Cognito cannot find a multi-factor authentication\n (MFA) method.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#MFAOptionListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#MFAOptionType"
}
},
"com.amazonaws.cognitoidentityprovider#MFAOptionType": {
"type": "structure",
"members": {
"DeliveryMedium": {
"target": "com.amazonaws.cognitoidentityprovider#DeliveryMediumType",
"traits": {
"smithy.api#documentation": "<p>The delivery medium to send the MFA code. You can use this parameter to set only the\n <code>SMS</code> delivery medium value.</p>"
}
},
"AttributeName": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeNameType",
"traits": {
"smithy.api#documentation": "<p>The attribute name of the MFA option type. The only valid value is\n <code>phone_number</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n <i>This data type is no longer supported.</i> You can use it only for\n SMS MFA configurations. You can't use it for TOTP software token MFA\n configurations.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#MessageActionType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "RESEND",
"name": "RESEND"
},
{
"value": "SUPPRESS",
"name": "SUPPRESS"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#MessageTemplateType": {
"type": "structure",
"members": {
"SMSMessage": {
"target": "com.amazonaws.cognitoidentityprovider#SmsVerificationMessageType",
"traits": {
"smithy.api#documentation": "<p>The message template for SMS messages.</p>"
}
},
"EmailMessage": {
"target": "com.amazonaws.cognitoidentityprovider#EmailVerificationMessageType",
"traits": {
"smithy.api#documentation": "<p>The message template for email messages. EmailMessage is allowed only if <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount\">EmailSendingAccount</a> is DEVELOPER. </p>"
}
},
"EmailSubject": {
"target": "com.amazonaws.cognitoidentityprovider#EmailVerificationSubjectType",
"traits": {
"smithy.api#documentation": "<p>The subject line for email messages. EmailSubject is allowed only if <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount\">EmailSendingAccount</a> is DEVELOPER. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The message template structure.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#MessageType": {
"type": "string"
},
"com.amazonaws.cognitoidentityprovider#NewDeviceMetadataType": {
"type": "structure",
"members": {
"DeviceKey": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceKeyType",
"traits": {
"smithy.api#documentation": "<p>The device key.</p>"
}
},
"DeviceGroupKey": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The device group key.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The new device metadata type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#NotAuthorizedException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the Amazon Cognito service returns a not authorized\n exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when a user is not authorized.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 403
}
},
"com.amazonaws.cognitoidentityprovider#NotifyConfigurationType": {
"type": "structure",
"members": {
"From": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The email address that is sending the email. It must be either individually verified\n with Amazon SES, or from a domain that has been verified with Amazon SES.</p>"
}
},
"ReplyTo": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The destination to which the receiver of an email should reply to.</p>"
}
},
"SourceArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the identity that is associated with the sending\n authorization policy. It permits Amazon Cognito to send for the email address specified\n in the <code>From</code> parameter.</p>",
"smithy.api#required": {}
}
},
"BlockEmail": {
"target": "com.amazonaws.cognitoidentityprovider#NotifyEmailType",
"traits": {
"smithy.api#documentation": "<p>Email template used when a detected risk event is blocked.</p>"
}
},
"NoActionEmail": {
"target": "com.amazonaws.cognitoidentityprovider#NotifyEmailType",
"traits": {
"smithy.api#documentation": "<p>The email template used when a detected risk event is allowed.</p>"
}
},
"MfaEmail": {
"target": "com.amazonaws.cognitoidentityprovider#NotifyEmailType",
"traits": {
"smithy.api#documentation": "<p>The MFA email template used when MFA is challenged as part of a detected risk.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The notify configuration type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#NotifyEmailType": {
"type": "structure",
"members": {
"Subject": {
"target": "com.amazonaws.cognitoidentityprovider#EmailNotificationSubjectType",
"traits": {
"smithy.api#documentation": "<p>The subject.</p>",
"smithy.api#required": {}
}
},
"HtmlBody": {
"target": "com.amazonaws.cognitoidentityprovider#EmailNotificationBodyType",
"traits": {
"smithy.api#documentation": "<p>The HTML body.</p>"
}
},
"TextBody": {
"target": "com.amazonaws.cognitoidentityprovider#EmailNotificationBodyType",
"traits": {
"smithy.api#documentation": "<p>The text body.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The notify email type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#NumberAttributeConstraintsType": {
"type": "structure",
"members": {
"MinValue": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The minimum value of an attribute that is of the number data type.</p>"
}
},
"MaxValue": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The maximum value of an attribute that is of the number data type.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The minimum and maximum value of an attribute that is of the number data type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#OAuthFlowType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "code",
"name": "code"
},
{
"value": "implicit",
"name": "implicit"
},
{
"value": "client_credentials",
"name": "client_credentials"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#OAuthFlowsType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#OAuthFlowType"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 3
}
}
},
"com.amazonaws.cognitoidentityprovider#PaginationKey": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1
},
"smithy.api#pattern": "[\\S]+"
}
},
"com.amazonaws.cognitoidentityprovider#PaginationKeyType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1
},
"smithy.api#pattern": "[\\S]+"
}
},
"com.amazonaws.cognitoidentityprovider#PasswordPolicyMinLengthType": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 6,
"max": 99
}
}
},
"com.amazonaws.cognitoidentityprovider#PasswordPolicyType": {
"type": "structure",
"members": {
"MinimumLength": {
"target": "com.amazonaws.cognitoidentityprovider#PasswordPolicyMinLengthType",
"traits": {
"smithy.api#documentation": "<p>The minimum length of the password policy that you have set. Cannot be less than\n 6.</p>"
}
},
"RequireUppercase": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>In the password policy that you have set, refers to whether you have required users to\n use at least one uppercase letter in their password.</p>"
}
},
"RequireLowercase": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>In the password policy that you have set, refers to whether you have required users to\n use at least one lowercase letter in their password.</p>"
}
},
"RequireNumbers": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>In the password policy that you have set, refers to whether you have required users to\n use at least one number in their password.</p>"
}
},
"RequireSymbols": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>In the password policy that you have set, refers to whether you have required users to\n use at least one symbol in their password.</p>"
}
},
"TemporaryPasswordValidityDays": {
"target": "com.amazonaws.cognitoidentityprovider#TemporaryPasswordValidityDaysType",
"traits": {
"smithy.api#documentation": "<p>In the password policy you have set, refers to the number of days a temporary password\n is valid. If the user does not sign-in during this time, their password will need to be\n reset by an administrator.</p>\n <note>\n <p>When you set <code>TemporaryPasswordValidityDays</code> for a user pool, you will\n no longer be able to set the deprecated <code>UnusedAccountValidityDays</code> value\n for that user pool.</p>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The password policy type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when a password reset is required.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when a password reset is required.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#PasswordType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 6,
"max": 256
},
"smithy.api#pattern": "[\\S]+",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.cognitoidentityprovider#PoolQueryLimitType": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 60
}
}
},
"com.amazonaws.cognitoidentityprovider#PreSignedUrlType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 2048
}
}
},
"com.amazonaws.cognitoidentityprovider#PrecedenceType": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.cognitoidentityprovider#PreconditionNotMetException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when a precondition is not met.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when a precondition is not met.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#PreventUserExistenceErrorTypes": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "LEGACY",
"name": "LEGACY"
},
{
"value": "ENABLED",
"name": "ENABLED"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#PriorityType": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 2
}
}
},
"com.amazonaws.cognitoidentityprovider#ProviderDescription": {
"type": "structure",
"members": {
"ProviderName": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderNameType",
"traits": {
"smithy.api#documentation": "<p>The identity provider name.</p>"
}
},
"ProviderType": {
"target": "com.amazonaws.cognitoidentityprovider#IdentityProviderTypeType",
"traits": {
"smithy.api#documentation": "<p>The identity provider type.</p>"
}
},
"LastModifiedDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the provider was last modified.</p>"
}
},
"CreationDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the provider was added to the user pool.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A container for identity provider details.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ProviderDetailsType": {
"type": "map",
"key": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
},
"value": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
}
},
"com.amazonaws.cognitoidentityprovider#ProviderNameType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 32
},
"smithy.api#pattern": "[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+"
}
},
"com.amazonaws.cognitoidentityprovider#ProviderNameTypeV1": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 32
},
"smithy.api#pattern": "[^_][\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}][^_]+"
}
},
"com.amazonaws.cognitoidentityprovider#ProviderUserIdentifierType": {
"type": "structure",
"members": {
"ProviderName": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the provider, for example, Facebook, Google, or Login with Amazon.</p>"
}
},
"ProviderAttributeName": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The name of the provider attribute to link to, for example,\n <code>NameID</code>.</p>"
}
},
"ProviderAttributeValue": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The value of the provider attribute to link to, for example,\n <code>xxxxx_account</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A container for information about an identity provider for a user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ProvidersListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderDescription"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 50
}
}
},
"com.amazonaws.cognitoidentityprovider#QueryLimit": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 60
}
}
},
"com.amazonaws.cognitoidentityprovider#QueryLimitType": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0,
"max": 60
}
}
},
"com.amazonaws.cognitoidentityprovider#RecoveryMechanismsType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#RecoveryOptionType"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 2
}
}
},
"com.amazonaws.cognitoidentityprovider#RecoveryOptionNameType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "verified_email",
"name": "VERIFIED_EMAIL"
},
{
"value": "verified_phone_number",
"name": "VERIFIED_PHONE_NUMBER"
},
{
"value": "admin_only",
"name": "ADMIN_ONLY"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#RecoveryOptionType": {
"type": "structure",
"members": {
"Priority": {
"target": "com.amazonaws.cognitoidentityprovider#PriorityType",
"traits": {
"smithy.api#documentation": "<p>A positive integer specifying priority of a method with 1 being the highest\n priority.</p>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.cognitoidentityprovider#RecoveryOptionNameType",
"traits": {
"smithy.api#documentation": "<p>Specifies the recovery method for a user.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A map containing a priority as a key, and recovery method name as a value.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#RedirectUrlType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1024
},
"smithy.api#pattern": "[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+"
}
},
"com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 0,
"max": 315360000
}
}
},
"com.amazonaws.cognitoidentityprovider#ResendConfirmationCode": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#ResendConfirmationCodeRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#ResendConfirmationCodeResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryFailureException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidEmailRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>Resends the confirmation (for confirmation of registration) to a specific user in the\n user pool.</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#ResendConfirmationCodeRequest": {
"type": "structure",
"members": {
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The ID of the client associated with the user pool.</p>",
"smithy.api#required": {}
}
},
"SecretHash": {
"target": "com.amazonaws.cognitoidentityprovider#SecretHashType",
"traits": {
"smithy.api#documentation": "<p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a\n user pool client and username plus the client ID in the message.</p>"
}
},
"UserContextData": {
"target": "com.amazonaws.cognitoidentityprovider#UserContextDataType",
"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>"
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user to whom you wish to resend a confirmation code.</p>",
"smithy.api#required": {}
}
},
"AnalyticsMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Pinpoint analytics metadata for collecting metrics for\n <code>ResendConfirmationCode</code> calls.</p>"
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers. </p>\n <p>You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the ResendConfirmationCode API action, Amazon Cognito invokes the function\n that is assigned to the <i>custom message</i> trigger. When Amazon Cognito\n invokes this function, it passes a JSON payload, which the function receives as input.\n This payload contains a <code>clientMetadata</code> attribute, which provides the data\n that you assigned to the ClientMetadata parameter in your ResendConfirmationCode\n request. In your function code in AWS Lambda, you can process the\n <code>clientMetadata</code> value to enhance your workflow for your specific\n needs.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to resend the confirmation code.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ResendConfirmationCodeResponse": {
"type": "structure",
"members": {
"CodeDeliveryDetails": {
"target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryDetailsType",
"traits": {
"smithy.api#documentation": "<p>The code delivery details returned by the server in response to the request to resend\n the confirmation code.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The response from the server when the Amazon Cognito Your User Pools service makes the\n request to resend a confirmation code.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ResourceNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the Amazon Cognito service returns a resource not found\n exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the Amazon Cognito service cannot find the requested\n resource.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.cognitoidentityprovider#ResourceServerIdentifierType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 256
},
"smithy.api#pattern": "[\\x21\\x23-\\x5B\\x5D-\\x7E]+"
}
},
"com.amazonaws.cognitoidentityprovider#ResourceServerNameType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 256
},
"smithy.api#pattern": "[\\w\\s+=,.@-]+"
}
},
"com.amazonaws.cognitoidentityprovider#ResourceServerScopeDescriptionType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 256
}
}
},
"com.amazonaws.cognitoidentityprovider#ResourceServerScopeListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerScopeType"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 100
}
}
},
"com.amazonaws.cognitoidentityprovider#ResourceServerScopeNameType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 256
},
"smithy.api#pattern": "[\\x21\\x23-\\x2E\\x30-\\x5B\\x5D-\\x7E]+"
}
},
"com.amazonaws.cognitoidentityprovider#ResourceServerScopeType": {
"type": "structure",
"members": {
"ScopeName": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerScopeNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the scope.</p>",
"smithy.api#required": {}
}
},
"ScopeDescription": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerScopeDescriptionType",
"traits": {
"smithy.api#documentation": "<p>A description of the scope.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A resource server scope.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ResourceServerType": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool that hosts the resource server.</p>"
}
},
"Identifier": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerIdentifierType",
"traits": {
"smithy.api#documentation": "<p>The identifier for the resource server.</p>"
}
},
"Name": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the resource server.</p>"
}
},
"Scopes": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerScopeListType",
"traits": {
"smithy.api#documentation": "<p>A list of scopes that are defined for the resource server.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A container for information about a resource server for a user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#ResourceServersListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerType"
}
},
"com.amazonaws.cognitoidentityprovider#RespondToAuthChallenge": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#RespondToAuthChallengeRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#RespondToAuthChallengeResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#AliasExistsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#CodeMismatchException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ExpiredCodeException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidPasswordException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#MFAMethodNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#SoftwareTokenMFANotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>Responds to the authentication challenge.</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#RespondToAuthChallengeRequest": {
"type": "structure",
"members": {
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The app client ID.</p>",
"smithy.api#required": {}
}
},
"ChallengeName": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeNameType",
"traits": {
"smithy.api#documentation": "<p>The challenge name. For more information, see <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html\">InitiateAuth</a>.</p>\n <p>\n <code>ADMIN_NO_SRP_AUTH</code> is not a valid value.</p>",
"smithy.api#required": {}
}
},
"Session": {
"target": "com.amazonaws.cognitoidentityprovider#SessionType",
"traits": {
"smithy.api#documentation": "<p>The session which should be passed both ways in challenge-response calls to the\n service. If <code>InitiateAuth</code> or <code>RespondToAuthChallenge</code> API call\n determines that the caller needs to go through another challenge, they return a session\n with other challenge parameters. This session should be passed as it is to the next\n <code>RespondToAuthChallenge</code> API call.</p>"
}
},
"ChallengeResponses": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeResponsesType",
"traits": {
"smithy.api#documentation": "<p>The challenge responses. These are inputs corresponding to the value of\n <code>ChallengeName</code>, for example:</p>\n <note>\n <p>\n <code>SECRET_HASH</code> (if app client is configured with client secret) applies\n to all inputs below (including <code>SOFTWARE_TOKEN_MFA</code>).</p>\n </note>\n <ul>\n <li>\n <p>\n <code>SMS_MFA</code>: <code>SMS_MFA_CODE</code>, <code>USERNAME</code>.</p>\n </li>\n <li>\n <p>\n <code>PASSWORD_VERIFIER</code>: <code>PASSWORD_CLAIM_SIGNATURE</code>,\n <code>PASSWORD_CLAIM_SECRET_BLOCK</code>, <code>TIMESTAMP</code>,\n <code>USERNAME</code>.</p>\n </li>\n <li>\n <p>\n <code>NEW_PASSWORD_REQUIRED</code>: <code>NEW_PASSWORD</code>, any other\n required attributes, <code>USERNAME</code>. </p>\n </li>\n <li>\n <p>\n <code>SOFTWARE_TOKEN_MFA</code>: <code>USERNAME</code> and\n <code>SOFTWARE_TOKEN_MFA_CODE</code> are required attributes.</p>\n </li>\n <li>\n <p>\n <code>DEVICE_SRP_AUTH</code> requires <code>USERNAME</code>,\n <code>DEVICE_KEY</code>, <code>SRP_A</code> (and\n <code>SECRET_HASH</code>).</p>\n </li>\n <li>\n <p>\n <code>DEVICE_PASSWORD_VERIFIER</code> requires everything that\n <code>PASSWORD_VERIFIER</code> requires plus <code>DEVICE_KEY</code>.</p>\n </li>\n <li>\n <p>\n <code>MFA_SETUP</code> requires <code>USERNAME</code>, plus you need to use\n the session value returned by <code>VerifySoftwareToken</code> in the\n <code>Session</code> parameter.</p>\n </li>\n </ul>"
}
},
"AnalyticsMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Pinpoint analytics metadata for collecting metrics for\n <code>RespondToAuthChallenge</code> calls.</p>"
}
},
"UserContextData": {
"target": "com.amazonaws.cognitoidentityprovider#UserContextDataType",
"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>"
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers. </p>\n <p>You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the RespondToAuthChallenge API action, Amazon Cognito invokes any functions\n that are assigned to the following triggers: <i>post authentication</i>,\n <i>pre token generation</i>, <i>define auth\n challenge</i>, <i>create auth challenge</i>, and\n <i>verify auth challenge</i>. When Amazon Cognito invokes any of these\n functions, it passes a JSON payload, which the function receives as input. This payload\n contains a <code>clientMetadata</code> attribute, which provides the data that you\n assigned to the ClientMetadata parameter in your RespondToAuthChallenge request. In your\n function code in AWS Lambda, you can process the <code>clientMetadata</code> value to\n enhance your workflow for your specific needs.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The request to respond to an authentication challenge.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#RespondToAuthChallengeResponse": {
"type": "structure",
"members": {
"ChallengeName": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeNameType",
"traits": {
"smithy.api#documentation": "<p>The challenge name. For more information, see <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html\">InitiateAuth</a>.</p>"
}
},
"Session": {
"target": "com.amazonaws.cognitoidentityprovider#SessionType",
"traits": {
"smithy.api#documentation": "<p>The session which should be passed both ways in challenge-response calls to the\n service. If the caller needs to go through another challenge, they return a session with\n other challenge parameters. This session should be passed as it is to the next\n <code>RespondToAuthChallenge</code> API call.</p>"
}
},
"ChallengeParameters": {
"target": "com.amazonaws.cognitoidentityprovider#ChallengeParametersType",
"traits": {
"smithy.api#documentation": "<p>The challenge parameters. For more information, see <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html\">InitiateAuth</a>.</p>"
}
},
"AuthenticationResult": {
"target": "com.amazonaws.cognitoidentityprovider#AuthenticationResultType",
"traits": {
"smithy.api#documentation": "<p>The result returned by the server in response to the request to respond to the\n authentication challenge.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The response to respond to the authentication challenge.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#RiskConfigurationType": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>"
}
},
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The app client ID.</p>"
}
},
"CompromisedCredentialsRiskConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#CompromisedCredentialsRiskConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The compromised credentials risk configuration object including the\n <code>EventFilter</code> and the <code>EventAction</code>\n </p>"
}
},
"AccountTakeoverRiskConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#AccountTakeoverRiskConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The account takeover risk configuration object including the\n <code>NotifyConfiguration</code> object and <code>Actions</code> to take in the case\n of an account takeover.</p>"
}
},
"RiskExceptionConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#RiskExceptionConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The configuration to override the risk decision.</p>"
}
},
"LastModifiedDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The last modified date.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The risk configuration type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#RiskDecisionType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "NoRisk",
"name": "NoRisk"
},
{
"value": "AccountTakeover",
"name": "AccountTakeover"
},
{
"value": "Block",
"name": "Block"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#RiskExceptionConfigurationType": {
"type": "structure",
"members": {
"BlockedIPRangeList": {
"target": "com.amazonaws.cognitoidentityprovider#BlockedIPRangeListType",
"traits": {
"smithy.api#documentation": "<p>Overrides the risk decision to always block the pre-authentication requests. The IP\n range is in CIDR notation: a compact representation of an IP address and its associated\n routing prefix.</p>"
}
},
"SkippedIPRangeList": {
"target": "com.amazonaws.cognitoidentityprovider#SkippedIPRangeListType",
"traits": {
"smithy.api#documentation": "<p>Risk detection is not performed on the IP addresses in the range list. The IP range is\n in CIDR notation.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The type of the configuration to override the risk decision.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#RiskLevelType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "Low",
"name": "Low"
},
{
"value": "Medium",
"name": "Medium"
},
{
"value": "High",
"name": "High"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#S3BucketType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 3,
"max": 1024
},
"smithy.api#pattern": "^[0-9A-Za-z\\.\\-_]*(?<!\\.)$"
}
},
"com.amazonaws.cognitoidentityprovider#SESConfigurationSet": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 64
},
"smithy.api#pattern": "^[a-zA-Z0-9_-]+$"
}
},
"com.amazonaws.cognitoidentityprovider#SMSMfaSettingsType": {
"type": "structure",
"members": {
"Enabled": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether SMS text message MFA is enabled. If an MFA type is enabled for a\n user, the user will be prompted for MFA during all sign in attempts, unless device\n tracking is turned on and the device has been trusted.</p>"
}
},
"PreferredMfa": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether SMS is the preferred MFA method.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The type used for enabling SMS MFA at the user level. Phone numbers don't need to be\n verified to be used for SMS MFA. If an MFA type is enabled for a user, the user will be\n prompted for MFA during all sign in attempts, unless device tracking is turned on and\n the device has been trusted. If you would like MFA to be applied selectively based on\n the assessed risk level of sign in attempts, disable MFA for users and turn on Adaptive\n Authentication for the user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#SchemaAttributeType": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.cognitoidentityprovider#CustomAttributeNameType",
"traits": {
"smithy.api#documentation": "<p>A schema attribute of the name type.</p>"
}
},
"AttributeDataType": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeDataType",
"traits": {
"smithy.api#documentation": "<p>The attribute data type.</p>"
}
},
"DeveloperOnlyAttribute": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#box": {},
"smithy.api#documentation": "<note>\n <p>We recommend that you use <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UserPoolClientType.html#CognitoUserPools-Type-UserPoolClientType-WriteAttributes\">WriteAttributes</a> in the user pool client to control how attributes can\n be mutated for new use cases instead of using\n <code>DeveloperOnlyAttribute</code>.</p>\n </note>\n <p>Specifies whether the attribute type is developer only. This attribute can only be\n modified by an administrator. Users will not be able to modify this attribute using\n their access token. For example, <code>DeveloperOnlyAttribute</code> can be modified\n using AdminUpdateUserAttributes but cannot be updated using UpdateUserAttributes.</p>"
}
},
"Mutable": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#box": {},
"smithy.api#documentation": "<p>Specifies whether the value of the attribute can be changed.</p>\n <p>For any user pool attribute that's mapped to an identity provider attribute, you must\n set this parameter to <code>true</code>. Amazon Cognito updates mapped attributes when\n users sign in to your application through an identity provider. If an attribute is\n immutable, Amazon Cognito throws an error when it attempts to update the attribute. For\n more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-specifying-attribute-mapping.html\">Specifying Identity Provider Attribute Mappings for Your User\n Pool</a>.</p>"
}
},
"Required": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#box": {},
"smithy.api#documentation": "<p>Specifies whether a user pool attribute is required. If the attribute is required and\n the user does not provide a value, registration or sign-in will fail.</p>"
}
},
"NumberAttributeConstraints": {
"target": "com.amazonaws.cognitoidentityprovider#NumberAttributeConstraintsType",
"traits": {
"smithy.api#documentation": "<p>Specifies the constraints for an attribute of the number type.</p>"
}
},
"StringAttributeConstraints": {
"target": "com.amazonaws.cognitoidentityprovider#StringAttributeConstraintsType",
"traits": {
"smithy.api#documentation": "<p>Specifies the constraints for an attribute of the string type.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about the schema attribute.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#SchemaAttributesListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#SchemaAttributeType"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.cognitoidentityprovider#ScopeDoesNotExistException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType"
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the specified scope does not exist.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#ScopeListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#ScopeType"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 50
}
}
},
"com.amazonaws.cognitoidentityprovider#ScopeType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 256
},
"smithy.api#pattern": "[\\x21\\x23-\\x5B\\x5D-\\x7E]+"
}
},
"com.amazonaws.cognitoidentityprovider#SearchPaginationTokenType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1
},
"smithy.api#pattern": "[\\S]+"
}
},
"com.amazonaws.cognitoidentityprovider#SearchedAttributeNamesListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeNameType"
}
},
"com.amazonaws.cognitoidentityprovider#SecretCodeType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 16
},
"smithy.api#pattern": "[A-Za-z0-9]+",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.cognitoidentityprovider#SecretHashType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[\\w+=/]+",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.cognitoidentityprovider#SessionType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 20,
"max": 2048
}
}
},
"com.amazonaws.cognitoidentityprovider#SetRiskConfiguration": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#SetRiskConfigurationRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#SetRiskConfigurationResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryFailureException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidEmailRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserPoolAddOnNotEnabledException"
}
],
"traits": {
"smithy.api#documentation": "<p>Configures actions on detected risks. To delete the risk configuration for\n <code>UserPoolId</code> or <code>ClientId</code>, pass null values for all four\n configuration types.</p>\n <p>To enable Amazon Cognito advanced security features, update the user pool to include\n the <code>UserPoolAddOns</code> key<code>AdvancedSecurityMode</code>.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#SetRiskConfigurationRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID. </p>",
"smithy.api#required": {}
}
},
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The app client ID. If <code>ClientId</code> is null, then the risk configuration is\n mapped to <code>userPoolId</code>. When the client ID is null, the same risk\n configuration is applied to all the clients in the userPool.</p>\n <p>Otherwise, <code>ClientId</code> is mapped to the client. When the client ID is not\n null, the user pool configuration is overridden and the risk configuration for the\n client is used instead.</p>"
}
},
"CompromisedCredentialsRiskConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#CompromisedCredentialsRiskConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The compromised credentials risk configuration.</p>"
}
},
"AccountTakeoverRiskConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#AccountTakeoverRiskConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The account takeover risk configuration.</p>"
}
},
"RiskExceptionConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#RiskExceptionConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The configuration to override the risk decision.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#SetRiskConfigurationResponse": {
"type": "structure",
"members": {
"RiskConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#RiskConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The risk configuration.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#SetUICustomization": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#SetUICustomizationRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#SetUICustomizationResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Sets the UI customization information for a user pool's built-in app UI.</p>\n <p>You can specify app UI customization settings for a single client (with a specific\n <code>clientId</code>) or for all clients (by setting the <code>clientId</code> to\n <code>ALL</code>). If you specify <code>ALL</code>, the default configuration will\n be used for every client that has no UI customization set previously. If you specify UI\n customization settings for a particular client, it will no longer fall back to the\n <code>ALL</code> configuration. </p>\n <note>\n <p>To use this API, your user pool must have a domain associated with it. Otherwise,\n there is no place to host the app's pages, and the service will throw an\n error.</p>\n </note>"
}
},
"com.amazonaws.cognitoidentityprovider#SetUICustomizationRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
},
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The client ID for the client app.</p>"
}
},
"CSS": {
"target": "com.amazonaws.cognitoidentityprovider#CSSType",
"traits": {
"smithy.api#documentation": "<p>The CSS values in the UI customization.</p>"
}
},
"ImageFile": {
"target": "com.amazonaws.cognitoidentityprovider#ImageFileType",
"traits": {
"smithy.api#documentation": "<p>The uploaded logo image for the UI customization.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#SetUICustomizationResponse": {
"type": "structure",
"members": {
"UICustomization": {
"target": "com.amazonaws.cognitoidentityprovider#UICustomizationType",
"traits": {
"smithy.api#documentation": "<p>The UI customization information.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#SetUserMFAPreference": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#SetUserMFAPreferenceRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#SetUserMFAPreferenceResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Set the user's multi-factor authentication (MFA) method preference, including which\n MFA factors are enabled and if any are preferred. Only one factor can be set as\n preferred. The preferred MFA factor will be used to authenticate a user if multiple\n factors are enabled. If multiple options are enabled and no preference is set, a\n challenge to choose an MFA option will be returned during sign in. If an MFA type is\n enabled for a user, the user will be prompted for MFA during all sign in attempts,\n unless device tracking is turned on and the device has been trusted. If you would like\n MFA to be applied selectively based on the assessed risk level of sign in attempts,\n disable MFA for users and turn on Adaptive Authentication for the user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#SetUserMFAPreferenceRequest": {
"type": "structure",
"members": {
"SMSMfaSettings": {
"target": "com.amazonaws.cognitoidentityprovider#SMSMfaSettingsType",
"traits": {
"smithy.api#documentation": "<p>The SMS text message multi-factor authentication (MFA) settings.</p>"
}
},
"SoftwareTokenMfaSettings": {
"target": "com.amazonaws.cognitoidentityprovider#SoftwareTokenMfaSettingsType",
"traits": {
"smithy.api#documentation": "<p>The time-based one-time password software token MFA settings.</p>"
}
},
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token for the user.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#SetUserMFAPreferenceResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.cognitoidentityprovider#SetUserPoolMfaConfig": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#SetUserPoolMfaConfigRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#SetUserPoolMfaConfigResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Set the user pool multi-factor authentication (MFA) configuration.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#SetUserPoolMfaConfigRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"SmsMfaConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#SmsMfaConfigType",
"traits": {
"smithy.api#documentation": "<p>The SMS text message MFA configuration.</p>"
}
},
"SoftwareTokenMfaConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#SoftwareTokenMfaConfigType",
"traits": {
"smithy.api#documentation": "<p>The software token MFA configuration.</p>"
}
},
"MfaConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolMfaType",
"traits": {
"smithy.api#documentation": "<p>The MFA configuration. Users who don't have an MFA factor set up won't be able to\n sign-in if you set the MfaConfiguration value to ON. See <a href=\"cognito/latest/developerguide/user-pool-settings-mfa.html\">Adding Multi-Factor\n Authentication (MFA) to a User Pool</a> to learn more. Valid values\n include:</p>\n <ul>\n <li>\n <p>\n <code>OFF</code> MFA will not be used for any users.</p>\n </li>\n <li>\n <p>\n <code>ON</code> MFA is required for all users to sign in.</p>\n </li>\n <li>\n <p>\n <code>OPTIONAL</code> MFA will be required only for individual users who have\n an MFA factor enabled.</p>\n </li>\n </ul>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#SetUserPoolMfaConfigResponse": {
"type": "structure",
"members": {
"SmsMfaConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#SmsMfaConfigType",
"traits": {
"smithy.api#documentation": "<p>The SMS text message MFA configuration.</p>"
}
},
"SoftwareTokenMfaConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#SoftwareTokenMfaConfigType",
"traits": {
"smithy.api#documentation": "<p>The software token MFA configuration.</p>"
}
},
"MfaConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolMfaType",
"traits": {
"smithy.api#documentation": "<p>The MFA configuration. Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>OFF</code> MFA will not be used for any users.</p>\n </li>\n <li>\n <p>\n <code>ON</code> MFA is required for all users to sign in.</p>\n </li>\n <li>\n <p>\n <code>OPTIONAL</code> MFA will be required only for individual users who have\n an MFA factor enabled.</p>\n </li>\n </ul>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#SetUserSettings": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#SetUserSettingsRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#SetUserSettingsResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>\n <i>This action is no longer supported.</i> You can use it to configure\n only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either\n type of MFA, use <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserMFAPreference.html\">SetUserMFAPreference</a> instead.</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#SetUserSettingsRequest": {
"type": "structure",
"members": {
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token for the set user settings request.</p>",
"smithy.api#required": {}
}
},
"MFAOptions": {
"target": "com.amazonaws.cognitoidentityprovider#MFAOptionListType",
"traits": {
"smithy.api#documentation": "<p>You can use this parameter only to set an SMS configuration that uses SMS for\n delivery.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to set user settings.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#SetUserSettingsResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>The response from the server for a set user settings request.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#SignUp": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#SignUpRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#SignUpResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryFailureException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidEmailRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidPasswordException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UsernameExistsException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>Registers the user in the specified user pool and creates a user name, password, and\n user attributes.</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#SignUpRequest": {
"type": "structure",
"members": {
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The ID of the client associated with the user pool.</p>",
"smithy.api#required": {}
}
},
"SecretHash": {
"target": "com.amazonaws.cognitoidentityprovider#SecretHashType",
"traits": {
"smithy.api#documentation": "<p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a\n user pool client and username plus the client ID in the message.</p>"
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user you wish to register.</p>",
"smithy.api#required": {}
}
},
"Password": {
"target": "com.amazonaws.cognitoidentityprovider#PasswordType",
"traits": {
"smithy.api#documentation": "<p>The password of the user you wish to register.</p>",
"smithy.api#required": {}
}
},
"UserAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeListType",
"traits": {
"smithy.api#documentation": "<p>An array of name-value pairs representing user attributes.</p>\n <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the\n attribute name.</p>"
}
},
"ValidationData": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeListType",
"traits": {
"smithy.api#documentation": "<p>The validation data in the request to register a user.</p>"
}
},
"AnalyticsMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Pinpoint analytics metadata for collecting metrics for <code>SignUp</code>\n calls.</p>"
}
},
"UserContextData": {
"target": "com.amazonaws.cognitoidentityprovider#UserContextDataType",
"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>"
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers. </p>\n <p>You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the SignUp API action, Amazon Cognito invokes any functions that are\n assigned to the following triggers: <i>pre sign-up</i>, <i>custom\n message</i>, and <i>post confirmation</i>. When Amazon Cognito\n invokes any of these functions, it passes a JSON payload, which the function receives as\n input. This payload contains a <code>clientMetadata</code> attribute, which provides the\n data that you assigned to the ClientMetadata parameter in your SignUp request. In your\n function code in AWS Lambda, you can process the <code>clientMetadata</code> value to\n enhance your workflow for your specific needs.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to register a user.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#SignUpResponse": {
"type": "structure",
"members": {
"UserConfirmed": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>A response from the server indicating that a user registration has been\n confirmed.</p>",
"smithy.api#required": {}
}
},
"CodeDeliveryDetails": {
"target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryDetailsType",
"traits": {
"smithy.api#documentation": "<p>The code delivery details returned by the server response to the user registration\n request.</p>"
}
},
"UserSub": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The UUID of the authenticated user. This is not the same as\n <code>username</code>.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The response from the server for a registration request.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#SkippedIPRangeListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 20
}
}
},
"com.amazonaws.cognitoidentityprovider#SmsConfigurationType": {
"type": "structure",
"members": {
"SnsCallerArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) caller.\n This is the ARN of the IAM role in your AWS account which Cognito will use to send SMS\n messages. SMS messages are subject to a <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html\">spending limit</a>. </p>",
"smithy.api#required": {}
}
},
"ExternalId": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The external ID is a value that we recommend you use to add security to your IAM role\n which is used to call Amazon SNS to send SMS messages for your user pool. If you provide\n an <code>ExternalId</code>, the Cognito User Pool will include it when attempting to\n assume your IAM role, so that you can set your roles trust policy to require the\n <code>ExternalID</code>. If you use the Cognito Management Console to create a role\n for SMS MFA, Cognito will create a role with the required permissions and a trust policy\n that demonstrates use of the <code>ExternalId</code>.</p>\n <p>For more information about the <code>ExternalId</code> of a role, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html\">How to use an\n external ID when granting access to your AWS resources to a third\n party</a>\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The SMS configuration type that includes the settings the Cognito User Pool needs to\n call for the Amazon SNS service to send an SMS message from your AWS account. The\n Cognito User Pool makes the request to the Amazon SNS Service by using an AWS IAM role\n that you provide for your AWS account.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#SmsMfaConfigType": {
"type": "structure",
"members": {
"SmsAuthenticationMessage": {
"target": "com.amazonaws.cognitoidentityprovider#SmsVerificationMessageType",
"traits": {
"smithy.api#documentation": "<p>The SMS authentication message that will be sent to users with the code they need to\n sign in. The message must contain the {####} placeholder, which will be replaced with\n the code. If the message is not included, and default message will be used.</p>"
}
},
"SmsConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#SmsConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The SMS configuration.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The SMS text message multi-factor authentication (MFA) configuration type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#SmsVerificationMessageType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 6,
"max": 140
},
"smithy.api#pattern": ".*\\{####\\}.*"
}
},
"com.amazonaws.cognitoidentityprovider#SoftwareTokenMFANotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType"
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the software token TOTP multi-factor authentication\n (MFA) is not enabled for the user pool.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#SoftwareTokenMFAUserCodeType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 6,
"max": 6
},
"smithy.api#pattern": "[0-9]+"
}
},
"com.amazonaws.cognitoidentityprovider#SoftwareTokenMfaConfigType": {
"type": "structure",
"members": {
"Enabled": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether software token MFA is enabled.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The type used for enabling software token MFA at the user pool level.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#SoftwareTokenMfaSettingsType": {
"type": "structure",
"members": {
"Enabled": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether software token MFA is enabled. If an MFA type is enabled for a user,\n the user will be prompted for MFA during all sign in attempts, unless device tracking is\n turned on and the device has been trusted.</p>"
}
},
"PreferredMfa": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether software token MFA is the preferred MFA method.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The type used for enabling software token MFA at the user level. If an MFA type is\n enabled for a user, the user will be prompted for MFA during all sign in attempts,\n unless device tracking is turned on and the device has been trusted. If you would like\n MFA to be applied selectively based on the assessed risk level of sign in attempts,\n disable MFA for users and turn on Adaptive Authentication for the user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#StartUserImportJob": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#StartUserImportJobRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#StartUserImportJobResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PreconditionNotMetException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Starts the user import.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#StartUserImportJobRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool that the users are being imported into.</p>",
"smithy.api#required": {}
}
},
"JobId": {
"target": "com.amazonaws.cognitoidentityprovider#UserImportJobIdType",
"traits": {
"smithy.api#documentation": "<p>The job ID for the user import job.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to start the user import job.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#StartUserImportJobResponse": {
"type": "structure",
"members": {
"UserImportJob": {
"target": "com.amazonaws.cognitoidentityprovider#UserImportJobType",
"traits": {
"smithy.api#documentation": "<p>The job object that represents the user import job.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server to the request to start the user import\n job.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#StatusType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "Enabled",
"name": "Enabled"
},
{
"value": "Disabled",
"name": "Disabled"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#StopUserImportJob": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#StopUserImportJobRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#StopUserImportJobResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PreconditionNotMetException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Stops the user import job.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#StopUserImportJobRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool that the users are being imported into.</p>",
"smithy.api#required": {}
}
},
"JobId": {
"target": "com.amazonaws.cognitoidentityprovider#UserImportJobIdType",
"traits": {
"smithy.api#documentation": "<p>The job ID for the user import job.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to stop the user import job.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#StopUserImportJobResponse": {
"type": "structure",
"members": {
"UserImportJob": {
"target": "com.amazonaws.cognitoidentityprovider#UserImportJobType",
"traits": {
"smithy.api#documentation": "<p>The job object that represents the user import job.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server to the request to stop the user import\n job.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#StringAttributeConstraintsType": {
"type": "structure",
"members": {
"MinLength": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The minimum length.</p>"
}
},
"MaxLength": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The maximum length.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The constraints associated with a string attribute.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#StringType": {
"type": "string"
},
"com.amazonaws.cognitoidentityprovider#SupportedIdentityProvidersListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderNameType"
}
},
"com.amazonaws.cognitoidentityprovider#TagKeysType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
}
}
},
"com.amazonaws.cognitoidentityprovider#TagResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#TagResourceRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#TagResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can\n use to categorize and manage user pools in different ways, such as by purpose, owner,\n environment, or other criteria.</p>\n <p>Each tag consists of a key and value, both of which you define. A key is a general\n category for more specific values. For example, if you have two versions of a user pool,\n one for testing and another for production, you might assign an <code>Environment</code>\n tag key to both user pools. The value of this key might be <code>Test</code> for one\n user pool and <code>Production</code> for the other.</p>\n <p>Tags are useful for cost tracking and access control. You can activate your tags so\n that they appear on the Billing and Cost Management console, where you can track the\n costs associated with your user pools. In an IAM policy, you can constrain permissions\n for user pools based on specific tags or tag values.</p>\n <p>You can use this action up to 5 times per second, per account. A user pool can have as\n many as 50 tags.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#TagResourceRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the user pool to assign the tags to.</p>",
"smithy.api#required": {}
}
},
"Tags": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolTagsType",
"traits": {
"smithy.api#documentation": "<p>The tags to assign to the user pool.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#TagResourceResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.cognitoidentityprovider#TagValueType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 256
}
}
},
"com.amazonaws.cognitoidentityprovider#TemporaryPasswordValidityDaysType": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 0,
"max": 365
}
}
},
"com.amazonaws.cognitoidentityprovider#TimeUnitsType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "seconds",
"name": "SECONDS"
},
{
"value": "minutes",
"name": "MINUTES"
},
{
"value": "hours",
"name": "HOURS"
},
{
"value": "days",
"name": "DAYS"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#TokenModelType": {
"type": "string",
"traits": {
"smithy.api#pattern": "[A-Za-z0-9-_=.]+",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.cognitoidentityprovider#TokenValidityUnitsType": {
"type": "structure",
"members": {
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TimeUnitsType",
"traits": {
"smithy.api#documentation": "<p> A time unit in “seconds”, “minutes”, “hours” or “days” for the value in\n AccessTokenValidity, defaults to hours.</p>"
}
},
"IdToken": {
"target": "com.amazonaws.cognitoidentityprovider#TimeUnitsType",
"traits": {
"smithy.api#documentation": "<p>A time unit in “seconds”, “minutes”, “hours” or “days” for the value in\n IdTokenValidity, defaults to hours.</p>"
}
},
"RefreshToken": {
"target": "com.amazonaws.cognitoidentityprovider#TimeUnitsType",
"traits": {
"smithy.api#documentation": "<p>A time unit in “seconds”, “minutes”, “hours” or “days” for the value in\n RefreshTokenValidity, defaults to days.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The data type for TokenValidityUnits that specifics the time measurements for token\n validity.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#TooManyFailedAttemptsException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the Amazon Cognito service returns a too many failed\n attempts exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the user has made too many failed attempts for a given\n action (e.g., sign in).</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#TooManyRequestsException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the Amazon Cognito service returns a too many requests\n exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the user has made too many requests for a given\n operation.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 429
}
},
"com.amazonaws.cognitoidentityprovider#UICustomizationType": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>"
}
},
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The client ID for the client app.</p>"
}
},
"ImageUrl": {
"target": "com.amazonaws.cognitoidentityprovider#ImageUrlType",
"traits": {
"smithy.api#documentation": "<p>The logo image for the UI customization.</p>"
}
},
"CSS": {
"target": "com.amazonaws.cognitoidentityprovider#CSSType",
"traits": {
"smithy.api#documentation": "<p>The CSS values in the UI customization.</p>"
}
},
"CSSVersion": {
"target": "com.amazonaws.cognitoidentityprovider#CSSVersionType",
"traits": {
"smithy.api#documentation": "<p>The CSS version number.</p>"
}
},
"LastModifiedDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The last-modified date for the UI customization.</p>"
}
},
"CreationDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The creation date for the UI customization.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A container for the UI customization information for a user pool's built-in app\n UI.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the Amazon Cognito service returns an unexpected AWS Lambda\n exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the Amazon Cognito service encounters an unexpected\n exception with the AWS Lambda service.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#UnsupportedIdentityProviderException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType"
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the specified identifier is not supported.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#UnsupportedUserStateException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the user is in an unsupported state.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The request failed because the user is in an unsupported state.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#UntagResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#UntagResourceRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#UntagResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Removes the specified tags from an Amazon Cognito user pool. You can use this action\n up to 5 times per second, per account</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UntagResourceRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the user pool that the tags are assigned to.</p>",
"smithy.api#required": {}
}
},
"TagKeys": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolTagsListType",
"traits": {
"smithy.api#documentation": "<p>The keys of the tags to remove from the user pool.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#UntagResourceResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.cognitoidentityprovider#UpdateAuthEventFeedback": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateAuthEventFeedbackRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateAuthEventFeedbackResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserPoolAddOnNotEnabledException"
}
],
"traits": {
"smithy.api#documentation": "<p>Provides the feedback for an authentication event whether it was from a valid user or\n not. This feedback is used for improving the risk evaluation decision for the user pool\n as part of Amazon Cognito advanced security.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateAuthEventFeedbackRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user pool username.</p>",
"smithy.api#required": {}
}
},
"EventId": {
"target": "com.amazonaws.cognitoidentityprovider#EventIdType",
"traits": {
"smithy.api#documentation": "<p>The event ID.</p>",
"smithy.api#required": {}
}
},
"FeedbackToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The feedback token.</p>",
"smithy.api#required": {}
}
},
"FeedbackValue": {
"target": "com.amazonaws.cognitoidentityprovider#FeedbackValueType",
"traits": {
"smithy.api#documentation": "<p>The authentication event feedback value.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#UpdateAuthEventFeedbackResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.cognitoidentityprovider#UpdateDeviceStatus": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateDeviceStatusRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateDeviceStatusResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the device status.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateDeviceStatusRequest": {
"type": "structure",
"members": {
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token.</p>",
"smithy.api#required": {}
}
},
"DeviceKey": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceKeyType",
"traits": {
"smithy.api#documentation": "<p>The device key.</p>",
"smithy.api#required": {}
}
},
"DeviceRememberedStatus": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceRememberedStatusType",
"traits": {
"smithy.api#documentation": "<p>The status of whether a device is remembered.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to update the device status.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateDeviceStatusResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>The response to the request to update the device status.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateGroupRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateGroupResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the specified group with the specified attributes.</p>\n <p>Calling this action requires developer credentials.</p>\n <important>\n <p>If you don't provide a value for an attribute, it will be set to the default\n value.</p>\n </important>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateGroupRequest": {
"type": "structure",
"members": {
"GroupName": {
"target": "com.amazonaws.cognitoidentityprovider#GroupNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the group.</p>",
"smithy.api#required": {}
}
},
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.cognitoidentityprovider#DescriptionType",
"traits": {
"smithy.api#documentation": "<p>A string containing the new description of the group.</p>"
}
},
"RoleArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The new role ARN for the group. This is used for setting the\n <code>cognito:roles</code> and <code>cognito:preferred_role</code> claims in the\n token.</p>"
}
},
"Precedence": {
"target": "com.amazonaws.cognitoidentityprovider#PrecedenceType",
"traits": {
"smithy.api#documentation": "<p>The new precedence value for the group. For more information about this parameter, see\n <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateGroup.html\">CreateGroup</a>.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#UpdateGroupResponse": {
"type": "structure",
"members": {
"Group": {
"target": "com.amazonaws.cognitoidentityprovider#GroupType",
"traits": {
"smithy.api#documentation": "<p>The group object for the group.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#UpdateIdentityProvider": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateIdentityProviderRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateIdentityProviderResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnsupportedIdentityProviderException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates identity provider information for a user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateIdentityProviderRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID.</p>",
"smithy.api#required": {}
}
},
"ProviderName": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderNameType",
"traits": {
"smithy.api#documentation": "<p>The identity provider name.</p>",
"smithy.api#required": {}
}
},
"ProviderDetails": {
"target": "com.amazonaws.cognitoidentityprovider#ProviderDetailsType",
"traits": {
"smithy.api#documentation": "<p>The identity provider details to be updated, such as <code>MetadataURL</code> and\n <code>MetadataFile</code>.</p>"
}
},
"AttributeMapping": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeMappingType",
"traits": {
"smithy.api#documentation": "<p>The identity provider attribute mapping to be changed.</p>"
}
},
"IdpIdentifiers": {
"target": "com.amazonaws.cognitoidentityprovider#IdpIdentifiersListType",
"traits": {
"smithy.api#documentation": "<p>A list of identity provider identifiers.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#UpdateIdentityProviderResponse": {
"type": "structure",
"members": {
"IdentityProvider": {
"target": "com.amazonaws.cognitoidentityprovider#IdentityProviderType",
"traits": {
"smithy.api#documentation": "<p>The identity provider object.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#UpdateResourceServer": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateResourceServerRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateResourceServerResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the name and scopes of resource server. All other fields are read-only.</p>\n <important>\n <p>If you don't provide a value for an attribute, it will be set to the default\n value.</p>\n </important>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateResourceServerRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool.</p>",
"smithy.api#required": {}
}
},
"Identifier": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerIdentifierType",
"traits": {
"smithy.api#documentation": "<p>The identifier for the resource server.</p>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the resource server.</p>",
"smithy.api#required": {}
}
},
"Scopes": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerScopeListType",
"traits": {
"smithy.api#documentation": "<p>The scope values to be set for the resource server.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#UpdateResourceServerResponse": {
"type": "structure",
"members": {
"ResourceServer": {
"target": "com.amazonaws.cognitoidentityprovider#ResourceServerType",
"traits": {
"smithy.api#documentation": "<p>The resource server.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cognitoidentityprovider#UpdateUserAttributes": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateUserAttributesRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateUserAttributesResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#AliasExistsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryFailureException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#CodeMismatchException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ExpiredCodeException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidEmailRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidLambdaResponseException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>Allows a user to update a specific attribute (one at a time).</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#UpdateUserAttributesRequest": {
"type": "structure",
"members": {
"UserAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeListType",
"traits": {
"smithy.api#documentation": "<p>An array of name-value pairs representing user attributes.</p>\n <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the\n attribute name.</p>",
"smithy.api#required": {}
}
},
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token for the request to update user attributes.</p>",
"smithy.api#required": {}
}
},
"ClientMetadata": {
"target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType",
"traits": {
"smithy.api#documentation": "<p>A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers. </p>\n <p>You create custom workflows by assigning AWS Lambda functions to user pool triggers.\n When you use the UpdateUserAttributes API action, Amazon Cognito invokes the function\n that is assigned to the <i>custom message</i> trigger. When Amazon Cognito\n invokes this function, it passes a JSON payload, which the function receives as input.\n This payload contains a <code>clientMetadata</code> attribute, which provides the data\n that you assigned to the ClientMetadata parameter in your UpdateUserAttributes request.\n In your function code in AWS Lambda, you can process the <code>clientMetadata</code>\n value to enhance your workflow for your specific needs.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html\">Customizing User Pool Workflows with Lambda Triggers</a> in the\n <i>Amazon Cognito Developer Guide</i>.</p>\n <note>\n <p>Take the following limitations into consideration when you use the ClientMetadata\n parameter:</p>\n <ul>\n <li>\n <p>Amazon Cognito does not store the ClientMetadata value. This data is\n available only to AWS Lambda triggers that are assigned to a user pool to\n support custom workflows. If your user pool configuration does not include\n triggers, the ClientMetadata parameter serves no purpose.</p>\n </li>\n <li>\n <p>Amazon Cognito does not validate the ClientMetadata value.</p>\n </li>\n <li>\n <p>Amazon Cognito does not encrypt the the ClientMetadata value, so don't use\n it to provide sensitive information.</p>\n </li>\n </ul>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to update user attributes.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateUserAttributesResponse": {
"type": "structure",
"members": {
"CodeDeliveryDetailsList": {
"target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryDetailsListType",
"traits": {
"smithy.api#documentation": "<p>The code delivery details list from the server for the request to update user\n attributes.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server for the request to update user\n attributes.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateUserPool": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateUserPoolRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateUserPoolResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#ConcurrentModificationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidEmailRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleAccessPolicyException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidSmsRoleTrustRelationshipException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserImportInProgressException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserPoolTaggingException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the specified user pool with the specified attributes. You can get a list of\n the current user pool settings using <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html\">DescribeUserPool</a>.</p>\n <important>\n <p>If you don't provide a value for an attribute, it will be set to the default\n value.</p>\n </important>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateUserPoolClient": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateUserPoolClientRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateUserPoolClientResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#ConcurrentModificationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidOAuthFlowException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ScopeDoesNotExistException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the specified user pool app client with the specified attributes. You can get\n a list of the current user pool app client settings using <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPoolClient.html\">DescribeUserPoolClient</a>.</p>\n <important>\n <p>If you don't provide a value for an attribute, it will be set to the default\n value.</p>\n </important>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateUserPoolClientRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where you want to update the user pool\n client.</p>",
"smithy.api#required": {}
}
},
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The ID of the client associated with the user pool.</p>",
"smithy.api#required": {}
}
},
"ClientName": {
"target": "com.amazonaws.cognitoidentityprovider#ClientNameType",
"traits": {
"smithy.api#documentation": "<p>The client name from the update user pool client request.</p>"
}
},
"RefreshTokenValidity": {
"target": "com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType",
"traits": {
"smithy.api#documentation": "<p>The time limit, in days, after which the refresh token is no longer valid and cannot\n be used.</p>"
}
},
"AccessTokenValidity": {
"target": "com.amazonaws.cognitoidentityprovider#AccessTokenValidityType",
"traits": {
"smithy.api#documentation": "<p>The time limit, after which the access token is no longer valid and cannot be\n used.</p>"
}
},
"IdTokenValidity": {
"target": "com.amazonaws.cognitoidentityprovider#IdTokenValidityType",
"traits": {
"smithy.api#documentation": "<p>The time limit, after which the ID token is no longer valid and cannot be used.</p>"
}
},
"TokenValidityUnits": {
"target": "com.amazonaws.cognitoidentityprovider#TokenValidityUnitsType",
"traits": {
"smithy.api#documentation": "<p>The units in which the validity times are represented in. Default for RefreshToken is\n days, and default for ID and access tokens are hours.</p>"
}
},
"ReadAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#ClientPermissionListType",
"traits": {
"smithy.api#documentation": "<p>The read-only attributes of the user pool.</p>"
}
},
"WriteAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#ClientPermissionListType",
"traits": {
"smithy.api#documentation": "<p>The writeable attributes of the user pool.</p>"
}
},
"ExplicitAuthFlows": {
"target": "com.amazonaws.cognitoidentityprovider#ExplicitAuthFlowsListType",
"traits": {
"smithy.api#documentation": "<p>The authentication flows that are supported by the user pool clients. Flow names\n without the <code>ALLOW_</code> prefix are deprecated in favor of new names with the\n <code>ALLOW_</code> prefix. Note that values with <code>ALLOW_</code> prefix cannot\n be used along with values without <code>ALLOW_</code> prefix.</p>\n <p>Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>ALLOW_ADMIN_USER_PASSWORD_AUTH</code>: Enable admin based user password\n authentication flow <code>ADMIN_USER_PASSWORD_AUTH</code>. This setting replaces\n the <code>ADMIN_NO_SRP_AUTH</code> setting. With this authentication flow,\n Cognito receives the password in the request instead of using the SRP (Secure\n Remote Password protocol) protocol to verify passwords.</p>\n </li>\n <li>\n <p>\n <code>ALLOW_CUSTOM_AUTH</code>: Enable Lambda trigger based\n authentication.</p>\n </li>\n <li>\n <p>\n <code>ALLOW_USER_PASSWORD_AUTH</code>: Enable user password-based\n authentication. In this flow, Cognito receives the password in the request\n instead of using the SRP protocol to verify passwords.</p>\n </li>\n <li>\n <p>\n <code>ALLOW_USER_SRP_AUTH</code>: Enable SRP based authentication.</p>\n </li>\n <li>\n <p>\n <code>ALLOW_REFRESH_TOKEN_AUTH</code>: Enable authflow to refresh\n tokens.</p>\n </li>\n </ul>"
}
},
"SupportedIdentityProviders": {
"target": "com.amazonaws.cognitoidentityprovider#SupportedIdentityProvidersListType",
"traits": {
"smithy.api#documentation": "<p>A list of provider names for the identity providers that are supported on this\n client.</p>"
}
},
"CallbackURLs": {
"target": "com.amazonaws.cognitoidentityprovider#CallbackURLsListType",
"traits": {
"smithy.api#documentation": "<p>A list of allowed redirect (callback) URLs for the identity providers.</p>\n <p>A redirect URI must:</p>\n <ul>\n <li>\n <p>Be an absolute URI.</p>\n </li>\n <li>\n <p>Be registered with the authorization server.</p>\n </li>\n <li>\n <p>Not include a fragment component.</p>\n </li>\n </ul>\n <p>See <a href=\"https://tools.ietf.org/html/rfc6749#section-3.1.2\">OAuth 2.0 -\n Redirection Endpoint</a>.</p>\n <p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing\n purposes only.</p>\n <p>App callback URLs such as myapp://example are also supported.</p>"
}
},
"LogoutURLs": {
"target": "com.amazonaws.cognitoidentityprovider#LogoutURLsListType",
"traits": {
"smithy.api#documentation": "<p>A list of allowed logout URLs for the identity providers.</p>"
}
},
"DefaultRedirectURI": {
"target": "com.amazonaws.cognitoidentityprovider#RedirectUrlType",
"traits": {
"smithy.api#documentation": "<p>The default redirect URI. Must be in the <code>CallbackURLs</code> list.</p>\n <p>A redirect URI must:</p>\n <ul>\n <li>\n <p>Be an absolute URI.</p>\n </li>\n <li>\n <p>Be registered with the authorization server.</p>\n </li>\n <li>\n <p>Not include a fragment component.</p>\n </li>\n </ul>\n <p>See <a href=\"https://tools.ietf.org/html/rfc6749#section-3.1.2\">OAuth 2.0 -\n Redirection Endpoint</a>.</p>\n <p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing\n purposes only.</p>\n <p>App callback URLs such as myapp://example are also supported.</p>"
}
},
"AllowedOAuthFlows": {
"target": "com.amazonaws.cognitoidentityprovider#OAuthFlowsType",
"traits": {
"smithy.api#documentation": "<p>The allowed OAuth flows.</p>\n <p>Set to <code>code</code> to initiate a code grant flow, which provides an\n authorization code as the response. This code can be exchanged for access tokens with\n the token endpoint.</p>\n <p>Set to <code>implicit</code> to specify that the client should get the access token\n (and, optionally, ID token, based on scopes) directly.</p>\n <p>Set to <code>client_credentials</code> to specify that the client should get the\n access token (and, optionally, ID token, based on scopes) from the token endpoint using\n a combination of client and client_secret.</p>"
}
},
"AllowedOAuthScopes": {
"target": "com.amazonaws.cognitoidentityprovider#ScopeListType",
"traits": {
"smithy.api#documentation": "<p>The allowed OAuth scopes. Possible values provided by OAuth are: <code>phone</code>,\n <code>email</code>, <code>openid</code>, and <code>profile</code>. Possible values\n provided by AWS are: <code>aws.cognito.signin.user.admin</code>. Custom scopes created\n in Resource Servers are also supported.</p>"
}
},
"AllowedOAuthFlowsUserPoolClient": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>Set to true if the client is allowed to follow the OAuth protocol when interacting\n with Cognito user pools.</p>"
}
},
"AnalyticsConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#AnalyticsConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Pinpoint analytics configuration for collecting metrics for this user\n pool.</p>\n <note>\n <p>In regions where Pinpoint is not available, Cognito User Pools only supports\n sending events to Amazon Pinpoint projects in us-east-1. In regions where Pinpoint\n is available, Cognito User Pools will support sending events to Amazon Pinpoint\n projects within that same region. </p>\n </note>"
}
},
"PreventUserExistenceErrors": {
"target": "com.amazonaws.cognitoidentityprovider#PreventUserExistenceErrorTypes",
"traits": {
"smithy.api#documentation": "<p>Use this setting to choose which errors and responses are returned by Cognito APIs\n during authentication, account confirmation, and password recovery when the user does\n not exist in the user pool. When set to <code>ENABLED</code> and the user does not\n exist, authentication returns an error indicating either the username or password was\n incorrect, and account confirmation and password recovery return a response indicating a\n code was sent to a simulated destination. When set to <code>LEGACY</code>, those APIs\n will return a <code>UserNotFoundException</code> exception if the user does not exist in\n the user pool.</p>\n <p>Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>ENABLED</code> - This prevents user existence-related errors.</p>\n </li>\n <li>\n <p>\n <code>LEGACY</code> - This represents the old behavior of Cognito where user\n existence related errors are not prevented.</p>\n </li>\n </ul>\n \n \n <note>\n <p>After February 15th 2020, the value of <code>PreventUserExistenceErrors</code>\n will default to <code>ENABLED</code> for newly created user pool clients if no value\n is provided.</p>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to update the user pool client.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateUserPoolClientResponse": {
"type": "structure",
"members": {
"UserPoolClient": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolClientType",
"traits": {
"smithy.api#documentation": "<p>The user pool client value from the response from the server when an update user pool\n client request is made.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server to the request to update the user pool\n client.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateUserPoolDomain": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateUserPoolDomainRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#UpdateUserPoolDomainResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user\n pool.</p>\n <p>You can use this operation to provide the Amazon Resource Name (ARN) of a new\n certificate to Amazon Cognito. You cannot use it to change the domain for a user\n pool.</p>\n <p>A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up\n and sign-in pages for your application. When you set up a custom domain, you provide a\n certificate that you manage with AWS Certificate Manager (ACM). When necessary, you can\n use this operation to change the certificate that you applied to your custom\n domain.</p>\n <p>Usually, this is unnecessary following routine certificate renewal with ACM. When you\n renew your existing certificate in ACM, the ARN for your certificate remains the same,\n and your custom domain uses the new certificate automatically.</p>\n <p>However, if you replace your existing certificate with a new one, ACM gives the new\n certificate a new ARN. To apply the new certificate to your custom domain, you must\n provide this ARN to Amazon Cognito.</p>\n <p>When you add your new certificate in ACM, you must choose US East (N. Virginia) as the\n AWS Region.</p>\n <p>After you submit your request, Amazon Cognito requires up to 1 hour to distribute your\n new certificate to your custom domain.</p>\n <p>For more information about adding a custom domain to your user pool, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html\">Using Your Own Domain for the Hosted UI</a>.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateUserPoolDomainRequest": {
"type": "structure",
"members": {
"Domain": {
"target": "com.amazonaws.cognitoidentityprovider#DomainType",
"traits": {
"smithy.api#documentation": "<p>The domain name for the custom domain that hosts the sign-up and sign-in pages for\n your application. For example: <code>auth.example.com</code>. </p>\n <p>This string can include only lowercase letters, numbers, and hyphens. Do not use a\n hyphen for the first or last character. Use periods to separate subdomain names.</p>",
"smithy.api#required": {}
}
},
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The ID of the user pool that is associated with the custom domain that you are\n updating the certificate for.</p>",
"smithy.api#required": {}
}
},
"CustomDomainConfig": {
"target": "com.amazonaws.cognitoidentityprovider#CustomDomainConfigType",
"traits": {
"smithy.api#documentation": "<p>The configuration for a custom domain that hosts the sign-up and sign-in pages for\n your application. Use this object to specify an SSL certificate that is managed by\n ACM.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The UpdateUserPoolDomain request input.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateUserPoolDomainResponse": {
"type": "structure",
"members": {
"CloudFrontDomain": {
"target": "com.amazonaws.cognitoidentityprovider#DomainType",
"traits": {
"smithy.api#documentation": "<p>The Amazon CloudFront endpoint that Amazon Cognito set up when you added the custom\n domain to your user pool.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The UpdateUserPoolDomain response output.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateUserPoolRequest": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool you want to update.</p>",
"smithy.api#required": {}
}
},
"Policies": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolPolicyType",
"traits": {
"smithy.api#documentation": "<p>A container with the policies you wish to update in a user pool.</p>"
}
},
"LambdaConfig": {
"target": "com.amazonaws.cognitoidentityprovider#LambdaConfigType",
"traits": {
"smithy.api#documentation": "<p>The AWS Lambda configuration information from the request to update the user\n pool.</p>"
}
},
"AutoVerifiedAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#VerifiedAttributesListType",
"traits": {
"smithy.api#documentation": "<p>The attributes that are automatically verified when the Amazon Cognito service makes a\n request to update user pools.</p>"
}
},
"SmsVerificationMessage": {
"target": "com.amazonaws.cognitoidentityprovider#SmsVerificationMessageType",
"traits": {
"smithy.api#documentation": "<p>A container with information about the SMS verification message.</p>"
}
},
"EmailVerificationMessage": {
"target": "com.amazonaws.cognitoidentityprovider#EmailVerificationMessageType",
"traits": {
"smithy.api#documentation": "<p>The contents of the email verification message.</p>"
}
},
"EmailVerificationSubject": {
"target": "com.amazonaws.cognitoidentityprovider#EmailVerificationSubjectType",
"traits": {
"smithy.api#documentation": "<p>The subject of the email verification message.</p>"
}
},
"VerificationMessageTemplate": {
"target": "com.amazonaws.cognitoidentityprovider#VerificationMessageTemplateType",
"traits": {
"smithy.api#documentation": "<p>The template for verification messages.</p>"
}
},
"SmsAuthenticationMessage": {
"target": "com.amazonaws.cognitoidentityprovider#SmsVerificationMessageType",
"traits": {
"smithy.api#documentation": "<p>The contents of the SMS authentication message.</p>"
}
},
"MfaConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolMfaType",
"traits": {
"smithy.api#documentation": "<p>Can be one of the following values:</p>\n <ul>\n <li>\n <p>\n <code>OFF</code> - MFA tokens are not required and cannot be specified during\n user registration.</p>\n </li>\n <li>\n <p>\n <code>ON</code> - MFA tokens are required for all user registrations. You can\n only specify ON when you are initially creating a user pool. You can use the\n <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserPoolMfaConfig.html\">SetUserPoolMfaConfig</a> API operation to turn MFA \"ON\" for existing\n user pools. </p>\n </li>\n <li>\n <p>\n <code>OPTIONAL</code> - Users have the option when registering to create an MFA\n token.</p>\n </li>\n </ul>"
}
},
"DeviceConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceConfigurationType",
"traits": {
"smithy.api#documentation": "<p>Device configuration.</p>"
}
},
"EmailConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#EmailConfigurationType",
"traits": {
"smithy.api#documentation": "<p>Email configuration.</p>"
}
},
"SmsConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#SmsConfigurationType",
"traits": {
"smithy.api#documentation": "<p>SMS configuration.</p>"
}
},
"UserPoolTags": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolTagsType",
"traits": {
"smithy.api#documentation": "<p>The tag keys and values to assign to the user pool. A tag is a label that you can use\n to categorize and manage user pools in different ways, such as by purpose, owner,\n environment, or other criteria.</p>"
}
},
"AdminCreateUserConfig": {
"target": "com.amazonaws.cognitoidentityprovider#AdminCreateUserConfigType",
"traits": {
"smithy.api#documentation": "<p>The configuration for <code>AdminCreateUser</code> requests.</p>"
}
},
"UserPoolAddOns": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolAddOnsType",
"traits": {
"smithy.api#documentation": "<p>Used to enable advanced security risk detection. Set the key\n <code>AdvancedSecurityMode</code> to the value \"AUDIT\".</p>"
}
},
"AccountRecoverySetting": {
"target": "com.amazonaws.cognitoidentityprovider#AccountRecoverySettingType",
"traits": {
"smithy.api#documentation": "<p>Use this setting to define which verified available method a user can use to recover\n their password when they call <code>ForgotPassword</code>. It allows you to define a\n preferred method when a user has more than one method available. With this setting, SMS\n does not qualify for a valid password recovery mechanism if the user also has SMS MFA\n enabled. In the absence of this setting, Cognito uses the legacy behavior to determine\n the recovery method where SMS is preferred over email.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to update the user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UpdateUserPoolResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>Represents the response from the server when you make a request to update the user\n pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UserContextDataType": {
"type": "structure",
"members": {
"EncodedData": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"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>"
}
}
},
"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>"
}
},
"com.amazonaws.cognitoidentityprovider#UserFilterType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 256
}
}
},
"com.amazonaws.cognitoidentityprovider#UserImportInProgressException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the user pool has an import job running.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when you are trying to modify a user pool while a user import\n job is in progress for that pool.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#UserImportJobIdType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 55
},
"smithy.api#pattern": "import-[0-9a-zA-Z-]+"
}
},
"com.amazonaws.cognitoidentityprovider#UserImportJobNameType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[\\w\\s+=,.@-]+"
}
},
"com.amazonaws.cognitoidentityprovider#UserImportJobStatusType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "Created",
"name": "Created"
},
{
"value": "Pending",
"name": "Pending"
},
{
"value": "InProgress",
"name": "InProgress"
},
{
"value": "Stopping",
"name": "Stopping"
},
{
"value": "Expired",
"name": "Expired"
},
{
"value": "Stopped",
"name": "Stopped"
},
{
"value": "Failed",
"name": "Failed"
},
{
"value": "Succeeded",
"name": "Succeeded"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#UserImportJobType": {
"type": "structure",
"members": {
"JobName": {
"target": "com.amazonaws.cognitoidentityprovider#UserImportJobNameType",
"traits": {
"smithy.api#documentation": "<p>The job name for the user import job.</p>"
}
},
"JobId": {
"target": "com.amazonaws.cognitoidentityprovider#UserImportJobIdType",
"traits": {
"smithy.api#documentation": "<p>The job ID for the user import job.</p>"
}
},
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool that the users are being imported into.</p>"
}
},
"PreSignedUrl": {
"target": "com.amazonaws.cognitoidentityprovider#PreSignedUrlType",
"traits": {
"smithy.api#documentation": "<p>The pre-signed URL to be used to upload the <code>.csv</code> file.</p>"
}
},
"CreationDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the user import job was created.</p>"
}
},
"StartDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date when the user import job was started.</p>"
}
},
"CompletionDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date when the user import job was completed.</p>"
}
},
"Status": {
"target": "com.amazonaws.cognitoidentityprovider#UserImportJobStatusType",
"traits": {
"smithy.api#documentation": "<p>The status of the user import job. One of the following:</p>\n <ul>\n <li>\n <p>\n <code>Created</code> - The job was created but not started.</p>\n </li>\n <li>\n <p>\n <code>Pending</code> - A transition state. You have started the job, but it\n has not begun importing users yet.</p>\n </li>\n <li>\n <p>\n <code>InProgress</code> - The job has started, and users are being\n imported.</p>\n </li>\n <li>\n <p>\n <code>Stopping</code> - You have stopped the job, but the job has not stopped\n importing users yet.</p>\n </li>\n <li>\n <p>\n <code>Stopped</code> - You have stopped the job, and the job has stopped\n importing users.</p>\n </li>\n <li>\n <p>\n <code>Succeeded</code> - The job has completed successfully.</p>\n </li>\n <li>\n <p>\n <code>Failed</code> - The job has stopped due to an error.</p>\n </li>\n <li>\n <p>\n <code>Expired</code> - You created a job, but did not start the job within\n 24-48 hours. All data associated with the job was deleted, and the job cannot be\n started.</p>\n </li>\n </ul>"
}
},
"CloudWatchLogsRoleArn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The role ARN for the Amazon CloudWatch Logging role for the user import job. For more\n information, see \"Creating the CloudWatch Logs IAM Role\" in the Amazon Cognito Developer\n Guide.</p>"
}
},
"ImportedUsers": {
"target": "com.amazonaws.cognitoidentityprovider#LongType",
"traits": {
"smithy.api#documentation": "<p>The number of users that were successfully imported.</p>"
}
},
"SkippedUsers": {
"target": "com.amazonaws.cognitoidentityprovider#LongType",
"traits": {
"smithy.api#documentation": "<p>The number of users that were skipped.</p>"
}
},
"FailedUsers": {
"target": "com.amazonaws.cognitoidentityprovider#LongType",
"traits": {
"smithy.api#documentation": "<p>The number of users that could not be imported.</p>"
}
},
"CompletionMessage": {
"target": "com.amazonaws.cognitoidentityprovider#CompletionMessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the user import job is completed.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The user import job type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UserImportJobsListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#UserImportJobType"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.cognitoidentityprovider#UserLambdaValidationException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when the Amazon Cognito service returns a user validation\n exception with the AWS Lambda service.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when the Amazon Cognito service encounters a user validation\n exception with the AWS Lambda service.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#UserMFASettingListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#StringType"
}
},
"com.amazonaws.cognitoidentityprovider#UserNotConfirmedException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when a user is not confirmed successfully.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when a user is not confirmed successfully.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#UserNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when a user is not found.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when a user is not found.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolAddOnNotEnabledException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType"
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when user pool add-ons are not enabled.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolAddOnsType": {
"type": "structure",
"members": {
"AdvancedSecurityMode": {
"target": "com.amazonaws.cognitoidentityprovider#AdvancedSecurityModeType",
"traits": {
"smithy.api#documentation": "<p>The advanced security mode.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The user pool add-ons type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolClientDescription": {
"type": "structure",
"members": {
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The ID of the client associated with the user pool.</p>"
}
},
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool where you want to describe the user pool\n client.</p>"
}
},
"ClientName": {
"target": "com.amazonaws.cognitoidentityprovider#ClientNameType",
"traits": {
"smithy.api#documentation": "<p>The client name from the user pool client description.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The description of the user pool client.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolClientListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolClientDescription"
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolClientType": {
"type": "structure",
"members": {
"UserPoolId": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The user pool ID for the user pool client.</p>"
}
},
"ClientName": {
"target": "com.amazonaws.cognitoidentityprovider#ClientNameType",
"traits": {
"smithy.api#documentation": "<p>The client name from the user pool request of the client type.</p>"
}
},
"ClientId": {
"target": "com.amazonaws.cognitoidentityprovider#ClientIdType",
"traits": {
"smithy.api#documentation": "<p>The ID of the client associated with the user pool.</p>"
}
},
"ClientSecret": {
"target": "com.amazonaws.cognitoidentityprovider#ClientSecretType",
"traits": {
"smithy.api#documentation": "<p>The client secret from the user pool request of the client type.</p>"
}
},
"LastModifiedDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the user pool client was last modified.</p>"
}
},
"CreationDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the user pool client was created.</p>"
}
},
"RefreshTokenValidity": {
"target": "com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType",
"traits": {
"smithy.api#documentation": "<p>The time limit, in days, after which the refresh token is no longer valid and cannot\n be used.</p>"
}
},
"AccessTokenValidity": {
"target": "com.amazonaws.cognitoidentityprovider#AccessTokenValidityType",
"traits": {
"smithy.api#documentation": "<p>The time limit, specified by tokenValidityUnits, defaulting to hours, after which the\n access token is no longer valid and cannot be used.</p>"
}
},
"IdTokenValidity": {
"target": "com.amazonaws.cognitoidentityprovider#IdTokenValidityType",
"traits": {
"smithy.api#documentation": "<p>The time limit, specified by tokenValidityUnits, defaulting to hours, after which the\n refresh token is no longer valid and cannot be used.</p>"
}
},
"TokenValidityUnits": {
"target": "com.amazonaws.cognitoidentityprovider#TokenValidityUnitsType",
"traits": {
"smithy.api#documentation": "<p>The time units used to specify the token validity times of their respective\n token.</p>"
}
},
"ReadAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#ClientPermissionListType",
"traits": {
"smithy.api#documentation": "<p>The Read-only attributes.</p>"
}
},
"WriteAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#ClientPermissionListType",
"traits": {
"smithy.api#documentation": "<p>The writeable attributes.</p>"
}
},
"ExplicitAuthFlows": {
"target": "com.amazonaws.cognitoidentityprovider#ExplicitAuthFlowsListType",
"traits": {
"smithy.api#documentation": "<p>The authentication flows that are supported by the user pool clients. Flow names\n without the <code>ALLOW_</code> prefix are deprecated in favor of new names with the\n <code>ALLOW_</code> prefix. Note that values with <code>ALLOW_</code> prefix cannot\n be used along with values without <code>ALLOW_</code> prefix.</p>\n <p>Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>ALLOW_ADMIN_USER_PASSWORD_AUTH</code>: Enable admin based user password\n authentication flow <code>ADMIN_USER_PASSWORD_AUTH</code>. This setting replaces\n the <code>ADMIN_NO_SRP_AUTH</code> setting. With this authentication flow,\n Cognito receives the password in the request instead of using the SRP (Secure\n Remote Password protocol) protocol to verify passwords.</p>\n </li>\n <li>\n <p>\n <code>ALLOW_CUSTOM_AUTH</code>: Enable Lambda trigger based\n authentication.</p>\n </li>\n <li>\n <p>\n <code>ALLOW_USER_PASSWORD_AUTH</code>: Enable user password-based\n authentication. In this flow, Cognito receives the password in the request\n instead of using the SRP protocol to verify passwords.</p>\n </li>\n <li>\n <p>\n <code>ALLOW_USER_SRP_AUTH</code>: Enable SRP based authentication.</p>\n </li>\n <li>\n <p>\n <code>ALLOW_REFRESH_TOKEN_AUTH</code>: Enable authflow to refresh\n tokens.</p>\n </li>\n </ul>"
}
},
"SupportedIdentityProviders": {
"target": "com.amazonaws.cognitoidentityprovider#SupportedIdentityProvidersListType",
"traits": {
"smithy.api#documentation": "<p>A list of provider names for the identity providers that are supported on this\n client.</p>"
}
},
"CallbackURLs": {
"target": "com.amazonaws.cognitoidentityprovider#CallbackURLsListType",
"traits": {
"smithy.api#documentation": "<p>A list of allowed redirect (callback) URLs for the identity providers.</p>\n <p>A redirect URI must:</p>\n <ul>\n <li>\n <p>Be an absolute URI.</p>\n </li>\n <li>\n <p>Be registered with the authorization server.</p>\n </li>\n <li>\n <p>Not include a fragment component.</p>\n </li>\n </ul>\n <p>See <a href=\"https://tools.ietf.org/html/rfc6749#section-3.1.2\">OAuth 2.0 -\n Redirection Endpoint</a>.</p>\n <p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing\n purposes only.</p>\n <p>App callback URLs such as myapp://example are also supported.</p>"
}
},
"LogoutURLs": {
"target": "com.amazonaws.cognitoidentityprovider#LogoutURLsListType",
"traits": {
"smithy.api#documentation": "<p>A list of allowed logout URLs for the identity providers.</p>"
}
},
"DefaultRedirectURI": {
"target": "com.amazonaws.cognitoidentityprovider#RedirectUrlType",
"traits": {
"smithy.api#documentation": "<p>The default redirect URI. Must be in the <code>CallbackURLs</code> list.</p>\n <p>A redirect URI must:</p>\n <ul>\n <li>\n <p>Be an absolute URI.</p>\n </li>\n <li>\n <p>Be registered with the authorization server.</p>\n </li>\n <li>\n <p>Not include a fragment component.</p>\n </li>\n </ul>\n <p>See <a href=\"https://tools.ietf.org/html/rfc6749#section-3.1.2\">OAuth 2.0 -\n Redirection Endpoint</a>.</p>\n <p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing\n purposes only.</p>\n <p>App callback URLs such as myapp://example are also supported.</p>"
}
},
"AllowedOAuthFlows": {
"target": "com.amazonaws.cognitoidentityprovider#OAuthFlowsType",
"traits": {
"smithy.api#documentation": "<p>The allowed OAuth flows.</p>\n <p>Set to <code>code</code> to initiate a code grant flow, which provides an\n authorization code as the response. This code can be exchanged for access tokens with\n the token endpoint.</p>\n <p>Set to <code>implicit</code> to specify that the client should get the access token\n (and, optionally, ID token, based on scopes) directly.</p>\n <p>Set to <code>client_credentials</code> to specify that the client should get the\n access token (and, optionally, ID token, based on scopes) from the token endpoint using\n a combination of client and client_secret.</p>"
}
},
"AllowedOAuthScopes": {
"target": "com.amazonaws.cognitoidentityprovider#ScopeListType",
"traits": {
"smithy.api#documentation": "<p>The allowed OAuth scopes. Possible values provided by OAuth are: <code>phone</code>,\n <code>email</code>, <code>openid</code>, and <code>profile</code>. Possible values\n provided by AWS are: <code>aws.cognito.signin.user.admin</code>. Custom scopes created\n in Resource Servers are also supported.</p>"
}
},
"AllowedOAuthFlowsUserPoolClient": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#box": {},
"smithy.api#documentation": "<p>Set to true if the client is allowed to follow the OAuth protocol when interacting\n with Cognito user pools.</p>"
}
},
"AnalyticsConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#AnalyticsConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Pinpoint analytics configuration for the user pool client.</p>\n <note>\n <p>Cognito User Pools only supports sending events to Amazon Pinpoint projects in the\n US East (N. Virginia) us-east-1 Region, regardless of the region in which the user\n pool resides.</p>\n </note>"
}
},
"PreventUserExistenceErrors": {
"target": "com.amazonaws.cognitoidentityprovider#PreventUserExistenceErrorTypes",
"traits": {
"smithy.api#documentation": "<p>Use this setting to choose which errors and responses are returned by Cognito APIs\n during authentication, account confirmation, and password recovery when the user does\n not exist in the user pool. When set to <code>ENABLED</code> and the user does not\n exist, authentication returns an error indicating either the username or password was\n incorrect, and account confirmation and password recovery return a response indicating a\n code was sent to a simulated destination. When set to <code>LEGACY</code>, those APIs\n will return a <code>UserNotFoundException</code> exception if the user does not exist in\n the user pool.</p>\n <p>Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>ENABLED</code> - This prevents user existence-related errors.</p>\n </li>\n <li>\n <p>\n <code>LEGACY</code> - This represents the old behavior of Cognito where user\n existence related errors are not prevented.</p>\n </li>\n </ul>\n \n \n <note>\n <p>After February 15th 2020, the value of <code>PreventUserExistenceErrors</code>\n will default to <code>ENABLED</code> for newly created user pool clients if no value\n is provided.</p>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about a user pool client.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolDescriptionType": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The ID in a user pool description.</p>"
}
},
"Name": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolNameType",
"traits": {
"smithy.api#documentation": "<p>The name in a user pool description.</p>"
}
},
"LambdaConfig": {
"target": "com.amazonaws.cognitoidentityprovider#LambdaConfigType",
"traits": {
"smithy.api#documentation": "<p>The AWS Lambda configuration information in a user pool description.</p>"
}
},
"Status": {
"target": "com.amazonaws.cognitoidentityprovider#StatusType",
"traits": {
"smithy.api#documentation": "<p>The user pool status in a user pool description.</p>"
}
},
"LastModifiedDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the user pool description was last modified.</p>"
}
},
"CreationDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the user pool description was created.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A user pool description.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolIdType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 55
},
"smithy.api#pattern": "[\\w-]+_[0-9a-zA-Z]+"
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolDescriptionType"
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolMfaType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "OFF",
"name": "OFF"
},
{
"value": "ON",
"name": "ON"
},
{
"value": "OPTIONAL",
"name": "OPTIONAL"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolNameType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[\\w\\s+=,.@-]+"
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolPolicyType": {
"type": "structure",
"members": {
"PasswordPolicy": {
"target": "com.amazonaws.cognitoidentityprovider#PasswordPolicyType",
"traits": {
"smithy.api#documentation": "<p>The password policy.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The policy associated with a user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolTaggingException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType"
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when a user pool tag cannot be set or updated.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolTagsListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#TagKeysType"
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolTagsType": {
"type": "map",
"key": {
"target": "com.amazonaws.cognitoidentityprovider#TagKeysType"
},
"value": {
"target": "com.amazonaws.cognitoidentityprovider#TagValueType"
}
},
"com.amazonaws.cognitoidentityprovider#UserPoolType": {
"type": "structure",
"members": {
"Id": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType",
"traits": {
"smithy.api#documentation": "<p>The ID of the user pool.</p>"
}
},
"Name": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolNameType",
"traits": {
"smithy.api#documentation": "<p>The name of the user pool.</p>"
}
},
"Policies": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolPolicyType",
"traits": {
"smithy.api#documentation": "<p>The policies associated with the user pool.</p>"
}
},
"LambdaConfig": {
"target": "com.amazonaws.cognitoidentityprovider#LambdaConfigType",
"traits": {
"smithy.api#documentation": "<p>The AWS Lambda triggers associated with the user pool.</p>"
}
},
"Status": {
"target": "com.amazonaws.cognitoidentityprovider#StatusType",
"traits": {
"smithy.api#documentation": "<p>The status of a user pool.</p>"
}
},
"LastModifiedDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the user pool was last modified.</p>"
}
},
"CreationDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The date the user pool was created.</p>"
}
},
"SchemaAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#SchemaAttributesListType",
"traits": {
"smithy.api#documentation": "<p>A container with the schema attributes of a user pool.</p>"
}
},
"AutoVerifiedAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#VerifiedAttributesListType",
"traits": {
"smithy.api#documentation": "<p>Specifies the attributes that are auto-verified in a user pool.</p>"
}
},
"AliasAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#AliasAttributesListType",
"traits": {
"smithy.api#documentation": "<p>Specifies the attributes that are aliased in a user pool.</p>"
}
},
"UsernameAttributes": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameAttributesListType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether email addresses or phone numbers can be specified as usernames when\n a user signs up.</p>"
}
},
"SmsVerificationMessage": {
"target": "com.amazonaws.cognitoidentityprovider#SmsVerificationMessageType",
"traits": {
"smithy.api#documentation": "<p>The contents of the SMS verification message.</p>"
}
},
"EmailVerificationMessage": {
"target": "com.amazonaws.cognitoidentityprovider#EmailVerificationMessageType",
"traits": {
"smithy.api#documentation": "<p>The contents of the email verification message.</p>"
}
},
"EmailVerificationSubject": {
"target": "com.amazonaws.cognitoidentityprovider#EmailVerificationSubjectType",
"traits": {
"smithy.api#documentation": "<p>The subject of the email verification message.</p>"
}
},
"VerificationMessageTemplate": {
"target": "com.amazonaws.cognitoidentityprovider#VerificationMessageTemplateType",
"traits": {
"smithy.api#documentation": "<p>The template for verification messages.</p>"
}
},
"SmsAuthenticationMessage": {
"target": "com.amazonaws.cognitoidentityprovider#SmsVerificationMessageType",
"traits": {
"smithy.api#documentation": "<p>The contents of the SMS authentication message.</p>"
}
},
"MfaConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolMfaType",
"traits": {
"smithy.api#documentation": "<p>Can be one of the following values:</p>\n <ul>\n <li>\n <p>\n <code>OFF</code> - MFA tokens are not required and cannot be specified during\n user registration.</p>\n </li>\n <li>\n <p>\n <code>ON</code> - MFA tokens are required for all user registrations. You can\n only specify required when you are initially creating a user pool.</p>\n </li>\n <li>\n <p>\n <code>OPTIONAL</code> - Users have the option when registering to create an MFA\n token.</p>\n </li>\n </ul>"
}
},
"DeviceConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#DeviceConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The device configuration.</p>"
}
},
"EstimatedNumberOfUsers": {
"target": "com.amazonaws.cognitoidentityprovider#IntegerType",
"traits": {
"smithy.api#documentation": "<p>A number estimating the size of the user pool.</p>"
}
},
"EmailConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#EmailConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The email configuration.</p>"
}
},
"SmsConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#SmsConfigurationType",
"traits": {
"smithy.api#documentation": "<p>The SMS configuration.</p>"
}
},
"UserPoolTags": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolTagsType",
"traits": {
"smithy.api#documentation": "<p>The tags that are assigned to the user pool. A tag is a label that you can apply to\n user pools to categorize and manage them in different ways, such as by purpose, owner,\n environment, or other criteria.</p>"
}
},
"SmsConfigurationFailure": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The reason why the SMS configuration cannot send the messages to your users.</p>"
}
},
"EmailConfigurationFailure": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The reason why the email configuration cannot send the messages to your users.</p>"
}
},
"Domain": {
"target": "com.amazonaws.cognitoidentityprovider#DomainType",
"traits": {
"smithy.api#documentation": "<p>Holds the domain prefix if the user pool has a domain associated with it.</p>"
}
},
"CustomDomain": {
"target": "com.amazonaws.cognitoidentityprovider#DomainType",
"traits": {
"smithy.api#documentation": "<p>A custom domain name that you provide to Amazon Cognito. This parameter applies only\n if you use a custom domain to host the sign-up and sign-in pages for your application.\n For example: <code>auth.example.com</code>.</p>\n <p>For more information about adding a custom domain to your user pool, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html\">Using Your Own Domain for the Hosted UI</a>.</p>"
}
},
"AdminCreateUserConfig": {
"target": "com.amazonaws.cognitoidentityprovider#AdminCreateUserConfigType",
"traits": {
"smithy.api#documentation": "<p>The configuration for <code>AdminCreateUser</code> requests.</p>"
}
},
"UserPoolAddOns": {
"target": "com.amazonaws.cognitoidentityprovider#UserPoolAddOnsType",
"traits": {
"smithy.api#documentation": "<p>The user pool add-ons.</p>"
}
},
"UsernameConfiguration": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameConfigurationType",
"traits": {
"smithy.api#documentation": "<p>You can choose to enable case sensitivity on the username input for the selected\n sign-in option. For example, when this is set to <code>False</code>, users will be able\n to sign in using either \"username\" or \"Username\". This configuration is immutable once\n it has been set. For more information, see <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UsernameConfigurationType.html\">UsernameConfigurationType</a>.</p>"
}
},
"Arn": {
"target": "com.amazonaws.cognitoidentityprovider#ArnType",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for the user pool.</p>"
}
},
"AccountRecoverySetting": {
"target": "com.amazonaws.cognitoidentityprovider#AccountRecoverySettingType",
"traits": {
"smithy.api#documentation": "<p>Use this setting to define which verified available method a user can use to recover\n their password when they call <code>ForgotPassword</code>. It allows you to define a\n preferred method when a user has more than one method available. With this setting, SMS\n does not qualify for a valid password recovery mechanism if the user also has SMS MFA\n enabled. In the absence of this setting, Cognito uses the legacy behavior to determine\n the recovery method where SMS is preferred over email.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A container for information about the user pool.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UserStatusType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "UNCONFIRMED",
"name": "UNCONFIRMED"
},
{
"value": "CONFIRMED",
"name": "CONFIRMED"
},
{
"value": "ARCHIVED",
"name": "ARCHIVED"
},
{
"value": "COMPROMISED",
"name": "COMPROMISED"
},
{
"value": "UNKNOWN",
"name": "UNKNOWN"
},
{
"value": "RESET_REQUIRED",
"name": "RESET_REQUIRED"
},
{
"value": "FORCE_CHANGE_PASSWORD",
"name": "FORCE_CHANGE_PASSWORD"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#UserType": {
"type": "structure",
"members": {
"Username": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameType",
"traits": {
"smithy.api#documentation": "<p>The user name of the user you wish to describe.</p>"
}
},
"Attributes": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeListType",
"traits": {
"smithy.api#documentation": "<p>A container with information about the user type attributes.</p>"
}
},
"UserCreateDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The creation date of the user.</p>"
}
},
"UserLastModifiedDate": {
"target": "com.amazonaws.cognitoidentityprovider#DateType",
"traits": {
"smithy.api#documentation": "<p>The last modified date of the user.</p>"
}
},
"Enabled": {
"target": "com.amazonaws.cognitoidentityprovider#BooleanType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether the user is enabled.</p>"
}
},
"UserStatus": {
"target": "com.amazonaws.cognitoidentityprovider#UserStatusType",
"traits": {
"smithy.api#documentation": "<p>The user status. Can be one of the following:</p>\n <ul>\n <li>\n <p>UNCONFIRMED - User has been created but not confirmed.</p>\n </li>\n <li>\n <p>CONFIRMED - User has been confirmed.</p>\n </li>\n <li>\n <p>ARCHIVED - User is no longer active.</p>\n </li>\n <li>\n <p>COMPROMISED - User is disabled due to a potential security threat.</p>\n </li>\n <li>\n <p>UNKNOWN - User status is not known.</p>\n </li>\n <li>\n <p>RESET_REQUIRED - User is confirmed, but the user must request a code and reset\n his or her password before he or she can sign in.</p>\n </li>\n <li>\n <p>FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a\n temporary password, but on first sign-in, the user must change his or her\n password to a new value before doing anything else. </p>\n </li>\n </ul>"
}
},
"MFAOptions": {
"target": "com.amazonaws.cognitoidentityprovider#MFAOptionListType",
"traits": {
"smithy.api#documentation": "<p>The MFA options for the user.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The user type.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#UsernameAttributeType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "phone_number",
"name": "PHONE_NUMBER"
},
{
"value": "email",
"name": "EMAIL"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#UsernameAttributesListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#UsernameAttributeType"
}
},
"com.amazonaws.cognitoidentityprovider#UsernameConfigurationType": {
"type": "structure",
"members": {
"CaseSensitive": {
"target": "com.amazonaws.cognitoidentityprovider#WrappedBooleanType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether username case sensitivity will be applied for all users in the user\n pool through Cognito APIs.</p>\n <p>Valid values include:</p>\n <ul>\n <li>\n <p>\n <b>\n <code>True</code>\n </b>: Enables case sensitivity\n for all username input. When this option is set to <code>True</code>, users must\n sign in using the exact capitalization of their given username. For example,\n “UserName”. This is the default value.</p>\n </li>\n <li>\n <p>\n <b>\n <code>False</code>\n </b>: Enables case\n insensitivity for all username input. For example, when this option is set to\n <code>False</code>, users will be able to sign in using either \"username\" or\n \"Username\". This option also enables both <code>preferred_username</code> and\n <code>email</code> alias to be case insensitive, in addition to the\n <code>username</code> attribute.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The username configuration type. </p>"
}
},
"com.amazonaws.cognitoidentityprovider#UsernameExistsException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.cognitoidentityprovider#MessageType",
"traits": {
"smithy.api#documentation": "<p>The message returned when Amazon Cognito throws a user name exists exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This exception is thrown when Amazon Cognito encounters a user name that already\n exists in the user pool.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cognitoidentityprovider#UsernameType": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.cognitoidentityprovider#UsersListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#UserType"
}
},
"com.amazonaws.cognitoidentityprovider#VerificationMessageTemplateType": {
"type": "structure",
"members": {
"SmsMessage": {
"target": "com.amazonaws.cognitoidentityprovider#SmsVerificationMessageType",
"traits": {
"smithy.api#documentation": "<p>The SMS message template.</p>"
}
},
"EmailMessage": {
"target": "com.amazonaws.cognitoidentityprovider#EmailVerificationMessageType",
"traits": {
"smithy.api#documentation": "<p>The email message template. EmailMessage is allowed only if <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount\"> EmailSendingAccount</a> is DEVELOPER. </p>"
}
},
"EmailSubject": {
"target": "com.amazonaws.cognitoidentityprovider#EmailVerificationSubjectType",
"traits": {
"smithy.api#documentation": "<p>The subject line for the email message template. EmailSubject is allowed only if\n <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount\">EmailSendingAccount</a> is DEVELOPER. </p>"
}
},
"EmailMessageByLink": {
"target": "com.amazonaws.cognitoidentityprovider#EmailVerificationMessageByLinkType",
"traits": {
"smithy.api#documentation": "<p>The email message template for sending a confirmation link to the user.\n EmailMessageByLink is allowed only if <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount\"> EmailSendingAccount</a> is DEVELOPER.</p>"
}
},
"EmailSubjectByLink": {
"target": "com.amazonaws.cognitoidentityprovider#EmailVerificationSubjectByLinkType",
"traits": {
"smithy.api#documentation": "<p>The subject line for the email message template for sending a confirmation link to the\n user. EmailSubjectByLink is allowed only <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount\"> EmailSendingAccount</a> is DEVELOPER.</p>"
}
},
"DefaultEmailOption": {
"target": "com.amazonaws.cognitoidentityprovider#DefaultEmailOptionType",
"traits": {
"smithy.api#documentation": "<p>The default email option.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The template for verification messages.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#VerifiedAttributeType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "phone_number",
"name": "PHONE_NUMBER"
},
{
"value": "email",
"name": "EMAIL"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#VerifiedAttributesListType": {
"type": "list",
"member": {
"target": "com.amazonaws.cognitoidentityprovider#VerifiedAttributeType"
}
},
"com.amazonaws.cognitoidentityprovider#VerifySoftwareToken": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#VerifySoftwareTokenRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#VerifySoftwareTokenResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#CodeMismatchException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#EnableSoftwareTokenMFAException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidUserPoolConfigurationException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#SoftwareTokenMFANotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Use this API to register a user's entered TOTP code and mark the user's software token\n MFA status as \"verified\" if successful. The request takes an access token or a session\n string, but not both.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#VerifySoftwareTokenRequest": {
"type": "structure",
"members": {
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>The access token.</p>"
}
},
"Session": {
"target": "com.amazonaws.cognitoidentityprovider#SessionType",
"traits": {
"smithy.api#documentation": "<p>The session which should be passed both ways in challenge-response calls to the\n service.</p>"
}
},
"UserCode": {
"target": "com.amazonaws.cognitoidentityprovider#SoftwareTokenMFAUserCodeType",
"traits": {
"smithy.api#documentation": "<p>The one time password computed using the secret code returned by <a href=\"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AssociateSoftwareToken.html\">AssociateSoftwareToken\"</a>.</p>",
"smithy.api#required": {}
}
},
"FriendlyDeviceName": {
"target": "com.amazonaws.cognitoidentityprovider#StringType",
"traits": {
"smithy.api#documentation": "<p>The friendly device name.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#VerifySoftwareTokenResponse": {
"type": "structure",
"members": {
"Status": {
"target": "com.amazonaws.cognitoidentityprovider#VerifySoftwareTokenResponseType",
"traits": {
"smithy.api#documentation": "<p>The status of the verify software token.</p>"
}
},
"Session": {
"target": "com.amazonaws.cognitoidentityprovider#SessionType",
"traits": {
"smithy.api#documentation": "<p>The session which should be passed both ways in challenge-response calls to the\n service.</p>"
}
}
}
},
"com.amazonaws.cognitoidentityprovider#VerifySoftwareTokenResponseType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "SUCCESS",
"name": "SUCCESS"
},
{
"value": "ERROR",
"name": "ERROR"
}
]
}
},
"com.amazonaws.cognitoidentityprovider#VerifyUserAttribute": {
"type": "operation",
"input": {
"target": "com.amazonaws.cognitoidentityprovider#VerifyUserAttributeRequest"
},
"output": {
"target": "com.amazonaws.cognitoidentityprovider#VerifyUserAttributeResponse"
},
"errors": [
{
"target": "com.amazonaws.cognitoidentityprovider#CodeMismatchException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ExpiredCodeException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InternalErrorException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#InvalidParameterException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#LimitExceededException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#NotAuthorizedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#PasswordResetRequiredException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#TooManyRequestsException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException"
},
{
"target": "com.amazonaws.cognitoidentityprovider#UserNotFoundException"
}
],
"traits": {
"smithy.api#auth": [],
"smithy.api#documentation": "<p>Verifies the specified user attributes in the user pool.</p>",
"smithy.api#optionalAuth": {}
}
},
"com.amazonaws.cognitoidentityprovider#VerifyUserAttributeRequest": {
"type": "structure",
"members": {
"AccessToken": {
"target": "com.amazonaws.cognitoidentityprovider#TokenModelType",
"traits": {
"smithy.api#documentation": "<p>Represents the access token of the request to verify user attributes.</p>",
"smithy.api#required": {}
}
},
"AttributeName": {
"target": "com.amazonaws.cognitoidentityprovider#AttributeNameType",
"traits": {
"smithy.api#documentation": "<p>The attribute name in the request to verify user attributes.</p>",
"smithy.api#required": {}
}
},
"Code": {
"target": "com.amazonaws.cognitoidentityprovider#ConfirmationCodeType",
"traits": {
"smithy.api#documentation": "<p>The verification code in the request to verify user attributes.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the request to verify user attributes.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#VerifyUserAttributeResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>A container representing the response from the server from the request to verify user\n attributes.</p>"
}
},
"com.amazonaws.cognitoidentityprovider#WrappedBooleanType": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
}
}
}