@aws-sdk/client-servicediscovery 3.709.0 → 3.713.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 (27) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +142 -2
  3. package/dist-es/ServiceDiscovery.js +6 -0
  4. package/dist-es/commands/DeleteServiceAttributesCommand.js +22 -0
  5. package/dist-es/commands/GetServiceAttributesCommand.js +22 -0
  6. package/dist-es/commands/UpdateServiceAttributesCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +13 -0
  9. package/dist-es/protocols/Aws_json1_1.js +70 -1
  10. package/dist-types/ServiceDiscovery.d.ts +21 -0
  11. package/dist-types/ServiceDiscoveryClient.d.ts +5 -2
  12. package/dist-types/commands/DeleteServiceAttributesCommand.d.ts +93 -0
  13. package/dist-types/commands/DeleteServiceCommand.d.ts +1 -1
  14. package/dist-types/commands/GetServiceAttributesCommand.d.ts +104 -0
  15. package/dist-types/commands/UpdateServiceAttributesCommand.d.ts +96 -0
  16. package/dist-types/commands/index.d.ts +3 -0
  17. package/dist-types/models/models_0.d.ts +104 -5
  18. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  19. package/dist-types/ts3.4/ServiceDiscovery.d.ts +51 -0
  20. package/dist-types/ts3.4/ServiceDiscoveryClient.d.ts +18 -0
  21. package/dist-types/ts3.4/commands/DeleteServiceAttributesCommand.d.ts +51 -0
  22. package/dist-types/ts3.4/commands/GetServiceAttributesCommand.d.ts +51 -0
  23. package/dist-types/ts3.4/commands/UpdateServiceAttributesCommand.d.ts +51 -0
  24. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  25. package/dist-types/ts3.4/models/models_0.d.ts +31 -0
  26. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  27. package/package.json +14 -14
@@ -5,6 +5,7 @@ import { CreatePrivateDnsNamespaceCommandInput, CreatePrivateDnsNamespaceCommand
5
5
  import { CreatePublicDnsNamespaceCommandInput, CreatePublicDnsNamespaceCommandOutput } from "../commands/CreatePublicDnsNamespaceCommand";
6
6
  import { CreateServiceCommandInput, CreateServiceCommandOutput } from "../commands/CreateServiceCommand";
7
7
  import { DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput } from "../commands/DeleteNamespaceCommand";
8
+ import { DeleteServiceAttributesCommandInput, DeleteServiceAttributesCommandOutput } from "../commands/DeleteServiceAttributesCommand";
8
9
  import { DeleteServiceCommandInput, DeleteServiceCommandOutput } from "../commands/DeleteServiceCommand";
9
10
  import { DeregisterInstanceCommandInput, DeregisterInstanceCommandOutput } from "../commands/DeregisterInstanceCommand";
10
11
  import { DiscoverInstancesCommandInput, DiscoverInstancesCommandOutput } from "../commands/DiscoverInstancesCommand";
@@ -13,6 +14,7 @@ import { GetInstanceCommandInput, GetInstanceCommandOutput } from "../commands/G
13
14
  import { GetInstancesHealthStatusCommandInput, GetInstancesHealthStatusCommandOutput } from "../commands/GetInstancesHealthStatusCommand";
14
15
  import { GetNamespaceCommandInput, GetNamespaceCommandOutput } from "../commands/GetNamespaceCommand";
15
16
  import { GetOperationCommandInput, GetOperationCommandOutput } from "../commands/GetOperationCommand";
17
+ import { GetServiceAttributesCommandInput, GetServiceAttributesCommandOutput } from "../commands/GetServiceAttributesCommand";
16
18
  import { GetServiceCommandInput, GetServiceCommandOutput } from "../commands/GetServiceCommand";
17
19
  import { ListInstancesCommandInput, ListInstancesCommandOutput } from "../commands/ListInstancesCommand";
18
20
  import { ListNamespacesCommandInput, ListNamespacesCommandOutput } from "../commands/ListNamespacesCommand";
@@ -26,6 +28,7 @@ import { UpdateHttpNamespaceCommandInput, UpdateHttpNamespaceCommandOutput } fro
26
28
  import { UpdateInstanceCustomHealthStatusCommandInput, UpdateInstanceCustomHealthStatusCommandOutput } from "../commands/UpdateInstanceCustomHealthStatusCommand";
27
29
  import { UpdatePrivateDnsNamespaceCommandInput, UpdatePrivateDnsNamespaceCommandOutput } from "../commands/UpdatePrivateDnsNamespaceCommand";
28
30
  import { UpdatePublicDnsNamespaceCommandInput, UpdatePublicDnsNamespaceCommandOutput } from "../commands/UpdatePublicDnsNamespaceCommand";
31
+ import { UpdateServiceAttributesCommandInput, UpdateServiceAttributesCommandOutput } from "../commands/UpdateServiceAttributesCommand";
29
32
  import { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "../commands/UpdateServiceCommand";
30
33
  /**
31
34
  * serializeAws_json1_1CreateHttpNamespaceCommand
@@ -51,6 +54,10 @@ export declare const se_DeleteNamespaceCommand: (input: DeleteNamespaceCommandIn
51
54
  * serializeAws_json1_1DeleteServiceCommand
52
55
  */
53
56
  export declare const se_DeleteServiceCommand: (input: DeleteServiceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
57
+ /**
58
+ * serializeAws_json1_1DeleteServiceAttributesCommand
59
+ */
60
+ export declare const se_DeleteServiceAttributesCommand: (input: DeleteServiceAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
54
61
  /**
55
62
  * serializeAws_json1_1DeregisterInstanceCommand
56
63
  */
@@ -83,6 +90,10 @@ export declare const se_GetOperationCommand: (input: GetOperationCommandInput, c
83
90
  * serializeAws_json1_1GetServiceCommand
84
91
  */
85
92
  export declare const se_GetServiceCommand: (input: GetServiceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
93
+ /**
94
+ * serializeAws_json1_1GetServiceAttributesCommand
95
+ */
96
+ export declare const se_GetServiceAttributesCommand: (input: GetServiceAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
86
97
  /**
87
98
  * serializeAws_json1_1ListInstancesCommand
88
99
  */
@@ -135,6 +146,10 @@ export declare const se_UpdatePublicDnsNamespaceCommand: (input: UpdatePublicDns
135
146
  * serializeAws_json1_1UpdateServiceCommand
136
147
  */
137
148
  export declare const se_UpdateServiceCommand: (input: UpdateServiceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
149
+ /**
150
+ * serializeAws_json1_1UpdateServiceAttributesCommand
151
+ */
152
+ export declare const se_UpdateServiceAttributesCommand: (input: UpdateServiceAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
138
153
  /**
139
154
  * deserializeAws_json1_1CreateHttpNamespaceCommand
140
155
  */
@@ -159,6 +174,10 @@ export declare const de_DeleteNamespaceCommand: (output: __HttpResponse, context
159
174
  * deserializeAws_json1_1DeleteServiceCommand
160
175
  */
161
176
  export declare const de_DeleteServiceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteServiceCommandOutput>;
177
+ /**
178
+ * deserializeAws_json1_1DeleteServiceAttributesCommand
179
+ */
180
+ export declare const de_DeleteServiceAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteServiceAttributesCommandOutput>;
162
181
  /**
163
182
  * deserializeAws_json1_1DeregisterInstanceCommand
164
183
  */
@@ -191,6 +210,10 @@ export declare const de_GetOperationCommand: (output: __HttpResponse, context: _
191
210
  * deserializeAws_json1_1GetServiceCommand
192
211
  */
193
212
  export declare const de_GetServiceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetServiceCommandOutput>;
213
+ /**
214
+ * deserializeAws_json1_1GetServiceAttributesCommand
215
+ */
216
+ export declare const de_GetServiceAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetServiceAttributesCommandOutput>;
194
217
  /**
195
218
  * deserializeAws_json1_1ListInstancesCommand
196
219
  */
@@ -243,3 +266,7 @@ export declare const de_UpdatePublicDnsNamespaceCommand: (output: __HttpResponse
243
266
  * deserializeAws_json1_1UpdateServiceCommand
244
267
  */
245
268
  export declare const de_UpdateServiceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateServiceCommandOutput>;
269
+ /**
270
+ * deserializeAws_json1_1UpdateServiceAttributesCommand
271
+ */
272
+ export declare const de_UpdateServiceAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateServiceAttributesCommandOutput>;
@@ -19,6 +19,10 @@ import {
19
19
  DeleteNamespaceCommandInput,
20
20
  DeleteNamespaceCommandOutput,
21
21
  } from "./commands/DeleteNamespaceCommand";
22
+ import {
23
+ DeleteServiceAttributesCommandInput,
24
+ DeleteServiceAttributesCommandOutput,
25
+ } from "./commands/DeleteServiceAttributesCommand";
22
26
  import {
23
27
  DeleteServiceCommandInput,
24
28
  DeleteServiceCommandOutput,
@@ -51,6 +55,10 @@ import {
51
55
  GetOperationCommandInput,
52
56
  GetOperationCommandOutput,
53
57
  } from "./commands/GetOperationCommand";
58
+ import {
59
+ GetServiceAttributesCommandInput,
60
+ GetServiceAttributesCommandOutput,
61
+ } from "./commands/GetServiceAttributesCommand";
54
62
  import {
55
63
  GetServiceCommandInput,
56
64
  GetServiceCommandOutput,
@@ -103,6 +111,10 @@ import {
103
111
  UpdatePublicDnsNamespaceCommandInput,
104
112
  UpdatePublicDnsNamespaceCommandOutput,
105
113
  } from "./commands/UpdatePublicDnsNamespaceCommand";
114
+ import {
115
+ UpdateServiceAttributesCommandInput,
116
+ UpdateServiceAttributesCommandOutput,
117
+ } from "./commands/UpdateServiceAttributesCommand";
106
118
  import {
107
119
  UpdateServiceCommandInput,
108
120
  UpdateServiceCommandOutput,
@@ -187,6 +199,19 @@ export interface ServiceDiscovery {
187
199
  options: __HttpHandlerOptions,
188
200
  cb: (err: any, data?: DeleteServiceCommandOutput) => void
189
201
  ): void;
202
+ deleteServiceAttributes(
203
+ args: DeleteServiceAttributesCommandInput,
204
+ options?: __HttpHandlerOptions
205
+ ): Promise<DeleteServiceAttributesCommandOutput>;
206
+ deleteServiceAttributes(
207
+ args: DeleteServiceAttributesCommandInput,
208
+ cb: (err: any, data?: DeleteServiceAttributesCommandOutput) => void
209
+ ): void;
210
+ deleteServiceAttributes(
211
+ args: DeleteServiceAttributesCommandInput,
212
+ options: __HttpHandlerOptions,
213
+ cb: (err: any, data?: DeleteServiceAttributesCommandOutput) => void
214
+ ): void;
190
215
  deregisterInstance(
191
216
  args: DeregisterInstanceCommandInput,
192
217
  options?: __HttpHandlerOptions
@@ -291,6 +316,19 @@ export interface ServiceDiscovery {
291
316
  options: __HttpHandlerOptions,
292
317
  cb: (err: any, data?: GetServiceCommandOutput) => void
293
318
  ): void;
319
+ getServiceAttributes(
320
+ args: GetServiceAttributesCommandInput,
321
+ options?: __HttpHandlerOptions
322
+ ): Promise<GetServiceAttributesCommandOutput>;
323
+ getServiceAttributes(
324
+ args: GetServiceAttributesCommandInput,
325
+ cb: (err: any, data?: GetServiceAttributesCommandOutput) => void
326
+ ): void;
327
+ getServiceAttributes(
328
+ args: GetServiceAttributesCommandInput,
329
+ options: __HttpHandlerOptions,
330
+ cb: (err: any, data?: GetServiceAttributesCommandOutput) => void
331
+ ): void;
294
332
  listInstances(
295
333
  args: ListInstancesCommandInput,
296
334
  options?: __HttpHandlerOptions
@@ -463,6 +501,19 @@ export interface ServiceDiscovery {
463
501
  options: __HttpHandlerOptions,
464
502
  cb: (err: any, data?: UpdateServiceCommandOutput) => void
465
503
  ): void;
504
+ updateServiceAttributes(
505
+ args: UpdateServiceAttributesCommandInput,
506
+ options?: __HttpHandlerOptions
507
+ ): Promise<UpdateServiceAttributesCommandOutput>;
508
+ updateServiceAttributes(
509
+ args: UpdateServiceAttributesCommandInput,
510
+ cb: (err: any, data?: UpdateServiceAttributesCommandOutput) => void
511
+ ): void;
512
+ updateServiceAttributes(
513
+ args: UpdateServiceAttributesCommandInput,
514
+ options: __HttpHandlerOptions,
515
+ cb: (err: any, data?: UpdateServiceAttributesCommandOutput) => void
516
+ ): void;
466
517
  }
467
518
  export declare class ServiceDiscovery
468
519
  extends ServiceDiscoveryClient
@@ -65,6 +65,10 @@ import {
65
65
  DeleteNamespaceCommandInput,
66
66
  DeleteNamespaceCommandOutput,
67
67
  } from "./commands/DeleteNamespaceCommand";
68
+ import {
69
+ DeleteServiceAttributesCommandInput,
70
+ DeleteServiceAttributesCommandOutput,
71
+ } from "./commands/DeleteServiceAttributesCommand";
68
72
  import {
69
73
  DeleteServiceCommandInput,
70
74
  DeleteServiceCommandOutput,
@@ -97,6 +101,10 @@ import {
97
101
  GetOperationCommandInput,
98
102
  GetOperationCommandOutput,
99
103
  } from "./commands/GetOperationCommand";
104
+ import {
105
+ GetServiceAttributesCommandInput,
106
+ GetServiceAttributesCommandOutput,
107
+ } from "./commands/GetServiceAttributesCommand";
100
108
  import {
101
109
  GetServiceCommandInput,
102
110
  GetServiceCommandOutput,
@@ -149,6 +157,10 @@ import {
149
157
  UpdatePublicDnsNamespaceCommandInput,
150
158
  UpdatePublicDnsNamespaceCommandOutput,
151
159
  } from "./commands/UpdatePublicDnsNamespaceCommand";
160
+ import {
161
+ UpdateServiceAttributesCommandInput,
162
+ UpdateServiceAttributesCommandOutput,
163
+ } from "./commands/UpdateServiceAttributesCommand";
152
164
  import {
153
165
  UpdateServiceCommandInput,
154
166
  UpdateServiceCommandOutput,
@@ -166,6 +178,7 @@ export type ServiceInputTypes =
166
178
  | CreatePublicDnsNamespaceCommandInput
167
179
  | CreateServiceCommandInput
168
180
  | DeleteNamespaceCommandInput
181
+ | DeleteServiceAttributesCommandInput
169
182
  | DeleteServiceCommandInput
170
183
  | DeregisterInstanceCommandInput
171
184
  | DiscoverInstancesCommandInput
@@ -174,6 +187,7 @@ export type ServiceInputTypes =
174
187
  | GetInstancesHealthStatusCommandInput
175
188
  | GetNamespaceCommandInput
176
189
  | GetOperationCommandInput
190
+ | GetServiceAttributesCommandInput
177
191
  | GetServiceCommandInput
178
192
  | ListInstancesCommandInput
179
193
  | ListNamespacesCommandInput
@@ -187,6 +201,7 @@ export type ServiceInputTypes =
187
201
  | UpdateInstanceCustomHealthStatusCommandInput
188
202
  | UpdatePrivateDnsNamespaceCommandInput
189
203
  | UpdatePublicDnsNamespaceCommandInput
204
+ | UpdateServiceAttributesCommandInput
190
205
  | UpdateServiceCommandInput;
191
206
  export type ServiceOutputTypes =
192
207
  | CreateHttpNamespaceCommandOutput
@@ -194,6 +209,7 @@ export type ServiceOutputTypes =
194
209
  | CreatePublicDnsNamespaceCommandOutput
195
210
  | CreateServiceCommandOutput
196
211
  | DeleteNamespaceCommandOutput
212
+ | DeleteServiceAttributesCommandOutput
197
213
  | DeleteServiceCommandOutput
198
214
  | DeregisterInstanceCommandOutput
199
215
  | DiscoverInstancesCommandOutput
@@ -202,6 +218,7 @@ export type ServiceOutputTypes =
202
218
  | GetInstancesHealthStatusCommandOutput
203
219
  | GetNamespaceCommandOutput
204
220
  | GetOperationCommandOutput
221
+ | GetServiceAttributesCommandOutput
205
222
  | GetServiceCommandOutput
206
223
  | ListInstancesCommandOutput
207
224
  | ListNamespacesCommandOutput
@@ -215,6 +232,7 @@ export type ServiceOutputTypes =
215
232
  | UpdateInstanceCustomHealthStatusCommandOutput
216
233
  | UpdatePrivateDnsNamespaceCommandOutput
217
234
  | UpdatePublicDnsNamespaceCommandOutput
235
+ | UpdateServiceAttributesCommandOutput
218
236
  | UpdateServiceCommandOutput;
219
237
  export interface ClientDefaults
220
238
  extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeleteServiceAttributesRequest,
5
+ DeleteServiceAttributesResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceDiscoveryClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../ServiceDiscoveryClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteServiceAttributesCommandInput
15
+ extends DeleteServiceAttributesRequest {}
16
+ export interface DeleteServiceAttributesCommandOutput
17
+ extends DeleteServiceAttributesResponse,
18
+ __MetadataBearer {}
19
+ declare const DeleteServiceAttributesCommand_base: {
20
+ new (
21
+ input: DeleteServiceAttributesCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteServiceAttributesCommandInput,
24
+ DeleteServiceAttributesCommandOutput,
25
+ ServiceDiscoveryClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DeleteServiceAttributesCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteServiceAttributesCommandInput,
33
+ DeleteServiceAttributesCommandOutput,
34
+ ServiceDiscoveryClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteServiceAttributesCommand extends DeleteServiceAttributesCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteServiceAttributesRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DeleteServiceAttributesCommandInput;
48
+ output: DeleteServiceAttributesCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetServiceAttributesRequest,
5
+ GetServiceAttributesResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceDiscoveryClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../ServiceDiscoveryClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetServiceAttributesCommandInput
15
+ extends GetServiceAttributesRequest {}
16
+ export interface GetServiceAttributesCommandOutput
17
+ extends GetServiceAttributesResponse,
18
+ __MetadataBearer {}
19
+ declare const GetServiceAttributesCommand_base: {
20
+ new (
21
+ input: GetServiceAttributesCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetServiceAttributesCommandInput,
24
+ GetServiceAttributesCommandOutput,
25
+ ServiceDiscoveryClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetServiceAttributesCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetServiceAttributesCommandInput,
33
+ GetServiceAttributesCommandOutput,
34
+ ServiceDiscoveryClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetServiceAttributesCommand extends GetServiceAttributesCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetServiceAttributesRequest;
44
+ output: GetServiceAttributesResponse;
45
+ };
46
+ sdk: {
47
+ input: GetServiceAttributesCommandInput;
48
+ output: GetServiceAttributesCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ UpdateServiceAttributesRequest,
5
+ UpdateServiceAttributesResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceDiscoveryClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../ServiceDiscoveryClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateServiceAttributesCommandInput
15
+ extends UpdateServiceAttributesRequest {}
16
+ export interface UpdateServiceAttributesCommandOutput
17
+ extends UpdateServiceAttributesResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateServiceAttributesCommand_base: {
20
+ new (
21
+ input: UpdateServiceAttributesCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateServiceAttributesCommandInput,
24
+ UpdateServiceAttributesCommandOutput,
25
+ ServiceDiscoveryClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: UpdateServiceAttributesCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateServiceAttributesCommandInput,
33
+ UpdateServiceAttributesCommandOutput,
34
+ ServiceDiscoveryClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateServiceAttributesCommand extends UpdateServiceAttributesCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateServiceAttributesRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: UpdateServiceAttributesCommandInput;
48
+ output: UpdateServiceAttributesCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -3,6 +3,7 @@ export * from "./CreatePrivateDnsNamespaceCommand";
3
3
  export * from "./CreatePublicDnsNamespaceCommand";
4
4
  export * from "./CreateServiceCommand";
5
5
  export * from "./DeleteNamespaceCommand";
6
+ export * from "./DeleteServiceAttributesCommand";
6
7
  export * from "./DeleteServiceCommand";
7
8
  export * from "./DeregisterInstanceCommand";
8
9
  export * from "./DiscoverInstancesCommand";
@@ -11,6 +12,7 @@ export * from "./GetInstanceCommand";
11
12
  export * from "./GetInstancesHealthStatusCommand";
12
13
  export * from "./GetNamespaceCommand";
13
14
  export * from "./GetOperationCommand";
15
+ export * from "./GetServiceAttributesCommand";
14
16
  export * from "./GetServiceCommand";
15
17
  export * from "./ListInstancesCommand";
16
18
  export * from "./ListNamespacesCommand";
@@ -24,4 +26,5 @@ export * from "./UpdateHttpNamespaceCommand";
24
26
  export * from "./UpdateInstanceCustomHealthStatusCommand";
25
27
  export * from "./UpdatePrivateDnsNamespaceCommand";
26
28
  export * from "./UpdatePublicDnsNamespaceCommand";
29
+ export * from "./UpdateServiceAttributesCommand";
27
30
  export * from "./UpdateServiceCommand";
@@ -216,6 +216,11 @@ export declare class ServiceNotFound extends __BaseException {
216
216
  Message?: string | undefined;
217
217
  constructor(opts: __ExceptionOptionType<ServiceNotFound, __BaseException>);
218
218
  }
219
+ export interface DeleteServiceAttributesRequest {
220
+ ServiceId: string | undefined;
221
+ Attributes: string[] | undefined;
222
+ }
223
+ export interface DeleteServiceAttributesResponse {}
219
224
  export interface DeregisterInstanceRequest {
220
225
  ServiceId: string | undefined;
221
226
  InstanceId: string | undefined;
@@ -396,6 +401,16 @@ export interface GetServiceRequest {
396
401
  export interface GetServiceResponse {
397
402
  Service?: Service | undefined;
398
403
  }
404
+ export interface GetServiceAttributesRequest {
405
+ ServiceId: string | undefined;
406
+ }
407
+ export interface ServiceAttributes {
408
+ ServiceArn?: string | undefined;
409
+ Attributes?: Record<string, string> | undefined;
410
+ }
411
+ export interface GetServiceAttributesResponse {
412
+ ServiceAttributes?: ServiceAttributes | undefined;
413
+ }
399
414
  export interface HttpNamespaceChange {
400
415
  Description: string | undefined;
401
416
  }
@@ -598,3 +613,19 @@ export interface UpdateServiceRequest {
598
613
  export interface UpdateServiceResponse {
599
614
  OperationId?: string | undefined;
600
615
  }
616
+ export declare class ServiceAttributesLimitExceededException extends __BaseException {
617
+ readonly name: "ServiceAttributesLimitExceededException";
618
+ readonly $fault: "client";
619
+ Message?: string | undefined;
620
+ constructor(
621
+ opts: __ExceptionOptionType<
622
+ ServiceAttributesLimitExceededException,
623
+ __BaseException
624
+ >
625
+ );
626
+ }
627
+ export interface UpdateServiceAttributesRequest {
628
+ ServiceId: string | undefined;
629
+ Attributes: Record<string, string> | undefined;
630
+ }
631
+ export interface UpdateServiceAttributesResponse {}
@@ -23,6 +23,10 @@ import {
23
23
  DeleteNamespaceCommandInput,
24
24
  DeleteNamespaceCommandOutput,
25
25
  } from "../commands/DeleteNamespaceCommand";
26
+ import {
27
+ DeleteServiceAttributesCommandInput,
28
+ DeleteServiceAttributesCommandOutput,
29
+ } from "../commands/DeleteServiceAttributesCommand";
26
30
  import {
27
31
  DeleteServiceCommandInput,
28
32
  DeleteServiceCommandOutput,
@@ -55,6 +59,10 @@ import {
55
59
  GetOperationCommandInput,
56
60
  GetOperationCommandOutput,
57
61
  } from "../commands/GetOperationCommand";
62
+ import {
63
+ GetServiceAttributesCommandInput,
64
+ GetServiceAttributesCommandOutput,
65
+ } from "../commands/GetServiceAttributesCommand";
58
66
  import {
59
67
  GetServiceCommandInput,
60
68
  GetServiceCommandOutput,
@@ -107,6 +115,10 @@ import {
107
115
  UpdatePublicDnsNamespaceCommandInput,
108
116
  UpdatePublicDnsNamespaceCommandOutput,
109
117
  } from "../commands/UpdatePublicDnsNamespaceCommand";
118
+ import {
119
+ UpdateServiceAttributesCommandInput,
120
+ UpdateServiceAttributesCommandOutput,
121
+ } from "../commands/UpdateServiceAttributesCommand";
110
122
  import {
111
123
  UpdateServiceCommandInput,
112
124
  UpdateServiceCommandOutput,
@@ -135,6 +147,10 @@ export declare const se_DeleteServiceCommand: (
135
147
  input: DeleteServiceCommandInput,
136
148
  context: __SerdeContext
137
149
  ) => Promise<__HttpRequest>;
150
+ export declare const se_DeleteServiceAttributesCommand: (
151
+ input: DeleteServiceAttributesCommandInput,
152
+ context: __SerdeContext
153
+ ) => Promise<__HttpRequest>;
138
154
  export declare const se_DeregisterInstanceCommand: (
139
155
  input: DeregisterInstanceCommandInput,
140
156
  context: __SerdeContext
@@ -167,6 +183,10 @@ export declare const se_GetServiceCommand: (
167
183
  input: GetServiceCommandInput,
168
184
  context: __SerdeContext
169
185
  ) => Promise<__HttpRequest>;
186
+ export declare const se_GetServiceAttributesCommand: (
187
+ input: GetServiceAttributesCommandInput,
188
+ context: __SerdeContext
189
+ ) => Promise<__HttpRequest>;
170
190
  export declare const se_ListInstancesCommand: (
171
191
  input: ListInstancesCommandInput,
172
192
  context: __SerdeContext
@@ -219,6 +239,10 @@ export declare const se_UpdateServiceCommand: (
219
239
  input: UpdateServiceCommandInput,
220
240
  context: __SerdeContext
221
241
  ) => Promise<__HttpRequest>;
242
+ export declare const se_UpdateServiceAttributesCommand: (
243
+ input: UpdateServiceAttributesCommandInput,
244
+ context: __SerdeContext
245
+ ) => Promise<__HttpRequest>;
222
246
  export declare const de_CreateHttpNamespaceCommand: (
223
247
  output: __HttpResponse,
224
248
  context: __SerdeContext
@@ -243,6 +267,10 @@ export declare const de_DeleteServiceCommand: (
243
267
  output: __HttpResponse,
244
268
  context: __SerdeContext
245
269
  ) => Promise<DeleteServiceCommandOutput>;
270
+ export declare const de_DeleteServiceAttributesCommand: (
271
+ output: __HttpResponse,
272
+ context: __SerdeContext
273
+ ) => Promise<DeleteServiceAttributesCommandOutput>;
246
274
  export declare const de_DeregisterInstanceCommand: (
247
275
  output: __HttpResponse,
248
276
  context: __SerdeContext
@@ -275,6 +303,10 @@ export declare const de_GetServiceCommand: (
275
303
  output: __HttpResponse,
276
304
  context: __SerdeContext
277
305
  ) => Promise<GetServiceCommandOutput>;
306
+ export declare const de_GetServiceAttributesCommand: (
307
+ output: __HttpResponse,
308
+ context: __SerdeContext
309
+ ) => Promise<GetServiceAttributesCommandOutput>;
278
310
  export declare const de_ListInstancesCommand: (
279
311
  output: __HttpResponse,
280
312
  context: __SerdeContext
@@ -327,3 +359,7 @@ export declare const de_UpdateServiceCommand: (
327
359
  output: __HttpResponse,
328
360
  context: __SerdeContext
329
361
  ) => Promise<UpdateServiceCommandOutput>;
362
+ export declare const de_UpdateServiceAttributesCommand: (
363
+ output: __HttpResponse,
364
+ context: __SerdeContext
365
+ ) => Promise<UpdateServiceAttributesCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-servicediscovery",
3
3
  "description": "AWS SDK for JavaScript Servicediscovery Client for Node.js, Browser and React Native",
4
- "version": "3.709.0",
4
+ "version": "3.713.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-servicediscovery",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.709.0",
24
- "@aws-sdk/client-sts": "3.709.0",
25
- "@aws-sdk/core": "3.709.0",
26
- "@aws-sdk/credential-provider-node": "3.709.0",
27
- "@aws-sdk/middleware-host-header": "3.709.0",
28
- "@aws-sdk/middleware-logger": "3.709.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.709.0",
30
- "@aws-sdk/middleware-user-agent": "3.709.0",
31
- "@aws-sdk/region-config-resolver": "3.709.0",
32
- "@aws-sdk/types": "3.709.0",
33
- "@aws-sdk/util-endpoints": "3.709.0",
34
- "@aws-sdk/util-user-agent-browser": "3.709.0",
35
- "@aws-sdk/util-user-agent-node": "3.709.0",
23
+ "@aws-sdk/client-sso-oidc": "3.713.0",
24
+ "@aws-sdk/client-sts": "3.713.0",
25
+ "@aws-sdk/core": "3.713.0",
26
+ "@aws-sdk/credential-provider-node": "3.713.0",
27
+ "@aws-sdk/middleware-host-header": "3.713.0",
28
+ "@aws-sdk/middleware-logger": "3.713.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.713.0",
30
+ "@aws-sdk/middleware-user-agent": "3.713.0",
31
+ "@aws-sdk/region-config-resolver": "3.713.0",
32
+ "@aws-sdk/types": "3.713.0",
33
+ "@aws-sdk/util-endpoints": "3.713.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.713.0",
35
+ "@aws-sdk/util-user-agent-node": "3.713.0",
36
36
  "@smithy/config-resolver": "^3.0.13",
37
37
  "@smithy/core": "^2.5.5",
38
38
  "@smithy/fetch-http-handler": "^4.1.2",