CognitoIdentityProvider.Client.
describe_user_pool_domain
(**kwargs)¶Gets information about a domain.
See also: AWS API Documentation
Request Syntax
response = client.describe_user_pool_domain(
Domain='string'
)
[REQUIRED]
The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com
. For Amazon Cognito prefix domains, this is the prefix alone, such as auth
.
{
'DomainDescription': {
'UserPoolId': 'string',
'AWSAccountId': 'string',
'Domain': 'string',
'S3Bucket': 'string',
'CloudFrontDistribution': 'string',
'Version': 'string',
'Status': 'CREATING'|'DELETING'|'UPDATING'|'ACTIVE'|'FAILED',
'CustomDomainConfig': {
'CertificateArn': 'string'
}
}
}
Response Structure
A domain description object containing information about the domain.
The user pool ID.
The Amazon Web Services ID for the user pool owner.
The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com
. For Amazon Cognito prefix domains, this is the prefix alone, such as auth
.
The Amazon S3 bucket where the static files for this domain are stored.
The Amazon Resource Name (ARN) of the Amazon CloudFront distribution.
The app version.
The domain status.
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
Exceptions
CognitoIdentityProvider.Client.exceptions.NotAuthorizedException
CognitoIdentityProvider.Client.exceptions.InvalidParameterException
CognitoIdentityProvider.Client.exceptions.ResourceNotFoundException
CognitoIdentityProvider.Client.exceptions.InternalErrorException