:doc:`PinpointEmail <../../pinpoint-email>` / Client / put_email_identity_dkim_attributes

**********************************
put_email_identity_dkim_attributes
**********************************



.. py:method:: PinpointEmail.Client.put_email_identity_dkim_attributes(**kwargs)

  

  Used to enable or disable DKIM authentication for an email identity.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityDkimAttributes>`_  


  **Request Syntax**
  ::

    response = client.put_email_identity_dkim_attributes(
        EmailIdentity='string',
        SigningEnabled=True|False
    )
    
  :type EmailIdentity: string
  :param EmailIdentity: **[REQUIRED]** 

    The email identity that you want to change the DKIM settings for.

    

  
  :type SigningEnabled: boolean
  :param SigningEnabled: 

    Sets the DKIM signing configuration for the identity.

     

    When you set this value ``true``, then the messages that Amazon Pinpoint sends from the identity are DKIM-signed. When you set this value to ``false``, then the messages that Amazon Pinpoint sends from the identity aren't DKIM-signed.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      An HTTP 200 response if the request succeeds, or an error message if the request fails.

      
  
  **Exceptions**
  
  *   :py:class:`PinpointEmail.Client.exceptions.NotFoundException`

  
  *   :py:class:`PinpointEmail.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`PinpointEmail.Client.exceptions.BadRequestException`

  