@aws-sdk/client-servicediscovery 3.1137.0 → 3.1138.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -579,10 +579,10 @@ const _i = "item";
579
579
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.servicediscovery";
580
580
  const _xN = "xmlName";
581
581
  const n0 = "com.amazonaws.servicediscovery";
582
- const _s_registry = TypeRegistry.for(_s);
582
+ const _s_registry = new TypeRegistry(_s);
583
583
  var ServiceDiscoveryServiceException$ = [-3, _s, "ServiceDiscoveryServiceException", 0, [], []];
584
584
  _s_registry.registerError(ServiceDiscoveryServiceException$, ServiceDiscoveryServiceException);
585
- const n0_registry = TypeRegistry.for(n0);
585
+ const n0_registry = new TypeRegistry(n0);
586
586
  var CustomHealthNotFound$ = [-3, n0, _CHNF,
587
587
  { [_e]: _c, [_hE]: 404 },
588
588
  [_M],
@@ -217,10 +217,10 @@ const n0 = "com.amazonaws.servicediscovery";
217
217
  import { TypeRegistry } from "@smithy/core/schema";
218
218
  import { CustomHealthNotFound, DuplicateRequest, InstanceNotFound, InvalidInput, NamespaceAlreadyExists, NamespaceNotFound, OperationNotFound, RequestLimitExceeded, ResourceInUse, ResourceLimitExceeded, ResourceNotFoundException, ServiceAlreadyExists, ServiceAttributesLimitExceededException, ServiceNotFound, TooManyTagsException, } from "../models/errors";
219
219
  import { ServiceDiscoveryServiceException } from "../models/ServiceDiscoveryServiceException";
220
- const _s_registry = TypeRegistry.for(_s);
220
+ const _s_registry = new TypeRegistry(_s);
221
221
  export var ServiceDiscoveryServiceException$ = [-3, _s, "ServiceDiscoveryServiceException", 0, [], []];
222
222
  _s_registry.registerError(ServiceDiscoveryServiceException$, ServiceDiscoveryServiceException);
223
- const n0_registry = TypeRegistry.for(n0);
223
+ const n0_registry = new TypeRegistry(n0);
224
224
  export var CustomHealthNotFound$ = [-3, n0, _CHNF,
225
225
  { [_e]: _c, [_hE]: 404 },
226
226
  [_M],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type CreateHttpNamespaceCommandInput, type CreateHttpNamespaceCommandOutput } from "./commands/CreateHttpNamespaceCommand";
3
3
  import { type CreatePrivateDnsNamespaceCommandInput, type CreatePrivateDnsNamespaceCommandOutput } from "./commands/CreatePrivateDnsNamespaceCommand";
4
4
  import { type CreatePublicDnsNamespaceCommandInput, type CreatePublicDnsNamespaceCommandOutput } from "./commands/CreatePublicDnsNamespaceCommand";
@@ -30,190 +30,196 @@ import { type UpdatePublicDnsNamespaceCommandInput, type UpdatePublicDnsNamespac
30
30
  import { type UpdateServiceAttributesCommandInput, type UpdateServiceAttributesCommandOutput } from "./commands/UpdateServiceAttributesCommand";
31
31
  import { type UpdateServiceCommandInput, type UpdateServiceCommandOutput } from "./commands/UpdateServiceCommand";
32
32
  import { ServiceDiscoveryClient } from "./ServiceDiscoveryClient";
33
+ /**
34
+ * @public
35
+ */
36
+ export interface ServiceDiscoveryRequestOptions extends __HttpHandlerOptions {
37
+ metricsRecorder?: __MetricsRecorder<unknown>;
38
+ }
33
39
  export interface ServiceDiscovery {
34
40
  /**
35
41
  * @see {@link CreateHttpNamespaceCommand}
36
42
  */
37
- createHttpNamespace(args: CreateHttpNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateHttpNamespaceCommandOutput>;
43
+ createHttpNamespace(args: CreateHttpNamespaceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<CreateHttpNamespaceCommandOutput>;
38
44
  createHttpNamespace(args: CreateHttpNamespaceCommandInput, cb: (err: any, data?: CreateHttpNamespaceCommandOutput) => void): void;
39
- createHttpNamespace(args: CreateHttpNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHttpNamespaceCommandOutput) => void): void;
45
+ createHttpNamespace(args: CreateHttpNamespaceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: CreateHttpNamespaceCommandOutput) => void): void;
40
46
  /**
41
47
  * @see {@link CreatePrivateDnsNamespaceCommand}
42
48
  */
43
- createPrivateDnsNamespace(args: CreatePrivateDnsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<CreatePrivateDnsNamespaceCommandOutput>;
49
+ createPrivateDnsNamespace(args: CreatePrivateDnsNamespaceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<CreatePrivateDnsNamespaceCommandOutput>;
44
50
  createPrivateDnsNamespace(args: CreatePrivateDnsNamespaceCommandInput, cb: (err: any, data?: CreatePrivateDnsNamespaceCommandOutput) => void): void;
45
- createPrivateDnsNamespace(args: CreatePrivateDnsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePrivateDnsNamespaceCommandOutput) => void): void;
51
+ createPrivateDnsNamespace(args: CreatePrivateDnsNamespaceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: CreatePrivateDnsNamespaceCommandOutput) => void): void;
46
52
  /**
47
53
  * @see {@link CreatePublicDnsNamespaceCommand}
48
54
  */
49
- createPublicDnsNamespace(args: CreatePublicDnsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<CreatePublicDnsNamespaceCommandOutput>;
55
+ createPublicDnsNamespace(args: CreatePublicDnsNamespaceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<CreatePublicDnsNamespaceCommandOutput>;
50
56
  createPublicDnsNamespace(args: CreatePublicDnsNamespaceCommandInput, cb: (err: any, data?: CreatePublicDnsNamespaceCommandOutput) => void): void;
51
- createPublicDnsNamespace(args: CreatePublicDnsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePublicDnsNamespaceCommandOutput) => void): void;
57
+ createPublicDnsNamespace(args: CreatePublicDnsNamespaceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: CreatePublicDnsNamespaceCommandOutput) => void): void;
52
58
  /**
53
59
  * @see {@link CreateServiceCommand}
54
60
  */
55
- createService(args: CreateServiceCommandInput, options?: __HttpHandlerOptions): Promise<CreateServiceCommandOutput>;
61
+ createService(args: CreateServiceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<CreateServiceCommandOutput>;
56
62
  createService(args: CreateServiceCommandInput, cb: (err: any, data?: CreateServiceCommandOutput) => void): void;
57
- createService(args: CreateServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServiceCommandOutput) => void): void;
63
+ createService(args: CreateServiceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: CreateServiceCommandOutput) => void): void;
58
64
  /**
59
65
  * @see {@link DeleteNamespaceCommand}
60
66
  */
61
- deleteNamespace(args: DeleteNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNamespaceCommandOutput>;
67
+ deleteNamespace(args: DeleteNamespaceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<DeleteNamespaceCommandOutput>;
62
68
  deleteNamespace(args: DeleteNamespaceCommandInput, cb: (err: any, data?: DeleteNamespaceCommandOutput) => void): void;
63
- deleteNamespace(args: DeleteNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNamespaceCommandOutput) => void): void;
69
+ deleteNamespace(args: DeleteNamespaceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: DeleteNamespaceCommandOutput) => void): void;
64
70
  /**
65
71
  * @see {@link DeleteServiceCommand}
66
72
  */
67
- deleteService(args: DeleteServiceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceCommandOutput>;
73
+ deleteService(args: DeleteServiceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<DeleteServiceCommandOutput>;
68
74
  deleteService(args: DeleteServiceCommandInput, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
69
- deleteService(args: DeleteServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
75
+ deleteService(args: DeleteServiceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
70
76
  /**
71
77
  * @see {@link DeleteServiceAttributesCommand}
72
78
  */
73
- deleteServiceAttributes(args: DeleteServiceAttributesCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceAttributesCommandOutput>;
79
+ deleteServiceAttributes(args: DeleteServiceAttributesCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<DeleteServiceAttributesCommandOutput>;
74
80
  deleteServiceAttributes(args: DeleteServiceAttributesCommandInput, cb: (err: any, data?: DeleteServiceAttributesCommandOutput) => void): void;
75
- deleteServiceAttributes(args: DeleteServiceAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceAttributesCommandOutput) => void): void;
81
+ deleteServiceAttributes(args: DeleteServiceAttributesCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: DeleteServiceAttributesCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link DeregisterInstanceCommand}
78
84
  */
79
- deregisterInstance(args: DeregisterInstanceCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterInstanceCommandOutput>;
85
+ deregisterInstance(args: DeregisterInstanceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<DeregisterInstanceCommandOutput>;
80
86
  deregisterInstance(args: DeregisterInstanceCommandInput, cb: (err: any, data?: DeregisterInstanceCommandOutput) => void): void;
81
- deregisterInstance(args: DeregisterInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterInstanceCommandOutput) => void): void;
87
+ deregisterInstance(args: DeregisterInstanceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: DeregisterInstanceCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link DiscoverInstancesCommand}
84
90
  */
85
- discoverInstances(args: DiscoverInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DiscoverInstancesCommandOutput>;
91
+ discoverInstances(args: DiscoverInstancesCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<DiscoverInstancesCommandOutput>;
86
92
  discoverInstances(args: DiscoverInstancesCommandInput, cb: (err: any, data?: DiscoverInstancesCommandOutput) => void): void;
87
- discoverInstances(args: DiscoverInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DiscoverInstancesCommandOutput) => void): void;
93
+ discoverInstances(args: DiscoverInstancesCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: DiscoverInstancesCommandOutput) => void): void;
88
94
  /**
89
95
  * @see {@link DiscoverInstancesRevisionCommand}
90
96
  */
91
- discoverInstancesRevision(args: DiscoverInstancesRevisionCommandInput, options?: __HttpHandlerOptions): Promise<DiscoverInstancesRevisionCommandOutput>;
97
+ discoverInstancesRevision(args: DiscoverInstancesRevisionCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<DiscoverInstancesRevisionCommandOutput>;
92
98
  discoverInstancesRevision(args: DiscoverInstancesRevisionCommandInput, cb: (err: any, data?: DiscoverInstancesRevisionCommandOutput) => void): void;
93
- discoverInstancesRevision(args: DiscoverInstancesRevisionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DiscoverInstancesRevisionCommandOutput) => void): void;
99
+ discoverInstancesRevision(args: DiscoverInstancesRevisionCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: DiscoverInstancesRevisionCommandOutput) => void): void;
94
100
  /**
95
101
  * @see {@link GetInstanceCommand}
96
102
  */
97
- getInstance(args: GetInstanceCommandInput, options?: __HttpHandlerOptions): Promise<GetInstanceCommandOutput>;
103
+ getInstance(args: GetInstanceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<GetInstanceCommandOutput>;
98
104
  getInstance(args: GetInstanceCommandInput, cb: (err: any, data?: GetInstanceCommandOutput) => void): void;
99
- getInstance(args: GetInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInstanceCommandOutput) => void): void;
105
+ getInstance(args: GetInstanceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: GetInstanceCommandOutput) => void): void;
100
106
  /**
101
107
  * @see {@link GetInstancesHealthStatusCommand}
102
108
  */
103
- getInstancesHealthStatus(args: GetInstancesHealthStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetInstancesHealthStatusCommandOutput>;
109
+ getInstancesHealthStatus(args: GetInstancesHealthStatusCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<GetInstancesHealthStatusCommandOutput>;
104
110
  getInstancesHealthStatus(args: GetInstancesHealthStatusCommandInput, cb: (err: any, data?: GetInstancesHealthStatusCommandOutput) => void): void;
105
- getInstancesHealthStatus(args: GetInstancesHealthStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInstancesHealthStatusCommandOutput) => void): void;
111
+ getInstancesHealthStatus(args: GetInstancesHealthStatusCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: GetInstancesHealthStatusCommandOutput) => void): void;
106
112
  /**
107
113
  * @see {@link GetNamespaceCommand}
108
114
  */
109
- getNamespace(args: GetNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<GetNamespaceCommandOutput>;
115
+ getNamespace(args: GetNamespaceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<GetNamespaceCommandOutput>;
110
116
  getNamespace(args: GetNamespaceCommandInput, cb: (err: any, data?: GetNamespaceCommandOutput) => void): void;
111
- getNamespace(args: GetNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNamespaceCommandOutput) => void): void;
117
+ getNamespace(args: GetNamespaceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: GetNamespaceCommandOutput) => void): void;
112
118
  /**
113
119
  * @see {@link GetOperationCommand}
114
120
  */
115
- getOperation(args: GetOperationCommandInput, options?: __HttpHandlerOptions): Promise<GetOperationCommandOutput>;
121
+ getOperation(args: GetOperationCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<GetOperationCommandOutput>;
116
122
  getOperation(args: GetOperationCommandInput, cb: (err: any, data?: GetOperationCommandOutput) => void): void;
117
- getOperation(args: GetOperationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOperationCommandOutput) => void): void;
123
+ getOperation(args: GetOperationCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: GetOperationCommandOutput) => void): void;
118
124
  /**
119
125
  * @see {@link GetServiceCommand}
120
126
  */
121
- getService(args: GetServiceCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceCommandOutput>;
127
+ getService(args: GetServiceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<GetServiceCommandOutput>;
122
128
  getService(args: GetServiceCommandInput, cb: (err: any, data?: GetServiceCommandOutput) => void): void;
123
- getService(args: GetServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceCommandOutput) => void): void;
129
+ getService(args: GetServiceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: GetServiceCommandOutput) => void): void;
124
130
  /**
125
131
  * @see {@link GetServiceAttributesCommand}
126
132
  */
127
- getServiceAttributes(args: GetServiceAttributesCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceAttributesCommandOutput>;
133
+ getServiceAttributes(args: GetServiceAttributesCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<GetServiceAttributesCommandOutput>;
128
134
  getServiceAttributes(args: GetServiceAttributesCommandInput, cb: (err: any, data?: GetServiceAttributesCommandOutput) => void): void;
129
- getServiceAttributes(args: GetServiceAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceAttributesCommandOutput) => void): void;
135
+ getServiceAttributes(args: GetServiceAttributesCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: GetServiceAttributesCommandOutput) => void): void;
130
136
  /**
131
137
  * @see {@link ListInstancesCommand}
132
138
  */
133
- listInstances(args: ListInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListInstancesCommandOutput>;
139
+ listInstances(args: ListInstancesCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<ListInstancesCommandOutput>;
134
140
  listInstances(args: ListInstancesCommandInput, cb: (err: any, data?: ListInstancesCommandOutput) => void): void;
135
- listInstances(args: ListInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInstancesCommandOutput) => void): void;
141
+ listInstances(args: ListInstancesCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: ListInstancesCommandOutput) => void): void;
136
142
  /**
137
143
  * @see {@link ListNamespacesCommand}
138
144
  */
139
145
  listNamespaces(): Promise<ListNamespacesCommandOutput>;
140
- listNamespaces(args: ListNamespacesCommandInput, options?: __HttpHandlerOptions): Promise<ListNamespacesCommandOutput>;
146
+ listNamespaces(args: ListNamespacesCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<ListNamespacesCommandOutput>;
141
147
  listNamespaces(args: ListNamespacesCommandInput, cb: (err: any, data?: ListNamespacesCommandOutput) => void): void;
142
- listNamespaces(args: ListNamespacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNamespacesCommandOutput) => void): void;
148
+ listNamespaces(args: ListNamespacesCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: ListNamespacesCommandOutput) => void): void;
143
149
  /**
144
150
  * @see {@link ListOperationsCommand}
145
151
  */
146
152
  listOperations(): Promise<ListOperationsCommandOutput>;
147
- listOperations(args: ListOperationsCommandInput, options?: __HttpHandlerOptions): Promise<ListOperationsCommandOutput>;
153
+ listOperations(args: ListOperationsCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<ListOperationsCommandOutput>;
148
154
  listOperations(args: ListOperationsCommandInput, cb: (err: any, data?: ListOperationsCommandOutput) => void): void;
149
- listOperations(args: ListOperationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOperationsCommandOutput) => void): void;
155
+ listOperations(args: ListOperationsCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: ListOperationsCommandOutput) => void): void;
150
156
  /**
151
157
  * @see {@link ListServicesCommand}
152
158
  */
153
159
  listServices(): Promise<ListServicesCommandOutput>;
154
- listServices(args: ListServicesCommandInput, options?: __HttpHandlerOptions): Promise<ListServicesCommandOutput>;
160
+ listServices(args: ListServicesCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<ListServicesCommandOutput>;
155
161
  listServices(args: ListServicesCommandInput, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
156
- listServices(args: ListServicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
162
+ listServices(args: ListServicesCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
157
163
  /**
158
164
  * @see {@link ListTagsForResourceCommand}
159
165
  */
160
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
166
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<ListTagsForResourceCommandOutput>;
161
167
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
162
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
168
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
163
169
  /**
164
170
  * @see {@link RegisterInstanceCommand}
165
171
  */
166
- registerInstance(args: RegisterInstanceCommandInput, options?: __HttpHandlerOptions): Promise<RegisterInstanceCommandOutput>;
172
+ registerInstance(args: RegisterInstanceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<RegisterInstanceCommandOutput>;
167
173
  registerInstance(args: RegisterInstanceCommandInput, cb: (err: any, data?: RegisterInstanceCommandOutput) => void): void;
168
- registerInstance(args: RegisterInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterInstanceCommandOutput) => void): void;
174
+ registerInstance(args: RegisterInstanceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: RegisterInstanceCommandOutput) => void): void;
169
175
  /**
170
176
  * @see {@link TagResourceCommand}
171
177
  */
172
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
178
+ tagResource(args: TagResourceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<TagResourceCommandOutput>;
173
179
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
174
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
180
+ tagResource(args: TagResourceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
175
181
  /**
176
182
  * @see {@link UntagResourceCommand}
177
183
  */
178
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
184
+ untagResource(args: UntagResourceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<UntagResourceCommandOutput>;
179
185
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
180
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
186
+ untagResource(args: UntagResourceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
181
187
  /**
182
188
  * @see {@link UpdateHttpNamespaceCommand}
183
189
  */
184
- updateHttpNamespace(args: UpdateHttpNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateHttpNamespaceCommandOutput>;
190
+ updateHttpNamespace(args: UpdateHttpNamespaceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<UpdateHttpNamespaceCommandOutput>;
185
191
  updateHttpNamespace(args: UpdateHttpNamespaceCommandInput, cb: (err: any, data?: UpdateHttpNamespaceCommandOutput) => void): void;
186
- updateHttpNamespace(args: UpdateHttpNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHttpNamespaceCommandOutput) => void): void;
192
+ updateHttpNamespace(args: UpdateHttpNamespaceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: UpdateHttpNamespaceCommandOutput) => void): void;
187
193
  /**
188
194
  * @see {@link UpdateInstanceCustomHealthStatusCommand}
189
195
  */
190
- updateInstanceCustomHealthStatus(args: UpdateInstanceCustomHealthStatusCommandInput, options?: __HttpHandlerOptions): Promise<UpdateInstanceCustomHealthStatusCommandOutput>;
196
+ updateInstanceCustomHealthStatus(args: UpdateInstanceCustomHealthStatusCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<UpdateInstanceCustomHealthStatusCommandOutput>;
191
197
  updateInstanceCustomHealthStatus(args: UpdateInstanceCustomHealthStatusCommandInput, cb: (err: any, data?: UpdateInstanceCustomHealthStatusCommandOutput) => void): void;
192
- updateInstanceCustomHealthStatus(args: UpdateInstanceCustomHealthStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateInstanceCustomHealthStatusCommandOutput) => void): void;
198
+ updateInstanceCustomHealthStatus(args: UpdateInstanceCustomHealthStatusCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: UpdateInstanceCustomHealthStatusCommandOutput) => void): void;
193
199
  /**
194
200
  * @see {@link UpdatePrivateDnsNamespaceCommand}
195
201
  */
196
- updatePrivateDnsNamespace(args: UpdatePrivateDnsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePrivateDnsNamespaceCommandOutput>;
202
+ updatePrivateDnsNamespace(args: UpdatePrivateDnsNamespaceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<UpdatePrivateDnsNamespaceCommandOutput>;
197
203
  updatePrivateDnsNamespace(args: UpdatePrivateDnsNamespaceCommandInput, cb: (err: any, data?: UpdatePrivateDnsNamespaceCommandOutput) => void): void;
198
- updatePrivateDnsNamespace(args: UpdatePrivateDnsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePrivateDnsNamespaceCommandOutput) => void): void;
204
+ updatePrivateDnsNamespace(args: UpdatePrivateDnsNamespaceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: UpdatePrivateDnsNamespaceCommandOutput) => void): void;
199
205
  /**
200
206
  * @see {@link UpdatePublicDnsNamespaceCommand}
201
207
  */
202
- updatePublicDnsNamespace(args: UpdatePublicDnsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePublicDnsNamespaceCommandOutput>;
208
+ updatePublicDnsNamespace(args: UpdatePublicDnsNamespaceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<UpdatePublicDnsNamespaceCommandOutput>;
203
209
  updatePublicDnsNamespace(args: UpdatePublicDnsNamespaceCommandInput, cb: (err: any, data?: UpdatePublicDnsNamespaceCommandOutput) => void): void;
204
- updatePublicDnsNamespace(args: UpdatePublicDnsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePublicDnsNamespaceCommandOutput) => void): void;
210
+ updatePublicDnsNamespace(args: UpdatePublicDnsNamespaceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: UpdatePublicDnsNamespaceCommandOutput) => void): void;
205
211
  /**
206
212
  * @see {@link UpdateServiceCommand}
207
213
  */
208
- updateService(args: UpdateServiceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceCommandOutput>;
214
+ updateService(args: UpdateServiceCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<UpdateServiceCommandOutput>;
209
215
  updateService(args: UpdateServiceCommandInput, cb: (err: any, data?: UpdateServiceCommandOutput) => void): void;
210
- updateService(args: UpdateServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceCommandOutput) => void): void;
216
+ updateService(args: UpdateServiceCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: UpdateServiceCommandOutput) => void): void;
211
217
  /**
212
218
  * @see {@link UpdateServiceAttributesCommand}
213
219
  */
214
- updateServiceAttributes(args: UpdateServiceAttributesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceAttributesCommandOutput>;
220
+ updateServiceAttributes(args: UpdateServiceAttributesCommandInput, options?: ServiceDiscoveryRequestOptions): Promise<UpdateServiceAttributesCommandOutput>;
215
221
  updateServiceAttributes(args: UpdateServiceAttributesCommandInput, cb: (err: any, data?: UpdateServiceAttributesCommandOutput) => void): void;
216
- updateServiceAttributes(args: UpdateServiceAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceAttributesCommandOutput) => void): void;
222
+ updateServiceAttributes(args: UpdateServiceAttributesCommandInput, options: ServiceDiscoveryRequestOptions, cb: (err: any, data?: UpdateServiceAttributesCommandOutput) => void): void;
217
223
  /**
218
224
  * @see {@link GetInstancesHealthStatusCommand}
219
225
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -115,10 +116,13 @@ import {
115
116
  UpdateServiceCommandOutput,
116
117
  } from "./commands/UpdateServiceCommand";
117
118
  import { ServiceDiscoveryClient } from "./ServiceDiscoveryClient";
119
+ export interface ServiceDiscoveryRequestOptions extends __HttpHandlerOptions {
120
+ metricsRecorder?: __MetricsRecorder<unknown>;
121
+ }
118
122
  export interface ServiceDiscovery {
119
123
  createHttpNamespace(
120
124
  args: CreateHttpNamespaceCommandInput,
121
- options?: __HttpHandlerOptions,
125
+ options?: ServiceDiscoveryRequestOptions,
122
126
  ): Promise<CreateHttpNamespaceCommandOutput>;
123
127
  createHttpNamespace(
124
128
  args: CreateHttpNamespaceCommandInput,
@@ -126,12 +130,12 @@ export interface ServiceDiscovery {
126
130
  ): void;
127
131
  createHttpNamespace(
128
132
  args: CreateHttpNamespaceCommandInput,
129
- options: __HttpHandlerOptions,
133
+ options: ServiceDiscoveryRequestOptions,
130
134
  cb: (err: any, data?: CreateHttpNamespaceCommandOutput) => void,
131
135
  ): void;
132
136
  createPrivateDnsNamespace(
133
137
  args: CreatePrivateDnsNamespaceCommandInput,
134
- options?: __HttpHandlerOptions,
138
+ options?: ServiceDiscoveryRequestOptions,
135
139
  ): Promise<CreatePrivateDnsNamespaceCommandOutput>;
136
140
  createPrivateDnsNamespace(
137
141
  args: CreatePrivateDnsNamespaceCommandInput,
@@ -139,12 +143,12 @@ export interface ServiceDiscovery {
139
143
  ): void;
140
144
  createPrivateDnsNamespace(
141
145
  args: CreatePrivateDnsNamespaceCommandInput,
142
- options: __HttpHandlerOptions,
146
+ options: ServiceDiscoveryRequestOptions,
143
147
  cb: (err: any, data?: CreatePrivateDnsNamespaceCommandOutput) => void,
144
148
  ): void;
145
149
  createPublicDnsNamespace(
146
150
  args: CreatePublicDnsNamespaceCommandInput,
147
- options?: __HttpHandlerOptions,
151
+ options?: ServiceDiscoveryRequestOptions,
148
152
  ): Promise<CreatePublicDnsNamespaceCommandOutput>;
149
153
  createPublicDnsNamespace(
150
154
  args: CreatePublicDnsNamespaceCommandInput,
@@ -152,12 +156,12 @@ export interface ServiceDiscovery {
152
156
  ): void;
153
157
  createPublicDnsNamespace(
154
158
  args: CreatePublicDnsNamespaceCommandInput,
155
- options: __HttpHandlerOptions,
159
+ options: ServiceDiscoveryRequestOptions,
156
160
  cb: (err: any, data?: CreatePublicDnsNamespaceCommandOutput) => void,
157
161
  ): void;
158
162
  createService(
159
163
  args: CreateServiceCommandInput,
160
- options?: __HttpHandlerOptions,
164
+ options?: ServiceDiscoveryRequestOptions,
161
165
  ): Promise<CreateServiceCommandOutput>;
162
166
  createService(
163
167
  args: CreateServiceCommandInput,
@@ -165,12 +169,12 @@ export interface ServiceDiscovery {
165
169
  ): void;
166
170
  createService(
167
171
  args: CreateServiceCommandInput,
168
- options: __HttpHandlerOptions,
172
+ options: ServiceDiscoveryRequestOptions,
169
173
  cb: (err: any, data?: CreateServiceCommandOutput) => void,
170
174
  ): void;
171
175
  deleteNamespace(
172
176
  args: DeleteNamespaceCommandInput,
173
- options?: __HttpHandlerOptions,
177
+ options?: ServiceDiscoveryRequestOptions,
174
178
  ): Promise<DeleteNamespaceCommandOutput>;
175
179
  deleteNamespace(
176
180
  args: DeleteNamespaceCommandInput,
@@ -178,12 +182,12 @@ export interface ServiceDiscovery {
178
182
  ): void;
179
183
  deleteNamespace(
180
184
  args: DeleteNamespaceCommandInput,
181
- options: __HttpHandlerOptions,
185
+ options: ServiceDiscoveryRequestOptions,
182
186
  cb: (err: any, data?: DeleteNamespaceCommandOutput) => void,
183
187
  ): void;
184
188
  deleteService(
185
189
  args: DeleteServiceCommandInput,
186
- options?: __HttpHandlerOptions,
190
+ options?: ServiceDiscoveryRequestOptions,
187
191
  ): Promise<DeleteServiceCommandOutput>;
188
192
  deleteService(
189
193
  args: DeleteServiceCommandInput,
@@ -191,12 +195,12 @@ export interface ServiceDiscovery {
191
195
  ): void;
192
196
  deleteService(
193
197
  args: DeleteServiceCommandInput,
194
- options: __HttpHandlerOptions,
198
+ options: ServiceDiscoveryRequestOptions,
195
199
  cb: (err: any, data?: DeleteServiceCommandOutput) => void,
196
200
  ): void;
197
201
  deleteServiceAttributes(
198
202
  args: DeleteServiceAttributesCommandInput,
199
- options?: __HttpHandlerOptions,
203
+ options?: ServiceDiscoveryRequestOptions,
200
204
  ): Promise<DeleteServiceAttributesCommandOutput>;
201
205
  deleteServiceAttributes(
202
206
  args: DeleteServiceAttributesCommandInput,
@@ -204,12 +208,12 @@ export interface ServiceDiscovery {
204
208
  ): void;
205
209
  deleteServiceAttributes(
206
210
  args: DeleteServiceAttributesCommandInput,
207
- options: __HttpHandlerOptions,
211
+ options: ServiceDiscoveryRequestOptions,
208
212
  cb: (err: any, data?: DeleteServiceAttributesCommandOutput) => void,
209
213
  ): void;
210
214
  deregisterInstance(
211
215
  args: DeregisterInstanceCommandInput,
212
- options?: __HttpHandlerOptions,
216
+ options?: ServiceDiscoveryRequestOptions,
213
217
  ): Promise<DeregisterInstanceCommandOutput>;
214
218
  deregisterInstance(
215
219
  args: DeregisterInstanceCommandInput,
@@ -217,12 +221,12 @@ export interface ServiceDiscovery {
217
221
  ): void;
218
222
  deregisterInstance(
219
223
  args: DeregisterInstanceCommandInput,
220
- options: __HttpHandlerOptions,
224
+ options: ServiceDiscoveryRequestOptions,
221
225
  cb: (err: any, data?: DeregisterInstanceCommandOutput) => void,
222
226
  ): void;
223
227
  discoverInstances(
224
228
  args: DiscoverInstancesCommandInput,
225
- options?: __HttpHandlerOptions,
229
+ options?: ServiceDiscoveryRequestOptions,
226
230
  ): Promise<DiscoverInstancesCommandOutput>;
227
231
  discoverInstances(
228
232
  args: DiscoverInstancesCommandInput,
@@ -230,12 +234,12 @@ export interface ServiceDiscovery {
230
234
  ): void;
231
235
  discoverInstances(
232
236
  args: DiscoverInstancesCommandInput,
233
- options: __HttpHandlerOptions,
237
+ options: ServiceDiscoveryRequestOptions,
234
238
  cb: (err: any, data?: DiscoverInstancesCommandOutput) => void,
235
239
  ): void;
236
240
  discoverInstancesRevision(
237
241
  args: DiscoverInstancesRevisionCommandInput,
238
- options?: __HttpHandlerOptions,
242
+ options?: ServiceDiscoveryRequestOptions,
239
243
  ): Promise<DiscoverInstancesRevisionCommandOutput>;
240
244
  discoverInstancesRevision(
241
245
  args: DiscoverInstancesRevisionCommandInput,
@@ -243,12 +247,12 @@ export interface ServiceDiscovery {
243
247
  ): void;
244
248
  discoverInstancesRevision(
245
249
  args: DiscoverInstancesRevisionCommandInput,
246
- options: __HttpHandlerOptions,
250
+ options: ServiceDiscoveryRequestOptions,
247
251
  cb: (err: any, data?: DiscoverInstancesRevisionCommandOutput) => void,
248
252
  ): void;
249
253
  getInstance(
250
254
  args: GetInstanceCommandInput,
251
- options?: __HttpHandlerOptions,
255
+ options?: ServiceDiscoveryRequestOptions,
252
256
  ): Promise<GetInstanceCommandOutput>;
253
257
  getInstance(
254
258
  args: GetInstanceCommandInput,
@@ -256,12 +260,12 @@ export interface ServiceDiscovery {
256
260
  ): void;
257
261
  getInstance(
258
262
  args: GetInstanceCommandInput,
259
- options: __HttpHandlerOptions,
263
+ options: ServiceDiscoveryRequestOptions,
260
264
  cb: (err: any, data?: GetInstanceCommandOutput) => void,
261
265
  ): void;
262
266
  getInstancesHealthStatus(
263
267
  args: GetInstancesHealthStatusCommandInput,
264
- options?: __HttpHandlerOptions,
268
+ options?: ServiceDiscoveryRequestOptions,
265
269
  ): Promise<GetInstancesHealthStatusCommandOutput>;
266
270
  getInstancesHealthStatus(
267
271
  args: GetInstancesHealthStatusCommandInput,
@@ -269,12 +273,12 @@ export interface ServiceDiscovery {
269
273
  ): void;
270
274
  getInstancesHealthStatus(
271
275
  args: GetInstancesHealthStatusCommandInput,
272
- options: __HttpHandlerOptions,
276
+ options: ServiceDiscoveryRequestOptions,
273
277
  cb: (err: any, data?: GetInstancesHealthStatusCommandOutput) => void,
274
278
  ): void;
275
279
  getNamespace(
276
280
  args: GetNamespaceCommandInput,
277
- options?: __HttpHandlerOptions,
281
+ options?: ServiceDiscoveryRequestOptions,
278
282
  ): Promise<GetNamespaceCommandOutput>;
279
283
  getNamespace(
280
284
  args: GetNamespaceCommandInput,
@@ -282,12 +286,12 @@ export interface ServiceDiscovery {
282
286
  ): void;
283
287
  getNamespace(
284
288
  args: GetNamespaceCommandInput,
285
- options: __HttpHandlerOptions,
289
+ options: ServiceDiscoveryRequestOptions,
286
290
  cb: (err: any, data?: GetNamespaceCommandOutput) => void,
287
291
  ): void;
288
292
  getOperation(
289
293
  args: GetOperationCommandInput,
290
- options?: __HttpHandlerOptions,
294
+ options?: ServiceDiscoveryRequestOptions,
291
295
  ): Promise<GetOperationCommandOutput>;
292
296
  getOperation(
293
297
  args: GetOperationCommandInput,
@@ -295,12 +299,12 @@ export interface ServiceDiscovery {
295
299
  ): void;
296
300
  getOperation(
297
301
  args: GetOperationCommandInput,
298
- options: __HttpHandlerOptions,
302
+ options: ServiceDiscoveryRequestOptions,
299
303
  cb: (err: any, data?: GetOperationCommandOutput) => void,
300
304
  ): void;
301
305
  getService(
302
306
  args: GetServiceCommandInput,
303
- options?: __HttpHandlerOptions,
307
+ options?: ServiceDiscoveryRequestOptions,
304
308
  ): Promise<GetServiceCommandOutput>;
305
309
  getService(
306
310
  args: GetServiceCommandInput,
@@ -308,12 +312,12 @@ export interface ServiceDiscovery {
308
312
  ): void;
309
313
  getService(
310
314
  args: GetServiceCommandInput,
311
- options: __HttpHandlerOptions,
315
+ options: ServiceDiscoveryRequestOptions,
312
316
  cb: (err: any, data?: GetServiceCommandOutput) => void,
313
317
  ): void;
314
318
  getServiceAttributes(
315
319
  args: GetServiceAttributesCommandInput,
316
- options?: __HttpHandlerOptions,
320
+ options?: ServiceDiscoveryRequestOptions,
317
321
  ): Promise<GetServiceAttributesCommandOutput>;
318
322
  getServiceAttributes(
319
323
  args: GetServiceAttributesCommandInput,
@@ -321,12 +325,12 @@ export interface ServiceDiscovery {
321
325
  ): void;
322
326
  getServiceAttributes(
323
327
  args: GetServiceAttributesCommandInput,
324
- options: __HttpHandlerOptions,
328
+ options: ServiceDiscoveryRequestOptions,
325
329
  cb: (err: any, data?: GetServiceAttributesCommandOutput) => void,
326
330
  ): void;
327
331
  listInstances(
328
332
  args: ListInstancesCommandInput,
329
- options?: __HttpHandlerOptions,
333
+ options?: ServiceDiscoveryRequestOptions,
330
334
  ): Promise<ListInstancesCommandOutput>;
331
335
  listInstances(
332
336
  args: ListInstancesCommandInput,
@@ -334,13 +338,13 @@ export interface ServiceDiscovery {
334
338
  ): void;
335
339
  listInstances(
336
340
  args: ListInstancesCommandInput,
337
- options: __HttpHandlerOptions,
341
+ options: ServiceDiscoveryRequestOptions,
338
342
  cb: (err: any, data?: ListInstancesCommandOutput) => void,
339
343
  ): void;
340
344
  listNamespaces(): Promise<ListNamespacesCommandOutput>;
341
345
  listNamespaces(
342
346
  args: ListNamespacesCommandInput,
343
- options?: __HttpHandlerOptions,
347
+ options?: ServiceDiscoveryRequestOptions,
344
348
  ): Promise<ListNamespacesCommandOutput>;
345
349
  listNamespaces(
346
350
  args: ListNamespacesCommandInput,
@@ -348,13 +352,13 @@ export interface ServiceDiscovery {
348
352
  ): void;
349
353
  listNamespaces(
350
354
  args: ListNamespacesCommandInput,
351
- options: __HttpHandlerOptions,
355
+ options: ServiceDiscoveryRequestOptions,
352
356
  cb: (err: any, data?: ListNamespacesCommandOutput) => void,
353
357
  ): void;
354
358
  listOperations(): Promise<ListOperationsCommandOutput>;
355
359
  listOperations(
356
360
  args: ListOperationsCommandInput,
357
- options?: __HttpHandlerOptions,
361
+ options?: ServiceDiscoveryRequestOptions,
358
362
  ): Promise<ListOperationsCommandOutput>;
359
363
  listOperations(
360
364
  args: ListOperationsCommandInput,
@@ -362,13 +366,13 @@ export interface ServiceDiscovery {
362
366
  ): void;
363
367
  listOperations(
364
368
  args: ListOperationsCommandInput,
365
- options: __HttpHandlerOptions,
369
+ options: ServiceDiscoveryRequestOptions,
366
370
  cb: (err: any, data?: ListOperationsCommandOutput) => void,
367
371
  ): void;
368
372
  listServices(): Promise<ListServicesCommandOutput>;
369
373
  listServices(
370
374
  args: ListServicesCommandInput,
371
- options?: __HttpHandlerOptions,
375
+ options?: ServiceDiscoveryRequestOptions,
372
376
  ): Promise<ListServicesCommandOutput>;
373
377
  listServices(
374
378
  args: ListServicesCommandInput,
@@ -376,12 +380,12 @@ export interface ServiceDiscovery {
376
380
  ): void;
377
381
  listServices(
378
382
  args: ListServicesCommandInput,
379
- options: __HttpHandlerOptions,
383
+ options: ServiceDiscoveryRequestOptions,
380
384
  cb: (err: any, data?: ListServicesCommandOutput) => void,
381
385
  ): void;
382
386
  listTagsForResource(
383
387
  args: ListTagsForResourceCommandInput,
384
- options?: __HttpHandlerOptions,
388
+ options?: ServiceDiscoveryRequestOptions,
385
389
  ): Promise<ListTagsForResourceCommandOutput>;
386
390
  listTagsForResource(
387
391
  args: ListTagsForResourceCommandInput,
@@ -389,12 +393,12 @@ export interface ServiceDiscovery {
389
393
  ): void;
390
394
  listTagsForResource(
391
395
  args: ListTagsForResourceCommandInput,
392
- options: __HttpHandlerOptions,
396
+ options: ServiceDiscoveryRequestOptions,
393
397
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
394
398
  ): void;
395
399
  registerInstance(
396
400
  args: RegisterInstanceCommandInput,
397
- options?: __HttpHandlerOptions,
401
+ options?: ServiceDiscoveryRequestOptions,
398
402
  ): Promise<RegisterInstanceCommandOutput>;
399
403
  registerInstance(
400
404
  args: RegisterInstanceCommandInput,
@@ -402,12 +406,12 @@ export interface ServiceDiscovery {
402
406
  ): void;
403
407
  registerInstance(
404
408
  args: RegisterInstanceCommandInput,
405
- options: __HttpHandlerOptions,
409
+ options: ServiceDiscoveryRequestOptions,
406
410
  cb: (err: any, data?: RegisterInstanceCommandOutput) => void,
407
411
  ): void;
408
412
  tagResource(
409
413
  args: TagResourceCommandInput,
410
- options?: __HttpHandlerOptions,
414
+ options?: ServiceDiscoveryRequestOptions,
411
415
  ): Promise<TagResourceCommandOutput>;
412
416
  tagResource(
413
417
  args: TagResourceCommandInput,
@@ -415,12 +419,12 @@ export interface ServiceDiscovery {
415
419
  ): void;
416
420
  tagResource(
417
421
  args: TagResourceCommandInput,
418
- options: __HttpHandlerOptions,
422
+ options: ServiceDiscoveryRequestOptions,
419
423
  cb: (err: any, data?: TagResourceCommandOutput) => void,
420
424
  ): void;
421
425
  untagResource(
422
426
  args: UntagResourceCommandInput,
423
- options?: __HttpHandlerOptions,
427
+ options?: ServiceDiscoveryRequestOptions,
424
428
  ): Promise<UntagResourceCommandOutput>;
425
429
  untagResource(
426
430
  args: UntagResourceCommandInput,
@@ -428,12 +432,12 @@ export interface ServiceDiscovery {
428
432
  ): void;
429
433
  untagResource(
430
434
  args: UntagResourceCommandInput,
431
- options: __HttpHandlerOptions,
435
+ options: ServiceDiscoveryRequestOptions,
432
436
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
433
437
  ): void;
434
438
  updateHttpNamespace(
435
439
  args: UpdateHttpNamespaceCommandInput,
436
- options?: __HttpHandlerOptions,
440
+ options?: ServiceDiscoveryRequestOptions,
437
441
  ): Promise<UpdateHttpNamespaceCommandOutput>;
438
442
  updateHttpNamespace(
439
443
  args: UpdateHttpNamespaceCommandInput,
@@ -441,12 +445,12 @@ export interface ServiceDiscovery {
441
445
  ): void;
442
446
  updateHttpNamespace(
443
447
  args: UpdateHttpNamespaceCommandInput,
444
- options: __HttpHandlerOptions,
448
+ options: ServiceDiscoveryRequestOptions,
445
449
  cb: (err: any, data?: UpdateHttpNamespaceCommandOutput) => void,
446
450
  ): void;
447
451
  updateInstanceCustomHealthStatus(
448
452
  args: UpdateInstanceCustomHealthStatusCommandInput,
449
- options?: __HttpHandlerOptions,
453
+ options?: ServiceDiscoveryRequestOptions,
450
454
  ): Promise<UpdateInstanceCustomHealthStatusCommandOutput>;
451
455
  updateInstanceCustomHealthStatus(
452
456
  args: UpdateInstanceCustomHealthStatusCommandInput,
@@ -454,12 +458,12 @@ export interface ServiceDiscovery {
454
458
  ): void;
455
459
  updateInstanceCustomHealthStatus(
456
460
  args: UpdateInstanceCustomHealthStatusCommandInput,
457
- options: __HttpHandlerOptions,
461
+ options: ServiceDiscoveryRequestOptions,
458
462
  cb: (err: any, data?: UpdateInstanceCustomHealthStatusCommandOutput) => void,
459
463
  ): void;
460
464
  updatePrivateDnsNamespace(
461
465
  args: UpdatePrivateDnsNamespaceCommandInput,
462
- options?: __HttpHandlerOptions,
466
+ options?: ServiceDiscoveryRequestOptions,
463
467
  ): Promise<UpdatePrivateDnsNamespaceCommandOutput>;
464
468
  updatePrivateDnsNamespace(
465
469
  args: UpdatePrivateDnsNamespaceCommandInput,
@@ -467,12 +471,12 @@ export interface ServiceDiscovery {
467
471
  ): void;
468
472
  updatePrivateDnsNamespace(
469
473
  args: UpdatePrivateDnsNamespaceCommandInput,
470
- options: __HttpHandlerOptions,
474
+ options: ServiceDiscoveryRequestOptions,
471
475
  cb: (err: any, data?: UpdatePrivateDnsNamespaceCommandOutput) => void,
472
476
  ): void;
473
477
  updatePublicDnsNamespace(
474
478
  args: UpdatePublicDnsNamespaceCommandInput,
475
- options?: __HttpHandlerOptions,
479
+ options?: ServiceDiscoveryRequestOptions,
476
480
  ): Promise<UpdatePublicDnsNamespaceCommandOutput>;
477
481
  updatePublicDnsNamespace(
478
482
  args: UpdatePublicDnsNamespaceCommandInput,
@@ -480,12 +484,12 @@ export interface ServiceDiscovery {
480
484
  ): void;
481
485
  updatePublicDnsNamespace(
482
486
  args: UpdatePublicDnsNamespaceCommandInput,
483
- options: __HttpHandlerOptions,
487
+ options: ServiceDiscoveryRequestOptions,
484
488
  cb: (err: any, data?: UpdatePublicDnsNamespaceCommandOutput) => void,
485
489
  ): void;
486
490
  updateService(
487
491
  args: UpdateServiceCommandInput,
488
- options?: __HttpHandlerOptions,
492
+ options?: ServiceDiscoveryRequestOptions,
489
493
  ): Promise<UpdateServiceCommandOutput>;
490
494
  updateService(
491
495
  args: UpdateServiceCommandInput,
@@ -493,12 +497,12 @@ export interface ServiceDiscovery {
493
497
  ): void;
494
498
  updateService(
495
499
  args: UpdateServiceCommandInput,
496
- options: __HttpHandlerOptions,
500
+ options: ServiceDiscoveryRequestOptions,
497
501
  cb: (err: any, data?: UpdateServiceCommandOutput) => void,
498
502
  ): void;
499
503
  updateServiceAttributes(
500
504
  args: UpdateServiceAttributesCommandInput,
501
- options?: __HttpHandlerOptions,
505
+ options?: ServiceDiscoveryRequestOptions,
502
506
  ): Promise<UpdateServiceAttributesCommandOutput>;
503
507
  updateServiceAttributes(
504
508
  args: UpdateServiceAttributesCommandInput,
@@ -506,7 +510,7 @@ export interface ServiceDiscovery {
506
510
  ): void;
507
511
  updateServiceAttributes(
508
512
  args: UpdateServiceAttributesCommandInput,
509
- options: __HttpHandlerOptions,
513
+ options: ServiceDiscoveryRequestOptions,
510
514
  cb: (err: any, data?: UpdateServiceAttributesCommandOutput) => void,
511
515
  ): void;
512
516
  paginateGetInstancesHealthStatus(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-servicediscovery",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Servicediscovery Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-servicediscovery",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {