@aws-sdk/client-ram 3.933.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.
@@ -0,0 +1,359 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { RAMServiceException as __BaseException } from "./RAMServiceException";
3
+ /**
4
+ * <p>The operation failed because the client token input parameter matched one that was
5
+ * used with a previous call to the operation, but at least one of the other input
6
+ * parameters is different from the previous call.</p>
7
+ * @public
8
+ */
9
+ export declare class IdempotentParameterMismatchException extends __BaseException {
10
+ readonly name: "IdempotentParameterMismatchException";
11
+ readonly $fault: "client";
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
16
+ }
17
+ /**
18
+ * <p>The operation failed because the specified client token isn't valid.</p>
19
+ * @public
20
+ */
21
+ export declare class InvalidClientTokenException extends __BaseException {
22
+ readonly name: "InvalidClientTokenException";
23
+ readonly $fault: "client";
24
+ /**
25
+ * @internal
26
+ */
27
+ constructor(opts: __ExceptionOptionType<InvalidClientTokenException, __BaseException>);
28
+ }
29
+ /**
30
+ * <p>The operation failed because the specified <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> has a format that isn't
31
+ * valid.</p>
32
+ * @public
33
+ */
34
+ export declare class MalformedArnException extends __BaseException {
35
+ readonly name: "MalformedArnException";
36
+ readonly $fault: "client";
37
+ /**
38
+ * @internal
39
+ */
40
+ constructor(opts: __ExceptionOptionType<MalformedArnException, __BaseException>);
41
+ }
42
+ /**
43
+ * <p>The operation failed because the requested operation isn't permitted.</p>
44
+ * @public
45
+ */
46
+ export declare class OperationNotPermittedException extends __BaseException {
47
+ readonly name: "OperationNotPermittedException";
48
+ readonly $fault: "client";
49
+ /**
50
+ * @internal
51
+ */
52
+ constructor(opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>);
53
+ }
54
+ /**
55
+ * <p>The operation failed because the specified invitation was already accepted.</p>
56
+ * @public
57
+ */
58
+ export declare class ResourceShareInvitationAlreadyAcceptedException extends __BaseException {
59
+ readonly name: "ResourceShareInvitationAlreadyAcceptedException";
60
+ readonly $fault: "client";
61
+ /**
62
+ * @internal
63
+ */
64
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationAlreadyAcceptedException, __BaseException>);
65
+ }
66
+ /**
67
+ * <p>The operation failed because the specified invitation was already rejected.</p>
68
+ * @public
69
+ */
70
+ export declare class ResourceShareInvitationAlreadyRejectedException extends __BaseException {
71
+ readonly name: "ResourceShareInvitationAlreadyRejectedException";
72
+ readonly $fault: "client";
73
+ /**
74
+ * @internal
75
+ */
76
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationAlreadyRejectedException, __BaseException>);
77
+ }
78
+ /**
79
+ * <p>The operation failed because the specified <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> for an invitation was not
80
+ * found.</p>
81
+ * @public
82
+ */
83
+ export declare class ResourceShareInvitationArnNotFoundException extends __BaseException {
84
+ readonly name: "ResourceShareInvitationArnNotFoundException";
85
+ readonly $fault: "client";
86
+ /**
87
+ * @internal
88
+ */
89
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationArnNotFoundException, __BaseException>);
90
+ }
91
+ /**
92
+ * <p>The operation failed because the specified invitation is past its expiration date and
93
+ * time.</p>
94
+ * @public
95
+ */
96
+ export declare class ResourceShareInvitationExpiredException extends __BaseException {
97
+ readonly name: "ResourceShareInvitationExpiredException";
98
+ readonly $fault: "client";
99
+ /**
100
+ * @internal
101
+ */
102
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationExpiredException, __BaseException>);
103
+ }
104
+ /**
105
+ * <p>The operation failed because the service could not respond to the request due to an
106
+ * internal problem. Try again later.</p>
107
+ * @public
108
+ */
109
+ export declare class ServerInternalException extends __BaseException {
110
+ readonly name: "ServerInternalException";
111
+ readonly $fault: "server";
112
+ /**
113
+ * @internal
114
+ */
115
+ constructor(opts: __ExceptionOptionType<ServerInternalException, __BaseException>);
116
+ }
117
+ /**
118
+ * <p>The operation failed because the service isn't available. Try again later.</p>
119
+ * @public
120
+ */
121
+ export declare class ServiceUnavailableException extends __BaseException {
122
+ readonly name: "ServiceUnavailableException";
123
+ readonly $fault: "server";
124
+ /**
125
+ * @internal
126
+ */
127
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
128
+ }
129
+ /**
130
+ * <p>The operation failed because a parameter you specified isn't valid.</p>
131
+ * @public
132
+ */
133
+ export declare class InvalidParameterException extends __BaseException {
134
+ readonly name: "InvalidParameterException";
135
+ readonly $fault: "client";
136
+ /**
137
+ * @internal
138
+ */
139
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
140
+ }
141
+ /**
142
+ * <p>The operation failed because the requested operation isn't valid for the resource
143
+ * share in its current state.</p>
144
+ * @public
145
+ */
146
+ export declare class InvalidStateTransitionException extends __BaseException {
147
+ readonly name: "InvalidStateTransitionException";
148
+ readonly $fault: "client";
149
+ /**
150
+ * @internal
151
+ */
152
+ constructor(opts: __ExceptionOptionType<InvalidStateTransitionException, __BaseException>);
153
+ }
154
+ /**
155
+ * <p>The operation failed because it would exceed the limit for resource shares for your account. To
156
+ * view the limits for your Amazon Web Services account, see the <a href="https://console.aws.amazon.com/servicequotas/home/services/ram/quotas">RAM page in the Service Quotas
157
+ * console</a>.</p>
158
+ * @public
159
+ */
160
+ export declare class ResourceShareLimitExceededException extends __BaseException {
161
+ readonly name: "ResourceShareLimitExceededException";
162
+ readonly $fault: "client";
163
+ /**
164
+ * @internal
165
+ */
166
+ constructor(opts: __ExceptionOptionType<ResourceShareLimitExceededException, __BaseException>);
167
+ }
168
+ /**
169
+ * <p>The operation failed because it exceeded the rate at which you are allowed to perform
170
+ * this operation. Please try again later.</p>
171
+ * @public
172
+ */
173
+ export declare class ThrottlingException extends __BaseException {
174
+ readonly name: "ThrottlingException";
175
+ readonly $fault: "client";
176
+ /**
177
+ * @internal
178
+ */
179
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
180
+ }
181
+ /**
182
+ * <p>The operation failed because a specified resource couldn't be found.</p>
183
+ * @public
184
+ */
185
+ export declare class UnknownResourceException extends __BaseException {
186
+ readonly name: "UnknownResourceException";
187
+ readonly $fault: "client";
188
+ /**
189
+ * @internal
190
+ */
191
+ constructor(opts: __ExceptionOptionType<UnknownResourceException, __BaseException>);
192
+ }
193
+ /**
194
+ * <p>The operation failed because a policy you specified isn't valid.</p>
195
+ * @public
196
+ */
197
+ export declare class InvalidPolicyException extends __BaseException {
198
+ readonly name: "InvalidPolicyException";
199
+ readonly $fault: "client";
200
+ /**
201
+ * @internal
202
+ */
203
+ constructor(opts: __ExceptionOptionType<InvalidPolicyException, __BaseException>);
204
+ }
205
+ /**
206
+ * <p>The operation failed because the policy template that you provided isn't valid.</p>
207
+ * @public
208
+ */
209
+ export declare class MalformedPolicyTemplateException extends __BaseException {
210
+ readonly name: "MalformedPolicyTemplateException";
211
+ readonly $fault: "client";
212
+ /**
213
+ * @internal
214
+ */
215
+ constructor(opts: __ExceptionOptionType<MalformedPolicyTemplateException, __BaseException>);
216
+ }
217
+ /**
218
+ * <p>The operation failed because a permission with the specified name already exists in
219
+ * the requested Amazon Web Services Region. Choose a different name.</p>
220
+ * @public
221
+ */
222
+ export declare class PermissionAlreadyExistsException extends __BaseException {
223
+ readonly name: "PermissionAlreadyExistsException";
224
+ readonly $fault: "client";
225
+ /**
226
+ * @internal
227
+ */
228
+ constructor(opts: __ExceptionOptionType<PermissionAlreadyExistsException, __BaseException>);
229
+ }
230
+ /**
231
+ * <p>The operation failed because it would exceed the maximum number of permissions you can
232
+ * create in each Amazon Web Services Region. To view the limits for your Amazon Web Services account, see the <a href="https://console.aws.amazon.com/servicequotas/home/services/ram/quotas">RAM page in the
233
+ * Service Quotas console</a>.</p>
234
+ * @public
235
+ */
236
+ export declare class PermissionLimitExceededException extends __BaseException {
237
+ readonly name: "PermissionLimitExceededException";
238
+ readonly $fault: "client";
239
+ /**
240
+ * @internal
241
+ */
242
+ constructor(opts: __ExceptionOptionType<PermissionLimitExceededException, __BaseException>);
243
+ }
244
+ /**
245
+ * <p>The operation failed because it would exceed the limit for the number of versions you
246
+ * can have for a permission. To view the limits for your Amazon Web Services account, see the <a href="https://console.aws.amazon.com/servicequotas/home/services/ram/quotas">RAM page in the
247
+ * Service Quotas console</a>.</p>
248
+ * @public
249
+ */
250
+ export declare class PermissionVersionsLimitExceededException extends __BaseException {
251
+ readonly name: "PermissionVersionsLimitExceededException";
252
+ readonly $fault: "client";
253
+ /**
254
+ * @internal
255
+ */
256
+ constructor(opts: __ExceptionOptionType<PermissionVersionsLimitExceededException, __BaseException>);
257
+ }
258
+ /**
259
+ * <p>The operation failed because it would exceed the limit for tags for your
260
+ * Amazon Web Services account.</p>
261
+ * @public
262
+ */
263
+ export declare class TagLimitExceededException extends __BaseException {
264
+ readonly name: "TagLimitExceededException";
265
+ readonly $fault: "client";
266
+ /**
267
+ * @internal
268
+ */
269
+ constructor(opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>);
270
+ }
271
+ /**
272
+ * <p>The operation failed because the specified tag key is a reserved word and can't be
273
+ * used.</p>
274
+ * @public
275
+ */
276
+ export declare class TagPolicyViolationException extends __BaseException {
277
+ readonly name: "TagPolicyViolationException";
278
+ readonly $fault: "client";
279
+ /**
280
+ * @internal
281
+ */
282
+ constructor(opts: __ExceptionOptionType<TagPolicyViolationException, __BaseException>);
283
+ }
284
+ /**
285
+ * <p>The operation failed because the specified value for <code>NextToken</code> isn't
286
+ * valid. You must specify a value you received in the <code>NextToken</code> response of a
287
+ * previous call to this operation.</p>
288
+ * @public
289
+ */
290
+ export declare class InvalidNextTokenException extends __BaseException {
291
+ readonly name: "InvalidNextTokenException";
292
+ readonly $fault: "client";
293
+ /**
294
+ * @internal
295
+ */
296
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
297
+ }
298
+ /**
299
+ * <p>The operation failed because the specified <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> was not found.</p>
300
+ * @public
301
+ */
302
+ export declare class ResourceArnNotFoundException extends __BaseException {
303
+ readonly name: "ResourceArnNotFoundException";
304
+ readonly $fault: "client";
305
+ /**
306
+ * @internal
307
+ */
308
+ constructor(opts: __ExceptionOptionType<ResourceArnNotFoundException, __BaseException>);
309
+ }
310
+ /**
311
+ * <p>The operation failed because the specified value for <code>MaxResults</code> isn't
312
+ * valid.</p>
313
+ * @public
314
+ */
315
+ export declare class InvalidMaxResultsException extends __BaseException {
316
+ readonly name: "InvalidMaxResultsException";
317
+ readonly $fault: "client";
318
+ /**
319
+ * @internal
320
+ */
321
+ constructor(opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>);
322
+ }
323
+ /**
324
+ * <p>The operation failed because a required input parameter is missing.</p>
325
+ * @public
326
+ */
327
+ export declare class MissingRequiredParameterException extends __BaseException {
328
+ readonly name: "MissingRequiredParameterException";
329
+ readonly $fault: "client";
330
+ /**
331
+ * @internal
332
+ */
333
+ constructor(opts: __ExceptionOptionType<MissingRequiredParameterException, __BaseException>);
334
+ }
335
+ /**
336
+ * <p>The operation failed because the specified resource type isn't valid.</p>
337
+ * @public
338
+ */
339
+ export declare class InvalidResourceTypeException extends __BaseException {
340
+ readonly name: "InvalidResourceTypeException";
341
+ readonly $fault: "client";
342
+ /**
343
+ * @internal
344
+ */
345
+ constructor(opts: __ExceptionOptionType<InvalidResourceTypeException, __BaseException>);
346
+ }
347
+ /**
348
+ * <p>There isn't an existing managed permission defined in RAM that has the same IAM permissions as
349
+ * the resource-based policy attached to the resource. You should first run <a>PromotePermissionCreatedFromPolicy</a> to create that managed permission.</p>
350
+ * @public
351
+ */
352
+ export declare class UnmatchedPolicyPermissionException extends __BaseException {
353
+ readonly name: "UnmatchedPolicyPermissionException";
354
+ readonly $fault: "client";
355
+ /**
356
+ * @internal
357
+ */
358
+ constructor(opts: __ExceptionOptionType<UnmatchedPolicyPermissionException, __BaseException>);
359
+ }