@aws-sdk/client-ram 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 +75 -74
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +74 -0
- package/dist-es/models/errors.js +337 -0
- package/dist-es/models/models_0.js +1 -411
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +186 -0
- package/dist-types/models/errors.d.ts +359 -0
- package/dist-types/models/models_0.d.ts +1 -545
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +101 -0
- package/dist-types/ts3.4/models/errors.d.ts +237 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -338
- 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
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { RAMServiceException as __BaseException } from "./RAMServiceException";
|
|
1
|
+
import { PermissionFeatureSet, PermissionStatus, PermissionType, PermissionTypeFilter, ReplacePermissionAssociationsWorkStatus, ResourceOwner, ResourceRegionScope, ResourceRegionScopeFilter, ResourceShareAssociationStatus, ResourceShareAssociationType, ResourceShareFeatureSet, ResourceShareInvitationStatus, ResourceShareStatus, ResourceStatus } from "./enums";
|
|
3
2
|
/**
|
|
4
3
|
* @public
|
|
5
4
|
*/
|
|
@@ -25,33 +24,6 @@ export interface AcceptResourceShareInvitationRequest {
|
|
|
25
24
|
*/
|
|
26
25
|
clientToken?: string | undefined;
|
|
27
26
|
}
|
|
28
|
-
/**
|
|
29
|
-
* @public
|
|
30
|
-
* @enum
|
|
31
|
-
*/
|
|
32
|
-
export declare const ResourceShareAssociationType: {
|
|
33
|
-
readonly PRINCIPAL: "PRINCIPAL";
|
|
34
|
-
readonly RESOURCE: "RESOURCE";
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
export type ResourceShareAssociationType = (typeof ResourceShareAssociationType)[keyof typeof ResourceShareAssociationType];
|
|
40
|
-
/**
|
|
41
|
-
* @public
|
|
42
|
-
* @enum
|
|
43
|
-
*/
|
|
44
|
-
export declare const ResourceShareAssociationStatus: {
|
|
45
|
-
readonly ASSOCIATED: "ASSOCIATED";
|
|
46
|
-
readonly ASSOCIATING: "ASSOCIATING";
|
|
47
|
-
readonly DISASSOCIATED: "DISASSOCIATED";
|
|
48
|
-
readonly DISASSOCIATING: "DISASSOCIATING";
|
|
49
|
-
readonly FAILED: "FAILED";
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* @public
|
|
53
|
-
*/
|
|
54
|
-
export type ResourceShareAssociationStatus = (typeof ResourceShareAssociationStatus)[keyof typeof ResourceShareAssociationStatus];
|
|
55
27
|
/**
|
|
56
28
|
* <p>Describes an association between a resource share and either a principal or a resource.</p>
|
|
57
29
|
* @public
|
|
@@ -129,20 +101,6 @@ export interface ResourceShareAssociation {
|
|
|
129
101
|
*/
|
|
130
102
|
external?: boolean | undefined;
|
|
131
103
|
}
|
|
132
|
-
/**
|
|
133
|
-
* @public
|
|
134
|
-
* @enum
|
|
135
|
-
*/
|
|
136
|
-
export declare const ResourceShareInvitationStatus: {
|
|
137
|
-
readonly ACCEPTED: "ACCEPTED";
|
|
138
|
-
readonly EXPIRED: "EXPIRED";
|
|
139
|
-
readonly PENDING: "PENDING";
|
|
140
|
-
readonly REJECTED: "REJECTED";
|
|
141
|
-
};
|
|
142
|
-
/**
|
|
143
|
-
* @public
|
|
144
|
-
*/
|
|
145
|
-
export type ResourceShareInvitationStatus = (typeof ResourceShareInvitationStatus)[keyof typeof ResourceShareInvitationStatus];
|
|
146
104
|
/**
|
|
147
105
|
* <p>Describes an invitation for an Amazon Web Services account to join a resource share.</p>
|
|
148
106
|
* @public
|
|
@@ -214,132 +172,6 @@ export interface AcceptResourceShareInvitationResponse {
|
|
|
214
172
|
*/
|
|
215
173
|
clientToken?: string | undefined;
|
|
216
174
|
}
|
|
217
|
-
/**
|
|
218
|
-
* <p>The operation failed because the client token input parameter matched one that was
|
|
219
|
-
* used with a previous call to the operation, but at least one of the other input
|
|
220
|
-
* parameters is different from the previous call.</p>
|
|
221
|
-
* @public
|
|
222
|
-
*/
|
|
223
|
-
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
224
|
-
readonly name: "IdempotentParameterMismatchException";
|
|
225
|
-
readonly $fault: "client";
|
|
226
|
-
/**
|
|
227
|
-
* @internal
|
|
228
|
-
*/
|
|
229
|
-
constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* <p>The operation failed because the specified client token isn't valid.</p>
|
|
233
|
-
* @public
|
|
234
|
-
*/
|
|
235
|
-
export declare class InvalidClientTokenException extends __BaseException {
|
|
236
|
-
readonly name: "InvalidClientTokenException";
|
|
237
|
-
readonly $fault: "client";
|
|
238
|
-
/**
|
|
239
|
-
* @internal
|
|
240
|
-
*/
|
|
241
|
-
constructor(opts: __ExceptionOptionType<InvalidClientTokenException, __BaseException>);
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
* <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
|
|
245
|
-
* valid.</p>
|
|
246
|
-
* @public
|
|
247
|
-
*/
|
|
248
|
-
export declare class MalformedArnException extends __BaseException {
|
|
249
|
-
readonly name: "MalformedArnException";
|
|
250
|
-
readonly $fault: "client";
|
|
251
|
-
/**
|
|
252
|
-
* @internal
|
|
253
|
-
*/
|
|
254
|
-
constructor(opts: __ExceptionOptionType<MalformedArnException, __BaseException>);
|
|
255
|
-
}
|
|
256
|
-
/**
|
|
257
|
-
* <p>The operation failed because the requested operation isn't permitted.</p>
|
|
258
|
-
* @public
|
|
259
|
-
*/
|
|
260
|
-
export declare class OperationNotPermittedException extends __BaseException {
|
|
261
|
-
readonly name: "OperationNotPermittedException";
|
|
262
|
-
readonly $fault: "client";
|
|
263
|
-
/**
|
|
264
|
-
* @internal
|
|
265
|
-
*/
|
|
266
|
-
constructor(opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>);
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* <p>The operation failed because the specified invitation was already accepted.</p>
|
|
270
|
-
* @public
|
|
271
|
-
*/
|
|
272
|
-
export declare class ResourceShareInvitationAlreadyAcceptedException extends __BaseException {
|
|
273
|
-
readonly name: "ResourceShareInvitationAlreadyAcceptedException";
|
|
274
|
-
readonly $fault: "client";
|
|
275
|
-
/**
|
|
276
|
-
* @internal
|
|
277
|
-
*/
|
|
278
|
-
constructor(opts: __ExceptionOptionType<ResourceShareInvitationAlreadyAcceptedException, __BaseException>);
|
|
279
|
-
}
|
|
280
|
-
/**
|
|
281
|
-
* <p>The operation failed because the specified invitation was already rejected.</p>
|
|
282
|
-
* @public
|
|
283
|
-
*/
|
|
284
|
-
export declare class ResourceShareInvitationAlreadyRejectedException extends __BaseException {
|
|
285
|
-
readonly name: "ResourceShareInvitationAlreadyRejectedException";
|
|
286
|
-
readonly $fault: "client";
|
|
287
|
-
/**
|
|
288
|
-
* @internal
|
|
289
|
-
*/
|
|
290
|
-
constructor(opts: __ExceptionOptionType<ResourceShareInvitationAlreadyRejectedException, __BaseException>);
|
|
291
|
-
}
|
|
292
|
-
/**
|
|
293
|
-
* <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
|
|
294
|
-
* found.</p>
|
|
295
|
-
* @public
|
|
296
|
-
*/
|
|
297
|
-
export declare class ResourceShareInvitationArnNotFoundException extends __BaseException {
|
|
298
|
-
readonly name: "ResourceShareInvitationArnNotFoundException";
|
|
299
|
-
readonly $fault: "client";
|
|
300
|
-
/**
|
|
301
|
-
* @internal
|
|
302
|
-
*/
|
|
303
|
-
constructor(opts: __ExceptionOptionType<ResourceShareInvitationArnNotFoundException, __BaseException>);
|
|
304
|
-
}
|
|
305
|
-
/**
|
|
306
|
-
* <p>The operation failed because the specified invitation is past its expiration date and
|
|
307
|
-
* time.</p>
|
|
308
|
-
* @public
|
|
309
|
-
*/
|
|
310
|
-
export declare class ResourceShareInvitationExpiredException extends __BaseException {
|
|
311
|
-
readonly name: "ResourceShareInvitationExpiredException";
|
|
312
|
-
readonly $fault: "client";
|
|
313
|
-
/**
|
|
314
|
-
* @internal
|
|
315
|
-
*/
|
|
316
|
-
constructor(opts: __ExceptionOptionType<ResourceShareInvitationExpiredException, __BaseException>);
|
|
317
|
-
}
|
|
318
|
-
/**
|
|
319
|
-
* <p>The operation failed because the service could not respond to the request due to an
|
|
320
|
-
* internal problem. Try again later.</p>
|
|
321
|
-
* @public
|
|
322
|
-
*/
|
|
323
|
-
export declare class ServerInternalException extends __BaseException {
|
|
324
|
-
readonly name: "ServerInternalException";
|
|
325
|
-
readonly $fault: "server";
|
|
326
|
-
/**
|
|
327
|
-
* @internal
|
|
328
|
-
*/
|
|
329
|
-
constructor(opts: __ExceptionOptionType<ServerInternalException, __BaseException>);
|
|
330
|
-
}
|
|
331
|
-
/**
|
|
332
|
-
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
333
|
-
* @public
|
|
334
|
-
*/
|
|
335
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
336
|
-
readonly name: "ServiceUnavailableException";
|
|
337
|
-
readonly $fault: "server";
|
|
338
|
-
/**
|
|
339
|
-
* @internal
|
|
340
|
-
*/
|
|
341
|
-
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
342
|
-
}
|
|
343
175
|
/**
|
|
344
176
|
* @public
|
|
345
177
|
*/
|
|
@@ -436,70 +268,6 @@ export interface AssociateResourceShareResponse {
|
|
|
436
268
|
*/
|
|
437
269
|
clientToken?: string | undefined;
|
|
438
270
|
}
|
|
439
|
-
/**
|
|
440
|
-
* <p>The operation failed because a parameter you specified isn't valid.</p>
|
|
441
|
-
* @public
|
|
442
|
-
*/
|
|
443
|
-
export declare class InvalidParameterException extends __BaseException {
|
|
444
|
-
readonly name: "InvalidParameterException";
|
|
445
|
-
readonly $fault: "client";
|
|
446
|
-
/**
|
|
447
|
-
* @internal
|
|
448
|
-
*/
|
|
449
|
-
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
450
|
-
}
|
|
451
|
-
/**
|
|
452
|
-
* <p>The operation failed because the requested operation isn't valid for the resource
|
|
453
|
-
* share in its current state.</p>
|
|
454
|
-
* @public
|
|
455
|
-
*/
|
|
456
|
-
export declare class InvalidStateTransitionException extends __BaseException {
|
|
457
|
-
readonly name: "InvalidStateTransitionException";
|
|
458
|
-
readonly $fault: "client";
|
|
459
|
-
/**
|
|
460
|
-
* @internal
|
|
461
|
-
*/
|
|
462
|
-
constructor(opts: __ExceptionOptionType<InvalidStateTransitionException, __BaseException>);
|
|
463
|
-
}
|
|
464
|
-
/**
|
|
465
|
-
* <p>The operation failed because it would exceed the limit for resource shares for your account. To
|
|
466
|
-
* 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
|
|
467
|
-
* console</a>.</p>
|
|
468
|
-
* @public
|
|
469
|
-
*/
|
|
470
|
-
export declare class ResourceShareLimitExceededException extends __BaseException {
|
|
471
|
-
readonly name: "ResourceShareLimitExceededException";
|
|
472
|
-
readonly $fault: "client";
|
|
473
|
-
/**
|
|
474
|
-
* @internal
|
|
475
|
-
*/
|
|
476
|
-
constructor(opts: __ExceptionOptionType<ResourceShareLimitExceededException, __BaseException>);
|
|
477
|
-
}
|
|
478
|
-
/**
|
|
479
|
-
* <p>The operation failed because it exceeded the rate at which you are allowed to perform
|
|
480
|
-
* this operation. Please try again later.</p>
|
|
481
|
-
* @public
|
|
482
|
-
*/
|
|
483
|
-
export declare class ThrottlingException extends __BaseException {
|
|
484
|
-
readonly name: "ThrottlingException";
|
|
485
|
-
readonly $fault: "client";
|
|
486
|
-
/**
|
|
487
|
-
* @internal
|
|
488
|
-
*/
|
|
489
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
490
|
-
}
|
|
491
|
-
/**
|
|
492
|
-
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
493
|
-
* @public
|
|
494
|
-
*/
|
|
495
|
-
export declare class UnknownResourceException extends __BaseException {
|
|
496
|
-
readonly name: "UnknownResourceException";
|
|
497
|
-
readonly $fault: "client";
|
|
498
|
-
/**
|
|
499
|
-
* @internal
|
|
500
|
-
*/
|
|
501
|
-
constructor(opts: __ExceptionOptionType<UnknownResourceException, __BaseException>);
|
|
502
|
-
}
|
|
503
271
|
/**
|
|
504
272
|
* @public
|
|
505
273
|
*/
|
|
@@ -683,31 +451,6 @@ export interface CreatePermissionRequest {
|
|
|
683
451
|
*/
|
|
684
452
|
tags?: Tag[] | undefined;
|
|
685
453
|
}
|
|
686
|
-
/**
|
|
687
|
-
* @public
|
|
688
|
-
* @enum
|
|
689
|
-
*/
|
|
690
|
-
export declare const PermissionFeatureSet: {
|
|
691
|
-
readonly CREATED_FROM_POLICY: "CREATED_FROM_POLICY";
|
|
692
|
-
readonly PROMOTING_TO_STANDARD: "PROMOTING_TO_STANDARD";
|
|
693
|
-
readonly STANDARD: "STANDARD";
|
|
694
|
-
};
|
|
695
|
-
/**
|
|
696
|
-
* @public
|
|
697
|
-
*/
|
|
698
|
-
export type PermissionFeatureSet = (typeof PermissionFeatureSet)[keyof typeof PermissionFeatureSet];
|
|
699
|
-
/**
|
|
700
|
-
* @public
|
|
701
|
-
* @enum
|
|
702
|
-
*/
|
|
703
|
-
export declare const PermissionType: {
|
|
704
|
-
readonly AWS_MANAGED: "AWS_MANAGED";
|
|
705
|
-
readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
|
|
706
|
-
};
|
|
707
|
-
/**
|
|
708
|
-
* @public
|
|
709
|
-
*/
|
|
710
|
-
export type PermissionType = (typeof PermissionType)[keyof typeof PermissionType];
|
|
711
454
|
/**
|
|
712
455
|
* <p>Information about an RAM permission.</p>
|
|
713
456
|
* @public
|
|
@@ -838,57 +581,6 @@ export interface CreatePermissionResponse {
|
|
|
838
581
|
*/
|
|
839
582
|
clientToken?: string | undefined;
|
|
840
583
|
}
|
|
841
|
-
/**
|
|
842
|
-
* <p>The operation failed because a policy you specified isn't valid.</p>
|
|
843
|
-
* @public
|
|
844
|
-
*/
|
|
845
|
-
export declare class InvalidPolicyException extends __BaseException {
|
|
846
|
-
readonly name: "InvalidPolicyException";
|
|
847
|
-
readonly $fault: "client";
|
|
848
|
-
/**
|
|
849
|
-
* @internal
|
|
850
|
-
*/
|
|
851
|
-
constructor(opts: __ExceptionOptionType<InvalidPolicyException, __BaseException>);
|
|
852
|
-
}
|
|
853
|
-
/**
|
|
854
|
-
* <p>The operation failed because the policy template that you provided isn't valid.</p>
|
|
855
|
-
* @public
|
|
856
|
-
*/
|
|
857
|
-
export declare class MalformedPolicyTemplateException extends __BaseException {
|
|
858
|
-
readonly name: "MalformedPolicyTemplateException";
|
|
859
|
-
readonly $fault: "client";
|
|
860
|
-
/**
|
|
861
|
-
* @internal
|
|
862
|
-
*/
|
|
863
|
-
constructor(opts: __ExceptionOptionType<MalformedPolicyTemplateException, __BaseException>);
|
|
864
|
-
}
|
|
865
|
-
/**
|
|
866
|
-
* <p>The operation failed because a permission with the specified name already exists in
|
|
867
|
-
* the requested Amazon Web Services Region. Choose a different name.</p>
|
|
868
|
-
* @public
|
|
869
|
-
*/
|
|
870
|
-
export declare class PermissionAlreadyExistsException extends __BaseException {
|
|
871
|
-
readonly name: "PermissionAlreadyExistsException";
|
|
872
|
-
readonly $fault: "client";
|
|
873
|
-
/**
|
|
874
|
-
* @internal
|
|
875
|
-
*/
|
|
876
|
-
constructor(opts: __ExceptionOptionType<PermissionAlreadyExistsException, __BaseException>);
|
|
877
|
-
}
|
|
878
|
-
/**
|
|
879
|
-
* <p>The operation failed because it would exceed the maximum number of permissions you can
|
|
880
|
-
* 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
|
|
881
|
-
* Service Quotas console</a>.</p>
|
|
882
|
-
* @public
|
|
883
|
-
*/
|
|
884
|
-
export declare class PermissionLimitExceededException extends __BaseException {
|
|
885
|
-
readonly name: "PermissionLimitExceededException";
|
|
886
|
-
readonly $fault: "client";
|
|
887
|
-
/**
|
|
888
|
-
* @internal
|
|
889
|
-
*/
|
|
890
|
-
constructor(opts: __ExceptionOptionType<PermissionLimitExceededException, __BaseException>);
|
|
891
|
-
}
|
|
892
584
|
/**
|
|
893
585
|
* @public
|
|
894
586
|
*/
|
|
@@ -950,20 +642,6 @@ export interface CreatePermissionVersionRequest {
|
|
|
950
642
|
*/
|
|
951
643
|
clientToken?: string | undefined;
|
|
952
644
|
}
|
|
953
|
-
/**
|
|
954
|
-
* @public
|
|
955
|
-
* @enum
|
|
956
|
-
*/
|
|
957
|
-
export declare const PermissionStatus: {
|
|
958
|
-
readonly ATTACHABLE: "ATTACHABLE";
|
|
959
|
-
readonly DELETED: "DELETED";
|
|
960
|
-
readonly DELETING: "DELETING";
|
|
961
|
-
readonly UNATTACHABLE: "UNATTACHABLE";
|
|
962
|
-
};
|
|
963
|
-
/**
|
|
964
|
-
* @public
|
|
965
|
-
*/
|
|
966
|
-
export type PermissionStatus = (typeof PermissionStatus)[keyof typeof PermissionStatus];
|
|
967
645
|
/**
|
|
968
646
|
* <p>Information about a RAM managed permission.</p>
|
|
969
647
|
* @public
|
|
@@ -1120,20 +798,6 @@ export interface CreatePermissionVersionResponse {
|
|
|
1120
798
|
*/
|
|
1121
799
|
clientToken?: string | undefined;
|
|
1122
800
|
}
|
|
1123
|
-
/**
|
|
1124
|
-
* <p>The operation failed because it would exceed the limit for the number of versions you
|
|
1125
|
-
* 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
|
|
1126
|
-
* Service Quotas console</a>.</p>
|
|
1127
|
-
* @public
|
|
1128
|
-
*/
|
|
1129
|
-
export declare class PermissionVersionsLimitExceededException extends __BaseException {
|
|
1130
|
-
readonly name: "PermissionVersionsLimitExceededException";
|
|
1131
|
-
readonly $fault: "client";
|
|
1132
|
-
/**
|
|
1133
|
-
* @internal
|
|
1134
|
-
*/
|
|
1135
|
-
constructor(opts: __ExceptionOptionType<PermissionVersionsLimitExceededException, __BaseException>);
|
|
1136
|
-
}
|
|
1137
801
|
/**
|
|
1138
802
|
* @public
|
|
1139
803
|
*/
|
|
@@ -1231,34 +895,6 @@ export interface CreateResourceShareRequest {
|
|
|
1231
895
|
*/
|
|
1232
896
|
sources?: string[] | undefined;
|
|
1233
897
|
}
|
|
1234
|
-
/**
|
|
1235
|
-
* @public
|
|
1236
|
-
* @enum
|
|
1237
|
-
*/
|
|
1238
|
-
export declare const ResourceShareFeatureSet: {
|
|
1239
|
-
readonly CREATED_FROM_POLICY: "CREATED_FROM_POLICY";
|
|
1240
|
-
readonly PROMOTING_TO_STANDARD: "PROMOTING_TO_STANDARD";
|
|
1241
|
-
readonly STANDARD: "STANDARD";
|
|
1242
|
-
};
|
|
1243
|
-
/**
|
|
1244
|
-
* @public
|
|
1245
|
-
*/
|
|
1246
|
-
export type ResourceShareFeatureSet = (typeof ResourceShareFeatureSet)[keyof typeof ResourceShareFeatureSet];
|
|
1247
|
-
/**
|
|
1248
|
-
* @public
|
|
1249
|
-
* @enum
|
|
1250
|
-
*/
|
|
1251
|
-
export declare const ResourceShareStatus: {
|
|
1252
|
-
readonly ACTIVE: "ACTIVE";
|
|
1253
|
-
readonly DELETED: "DELETED";
|
|
1254
|
-
readonly DELETING: "DELETING";
|
|
1255
|
-
readonly FAILED: "FAILED";
|
|
1256
|
-
readonly PENDING: "PENDING";
|
|
1257
|
-
};
|
|
1258
|
-
/**
|
|
1259
|
-
* @public
|
|
1260
|
-
*/
|
|
1261
|
-
export type ResourceShareStatus = (typeof ResourceShareStatus)[keyof typeof ResourceShareStatus];
|
|
1262
898
|
/**
|
|
1263
899
|
* <p>Describes a resource share in RAM.</p>
|
|
1264
900
|
* @public
|
|
@@ -1375,32 +1011,6 @@ export interface CreateResourceShareResponse {
|
|
|
1375
1011
|
*/
|
|
1376
1012
|
clientToken?: string | undefined;
|
|
1377
1013
|
}
|
|
1378
|
-
/**
|
|
1379
|
-
* <p>The operation failed because it would exceed the limit for tags for your
|
|
1380
|
-
* Amazon Web Services account.</p>
|
|
1381
|
-
* @public
|
|
1382
|
-
*/
|
|
1383
|
-
export declare class TagLimitExceededException extends __BaseException {
|
|
1384
|
-
readonly name: "TagLimitExceededException";
|
|
1385
|
-
readonly $fault: "client";
|
|
1386
|
-
/**
|
|
1387
|
-
* @internal
|
|
1388
|
-
*/
|
|
1389
|
-
constructor(opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>);
|
|
1390
|
-
}
|
|
1391
|
-
/**
|
|
1392
|
-
* <p>The operation failed because the specified tag key is a reserved word and can't be
|
|
1393
|
-
* used.</p>
|
|
1394
|
-
* @public
|
|
1395
|
-
*/
|
|
1396
|
-
export declare class TagPolicyViolationException extends __BaseException {
|
|
1397
|
-
readonly name: "TagPolicyViolationException";
|
|
1398
|
-
readonly $fault: "client";
|
|
1399
|
-
/**
|
|
1400
|
-
* @internal
|
|
1401
|
-
*/
|
|
1402
|
-
constructor(opts: __ExceptionOptionType<TagPolicyViolationException, __BaseException>);
|
|
1403
|
-
}
|
|
1404
1014
|
/**
|
|
1405
1015
|
* @public
|
|
1406
1016
|
*/
|
|
@@ -1802,32 +1412,6 @@ export interface GetResourcePoliciesResponse {
|
|
|
1802
1412
|
*/
|
|
1803
1413
|
nextToken?: string | undefined;
|
|
1804
1414
|
}
|
|
1805
|
-
/**
|
|
1806
|
-
* <p>The operation failed because the specified value for <code>NextToken</code> isn't
|
|
1807
|
-
* valid. You must specify a value you received in the <code>NextToken</code> response of a
|
|
1808
|
-
* previous call to this operation.</p>
|
|
1809
|
-
* @public
|
|
1810
|
-
*/
|
|
1811
|
-
export declare class InvalidNextTokenException extends __BaseException {
|
|
1812
|
-
readonly name: "InvalidNextTokenException";
|
|
1813
|
-
readonly $fault: "client";
|
|
1814
|
-
/**
|
|
1815
|
-
* @internal
|
|
1816
|
-
*/
|
|
1817
|
-
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
1818
|
-
}
|
|
1819
|
-
/**
|
|
1820
|
-
* <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>
|
|
1821
|
-
* @public
|
|
1822
|
-
*/
|
|
1823
|
-
export declare class ResourceArnNotFoundException extends __BaseException {
|
|
1824
|
-
readonly name: "ResourceArnNotFoundException";
|
|
1825
|
-
readonly $fault: "client";
|
|
1826
|
-
/**
|
|
1827
|
-
* @internal
|
|
1828
|
-
*/
|
|
1829
|
-
constructor(opts: __ExceptionOptionType<ResourceArnNotFoundException, __BaseException>);
|
|
1830
|
-
}
|
|
1831
1415
|
/**
|
|
1832
1416
|
* @public
|
|
1833
1417
|
*/
|
|
@@ -1977,31 +1561,6 @@ export interface GetResourceShareInvitationsResponse {
|
|
|
1977
1561
|
*/
|
|
1978
1562
|
nextToken?: string | undefined;
|
|
1979
1563
|
}
|
|
1980
|
-
/**
|
|
1981
|
-
* <p>The operation failed because the specified value for <code>MaxResults</code> isn't
|
|
1982
|
-
* valid.</p>
|
|
1983
|
-
* @public
|
|
1984
|
-
*/
|
|
1985
|
-
export declare class InvalidMaxResultsException extends __BaseException {
|
|
1986
|
-
readonly name: "InvalidMaxResultsException";
|
|
1987
|
-
readonly $fault: "client";
|
|
1988
|
-
/**
|
|
1989
|
-
* @internal
|
|
1990
|
-
*/
|
|
1991
|
-
constructor(opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>);
|
|
1992
|
-
}
|
|
1993
|
-
/**
|
|
1994
|
-
* @public
|
|
1995
|
-
* @enum
|
|
1996
|
-
*/
|
|
1997
|
-
export declare const ResourceOwner: {
|
|
1998
|
-
readonly OTHER_ACCOUNTS: "OTHER-ACCOUNTS";
|
|
1999
|
-
readonly SELF: "SELF";
|
|
2000
|
-
};
|
|
2001
|
-
/**
|
|
2002
|
-
* @public
|
|
2003
|
-
*/
|
|
2004
|
-
export type ResourceOwner = (typeof ResourceOwner)[keyof typeof ResourceOwner];
|
|
2005
1564
|
/**
|
|
2006
1565
|
* <p>A tag key and optional list of possible values that you can use to filter results for
|
|
2007
1566
|
* tagged resources.</p>
|
|
@@ -2123,19 +1682,6 @@ export interface GetResourceSharesResponse {
|
|
|
2123
1682
|
*/
|
|
2124
1683
|
nextToken?: string | undefined;
|
|
2125
1684
|
}
|
|
2126
|
-
/**
|
|
2127
|
-
* @public
|
|
2128
|
-
* @enum
|
|
2129
|
-
*/
|
|
2130
|
-
export declare const ResourceRegionScopeFilter: {
|
|
2131
|
-
readonly ALL: "ALL";
|
|
2132
|
-
readonly GLOBAL: "GLOBAL";
|
|
2133
|
-
readonly REGIONAL: "REGIONAL";
|
|
2134
|
-
};
|
|
2135
|
-
/**
|
|
2136
|
-
* @public
|
|
2137
|
-
*/
|
|
2138
|
-
export type ResourceRegionScopeFilter = (typeof ResourceRegionScopeFilter)[keyof typeof ResourceRegionScopeFilter];
|
|
2139
1685
|
/**
|
|
2140
1686
|
* @public
|
|
2141
1687
|
*/
|
|
@@ -2192,33 +1738,6 @@ export interface ListPendingInvitationResourcesRequest {
|
|
|
2192
1738
|
*/
|
|
2193
1739
|
resourceRegionScope?: ResourceRegionScopeFilter | undefined;
|
|
2194
1740
|
}
|
|
2195
|
-
/**
|
|
2196
|
-
* @public
|
|
2197
|
-
* @enum
|
|
2198
|
-
*/
|
|
2199
|
-
export declare const ResourceRegionScope: {
|
|
2200
|
-
readonly GLOBAL: "GLOBAL";
|
|
2201
|
-
readonly REGIONAL: "REGIONAL";
|
|
2202
|
-
};
|
|
2203
|
-
/**
|
|
2204
|
-
* @public
|
|
2205
|
-
*/
|
|
2206
|
-
export type ResourceRegionScope = (typeof ResourceRegionScope)[keyof typeof ResourceRegionScope];
|
|
2207
|
-
/**
|
|
2208
|
-
* @public
|
|
2209
|
-
* @enum
|
|
2210
|
-
*/
|
|
2211
|
-
export declare const ResourceStatus: {
|
|
2212
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
2213
|
-
readonly LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
2214
|
-
readonly PENDING: "PENDING";
|
|
2215
|
-
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
2216
|
-
readonly ZONAL_RESOURCE_INACCESSIBLE: "ZONAL_RESOURCE_INACCESSIBLE";
|
|
2217
|
-
};
|
|
2218
|
-
/**
|
|
2219
|
-
* @public
|
|
2220
|
-
*/
|
|
2221
|
-
export type ResourceStatus = (typeof ResourceStatus)[keyof typeof ResourceStatus];
|
|
2222
1741
|
/**
|
|
2223
1742
|
* <p>Describes a resource associated with a resource share in RAM.</p>
|
|
2224
1743
|
* @public
|
|
@@ -2308,18 +1827,6 @@ export interface ListPendingInvitationResourcesResponse {
|
|
|
2308
1827
|
*/
|
|
2309
1828
|
nextToken?: string | undefined;
|
|
2310
1829
|
}
|
|
2311
|
-
/**
|
|
2312
|
-
* <p>The operation failed because a required input parameter is missing.</p>
|
|
2313
|
-
* @public
|
|
2314
|
-
*/
|
|
2315
|
-
export declare class MissingRequiredParameterException extends __BaseException {
|
|
2316
|
-
readonly name: "MissingRequiredParameterException";
|
|
2317
|
-
readonly $fault: "client";
|
|
2318
|
-
/**
|
|
2319
|
-
* @internal
|
|
2320
|
-
*/
|
|
2321
|
-
constructor(opts: __ExceptionOptionType<MissingRequiredParameterException, __BaseException>);
|
|
2322
|
-
}
|
|
2323
1830
|
/**
|
|
2324
1831
|
* @public
|
|
2325
1832
|
*/
|
|
@@ -2503,19 +2010,6 @@ export interface ListPermissionAssociationsResponse {
|
|
|
2503
2010
|
*/
|
|
2504
2011
|
nextToken?: string | undefined;
|
|
2505
2012
|
}
|
|
2506
|
-
/**
|
|
2507
|
-
* @public
|
|
2508
|
-
* @enum
|
|
2509
|
-
*/
|
|
2510
|
-
export declare const PermissionTypeFilter: {
|
|
2511
|
-
readonly ALL: "ALL";
|
|
2512
|
-
readonly AWS_MANAGED: "AWS_MANAGED";
|
|
2513
|
-
readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
|
|
2514
|
-
};
|
|
2515
|
-
/**
|
|
2516
|
-
* @public
|
|
2517
|
-
*/
|
|
2518
|
-
export type PermissionTypeFilter = (typeof PermissionTypeFilter)[keyof typeof PermissionTypeFilter];
|
|
2519
2013
|
/**
|
|
2520
2014
|
* @public
|
|
2521
2015
|
*/
|
|
@@ -2814,19 +2308,6 @@ export interface ListPrincipalsResponse {
|
|
|
2814
2308
|
*/
|
|
2815
2309
|
nextToken?: string | undefined;
|
|
2816
2310
|
}
|
|
2817
|
-
/**
|
|
2818
|
-
* @public
|
|
2819
|
-
* @enum
|
|
2820
|
-
*/
|
|
2821
|
-
export declare const ReplacePermissionAssociationsWorkStatus: {
|
|
2822
|
-
readonly COMPLETED: "COMPLETED";
|
|
2823
|
-
readonly FAILED: "FAILED";
|
|
2824
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
2825
|
-
};
|
|
2826
|
-
/**
|
|
2827
|
-
* @public
|
|
2828
|
-
*/
|
|
2829
|
-
export type ReplacePermissionAssociationsWorkStatus = (typeof ReplacePermissionAssociationsWorkStatus)[keyof typeof ReplacePermissionAssociationsWorkStatus];
|
|
2830
2311
|
/**
|
|
2831
2312
|
* @public
|
|
2832
2313
|
*/
|
|
@@ -2959,18 +2440,6 @@ export interface ListReplacePermissionAssociationsWorkResponse {
|
|
|
2959
2440
|
*/
|
|
2960
2441
|
nextToken?: string | undefined;
|
|
2961
2442
|
}
|
|
2962
|
-
/**
|
|
2963
|
-
* <p>The operation failed because the specified resource type isn't valid.</p>
|
|
2964
|
-
* @public
|
|
2965
|
-
*/
|
|
2966
|
-
export declare class InvalidResourceTypeException extends __BaseException {
|
|
2967
|
-
readonly name: "InvalidResourceTypeException";
|
|
2968
|
-
readonly $fault: "client";
|
|
2969
|
-
/**
|
|
2970
|
-
* @internal
|
|
2971
|
-
*/
|
|
2972
|
-
constructor(opts: __ExceptionOptionType<InvalidResourceTypeException, __BaseException>);
|
|
2973
|
-
}
|
|
2974
2443
|
/**
|
|
2975
2444
|
* @public
|
|
2976
2445
|
*/
|
|
@@ -3318,19 +2787,6 @@ export interface PromoteResourceShareCreatedFromPolicyResponse {
|
|
|
3318
2787
|
*/
|
|
3319
2788
|
returnValue?: boolean | undefined;
|
|
3320
2789
|
}
|
|
3321
|
-
/**
|
|
3322
|
-
* <p>There isn't an existing managed permission defined in RAM that has the same IAM permissions as
|
|
3323
|
-
* the resource-based policy attached to the resource. You should first run <a>PromotePermissionCreatedFromPolicy</a> to create that managed permission.</p>
|
|
3324
|
-
* @public
|
|
3325
|
-
*/
|
|
3326
|
-
export declare class UnmatchedPolicyPermissionException extends __BaseException {
|
|
3327
|
-
readonly name: "UnmatchedPolicyPermissionException";
|
|
3328
|
-
readonly $fault: "client";
|
|
3329
|
-
/**
|
|
3330
|
-
* @internal
|
|
3331
|
-
*/
|
|
3332
|
-
constructor(opts: __ExceptionOptionType<UnmatchedPolicyPermissionException, __BaseException>);
|
|
3333
|
-
}
|
|
3334
2790
|
/**
|
|
3335
2791
|
* @public
|
|
3336
2792
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { RAMExtensionConfiguration } 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 { RAMServiceException } from "./models/RAMServiceException";
|