@aws-sdk/client-servicediscovery 3.36.0 → 3.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/ServiceDiscovery.js +0 -8
- package/dist-cjs/ServiceDiscoveryClient.js +0 -13
- package/dist-cjs/commands/CreateHttpNamespaceCommand.js +0 -28
- package/dist-cjs/commands/CreatePrivateDnsNamespaceCommand.js +0 -30
- package/dist-cjs/commands/CreatePublicDnsNamespaceCommand.js +0 -29
- package/dist-cjs/commands/CreateServiceCommand.js +0 -64
- package/dist-cjs/commands/DeleteNamespaceCommand.js +0 -25
- package/dist-cjs/commands/DeleteServiceCommand.js +0 -25
- package/dist-cjs/commands/DeregisterInstanceCommand.js +0 -25
- package/dist-cjs/commands/DiscoverInstancesCommand.js +0 -26
- package/dist-cjs/commands/GetInstanceCommand.js +0 -24
- package/dist-cjs/commands/GetInstancesHealthStatusCommand.js +0 -29
- package/dist-cjs/commands/GetNamespaceCommand.js +0 -24
- package/dist-cjs/commands/GetOperationCommand.js +0 -28
- package/dist-cjs/commands/GetServiceCommand.js +0 -24
- package/dist-cjs/commands/ListInstancesCommand.js +0 -24
- package/dist-cjs/commands/ListNamespacesCommand.js +0 -24
- package/dist-cjs/commands/ListOperationsCommand.js +0 -24
- package/dist-cjs/commands/ListServicesCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/RegisterInstanceCommand.js +0 -63
- package/dist-cjs/commands/TagResourceCommand.js +0 -24
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateHttpNamespaceCommand.js +0 -25
- package/dist-cjs/commands/UpdateInstanceCustomHealthStatusCommand.js +0 -28
- package/dist-cjs/commands/UpdatePrivateDnsNamespaceCommand.js +0 -25
- package/dist-cjs/commands/UpdatePublicDnsNamespaceCommand.js +0 -25
- package/dist-cjs/commands/UpdateServiceCommand.js +0 -48
- package/dist-cjs/models/models_0.js +0 -300
- package/dist-cjs/pagination/GetInstancesHealthStatusPaginator.js +0 -10
- package/dist-cjs/pagination/ListInstancesPaginator.js +0 -10
- package/dist-cjs/pagination/ListNamespacesPaginator.js +0 -10
- package/dist-cjs/pagination/ListOperationsPaginator.js +0 -10
- package/dist-cjs/pagination/ListServicesPaginator.js +0 -10
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-types/ts3.4/ServiceDiscovery.d.ts +27 -225
- package/dist-types/ts3.4/ServiceDiscoveryClient.d.ts +24 -94
- package/dist-types/ts3.4/commands/CreateHttpNamespaceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreatePrivateDnsNamespaceCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CreatePublicDnsNamespaceCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +2 -60
- package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeregisterInstanceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DiscoverInstancesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetInstancesHealthStatusCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetOperationCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListOperationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RegisterInstanceCommand.d.ts +2 -59
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateHttpNamespaceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UpdatePrivateDnsNamespaceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdatePublicDnsNamespaceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +2 -44
- package/dist-types/ts3.4/models/models_0.d.ts +363 -2229
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +3 -3
|
@@ -35,129 +35,59 @@ import { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "./command
|
|
|
35
35
|
export declare type ServiceInputTypes = CreateHttpNamespaceCommandInput | CreatePrivateDnsNamespaceCommandInput | CreatePublicDnsNamespaceCommandInput | CreateServiceCommandInput | DeleteNamespaceCommandInput | DeleteServiceCommandInput | DeregisterInstanceCommandInput | DiscoverInstancesCommandInput | GetInstanceCommandInput | GetInstancesHealthStatusCommandInput | GetNamespaceCommandInput | GetOperationCommandInput | GetServiceCommandInput | ListInstancesCommandInput | ListNamespacesCommandInput | ListOperationsCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | RegisterInstanceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateHttpNamespaceCommandInput | UpdateInstanceCustomHealthStatusCommandInput | UpdatePrivateDnsNamespaceCommandInput | UpdatePublicDnsNamespaceCommandInput | UpdateServiceCommandInput;
|
|
36
36
|
export declare type ServiceOutputTypes = CreateHttpNamespaceCommandOutput | CreatePrivateDnsNamespaceCommandOutput | CreatePublicDnsNamespaceCommandOutput | CreateServiceCommandOutput | DeleteNamespaceCommandOutput | DeleteServiceCommandOutput | DeregisterInstanceCommandOutput | DiscoverInstancesCommandOutput | GetInstanceCommandOutput | GetInstancesHealthStatusCommandOutput | GetNamespaceCommandOutput | GetOperationCommandOutput | GetServiceCommandOutput | ListInstancesCommandOutput | ListNamespacesCommandOutput | ListOperationsCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | RegisterInstanceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateHttpNamespaceCommandOutput | UpdateInstanceCustomHealthStatusCommandOutput | UpdatePrivateDnsNamespaceCommandOutput | UpdatePublicDnsNamespaceCommandOutput | UpdateServiceCommandOutput;
|
|
37
37
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
38
|
-
|
|
39
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
40
|
-
*/
|
|
38
|
+
|
|
41
39
|
requestHandler?: __HttpHandler;
|
|
42
|
-
|
|
43
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
44
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
40
|
+
|
|
47
41
|
sha256?: __HashConstructor;
|
|
48
|
-
|
|
49
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
42
|
+
|
|
52
43
|
urlParser?: __UrlParser;
|
|
53
|
-
|
|
54
|
-
* A function that can calculate the length of a request body.
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
44
|
+
|
|
57
45
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
58
|
-
|
|
59
|
-
* A function that converts a stream into an array of bytes.
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
46
|
+
|
|
62
47
|
streamCollector?: __StreamCollector;
|
|
63
|
-
|
|
64
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
48
|
+
|
|
67
49
|
base64Decoder?: __Decoder;
|
|
68
|
-
|
|
69
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
50
|
+
|
|
72
51
|
base64Encoder?: __Encoder;
|
|
73
|
-
|
|
74
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
52
|
+
|
|
77
53
|
utf8Decoder?: __Decoder;
|
|
78
|
-
|
|
79
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
54
|
+
|
|
82
55
|
utf8Encoder?: __Encoder;
|
|
83
|
-
|
|
84
|
-
* The runtime environment.
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
56
|
+
|
|
87
57
|
runtime?: string;
|
|
88
|
-
|
|
89
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
90
|
-
* trait of an operation.
|
|
91
|
-
*/
|
|
58
|
+
|
|
92
59
|
disableHostPrefix?: boolean;
|
|
93
|
-
|
|
94
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
95
|
-
*/
|
|
60
|
+
|
|
96
61
|
maxAttempts?: number | __Provider<number>;
|
|
97
|
-
|
|
98
|
-
* Specifies which retry algorithm to use.
|
|
99
|
-
*/
|
|
62
|
+
|
|
100
63
|
retryMode?: string | __Provider<string>;
|
|
101
|
-
|
|
102
|
-
* Optional logger for logging debug/info/warn/error.
|
|
103
|
-
*/
|
|
64
|
+
|
|
104
65
|
logger?: __Logger;
|
|
105
|
-
|
|
106
|
-
* Unique service identifier.
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
66
|
+
|
|
109
67
|
serviceId?: string;
|
|
110
|
-
|
|
111
|
-
* The AWS region to which this client will send requests
|
|
112
|
-
*/
|
|
68
|
+
|
|
113
69
|
region?: string | __Provider<string>;
|
|
114
|
-
|
|
115
|
-
* Default credentials provider; Not available in browser runtime.
|
|
116
|
-
* @internal
|
|
117
|
-
*/
|
|
70
|
+
|
|
118
71
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
119
|
-
|
|
120
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
72
|
+
|
|
123
73
|
regionInfoProvider?: RegionInfoProvider;
|
|
124
|
-
|
|
125
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
74
|
+
|
|
128
75
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
129
76
|
}
|
|
130
77
|
declare type ServiceDiscoveryClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
131
|
-
|
|
132
|
-
* The configuration interface of ServiceDiscoveryClient class constructor that set the region, credentials and other options.
|
|
133
|
-
*/
|
|
78
|
+
|
|
134
79
|
export interface ServiceDiscoveryClientConfig extends ServiceDiscoveryClientConfigType {
|
|
135
80
|
}
|
|
136
81
|
declare type ServiceDiscoveryClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
137
|
-
|
|
138
|
-
* The resolved configuration interface of ServiceDiscoveryClient class. This is resolved and normalized from the {@link ServiceDiscoveryClientConfig | constructor configuration interface}.
|
|
139
|
-
*/
|
|
82
|
+
|
|
140
83
|
export interface ServiceDiscoveryClientResolvedConfig extends ServiceDiscoveryClientResolvedConfigType {
|
|
141
84
|
}
|
|
142
|
-
|
|
143
|
-
* <fullname>Cloud Map</fullname>
|
|
144
|
-
* <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your microservice
|
|
145
|
-
* applications run in. When an instance becomes available, you can call the Cloud Map API to register the instance
|
|
146
|
-
* with Cloud Map. For public or private DNS namespaces, Cloud Map automatically creates DNS records and an optional
|
|
147
|
-
* health check. Clients that submit public or private DNS queries, or HTTP requests, for the service receive an answer
|
|
148
|
-
* that contains up to eight healthy records. </p>
|
|
149
|
-
*/
|
|
85
|
+
|
|
150
86
|
export declare class ServiceDiscoveryClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ServiceDiscoveryClientResolvedConfig> {
|
|
151
|
-
|
|
152
|
-
* The resolved configuration of ServiceDiscoveryClient class. This is resolved and normalized from the {@link ServiceDiscoveryClientConfig | constructor configuration interface}.
|
|
153
|
-
*/
|
|
87
|
+
|
|
154
88
|
readonly config: ServiceDiscoveryClientResolvedConfig;
|
|
155
89
|
constructor(configuration: ServiceDiscoveryClientConfig);
|
|
156
|
-
|
|
157
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
158
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
159
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
160
|
-
*/
|
|
90
|
+
|
|
161
91
|
destroy(): void;
|
|
162
92
|
}
|
|
163
93
|
export {};
|
|
@@ -6,33 +6,11 @@ export interface CreateHttpNamespaceCommandInput extends CreateHttpNamespaceRequ
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateHttpNamespaceCommandOutput extends CreateHttpNamespaceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates an HTTP namespace. Service instances registered using an HTTP namespace can be discovered using a
|
|
11
|
-
* <code>DiscoverInstances</code> request but can't be discovered using DNS.</p>
|
|
12
|
-
* <p>For the current quota on the number of namespaces that you can create using the same account,
|
|
13
|
-
* see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
|
|
14
|
-
* <i>Cloud Map Developer Guide</i>.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { ServiceDiscoveryClient, CreateHttpNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
19
|
-
* // const { ServiceDiscoveryClient, CreateHttpNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
20
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
21
|
-
* const command = new CreateHttpNamespaceCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link CreateHttpNamespaceCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link CreateHttpNamespaceCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
9
|
+
|
|
30
10
|
export declare class CreateHttpNamespaceCommand extends $Command<CreateHttpNamespaceCommandInput, CreateHttpNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
31
11
|
readonly input: CreateHttpNamespaceCommandInput;
|
|
32
12
|
constructor(input: CreateHttpNamespaceCommandInput);
|
|
33
|
-
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
13
|
+
|
|
36
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateHttpNamespaceCommandInput, CreateHttpNamespaceCommandOutput>;
|
|
37
15
|
private serialize;
|
|
38
16
|
private deserialize;
|
|
@@ -6,35 +6,11 @@ export interface CreatePrivateDnsNamespaceCommandInput extends CreatePrivateDnsN
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreatePrivateDnsNamespaceCommandOutput extends CreatePrivateDnsNamespaceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a private namespace based on DNS, which is visible only inside a specified Amazon VPC. The namespace
|
|
11
|
-
* defines your service naming scheme. For example, if you name your namespace <code>example.com</code> and name your
|
|
12
|
-
* service <code>backend</code>, the resulting DNS name for the service is <code>backend.example.com</code>. Service
|
|
13
|
-
* instances that are registered using a private DNS namespace can be discovered using either a
|
|
14
|
-
* <code>DiscoverInstances</code> request or using DNS. For the current quota on the number of namespaces that you can
|
|
15
|
-
* create using the same account, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
|
|
16
|
-
* <i>Cloud Map Developer Guide</i>.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { ServiceDiscoveryClient, CreatePrivateDnsNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
21
|
-
* // const { ServiceDiscoveryClient, CreatePrivateDnsNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
22
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
23
|
-
* const command = new CreatePrivateDnsNamespaceCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link CreatePrivateDnsNamespaceCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link CreatePrivateDnsNamespaceCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
9
|
+
|
|
32
10
|
export declare class CreatePrivateDnsNamespaceCommand extends $Command<CreatePrivateDnsNamespaceCommandInput, CreatePrivateDnsNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
33
11
|
readonly input: CreatePrivateDnsNamespaceCommandInput;
|
|
34
12
|
constructor(input: CreatePrivateDnsNamespaceCommandInput);
|
|
35
|
-
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
13
|
+
|
|
38
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePrivateDnsNamespaceCommandInput, CreatePrivateDnsNamespaceCommandOutput>;
|
|
39
15
|
private serialize;
|
|
40
16
|
private deserialize;
|
|
@@ -6,34 +6,11 @@ export interface CreatePublicDnsNamespaceCommandInput extends CreatePublicDnsNam
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreatePublicDnsNamespaceCommandOutput extends CreatePublicDnsNamespaceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a public namespace based on DNS, which is visible on the internet. The namespace defines your service
|
|
11
|
-
* naming scheme. For example, if you name your namespace <code>example.com</code> and name your service
|
|
12
|
-
* <code>backend</code>, the resulting DNS name for the service is <code>backend.example.com</code>. You can discover
|
|
13
|
-
* instances that were registered with a public DNS namespace by using either a <code>DiscoverInstances</code> request
|
|
14
|
-
* or using DNS. For the current quota on the number of namespaces that you can create using the same account, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map
|
|
15
|
-
* quotas</a> in the <i>Cloud Map Developer Guide</i>.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { ServiceDiscoveryClient, CreatePublicDnsNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
20
|
-
* // const { ServiceDiscoveryClient, CreatePublicDnsNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
21
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
22
|
-
* const command = new CreatePublicDnsNamespaceCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link CreatePublicDnsNamespaceCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link CreatePublicDnsNamespaceCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
9
|
+
|
|
31
10
|
export declare class CreatePublicDnsNamespaceCommand extends $Command<CreatePublicDnsNamespaceCommandInput, CreatePublicDnsNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
32
11
|
readonly input: CreatePublicDnsNamespaceCommandInput;
|
|
33
12
|
constructor(input: CreatePublicDnsNamespaceCommandInput);
|
|
34
|
-
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
13
|
+
|
|
37
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePublicDnsNamespaceCommandInput, CreatePublicDnsNamespaceCommandOutput>;
|
|
38
15
|
private serialize;
|
|
39
16
|
private deserialize;
|
|
@@ -6,69 +6,11 @@ export interface CreateServiceCommandInput extends CreateServiceRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateServiceCommandOutput extends CreateServiceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a service. This action defines the configuration for the following entities:</p>
|
|
11
|
-
* <ul>
|
|
12
|
-
* <li>
|
|
13
|
-
* <p>For public and private DNS namespaces, one of the following combinations of DNS records in Amazon Route 53:</p>
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>
|
|
17
|
-
* <code>A</code>
|
|
18
|
-
* </p>
|
|
19
|
-
* </li>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>
|
|
22
|
-
* <code>AAAA</code>
|
|
23
|
-
* </p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>
|
|
27
|
-
* <code>A</code> and <code>AAAA</code>
|
|
28
|
-
* </p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>
|
|
32
|
-
* <code>SRV</code>
|
|
33
|
-
* </p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>
|
|
37
|
-
* <code>CNAME</code>
|
|
38
|
-
* </p>
|
|
39
|
-
* </li>
|
|
40
|
-
* </ul>
|
|
41
|
-
* </li>
|
|
42
|
-
* <li>
|
|
43
|
-
* <p>Optionally, a health check</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* </ul>
|
|
46
|
-
* <p>After you create the service, you can submit a <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html">RegisterInstance</a> request, and Cloud Map uses the
|
|
47
|
-
* values in the configuration to create the specified entities.</p>
|
|
48
|
-
* <p>For the current quota on the number of instances that you can register using the same namespace and using the
|
|
49
|
-
* same service, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map
|
|
50
|
-
* quotas</a> in the <i>Cloud Map Developer Guide</i>.</p>
|
|
51
|
-
* @example
|
|
52
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
53
|
-
* ```javascript
|
|
54
|
-
* import { ServiceDiscoveryClient, CreateServiceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
55
|
-
* // const { ServiceDiscoveryClient, CreateServiceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
56
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
57
|
-
* const command = new CreateServiceCommand(input);
|
|
58
|
-
* const response = await client.send(command);
|
|
59
|
-
* ```
|
|
60
|
-
*
|
|
61
|
-
* @see {@link CreateServiceCommandInput} for command's `input` shape.
|
|
62
|
-
* @see {@link CreateServiceCommandOutput} for command's `response` shape.
|
|
63
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
9
|
+
|
|
66
10
|
export declare class CreateServiceCommand extends $Command<CreateServiceCommandInput, CreateServiceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
67
11
|
readonly input: CreateServiceCommandInput;
|
|
68
12
|
constructor(input: CreateServiceCommandInput);
|
|
69
|
-
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
13
|
+
|
|
72
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateServiceCommandInput, CreateServiceCommandOutput>;
|
|
73
15
|
private serialize;
|
|
74
16
|
private deserialize;
|
|
@@ -6,30 +6,11 @@ export interface DeleteNamespaceCommandInput extends DeleteNamespaceRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteNamespaceCommandOutput extends DeleteNamespaceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes a namespace from the current account. If the namespace still contains one or more services, the request
|
|
11
|
-
* fails.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { ServiceDiscoveryClient, DeleteNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
16
|
-
* // const { ServiceDiscoveryClient, DeleteNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
17
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
18
|
-
* const command = new DeleteNamespaceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteNamespaceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteNamespaceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
9
|
+
|
|
27
10
|
export declare class DeleteNamespaceCommand extends $Command<DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
28
11
|
readonly input: DeleteNamespaceCommandInput;
|
|
29
12
|
constructor(input: DeleteNamespaceCommandInput);
|
|
30
|
-
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
13
|
+
|
|
33
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput>;
|
|
34
15
|
private serialize;
|
|
35
16
|
private deserialize;
|
|
@@ -6,30 +6,11 @@ export interface DeleteServiceCommandInput extends DeleteServiceRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes a specified service. If the service still contains one or more registered instances, the request
|
|
11
|
-
* fails.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { ServiceDiscoveryClient, DeleteServiceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
16
|
-
* // const { ServiceDiscoveryClient, DeleteServiceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
17
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
18
|
-
* const command = new DeleteServiceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteServiceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteServiceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
9
|
+
|
|
27
10
|
export declare class DeleteServiceCommand extends $Command<DeleteServiceCommandInput, DeleteServiceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
28
11
|
readonly input: DeleteServiceCommandInput;
|
|
29
12
|
constructor(input: DeleteServiceCommandInput);
|
|
30
|
-
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
13
|
+
|
|
33
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteServiceCommandInput, DeleteServiceCommandOutput>;
|
|
34
15
|
private serialize;
|
|
35
16
|
private deserialize;
|
|
@@ -6,30 +6,11 @@ export interface DeregisterInstanceCommandInput extends DeregisterInstanceReques
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeregisterInstanceCommandOutput extends DeregisterInstanceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes the Amazon Route 53 DNS records and health check, if any, that Cloud Map created for the specified
|
|
11
|
-
* instance.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { ServiceDiscoveryClient, DeregisterInstanceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
16
|
-
* // const { ServiceDiscoveryClient, DeregisterInstanceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
17
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
18
|
-
* const command = new DeregisterInstanceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeregisterInstanceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeregisterInstanceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
9
|
+
|
|
27
10
|
export declare class DeregisterInstanceCommand extends $Command<DeregisterInstanceCommandInput, DeregisterInstanceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
28
11
|
readonly input: DeregisterInstanceCommandInput;
|
|
29
12
|
constructor(input: DeregisterInstanceCommandInput);
|
|
30
|
-
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
13
|
+
|
|
33
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeregisterInstanceCommandInput, DeregisterInstanceCommandOutput>;
|
|
34
15
|
private serialize;
|
|
35
16
|
private deserialize;
|
|
@@ -6,31 +6,11 @@ export interface DiscoverInstancesCommandInput extends DiscoverInstancesRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface DiscoverInstancesCommandOutput extends DiscoverInstancesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Discovers registered instances for a specified namespace and service. You can use <code>DiscoverInstances</code>
|
|
11
|
-
* to discover instances for any type of namespace. For public and private DNS namespaces, you can also use DNS queries
|
|
12
|
-
* to discover instances.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ServiceDiscoveryClient, DiscoverInstancesCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
17
|
-
* // const { ServiceDiscoveryClient, DiscoverInstancesCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
18
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
19
|
-
* const command = new DiscoverInstancesCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DiscoverInstancesCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DiscoverInstancesCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
9
|
+
|
|
28
10
|
export declare class DiscoverInstancesCommand extends $Command<DiscoverInstancesCommandInput, DiscoverInstancesCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
29
11
|
readonly input: DiscoverInstancesCommandInput;
|
|
30
12
|
constructor(input: DiscoverInstancesCommandInput);
|
|
31
|
-
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
13
|
+
|
|
34
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DiscoverInstancesCommandInput, DiscoverInstancesCommandOutput>;
|
|
35
15
|
private serialize;
|
|
36
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface GetInstanceCommandInput extends GetInstanceRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetInstanceCommandOutput extends GetInstanceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets information about a specified instance.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ServiceDiscoveryClient, GetInstanceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
15
|
-
* // const { ServiceDiscoveryClient, GetInstanceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
16
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
17
|
-
* const command = new GetInstanceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetInstanceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetInstanceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class GetInstanceCommand extends $Command<GetInstanceCommandInput, GetInstanceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
27
11
|
readonly input: GetInstanceCommandInput;
|
|
28
12
|
constructor(input: GetInstanceCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetInstanceCommandInput, GetInstanceCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,34 +6,11 @@ export interface GetInstancesHealthStatusCommandInput extends GetInstancesHealth
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetInstancesHealthStatusCommandOutput extends GetInstancesHealthStatusResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets the current health status (<code>Healthy</code>, <code>Unhealthy</code>, or <code>Unknown</code>) of one or
|
|
11
|
-
* more instances that are associated with a specified service.</p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>There's a brief delay between when you register an instance and when the health status for the instance is
|
|
14
|
-
* available. </p>
|
|
15
|
-
* </note>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { ServiceDiscoveryClient, GetInstancesHealthStatusCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
20
|
-
* // const { ServiceDiscoveryClient, GetInstancesHealthStatusCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
21
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
22
|
-
* const command = new GetInstancesHealthStatusCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link GetInstancesHealthStatusCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link GetInstancesHealthStatusCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
9
|
+
|
|
31
10
|
export declare class GetInstancesHealthStatusCommand extends $Command<GetInstancesHealthStatusCommandInput, GetInstancesHealthStatusCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
32
11
|
readonly input: GetInstancesHealthStatusCommandInput;
|
|
33
12
|
constructor(input: GetInstancesHealthStatusCommandInput);
|
|
34
|
-
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
13
|
+
|
|
37
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetInstancesHealthStatusCommandInput, GetInstancesHealthStatusCommandOutput>;
|
|
38
15
|
private serialize;
|
|
39
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface GetNamespaceCommandInput extends GetNamespaceRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetNamespaceCommandOutput extends GetNamespaceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets information about a namespace.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ServiceDiscoveryClient, GetNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
15
|
-
* // const { ServiceDiscoveryClient, GetNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
16
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
17
|
-
* const command = new GetNamespaceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetNamespaceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetNamespaceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class GetNamespaceCommand extends $Command<GetNamespaceCommandInput, GetNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
27
11
|
readonly input: GetNamespaceCommandInput;
|
|
28
12
|
constructor(input: GetNamespaceCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetNamespaceCommandInput, GetNamespaceCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,33 +6,11 @@ export interface GetOperationCommandInput extends GetOperationRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetOperationCommandOutput extends GetOperationResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets information about any operation that returns an operation ID in the response, such as a
|
|
11
|
-
* <code>CreateService</code> request.</p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>To get a list of operations that match specified criteria, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_ListOperations.html">ListOperations</a>.</p>
|
|
14
|
-
* </note>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { ServiceDiscoveryClient, GetOperationCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
19
|
-
* // const { ServiceDiscoveryClient, GetOperationCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
20
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
21
|
-
* const command = new GetOperationCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link GetOperationCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link GetOperationCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
9
|
+
|
|
30
10
|
export declare class GetOperationCommand extends $Command<GetOperationCommandInput, GetOperationCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
31
11
|
readonly input: GetOperationCommandInput;
|
|
32
12
|
constructor(input: GetOperationCommandInput);
|
|
33
|
-
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
13
|
+
|
|
36
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetOperationCommandInput, GetOperationCommandOutput>;
|
|
37
15
|
private serialize;
|
|
38
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface GetServiceCommandInput extends GetServiceRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetServiceCommandOutput extends GetServiceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets the settings for a specified service.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ServiceDiscoveryClient, GetServiceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
15
|
-
* // const { ServiceDiscoveryClient, GetServiceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
16
|
-
* const client = new ServiceDiscoveryClient(config);
|
|
17
|
-
* const command = new GetServiceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetServiceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetServiceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class GetServiceCommand extends $Command<GetServiceCommandInput, GetServiceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
27
11
|
readonly input: GetServiceCommandInput;
|
|
28
12
|
constructor(input: GetServiceCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetServiceCommandInput, GetServiceCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|