Macie2 / Client / update_member_session

update_member_session#

Macie2.Client.update_member_session(**kwargs)#

Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.

See also: AWS API Documentation

Request Syntax

response = client.update_member_session(
    id='string',
    status='PAUSED'|'ENABLED'
)
Parameters:
  • id (string) –

    [REQUIRED]

    The unique identifier for the Amazon Macie resource that the request applies to.

  • status (string) –

    [REQUIRED]

    Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    The request succeeded and there isn’t any content to include in the body of the response (No Content).

Exceptions

  • Macie2.Client.exceptions.ValidationException

  • Macie2.Client.exceptions.InternalServerException

  • Macie2.Client.exceptions.ServiceQuotaExceededException

  • Macie2.Client.exceptions.AccessDeniedException

  • Macie2.Client.exceptions.ResourceNotFoundException

  • Macie2.Client.exceptions.ThrottlingException

  • Macie2.Client.exceptions.ConflictException