:doc:`Redshift <../../redshift>` / Client / modify_custom_domain_association

********************************
modify_custom_domain_association
********************************



.. py:method:: Redshift.Client.modify_custom_domain_association(**kwargs)

  

  Contains information for changing a custom domain association.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyCustomDomainAssociation>`_  


  **Request Syntax**
  ::

    response = client.modify_custom_domain_association(
        CustomDomainName='string',
        CustomDomainCertificateArn='string',
        ClusterIdentifier='string'
    )
    
  :type CustomDomainName: string
  :param CustomDomainName: **[REQUIRED]** 

    The custom domain name for a changed custom domain association.

    

  
  :type CustomDomainCertificateArn: string
  :param CustomDomainCertificateArn: **[REQUIRED]** 

    The certificate Amazon Resource Name (ARN) for the changed custom domain association.

    

  
  :type ClusterIdentifier: string
  :param ClusterIdentifier: **[REQUIRED]** 

    The identifier of the cluster to change a custom domain association for.

    

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

    
    ::

      {
          'CustomDomainName': 'string',
          'CustomDomainCertificateArn': 'string',
          'ClusterIdentifier': 'string',
          'CustomDomainCertExpiryTime': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **CustomDomainName** *(string) --* 

        The custom domain name associated with the result for the changed custom domain association.

        
      

      - **CustomDomainCertificateArn** *(string) --* 

        The certificate Amazon Resource Name (ARN) associated with the result for the changed custom domain association.

        
      

      - **ClusterIdentifier** *(string) --* 

        The identifier of the cluster associated with the result for the changed custom domain association.

        
      

      - **CustomDomainCertExpiryTime** *(string) --* 

        The certificate expiration time associated with the result for the changed custom domain association.

        
  
  **Exceptions**
  
  *   :py:class:`Redshift.Client.exceptions.UnsupportedOperationFault`

  
  *   :py:class:`Redshift.Client.exceptions.ClusterNotFoundFault`

  
  *   :py:class:`Redshift.Client.exceptions.CustomCnameAssociationFault`

  
  *   :py:class:`Redshift.Client.exceptions.CustomDomainAssociationNotFoundFault`

  