ModifyAuthenticationProfile - Amazon Redshift

ModifyAuthenticationProfile

Modifies an authentication profile.

Request Parameters

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

AuthenticationProfileContent

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.

Type: String

Length Constraints: Maximum length of 2147483647.

Required: Yes

AuthenticationProfileName

The name of the authentication profile to replace.

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 updated 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 replaced.

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.

AuthenticationProfileNotFoundFault

The authentication profile can't be found.

HTTP Status Code: 404

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 AWS Region.

HTTP Status Code: 400

See Also

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