@aws-sdk/client-servicediscovery 3.686.0 → 3.691.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-types/models/models_0.d.ts +168 -168
- package/dist-types/ts3.4/models/models_0.d.ts +168 -168
- package/package.json +7 -7
|
@@ -6,32 +6,32 @@ export interface Tag {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateHttpNamespaceRequest {
|
|
8
8
|
Name: string | undefined;
|
|
9
|
-
CreatorRequestId?: string;
|
|
10
|
-
Description?: string;
|
|
11
|
-
Tags?: Tag[];
|
|
9
|
+
CreatorRequestId?: string | undefined;
|
|
10
|
+
Description?: string | undefined;
|
|
11
|
+
Tags?: Tag[] | undefined;
|
|
12
12
|
}
|
|
13
13
|
export interface CreateHttpNamespaceResponse {
|
|
14
|
-
OperationId?: string;
|
|
14
|
+
OperationId?: string | undefined;
|
|
15
15
|
}
|
|
16
16
|
export declare class DuplicateRequest extends __BaseException {
|
|
17
17
|
readonly name: "DuplicateRequest";
|
|
18
18
|
readonly $fault: "client";
|
|
19
|
-
Message?: string;
|
|
20
|
-
DuplicateOperationId?: string;
|
|
19
|
+
Message?: string | undefined;
|
|
20
|
+
DuplicateOperationId?: string | undefined;
|
|
21
21
|
constructor(opts: __ExceptionOptionType<DuplicateRequest, __BaseException>);
|
|
22
22
|
}
|
|
23
23
|
export declare class InvalidInput extends __BaseException {
|
|
24
24
|
readonly name: "InvalidInput";
|
|
25
25
|
readonly $fault: "client";
|
|
26
|
-
Message?: string;
|
|
26
|
+
Message?: string | undefined;
|
|
27
27
|
constructor(opts: __ExceptionOptionType<InvalidInput, __BaseException>);
|
|
28
28
|
}
|
|
29
29
|
export declare class NamespaceAlreadyExists extends __BaseException {
|
|
30
30
|
readonly name: "NamespaceAlreadyExists";
|
|
31
31
|
readonly $fault: "client";
|
|
32
|
-
Message?: string;
|
|
33
|
-
CreatorRequestId?: string;
|
|
34
|
-
NamespaceId?: string;
|
|
32
|
+
Message?: string | undefined;
|
|
33
|
+
CreatorRequestId?: string | undefined;
|
|
34
|
+
NamespaceId?: string | undefined;
|
|
35
35
|
constructor(
|
|
36
36
|
opts: __ExceptionOptionType<NamespaceAlreadyExists, __BaseException>
|
|
37
37
|
);
|
|
@@ -39,7 +39,7 @@ export declare class NamespaceAlreadyExists extends __BaseException {
|
|
|
39
39
|
export declare class ResourceLimitExceeded extends __BaseException {
|
|
40
40
|
readonly name: "ResourceLimitExceeded";
|
|
41
41
|
readonly $fault: "client";
|
|
42
|
-
Message?: string;
|
|
42
|
+
Message?: string | undefined;
|
|
43
43
|
constructor(
|
|
44
44
|
opts: __ExceptionOptionType<ResourceLimitExceeded, __BaseException>
|
|
45
45
|
);
|
|
@@ -47,8 +47,8 @@ export declare class ResourceLimitExceeded extends __BaseException {
|
|
|
47
47
|
export declare class TooManyTagsException extends __BaseException {
|
|
48
48
|
readonly name: "TooManyTagsException";
|
|
49
49
|
readonly $fault: "client";
|
|
50
|
-
Message?: string;
|
|
51
|
-
ResourceName?: string;
|
|
50
|
+
Message?: string | undefined;
|
|
51
|
+
ResourceName?: string | undefined;
|
|
52
52
|
constructor(
|
|
53
53
|
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
54
54
|
);
|
|
@@ -64,14 +64,14 @@ export interface PrivateDnsNamespaceProperties {
|
|
|
64
64
|
}
|
|
65
65
|
export interface CreatePrivateDnsNamespaceRequest {
|
|
66
66
|
Name: string | undefined;
|
|
67
|
-
CreatorRequestId?: string;
|
|
68
|
-
Description?: string;
|
|
67
|
+
CreatorRequestId?: string | undefined;
|
|
68
|
+
Description?: string | undefined;
|
|
69
69
|
Vpc: string | undefined;
|
|
70
|
-
Tags?: Tag[];
|
|
71
|
-
Properties?: PrivateDnsNamespaceProperties;
|
|
70
|
+
Tags?: Tag[] | undefined;
|
|
71
|
+
Properties?: PrivateDnsNamespaceProperties | undefined;
|
|
72
72
|
}
|
|
73
73
|
export interface CreatePrivateDnsNamespaceResponse {
|
|
74
|
-
OperationId?: string;
|
|
74
|
+
OperationId?: string | undefined;
|
|
75
75
|
}
|
|
76
76
|
export interface PublicDnsPropertiesMutable {
|
|
77
77
|
SOA: SOA | undefined;
|
|
@@ -81,13 +81,13 @@ export interface PublicDnsNamespaceProperties {
|
|
|
81
81
|
}
|
|
82
82
|
export interface CreatePublicDnsNamespaceRequest {
|
|
83
83
|
Name: string | undefined;
|
|
84
|
-
CreatorRequestId?: string;
|
|
85
|
-
Description?: string;
|
|
86
|
-
Tags?: Tag[];
|
|
87
|
-
Properties?: PublicDnsNamespaceProperties;
|
|
84
|
+
CreatorRequestId?: string | undefined;
|
|
85
|
+
Description?: string | undefined;
|
|
86
|
+
Tags?: Tag[] | undefined;
|
|
87
|
+
Properties?: PublicDnsNamespaceProperties | undefined;
|
|
88
88
|
}
|
|
89
89
|
export interface CreatePublicDnsNamespaceResponse {
|
|
90
|
-
OperationId?: string;
|
|
90
|
+
OperationId?: string | undefined;
|
|
91
91
|
}
|
|
92
92
|
export declare const RecordType: {
|
|
93
93
|
readonly A: "A";
|
|
@@ -106,8 +106,8 @@ export declare const RoutingPolicy: {
|
|
|
106
106
|
};
|
|
107
107
|
export type RoutingPolicy = (typeof RoutingPolicy)[keyof typeof RoutingPolicy];
|
|
108
108
|
export interface DnsConfig {
|
|
109
|
-
NamespaceId?: string;
|
|
110
|
-
RoutingPolicy?: RoutingPolicy;
|
|
109
|
+
NamespaceId?: string | undefined;
|
|
110
|
+
RoutingPolicy?: RoutingPolicy | undefined;
|
|
111
111
|
DnsRecords: DnsRecord[] | undefined;
|
|
112
112
|
}
|
|
113
113
|
export declare const HealthCheckType: {
|
|
@@ -119,11 +119,11 @@ export type HealthCheckType =
|
|
|
119
119
|
(typeof HealthCheckType)[keyof typeof HealthCheckType];
|
|
120
120
|
export interface HealthCheckConfig {
|
|
121
121
|
Type: HealthCheckType | undefined;
|
|
122
|
-
ResourcePath?: string;
|
|
123
|
-
FailureThreshold?: number;
|
|
122
|
+
ResourcePath?: string | undefined;
|
|
123
|
+
FailureThreshold?: number | undefined;
|
|
124
124
|
}
|
|
125
125
|
export interface HealthCheckCustomConfig {
|
|
126
|
-
FailureThreshold?: number;
|
|
126
|
+
FailureThreshold?: number | undefined;
|
|
127
127
|
}
|
|
128
128
|
export declare const ServiceTypeOption: {
|
|
129
129
|
readonly HTTP: "HTTP";
|
|
@@ -132,14 +132,14 @@ export type ServiceTypeOption =
|
|
|
132
132
|
(typeof ServiceTypeOption)[keyof typeof ServiceTypeOption];
|
|
133
133
|
export interface CreateServiceRequest {
|
|
134
134
|
Name: string | undefined;
|
|
135
|
-
NamespaceId?: string;
|
|
136
|
-
CreatorRequestId?: string;
|
|
137
|
-
Description?: string;
|
|
138
|
-
DnsConfig?: DnsConfig;
|
|
139
|
-
HealthCheckConfig?: HealthCheckConfig;
|
|
140
|
-
HealthCheckCustomConfig?: HealthCheckCustomConfig;
|
|
141
|
-
Tags?: Tag[];
|
|
142
|
-
Type?: ServiceTypeOption;
|
|
135
|
+
NamespaceId?: string | undefined;
|
|
136
|
+
CreatorRequestId?: string | undefined;
|
|
137
|
+
Description?: string | undefined;
|
|
138
|
+
DnsConfig?: DnsConfig | undefined;
|
|
139
|
+
HealthCheckConfig?: HealthCheckConfig | undefined;
|
|
140
|
+
HealthCheckCustomConfig?: HealthCheckCustomConfig | undefined;
|
|
141
|
+
Tags?: Tag[] | undefined;
|
|
142
|
+
Type?: ServiceTypeOption | undefined;
|
|
143
143
|
}
|
|
144
144
|
export declare const ServiceType: {
|
|
145
145
|
readonly DNS: "DNS";
|
|
@@ -148,34 +148,34 @@ export declare const ServiceType: {
|
|
|
148
148
|
};
|
|
149
149
|
export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];
|
|
150
150
|
export interface Service {
|
|
151
|
-
Id?: string;
|
|
152
|
-
Arn?: string;
|
|
153
|
-
Name?: string;
|
|
154
|
-
NamespaceId?: string;
|
|
155
|
-
Description?: string;
|
|
156
|
-
InstanceCount?: number;
|
|
157
|
-
DnsConfig?: DnsConfig;
|
|
158
|
-
Type?: ServiceType;
|
|
159
|
-
HealthCheckConfig?: HealthCheckConfig;
|
|
160
|
-
HealthCheckCustomConfig?: HealthCheckCustomConfig;
|
|
161
|
-
CreateDate?: Date;
|
|
162
|
-
CreatorRequestId?: string;
|
|
151
|
+
Id?: string | undefined;
|
|
152
|
+
Arn?: string | undefined;
|
|
153
|
+
Name?: string | undefined;
|
|
154
|
+
NamespaceId?: string | undefined;
|
|
155
|
+
Description?: string | undefined;
|
|
156
|
+
InstanceCount?: number | undefined;
|
|
157
|
+
DnsConfig?: DnsConfig | undefined;
|
|
158
|
+
Type?: ServiceType | undefined;
|
|
159
|
+
HealthCheckConfig?: HealthCheckConfig | undefined;
|
|
160
|
+
HealthCheckCustomConfig?: HealthCheckCustomConfig | undefined;
|
|
161
|
+
CreateDate?: Date | undefined;
|
|
162
|
+
CreatorRequestId?: string | undefined;
|
|
163
163
|
}
|
|
164
164
|
export interface CreateServiceResponse {
|
|
165
|
-
Service?: Service;
|
|
165
|
+
Service?: Service | undefined;
|
|
166
166
|
}
|
|
167
167
|
export declare class NamespaceNotFound extends __BaseException {
|
|
168
168
|
readonly name: "NamespaceNotFound";
|
|
169
169
|
readonly $fault: "client";
|
|
170
|
-
Message?: string;
|
|
170
|
+
Message?: string | undefined;
|
|
171
171
|
constructor(opts: __ExceptionOptionType<NamespaceNotFound, __BaseException>);
|
|
172
172
|
}
|
|
173
173
|
export declare class ServiceAlreadyExists extends __BaseException {
|
|
174
174
|
readonly name: "ServiceAlreadyExists";
|
|
175
175
|
readonly $fault: "client";
|
|
176
|
-
Message?: string;
|
|
177
|
-
CreatorRequestId?: string;
|
|
178
|
-
ServiceId?: string;
|
|
176
|
+
Message?: string | undefined;
|
|
177
|
+
CreatorRequestId?: string | undefined;
|
|
178
|
+
ServiceId?: string | undefined;
|
|
179
179
|
constructor(
|
|
180
180
|
opts: __ExceptionOptionType<ServiceAlreadyExists, __BaseException>
|
|
181
181
|
);
|
|
@@ -183,7 +183,7 @@ export declare class ServiceAlreadyExists extends __BaseException {
|
|
|
183
183
|
export declare class CustomHealthNotFound extends __BaseException {
|
|
184
184
|
readonly name: "CustomHealthNotFound";
|
|
185
185
|
readonly $fault: "client";
|
|
186
|
-
Message?: string;
|
|
186
|
+
Message?: string | undefined;
|
|
187
187
|
constructor(
|
|
188
188
|
opts: __ExceptionOptionType<CustomHealthNotFound, __BaseException>
|
|
189
189
|
);
|
|
@@ -198,12 +198,12 @@ export interface DeleteNamespaceRequest {
|
|
|
198
198
|
Id: string | undefined;
|
|
199
199
|
}
|
|
200
200
|
export interface DeleteNamespaceResponse {
|
|
201
|
-
OperationId?: string;
|
|
201
|
+
OperationId?: string | undefined;
|
|
202
202
|
}
|
|
203
203
|
export declare class ResourceInUse extends __BaseException {
|
|
204
204
|
readonly name: "ResourceInUse";
|
|
205
205
|
readonly $fault: "client";
|
|
206
|
-
Message?: string;
|
|
206
|
+
Message?: string | undefined;
|
|
207
207
|
constructor(opts: __ExceptionOptionType<ResourceInUse, __BaseException>);
|
|
208
208
|
}
|
|
209
209
|
export interface DeleteServiceRequest {
|
|
@@ -213,7 +213,7 @@ export interface DeleteServiceResponse {}
|
|
|
213
213
|
export declare class ServiceNotFound extends __BaseException {
|
|
214
214
|
readonly name: "ServiceNotFound";
|
|
215
215
|
readonly $fault: "client";
|
|
216
|
-
Message?: string;
|
|
216
|
+
Message?: string | undefined;
|
|
217
217
|
constructor(opts: __ExceptionOptionType<ServiceNotFound, __BaseException>);
|
|
218
218
|
}
|
|
219
219
|
export interface DeregisterInstanceRequest {
|
|
@@ -221,12 +221,12 @@ export interface DeregisterInstanceRequest {
|
|
|
221
221
|
InstanceId: string | undefined;
|
|
222
222
|
}
|
|
223
223
|
export interface DeregisterInstanceResponse {
|
|
224
|
-
OperationId?: string;
|
|
224
|
+
OperationId?: string | undefined;
|
|
225
225
|
}
|
|
226
226
|
export declare class InstanceNotFound extends __BaseException {
|
|
227
227
|
readonly name: "InstanceNotFound";
|
|
228
228
|
readonly $fault: "client";
|
|
229
|
-
Message?: string;
|
|
229
|
+
Message?: string | undefined;
|
|
230
230
|
constructor(opts: __ExceptionOptionType<InstanceNotFound, __BaseException>);
|
|
231
231
|
}
|
|
232
232
|
export declare const HealthStatusFilter: {
|
|
@@ -240,10 +240,10 @@ export type HealthStatusFilter =
|
|
|
240
240
|
export interface DiscoverInstancesRequest {
|
|
241
241
|
NamespaceName: string | undefined;
|
|
242
242
|
ServiceName: string | undefined;
|
|
243
|
-
MaxResults?: number;
|
|
244
|
-
QueryParameters?: Record<string, string
|
|
245
|
-
OptionalParameters?: Record<string, string
|
|
246
|
-
HealthStatus?: HealthStatusFilter;
|
|
243
|
+
MaxResults?: number | undefined;
|
|
244
|
+
QueryParameters?: Record<string, string> | undefined;
|
|
245
|
+
OptionalParameters?: Record<string, string> | undefined;
|
|
246
|
+
HealthStatus?: HealthStatusFilter | undefined;
|
|
247
247
|
}
|
|
248
248
|
export declare const HealthStatus: {
|
|
249
249
|
readonly HEALTHY: "HEALTHY";
|
|
@@ -252,20 +252,20 @@ export declare const HealthStatus: {
|
|
|
252
252
|
};
|
|
253
253
|
export type HealthStatus = (typeof HealthStatus)[keyof typeof HealthStatus];
|
|
254
254
|
export interface HttpInstanceSummary {
|
|
255
|
-
InstanceId?: string;
|
|
256
|
-
NamespaceName?: string;
|
|
257
|
-
ServiceName?: string;
|
|
258
|
-
HealthStatus?: HealthStatus;
|
|
259
|
-
Attributes?: Record<string, string
|
|
255
|
+
InstanceId?: string | undefined;
|
|
256
|
+
NamespaceName?: string | undefined;
|
|
257
|
+
ServiceName?: string | undefined;
|
|
258
|
+
HealthStatus?: HealthStatus | undefined;
|
|
259
|
+
Attributes?: Record<string, string> | undefined;
|
|
260
260
|
}
|
|
261
261
|
export interface DiscoverInstancesResponse {
|
|
262
|
-
Instances?: HttpInstanceSummary[];
|
|
263
|
-
InstancesRevision?: number;
|
|
262
|
+
Instances?: HttpInstanceSummary[] | undefined;
|
|
263
|
+
InstancesRevision?: number | undefined;
|
|
264
264
|
}
|
|
265
265
|
export declare class RequestLimitExceeded extends __BaseException {
|
|
266
266
|
readonly name: "RequestLimitExceeded";
|
|
267
267
|
readonly $fault: "client";
|
|
268
|
-
Message?: string;
|
|
268
|
+
Message?: string | undefined;
|
|
269
269
|
constructor(
|
|
270
270
|
opts: __ExceptionOptionType<RequestLimitExceeded, __BaseException>
|
|
271
271
|
);
|
|
@@ -275,14 +275,14 @@ export interface DiscoverInstancesRevisionRequest {
|
|
|
275
275
|
ServiceName: string | undefined;
|
|
276
276
|
}
|
|
277
277
|
export interface DiscoverInstancesRevisionResponse {
|
|
278
|
-
InstancesRevision?: number;
|
|
278
|
+
InstancesRevision?: number | undefined;
|
|
279
279
|
}
|
|
280
280
|
export interface DnsConfigChange {
|
|
281
281
|
DnsRecords: DnsRecord[] | undefined;
|
|
282
282
|
}
|
|
283
283
|
export interface DnsProperties {
|
|
284
|
-
HostedZoneId?: string;
|
|
285
|
-
SOA?: SOA;
|
|
284
|
+
HostedZoneId?: string | undefined;
|
|
285
|
+
SOA?: SOA | undefined;
|
|
286
286
|
}
|
|
287
287
|
export declare const FilterCondition: {
|
|
288
288
|
readonly BEGINS_WITH: "BEGINS_WITH";
|
|
@@ -298,31 +298,31 @@ export interface GetInstanceRequest {
|
|
|
298
298
|
}
|
|
299
299
|
export interface Instance {
|
|
300
300
|
Id: string | undefined;
|
|
301
|
-
CreatorRequestId?: string;
|
|
302
|
-
Attributes?: Record<string, string
|
|
301
|
+
CreatorRequestId?: string | undefined;
|
|
302
|
+
Attributes?: Record<string, string> | undefined;
|
|
303
303
|
}
|
|
304
304
|
export interface GetInstanceResponse {
|
|
305
|
-
Instance?: Instance;
|
|
305
|
+
Instance?: Instance | undefined;
|
|
306
306
|
}
|
|
307
307
|
export interface GetInstancesHealthStatusRequest {
|
|
308
308
|
ServiceId: string | undefined;
|
|
309
|
-
Instances?: string[];
|
|
310
|
-
MaxResults?: number;
|
|
311
|
-
NextToken?: string;
|
|
309
|
+
Instances?: string[] | undefined;
|
|
310
|
+
MaxResults?: number | undefined;
|
|
311
|
+
NextToken?: string | undefined;
|
|
312
312
|
}
|
|
313
313
|
export interface GetInstancesHealthStatusResponse {
|
|
314
|
-
Status?: Record<string, HealthStatus
|
|
315
|
-
NextToken?: string;
|
|
314
|
+
Status?: Record<string, HealthStatus> | undefined;
|
|
315
|
+
NextToken?: string | undefined;
|
|
316
316
|
}
|
|
317
317
|
export interface GetNamespaceRequest {
|
|
318
318
|
Id: string | undefined;
|
|
319
319
|
}
|
|
320
320
|
export interface HttpProperties {
|
|
321
|
-
HttpName?: string;
|
|
321
|
+
HttpName?: string | undefined;
|
|
322
322
|
}
|
|
323
323
|
export interface NamespaceProperties {
|
|
324
|
-
DnsProperties?: DnsProperties;
|
|
325
|
-
HttpProperties?: HttpProperties;
|
|
324
|
+
DnsProperties?: DnsProperties | undefined;
|
|
325
|
+
HttpProperties?: HttpProperties | undefined;
|
|
326
326
|
}
|
|
327
327
|
export declare const NamespaceType: {
|
|
328
328
|
readonly DNS_PRIVATE: "DNS_PRIVATE";
|
|
@@ -331,18 +331,18 @@ export declare const NamespaceType: {
|
|
|
331
331
|
};
|
|
332
332
|
export type NamespaceType = (typeof NamespaceType)[keyof typeof NamespaceType];
|
|
333
333
|
export interface Namespace {
|
|
334
|
-
Id?: string;
|
|
335
|
-
Arn?: string;
|
|
336
|
-
Name?: string;
|
|
337
|
-
Type?: NamespaceType;
|
|
338
|
-
Description?: string;
|
|
339
|
-
ServiceCount?: number;
|
|
340
|
-
Properties?: NamespaceProperties;
|
|
341
|
-
CreateDate?: Date;
|
|
342
|
-
CreatorRequestId?: string;
|
|
334
|
+
Id?: string | undefined;
|
|
335
|
+
Arn?: string | undefined;
|
|
336
|
+
Name?: string | undefined;
|
|
337
|
+
Type?: NamespaceType | undefined;
|
|
338
|
+
Description?: string | undefined;
|
|
339
|
+
ServiceCount?: number | undefined;
|
|
340
|
+
Properties?: NamespaceProperties | undefined;
|
|
341
|
+
CreateDate?: Date | undefined;
|
|
342
|
+
CreatorRequestId?: string | undefined;
|
|
343
343
|
}
|
|
344
344
|
export interface GetNamespaceResponse {
|
|
345
|
-
Namespace?: Namespace;
|
|
345
|
+
Namespace?: Namespace | undefined;
|
|
346
346
|
}
|
|
347
347
|
export interface GetOperationRequest {
|
|
348
348
|
OperationId: string | undefined;
|
|
@@ -372,45 +372,45 @@ export declare const OperationType: {
|
|
|
372
372
|
};
|
|
373
373
|
export type OperationType = (typeof OperationType)[keyof typeof OperationType];
|
|
374
374
|
export interface Operation {
|
|
375
|
-
Id?: string;
|
|
376
|
-
Type?: OperationType;
|
|
377
|
-
Status?: OperationStatus;
|
|
378
|
-
ErrorMessage?: string;
|
|
379
|
-
ErrorCode?: string;
|
|
380
|
-
CreateDate?: Date;
|
|
381
|
-
UpdateDate?: Date;
|
|
382
|
-
Targets?: Partial<Record<OperationTargetType, string
|
|
375
|
+
Id?: string | undefined;
|
|
376
|
+
Type?: OperationType | undefined;
|
|
377
|
+
Status?: OperationStatus | undefined;
|
|
378
|
+
ErrorMessage?: string | undefined;
|
|
379
|
+
ErrorCode?: string | undefined;
|
|
380
|
+
CreateDate?: Date | undefined;
|
|
381
|
+
UpdateDate?: Date | undefined;
|
|
382
|
+
Targets?: Partial<Record<OperationTargetType, string>> | undefined;
|
|
383
383
|
}
|
|
384
384
|
export interface GetOperationResponse {
|
|
385
|
-
Operation?: Operation;
|
|
385
|
+
Operation?: Operation | undefined;
|
|
386
386
|
}
|
|
387
387
|
export declare class OperationNotFound extends __BaseException {
|
|
388
388
|
readonly name: "OperationNotFound";
|
|
389
389
|
readonly $fault: "client";
|
|
390
|
-
Message?: string;
|
|
390
|
+
Message?: string | undefined;
|
|
391
391
|
constructor(opts: __ExceptionOptionType<OperationNotFound, __BaseException>);
|
|
392
392
|
}
|
|
393
393
|
export interface GetServiceRequest {
|
|
394
394
|
Id: string | undefined;
|
|
395
395
|
}
|
|
396
396
|
export interface GetServiceResponse {
|
|
397
|
-
Service?: Service;
|
|
397
|
+
Service?: Service | undefined;
|
|
398
398
|
}
|
|
399
399
|
export interface HttpNamespaceChange {
|
|
400
400
|
Description: string | undefined;
|
|
401
401
|
}
|
|
402
402
|
export interface InstanceSummary {
|
|
403
|
-
Id?: string;
|
|
404
|
-
Attributes?: Record<string, string
|
|
403
|
+
Id?: string | undefined;
|
|
404
|
+
Attributes?: Record<string, string> | undefined;
|
|
405
405
|
}
|
|
406
406
|
export interface ListInstancesRequest {
|
|
407
407
|
ServiceId: string | undefined;
|
|
408
|
-
NextToken?: string;
|
|
409
|
-
MaxResults?: number;
|
|
408
|
+
NextToken?: string | undefined;
|
|
409
|
+
MaxResults?: number | undefined;
|
|
410
410
|
}
|
|
411
411
|
export interface ListInstancesResponse {
|
|
412
|
-
Instances?: InstanceSummary[];
|
|
413
|
-
NextToken?: string;
|
|
412
|
+
Instances?: InstanceSummary[] | undefined;
|
|
413
|
+
NextToken?: string | undefined;
|
|
414
414
|
}
|
|
415
415
|
export declare const NamespaceFilterName: {
|
|
416
416
|
readonly HTTP_NAME: "HTTP_NAME";
|
|
@@ -422,26 +422,26 @@ export type NamespaceFilterName =
|
|
|
422
422
|
export interface NamespaceFilter {
|
|
423
423
|
Name: NamespaceFilterName | undefined;
|
|
424
424
|
Values: string[] | undefined;
|
|
425
|
-
Condition?: FilterCondition;
|
|
425
|
+
Condition?: FilterCondition | undefined;
|
|
426
426
|
}
|
|
427
427
|
export interface ListNamespacesRequest {
|
|
428
|
-
NextToken?: string;
|
|
429
|
-
MaxResults?: number;
|
|
430
|
-
Filters?: NamespaceFilter[];
|
|
428
|
+
NextToken?: string | undefined;
|
|
429
|
+
MaxResults?: number | undefined;
|
|
430
|
+
Filters?: NamespaceFilter[] | undefined;
|
|
431
431
|
}
|
|
432
432
|
export interface NamespaceSummary {
|
|
433
|
-
Id?: string;
|
|
434
|
-
Arn?: string;
|
|
435
|
-
Name?: string;
|
|
436
|
-
Type?: NamespaceType;
|
|
437
|
-
Description?: string;
|
|
438
|
-
ServiceCount?: number;
|
|
439
|
-
Properties?: NamespaceProperties;
|
|
440
|
-
CreateDate?: Date;
|
|
433
|
+
Id?: string | undefined;
|
|
434
|
+
Arn?: string | undefined;
|
|
435
|
+
Name?: string | undefined;
|
|
436
|
+
Type?: NamespaceType | undefined;
|
|
437
|
+
Description?: string | undefined;
|
|
438
|
+
ServiceCount?: number | undefined;
|
|
439
|
+
Properties?: NamespaceProperties | undefined;
|
|
440
|
+
CreateDate?: Date | undefined;
|
|
441
441
|
}
|
|
442
442
|
export interface ListNamespacesResponse {
|
|
443
|
-
Namespaces?: NamespaceSummary[];
|
|
444
|
-
NextToken?: string;
|
|
443
|
+
Namespaces?: NamespaceSummary[] | undefined;
|
|
444
|
+
NextToken?: string | undefined;
|
|
445
445
|
}
|
|
446
446
|
export declare const OperationFilterName: {
|
|
447
447
|
readonly NAMESPACE_ID: "NAMESPACE_ID";
|
|
@@ -455,20 +455,20 @@ export type OperationFilterName =
|
|
|
455
455
|
export interface OperationFilter {
|
|
456
456
|
Name: OperationFilterName | undefined;
|
|
457
457
|
Values: string[] | undefined;
|
|
458
|
-
Condition?: FilterCondition;
|
|
458
|
+
Condition?: FilterCondition | undefined;
|
|
459
459
|
}
|
|
460
460
|
export interface ListOperationsRequest {
|
|
461
|
-
NextToken?: string;
|
|
462
|
-
MaxResults?: number;
|
|
463
|
-
Filters?: OperationFilter[];
|
|
461
|
+
NextToken?: string | undefined;
|
|
462
|
+
MaxResults?: number | undefined;
|
|
463
|
+
Filters?: OperationFilter[] | undefined;
|
|
464
464
|
}
|
|
465
465
|
export interface OperationSummary {
|
|
466
|
-
Id?: string;
|
|
467
|
-
Status?: OperationStatus;
|
|
466
|
+
Id?: string | undefined;
|
|
467
|
+
Status?: OperationStatus | undefined;
|
|
468
468
|
}
|
|
469
469
|
export interface ListOperationsResponse {
|
|
470
|
-
Operations?: OperationSummary[];
|
|
471
|
-
NextToken?: string;
|
|
470
|
+
Operations?: OperationSummary[] | undefined;
|
|
471
|
+
NextToken?: string | undefined;
|
|
472
472
|
}
|
|
473
473
|
export declare const ServiceFilterName: {
|
|
474
474
|
readonly NAMESPACE_ID: "NAMESPACE_ID";
|
|
@@ -478,39 +478,39 @@ export type ServiceFilterName =
|
|
|
478
478
|
export interface ServiceFilter {
|
|
479
479
|
Name: ServiceFilterName | undefined;
|
|
480
480
|
Values: string[] | undefined;
|
|
481
|
-
Condition?: FilterCondition;
|
|
481
|
+
Condition?: FilterCondition | undefined;
|
|
482
482
|
}
|
|
483
483
|
export interface ListServicesRequest {
|
|
484
|
-
NextToken?: string;
|
|
485
|
-
MaxResults?: number;
|
|
486
|
-
Filters?: ServiceFilter[];
|
|
484
|
+
NextToken?: string | undefined;
|
|
485
|
+
MaxResults?: number | undefined;
|
|
486
|
+
Filters?: ServiceFilter[] | undefined;
|
|
487
487
|
}
|
|
488
488
|
export interface ServiceSummary {
|
|
489
|
-
Id?: string;
|
|
490
|
-
Arn?: string;
|
|
491
|
-
Name?: string;
|
|
492
|
-
Type?: ServiceType;
|
|
493
|
-
Description?: string;
|
|
494
|
-
InstanceCount?: number;
|
|
495
|
-
DnsConfig?: DnsConfig;
|
|
496
|
-
HealthCheckConfig?: HealthCheckConfig;
|
|
497
|
-
HealthCheckCustomConfig?: HealthCheckCustomConfig;
|
|
498
|
-
CreateDate?: Date;
|
|
489
|
+
Id?: string | undefined;
|
|
490
|
+
Arn?: string | undefined;
|
|
491
|
+
Name?: string | undefined;
|
|
492
|
+
Type?: ServiceType | undefined;
|
|
493
|
+
Description?: string | undefined;
|
|
494
|
+
InstanceCount?: number | undefined;
|
|
495
|
+
DnsConfig?: DnsConfig | undefined;
|
|
496
|
+
HealthCheckConfig?: HealthCheckConfig | undefined;
|
|
497
|
+
HealthCheckCustomConfig?: HealthCheckCustomConfig | undefined;
|
|
498
|
+
CreateDate?: Date | undefined;
|
|
499
499
|
}
|
|
500
500
|
export interface ListServicesResponse {
|
|
501
|
-
Services?: ServiceSummary[];
|
|
502
|
-
NextToken?: string;
|
|
501
|
+
Services?: ServiceSummary[] | undefined;
|
|
502
|
+
NextToken?: string | undefined;
|
|
503
503
|
}
|
|
504
504
|
export interface ListTagsForResourceRequest {
|
|
505
505
|
ResourceARN: string | undefined;
|
|
506
506
|
}
|
|
507
507
|
export interface ListTagsForResourceResponse {
|
|
508
|
-
Tags?: Tag[];
|
|
508
|
+
Tags?: Tag[] | undefined;
|
|
509
509
|
}
|
|
510
510
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
511
511
|
readonly name: "ResourceNotFoundException";
|
|
512
512
|
readonly $fault: "client";
|
|
513
|
-
Message?: string;
|
|
513
|
+
Message?: string | undefined;
|
|
514
514
|
constructor(
|
|
515
515
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
516
516
|
);
|
|
@@ -525,8 +525,8 @@ export interface PrivateDnsNamespacePropertiesChange {
|
|
|
525
525
|
DnsProperties: PrivateDnsPropertiesMutableChange | undefined;
|
|
526
526
|
}
|
|
527
527
|
export interface PrivateDnsNamespaceChange {
|
|
528
|
-
Description?: string;
|
|
529
|
-
Properties?: PrivateDnsNamespacePropertiesChange;
|
|
528
|
+
Description?: string | undefined;
|
|
529
|
+
Properties?: PrivateDnsNamespacePropertiesChange | undefined;
|
|
530
530
|
}
|
|
531
531
|
export interface PublicDnsPropertiesMutableChange {
|
|
532
532
|
SOA: SOAChange | undefined;
|
|
@@ -535,17 +535,17 @@ export interface PublicDnsNamespacePropertiesChange {
|
|
|
535
535
|
DnsProperties: PublicDnsPropertiesMutableChange | undefined;
|
|
536
536
|
}
|
|
537
537
|
export interface PublicDnsNamespaceChange {
|
|
538
|
-
Description?: string;
|
|
539
|
-
Properties?: PublicDnsNamespacePropertiesChange;
|
|
538
|
+
Description?: string | undefined;
|
|
539
|
+
Properties?: PublicDnsNamespacePropertiesChange | undefined;
|
|
540
540
|
}
|
|
541
541
|
export interface RegisterInstanceRequest {
|
|
542
542
|
ServiceId: string | undefined;
|
|
543
543
|
InstanceId: string | undefined;
|
|
544
|
-
CreatorRequestId?: string;
|
|
544
|
+
CreatorRequestId?: string | undefined;
|
|
545
545
|
Attributes: Record<string, string> | undefined;
|
|
546
546
|
}
|
|
547
547
|
export interface RegisterInstanceResponse {
|
|
548
|
-
OperationId?: string;
|
|
548
|
+
OperationId?: string | undefined;
|
|
549
549
|
}
|
|
550
550
|
export interface TagResourceRequest {
|
|
551
551
|
ResourceARN: string | undefined;
|
|
@@ -559,11 +559,11 @@ export interface UntagResourceRequest {
|
|
|
559
559
|
export interface UntagResourceResponse {}
|
|
560
560
|
export interface UpdateHttpNamespaceRequest {
|
|
561
561
|
Id: string | undefined;
|
|
562
|
-
UpdaterRequestId?: string;
|
|
562
|
+
UpdaterRequestId?: string | undefined;
|
|
563
563
|
Namespace: HttpNamespaceChange | undefined;
|
|
564
564
|
}
|
|
565
565
|
export interface UpdateHttpNamespaceResponse {
|
|
566
|
-
OperationId?: string;
|
|
566
|
+
OperationId?: string | undefined;
|
|
567
567
|
}
|
|
568
568
|
export interface UpdateInstanceCustomHealthStatusRequest {
|
|
569
569
|
ServiceId: string | undefined;
|
|
@@ -572,29 +572,29 @@ export interface UpdateInstanceCustomHealthStatusRequest {
|
|
|
572
572
|
}
|
|
573
573
|
export interface UpdatePrivateDnsNamespaceRequest {
|
|
574
574
|
Id: string | undefined;
|
|
575
|
-
UpdaterRequestId?: string;
|
|
575
|
+
UpdaterRequestId?: string | undefined;
|
|
576
576
|
Namespace: PrivateDnsNamespaceChange | undefined;
|
|
577
577
|
}
|
|
578
578
|
export interface UpdatePrivateDnsNamespaceResponse {
|
|
579
|
-
OperationId?: string;
|
|
579
|
+
OperationId?: string | undefined;
|
|
580
580
|
}
|
|
581
581
|
export interface UpdatePublicDnsNamespaceRequest {
|
|
582
582
|
Id: string | undefined;
|
|
583
|
-
UpdaterRequestId?: string;
|
|
583
|
+
UpdaterRequestId?: string | undefined;
|
|
584
584
|
Namespace: PublicDnsNamespaceChange | undefined;
|
|
585
585
|
}
|
|
586
586
|
export interface UpdatePublicDnsNamespaceResponse {
|
|
587
|
-
OperationId?: string;
|
|
587
|
+
OperationId?: string | undefined;
|
|
588
588
|
}
|
|
589
589
|
export interface ServiceChange {
|
|
590
|
-
Description?: string;
|
|
591
|
-
DnsConfig?: DnsConfigChange;
|
|
592
|
-
HealthCheckConfig?: HealthCheckConfig;
|
|
590
|
+
Description?: string | undefined;
|
|
591
|
+
DnsConfig?: DnsConfigChange | undefined;
|
|
592
|
+
HealthCheckConfig?: HealthCheckConfig | undefined;
|
|
593
593
|
}
|
|
594
594
|
export interface UpdateServiceRequest {
|
|
595
595
|
Id: string | undefined;
|
|
596
596
|
Service: ServiceChange | undefined;
|
|
597
597
|
}
|
|
598
598
|
export interface UpdateServiceResponse {
|
|
599
|
-
OperationId?: string;
|
|
599
|
+
OperationId?: string | undefined;
|
|
600
600
|
}
|
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.691.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.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|