import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListServiceStatesInput, ListServiceStatesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListServiceStatesCommand}. */ export interface ListServiceStatesCommandInput extends ListServiceStatesInput { } /** * @public * * The output of {@link ListServiceStatesCommand}. */ export interface ListServiceStatesCommandOutput extends ListServiceStatesOutput, __MetadataBearer { } declare const ListServiceStatesCommand_base: { new (input: ListServiceStatesCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListServiceStatesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns information about the last deployment and other change states of services. This API provides visibility into recent changes that may have affected service performance, helping with troubleshooting and change correlation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApplicationSignalsClient, ListServiceStatesCommand } from "@aws-sdk/client-application-signals"; // ES Modules import * // const { ApplicationSignalsClient, ListServiceStatesCommand } = 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 = { // ListServiceStatesInput * StartTime: new Date("TIMESTAMP"), // required * EndTime: new Date("TIMESTAMP"), // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * IncludeLinkedAccounts: true || false, * AwsAccountId: "STRING_VALUE", * AttributeFilters: [ // AttributeFilters * { // AttributeFilter * AttributeFilterName: "STRING_VALUE", // required * AttributeFilterValues: [ // AttributeFilterValues // required * "STRING_VALUE", * ], * }, * ], * }; * const command = new ListServiceStatesCommand(input); * const response = await client.send(command); * // { // ListServiceStatesOutput * // StartTime: new Date("TIMESTAMP"), // required * // EndTime: new Date("TIMESTAMP"), // required * // ServiceStates: [ // ServiceStates // required * // { // ServiceState * // AttributeFilters: [ // AttributeFilters * // { // AttributeFilter * // AttributeFilterName: "STRING_VALUE", // required * // AttributeFilterValues: [ // AttributeFilterValues // required * // "STRING_VALUE", * // ], * // }, * // ], * // Service: { // Attributes // required * // "": "STRING_VALUE", * // }, * // LatestChangeEvents: [ // LatestChangeEvents // required * // { // ChangeEvent * // Timestamp: new Date("TIMESTAMP"), // required * // AccountId: "STRING_VALUE", // required * // Region: "STRING_VALUE", // required * // Entity: { // required * // "": "STRING_VALUE", * // }, * // ChangeEventType: "DEPLOYMENT" || "CONFIGURATION", // required * // EventId: "STRING_VALUE", // required * // UserName: "STRING_VALUE", * // EventName: "STRING_VALUE", * // }, * // ], * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListServiceStatesCommandInput - {@link ListServiceStatesCommandInput} * @returns {@link ListServiceStatesCommandOutput} * @see {@link ListServiceStatesCommandInput} for command's `input` shape. * @see {@link ListServiceStatesCommandOutput} 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 ListServiceStatesCommand extends ListServiceStatesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListServiceStatesInput; output: ListServiceStatesOutput; }; sdk: { input: ListServiceStatesCommandInput; output: ListServiceStatesCommandOutput; }; }; }