Jump to Content

Class CreateEndpointAccessCommandProtected

Creates an Amazon Redshift Serverless managed VPC endpoint.

Example

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

import { RedshiftServerlessClient, CreateEndpointAccessCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
// const { RedshiftServerlessClient, CreateEndpointAccessCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
const client = new RedshiftServerlessClient(config);
const command = new CreateEndpointAccessCommand(input);
const response = await client.send(command);

See

Throws

AccessDeniedException (client fault)

You do not have sufficient access to perform this action.

Throws

ConflictException (client fault)

The submitted action has conflicts.

Throws

InternalServerException (server fault)

The request processing has failed because of an unknown error, exception or failure.

Throws

ResourceNotFoundException (client fault)

The resource could not be found.

Throws

ServiceQuotaExceededException (client fault)

The service limit was exceeded.

Throws

ValidationException (client fault)

The input failed to satisfy the constraints specified by an AWS service.

Hierarchy

Constructors

Properties

Methods