Amazon Cognito Identity Provider
  1. Root
Amazon Cognito Identity Provider
  • Root
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
  1. Root

/

POST
/
Creates the user pool client.
When you create a new user pool client, token revocation is automatically activated. For more information about revoking tokens, see RevokeToken.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/' \
--header 'X-Amz-Target;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "UserPoolId": "string",
    "ClientName": "string",
    "GenerateSecret": true,
    "RefreshTokenValidity": 0,
    "AccessTokenValidity": 0,
    "IdTokenValidity": 0,
    "TokenValidityUnits": {
        "AccessToken": "seconds",
        "IdToken": "seconds",
        "RefreshToken": "seconds"
    },
    "ReadAttributes": [],
    "WriteAttributes": [],
    "ExplicitAuthFlows": [],
    "SupportedIdentityProviders": [],
    "CallbackURLs": [],
    "LogoutURLs": [],
    "DefaultRedirectURI": "string",
    "AllowedOAuthFlows": [],
    "AllowedOAuthScopes": [],
    "AllowedOAuthFlowsUserPoolClient": true,
    "AnalyticsConfiguration": {
        "ApplicationId": "string",
        "ApplicationArn": "string",
        "RoleArn": "string",
        "ExternalId": "string",
        "UserDataShared": true
    },
    "PreventUserExistenceErrors": "LEGACY",
    "EnableTokenRevocation": true,
    "EnablePropagateAdditionalUserContextData": true,
    "AuthSessionValidity": 0
}'
Response Response Example
200 - Example 1
{
    "UserPoolClient": {
        "UserPoolId": "string",
        "ClientName": "string",
        "ClientId": "string",
        "ClientSecret": "string",
        "LastModifiedDate": "string",
        "CreationDate": "string",
        "RefreshTokenValidity": 0,
        "AccessTokenValidity": 0,
        "IdTokenValidity": 0,
        "TokenValidityUnits": {
            "AccessToken": "seconds",
            "IdToken": "seconds",
            "RefreshToken": "seconds"
        },
        "ReadAttributes": [],
        "WriteAttributes": [],
        "ExplicitAuthFlows": [],
        "SupportedIdentityProviders": [],
        "CallbackURLs": [],
        "LogoutURLs": [],
        "DefaultRedirectURI": "string",
        "AllowedOAuthFlows": [],
        "AllowedOAuthScopes": [],
        "AllowedOAuthFlowsUserPoolClient": true,
        "AnalyticsConfiguration": {
            "ApplicationId": "string",
            "ApplicationArn": "string",
            "RoleArn": "string",
            "ExternalId": "string",
            "UserDataShared": true
        },
        "PreventUserExistenceErrors": "LEGACY",
        "EnableTokenRevocation": true,
        "EnablePropagateAdditionalUserContextData": true,
        "AuthSessionValidity": 0
    }
}

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

đźź 480InvalidParameterException
đźź 481ResourceNotFoundException
đźź 482TooManyRequestsException
đźź 483LimitExceededException
đźź 484NotAuthorizedException
đźź 485ScopeDoesNotExistException
đźź 486InvalidOAuthFlowException
đźź 487InternalErrorException
Modified at 2023-08-15 07:11:06
Previous
/
Next
/
Built with