@aws-sdk/client-servicediscovery 3.934.0 → 3.935.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 +12 -12
- 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,242 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ServiceDiscoveryServiceException as __BaseException } from "./ServiceDiscoveryServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The operation is already in progress.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class DuplicateRequest extends __BaseException {
|
|
8
|
+
readonly name: "DuplicateRequest";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
Message?: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* <p>The ID of the operation that's already in progress.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
DuplicateOperationId?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
constructor(opts: __ExceptionOptionType<DuplicateRequest, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
23
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
24
|
+
* constraints.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export declare class InvalidInput extends __BaseException {
|
|
28
|
+
readonly name: "InvalidInput";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
Message?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
constructor(opts: __ExceptionOptionType<InvalidInput, __BaseException>);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* <p>The namespace that you're trying to create already exists.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export declare class NamespaceAlreadyExists extends __BaseException {
|
|
41
|
+
readonly name: "NamespaceAlreadyExists";
|
|
42
|
+
readonly $fault: "client";
|
|
43
|
+
Message?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* <p>The <code>CreatorRequestId</code> that was used to create the namespace.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
CreatorRequestId?: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The ID of the existing namespace.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
NamespaceId?: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
constructor(opts: __ExceptionOptionType<NamespaceAlreadyExists, __BaseException>);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* <p>The resource can't be created because you've reached the quota on the number of
|
|
61
|
+
* resources.</p>
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export declare class ResourceLimitExceeded extends __BaseException {
|
|
65
|
+
readonly name: "ResourceLimitExceeded";
|
|
66
|
+
readonly $fault: "client";
|
|
67
|
+
Message?: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
constructor(opts: __ExceptionOptionType<ResourceLimitExceeded, __BaseException>);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
|
|
75
|
+
* applied to a resource is 50.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
79
|
+
readonly name: "TooManyTagsException";
|
|
80
|
+
readonly $fault: "client";
|
|
81
|
+
Message?: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* <p>The name of the resource.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
ResourceName?: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* <p>No namespace exists with the specified ID.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class NamespaceNotFound extends __BaseException {
|
|
97
|
+
readonly name: "NamespaceNotFound";
|
|
98
|
+
readonly $fault: "client";
|
|
99
|
+
Message?: string | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
constructor(opts: __ExceptionOptionType<NamespaceNotFound, __BaseException>);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* <p>The service can't be created because a service with the same name already exists.</p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class ServiceAlreadyExists extends __BaseException {
|
|
110
|
+
readonly name: "ServiceAlreadyExists";
|
|
111
|
+
readonly $fault: "client";
|
|
112
|
+
Message?: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* <p>The <code>CreatorRequestId</code> that was used to create the service.</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
CreatorRequestId?: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* <p>The ID of the existing service.</p>
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
ServiceId?: string | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* <p>The ARN of the existing service.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
ServiceArn?: string | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* @internal
|
|
130
|
+
*/
|
|
131
|
+
constructor(opts: __ExceptionOptionType<ServiceAlreadyExists, __BaseException>);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* <p>The health check for the instance that's specified by <code>ServiceId</code> and
|
|
135
|
+
* <code>InstanceId</code> isn't a custom health check. </p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export declare class CustomHealthNotFound extends __BaseException {
|
|
139
|
+
readonly name: "CustomHealthNotFound";
|
|
140
|
+
readonly $fault: "client";
|
|
141
|
+
Message?: string | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* @internal
|
|
144
|
+
*/
|
|
145
|
+
constructor(opts: __ExceptionOptionType<CustomHealthNotFound, __BaseException>);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
149
|
+
* you can't delete a service that contains any instances.</p>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
export declare class ResourceInUse extends __BaseException {
|
|
153
|
+
readonly name: "ResourceInUse";
|
|
154
|
+
readonly $fault: "client";
|
|
155
|
+
Message?: string | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* @internal
|
|
158
|
+
*/
|
|
159
|
+
constructor(opts: __ExceptionOptionType<ResourceInUse, __BaseException>);
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* <p>No service exists with the specified ID.</p>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
export declare class ServiceNotFound extends __BaseException {
|
|
166
|
+
readonly name: "ServiceNotFound";
|
|
167
|
+
readonly $fault: "client";
|
|
168
|
+
Message?: string | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* @internal
|
|
171
|
+
*/
|
|
172
|
+
constructor(opts: __ExceptionOptionType<ServiceNotFound, __BaseException>);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* <p>No instance exists with the specified ID, or the instance was recently registered, and
|
|
176
|
+
* information about the instance hasn't propagated yet.</p>
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
export declare class InstanceNotFound extends __BaseException {
|
|
180
|
+
readonly name: "InstanceNotFound";
|
|
181
|
+
readonly $fault: "client";
|
|
182
|
+
Message?: string | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
*/
|
|
186
|
+
constructor(opts: __ExceptionOptionType<InstanceNotFound, __BaseException>);
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* <p>The operation can't be completed because you've reached the quota for the number of
|
|
190
|
+
* requests. For more information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/throttling.html">Cloud Map API request throttling quota</a> in the
|
|
191
|
+
* <i>Cloud Map Developer Guide</i>.</p>
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
194
|
+
export declare class RequestLimitExceeded extends __BaseException {
|
|
195
|
+
readonly name: "RequestLimitExceeded";
|
|
196
|
+
readonly $fault: "client";
|
|
197
|
+
Message?: string | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* @internal
|
|
200
|
+
*/
|
|
201
|
+
constructor(opts: __ExceptionOptionType<RequestLimitExceeded, __BaseException>);
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* <p>No operation exists with the specified ID.</p>
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
export declare class OperationNotFound extends __BaseException {
|
|
208
|
+
readonly name: "OperationNotFound";
|
|
209
|
+
readonly $fault: "client";
|
|
210
|
+
Message?: string | undefined;
|
|
211
|
+
/**
|
|
212
|
+
* @internal
|
|
213
|
+
*/
|
|
214
|
+
constructor(opts: __ExceptionOptionType<OperationNotFound, __BaseException>);
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* <p>The operation can't be completed because the resource was not found.</p>
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
221
|
+
readonly name: "ResourceNotFoundException";
|
|
222
|
+
readonly $fault: "client";
|
|
223
|
+
Message?: string | undefined;
|
|
224
|
+
/**
|
|
225
|
+
* @internal
|
|
226
|
+
*/
|
|
227
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* <p>The attribute can't be added to the service because you've exceeded the quota for the number
|
|
231
|
+
* of attributes you can add to a service.</p>
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
export declare class ServiceAttributesLimitExceededException extends __BaseException {
|
|
235
|
+
readonly name: "ServiceAttributesLimitExceededException";
|
|
236
|
+
readonly $fault: "client";
|
|
237
|
+
Message?: string | undefined;
|
|
238
|
+
/**
|
|
239
|
+
* @internal
|
|
240
|
+
*/
|
|
241
|
+
constructor(opts: __ExceptionOptionType<ServiceAttributesLimitExceededException, __BaseException>);
|
|
242
|
+
}
|