@aws-sdk/client-servicediscovery 3.927.0 → 3.929.0
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/dist-cjs/index.js +1126 -1260
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/ServiceDiscoveryClient.js +2 -0
- package/dist-es/commands/CreateHttpNamespaceCommand.js +3 -9
- package/dist-es/commands/CreatePrivateDnsNamespaceCommand.js +3 -9
- package/dist-es/commands/CreatePublicDnsNamespaceCommand.js +3 -9
- package/dist-es/commands/CreateServiceCommand.js +3 -9
- package/dist-es/commands/DeleteNamespaceCommand.js +3 -9
- package/dist-es/commands/DeleteServiceAttributesCommand.js +3 -9
- package/dist-es/commands/DeleteServiceCommand.js +3 -9
- package/dist-es/commands/DeregisterInstanceCommand.js +3 -9
- package/dist-es/commands/DiscoverInstancesCommand.js +3 -9
- package/dist-es/commands/DiscoverInstancesRevisionCommand.js +3 -9
- package/dist-es/commands/GetInstanceCommand.js +3 -9
- package/dist-es/commands/GetInstancesHealthStatusCommand.js +3 -9
- package/dist-es/commands/GetNamespaceCommand.js +3 -9
- package/dist-es/commands/GetOperationCommand.js +3 -9
- package/dist-es/commands/GetServiceAttributesCommand.js +3 -9
- package/dist-es/commands/GetServiceCommand.js +3 -9
- package/dist-es/commands/ListInstancesCommand.js +3 -9
- package/dist-es/commands/ListNamespacesCommand.js +3 -9
- package/dist-es/commands/ListOperationsCommand.js +3 -9
- package/dist-es/commands/ListServicesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/RegisterInstanceCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateHttpNamespaceCommand.js +3 -9
- package/dist-es/commands/UpdateInstanceCustomHealthStatusCommand.js +3 -9
- package/dist-es/commands/UpdatePrivateDnsNamespaceCommand.js +3 -9
- package/dist-es/commands/UpdatePublicDnsNamespaceCommand.js +3 -9
- package/dist-es/commands/UpdateServiceAttributesCommand.js +3 -9
- package/dist-es/commands/UpdateServiceCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1025 -0
- package/dist-types/ServiceDiscoveryClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +161 -0
- package/dist-types/ts3.4/ServiceDiscoveryClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +166 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_1.js +0 -1006
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -272
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -365
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Route53AutoNaming_v20170314", "TagResource", {})
|
|
17
13
|
.n("ServiceDiscoveryClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Route53AutoNaming_v20170314", "UntagResource", {})
|
|
17
13
|
.n("ServiceDiscoveryClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateHttpNamespace } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateHttpNamespaceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Route53AutoNaming_v20170314", "UpdateHttpNamespace", {})
|
|
17
13
|
.n("ServiceDiscoveryClient", "UpdateHttpNamespaceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateHttpNamespaceCommand)
|
|
20
|
-
.de(de_UpdateHttpNamespaceCommand)
|
|
14
|
+
.sc(UpdateHttpNamespace)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateInstanceCustomHealthStatus } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateInstanceCustomHealthStatusCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Route53AutoNaming_v20170314", "UpdateInstanceCustomHealthStatus", {})
|
|
17
13
|
.n("ServiceDiscoveryClient", "UpdateInstanceCustomHealthStatusCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateInstanceCustomHealthStatusCommand)
|
|
20
|
-
.de(de_UpdateInstanceCustomHealthStatusCommand)
|
|
14
|
+
.sc(UpdateInstanceCustomHealthStatus)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdatePrivateDnsNamespace } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdatePrivateDnsNamespaceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Route53AutoNaming_v20170314", "UpdatePrivateDnsNamespace", {})
|
|
17
13
|
.n("ServiceDiscoveryClient", "UpdatePrivateDnsNamespaceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdatePrivateDnsNamespaceCommand)
|
|
20
|
-
.de(de_UpdatePrivateDnsNamespaceCommand)
|
|
14
|
+
.sc(UpdatePrivateDnsNamespace)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdatePublicDnsNamespace } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdatePublicDnsNamespaceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Route53AutoNaming_v20170314", "UpdatePublicDnsNamespace", {})
|
|
17
13
|
.n("ServiceDiscoveryClient", "UpdatePublicDnsNamespaceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdatePublicDnsNamespaceCommand)
|
|
20
|
-
.de(de_UpdatePublicDnsNamespaceCommand)
|
|
14
|
+
.sc(UpdatePublicDnsNamespace)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateServiceAttributes } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateServiceAttributesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Route53AutoNaming_v20170314", "UpdateServiceAttributes", {})
|
|
17
13
|
.n("ServiceDiscoveryClient", "UpdateServiceAttributesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateServiceAttributesCommand)
|
|
20
|
-
.de(de_UpdateServiceAttributesCommand)
|
|
14
|
+
.sc(UpdateServiceAttributes)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateService } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateServiceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Route53AutoNaming_v20170314", "UpdateService", {})
|
|
17
13
|
.n("ServiceDiscoveryClient", "UpdateServiceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateServiceCommand)
|
|
20
|
-
.de(de_UpdateServiceCommand)
|
|
14
|
+
.sc(UpdateService)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.servicediscovery",
|
|
29
|
+
serviceTarget: "Route53AutoNaming_v20170314",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "ServiceDiscovery",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|