Redshift / Client / modify_authentication_profile

modify_authentication_profile#

Redshift.Client.modify_authentication_profile(**kwargs)#

Modifies an authentication profile.

See also: AWS API Documentation

Request Syntax

response = client.modify_authentication_profile(
    AuthenticationProfileName='string',
    AuthenticationProfileContent='string'
)
Parameters:
  • AuthenticationProfileName (string) –

    [REQUIRED]

    The name of the authentication profile to replace.

  • AuthenticationProfileContent (string) –

    [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.

Return type:

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

  • Redshift.Client.exceptions.AuthenticationProfileNotFoundFault

  • Redshift.Client.exceptions.AuthenticationProfileQuotaExceededFault

  • Redshift.Client.exceptions.InvalidAuthenticationProfileRequestFault