We are excited to announce our new API Documentation.
Protected
Describes an authentication profile.
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 importconst 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",// },// ],// };
DescribeAuthenticationProfilesCommandInput
DescribeAuthenticationProfilesCommandOutput
input
response
config
AuthenticationProfileNotFoundFault (client fault)
The authentication profile can't be found.
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.
RedshiftServiceException
Base exception class for all service exceptions from Redshift service.
Readonly
Static
Describes an authentication profile.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DescribeAuthenticationProfilesCommandInput
Returns
DescribeAuthenticationProfilesCommandOutput
See
input
shape.response
shape.config
shape.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.