import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteAccessorInput, DeleteAccessorOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteAccessorCommand}. */ export interface DeleteAccessorCommandInput extends DeleteAccessorInput { } /** * @public * * The output of {@link DeleteAccessorCommand}. */ export interface DeleteAccessorCommandOutput extends DeleteAccessorOutput, __MetadataBearer { } declare const DeleteAccessorCommand_base: { new (input: DeleteAccessorCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteAccessorCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes an accessor that your Amazon Web Services account owns. An accessor object is a container that has the * information required for token based access to your Ethereum nodes including, the * BILLING_TOKEN. After an accessor is deleted, the status of the accessor changes * from AVAILABLE to PENDING_DELETION. An accessor in the * PENDING_DELETION state can’t be used for new WebSocket requests or * HTTP requests. However, WebSocket connections that were initiated while the accessor was in the * AVAILABLE state remain open until they expire (up to 2 hours).

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ManagedBlockchainClient, DeleteAccessorCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import * // const { ManagedBlockchainClient, DeleteAccessorCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import * // import type { ManagedBlockchainClientConfig } from "@aws-sdk/client-managedblockchain"; * const config = {}; // type is ManagedBlockchainClientConfig * const client = new ManagedBlockchainClient(config); * const input = { // DeleteAccessorInput * AccessorId: "STRING_VALUE", // required * }; * const command = new DeleteAccessorCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteAccessorCommandInput - {@link DeleteAccessorCommandInput} * @returns {@link DeleteAccessorCommandOutput} * @see {@link DeleteAccessorCommandInput} for command's `input` shape. * @see {@link DeleteAccessorCommandOutput} for command's `response` shape. * @see {@link ManagedBlockchainClientResolvedConfig | config} for ManagedBlockchainClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient access to perform this action.

* * @throws {@link InternalServiceErrorException} (server fault) *

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

* * @throws {@link InvalidRequestException} (client fault) *

The action or operation requested is invalid. Verify that the action is typed correctly.

* * @throws {@link ResourceNotFoundException} (client fault) *

A requested resource doesn't exist. It may have been deleted or referenced incorrectly.

* * @throws {@link ThrottlingException} (client fault) *

The request or operation couldn't be performed because a service is * throttling requests. The most common source of throttling errors is * creating resources that exceed your service limit for this resource type. * Request a limit increase or delete unused resources if possible.

* * @throws {@link ManagedBlockchainServiceException} *

Base exception class for all service exceptions from ManagedBlockchain service.

* * * @public */ export declare class DeleteAccessorCommand extends DeleteAccessorCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteAccessorInput; output: {}; }; sdk: { input: DeleteAccessorCommandInput; output: DeleteAccessorCommandOutput; }; }; }