import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateDatasetIntegrationInput, CreateDatasetIntegrationOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateDatasetIntegrationCommand}. */ export interface CreateDatasetIntegrationCommandInput extends CreateDatasetIntegrationInput { } /** * @public * * The output of {@link CreateDatasetIntegrationCommand}. */ export interface CreateDatasetIntegrationCommandOutput extends CreateDatasetIntegrationOutput, __MetadataBearer { } declare const CreateDatasetIntegrationCommand_base: { new (input: CreateDatasetIntegrationCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateDatasetIntegrationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a dataset integration for the caller's account in the current region and returns its ARN.

To use this operation, you must have permission to access the dataset integration resources through the IAM role specified in the RoleArn parameter.

If a dataset integration already exists for the account, this operation fails with a ConflictException.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ObservabilityAdminClient, CreateDatasetIntegrationCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import * // const { ObservabilityAdminClient, CreateDatasetIntegrationCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import * // import type { ObservabilityAdminClientConfig } from "@aws-sdk/client-observabilityadmin"; * const config = {}; // type is ObservabilityAdminClientConfig * const client = new ObservabilityAdminClient(config); * const input = { // CreateDatasetIntegrationInput * RoleArn: "STRING_VALUE", // required * Tags: { // TagMapInput * "": "STRING_VALUE", * }, * }; * const command = new CreateDatasetIntegrationCommand(input); * const response = await client.send(command); * // { // CreateDatasetIntegrationOutput * // Arn: "STRING_VALUE", // required * // RoleArn: "STRING_VALUE", // required * // CreatedAt: new Date("TIMESTAMP"), // required * // UpdatedAt: new Date("TIMESTAMP"), // required * // }; * * ``` * * @param CreateDatasetIntegrationCommandInput - {@link CreateDatasetIntegrationCommandInput} * @returns {@link CreateDatasetIntegrationCommandOutput} * @see {@link CreateDatasetIntegrationCommandInput} for command's `input` shape. * @see {@link CreateDatasetIntegrationCommandOutput} for command's `response` shape. * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.

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

The requested operation conflicts with the current state of the specified resource or with another request.

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

Indicates the request has failed to process because of an unknown server error, exception, or failure.

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

The request throughput limit was exceeded.

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

Indicates input validation failed. Check your request parameters and retry the request.

* * @throws {@link ObservabilityAdminServiceException} *

Base exception class for all service exceptions from ObservabilityAdmin service.

* * * @public */ export declare class CreateDatasetIntegrationCommand extends CreateDatasetIntegrationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateDatasetIntegrationInput; output: CreateDatasetIntegrationOutput; }; sdk: { input: CreateDatasetIntegrationCommandInput; output: CreateDatasetIntegrationCommandOutput; }; }; }