(Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.
asyncdefget_master_account(self,*,config_overrides:Optional[AsyncMacie2ClientConfig]=None)->"capo_macie2.types.get_master_account_response.GetMasterAccountResponse":"""<p>(Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the <link linkend="GetAdministratorAccount">GetAdministratorAccount</link> operation.</p> Raises: capo_macie2.errors.access_denied_exception.AccessDeniedException: <p>Provides information about an error that occurred due to insufficient access to a specified resource.</p> capo_macie2.errors.conflict_exception.ConflictException: <p>Provides information about an error that occurred due to a versioning conflict for a specified resource.</p> capo_macie2.errors.internal_server_exception.InternalServerException: <p>Provides information about an error that occurred due to an unknown internal server error, exception, or failure.</p> capo_macie2.errors.resource_not_found_exception.ResourceNotFoundException: <p>Provides information about an error that occurred because a specified resource wasn't found.</p> capo_macie2.errors.service_quota_exceeded_exception.ServiceQuotaExceededException: <p>Provides information about an error that occurred due to one or more service quotas for an account.</p> capo_macie2.errors.throttling_exception.ThrottlingException: <p>Provides information about an error that occurred because too many requests were sent during a certain amount of time.</p> capo_macie2.errors.validation_exception.ValidationException: <p>Provides information about an error that occurred due to a syntax error in a request.</p> capo_macie2.errors.UnknownServiceError: The service returned an error code this client does not model. """asyncdef_handler(req:"AsyncOperationRequest[capo_macie2.types.get_master_account_request.GetMasterAccountRequest]",)->AsyncOperationResponse["capo_macie2.types.get_master_account_response.GetMasterAccountResponse"]:importcapo_macie2._operations.macie2.get_master_account(output,http_response,)=awaitcapo_macie2._operations.macie2.get_master_account.async_get_master_account(req.options,req.input)returnAsyncOperationResponse(output=output,response=http_response)interceptors_,options_=self.operation_options(config_overrides,OperationLogging("GetMasterAccount"))input_:capo_macie2.types.get_master_account_request.GetMasterAccountRequest={}response=awaitaexecute_pipeline(AsyncOperationRequest(input=input_,options=options_),handler=_handler,interceptors=list(interceptors_),)awaitresponse.response.aclose()returnresponse.output