import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient"; import type { GetContainerAPIMetadataRequest, GetContainerAPIMetadataResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetContainerAPIMetadataCommand}. */ export interface GetContainerAPIMetadataCommandInput extends GetContainerAPIMetadataRequest { } /** * @public * * The output of {@link GetContainerAPIMetadataCommand}. */ export interface GetContainerAPIMetadataCommandOutput extends GetContainerAPIMetadataResult, __MetadataBearer { } declare const GetContainerAPIMetadataCommand_base: { new (input: GetContainerAPIMetadataCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [GetContainerAPIMetadataCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns information about Amazon Lightsail containers, such as the current version of the * Lightsail Control (lightsailctl) plugin.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { LightsailClient, GetContainerAPIMetadataCommand } from "@aws-sdk/client-lightsail"; // ES Modules import * // const { LightsailClient, GetContainerAPIMetadataCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import * // import type { LightsailClientConfig } from "@aws-sdk/client-lightsail"; * const config = {}; // type is LightsailClientConfig * const client = new LightsailClient(config); * const input = {}; * const command = new GetContainerAPIMetadataCommand(input); * const response = await client.send(command); * // { // GetContainerAPIMetadataResult * // metadata: [ // ContainerServiceMetadataEntryList * // { // ContainerServiceMetadataEntry * // "": "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param GetContainerAPIMetadataCommandInput - {@link GetContainerAPIMetadataCommandInput} * @returns {@link GetContainerAPIMetadataCommandOutput} * @see {@link GetContainerAPIMetadataCommandInput} for command's `input` shape. * @see {@link GetContainerAPIMetadataCommandOutput} for command's `response` shape. * @see {@link LightsailClientResolvedConfig | config} for LightsailClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Lightsail throws this exception when the user cannot be authenticated or uses invalid * credentials to access a resource.

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

Lightsail throws this exception when an operation is performed on resources in an opt-in * Region that is currently being set up.

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

A general service exception.

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

Lightsail throws this exception when the user has not been authenticated.

* * @throws {@link LightsailServiceException} *

Base exception class for all service exceptions from Lightsail service.

* * * @public */ export declare class GetContainerAPIMetadataCommand extends GetContainerAPIMetadataCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: GetContainerAPIMetadataResult; }; sdk: { input: GetContainerAPIMetadataCommandInput; output: GetContainerAPIMetadataCommandOutput; }; }; }