import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient"; import type { GetDatasetInput, GetDatasetOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetDatasetCommand}. */ export interface GetDatasetCommandInput extends GetDatasetInput { } /** * @public * * The output of {@link GetDatasetCommand}. */ export interface GetDatasetCommandOutput extends GetDatasetOutput, __MetadataBearer { } declare const GetDatasetCommand_base: { new (input: GetDatasetCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetDatasetCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Returns information about the specified dataset. This includes its identifier, * Amazon Resource Name (ARN), and any customer managed Amazon Web Services Key * Management Service (Amazon Web Services KMS) key that is currently associated with * it.

*

Only the default dataset is supported. The default dataset * is implicit for every account in every Region — you can call GetDataset * for it without first creating it. If no customer managed KMS key has been associated * with the dataset, the response omits the KmsKeyArn field, indicating that * data is encrypted at rest using an Amazon Web Services owned key managed by * Amazon CloudWatch.

*

To associate a customer managed KMS key with a dataset, use AssociateDatasetKmsKey. To remove the association, use DisassociateDatasetKmsKey.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudWatchClient, GetDatasetCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import * // const { CloudWatchClient, GetDatasetCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch"; * const config = {}; // type is CloudWatchClientConfig * const client = new CloudWatchClient(config); * const input = { // GetDatasetInput * DatasetIdentifier: "STRING_VALUE", // required * }; * const command = new GetDatasetCommand(input); * const response = await client.send(command); * // { // GetDatasetOutput * // DatasetId: "STRING_VALUE", // required * // Arn: "STRING_VALUE", // required * // KmsKeyArn: "STRING_VALUE", * // }; * * ``` * * @param GetDatasetCommandInput - {@link GetDatasetCommandInput} * @returns {@link GetDatasetCommandOutput} * @see {@link GetDatasetCommandInput} for command's `input` shape. * @see {@link GetDatasetCommandOutput} for command's `response` shape. * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape. * * @throws {@link ResourceNotFoundException} (client fault) *

The named resource does not exist.

* * @throws {@link CloudWatchServiceException} *

Base exception class for all service exceptions from CloudWatch service.

* * * @public */ export declare class GetDatasetCommand extends GetDatasetCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetDatasetInput; output: GetDatasetOutput; }; sdk: { input: GetDatasetCommandInput; output: GetDatasetCommandOutput; }; }; }