@aws-sdk/client-identitystore 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 +30 -29
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +29 -0
- package/dist-es/models/errors.js +135 -0
- package/dist-es/models/models_0.js +1 -164
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +85 -0
- package/dist-types/models/errors.d.ts +178 -0
- package/dist-types/models/models_0.d.ts +1 -262
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +41 -0
- package/dist-types/ts3.4/models/errors.d.ts +84 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -117
- 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,178 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { AccessDeniedExceptionReason, ConflictExceptionReason, ResourceNotFoundExceptionReason, ResourceType, ThrottlingExceptionReason, ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { IdentitystoreServiceException as __BaseException } from "./IdentitystoreServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Message?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
RequestId?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>Indicates the reason for an access denial when returned by KMS while accessing a Customer Managed KMS key. For non-KMS access-denied errors, this field is not included.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
Reason?: AccessDeniedExceptionReason | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>The request processing has failed because of an unknown error, exception or failure with an internal server.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class InternalServerException extends __BaseException {
|
|
32
|
+
readonly name: "InternalServerException";
|
|
33
|
+
readonly $fault: "server";
|
|
34
|
+
$retryable: {};
|
|
35
|
+
Message?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
RequestId?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* <p>The number of seconds to wait before retrying the next request.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
RetryAfterSeconds?: number | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* <p>Indicates that a requested resource is not found.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
56
|
+
readonly name: "ResourceNotFoundException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
/**
|
|
59
|
+
* <p>An enum object indicating the type of resource in the identity store service. Valid values include USER, GROUP, and IDENTITY_STORE.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
ResourceType?: ResourceType | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* <p>The identifier for a resource in the identity store that can be used as <code>UserId</code> or <code>GroupId</code>. The format for <code>ResourceId</code> is either <code>UUID</code> or <code>1234567890-UUID</code>, where <code>UUID</code> is a randomly generated value for each resource when it is created and <code>1234567890</code> represents the <code> IdentityStoreId</code> string value. In the case that the identity store is migrated from a legacy SSO identity store, the <code>ResourceId</code> for that identity store will be in the format of <code>UUID</code>. Otherwise, it will be in the <code>1234567890-UUID</code> format.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
ResourceId?: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>Indicates the reason for a resource not found error when the service is unable to access a Customer Managed KMS key. For non-KMS permission errors, this field is not included.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
73
|
+
Message?: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
RequestId?: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* <p>Indicates that the principal has crossed the throttling limits of the API operations.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class ThrottlingException extends __BaseException {
|
|
89
|
+
readonly name: "ThrottlingException";
|
|
90
|
+
readonly $fault: "client";
|
|
91
|
+
$retryable: {
|
|
92
|
+
throttling: boolean;
|
|
93
|
+
};
|
|
94
|
+
Message?: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
RequestId?: string | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* <p>The number of seconds to wait before retrying the next request.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
RetryAfterSeconds?: number | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* <p>Indicates the reason for the throttling error when the service is unable to access a Customer Managed KMS key. For non-KMS permission errors, this field is not included.</p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
Reason?: ThrottlingExceptionReason | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* <p>The request failed because it contains a syntax error.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export declare class ValidationException extends __BaseException {
|
|
120
|
+
readonly name: "ValidationException";
|
|
121
|
+
readonly $fault: "client";
|
|
122
|
+
Message?: string | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
RequestId?: string | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* <p>Indicates the reason for the validation error when the service is unable to access a Customer Managed KMS key. For non-KMS permission errors, this field is not included.</p>
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* <p>This request cannot be completed for one of the following reasons:</p> <ul> <li> <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p> </li> <li> <p>The requested resource was being concurrently modified by another request.</p> </li> </ul>
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export declare class ConflictException extends __BaseException {
|
|
143
|
+
readonly name: "ConflictException";
|
|
144
|
+
readonly $fault: "client";
|
|
145
|
+
Message?: string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
RequestId?: string | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* <p>This request cannot be completed for one of the following reasons:</p> <ul> <li> <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p> </li> <li> <p>The requested resource was being concurrently modified by another request.</p> </li> </ul>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
Reason?: ConflictExceptionReason | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* @internal
|
|
158
|
+
*/
|
|
159
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* <p>The request would cause the number of users or groups in the identity store to exceed the maximum allowed.</p>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
166
|
+
readonly name: "ServiceQuotaExceededException";
|
|
167
|
+
readonly $fault: "client";
|
|
168
|
+
Message?: string | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
RequestId?: string | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* @internal
|
|
176
|
+
*/
|
|
177
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
178
|
+
}
|
|
@@ -1,40 +1,5 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
* @enum
|
|
7
|
-
*/
|
|
8
|
-
export declare const AccessDeniedExceptionReason: {
|
|
9
|
-
readonly KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED";
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export type AccessDeniedExceptionReason = (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
|
|
15
|
-
/**
|
|
16
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
20
|
-
readonly name: "AccessDeniedException";
|
|
21
|
-
readonly $fault: "client";
|
|
22
|
-
Message?: string | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
25
|
-
* @public
|
|
26
|
-
*/
|
|
27
|
-
RequestId?: string | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* <p>Indicates the reason for an access denial when returned by KMS while accessing a Customer Managed KMS key. For non-KMS access-denied errors, this field is not included.</p>
|
|
30
|
-
* @public
|
|
31
|
-
*/
|
|
32
|
-
Reason?: AccessDeniedExceptionReason | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
36
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
37
|
-
}
|
|
2
|
+
import { UserStatus } from "./enums";
|
|
38
3
|
/**
|
|
39
4
|
* <p>The address associated with the specified user.</p>
|
|
40
5
|
* @public
|
|
@@ -204,167 +169,6 @@ export interface GetGroupIdResponse {
|
|
|
204
169
|
*/
|
|
205
170
|
IdentityStoreId: string | undefined;
|
|
206
171
|
}
|
|
207
|
-
/**
|
|
208
|
-
* <p>The request processing has failed because of an unknown error, exception or failure with an internal server.</p>
|
|
209
|
-
* @public
|
|
210
|
-
*/
|
|
211
|
-
export declare class InternalServerException extends __BaseException {
|
|
212
|
-
readonly name: "InternalServerException";
|
|
213
|
-
readonly $fault: "server";
|
|
214
|
-
$retryable: {};
|
|
215
|
-
Message?: string | undefined;
|
|
216
|
-
/**
|
|
217
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
218
|
-
* @public
|
|
219
|
-
*/
|
|
220
|
-
RequestId?: string | undefined;
|
|
221
|
-
/**
|
|
222
|
-
* <p>The number of seconds to wait before retrying the next request.</p>
|
|
223
|
-
* @public
|
|
224
|
-
*/
|
|
225
|
-
RetryAfterSeconds?: number | undefined;
|
|
226
|
-
/**
|
|
227
|
-
* @internal
|
|
228
|
-
*/
|
|
229
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* @public
|
|
233
|
-
* @enum
|
|
234
|
-
*/
|
|
235
|
-
export declare const ResourceNotFoundExceptionReason: {
|
|
236
|
-
readonly KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND";
|
|
237
|
-
};
|
|
238
|
-
/**
|
|
239
|
-
* @public
|
|
240
|
-
*/
|
|
241
|
-
export type ResourceNotFoundExceptionReason = (typeof ResourceNotFoundExceptionReason)[keyof typeof ResourceNotFoundExceptionReason];
|
|
242
|
-
/**
|
|
243
|
-
* @public
|
|
244
|
-
* @enum
|
|
245
|
-
*/
|
|
246
|
-
export declare const ResourceType: {
|
|
247
|
-
readonly GROUP: "GROUP";
|
|
248
|
-
readonly GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP";
|
|
249
|
-
readonly IDENTITY_STORE: "IDENTITY_STORE";
|
|
250
|
-
readonly USER: "USER";
|
|
251
|
-
};
|
|
252
|
-
/**
|
|
253
|
-
* @public
|
|
254
|
-
*/
|
|
255
|
-
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
256
|
-
/**
|
|
257
|
-
* <p>Indicates that a requested resource is not found.</p>
|
|
258
|
-
* @public
|
|
259
|
-
*/
|
|
260
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
261
|
-
readonly name: "ResourceNotFoundException";
|
|
262
|
-
readonly $fault: "client";
|
|
263
|
-
/**
|
|
264
|
-
* <p>An enum object indicating the type of resource in the identity store service. Valid values include USER, GROUP, and IDENTITY_STORE.</p>
|
|
265
|
-
* @public
|
|
266
|
-
*/
|
|
267
|
-
ResourceType?: ResourceType | undefined;
|
|
268
|
-
/**
|
|
269
|
-
* <p>The identifier for a resource in the identity store that can be used as <code>UserId</code> or <code>GroupId</code>. The format for <code>ResourceId</code> is either <code>UUID</code> or <code>1234567890-UUID</code>, where <code>UUID</code> is a randomly generated value for each resource when it is created and <code>1234567890</code> represents the <code> IdentityStoreId</code> string value. In the case that the identity store is migrated from a legacy SSO identity store, the <code>ResourceId</code> for that identity store will be in the format of <code>UUID</code>. Otherwise, it will be in the <code>1234567890-UUID</code> format.</p>
|
|
270
|
-
* @public
|
|
271
|
-
*/
|
|
272
|
-
ResourceId?: string | undefined;
|
|
273
|
-
/**
|
|
274
|
-
* <p>Indicates the reason for a resource not found error when the service is unable to access a Customer Managed KMS key. For non-KMS permission errors, this field is not included.</p>
|
|
275
|
-
* @public
|
|
276
|
-
*/
|
|
277
|
-
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
278
|
-
Message?: string | undefined;
|
|
279
|
-
/**
|
|
280
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
281
|
-
* @public
|
|
282
|
-
*/
|
|
283
|
-
RequestId?: string | undefined;
|
|
284
|
-
/**
|
|
285
|
-
* @internal
|
|
286
|
-
*/
|
|
287
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
288
|
-
}
|
|
289
|
-
/**
|
|
290
|
-
* @public
|
|
291
|
-
* @enum
|
|
292
|
-
*/
|
|
293
|
-
export declare const ThrottlingExceptionReason: {
|
|
294
|
-
readonly KMS_THROTTLING: "KMS_THROTTLING";
|
|
295
|
-
};
|
|
296
|
-
/**
|
|
297
|
-
* @public
|
|
298
|
-
*/
|
|
299
|
-
export type ThrottlingExceptionReason = (typeof ThrottlingExceptionReason)[keyof typeof ThrottlingExceptionReason];
|
|
300
|
-
/**
|
|
301
|
-
* <p>Indicates that the principal has crossed the throttling limits of the API operations.</p>
|
|
302
|
-
* @public
|
|
303
|
-
*/
|
|
304
|
-
export declare class ThrottlingException extends __BaseException {
|
|
305
|
-
readonly name: "ThrottlingException";
|
|
306
|
-
readonly $fault: "client";
|
|
307
|
-
$retryable: {
|
|
308
|
-
throttling: boolean;
|
|
309
|
-
};
|
|
310
|
-
Message?: string | undefined;
|
|
311
|
-
/**
|
|
312
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
313
|
-
* @public
|
|
314
|
-
*/
|
|
315
|
-
RequestId?: string | undefined;
|
|
316
|
-
/**
|
|
317
|
-
* <p>The number of seconds to wait before retrying the next request.</p>
|
|
318
|
-
* @public
|
|
319
|
-
*/
|
|
320
|
-
RetryAfterSeconds?: number | undefined;
|
|
321
|
-
/**
|
|
322
|
-
* <p>Indicates the reason for the throttling error when the service is unable to access a Customer Managed KMS key. For non-KMS permission errors, this field is not included.</p>
|
|
323
|
-
* @public
|
|
324
|
-
*/
|
|
325
|
-
Reason?: ThrottlingExceptionReason | undefined;
|
|
326
|
-
/**
|
|
327
|
-
* @internal
|
|
328
|
-
*/
|
|
329
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
330
|
-
}
|
|
331
|
-
/**
|
|
332
|
-
* @public
|
|
333
|
-
* @enum
|
|
334
|
-
*/
|
|
335
|
-
export declare const ValidationExceptionReason: {
|
|
336
|
-
readonly KMS_DISABLED: "KMS_DISABLED";
|
|
337
|
-
readonly KMS_INVALID_ARN: "KMS_INVALID_ARN";
|
|
338
|
-
readonly KMS_INVALID_KEY_USAGE: "KMS_INVALID_KEY_USAGE";
|
|
339
|
-
readonly KMS_INVALID_STATE: "KMS_INVALID_STATE";
|
|
340
|
-
};
|
|
341
|
-
/**
|
|
342
|
-
* @public
|
|
343
|
-
*/
|
|
344
|
-
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
345
|
-
/**
|
|
346
|
-
* <p>The request failed because it contains a syntax error.</p>
|
|
347
|
-
* @public
|
|
348
|
-
*/
|
|
349
|
-
export declare class ValidationException extends __BaseException {
|
|
350
|
-
readonly name: "ValidationException";
|
|
351
|
-
readonly $fault: "client";
|
|
352
|
-
Message?: string | undefined;
|
|
353
|
-
/**
|
|
354
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
355
|
-
* @public
|
|
356
|
-
*/
|
|
357
|
-
RequestId?: string | undefined;
|
|
358
|
-
/**
|
|
359
|
-
* <p>Indicates the reason for the validation error when the service is unable to access a Customer Managed KMS key. For non-KMS permission errors, this field is not included.</p>
|
|
360
|
-
* @public
|
|
361
|
-
*/
|
|
362
|
-
Reason?: ValidationExceptionReason | undefined;
|
|
363
|
-
/**
|
|
364
|
-
* @internal
|
|
365
|
-
*/
|
|
366
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
367
|
-
}
|
|
368
172
|
/**
|
|
369
173
|
* <p>An object containing the identifier of a group member.</p>
|
|
370
174
|
* @public
|
|
@@ -463,41 +267,6 @@ export interface GetUserIdResponse {
|
|
|
463
267
|
*/
|
|
464
268
|
UserId: string | undefined;
|
|
465
269
|
}
|
|
466
|
-
/**
|
|
467
|
-
* @public
|
|
468
|
-
* @enum
|
|
469
|
-
*/
|
|
470
|
-
export declare const ConflictExceptionReason: {
|
|
471
|
-
readonly CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION";
|
|
472
|
-
readonly UNIQUENESS_CONSTRAINT_VIOLATION: "UNIQUENESS_CONSTRAINT_VIOLATION";
|
|
473
|
-
};
|
|
474
|
-
/**
|
|
475
|
-
* @public
|
|
476
|
-
*/
|
|
477
|
-
export type ConflictExceptionReason = (typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
|
|
478
|
-
/**
|
|
479
|
-
* <p>This request cannot be completed for one of the following reasons:</p> <ul> <li> <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p> </li> <li> <p>The requested resource was being concurrently modified by another request.</p> </li> </ul>
|
|
480
|
-
* @public
|
|
481
|
-
*/
|
|
482
|
-
export declare class ConflictException extends __BaseException {
|
|
483
|
-
readonly name: "ConflictException";
|
|
484
|
-
readonly $fault: "client";
|
|
485
|
-
Message?: string | undefined;
|
|
486
|
-
/**
|
|
487
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
488
|
-
* @public
|
|
489
|
-
*/
|
|
490
|
-
RequestId?: string | undefined;
|
|
491
|
-
/**
|
|
492
|
-
* <p>This request cannot be completed for one of the following reasons:</p> <ul> <li> <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p> </li> <li> <p>The requested resource was being concurrently modified by another request.</p> </li> </ul>
|
|
493
|
-
* @public
|
|
494
|
-
*/
|
|
495
|
-
Reason?: ConflictExceptionReason | undefined;
|
|
496
|
-
/**
|
|
497
|
-
* @internal
|
|
498
|
-
*/
|
|
499
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
500
|
-
}
|
|
501
270
|
/**
|
|
502
271
|
* @public
|
|
503
272
|
*/
|
|
@@ -533,24 +302,6 @@ export interface CreateGroupMembershipResponse {
|
|
|
533
302
|
*/
|
|
534
303
|
IdentityStoreId: string | undefined;
|
|
535
304
|
}
|
|
536
|
-
/**
|
|
537
|
-
* <p>The request would cause the number of users or groups in the identity store to exceed the maximum allowed.</p>
|
|
538
|
-
* @public
|
|
539
|
-
*/
|
|
540
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
541
|
-
readonly name: "ServiceQuotaExceededException";
|
|
542
|
-
readonly $fault: "client";
|
|
543
|
-
Message?: string | undefined;
|
|
544
|
-
/**
|
|
545
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
546
|
-
* @public
|
|
547
|
-
*/
|
|
548
|
-
RequestId?: string | undefined;
|
|
549
|
-
/**
|
|
550
|
-
* @internal
|
|
551
|
-
*/
|
|
552
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
553
|
-
}
|
|
554
305
|
/**
|
|
555
306
|
* @public
|
|
556
307
|
*/
|
|
@@ -1306,18 +1057,6 @@ export interface DescribeUserRequest {
|
|
|
1306
1057
|
*/
|
|
1307
1058
|
UserId: string | undefined;
|
|
1308
1059
|
}
|
|
1309
|
-
/**
|
|
1310
|
-
* @public
|
|
1311
|
-
* @enum
|
|
1312
|
-
*/
|
|
1313
|
-
export declare const UserStatus: {
|
|
1314
|
-
readonly DISABLED: "DISABLED";
|
|
1315
|
-
readonly ENABLED: "ENABLED";
|
|
1316
|
-
};
|
|
1317
|
-
/**
|
|
1318
|
-
* @public
|
|
1319
|
-
*/
|
|
1320
|
-
export type UserStatus = (typeof UserStatus)[keyof typeof UserStatus];
|
|
1321
1060
|
/**
|
|
1322
1061
|
* @public
|
|
1323
1062
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { IdentitystoreExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { IdentitystoreServiceException } from "./models/IdentitystoreServiceException";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare const AccessDeniedExceptionReason: {
|
|
2
|
+
readonly KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED";
|
|
3
|
+
};
|
|
4
|
+
export type AccessDeniedExceptionReason =
|
|
5
|
+
(typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
|
|
6
|
+
export declare const ResourceNotFoundExceptionReason: {
|
|
7
|
+
readonly KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND";
|
|
8
|
+
};
|
|
9
|
+
export type ResourceNotFoundExceptionReason =
|
|
10
|
+
(typeof ResourceNotFoundExceptionReason)[keyof typeof ResourceNotFoundExceptionReason];
|
|
11
|
+
export declare const ResourceType: {
|
|
12
|
+
readonly GROUP: "GROUP";
|
|
13
|
+
readonly GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP";
|
|
14
|
+
readonly IDENTITY_STORE: "IDENTITY_STORE";
|
|
15
|
+
readonly USER: "USER";
|
|
16
|
+
};
|
|
17
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
18
|
+
export declare const ThrottlingExceptionReason: {
|
|
19
|
+
readonly KMS_THROTTLING: "KMS_THROTTLING";
|
|
20
|
+
};
|
|
21
|
+
export type ThrottlingExceptionReason =
|
|
22
|
+
(typeof ThrottlingExceptionReason)[keyof typeof ThrottlingExceptionReason];
|
|
23
|
+
export declare const ValidationExceptionReason: {
|
|
24
|
+
readonly KMS_DISABLED: "KMS_DISABLED";
|
|
25
|
+
readonly KMS_INVALID_ARN: "KMS_INVALID_ARN";
|
|
26
|
+
readonly KMS_INVALID_KEY_USAGE: "KMS_INVALID_KEY_USAGE";
|
|
27
|
+
readonly KMS_INVALID_STATE: "KMS_INVALID_STATE";
|
|
28
|
+
};
|
|
29
|
+
export type ValidationExceptionReason =
|
|
30
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
31
|
+
export declare const ConflictExceptionReason: {
|
|
32
|
+
readonly CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION";
|
|
33
|
+
readonly UNIQUENESS_CONSTRAINT_VIOLATION: "UNIQUENESS_CONSTRAINT_VIOLATION";
|
|
34
|
+
};
|
|
35
|
+
export type ConflictExceptionReason =
|
|
36
|
+
(typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
|
|
37
|
+
export declare const UserStatus: {
|
|
38
|
+
readonly DISABLED: "DISABLED";
|
|
39
|
+
readonly ENABLED: "ENABLED";
|
|
40
|
+
};
|
|
41
|
+
export type UserStatus = (typeof UserStatus)[keyof typeof UserStatus];
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
AccessDeniedExceptionReason,
|
|
4
|
+
ConflictExceptionReason,
|
|
5
|
+
ResourceNotFoundExceptionReason,
|
|
6
|
+
ResourceType,
|
|
7
|
+
ThrottlingExceptionReason,
|
|
8
|
+
ValidationExceptionReason,
|
|
9
|
+
} from "./enums";
|
|
10
|
+
import { IdentitystoreServiceException as __BaseException } from "./IdentitystoreServiceException";
|
|
11
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
12
|
+
readonly name: "AccessDeniedException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
Message?: string | undefined;
|
|
15
|
+
RequestId?: string | undefined;
|
|
16
|
+
Reason?: AccessDeniedExceptionReason | undefined;
|
|
17
|
+
constructor(
|
|
18
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
export declare class InternalServerException extends __BaseException {
|
|
22
|
+
readonly name: "InternalServerException";
|
|
23
|
+
readonly $fault: "server";
|
|
24
|
+
$retryable: {};
|
|
25
|
+
Message?: string | undefined;
|
|
26
|
+
RequestId?: string | undefined;
|
|
27
|
+
RetryAfterSeconds?: number | undefined;
|
|
28
|
+
constructor(
|
|
29
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
33
|
+
readonly name: "ResourceNotFoundException";
|
|
34
|
+
readonly $fault: "client";
|
|
35
|
+
ResourceType?: ResourceType | undefined;
|
|
36
|
+
ResourceId?: string | undefined;
|
|
37
|
+
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
38
|
+
Message?: string | undefined;
|
|
39
|
+
RequestId?: string | undefined;
|
|
40
|
+
constructor(
|
|
41
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
export declare class ThrottlingException extends __BaseException {
|
|
45
|
+
readonly name: "ThrottlingException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
$retryable: {
|
|
48
|
+
throttling: boolean;
|
|
49
|
+
};
|
|
50
|
+
Message?: string | undefined;
|
|
51
|
+
RequestId?: string | undefined;
|
|
52
|
+
RetryAfterSeconds?: number | undefined;
|
|
53
|
+
Reason?: ThrottlingExceptionReason | undefined;
|
|
54
|
+
constructor(
|
|
55
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
export declare class ValidationException extends __BaseException {
|
|
59
|
+
readonly name: "ValidationException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
Message?: string | undefined;
|
|
62
|
+
RequestId?: string | undefined;
|
|
63
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
64
|
+
constructor(
|
|
65
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
export declare class ConflictException extends __BaseException {
|
|
69
|
+
readonly name: "ConflictException";
|
|
70
|
+
readonly $fault: "client";
|
|
71
|
+
Message?: string | undefined;
|
|
72
|
+
RequestId?: string | undefined;
|
|
73
|
+
Reason?: ConflictExceptionReason | undefined;
|
|
74
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
75
|
+
}
|
|
76
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
77
|
+
readonly name: "ServiceQuotaExceededException";
|
|
78
|
+
readonly $fault: "client";
|
|
79
|
+
Message?: string | undefined;
|
|
80
|
+
RequestId?: string | undefined;
|
|
81
|
+
constructor(
|
|
82
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
83
|
+
);
|
|
84
|
+
}
|