import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetServiceRequest, GetServiceResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetServiceCommand}. */ export interface GetServiceCommandInput extends GetServiceRequest { } /** * @public * * The output of {@link GetServiceCommand}. */ export interface GetServiceCommandOutput extends GetServiceResponse, __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; }; /** *

Gets an Amazon Web Services Migration Hub Refactor Spaces service.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MigrationHubRefactorSpacesClient, GetServiceCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import * // const { MigrationHubRefactorSpacesClient, GetServiceCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import * // import type { MigrationHubRefactorSpacesClientConfig } from "@aws-sdk/client-migration-hub-refactor-spaces"; * const config = {}; // type is MigrationHubRefactorSpacesClientConfig * const client = new MigrationHubRefactorSpacesClient(config); * const input = { // GetServiceRequest * EnvironmentIdentifier: "STRING_VALUE", // required * ApplicationIdentifier: "STRING_VALUE", // required * ServiceIdentifier: "STRING_VALUE", // required * }; * const command = new GetServiceCommand(input); * const response = await client.send(command); * // { // GetServiceResponse * // ServiceId: "STRING_VALUE", * // Name: "STRING_VALUE", * // Arn: "STRING_VALUE", * // OwnerAccountId: "STRING_VALUE", * // CreatedByAccountId: "STRING_VALUE", * // Description: "STRING_VALUE", * // EnvironmentId: "STRING_VALUE", * // ApplicationId: "STRING_VALUE", * // VpcId: "STRING_VALUE", * // EndpointType: "STRING_VALUE", * // UrlEndpoint: { // UrlEndpointConfig * // Url: "STRING_VALUE", * // HealthUrl: "STRING_VALUE", * // }, * // LambdaEndpoint: { // LambdaEndpointConfig * // Arn: "STRING_VALUE", * // }, * // State: "STRING_VALUE", * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, * // Error: { // ErrorResponse * // Code: "STRING_VALUE", * // Message: "STRING_VALUE", * // AccountId: "STRING_VALUE", * // ResourceIdentifier: "STRING_VALUE", * // ResourceType: "STRING_VALUE", * // AdditionalDetails: { // AdditionalDetails * // "": "STRING_VALUE", * // }, * // }, * // LastUpdatedTime: new Date("TIMESTAMP"), * // CreatedTime: new Date("TIMESTAMP"), * // }; * * ``` * * @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 MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The user does not have sufficient access to perform this action.

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

An unexpected error occurred while processing the request.

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

The request references a resource that does not exist.

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

Request was denied because the request was throttled.

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

The input does not satisfy the constraints specified by an Amazon Web Service. *

* * @throws {@link MigrationHubRefactorSpacesServiceException} *

Base exception class for all service exceptions from MigrationHubRefactorSpaces service.

* * * @public */ export declare class GetServiceCommand extends GetServiceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetServiceRequest; output: GetServiceResponse; }; sdk: { input: GetServiceCommandInput; output: GetServiceCommandOutput; }; }; }