import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetSegmentExportJobsRequest, GetSegmentExportJobsResponse } from "../models/models_1"; import type { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetSegmentExportJobsCommand}. */ export interface GetSegmentExportJobsCommandInput extends GetSegmentExportJobsRequest { } /** * @public * * The output of {@link GetSegmentExportJobsCommand}. */ export interface GetSegmentExportJobsCommandOutput extends GetSegmentExportJobsResponse, __MetadataBearer { } declare const GetSegmentExportJobsCommand_base: { new (input: GetSegmentExportJobsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetSegmentExportJobsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves information about the status and settings of the export jobs for a segment.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PinpointClient, GetSegmentExportJobsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import * // const { PinpointClient, GetSegmentExportJobsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import * // import type { PinpointClientConfig } from "@aws-sdk/client-pinpoint"; * const config = {}; // type is PinpointClientConfig * const client = new PinpointClient(config); * const input = { // GetSegmentExportJobsRequest * ApplicationId: "STRING_VALUE", // required * PageSize: "STRING_VALUE", * SegmentId: "STRING_VALUE", // required * Token: "STRING_VALUE", * }; * const command = new GetSegmentExportJobsCommand(input); * const response = await client.send(command); * // { // GetSegmentExportJobsResponse * // ExportJobsResponse: { // ExportJobsResponse * // Item: [ // ListOfExportJobResponse // required * // { // ExportJobResponse * // ApplicationId: "STRING_VALUE", // required * // CompletedPieces: Number("int"), * // CompletionDate: "STRING_VALUE", * // CreationDate: "STRING_VALUE", // required * // Definition: { // ExportJobResource * // RoleArn: "STRING_VALUE", // required * // S3UrlPrefix: "STRING_VALUE", // required * // SegmentId: "STRING_VALUE", * // SegmentVersion: Number("int"), * // }, * // FailedPieces: Number("int"), * // Failures: [ // ListOf__string * // "STRING_VALUE", * // ], * // Id: "STRING_VALUE", // required * // JobStatus: "CREATED" || "PREPARING_FOR_INITIALIZATION" || "INITIALIZING" || "PROCESSING" || "PENDING_JOB" || "COMPLETING" || "COMPLETED" || "FAILING" || "FAILED", // required * // TotalFailures: Number("int"), * // TotalPieces: Number("int"), * // TotalProcessed: Number("int"), * // Type: "STRING_VALUE", // required * // }, * // ], * // NextToken: "STRING_VALUE", * // }, * // }; * * ``` * * @param GetSegmentExportJobsCommandInput - {@link GetSegmentExportJobsCommandInput} * @returns {@link GetSegmentExportJobsCommandOutput} * @see {@link GetSegmentExportJobsCommandInput} for command's `input` shape. * @see {@link GetSegmentExportJobsCommandOutput} for command's `response` shape. * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

* * @throws {@link PinpointServiceException} *

Base exception class for all service exceptions from Pinpoint service.

* * * @public */ export declare class GetSegmentExportJobsCommand extends GetSegmentExportJobsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetSegmentExportJobsRequest; output: GetSegmentExportJobsResponse; }; sdk: { input: GetSegmentExportJobsCommandInput; output: GetSegmentExportJobsCommandOutput; }; }; }