CodeCatalyst / Client / verify_session

verify_session#

CodeCatalyst.Client.verify_session()#

Verifies whether the calling user has a valid Amazon CodeCatalyst login and session. If successful, this returns the ID of the user in Amazon CodeCatalyst.

See also: AWS API Documentation

Request Syntax

response = client.verify_session()
Return type:

dict

Returns:

Response Syntax

{
    'identity': 'string'
}

Response Structure

  • (dict) –

    • identity (string) –

      The system-generated unique ID of the user in Amazon CodeCatalyst.

Exceptions

  • CodeCatalyst.Client.exceptions.ThrottlingException

  • CodeCatalyst.Client.exceptions.ConflictException

  • CodeCatalyst.Client.exceptions.ValidationException

  • CodeCatalyst.Client.exceptions.ServiceQuotaExceededException

  • CodeCatalyst.Client.exceptions.ResourceNotFoundException

  • CodeCatalyst.Client.exceptions.AccessDeniedException