import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient"; import type { UpdateImagePipelineRequest, UpdateImagePipelineResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateImagePipelineCommand}. */ export interface UpdateImagePipelineCommandInput extends UpdateImagePipelineRequest { } /** * @public * * The output of {@link UpdateImagePipelineCommand}. */ export interface UpdateImagePipelineCommandOutput extends UpdateImagePipelineResponse, __MetadataBearer { } declare const UpdateImagePipelineCommand_base: { new (input: UpdateImagePipelineCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateImagePipelineCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Updates an image pipeline. Image pipelines enable you to automate the creation and * distribution of images. You must specify exactly one recipe for your image, using either * a containerRecipeArn or an imageRecipeArn.

* *

UpdateImagePipeline does not support selective updates for the pipeline. You must * specify all of the required properties in the update request, not just the * properties that have changed.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ImagebuilderClient, UpdateImagePipelineCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import * // const { ImagebuilderClient, UpdateImagePipelineCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import * // import type { ImagebuilderClientConfig } from "@aws-sdk/client-imagebuilder"; * const config = {}; // type is ImagebuilderClientConfig * const client = new ImagebuilderClient(config); * const input = { // UpdateImagePipelineRequest * imagePipelineArn: "STRING_VALUE", // required * description: "STRING_VALUE", * imageRecipeArn: "STRING_VALUE", * containerRecipeArn: "STRING_VALUE", * infrastructureConfigurationArn: "STRING_VALUE", // required * distributionConfigurationArn: "STRING_VALUE", * imageTestsConfiguration: { // ImageTestsConfiguration * imageTestsEnabled: true || false, * timeoutMinutes: Number("int"), * }, * enhancedImageMetadataEnabled: true || false, * schedule: { // Schedule * scheduleExpression: "STRING_VALUE", * timezone: "STRING_VALUE", * pipelineExecutionStartCondition: "EXPRESSION_MATCH_ONLY" || "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE", * autoDisablePolicy: { // AutoDisablePolicy * failureCount: Number("int"), // required * }, * }, * status: "DISABLED" || "ENABLED", * clientToken: "STRING_VALUE", // required * imageScanningConfiguration: { // ImageScanningConfiguration * imageScanningEnabled: true || false, * ecrConfiguration: { // EcrConfiguration * repositoryName: "STRING_VALUE", * containerTags: [ // StringList * "STRING_VALUE", * ], * }, * }, * workflows: [ // WorkflowConfigurationList * { // WorkflowConfiguration * workflowArn: "STRING_VALUE", // required * parameters: [ // WorkflowParameterList * { // WorkflowParameter * name: "STRING_VALUE", // required * value: [ // WorkflowParameterValueList // required * "STRING_VALUE", * ], * }, * ], * parallelGroup: "STRING_VALUE", * onFailure: "CONTINUE" || "ABORT", * }, * ], * loggingConfiguration: { // PipelineLoggingConfiguration * imageLogGroupName: "STRING_VALUE", * pipelineLogGroupName: "STRING_VALUE", * }, * executionRole: "STRING_VALUE", * imageTags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new UpdateImagePipelineCommand(input); * const response = await client.send(command); * // { // UpdateImagePipelineResponse * // requestId: "STRING_VALUE", * // clientToken: "STRING_VALUE", * // imagePipelineArn: "STRING_VALUE", * // }; * * ``` * * @param UpdateImagePipelineCommandInput - {@link UpdateImagePipelineCommandInput} * @returns {@link UpdateImagePipelineCommandOutput} * @see {@link UpdateImagePipelineCommandInput} for command's `input` shape. * @see {@link UpdateImagePipelineCommandOutput} for command's `response` shape. * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape. * * @throws {@link CallRateLimitExceededException} (client fault) *

You have exceeded the permitted request rate for the specific operation.

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

These errors are usually caused by a client action, such as using an action or * resource on behalf of a user that doesn't have permissions to use the action or * resource, or specifying an invalid resource identifier.

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

You are not authorized to perform the requested operation.

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

You have specified a client token for an operation using parameter values that differ * from a previous request that used the same client token.

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

You have requested an action that that the service doesn't support.

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

The resource that you are trying to operate on is currently in use. Review the message * details and retry later.

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

This exception is thrown when the service encounters an unrecoverable * exception.

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

The service is unable to process your request at this time.

* * @throws {@link ImagebuilderServiceException} *

Base exception class for all service exceptions from Imagebuilder service.

* * * @public */ export declare class UpdateImagePipelineCommand extends UpdateImagePipelineCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateImagePipelineRequest; output: UpdateImagePipelineResponse; }; sdk: { input: UpdateImagePipelineCommandInput; output: UpdateImagePipelineCommandOutput; }; }; }