@aws-sdk/client-servicediscovery 3.864.0 → 3.872.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/README.md +6 -5
- package/dist-cjs/index.js +16 -1
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +7 -0
- package/dist-types/ServiceDiscovery.d.ts +6 -5
- package/dist-types/ServiceDiscoveryClient.d.ts +6 -5
- package/dist-types/commands/CreateHttpNamespaceCommand.d.ts +12 -9
- package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +14 -11
- package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +14 -13
- package/dist-types/commands/CreateServiceCommand.d.ts +14 -10
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +7 -6
- package/dist-types/commands/DeleteServiceAttributesCommand.d.ts +3 -2
- package/dist-types/commands/DeleteServiceCommand.d.ts +7 -6
- package/dist-types/commands/DeregisterInstanceCommand.d.ts +9 -8
- package/dist-types/commands/DiscoverInstancesCommand.d.ts +11 -8
- package/dist-types/commands/DiscoverInstancesRevisionCommand.d.ts +7 -5
- package/dist-types/commands/GetInstanceCommand.d.ts +7 -4
- package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +10 -8
- package/dist-types/commands/GetNamespaceCommand.d.ts +4 -2
- package/dist-types/commands/GetOperationCommand.d.ts +5 -2
- package/dist-types/commands/GetServiceAttributesCommand.d.ts +4 -2
- package/dist-types/commands/GetServiceCommand.d.ts +5 -2
- package/dist-types/commands/ListInstancesCommand.d.ts +7 -3
- package/dist-types/commands/ListNamespacesCommand.d.ts +6 -4
- package/dist-types/commands/ListOperationsCommand.d.ts +3 -2
- package/dist-types/commands/ListServicesCommand.d.ts +6 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -2
- package/dist-types/commands/RegisterInstanceCommand.d.ts +28 -22
- package/dist-types/commands/TagResourceCommand.d.ts +5 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -2
- package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +5 -4
- package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +13 -10
- package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +5 -4
- package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +6 -6
- package/dist-types/commands/UpdateServiceAttributesCommand.d.ts +5 -3
- package/dist-types/commands/UpdateServiceCommand.d.ts +24 -7
- package/dist-types/index.d.ts +6 -5
- package/dist-types/models/models_0.d.ts +960 -686
- package/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/package.json +2 -2
|
@@ -150,6 +150,7 @@ export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];
|
|
|
150
150
|
export interface Service {
|
|
151
151
|
Id?: string | undefined;
|
|
152
152
|
Arn?: string | undefined;
|
|
153
|
+
ResourceOwner?: string | undefined;
|
|
153
154
|
Name?: string | undefined;
|
|
154
155
|
NamespaceId?: string | undefined;
|
|
155
156
|
Description?: string | undefined;
|
|
@@ -160,6 +161,7 @@ export interface Service {
|
|
|
160
161
|
HealthCheckCustomConfig?: HealthCheckCustomConfig | undefined;
|
|
161
162
|
CreateDate?: Date | undefined;
|
|
162
163
|
CreatorRequestId?: string | undefined;
|
|
164
|
+
CreatedByAccount?: string | undefined;
|
|
163
165
|
}
|
|
164
166
|
export interface CreateServiceResponse {
|
|
165
167
|
Service?: Service | undefined;
|
|
@@ -176,6 +178,7 @@ export declare class ServiceAlreadyExists extends __BaseException {
|
|
|
176
178
|
Message?: string | undefined;
|
|
177
179
|
CreatorRequestId?: string | undefined;
|
|
178
180
|
ServiceId?: string | undefined;
|
|
181
|
+
ServiceArn?: string | undefined;
|
|
179
182
|
constructor(
|
|
180
183
|
opts: __ExceptionOptionType<ServiceAlreadyExists, __BaseException>
|
|
181
184
|
);
|
|
@@ -249,6 +252,7 @@ export interface DiscoverInstancesRequest {
|
|
|
249
252
|
QueryParameters?: Record<string, string> | undefined;
|
|
250
253
|
OptionalParameters?: Record<string, string> | undefined;
|
|
251
254
|
HealthStatus?: HealthStatusFilter | undefined;
|
|
255
|
+
OwnerAccount?: string | undefined;
|
|
252
256
|
}
|
|
253
257
|
export declare const HealthStatus: {
|
|
254
258
|
readonly HEALTHY: "HEALTHY";
|
|
@@ -278,6 +282,7 @@ export declare class RequestLimitExceeded extends __BaseException {
|
|
|
278
282
|
export interface DiscoverInstancesRevisionRequest {
|
|
279
283
|
NamespaceName: string | undefined;
|
|
280
284
|
ServiceName: string | undefined;
|
|
285
|
+
OwnerAccount?: string | undefined;
|
|
281
286
|
}
|
|
282
287
|
export interface DiscoverInstancesRevisionResponse {
|
|
283
288
|
InstancesRevision?: number | undefined;
|
|
@@ -305,8 +310,10 @@ export interface Instance {
|
|
|
305
310
|
Id: string | undefined;
|
|
306
311
|
CreatorRequestId?: string | undefined;
|
|
307
312
|
Attributes?: Record<string, string> | undefined;
|
|
313
|
+
CreatedByAccount?: string | undefined;
|
|
308
314
|
}
|
|
309
315
|
export interface GetInstanceResponse {
|
|
316
|
+
ResourceOwner?: string | undefined;
|
|
310
317
|
Instance?: Instance | undefined;
|
|
311
318
|
}
|
|
312
319
|
export interface GetInstancesHealthStatusRequest {
|
|
@@ -338,6 +345,7 @@ export type NamespaceType = (typeof NamespaceType)[keyof typeof NamespaceType];
|
|
|
338
345
|
export interface Namespace {
|
|
339
346
|
Id?: string | undefined;
|
|
340
347
|
Arn?: string | undefined;
|
|
348
|
+
ResourceOwner?: string | undefined;
|
|
341
349
|
Name?: string | undefined;
|
|
342
350
|
Type?: NamespaceType | undefined;
|
|
343
351
|
Description?: string | undefined;
|
|
@@ -351,6 +359,7 @@ export interface GetNamespaceResponse {
|
|
|
351
359
|
}
|
|
352
360
|
export interface GetOperationRequest {
|
|
353
361
|
OperationId: string | undefined;
|
|
362
|
+
OwnerAccount?: string | undefined;
|
|
354
363
|
}
|
|
355
364
|
export declare const OperationStatus: {
|
|
356
365
|
readonly FAIL: "FAIL";
|
|
@@ -378,6 +387,7 @@ export declare const OperationType: {
|
|
|
378
387
|
export type OperationType = (typeof OperationType)[keyof typeof OperationType];
|
|
379
388
|
export interface Operation {
|
|
380
389
|
Id?: string | undefined;
|
|
390
|
+
OwnerAccount?: string | undefined;
|
|
381
391
|
Type?: OperationType | undefined;
|
|
382
392
|
Status?: OperationStatus | undefined;
|
|
383
393
|
ErrorMessage?: string | undefined;
|
|
@@ -406,6 +416,7 @@ export interface GetServiceAttributesRequest {
|
|
|
406
416
|
}
|
|
407
417
|
export interface ServiceAttributes {
|
|
408
418
|
ServiceArn?: string | undefined;
|
|
419
|
+
ResourceOwner?: string | undefined;
|
|
409
420
|
Attributes?: Record<string, string> | undefined;
|
|
410
421
|
}
|
|
411
422
|
export interface GetServiceAttributesResponse {
|
|
@@ -417,6 +428,7 @@ export interface HttpNamespaceChange {
|
|
|
417
428
|
export interface InstanceSummary {
|
|
418
429
|
Id?: string | undefined;
|
|
419
430
|
Attributes?: Record<string, string> | undefined;
|
|
431
|
+
CreatedByAccount?: string | undefined;
|
|
420
432
|
}
|
|
421
433
|
export interface ListInstancesRequest {
|
|
422
434
|
ServiceId: string | undefined;
|
|
@@ -424,12 +436,14 @@ export interface ListInstancesRequest {
|
|
|
424
436
|
MaxResults?: number | undefined;
|
|
425
437
|
}
|
|
426
438
|
export interface ListInstancesResponse {
|
|
439
|
+
ResourceOwner?: string | undefined;
|
|
427
440
|
Instances?: InstanceSummary[] | undefined;
|
|
428
441
|
NextToken?: string | undefined;
|
|
429
442
|
}
|
|
430
443
|
export declare const NamespaceFilterName: {
|
|
431
444
|
readonly HTTP_NAME: "HTTP_NAME";
|
|
432
445
|
readonly NAME: "NAME";
|
|
446
|
+
readonly RESOURCE_OWNER: "RESOURCE_OWNER";
|
|
433
447
|
readonly TYPE: "TYPE";
|
|
434
448
|
};
|
|
435
449
|
export type NamespaceFilterName =
|
|
@@ -447,6 +461,7 @@ export interface ListNamespacesRequest {
|
|
|
447
461
|
export interface NamespaceSummary {
|
|
448
462
|
Id?: string | undefined;
|
|
449
463
|
Arn?: string | undefined;
|
|
464
|
+
ResourceOwner?: string | undefined;
|
|
450
465
|
Name?: string | undefined;
|
|
451
466
|
Type?: NamespaceType | undefined;
|
|
452
467
|
Description?: string | undefined;
|
|
@@ -487,6 +502,7 @@ export interface ListOperationsResponse {
|
|
|
487
502
|
}
|
|
488
503
|
export declare const ServiceFilterName: {
|
|
489
504
|
readonly NAMESPACE_ID: "NAMESPACE_ID";
|
|
505
|
+
readonly RESOURCE_OWNER: "RESOURCE_OWNER";
|
|
490
506
|
};
|
|
491
507
|
export type ServiceFilterName =
|
|
492
508
|
(typeof ServiceFilterName)[keyof typeof ServiceFilterName];
|
|
@@ -503,6 +519,7 @@ export interface ListServicesRequest {
|
|
|
503
519
|
export interface ServiceSummary {
|
|
504
520
|
Id?: string | undefined;
|
|
505
521
|
Arn?: string | undefined;
|
|
522
|
+
ResourceOwner?: string | undefined;
|
|
506
523
|
Name?: string | undefined;
|
|
507
524
|
Type?: ServiceType | undefined;
|
|
508
525
|
Description?: string | undefined;
|
|
@@ -511,6 +528,7 @@ export interface ServiceSummary {
|
|
|
511
528
|
HealthCheckConfig?: HealthCheckConfig | undefined;
|
|
512
529
|
HealthCheckCustomConfig?: HealthCheckCustomConfig | undefined;
|
|
513
530
|
CreateDate?: Date | undefined;
|
|
531
|
+
CreatedByAccount?: string | undefined;
|
|
514
532
|
}
|
|
515
533
|
export interface ListServicesResponse {
|
|
516
534
|
Services?: ServiceSummary[] | undefined;
|
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.
|
|
4
|
+
"version": "3.872.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",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.864.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.872.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.862.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.862.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.862.0",
|