import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetServiceInput, GetServiceOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetServiceCommand}. */ export interface GetServiceCommandInput extends GetServiceInput { } /** * @public * * The output of {@link GetServiceCommand}. */ export interface GetServiceCommandOutput extends GetServiceOutput, __MetadataBearer { } declare const GetServiceCommand_base: { new (input: GetServiceCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetServiceCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns information about a service discovered by Application Signals.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApplicationSignalsClient, GetServiceCommand } from "@aws-sdk/client-application-signals"; // ES Modules import * // const { ApplicationSignalsClient, GetServiceCommand } = 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 = { // GetServiceInput * StartTime: new Date("TIMESTAMP"), // required * EndTime: new Date("TIMESTAMP"), // required * KeyAttributes: { // Attributes // required * "": "STRING_VALUE", * }, * }; * const command = new GetServiceCommand(input); * const response = await client.send(command); * // { // GetServiceOutput * // Service: { // Service * // KeyAttributes: { // Attributes // required * // "": "STRING_VALUE", * // }, * // AttributeMaps: [ // AttributeMaps * // { // AttributeMap * // "": "STRING_VALUE", * // }, * // ], * // ServiceGroups: [ // ServiceGroups * // { // ServiceGroup * // GroupName: "STRING_VALUE", // required * // GroupValue: "STRING_VALUE", // required * // GroupSource: "STRING_VALUE", // required * // GroupIdentifier: "STRING_VALUE", // required * // }, * // ], * // 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", * // }, * // ], * // LogGroupReferences: [ // LogGroupReferences * // { * // "": "STRING_VALUE", * // }, * // ], * // }, * // StartTime: new Date("TIMESTAMP"), // required * // EndTime: new Date("TIMESTAMP"), // required * // LogGroupReferences: [ * // { * // "": "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param GetServiceCommandInput - {@link GetServiceCommandInput} * @returns {@link GetServiceCommandOutput} * @see {@link GetServiceCommandInput} for command's `input` shape. * @see {@link GetServiceCommandOutput} 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 GetServiceCommand extends GetServiceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetServiceInput; output: GetServiceOutput; }; sdk: { input: GetServiceCommandInput; output: GetServiceCommandOutput; }; }; }