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
/
Updates the specified user pool app client with the specified attributes. You can get a list of the current user pool app client settings using DescribeUserPoolClient.
You can also use this operation to enable token revocation for user pool clients. 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",
    "ClientId": "string",
    "ClientName": "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
}'
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

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