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

*****************************
modify_authentication_profile
*****************************



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

  

  Modifies an authentication profile.

  

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


  **Request Syntax**
  ::

    response = client.modify_authentication_profile(
        AuthenticationProfileName='string',
        AuthenticationProfileContent='string'
    )
    
  :type AuthenticationProfileName: string
  :param AuthenticationProfileName: **[REQUIRED]** 

    The name of the authentication profile to replace.

    

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

    The new content of the authentication profile in JSON format. The maximum length of the JSON string is determined by a quota for your account.

    

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

    
    ::

      {
          'AuthenticationProfileName': 'string',
          'AuthenticationProfileContent': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AuthenticationProfileName** *(string) --* 

        The name of the authentication profile that was replaced.

        
      

      - **AuthenticationProfileContent** *(string) --* 

        The updated content of the authentication profile in JSON format.

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

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

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

  