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

Returns the list of components that can be filtered by name, or by using the listed * filters to streamline results. Newly created components can take up to * two minutes to appear in the ListComponents API Results.

* *

The semantic version has four nodes: ../. * You can assign values for the first three, and can filter on all of them.

*

* Filtering: With semantic versioning, you have the flexibility to use wildcards (x) * to specify the most recent versions or nodes when selecting the base image or components for your * recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be * wildcards.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ImagebuilderClient, ListComponentsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import * // const { ImagebuilderClient, ListComponentsCommand } = 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 = { // ListComponentsRequest * owner: "Self" || "Shared" || "Amazon" || "ThirdParty" || "AWSMarketplace", * filters: [ // FilterList * { // Filter * name: "STRING_VALUE", * values: [ // FilterValues * "STRING_VALUE", * ], * }, * ], * byName: true || false, * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListComponentsCommand(input); * const response = await client.send(command); * // { // ListComponentsResponse * // requestId: "STRING_VALUE", * // componentVersionList: [ // ComponentVersionList * // { // ComponentVersion * // arn: "STRING_VALUE", * // name: "STRING_VALUE", * // version: "STRING_VALUE", * // description: "STRING_VALUE", * // platform: "Windows" || "Linux" || "macOS", * // supportedOsVersions: [ // OsVersionList * // "STRING_VALUE", * // ], * // type: "BUILD" || "TEST", * // owner: "STRING_VALUE", * // dateCreated: "STRING_VALUE", * // status: "DEPRECATED" || "DISABLED" || "ACTIVE", * // productCodes: [ // ProductCodeList * // { // ProductCodeListItem * // productCodeId: "STRING_VALUE", // required * // productCodeType: "marketplace", // required * // }, * // ], * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListComponentsCommandInput - {@link ListComponentsCommandInput} * @returns {@link ListComponentsCommandOutput} * @see {@link ListComponentsCommandInput} for command's `input` shape. * @see {@link ListComponentsCommandOutput} 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 InvalidPaginationTokenException} (client fault) *

You have provided an invalid pagination token in your request.

* * @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 ListComponentsCommand extends ListComponentsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListComponentsRequest; output: ListComponentsResponse; }; sdk: { input: ListComponentsCommandInput; output: ListComponentsCommandOutput; }; }; }