import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListServicesInput, ListServicesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListServicesCommand}. */ export interface ListServicesCommandInput extends ListServicesInput { } /** * @public * * The output of {@link ListServicesCommand}. */ export interface ListServicesCommandOutput extends ListServicesOutput, __MetadataBearer { } declare const ListServicesCommand_base: { new (input: ListServicesCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListServicesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of services that have been discovered by Application Signals. A service represents a minimum logical and transactional unit that completes a business function. Services are discovered through Application Signals instrumentation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApplicationSignalsClient, ListServicesCommand } from "@aws-sdk/client-application-signals"; // ES Modules import * // const { ApplicationSignalsClient, ListServicesCommand } = require("@aws-sdk/client-application-signals"); // CommonJS import * // import type { ApplicationSignalsClientConfig } from "@aws-sdk/client-application-signals"; * const config = {}; // type is ApplicationSignalsClientConfig * const client = new ApplicationSignalsClient(config); * const input = { // ListServicesInput * StartTime: new Date("TIMESTAMP"), // required * EndTime: new Date("TIMESTAMP"), // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * IncludeLinkedAccounts: true || false, * AwsAccountId: "STRING_VALUE", * }; * const command = new ListServicesCommand(input); * const response = await client.send(command); * // { // ListServicesOutput * // StartTime: new Date("TIMESTAMP"), // required * // EndTime: new Date("TIMESTAMP"), // required * // ServiceSummaries: [ // ServiceSummaries // required * // { // ServiceSummary * // KeyAttributes: { // Attributes // required * // "": "STRING_VALUE", * // }, * // AttributeMaps: [ // AttributeMaps * // { // AttributeMap * // "": "STRING_VALUE", * // }, * // ], * // MetricReferences: [ // MetricReferences // required * // { // MetricReference * // Namespace: "STRING_VALUE", // required * // MetricType: "STRING_VALUE", // required * // Dimensions: [ // Dimensions * // { // Dimension * // Name: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // MetricName: "STRING_VALUE", // required * // AccountId: "STRING_VALUE", * // }, * // ], * // ServiceGroups: [ // ServiceGroups * // { // ServiceGroup * // GroupName: "STRING_VALUE", // required * // GroupValue: "STRING_VALUE", // required * // GroupSource: "STRING_VALUE", // required * // GroupIdentifier: "STRING_VALUE", // required * // }, * // ], * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListServicesCommandInput - {@link ListServicesCommandInput} * @returns {@link ListServicesCommandOutput} * @see {@link ListServicesCommandInput} for command's `input` shape. * @see {@link ListServicesCommandOutput} for command's `response` shape. * @see {@link ApplicationSignalsClientResolvedConfig | config} for ApplicationSignalsClient's `config` shape. * * @throws {@link ThrottlingException} (client fault) *

The request was throttled because of quota limits.

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

The resource is not valid.

* * @throws {@link ApplicationSignalsServiceException} *

Base exception class for all service exceptions from ApplicationSignals service.

* * * @public */ export declare class ListServicesCommand extends ListServicesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListServicesInput; output: ListServicesOutput; }; sdk: { input: ListServicesCommandInput; output: ListServicesCommandOutput; }; }; }