v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14101465558.4 KB

Creates a new OAuth2.0 resource server and defines custom scopes within it.

post/#X-Amz-Target=AWSCognitoIdentityProviderService.CreateResourceServer

Headers

X-Amz-Target'AWSCognitoIdentityProviderService.CreateResourceServer' required

Request body

UserPoolIdstring required

The user pool ID for the user pool.

Identifierstring required

A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located, such as <code>https://my-weather-api.example.com</code>.

Namestring required

A friendly name for the resource server.

Response

Success