Skip to content

UpdateResourceServerRequest

Source code in docs_src/capo_cognito_identity_provider/types/update_resource_server_request.py
class UpdateResourceServerRequest(TypedDict, closed=True):
    user_pool_id: (
        "capo_cognito_identity_provider.types.user_pool_id_type.UserPoolIdType"
    )
    """<p>The ID of the user pool that contains the resource server that you want to update.</p>"""
    identifier: "capo_cognito_identity_provider.types.resource_server_identifier_type.ResourceServerIdentifierType"
    """<p>A unique resource server identifier for the resource server. The identifier can be an API friendly name like <code>solar-system-data</code>. You can also set an API URL like <code>https://solar-system-data-api.example.com</code> as your identifier.</p> <p>Amazon Cognito represents scopes in the access token in the format <code>$resource-server-identifier/$scope</code>. Longer scope-identifier strings increase the size of your access tokens.</p>"""
    name: "capo_cognito_identity_provider.types.resource_server_name_type.ResourceServerNameType"
    """<p>The updated name of the resource server.</p>"""
    scopes: NotRequired[
        "capo_cognito_identity_provider.types.resource_server_scope_list_type.ResourceServerScopeListType"
    ]
    """<p>An array of updated custom scope names and descriptions that you want to associate with your resource server.</p>"""

identifier instance-attribute

A unique resource server identifier for the resource server. The identifier can be an API friendly name like solar-system-data. You can also set an API URL like https://solar-system-data-api.example.com as your identifier.

Amazon Cognito represents scopes in the access token in the format $resource-server-identifier/$scope. Longer scope-identifier strings increase the size of your access tokens.

name instance-attribute

The updated name of the resource server.

scopes instance-attribute

scopes: NotRequired[ResourceServerScopeListType]

An array of updated custom scope names and descriptions that you want to associate with your resource server.

user_pool_id instance-attribute

user_pool_id: UserPoolIdType

The ID of the user pool that contains the resource server that you want to update.