import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { BatchAssociateServiceActionWithProvisioningArtifactInput, BatchAssociateServiceActionWithProvisioningArtifactOutput } from "../models/models_0"; import type { ServiceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceCatalogClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link BatchAssociateServiceActionWithProvisioningArtifactCommand}. */ export interface BatchAssociateServiceActionWithProvisioningArtifactCommandInput extends BatchAssociateServiceActionWithProvisioningArtifactInput { } /** * @public * * The output of {@link BatchAssociateServiceActionWithProvisioningArtifactCommand}. */ export interface BatchAssociateServiceActionWithProvisioningArtifactCommandOutput extends BatchAssociateServiceActionWithProvisioningArtifactOutput, __MetadataBearer { } declare const BatchAssociateServiceActionWithProvisioningArtifactCommand_base: { new (input: BatchAssociateServiceActionWithProvisioningArtifactCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: BatchAssociateServiceActionWithProvisioningArtifactCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Associates multiple self-service actions with provisioning artifacts.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ServiceCatalogClient, BatchAssociateServiceActionWithProvisioningArtifactCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import * // const { ServiceCatalogClient, BatchAssociateServiceActionWithProvisioningArtifactCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import * // import type { ServiceCatalogClientConfig } from "@aws-sdk/client-service-catalog"; * const config = {}; // type is ServiceCatalogClientConfig * const client = new ServiceCatalogClient(config); * const input = { // BatchAssociateServiceActionWithProvisioningArtifactInput * ServiceActionAssociations: [ // ServiceActionAssociations // required * { // ServiceActionAssociation * ServiceActionId: "STRING_VALUE", // required * ProductId: "STRING_VALUE", // required * ProvisioningArtifactId: "STRING_VALUE", // required * }, * ], * AcceptLanguage: "STRING_VALUE", * }; * const command = new BatchAssociateServiceActionWithProvisioningArtifactCommand(input); * const response = await client.send(command); * // { // BatchAssociateServiceActionWithProvisioningArtifactOutput * // FailedServiceActionAssociations: [ // FailedServiceActionAssociations * // { // FailedServiceActionAssociation * // ServiceActionId: "STRING_VALUE", * // ProductId: "STRING_VALUE", * // ProvisioningArtifactId: "STRING_VALUE", * // ErrorCode: "DUPLICATE_RESOURCE" || "INTERNAL_FAILURE" || "LIMIT_EXCEEDED" || "RESOURCE_NOT_FOUND" || "THROTTLING" || "INVALID_PARAMETER", * // ErrorMessage: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param BatchAssociateServiceActionWithProvisioningArtifactCommandInput - {@link BatchAssociateServiceActionWithProvisioningArtifactCommandInput} * @returns {@link BatchAssociateServiceActionWithProvisioningArtifactCommandOutput} * @see {@link BatchAssociateServiceActionWithProvisioningArtifactCommandInput} for command's `input` shape. * @see {@link BatchAssociateServiceActionWithProvisioningArtifactCommandOutput} for command's `response` shape. * @see {@link ServiceCatalogClientResolvedConfig | config} for ServiceCatalogClient's `config` shape. * * @throws {@link InvalidParametersException} (client fault) *

One or more parameters provided to the operation are not valid.

* * @throws {@link ServiceCatalogServiceException} *

Base exception class for all service exceptions from ServiceCatalog service.

* * * @public */ export declare class BatchAssociateServiceActionWithProvisioningArtifactCommand extends BatchAssociateServiceActionWithProvisioningArtifactCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchAssociateServiceActionWithProvisioningArtifactInput; output: BatchAssociateServiceActionWithProvisioningArtifactOutput; }; sdk: { input: BatchAssociateServiceActionWithProvisioningArtifactCommandInput; output: BatchAssociateServiceActionWithProvisioningArtifactCommandOutput; }; }; }