Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class DescribeAuthenticationProfilesCommandProtected

Describes an authentication profile.

Example

Use a bare-bones client and the command you need to make an API call.

import { RedshiftClient, DescribeAuthenticationProfilesCommand } from "@aws-sdk/client-redshift"; // ES Modules import
// const { RedshiftClient, DescribeAuthenticationProfilesCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
const client = new RedshiftClient(config);
const input = { // DescribeAuthenticationProfilesMessage
AuthenticationProfileName: "STRING_VALUE",
};
const command = new DescribeAuthenticationProfilesCommand(input);
const response = await client.send(command);
// { // DescribeAuthenticationProfilesResult
// AuthenticationProfiles: [ // AuthenticationProfileList
// { // AuthenticationProfile
// AuthenticationProfileName: "STRING_VALUE",
// AuthenticationProfileContent: "STRING_VALUE",
// },
// ],
// };

Param

DescribeAuthenticationProfilesCommandInput

Returns

DescribeAuthenticationProfilesCommandOutput

See

Throws

AuthenticationProfileNotFoundFault (client fault)

The authentication profile can't be found.

Throws

InvalidAuthenticationProfileRequestFault (client fault)

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.

Throws

RedshiftServiceException

Base exception class for all service exceptions from Redshift service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods