import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient"; import type { GetPackageVersionRequest, GetPackageVersionResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetPackageVersionCommand}. */ export interface GetPackageVersionCommandInput extends GetPackageVersionRequest { } /** * @public * * The output of {@link GetPackageVersionCommand}. */ export interface GetPackageVersionCommandOutput extends GetPackageVersionResponse, __MetadataBearer { } declare const GetPackageVersionCommand_base: { new (input: GetPackageVersionCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetPackageVersionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Gets information about the specified package version.

*

Requires permission to access the GetPackageVersion action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTClient, GetPackageVersionCommand } from "@aws-sdk/client-iot"; // ES Modules import * // const { IoTClient, GetPackageVersionCommand } = require("@aws-sdk/client-iot"); // CommonJS import * // import type { IoTClientConfig } from "@aws-sdk/client-iot"; * const config = {}; // type is IoTClientConfig * const client = new IoTClient(config); * const input = { // GetPackageVersionRequest * packageName: "STRING_VALUE", // required * versionName: "STRING_VALUE", // required * }; * const command = new GetPackageVersionCommand(input); * const response = await client.send(command); * // { // GetPackageVersionResponse * // packageVersionArn: "STRING_VALUE", * // packageName: "STRING_VALUE", * // versionName: "STRING_VALUE", * // description: "STRING_VALUE", * // attributes: { // ResourceAttributes * // "": "STRING_VALUE", * // }, * // artifact: { // PackageVersionArtifact * // s3Location: { // S3Location * // bucket: "STRING_VALUE", * // key: "STRING_VALUE", * // version: "STRING_VALUE", * // }, * // }, * // status: "DRAFT" || "PUBLISHED" || "DEPRECATED", * // errorReason: "STRING_VALUE", * // creationDate: new Date("TIMESTAMP"), * // lastModifiedDate: new Date("TIMESTAMP"), * // sbom: { // Sbom * // s3Location: { * // bucket: "STRING_VALUE", * // key: "STRING_VALUE", * // version: "STRING_VALUE", * // }, * // }, * // sbomValidationStatus: "IN_PROGRESS" || "FAILED" || "SUCCEEDED", * // recipe: "STRING_VALUE", * // }; * * ``` * * @param GetPackageVersionCommandInput - {@link GetPackageVersionCommandInput} * @returns {@link GetPackageVersionCommandOutput} * @see {@link GetPackageVersionCommandInput} for command's `input` shape. * @see {@link GetPackageVersionCommandOutput} for command's `response` shape. * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

Internal error from the service that indicates an unexpected error or that the service * is unavailable.

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

The specified resource does not exist.

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

The rate exceeds the limit.

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

The request is not valid.

* * @throws {@link IoTServiceException} *

Base exception class for all service exceptions from IoT service.

* * * @public */ export declare class GetPackageVersionCommand extends GetPackageVersionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetPackageVersionRequest; output: GetPackageVersionResponse; }; sdk: { input: GetPackageVersionCommandInput; output: GetPackageVersionCommandOutput; }; }; }