update_macie_session
async
¶
update_macie_session(
*,
config_overrides: Optional[AsyncMacie2ClientConfig] = None,
finding_publishing_frequency: Optional[FindingPublishingFrequency] = None,
status: Optional[MacieStatus] = None,
) -> UpdateMacieSessionResponse
Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.
Parameters:
-
finding_publishing_frequency(Optional[FindingPublishingFrequency], default:None) –Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).
-
status(Optional[MacieStatus], default:None) –Specifies a 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.
Raises:
-
AccessDeniedException–Provides information about an error that occurred due to insufficient access to a specified resource.
-
ConflictException–Provides information about an error that occurred due to a versioning conflict for a specified resource.
-
InternalServerException–Provides information about an error that occurred due to an unknown internal server error, exception, or failure.
-
ResourceNotFoundException–Provides information about an error that occurred because a specified resource wasn't found.
-
ServiceQuotaExceededException–Provides information about an error that occurred due to one or more service quotas for an account.
-
ThrottlingException–Provides information about an error that occurred because too many requests were sent during a certain amount of time.
-
ValidationException–Provides information about an error that occurred due to a syntax error in a request.
-
UnknownServiceError–The service returned an error code this client does not model.