Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListNamespacesCommand

Returns information about a list of specified namespaces.

example

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

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

ListNamespacesCommandInput for command's input shape.

see

ListNamespacesCommandOutput for command's response shape.

see

config for RedshiftServerlessClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: ListNamespacesCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ListNamespacesCommandInput, ListNamespacesCommandOutput>