:doc:`WorkMail <../../workmail>` / Client / describe_email_monitoring_configuration

***************************************
describe_email_monitoring_configuration
***************************************



.. py:method:: WorkMail.Client.describe_email_monitoring_configuration(**kwargs)

  

  Describes the current email monitoring configuration for a specified organization.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeEmailMonitoringConfiguration>`_  


  **Request Syntax**
  ::

    response = client.describe_email_monitoring_configuration(
        OrganizationId='string'
    )
    
  :type OrganizationId: string
  :param OrganizationId: **[REQUIRED]** 

    The ID of the organization for which the email monitoring configuration is described.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'RoleArn': 'string',
          'LogGroupArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **RoleArn** *(string) --* 

        The Amazon Resource Name (ARN) of the IAM Role associated with the email monitoring configuration.

        
      

      - **LogGroupArn** *(string) --* 

        The Amazon Resource Name (ARN) of the CloudWatch Log group associated with the email monitoring configuration.

        
  
  **Exceptions**
  
  *   :py:class:`WorkMail.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`WorkMail.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`WorkMail.Client.exceptions.OrganizationNotFoundException`

  
  *   :py:class:`WorkMail.Client.exceptions.OrganizationStateException`

  