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

**************************
put_inbound_dmarc_settings
**************************



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

  

  Enables or disables a DMARC policy for a given organization.

  

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


  **Request Syntax**
  ::

    response = client.put_inbound_dmarc_settings(
        OrganizationId='string',
        Enforced=True|False
    )
    
  :type OrganizationId: string
  :param OrganizationId: **[REQUIRED]** 

    The ID of the organization that you are applying the DMARC policy to.

    

  
  :type Enforced: boolean
  :param Enforced: **[REQUIRED]** 

    Enforces or suspends a policy after it's applied.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`WorkMail.Client.exceptions.OrganizationNotFoundException`

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

  