import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateConnectorDestinationRequest, CreateConnectorDestinationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateConnectorDestinationCommand}. */ export interface CreateConnectorDestinationCommandInput extends CreateConnectorDestinationRequest { } /** * @public * * The output of {@link CreateConnectorDestinationCommand}. */ export interface CreateConnectorDestinationCommandOutput extends CreateConnectorDestinationResponse, __MetadataBearer { } declare const CreateConnectorDestinationCommand_base: { new (input: CreateConnectorDestinationCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateConnectorDestinationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Create a connector destination for connecting a cloud-to-cloud (C2C) connector to the customer's Amazon Web Services account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTManagedIntegrationsClient, CreateConnectorDestinationCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import * // const { IoTManagedIntegrationsClient, CreateConnectorDestinationCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import * // import type { IoTManagedIntegrationsClientConfig } from "@aws-sdk/client-iot-managed-integrations"; * const config = {}; // type is IoTManagedIntegrationsClientConfig * const client = new IoTManagedIntegrationsClient(config); * const input = { // CreateConnectorDestinationRequest * Name: "STRING_VALUE", * Description: "STRING_VALUE", * CloudConnectorId: "STRING_VALUE", // required * AuthType: "OAUTH", * AuthConfig: { // AuthConfig * oAuth: { // OAuthConfig * authUrl: "STRING_VALUE", // required * tokenUrl: "STRING_VALUE", // required * scope: "STRING_VALUE", * tokenEndpointAuthenticationScheme: "HTTP_BASIC" || "REQUEST_BODY_CREDENTIALS", // required * oAuthCompleteRedirectUrl: "STRING_VALUE", * proactiveRefreshTokenRenewal: { // ProactiveRefreshTokenRenewal * enabled: true || false, * DaysBeforeRenewal: Number("int"), * }, * }, * GeneralAuthorization: [ // AuthMaterials * { // AuthMaterial * SecretsManager: { // SecretsManager * arn: "STRING_VALUE", // required * versionId: "STRING_VALUE", // required * }, * AuthMaterialName: "STRING_VALUE", // required * }, * ], * }, * SecretsManager: { * arn: "STRING_VALUE", // required * versionId: "STRING_VALUE", // required * }, * ClientToken: "STRING_VALUE", * }; * const command = new CreateConnectorDestinationCommand(input); * const response = await client.send(command); * // { // CreateConnectorDestinationResponse * // Id: "STRING_VALUE", * // }; * * ``` * * @param CreateConnectorDestinationCommandInput - {@link CreateConnectorDestinationCommandInput} * @returns {@link CreateConnectorDestinationCommandOutput} * @see {@link CreateConnectorDestinationCommandInput} for command's `input` shape. * @see {@link CreateConnectorDestinationCommandOutput} for command's `response` shape. * @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

User is not authorized.

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

There is a conflict with the request.

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

Internal error from the service that indicates an unexpected error or that the service is unavailable.

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

The specified resource does not exist.

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

The rate exceeds the limit.

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

You are not authorized to perform this operation.

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

A validation error occurred when performing the API request.

* * @throws {@link IoTManagedIntegrationsServiceException} *

Base exception class for all service exceptions from IoTManagedIntegrations service.

* * * @public */ export declare class CreateConnectorDestinationCommand extends CreateConnectorDestinationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateConnectorDestinationRequest; output: CreateConnectorDestinationResponse; }; sdk: { input: CreateConnectorDestinationCommandInput; output: CreateConnectorDestinationCommandOutput; }; }; }