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 { GetImageRecipeRequest, GetImageRecipeResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetImageRecipeCommand}. */ export interface GetImageRecipeCommandInput extends GetImageRecipeRequest { } /** * @public * * The output of {@link GetImageRecipeCommand}. */ export interface GetImageRecipeCommandOutput extends GetImageRecipeResponse, __MetadataBearer { } declare const GetImageRecipeCommand_base: { new (input: GetImageRecipeCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetImageRecipeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Gets an image recipe.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ImagebuilderClient, GetImageRecipeCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import * // const { ImagebuilderClient, GetImageRecipeCommand } = 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 = { // GetImageRecipeRequest * imageRecipeArn: "STRING_VALUE", // required * }; * const command = new GetImageRecipeCommand(input); * const response = await client.send(command); * // { // GetImageRecipeResponse * // requestId: "STRING_VALUE", * // imageRecipe: { // ImageRecipe * // arn: "STRING_VALUE", * // type: "AMI" || "DOCKER", * // name: "STRING_VALUE", * // description: "STRING_VALUE", * // platform: "Windows" || "Linux" || "macOS", * // owner: "STRING_VALUE", * // version: "STRING_VALUE", * // components: [ // ComponentConfigurationList * // { // ComponentConfiguration * // componentArn: "STRING_VALUE", // required * // parameters: [ // ComponentParameterList * // { // ComponentParameter * // name: "STRING_VALUE", // required * // value: [ // ComponentParameterValueList // required * // "STRING_VALUE", * // ], * // }, * // ], * // }, * // ], * // parentImage: "STRING_VALUE", * // blockDeviceMappings: [ // InstanceBlockDeviceMappings * // { // InstanceBlockDeviceMapping * // deviceName: "STRING_VALUE", * // ebs: { // EbsInstanceBlockDeviceSpecification * // encrypted: true || false, * // deleteOnTermination: true || false, * // iops: Number("int"), * // kmsKeyId: "STRING_VALUE", * // snapshotId: "STRING_VALUE", * // volumeSize: Number("int"), * // volumeType: "standard" || "io1" || "io2" || "gp2" || "gp3" || "sc1" || "st1", * // throughput: Number("int"), * // }, * // virtualName: "STRING_VALUE", * // noDevice: "STRING_VALUE", * // }, * // ], * // dateCreated: "STRING_VALUE", * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // workingDirectory: "STRING_VALUE", * // additionalInstanceConfiguration: { // AdditionalInstanceConfiguration * // systemsManagerAgent: { // SystemsManagerAgent * // uninstallAfterBuild: true || false, * // }, * // userDataOverride: "STRING_VALUE", * // }, * // amiTags: { * // "": "STRING_VALUE", * // }, * // }, * // latestVersionReferences: { // LatestVersionReferences * // latestVersionArn: "STRING_VALUE", * // latestMajorVersionArn: "STRING_VALUE", * // latestMinorVersionArn: "STRING_VALUE", * // latestPatchVersionArn: "STRING_VALUE", * // }, * // }; * * ``` * * @param GetImageRecipeCommandInput - {@link GetImageRecipeCommandInput} * @returns {@link GetImageRecipeCommandOutput} * @see {@link GetImageRecipeCommandInput} for command's `input` shape. * @see {@link GetImageRecipeCommandOutput} 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 InvalidRequestException} (client fault) *

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

* * @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 GetImageRecipeCommand extends GetImageRecipeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetImageRecipeRequest; output: GetImageRecipeResponse; }; sdk: { input: GetImageRecipeCommandInput; output: GetImageRecipeCommandOutput; }; }; }