import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetWorkflowRequest, GetWorkflowResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetWorkflowCommand}. */ export interface GetWorkflowCommandInput extends GetWorkflowRequest { } /** * @public * * The output of {@link GetWorkflowCommand}. */ export interface GetWorkflowCommandOutput extends GetWorkflowResponse, __MetadataBearer { } declare const GetWorkflowCommand_base: { new (input: GetWorkflowCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetWorkflowCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Get details of specified workflow.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CustomerProfilesClient, GetWorkflowCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import * // const { CustomerProfilesClient, GetWorkflowCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import * // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles"; * const config = {}; // type is CustomerProfilesClientConfig * const client = new CustomerProfilesClient(config); * const input = { // GetWorkflowRequest * DomainName: "STRING_VALUE", // required * WorkflowId: "STRING_VALUE", // required * }; * const command = new GetWorkflowCommand(input); * const response = await client.send(command); * // { // GetWorkflowResponse * // WorkflowId: "STRING_VALUE", * // WorkflowType: "APPFLOW_INTEGRATION", * // Status: "NOT_STARTED" || "IN_PROGRESS" || "COMPLETE" || "FAILED" || "SPLIT" || "RETRY" || "CANCELLED", * // ErrorDescription: "STRING_VALUE", * // StartDate: new Date("TIMESTAMP"), * // LastUpdatedAt: new Date("TIMESTAMP"), * // Attributes: { // WorkflowAttributes * // AppflowIntegration: { // AppflowIntegrationWorkflowAttributes * // SourceConnectorType: "Salesforce" || "Marketo" || "Zendesk" || "Servicenow" || "S3", // required * // ConnectorProfileName: "STRING_VALUE", // required * // RoleArn: "STRING_VALUE", * // }, * // }, * // Metrics: { // WorkflowMetrics * // AppflowIntegration: { // AppflowIntegrationWorkflowMetrics * // RecordsProcessed: Number("long"), // required * // StepsCompleted: Number("long"), // required * // TotalSteps: Number("long"), // required * // }, * // }, * // }; * * ``` * * @param GetWorkflowCommandInput - {@link GetWorkflowCommandInput} * @returns {@link GetWorkflowCommandOutput} * @see {@link GetWorkflowCommandInput} for command's `input` shape. * @see {@link GetWorkflowCommandOutput} for command's `response` shape. * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The input you provided is invalid.

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

An internal service error occurred.

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

The requested resource does not exist, or access was denied.

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

You exceeded the maximum number of requests.

* * @throws {@link CustomerProfilesServiceException} *

Base exception class for all service exceptions from CustomerProfiles service.

* * * @public */ export declare class GetWorkflowCommand extends GetWorkflowCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetWorkflowRequest; output: GetWorkflowResponse; }; sdk: { input: GetWorkflowCommandInput; output: GetWorkflowCommandOutput; }; }; }