@aws-sdk/client-servicediscovery 3.948.0 → 3.953.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.
Files changed (50) hide show
  1. package/dist-cjs/index.js +481 -312
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/CreateHttpNamespaceCommand.js +2 -2
  4. package/dist-es/commands/CreatePrivateDnsNamespaceCommand.js +2 -2
  5. package/dist-es/commands/CreatePublicDnsNamespaceCommand.js +2 -2
  6. package/dist-es/commands/CreateServiceCommand.js +2 -2
  7. package/dist-es/commands/DeleteNamespaceCommand.js +2 -2
  8. package/dist-es/commands/DeleteServiceAttributesCommand.js +2 -2
  9. package/dist-es/commands/DeleteServiceCommand.js +2 -2
  10. package/dist-es/commands/DeregisterInstanceCommand.js +2 -2
  11. package/dist-es/commands/DiscoverInstancesCommand.js +2 -2
  12. package/dist-es/commands/DiscoverInstancesRevisionCommand.js +2 -2
  13. package/dist-es/commands/GetInstanceCommand.js +2 -2
  14. package/dist-es/commands/GetInstancesHealthStatusCommand.js +2 -2
  15. package/dist-es/commands/GetNamespaceCommand.js +2 -2
  16. package/dist-es/commands/GetOperationCommand.js +2 -2
  17. package/dist-es/commands/GetServiceAttributesCommand.js +2 -2
  18. package/dist-es/commands/GetServiceCommand.js +2 -2
  19. package/dist-es/commands/ListInstancesCommand.js +2 -2
  20. package/dist-es/commands/ListNamespacesCommand.js +2 -2
  21. package/dist-es/commands/ListOperationsCommand.js +2 -2
  22. package/dist-es/commands/ListServicesCommand.js +2 -2
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  24. package/dist-es/commands/RegisterInstanceCommand.js +2 -2
  25. package/dist-es/commands/TagResourceCommand.js +2 -2
  26. package/dist-es/commands/UntagResourceCommand.js +2 -2
  27. package/dist-es/commands/UpdateHttpNamespaceCommand.js +2 -2
  28. package/dist-es/commands/UpdateInstanceCustomHealthStatusCommand.js +2 -2
  29. package/dist-es/commands/UpdatePrivateDnsNamespaceCommand.js +2 -2
  30. package/dist-es/commands/UpdatePublicDnsNamespaceCommand.js +2 -2
  31. package/dist-es/commands/UpdateServiceAttributesCommand.js +2 -2
  32. package/dist-es/commands/UpdateServiceCommand.js +2 -2
  33. package/dist-es/index.js +1 -0
  34. package/dist-es/runtimeConfig.shared.js +6 -6
  35. package/dist-es/schemas/schemas_0.js +273 -245
  36. package/dist-types/ServiceDiscoveryClient.d.ts +1 -10
  37. package/dist-types/index.d.ts +1 -0
  38. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  39. package/dist-types/runtimeConfig.d.ts +6 -2
  40. package/dist-types/runtimeConfig.native.d.ts +6 -2
  41. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  42. package/dist-types/schemas/schemas_0.d.ts +142 -161
  43. package/dist-types/ts3.4/ServiceDiscoveryClient.d.ts +0 -4
  44. package/dist-types/ts3.4/index.d.ts +1 -0
  45. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  46. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  47. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  48. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  49. package/dist-types/ts3.4/schemas/schemas_0.d.ts +141 -161
  50. package/package.json +34 -34
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_1Protocol({
31
- defaultNamespace: "com.amazonaws.servicediscovery",
32
- serviceTarget: "Route53AutoNaming_v20170314",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.servicediscovery",
32
+ version: "2017-03-14",
33
+ serviceTarget: "Route53AutoNaming_v20170314",
34
+ },
35
35
  serviceId: config?.serviceId ?? "ServiceDiscovery",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateHttpNamespace } from "../schemas/schemas_0";
4
+ import { CreateHttpNamespace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateHttpNamespaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateHttpNamespaceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "CreateHttpNamespace", {})
13
13
  .n("ServiceDiscoveryClient", "CreateHttpNamespaceCommand")
14
- .sc(CreateHttpNamespace)
14
+ .sc(CreateHttpNamespace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreatePrivateDnsNamespace } from "../schemas/schemas_0";
4
+ import { CreatePrivateDnsNamespace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreatePrivateDnsNamespaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreatePrivateDnsNamespaceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "CreatePrivateDnsNamespace", {})
13
13
  .n("ServiceDiscoveryClient", "CreatePrivateDnsNamespaceCommand")
14
- .sc(CreatePrivateDnsNamespace)
14
+ .sc(CreatePrivateDnsNamespace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreatePublicDnsNamespace } from "../schemas/schemas_0";
4
+ import { CreatePublicDnsNamespace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreatePublicDnsNamespaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreatePublicDnsNamespaceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "CreatePublicDnsNamespace", {})
13
13
  .n("ServiceDiscoveryClient", "CreatePublicDnsNamespaceCommand")
14
- .sc(CreatePublicDnsNamespace)
14
+ .sc(CreatePublicDnsNamespace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateService } from "../schemas/schemas_0";
4
+ import { CreateService$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateServiceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateServiceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "CreateService", {})
13
13
  .n("ServiceDiscoveryClient", "CreateServiceCommand")
14
- .sc(CreateService)
14
+ .sc(CreateService$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteNamespace } from "../schemas/schemas_0";
4
+ import { DeleteNamespace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteNamespaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteNamespaceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "DeleteNamespace", {})
13
13
  .n("ServiceDiscoveryClient", "DeleteNamespaceCommand")
14
- .sc(DeleteNamespace)
14
+ .sc(DeleteNamespace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteServiceAttributes } from "../schemas/schemas_0";
4
+ import { DeleteServiceAttributes$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteServiceAttributesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteServiceAttributesCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "DeleteServiceAttributes", {})
13
13
  .n("ServiceDiscoveryClient", "DeleteServiceAttributesCommand")
14
- .sc(DeleteServiceAttributes)
14
+ .sc(DeleteServiceAttributes$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteService } from "../schemas/schemas_0";
4
+ import { DeleteService$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteServiceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteServiceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "DeleteService", {})
13
13
  .n("ServiceDiscoveryClient", "DeleteServiceCommand")
14
- .sc(DeleteService)
14
+ .sc(DeleteService$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeregisterInstance } from "../schemas/schemas_0";
4
+ import { DeregisterInstance$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeregisterInstanceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeregisterInstanceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "DeregisterInstance", {})
13
13
  .n("ServiceDiscoveryClient", "DeregisterInstanceCommand")
14
- .sc(DeregisterInstance)
14
+ .sc(DeregisterInstance$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DiscoverInstances } from "../schemas/schemas_0";
4
+ import { DiscoverInstances$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DiscoverInstancesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DiscoverInstancesCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "DiscoverInstances", {})
13
13
  .n("ServiceDiscoveryClient", "DiscoverInstancesCommand")
14
- .sc(DiscoverInstances)
14
+ .sc(DiscoverInstances$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DiscoverInstancesRevision } from "../schemas/schemas_0";
4
+ import { DiscoverInstancesRevision$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DiscoverInstancesRevisionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DiscoverInstancesRevisionCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "DiscoverInstancesRevision", {})
13
13
  .n("ServiceDiscoveryClient", "DiscoverInstancesRevisionCommand")
14
- .sc(DiscoverInstancesRevision)
14
+ .sc(DiscoverInstancesRevision$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetInstance } from "../schemas/schemas_0";
4
+ import { GetInstance$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetInstanceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetInstanceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "GetInstance", {})
13
13
  .n("ServiceDiscoveryClient", "GetInstanceCommand")
14
- .sc(GetInstance)
14
+ .sc(GetInstance$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetInstancesHealthStatus } from "../schemas/schemas_0";
4
+ import { GetInstancesHealthStatus$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetInstancesHealthStatusCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetInstancesHealthStatusCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "GetInstancesHealthStatus", {})
13
13
  .n("ServiceDiscoveryClient", "GetInstancesHealthStatusCommand")
14
- .sc(GetInstancesHealthStatus)
14
+ .sc(GetInstancesHealthStatus$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetNamespace } from "../schemas/schemas_0";
4
+ import { GetNamespace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetNamespaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetNamespaceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "GetNamespace", {})
13
13
  .n("ServiceDiscoveryClient", "GetNamespaceCommand")
14
- .sc(GetNamespace)
14
+ .sc(GetNamespace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetOperation } from "../schemas/schemas_0";
4
+ import { GetOperation$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetOperationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetOperationCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "GetOperation", {})
13
13
  .n("ServiceDiscoveryClient", "GetOperationCommand")
14
- .sc(GetOperation)
14
+ .sc(GetOperation$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetServiceAttributes } from "../schemas/schemas_0";
4
+ import { GetServiceAttributes$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetServiceAttributesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetServiceAttributesCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "GetServiceAttributes", {})
13
13
  .n("ServiceDiscoveryClient", "GetServiceAttributesCommand")
14
- .sc(GetServiceAttributes)
14
+ .sc(GetServiceAttributes$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetService } from "../schemas/schemas_0";
4
+ import { GetService$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetServiceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetServiceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "GetService", {})
13
13
  .n("ServiceDiscoveryClient", "GetServiceCommand")
14
- .sc(GetService)
14
+ .sc(GetService$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListInstances } from "../schemas/schemas_0";
4
+ import { ListInstances$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListInstancesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListInstancesCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "ListInstances", {})
13
13
  .n("ServiceDiscoveryClient", "ListInstancesCommand")
14
- .sc(ListInstances)
14
+ .sc(ListInstances$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListNamespaces } from "../schemas/schemas_0";
4
+ import { ListNamespaces$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListNamespacesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListNamespacesCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "ListNamespaces", {})
13
13
  .n("ServiceDiscoveryClient", "ListNamespacesCommand")
14
- .sc(ListNamespaces)
14
+ .sc(ListNamespaces$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListOperations } from "../schemas/schemas_0";
4
+ import { ListOperations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListOperationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListOperationsCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "ListOperations", {})
13
13
  .n("ServiceDiscoveryClient", "ListOperationsCommand")
14
- .sc(ListOperations)
14
+ .sc(ListOperations$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListServices } from "../schemas/schemas_0";
4
+ import { ListServices$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListServicesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListServicesCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "ListServices", {})
13
13
  .n("ServiceDiscoveryClient", "ListServicesCommand")
14
- .sc(ListServices)
14
+ .sc(ListServices$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "ListTagsForResource", {})
13
13
  .n("ServiceDiscoveryClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RegisterInstance } from "../schemas/schemas_0";
4
+ import { RegisterInstance$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RegisterInstanceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RegisterInstanceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "RegisterInstance", {})
13
13
  .n("ServiceDiscoveryClient", "RegisterInstanceCommand")
14
- .sc(RegisterInstance)
14
+ .sc(RegisterInstance$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "TagResource", {})
13
13
  .n("ServiceDiscoveryClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "UntagResource", {})
13
13
  .n("ServiceDiscoveryClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateHttpNamespace } from "../schemas/schemas_0";
4
+ import { UpdateHttpNamespace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateHttpNamespaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateHttpNamespaceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "UpdateHttpNamespace", {})
13
13
  .n("ServiceDiscoveryClient", "UpdateHttpNamespaceCommand")
14
- .sc(UpdateHttpNamespace)
14
+ .sc(UpdateHttpNamespace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateInstanceCustomHealthStatus } from "../schemas/schemas_0";
4
+ import { UpdateInstanceCustomHealthStatus$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateInstanceCustomHealthStatusCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateInstanceCustomHealthStatusCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "UpdateInstanceCustomHealthStatus", {})
13
13
  .n("ServiceDiscoveryClient", "UpdateInstanceCustomHealthStatusCommand")
14
- .sc(UpdateInstanceCustomHealthStatus)
14
+ .sc(UpdateInstanceCustomHealthStatus$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdatePrivateDnsNamespace } from "../schemas/schemas_0";
4
+ import { UpdatePrivateDnsNamespace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdatePrivateDnsNamespaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdatePrivateDnsNamespaceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "UpdatePrivateDnsNamespace", {})
13
13
  .n("ServiceDiscoveryClient", "UpdatePrivateDnsNamespaceCommand")
14
- .sc(UpdatePrivateDnsNamespace)
14
+ .sc(UpdatePrivateDnsNamespace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdatePublicDnsNamespace } from "../schemas/schemas_0";
4
+ import { UpdatePublicDnsNamespace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdatePublicDnsNamespaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdatePublicDnsNamespaceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "UpdatePublicDnsNamespace", {})
13
13
  .n("ServiceDiscoveryClient", "UpdatePublicDnsNamespaceCommand")
14
- .sc(UpdatePublicDnsNamespace)
14
+ .sc(UpdatePublicDnsNamespace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateServiceAttributes } from "../schemas/schemas_0";
4
+ import { UpdateServiceAttributes$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateServiceAttributesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateServiceAttributesCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "UpdateServiceAttributes", {})
13
13
  .n("ServiceDiscoveryClient", "UpdateServiceAttributesCommand")
14
- .sc(UpdateServiceAttributes)
14
+ .sc(UpdateServiceAttributes$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateService } from "../schemas/schemas_0";
4
+ import { UpdateService$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateServiceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateServiceCommand extends $Command
11
11
  })
12
12
  .s("Route53AutoNaming_v20170314", "UpdateService", {})
13
13
  .n("ServiceDiscoveryClient", "UpdateServiceCommand")
14
- .sc(UpdateService)
14
+ .sc(UpdateService$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ServiceDiscoveryClient";
2
2
  export * from "./ServiceDiscovery";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
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
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.servicediscovery",
29
+ version: "2017-03-14",
30
+ serviceTarget: "Route53AutoNaming_v20170314",
31
+ },
32
32
  serviceId: config?.serviceId ?? "ServiceDiscovery",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,