:doc:`RedshiftServerless <../../redshift-serverless>` / Client / update_custom_domain_association

********************************
update_custom_domain_association
********************************



.. py:method:: RedshiftServerless.Client.update_custom_domain_association(**kwargs)

  

  Updates an Amazon Redshift Serverless certificate associated with a custom domain.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateCustomDomainAssociation>`_  


  **Request Syntax**
  ::

    response = client.update_custom_domain_association(
        customDomainCertificateArn='string',
        customDomainName='string',
        workgroupName='string'
    )
    
  :type customDomainCertificateArn: string
  :param customDomainCertificateArn: **[REQUIRED]** 

    The custom domain name’s certificate Amazon resource name (ARN). This is optional.

    

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

    The custom domain name associated with the workgroup.

    

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

    The name of the workgroup associated with the database.

    

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

    
    ::

      {
          'customDomainCertificateArn': 'string',
          'customDomainCertificateExpiryTime': datetime(2015, 1, 1),
          'customDomainName': 'string',
          'workgroupName': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **customDomainCertificateArn** *(string) --* 

        The custom domain name’s certificate Amazon resource name (ARN).

        
      

      - **customDomainCertificateExpiryTime** *(datetime) --* 

        The expiration time for the certificate.

        
      

      - **customDomainName** *(string) --* 

        The custom domain name associated with the workgroup.

        
      

      - **workgroupName** *(string) --* 

        The name of the workgroup associated with the database.

        
  
  **Exceptions**
  
  *   :py:class:`RedshiftServerless.Client.exceptions.InternalServerException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ValidationException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ConflictException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ThrottlingException`

  