UNPKG

@aws-sdk/client-s3-control

Version:

AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native

82 lines (81 loc) 4.09 kB
import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DeleteStorageLensConfigurationRequest } from "../models/models_0"; import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteStorageLensConfigurationCommand}. */ export interface DeleteStorageLensConfigurationCommandInput extends DeleteStorageLensConfigurationRequest { } /** * @public * * The output of {@link DeleteStorageLensConfigurationCommand}. */ export interface DeleteStorageLensConfigurationCommandOutput extends __MetadataBearer { } declare const DeleteStorageLensConfigurationCommand_base: { new (input: DeleteStorageLensConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteStorageLensConfigurationCommandInput, DeleteStorageLensConfigurationCommandOutput, S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>; new (__0_0: DeleteStorageLensConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteStorageLensConfigurationCommandInput, DeleteStorageLensConfigurationCommandOutput, S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** * <note> * <p>This operation is not supported by directory buckets.</p> * </note> * <p>Deletes the Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html">Assessing your storage * activity and usage with Amazon S3 Storage Lens </a> in the * <i>Amazon S3 User Guide</i>.</p> * <note> * <p>To use this action, you must have permission to perform the * <code>s3:DeleteStorageLensConfiguration</code> action. For more information, see * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html">Setting permissions to * use Amazon S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>.</p> * </note> * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { S3ControlClient, DeleteStorageLensConfigurationCommand } from "@aws-sdk/client-s3-control"; // ES Modules import * // const { S3ControlClient, DeleteStorageLensConfigurationCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import * const client = new S3ControlClient(config); * const input = { // DeleteStorageLensConfigurationRequest * ConfigId: "STRING_VALUE", // required * AccountId: "STRING_VALUE", * }; * const command = new DeleteStorageLensConfigurationCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteStorageLensConfigurationCommandInput - {@link DeleteStorageLensConfigurationCommandInput} * @returns {@link DeleteStorageLensConfigurationCommandOutput} * @see {@link DeleteStorageLensConfigurationCommandInput} for command's `input` shape. * @see {@link DeleteStorageLensConfigurationCommandOutput} for command's `response` shape. * @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape. * * @throws {@link S3ControlServiceException} * <p>Base exception class for all service exceptions from S3Control service.</p> * * @public */ export declare class DeleteStorageLensConfigurationCommand extends DeleteStorageLensConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteStorageLensConfigurationRequest; output: {}; }; sdk: { input: DeleteStorageLensConfigurationCommandInput; output: DeleteStorageLensConfigurationCommandOutput; }; }; }