CreateAuthenticationProfile - Amazon Redshift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

CreateAuthenticationProfile

Creates an authentication profile with the specified parameters.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

AuthenticationProfileContent

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

Type: String

Length Constraints: Maximum length of 2147483647.

Required: Yes

AuthenticationProfileName

The name of the authentication profile to be created.

Type: String

Length Constraints: Maximum length of 63.

Pattern: ^[a-zA-Z0-9\-]+$

Required: Yes

Response Elements

The following elements are returned by the service.

AuthenticationProfileContent

The content of the authentication profile in JSON format.

Type: String

Length Constraints: Maximum length of 2147483647.

AuthenticationProfileName

The name of the authentication profile that was created.

Type: String

Length Constraints: Maximum length of 63.

Pattern: ^[a-zA-Z0-9\-]+$

Errors

For information about the errors that are common to all actions, see Common Errors.

AuthenticationProfileAlreadyExistsFault

The authentication profile already exists.

HTTP Status Code: 400

AuthenticationProfileQuotaExceededFault

The size or number of authentication profiles has exceeded the quota. The maximum length of the JSON string and maximum number of authentication profiles is determined by a quota for your account.

HTTP Status Code: 400

InvalidAuthenticationProfileRequestFault

The authentication profile request is not valid. The profile name can't be null or empty. The authentication profile API operation must be available in the Amazon Web Services Region.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: