Macie2.Client.
get_macie_session
()¶Retrieves the status and configuration settings for an Amazon Macie account.
See also: AWS API Documentation
Request Syntax
response = client.get_macie_session()
{
'createdAt': datetime(2015, 1, 1),
'findingPublishingFrequency': 'FIFTEEN_MINUTES'|'ONE_HOUR'|'SIX_HOURS',
'serviceRole': 'string',
'status': 'PAUSED'|'ENABLED',
'updatedAt': datetime(2015, 1, 1)
}
Response Structure
The request succeeded.
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).
The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in Amazon Web Services resources for the account.
The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Macie activities are enabled for the account.
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.
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