create_authentication_profile

Redshift.Client.create_authentication_profile(**kwargs)

Creates an authentication profile with the specified parameters.

See also: AWS API Documentation

Request Syntax

response = client.create_authentication_profile(
    AuthenticationProfileName='string',
    AuthenticationProfileContent='string'
)
Parameters
  • AuthenticationProfileName (string) --

    [REQUIRED]

    The name of the authentication profile to be created.

  • AuthenticationProfileContent (string) --

    [REQUIRED]

    The 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 created.

    • AuthenticationProfileContent (string) --

      The content of the authentication profile in JSON format.

Exceptions

  • Redshift.Client.exceptions.AuthenticationProfileAlreadyExistsFault
  • Redshift.Client.exceptions.AuthenticationProfileQuotaExceededFault
  • Redshift.Client.exceptions.InvalidAuthenticationProfileRequestFault