@aws-sdk/client-servicediscovery 3.934.0 → 3.936.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 +86 -85
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +85 -0
- package/dist-es/models/errors.js +225 -0
- package/dist-es/models/models_0.js +1 -310
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +213 -0
- package/dist-types/models/errors.d.ts +242 -0
- package/dist-types/models/models_0.d.ts +1 -455
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +111 -0
- package/dist-types/ts3.4/models/errors.d.ts +118 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -229
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
export declare const RecordType: {
|
|
2
|
+
readonly A: "A";
|
|
3
|
+
readonly AAAA: "AAAA";
|
|
4
|
+
readonly CNAME: "CNAME";
|
|
5
|
+
readonly SRV: "SRV";
|
|
6
|
+
};
|
|
7
|
+
export type RecordType = (typeof RecordType)[keyof typeof RecordType];
|
|
8
|
+
export declare const RoutingPolicy: {
|
|
9
|
+
readonly MULTIVALUE: "MULTIVALUE";
|
|
10
|
+
readonly WEIGHTED: "WEIGHTED";
|
|
11
|
+
};
|
|
12
|
+
export type RoutingPolicy = (typeof RoutingPolicy)[keyof typeof RoutingPolicy];
|
|
13
|
+
export declare const HealthCheckType: {
|
|
14
|
+
readonly HTTP: "HTTP";
|
|
15
|
+
readonly HTTPS: "HTTPS";
|
|
16
|
+
readonly TCP: "TCP";
|
|
17
|
+
};
|
|
18
|
+
export type HealthCheckType =
|
|
19
|
+
(typeof HealthCheckType)[keyof typeof HealthCheckType];
|
|
20
|
+
export declare const ServiceTypeOption: {
|
|
21
|
+
readonly HTTP: "HTTP";
|
|
22
|
+
};
|
|
23
|
+
export type ServiceTypeOption =
|
|
24
|
+
(typeof ServiceTypeOption)[keyof typeof ServiceTypeOption];
|
|
25
|
+
export declare const ServiceType: {
|
|
26
|
+
readonly DNS: "DNS";
|
|
27
|
+
readonly DNS_HTTP: "DNS_HTTP";
|
|
28
|
+
readonly HTTP: "HTTP";
|
|
29
|
+
};
|
|
30
|
+
export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];
|
|
31
|
+
export declare const CustomHealthStatus: {
|
|
32
|
+
readonly HEALTHY: "HEALTHY";
|
|
33
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
34
|
+
};
|
|
35
|
+
export type CustomHealthStatus =
|
|
36
|
+
(typeof CustomHealthStatus)[keyof typeof CustomHealthStatus];
|
|
37
|
+
export declare const HealthStatusFilter: {
|
|
38
|
+
readonly ALL: "ALL";
|
|
39
|
+
readonly HEALTHY: "HEALTHY";
|
|
40
|
+
readonly HEALTHY_OR_ELSE_ALL: "HEALTHY_OR_ELSE_ALL";
|
|
41
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
42
|
+
};
|
|
43
|
+
export type HealthStatusFilter =
|
|
44
|
+
(typeof HealthStatusFilter)[keyof typeof HealthStatusFilter];
|
|
45
|
+
export declare const HealthStatus: {
|
|
46
|
+
readonly HEALTHY: "HEALTHY";
|
|
47
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
48
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
49
|
+
};
|
|
50
|
+
export type HealthStatus = (typeof HealthStatus)[keyof typeof HealthStatus];
|
|
51
|
+
export declare const FilterCondition: {
|
|
52
|
+
readonly BEGINS_WITH: "BEGINS_WITH";
|
|
53
|
+
readonly BETWEEN: "BETWEEN";
|
|
54
|
+
readonly EQ: "EQ";
|
|
55
|
+
readonly IN: "IN";
|
|
56
|
+
};
|
|
57
|
+
export type FilterCondition =
|
|
58
|
+
(typeof FilterCondition)[keyof typeof FilterCondition];
|
|
59
|
+
export declare const NamespaceType: {
|
|
60
|
+
readonly DNS_PRIVATE: "DNS_PRIVATE";
|
|
61
|
+
readonly DNS_PUBLIC: "DNS_PUBLIC";
|
|
62
|
+
readonly HTTP: "HTTP";
|
|
63
|
+
};
|
|
64
|
+
export type NamespaceType = (typeof NamespaceType)[keyof typeof NamespaceType];
|
|
65
|
+
export declare const OperationStatus: {
|
|
66
|
+
readonly FAIL: "FAIL";
|
|
67
|
+
readonly PENDING: "PENDING";
|
|
68
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
69
|
+
readonly SUCCESS: "SUCCESS";
|
|
70
|
+
};
|
|
71
|
+
export type OperationStatus =
|
|
72
|
+
(typeof OperationStatus)[keyof typeof OperationStatus];
|
|
73
|
+
export declare const OperationTargetType: {
|
|
74
|
+
readonly INSTANCE: "INSTANCE";
|
|
75
|
+
readonly NAMESPACE: "NAMESPACE";
|
|
76
|
+
readonly SERVICE: "SERVICE";
|
|
77
|
+
};
|
|
78
|
+
export type OperationTargetType =
|
|
79
|
+
(typeof OperationTargetType)[keyof typeof OperationTargetType];
|
|
80
|
+
export declare const OperationType: {
|
|
81
|
+
readonly CREATE_NAMESPACE: "CREATE_NAMESPACE";
|
|
82
|
+
readonly DELETE_NAMESPACE: "DELETE_NAMESPACE";
|
|
83
|
+
readonly DEREGISTER_INSTANCE: "DEREGISTER_INSTANCE";
|
|
84
|
+
readonly REGISTER_INSTANCE: "REGISTER_INSTANCE";
|
|
85
|
+
readonly UPDATE_NAMESPACE: "UPDATE_NAMESPACE";
|
|
86
|
+
readonly UPDATE_SERVICE: "UPDATE_SERVICE";
|
|
87
|
+
};
|
|
88
|
+
export type OperationType = (typeof OperationType)[keyof typeof OperationType];
|
|
89
|
+
export declare const NamespaceFilterName: {
|
|
90
|
+
readonly HTTP_NAME: "HTTP_NAME";
|
|
91
|
+
readonly NAME: "NAME";
|
|
92
|
+
readonly RESOURCE_OWNER: "RESOURCE_OWNER";
|
|
93
|
+
readonly TYPE: "TYPE";
|
|
94
|
+
};
|
|
95
|
+
export type NamespaceFilterName =
|
|
96
|
+
(typeof NamespaceFilterName)[keyof typeof NamespaceFilterName];
|
|
97
|
+
export declare const OperationFilterName: {
|
|
98
|
+
readonly NAMESPACE_ID: "NAMESPACE_ID";
|
|
99
|
+
readonly SERVICE_ID: "SERVICE_ID";
|
|
100
|
+
readonly STATUS: "STATUS";
|
|
101
|
+
readonly TYPE: "TYPE";
|
|
102
|
+
readonly UPDATE_DATE: "UPDATE_DATE";
|
|
103
|
+
};
|
|
104
|
+
export type OperationFilterName =
|
|
105
|
+
(typeof OperationFilterName)[keyof typeof OperationFilterName];
|
|
106
|
+
export declare const ServiceFilterName: {
|
|
107
|
+
readonly NAMESPACE_ID: "NAMESPACE_ID";
|
|
108
|
+
readonly RESOURCE_OWNER: "RESOURCE_OWNER";
|
|
109
|
+
};
|
|
110
|
+
export type ServiceFilterName =
|
|
111
|
+
(typeof ServiceFilterName)[keyof typeof ServiceFilterName];
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ServiceDiscoveryServiceException as __BaseException } from "./ServiceDiscoveryServiceException";
|
|
3
|
+
export declare class DuplicateRequest extends __BaseException {
|
|
4
|
+
readonly name: "DuplicateRequest";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message?: string | undefined;
|
|
7
|
+
DuplicateOperationId?: string | undefined;
|
|
8
|
+
constructor(opts: __ExceptionOptionType<DuplicateRequest, __BaseException>);
|
|
9
|
+
}
|
|
10
|
+
export declare class InvalidInput extends __BaseException {
|
|
11
|
+
readonly name: "InvalidInput";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
Message?: string | undefined;
|
|
14
|
+
constructor(opts: __ExceptionOptionType<InvalidInput, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
export declare class NamespaceAlreadyExists extends __BaseException {
|
|
17
|
+
readonly name: "NamespaceAlreadyExists";
|
|
18
|
+
readonly $fault: "client";
|
|
19
|
+
Message?: string | undefined;
|
|
20
|
+
CreatorRequestId?: string | undefined;
|
|
21
|
+
NamespaceId?: string | undefined;
|
|
22
|
+
constructor(
|
|
23
|
+
opts: __ExceptionOptionType<NamespaceAlreadyExists, __BaseException>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
export declare class ResourceLimitExceeded extends __BaseException {
|
|
27
|
+
readonly name: "ResourceLimitExceeded";
|
|
28
|
+
readonly $fault: "client";
|
|
29
|
+
Message?: string | undefined;
|
|
30
|
+
constructor(
|
|
31
|
+
opts: __ExceptionOptionType<ResourceLimitExceeded, __BaseException>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
35
|
+
readonly name: "TooManyTagsException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
Message?: string | undefined;
|
|
38
|
+
ResourceName?: string | undefined;
|
|
39
|
+
constructor(
|
|
40
|
+
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
export declare class NamespaceNotFound extends __BaseException {
|
|
44
|
+
readonly name: "NamespaceNotFound";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
Message?: string | undefined;
|
|
47
|
+
constructor(opts: __ExceptionOptionType<NamespaceNotFound, __BaseException>);
|
|
48
|
+
}
|
|
49
|
+
export declare class ServiceAlreadyExists extends __BaseException {
|
|
50
|
+
readonly name: "ServiceAlreadyExists";
|
|
51
|
+
readonly $fault: "client";
|
|
52
|
+
Message?: string | undefined;
|
|
53
|
+
CreatorRequestId?: string | undefined;
|
|
54
|
+
ServiceId?: string | undefined;
|
|
55
|
+
ServiceArn?: string | undefined;
|
|
56
|
+
constructor(
|
|
57
|
+
opts: __ExceptionOptionType<ServiceAlreadyExists, __BaseException>
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
export declare class CustomHealthNotFound extends __BaseException {
|
|
61
|
+
readonly name: "CustomHealthNotFound";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
Message?: string | undefined;
|
|
64
|
+
constructor(
|
|
65
|
+
opts: __ExceptionOptionType<CustomHealthNotFound, __BaseException>
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
export declare class ResourceInUse extends __BaseException {
|
|
69
|
+
readonly name: "ResourceInUse";
|
|
70
|
+
readonly $fault: "client";
|
|
71
|
+
Message?: string | undefined;
|
|
72
|
+
constructor(opts: __ExceptionOptionType<ResourceInUse, __BaseException>);
|
|
73
|
+
}
|
|
74
|
+
export declare class ServiceNotFound extends __BaseException {
|
|
75
|
+
readonly name: "ServiceNotFound";
|
|
76
|
+
readonly $fault: "client";
|
|
77
|
+
Message?: string | undefined;
|
|
78
|
+
constructor(opts: __ExceptionOptionType<ServiceNotFound, __BaseException>);
|
|
79
|
+
}
|
|
80
|
+
export declare class InstanceNotFound extends __BaseException {
|
|
81
|
+
readonly name: "InstanceNotFound";
|
|
82
|
+
readonly $fault: "client";
|
|
83
|
+
Message?: string | undefined;
|
|
84
|
+
constructor(opts: __ExceptionOptionType<InstanceNotFound, __BaseException>);
|
|
85
|
+
}
|
|
86
|
+
export declare class RequestLimitExceeded extends __BaseException {
|
|
87
|
+
readonly name: "RequestLimitExceeded";
|
|
88
|
+
readonly $fault: "client";
|
|
89
|
+
Message?: string | undefined;
|
|
90
|
+
constructor(
|
|
91
|
+
opts: __ExceptionOptionType<RequestLimitExceeded, __BaseException>
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
export declare class OperationNotFound extends __BaseException {
|
|
95
|
+
readonly name: "OperationNotFound";
|
|
96
|
+
readonly $fault: "client";
|
|
97
|
+
Message?: string | undefined;
|
|
98
|
+
constructor(opts: __ExceptionOptionType<OperationNotFound, __BaseException>);
|
|
99
|
+
}
|
|
100
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
101
|
+
readonly name: "ResourceNotFoundException";
|
|
102
|
+
readonly $fault: "client";
|
|
103
|
+
Message?: string | undefined;
|
|
104
|
+
constructor(
|
|
105
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
export declare class ServiceAttributesLimitExceededException extends __BaseException {
|
|
109
|
+
readonly name: "ServiceAttributesLimitExceededException";
|
|
110
|
+
readonly $fault: "client";
|
|
111
|
+
Message?: string | undefined;
|
|
112
|
+
constructor(
|
|
113
|
+
opts: __ExceptionOptionType<
|
|
114
|
+
ServiceAttributesLimitExceededException,
|
|
115
|
+
__BaseException
|
|
116
|
+
>
|
|
117
|
+
);
|
|
118
|
+
}
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
CustomHealthStatus,
|
|
3
|
+
FilterCondition,
|
|
4
|
+
HealthCheckType,
|
|
5
|
+
HealthStatus,
|
|
6
|
+
HealthStatusFilter,
|
|
7
|
+
NamespaceFilterName,
|
|
8
|
+
NamespaceType,
|
|
9
|
+
OperationFilterName,
|
|
10
|
+
OperationStatus,
|
|
11
|
+
OperationTargetType,
|
|
12
|
+
OperationType,
|
|
13
|
+
RecordType,
|
|
14
|
+
RoutingPolicy,
|
|
15
|
+
ServiceFilterName,
|
|
16
|
+
ServiceType,
|
|
17
|
+
ServiceTypeOption,
|
|
18
|
+
} from "./enums";
|
|
3
19
|
export interface Tag {
|
|
4
20
|
Key: string | undefined;
|
|
5
21
|
Value: string | undefined;
|
|
@@ -13,46 +29,6 @@ export interface CreateHttpNamespaceRequest {
|
|
|
13
29
|
export interface CreateHttpNamespaceResponse {
|
|
14
30
|
OperationId?: string | undefined;
|
|
15
31
|
}
|
|
16
|
-
export declare class DuplicateRequest extends __BaseException {
|
|
17
|
-
readonly name: "DuplicateRequest";
|
|
18
|
-
readonly $fault: "client";
|
|
19
|
-
Message?: string | undefined;
|
|
20
|
-
DuplicateOperationId?: string | undefined;
|
|
21
|
-
constructor(opts: __ExceptionOptionType<DuplicateRequest, __BaseException>);
|
|
22
|
-
}
|
|
23
|
-
export declare class InvalidInput extends __BaseException {
|
|
24
|
-
readonly name: "InvalidInput";
|
|
25
|
-
readonly $fault: "client";
|
|
26
|
-
Message?: string | undefined;
|
|
27
|
-
constructor(opts: __ExceptionOptionType<InvalidInput, __BaseException>);
|
|
28
|
-
}
|
|
29
|
-
export declare class NamespaceAlreadyExists extends __BaseException {
|
|
30
|
-
readonly name: "NamespaceAlreadyExists";
|
|
31
|
-
readonly $fault: "client";
|
|
32
|
-
Message?: string | undefined;
|
|
33
|
-
CreatorRequestId?: string | undefined;
|
|
34
|
-
NamespaceId?: string | undefined;
|
|
35
|
-
constructor(
|
|
36
|
-
opts: __ExceptionOptionType<NamespaceAlreadyExists, __BaseException>
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
export declare class ResourceLimitExceeded extends __BaseException {
|
|
40
|
-
readonly name: "ResourceLimitExceeded";
|
|
41
|
-
readonly $fault: "client";
|
|
42
|
-
Message?: string | undefined;
|
|
43
|
-
constructor(
|
|
44
|
-
opts: __ExceptionOptionType<ResourceLimitExceeded, __BaseException>
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
export declare class TooManyTagsException extends __BaseException {
|
|
48
|
-
readonly name: "TooManyTagsException";
|
|
49
|
-
readonly $fault: "client";
|
|
50
|
-
Message?: string | undefined;
|
|
51
|
-
ResourceName?: string | undefined;
|
|
52
|
-
constructor(
|
|
53
|
-
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
32
|
export interface SOA {
|
|
57
33
|
TTL: number | undefined;
|
|
58
34
|
}
|
|
@@ -89,34 +65,15 @@ export interface CreatePublicDnsNamespaceRequest {
|
|
|
89
65
|
export interface CreatePublicDnsNamespaceResponse {
|
|
90
66
|
OperationId?: string | undefined;
|
|
91
67
|
}
|
|
92
|
-
export declare const RecordType: {
|
|
93
|
-
readonly A: "A";
|
|
94
|
-
readonly AAAA: "AAAA";
|
|
95
|
-
readonly CNAME: "CNAME";
|
|
96
|
-
readonly SRV: "SRV";
|
|
97
|
-
};
|
|
98
|
-
export type RecordType = (typeof RecordType)[keyof typeof RecordType];
|
|
99
68
|
export interface DnsRecord {
|
|
100
69
|
Type: RecordType | undefined;
|
|
101
70
|
TTL: number | undefined;
|
|
102
71
|
}
|
|
103
|
-
export declare const RoutingPolicy: {
|
|
104
|
-
readonly MULTIVALUE: "MULTIVALUE";
|
|
105
|
-
readonly WEIGHTED: "WEIGHTED";
|
|
106
|
-
};
|
|
107
|
-
export type RoutingPolicy = (typeof RoutingPolicy)[keyof typeof RoutingPolicy];
|
|
108
72
|
export interface DnsConfig {
|
|
109
73
|
NamespaceId?: string | undefined;
|
|
110
74
|
RoutingPolicy?: RoutingPolicy | undefined;
|
|
111
75
|
DnsRecords: DnsRecord[] | undefined;
|
|
112
76
|
}
|
|
113
|
-
export declare const HealthCheckType: {
|
|
114
|
-
readonly HTTP: "HTTP";
|
|
115
|
-
readonly HTTPS: "HTTPS";
|
|
116
|
-
readonly TCP: "TCP";
|
|
117
|
-
};
|
|
118
|
-
export type HealthCheckType =
|
|
119
|
-
(typeof HealthCheckType)[keyof typeof HealthCheckType];
|
|
120
77
|
export interface HealthCheckConfig {
|
|
121
78
|
Type: HealthCheckType | undefined;
|
|
122
79
|
ResourcePath?: string | undefined;
|
|
@@ -125,11 +82,6 @@ export interface HealthCheckConfig {
|
|
|
125
82
|
export interface HealthCheckCustomConfig {
|
|
126
83
|
FailureThreshold?: number | undefined;
|
|
127
84
|
}
|
|
128
|
-
export declare const ServiceTypeOption: {
|
|
129
|
-
readonly HTTP: "HTTP";
|
|
130
|
-
};
|
|
131
|
-
export type ServiceTypeOption =
|
|
132
|
-
(typeof ServiceTypeOption)[keyof typeof ServiceTypeOption];
|
|
133
85
|
export interface CreateServiceRequest {
|
|
134
86
|
Name: string | undefined;
|
|
135
87
|
NamespaceId?: string | undefined;
|
|
@@ -141,12 +93,6 @@ export interface CreateServiceRequest {
|
|
|
141
93
|
Tags?: Tag[] | undefined;
|
|
142
94
|
Type?: ServiceTypeOption | undefined;
|
|
143
95
|
}
|
|
144
|
-
export declare const ServiceType: {
|
|
145
|
-
readonly DNS: "DNS";
|
|
146
|
-
readonly DNS_HTTP: "DNS_HTTP";
|
|
147
|
-
readonly HTTP: "HTTP";
|
|
148
|
-
};
|
|
149
|
-
export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];
|
|
150
96
|
export interface Service {
|
|
151
97
|
Id?: string | undefined;
|
|
152
98
|
Arn?: string | undefined;
|
|
@@ -166,59 +112,16 @@ export interface Service {
|
|
|
166
112
|
export interface CreateServiceResponse {
|
|
167
113
|
Service?: Service | undefined;
|
|
168
114
|
}
|
|
169
|
-
export declare class NamespaceNotFound extends __BaseException {
|
|
170
|
-
readonly name: "NamespaceNotFound";
|
|
171
|
-
readonly $fault: "client";
|
|
172
|
-
Message?: string | undefined;
|
|
173
|
-
constructor(opts: __ExceptionOptionType<NamespaceNotFound, __BaseException>);
|
|
174
|
-
}
|
|
175
|
-
export declare class ServiceAlreadyExists extends __BaseException {
|
|
176
|
-
readonly name: "ServiceAlreadyExists";
|
|
177
|
-
readonly $fault: "client";
|
|
178
|
-
Message?: string | undefined;
|
|
179
|
-
CreatorRequestId?: string | undefined;
|
|
180
|
-
ServiceId?: string | undefined;
|
|
181
|
-
ServiceArn?: string | undefined;
|
|
182
|
-
constructor(
|
|
183
|
-
opts: __ExceptionOptionType<ServiceAlreadyExists, __BaseException>
|
|
184
|
-
);
|
|
185
|
-
}
|
|
186
|
-
export declare class CustomHealthNotFound extends __BaseException {
|
|
187
|
-
readonly name: "CustomHealthNotFound";
|
|
188
|
-
readonly $fault: "client";
|
|
189
|
-
Message?: string | undefined;
|
|
190
|
-
constructor(
|
|
191
|
-
opts: __ExceptionOptionType<CustomHealthNotFound, __BaseException>
|
|
192
|
-
);
|
|
193
|
-
}
|
|
194
|
-
export declare const CustomHealthStatus: {
|
|
195
|
-
readonly HEALTHY: "HEALTHY";
|
|
196
|
-
readonly UNHEALTHY: "UNHEALTHY";
|
|
197
|
-
};
|
|
198
|
-
export type CustomHealthStatus =
|
|
199
|
-
(typeof CustomHealthStatus)[keyof typeof CustomHealthStatus];
|
|
200
115
|
export interface DeleteNamespaceRequest {
|
|
201
116
|
Id: string | undefined;
|
|
202
117
|
}
|
|
203
118
|
export interface DeleteNamespaceResponse {
|
|
204
119
|
OperationId?: string | undefined;
|
|
205
120
|
}
|
|
206
|
-
export declare class ResourceInUse extends __BaseException {
|
|
207
|
-
readonly name: "ResourceInUse";
|
|
208
|
-
readonly $fault: "client";
|
|
209
|
-
Message?: string | undefined;
|
|
210
|
-
constructor(opts: __ExceptionOptionType<ResourceInUse, __BaseException>);
|
|
211
|
-
}
|
|
212
121
|
export interface DeleteServiceRequest {
|
|
213
122
|
Id: string | undefined;
|
|
214
123
|
}
|
|
215
124
|
export interface DeleteServiceResponse {}
|
|
216
|
-
export declare class ServiceNotFound extends __BaseException {
|
|
217
|
-
readonly name: "ServiceNotFound";
|
|
218
|
-
readonly $fault: "client";
|
|
219
|
-
Message?: string | undefined;
|
|
220
|
-
constructor(opts: __ExceptionOptionType<ServiceNotFound, __BaseException>);
|
|
221
|
-
}
|
|
222
125
|
export interface DeleteServiceAttributesRequest {
|
|
223
126
|
ServiceId: string | undefined;
|
|
224
127
|
Attributes: string[] | undefined;
|
|
@@ -231,20 +134,6 @@ export interface DeregisterInstanceRequest {
|
|
|
231
134
|
export interface DeregisterInstanceResponse {
|
|
232
135
|
OperationId?: string | undefined;
|
|
233
136
|
}
|
|
234
|
-
export declare class InstanceNotFound extends __BaseException {
|
|
235
|
-
readonly name: "InstanceNotFound";
|
|
236
|
-
readonly $fault: "client";
|
|
237
|
-
Message?: string | undefined;
|
|
238
|
-
constructor(opts: __ExceptionOptionType<InstanceNotFound, __BaseException>);
|
|
239
|
-
}
|
|
240
|
-
export declare const HealthStatusFilter: {
|
|
241
|
-
readonly ALL: "ALL";
|
|
242
|
-
readonly HEALTHY: "HEALTHY";
|
|
243
|
-
readonly HEALTHY_OR_ELSE_ALL: "HEALTHY_OR_ELSE_ALL";
|
|
244
|
-
readonly UNHEALTHY: "UNHEALTHY";
|
|
245
|
-
};
|
|
246
|
-
export type HealthStatusFilter =
|
|
247
|
-
(typeof HealthStatusFilter)[keyof typeof HealthStatusFilter];
|
|
248
137
|
export interface DiscoverInstancesRequest {
|
|
249
138
|
NamespaceName: string | undefined;
|
|
250
139
|
ServiceName: string | undefined;
|
|
@@ -254,12 +143,6 @@ export interface DiscoverInstancesRequest {
|
|
|
254
143
|
HealthStatus?: HealthStatusFilter | undefined;
|
|
255
144
|
OwnerAccount?: string | undefined;
|
|
256
145
|
}
|
|
257
|
-
export declare const HealthStatus: {
|
|
258
|
-
readonly HEALTHY: "HEALTHY";
|
|
259
|
-
readonly UNHEALTHY: "UNHEALTHY";
|
|
260
|
-
readonly UNKNOWN: "UNKNOWN";
|
|
261
|
-
};
|
|
262
|
-
export type HealthStatus = (typeof HealthStatus)[keyof typeof HealthStatus];
|
|
263
146
|
export interface HttpInstanceSummary {
|
|
264
147
|
InstanceId?: string | undefined;
|
|
265
148
|
NamespaceName?: string | undefined;
|
|
@@ -271,14 +154,6 @@ export interface DiscoverInstancesResponse {
|
|
|
271
154
|
Instances?: HttpInstanceSummary[] | undefined;
|
|
272
155
|
InstancesRevision?: number | undefined;
|
|
273
156
|
}
|
|
274
|
-
export declare class RequestLimitExceeded extends __BaseException {
|
|
275
|
-
readonly name: "RequestLimitExceeded";
|
|
276
|
-
readonly $fault: "client";
|
|
277
|
-
Message?: string | undefined;
|
|
278
|
-
constructor(
|
|
279
|
-
opts: __ExceptionOptionType<RequestLimitExceeded, __BaseException>
|
|
280
|
-
);
|
|
281
|
-
}
|
|
282
157
|
export interface DiscoverInstancesRevisionRequest {
|
|
283
158
|
NamespaceName: string | undefined;
|
|
284
159
|
ServiceName: string | undefined;
|
|
@@ -294,14 +169,6 @@ export interface DnsProperties {
|
|
|
294
169
|
HostedZoneId?: string | undefined;
|
|
295
170
|
SOA?: SOA | undefined;
|
|
296
171
|
}
|
|
297
|
-
export declare const FilterCondition: {
|
|
298
|
-
readonly BEGINS_WITH: "BEGINS_WITH";
|
|
299
|
-
readonly BETWEEN: "BETWEEN";
|
|
300
|
-
readonly EQ: "EQ";
|
|
301
|
-
readonly IN: "IN";
|
|
302
|
-
};
|
|
303
|
-
export type FilterCondition =
|
|
304
|
-
(typeof FilterCondition)[keyof typeof FilterCondition];
|
|
305
172
|
export interface GetInstanceRequest {
|
|
306
173
|
ServiceId: string | undefined;
|
|
307
174
|
InstanceId: string | undefined;
|
|
@@ -336,12 +203,6 @@ export interface NamespaceProperties {
|
|
|
336
203
|
DnsProperties?: DnsProperties | undefined;
|
|
337
204
|
HttpProperties?: HttpProperties | undefined;
|
|
338
205
|
}
|
|
339
|
-
export declare const NamespaceType: {
|
|
340
|
-
readonly DNS_PRIVATE: "DNS_PRIVATE";
|
|
341
|
-
readonly DNS_PUBLIC: "DNS_PUBLIC";
|
|
342
|
-
readonly HTTP: "HTTP";
|
|
343
|
-
};
|
|
344
|
-
export type NamespaceType = (typeof NamespaceType)[keyof typeof NamespaceType];
|
|
345
206
|
export interface Namespace {
|
|
346
207
|
Id?: string | undefined;
|
|
347
208
|
Arn?: string | undefined;
|
|
@@ -361,30 +222,6 @@ export interface GetOperationRequest {
|
|
|
361
222
|
OperationId: string | undefined;
|
|
362
223
|
OwnerAccount?: string | undefined;
|
|
363
224
|
}
|
|
364
|
-
export declare const OperationStatus: {
|
|
365
|
-
readonly FAIL: "FAIL";
|
|
366
|
-
readonly PENDING: "PENDING";
|
|
367
|
-
readonly SUBMITTED: "SUBMITTED";
|
|
368
|
-
readonly SUCCESS: "SUCCESS";
|
|
369
|
-
};
|
|
370
|
-
export type OperationStatus =
|
|
371
|
-
(typeof OperationStatus)[keyof typeof OperationStatus];
|
|
372
|
-
export declare const OperationTargetType: {
|
|
373
|
-
readonly INSTANCE: "INSTANCE";
|
|
374
|
-
readonly NAMESPACE: "NAMESPACE";
|
|
375
|
-
readonly SERVICE: "SERVICE";
|
|
376
|
-
};
|
|
377
|
-
export type OperationTargetType =
|
|
378
|
-
(typeof OperationTargetType)[keyof typeof OperationTargetType];
|
|
379
|
-
export declare const OperationType: {
|
|
380
|
-
readonly CREATE_NAMESPACE: "CREATE_NAMESPACE";
|
|
381
|
-
readonly DELETE_NAMESPACE: "DELETE_NAMESPACE";
|
|
382
|
-
readonly DEREGISTER_INSTANCE: "DEREGISTER_INSTANCE";
|
|
383
|
-
readonly REGISTER_INSTANCE: "REGISTER_INSTANCE";
|
|
384
|
-
readonly UPDATE_NAMESPACE: "UPDATE_NAMESPACE";
|
|
385
|
-
readonly UPDATE_SERVICE: "UPDATE_SERVICE";
|
|
386
|
-
};
|
|
387
|
-
export type OperationType = (typeof OperationType)[keyof typeof OperationType];
|
|
388
225
|
export interface Operation {
|
|
389
226
|
Id?: string | undefined;
|
|
390
227
|
OwnerAccount?: string | undefined;
|
|
@@ -399,12 +236,6 @@ export interface Operation {
|
|
|
399
236
|
export interface GetOperationResponse {
|
|
400
237
|
Operation?: Operation | undefined;
|
|
401
238
|
}
|
|
402
|
-
export declare class OperationNotFound extends __BaseException {
|
|
403
|
-
readonly name: "OperationNotFound";
|
|
404
|
-
readonly $fault: "client";
|
|
405
|
-
Message?: string | undefined;
|
|
406
|
-
constructor(opts: __ExceptionOptionType<OperationNotFound, __BaseException>);
|
|
407
|
-
}
|
|
408
239
|
export interface GetServiceRequest {
|
|
409
240
|
Id: string | undefined;
|
|
410
241
|
}
|
|
@@ -440,14 +271,6 @@ export interface ListInstancesResponse {
|
|
|
440
271
|
Instances?: InstanceSummary[] | undefined;
|
|
441
272
|
NextToken?: string | undefined;
|
|
442
273
|
}
|
|
443
|
-
export declare const NamespaceFilterName: {
|
|
444
|
-
readonly HTTP_NAME: "HTTP_NAME";
|
|
445
|
-
readonly NAME: "NAME";
|
|
446
|
-
readonly RESOURCE_OWNER: "RESOURCE_OWNER";
|
|
447
|
-
readonly TYPE: "TYPE";
|
|
448
|
-
};
|
|
449
|
-
export type NamespaceFilterName =
|
|
450
|
-
(typeof NamespaceFilterName)[keyof typeof NamespaceFilterName];
|
|
451
274
|
export interface NamespaceFilter {
|
|
452
275
|
Name: NamespaceFilterName | undefined;
|
|
453
276
|
Values: string[] | undefined;
|
|
@@ -473,15 +296,6 @@ export interface ListNamespacesResponse {
|
|
|
473
296
|
Namespaces?: NamespaceSummary[] | undefined;
|
|
474
297
|
NextToken?: string | undefined;
|
|
475
298
|
}
|
|
476
|
-
export declare const OperationFilterName: {
|
|
477
|
-
readonly NAMESPACE_ID: "NAMESPACE_ID";
|
|
478
|
-
readonly SERVICE_ID: "SERVICE_ID";
|
|
479
|
-
readonly STATUS: "STATUS";
|
|
480
|
-
readonly TYPE: "TYPE";
|
|
481
|
-
readonly UPDATE_DATE: "UPDATE_DATE";
|
|
482
|
-
};
|
|
483
|
-
export type OperationFilterName =
|
|
484
|
-
(typeof OperationFilterName)[keyof typeof OperationFilterName];
|
|
485
299
|
export interface OperationFilter {
|
|
486
300
|
Name: OperationFilterName | undefined;
|
|
487
301
|
Values: string[] | undefined;
|
|
@@ -500,12 +314,6 @@ export interface ListOperationsResponse {
|
|
|
500
314
|
Operations?: OperationSummary[] | undefined;
|
|
501
315
|
NextToken?: string | undefined;
|
|
502
316
|
}
|
|
503
|
-
export declare const ServiceFilterName: {
|
|
504
|
-
readonly NAMESPACE_ID: "NAMESPACE_ID";
|
|
505
|
-
readonly RESOURCE_OWNER: "RESOURCE_OWNER";
|
|
506
|
-
};
|
|
507
|
-
export type ServiceFilterName =
|
|
508
|
-
(typeof ServiceFilterName)[keyof typeof ServiceFilterName];
|
|
509
317
|
export interface ServiceFilter {
|
|
510
318
|
Name: ServiceFilterName | undefined;
|
|
511
319
|
Values: string[] | undefined;
|
|
@@ -540,14 +348,6 @@ export interface ListTagsForResourceRequest {
|
|
|
540
348
|
export interface ListTagsForResourceResponse {
|
|
541
349
|
Tags?: Tag[] | undefined;
|
|
542
350
|
}
|
|
543
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
544
|
-
readonly name: "ResourceNotFoundException";
|
|
545
|
-
readonly $fault: "client";
|
|
546
|
-
Message?: string | undefined;
|
|
547
|
-
constructor(
|
|
548
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
549
|
-
);
|
|
550
|
-
}
|
|
551
351
|
export interface SOAChange {
|
|
552
352
|
TTL: number | undefined;
|
|
553
353
|
}
|
|
@@ -631,17 +431,6 @@ export interface UpdateServiceRequest {
|
|
|
631
431
|
export interface UpdateServiceResponse {
|
|
632
432
|
OperationId?: string | undefined;
|
|
633
433
|
}
|
|
634
|
-
export declare class ServiceAttributesLimitExceededException extends __BaseException {
|
|
635
|
-
readonly name: "ServiceAttributesLimitExceededException";
|
|
636
|
-
readonly $fault: "client";
|
|
637
|
-
Message?: string | undefined;
|
|
638
|
-
constructor(
|
|
639
|
-
opts: __ExceptionOptionType<
|
|
640
|
-
ServiceAttributesLimitExceededException,
|
|
641
|
-
__BaseException
|
|
642
|
-
>
|
|
643
|
-
);
|
|
644
|
-
}
|
|
645
434
|
export interface UpdateServiceAttributesRequest {
|
|
646
435
|
ServiceId: string | undefined;
|
|
647
436
|
Attributes: Record<string, string> | 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.936.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,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|