Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetServiceCommand

Gets the settings for a specified service.

example

Use a bare-bones client and the command you need to make an API call.

import { ServiceDiscoveryClient, GetServiceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
// const { ServiceDiscoveryClient, GetServiceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
const client = new ServiceDiscoveryClient(config);
const command = new GetServiceCommand(input);
const response = await client.send(command);
see

GetServiceCommandInput for command's input shape.

see

GetServiceCommandOutput for command's response shape.

see

config for ServiceDiscoveryClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: GetServiceCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<GetServiceCommandInput, GetServiceCommandOutput>