import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListInstancesRequest, ListInstancesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListInstancesCommand}. */ export interface ListInstancesCommandInput extends ListInstancesRequest { } /** * @public * * The output of {@link ListInstancesCommand}. */ export interface ListInstancesCommandOutput extends ListInstancesResponse, __MetadataBearer { } declare const ListInstancesCommand_base: { new (input: ListInstancesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListInstancesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists the EC2 instances providing user-based subscriptions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { LicenseManagerUserSubscriptionsClient, ListInstancesCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import * // const { LicenseManagerUserSubscriptionsClient, ListInstancesCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import * // import type { LicenseManagerUserSubscriptionsClientConfig } from "@aws-sdk/client-license-manager-user-subscriptions"; * const config = {}; // type is LicenseManagerUserSubscriptionsClientConfig * const client = new LicenseManagerUserSubscriptionsClient(config); * const input = { // ListInstancesRequest * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * Filters: [ // FilterList * { // Filter * Attribute: "STRING_VALUE", * Operation: "STRING_VALUE", * Value: "STRING_VALUE", * }, * ], * }; * const command = new ListInstancesCommand(input); * const response = await client.send(command); * // { // ListInstancesResponse * // InstanceSummaries: [ // InstanceSummaryList * // { // InstanceSummary * // InstanceId: "STRING_VALUE", // required * // Status: "STRING_VALUE", // required * // Products: [ // StringList // required * // "STRING_VALUE", * // ], * // LastStatusCheckDate: "STRING_VALUE", * // StatusMessage: "STRING_VALUE", * // OwnerAccountId: "STRING_VALUE", * // IdentityProvider: { // IdentityProvider Union: only one key present * // ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * // DirectoryId: "STRING_VALUE", * // ActiveDirectorySettings: { // ActiveDirectorySettings * // DomainName: "STRING_VALUE", * // DomainIpv4List: [ // IpV4List * // "STRING_VALUE", * // ], * // DomainIpv6List: [ // IpV6List * // "STRING_VALUE", * // ], * // DomainCredentialsProvider: { // CredentialsProvider Union: only one key present * // SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider * // SecretId: "STRING_VALUE", * // }, * // }, * // DomainNetworkSettings: { // DomainNetworkSettings * // Subnets: [ // Subnets // required * // "STRING_VALUE", * // ], * // }, * // }, * // ActiveDirectoryType: "STRING_VALUE", * // IsSharedActiveDirectory: true || false, * // }, * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListInstancesCommandInput - {@link ListInstancesCommandInput} * @returns {@link ListInstancesCommandOutput} * @see {@link ListInstancesCommandInput} for command's `input` shape. * @see {@link ListInstancesCommandOutput} for command's `response` shape. * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient access to perform this action.

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

The request couldn't be completed because it conflicted with the current state of the resource.

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

An exception occurred with the service.

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

The resource couldn't be found.

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

The request failed because a service quota is exceeded.

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

The request was denied because of request throttling. Retry the request.

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

A parameter is not valid.

* * @throws {@link LicenseManagerUserSubscriptionsServiceException} *

Base exception class for all service exceptions from LicenseManagerUserSubscriptions service.

* * * @public */ export declare class ListInstancesCommand extends ListInstancesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListInstancesRequest; output: ListInstancesResponse; }; sdk: { input: ListInstancesCommandInput; output: ListInstancesCommandOutput; }; }; }