Jump to Content

Class DeleteNetworkSettingsCommandProtected

Deletes network settings.

Example

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

import { WorkSpacesWebClient, DeleteNetworkSettingsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
// const { WorkSpacesWebClient, DeleteNetworkSettingsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
const client = new WorkSpacesWebClient(config);
const input = { // DeleteNetworkSettingsRequest
networkSettingsArn: "STRING_VALUE", // required
};
const command = new DeleteNetworkSettingsCommand(input);
const response = await client.send(command);

Param

DeleteNetworkSettingsCommandInput

Returns

DeleteNetworkSettingsCommandOutput

See

Throws

AccessDeniedException (client fault)

Access is denied.

Throws

ConflictException (client fault)

There is a conflict.

Throws

InternalServerException (server fault)

There is an internal server error.

Throws

ThrottlingException (client fault)

There is a throttling error.

Throws

ValidationException (client fault)

There is a validation error.

Hierarchy

Constructors

Properties

Methods