Jump to Content

Class UpdateNamespaceCommandProtected

Updates a namespace with the specified settings. Unless required, you can't update multiple parameters in one request. For example, you must specify both adminUsername and adminUserPassword to update either field, but you can't update both kmsKeyId and logExports in a single request.

Example

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

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

Param

UpdateNamespaceCommandInput

Returns

UpdateNamespaceCommandOutput

See

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

ValidationException (client fault)

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

Hierarchy

Constructors

Properties

Methods