Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateNamespaceCommand

Creates a namespace in Amazon Redshift Serverless.

example

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

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

CreateNamespaceCommandInput for command's input shape.

see

CreateNamespaceCommandOutput for command's response shape.

see

config for RedshiftServerlessClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CreateNamespaceCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreateNamespaceCommandInput, CreateNamespaceCommandOutput>