import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListCodegenJobsRequest, ListCodegenJobsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListCodegenJobsCommand}. */ export interface ListCodegenJobsCommandInput extends ListCodegenJobsRequest { } /** * @public * * The output of {@link ListCodegenJobsCommand}. */ export interface ListCodegenJobsCommandOutput extends ListCodegenJobsResponse, __MetadataBearer { } declare const ListCodegenJobsCommand_base: { new (input: ListCodegenJobsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListCodegenJobsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves a list of code generation jobs for a specified Amplify app and backend environment.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AmplifyUIBuilderClient, ListCodegenJobsCommand } from "@aws-sdk/client-amplifyuibuilder"; // ES Modules import * // const { AmplifyUIBuilderClient, ListCodegenJobsCommand } = require("@aws-sdk/client-amplifyuibuilder"); // CommonJS import * // import type { AmplifyUIBuilderClientConfig } from "@aws-sdk/client-amplifyuibuilder"; * const config = {}; // type is AmplifyUIBuilderClientConfig * const client = new AmplifyUIBuilderClient(config); * const input = { // ListCodegenJobsRequest * appId: "STRING_VALUE", // required * environmentName: "STRING_VALUE", // required * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new ListCodegenJobsCommand(input); * const response = await client.send(command); * // { // ListCodegenJobsResponse * // entities: [ // CodegenJobSummaryList // required * // { // CodegenJobSummary * // appId: "STRING_VALUE", // required * // environmentName: "STRING_VALUE", // required * // id: "STRING_VALUE", // required * // createdAt: new Date("TIMESTAMP"), * // modifiedAt: new Date("TIMESTAMP"), * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListCodegenJobsCommandInput - {@link ListCodegenJobsCommandInput} * @returns {@link ListCodegenJobsCommandOutput} * @see {@link ListCodegenJobsCommandInput} for command's `input` shape. * @see {@link ListCodegenJobsCommandOutput} for command's `response` shape. * @see {@link AmplifyUIBuilderClientResolvedConfig | config} for AmplifyUIBuilderClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

An internal error has occurred. Please retry your request.

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

An invalid or out-of-range value was supplied for the input parameter.

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

The request was denied due to request throttling.

* * @throws {@link AmplifyUIBuilderServiceException} *

Base exception class for all service exceptions from AmplifyUIBuilder service.

* * * @public */ export declare class ListCodegenJobsCommand extends ListCodegenJobsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListCodegenJobsRequest; output: ListCodegenJobsResponse; }; sdk: { input: ListCodegenJobsCommandInput; output: ListCodegenJobsCommandOutput; }; }; }