@aws-sdk/client-ram 3.50.0 → 3.53.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.
Files changed (64) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/RAMServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +289 -2
  5. package/dist-cjs/protocols/Aws_restJson1.js +437 -1523
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/RAMServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +266 -1
  9. package/dist-es/protocols/Aws_restJson1.js +779 -1646
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/RAMServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +156 -89
  13. package/dist-types/ts3.4/RAM.d.ts +130 -0
  14. package/dist-types/ts3.4/RAMClient.d.ts +98 -0
  15. package/dist-types/ts3.4/commands/AcceptResourceShareInvitationCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/AssociateResourceShareCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/AssociateResourceSharePermissionCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateResourceShareCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DeleteResourceShareCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DisassociateResourceShareCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DisassociateResourceSharePermissionCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/EnableSharingWithAwsOrganizationCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/GetPermissionCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/GetResourceShareAssociationsCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/GetResourceShareInvitationsCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/GetResourceSharesCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/ListPendingInvitationResourcesCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/ListPermissionVersionsCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/ListPrincipalsCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/ListResourceSharePermissionsCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/ListResourceTypesCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/RejectResourceShareInvitationCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/UpdateResourceShareCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/index.d.ts +25 -0
  41. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  42. package/dist-types/ts3.4/index.d.ts +6 -0
  43. package/dist-types/ts3.4/models/RAMServiceException.d.ts +6 -0
  44. package/dist-types/ts3.4/models/index.d.ts +1 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +953 -0
  46. package/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts +4 -0
  47. package/dist-types/ts3.4/pagination/GetResourceShareAssociationsPaginator.d.ts +4 -0
  48. package/dist-types/ts3.4/pagination/GetResourceShareInvitationsPaginator.d.ts +4 -0
  49. package/dist-types/ts3.4/pagination/GetResourceSharesPaginator.d.ts +4 -0
  50. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  51. package/dist-types/ts3.4/pagination/ListPendingInvitationResourcesPaginator.d.ts +4 -0
  52. package/dist-types/ts3.4/pagination/ListPermissionVersionsPaginator.d.ts +4 -0
  53. package/dist-types/ts3.4/pagination/ListPermissionsPaginator.d.ts +4 -0
  54. package/dist-types/ts3.4/pagination/ListPrincipalsPaginator.d.ts +4 -0
  55. package/dist-types/ts3.4/pagination/ListResourceSharePermissionsPaginator.d.ts +4 -0
  56. package/dist-types/ts3.4/pagination/ListResourceTypesPaginator.d.ts +4 -0
  57. package/dist-types/ts3.4/pagination/ListResourcesPaginator.d.ts +4 -0
  58. package/dist-types/ts3.4/pagination/index.d.ts +12 -0
  59. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +77 -0
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  64. package/package.json +33 -33
@@ -0,0 +1,953 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { RAMServiceException as __BaseException } from "./RAMServiceException";
3
+ export interface AcceptResourceShareInvitationRequest {
4
+
5
+ resourceShareInvitationArn: string | undefined;
6
+
7
+ clientToken?: string;
8
+ }
9
+ export declare namespace AcceptResourceShareInvitationRequest {
10
+
11
+ const filterSensitiveLog: (obj: AcceptResourceShareInvitationRequest) => any;
12
+ }
13
+ export declare type ResourceShareAssociationType = "PRINCIPAL" | "RESOURCE";
14
+ export declare type ResourceShareAssociationStatus = "ASSOCIATED" | "ASSOCIATING" | "DISASSOCIATED" | "DISASSOCIATING" | "FAILED";
15
+
16
+ export interface ResourceShareAssociation {
17
+
18
+ resourceShareArn?: string;
19
+
20
+ resourceShareName?: string;
21
+
22
+ associatedEntity?: string;
23
+
24
+ associationType?: ResourceShareAssociationType | string;
25
+
26
+ status?: ResourceShareAssociationStatus | string;
27
+
28
+ statusMessage?: string;
29
+
30
+ creationTime?: Date;
31
+
32
+ lastUpdatedTime?: Date;
33
+
34
+ external?: boolean;
35
+ }
36
+ export declare namespace ResourceShareAssociation {
37
+
38
+ const filterSensitiveLog: (obj: ResourceShareAssociation) => any;
39
+ }
40
+ export declare type ResourceShareInvitationStatus = "ACCEPTED" | "EXPIRED" | "PENDING" | "REJECTED";
41
+
42
+ export interface ResourceShareInvitation {
43
+
44
+ resourceShareInvitationArn?: string;
45
+
46
+ resourceShareName?: string;
47
+
48
+ resourceShareArn?: string;
49
+
50
+ senderAccountId?: string;
51
+
52
+ receiverAccountId?: string;
53
+
54
+ invitationTimestamp?: Date;
55
+
56
+ status?: ResourceShareInvitationStatus | string;
57
+
58
+ resourceShareAssociations?: ResourceShareAssociation[];
59
+
60
+ receiverArn?: string;
61
+ }
62
+ export declare namespace ResourceShareInvitation {
63
+
64
+ const filterSensitiveLog: (obj: ResourceShareInvitation) => any;
65
+ }
66
+ export interface AcceptResourceShareInvitationResponse {
67
+
68
+ resourceShareInvitation?: ResourceShareInvitation;
69
+
70
+ clientToken?: string;
71
+ }
72
+ export declare namespace AcceptResourceShareInvitationResponse {
73
+
74
+ const filterSensitiveLog: (obj: AcceptResourceShareInvitationResponse) => any;
75
+ }
76
+
77
+ export declare class IdempotentParameterMismatchException extends __BaseException {
78
+ readonly name: "IdempotentParameterMismatchException";
79
+ readonly $fault: "client";
80
+
81
+ constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
82
+ }
83
+
84
+ export declare class InvalidClientTokenException extends __BaseException {
85
+ readonly name: "InvalidClientTokenException";
86
+ readonly $fault: "client";
87
+
88
+ constructor(opts: __ExceptionOptionType<InvalidClientTokenException, __BaseException>);
89
+ }
90
+
91
+ export declare class MalformedArnException extends __BaseException {
92
+ readonly name: "MalformedArnException";
93
+ readonly $fault: "client";
94
+
95
+ constructor(opts: __ExceptionOptionType<MalformedArnException, __BaseException>);
96
+ }
97
+
98
+ export declare class OperationNotPermittedException extends __BaseException {
99
+ readonly name: "OperationNotPermittedException";
100
+ readonly $fault: "client";
101
+
102
+ constructor(opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>);
103
+ }
104
+
105
+ export declare class ResourceShareInvitationAlreadyAcceptedException extends __BaseException {
106
+ readonly name: "ResourceShareInvitationAlreadyAcceptedException";
107
+ readonly $fault: "client";
108
+
109
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationAlreadyAcceptedException, __BaseException>);
110
+ }
111
+
112
+ export declare class ResourceShareInvitationAlreadyRejectedException extends __BaseException {
113
+ readonly name: "ResourceShareInvitationAlreadyRejectedException";
114
+ readonly $fault: "client";
115
+
116
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationAlreadyRejectedException, __BaseException>);
117
+ }
118
+
119
+ export declare class ResourceShareInvitationArnNotFoundException extends __BaseException {
120
+ readonly name: "ResourceShareInvitationArnNotFoundException";
121
+ readonly $fault: "client";
122
+
123
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationArnNotFoundException, __BaseException>);
124
+ }
125
+
126
+ export declare class ResourceShareInvitationExpiredException extends __BaseException {
127
+ readonly name: "ResourceShareInvitationExpiredException";
128
+ readonly $fault: "client";
129
+
130
+ constructor(opts: __ExceptionOptionType<ResourceShareInvitationExpiredException, __BaseException>);
131
+ }
132
+
133
+ export declare class ServerInternalException extends __BaseException {
134
+ readonly name: "ServerInternalException";
135
+ readonly $fault: "server";
136
+
137
+ constructor(opts: __ExceptionOptionType<ServerInternalException, __BaseException>);
138
+ }
139
+
140
+ export declare class ServiceUnavailableException extends __BaseException {
141
+ readonly name: "ServiceUnavailableException";
142
+ readonly $fault: "server";
143
+
144
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
145
+ }
146
+ export interface AssociateResourceShareRequest {
147
+
148
+ resourceShareArn: string | undefined;
149
+
150
+ resourceArns?: string[];
151
+
152
+ principals?: string[];
153
+
154
+ clientToken?: string;
155
+ }
156
+ export declare namespace AssociateResourceShareRequest {
157
+
158
+ const filterSensitiveLog: (obj: AssociateResourceShareRequest) => any;
159
+ }
160
+ export interface AssociateResourceShareResponse {
161
+
162
+ resourceShareAssociations?: ResourceShareAssociation[];
163
+
164
+ clientToken?: string;
165
+ }
166
+ export declare namespace AssociateResourceShareResponse {
167
+
168
+ const filterSensitiveLog: (obj: AssociateResourceShareResponse) => any;
169
+ }
170
+
171
+ export declare class InvalidParameterException extends __BaseException {
172
+ readonly name: "InvalidParameterException";
173
+ readonly $fault: "client";
174
+
175
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
176
+ }
177
+
178
+ export declare class InvalidStateTransitionException extends __BaseException {
179
+ readonly name: "InvalidStateTransitionException";
180
+ readonly $fault: "client";
181
+
182
+ constructor(opts: __ExceptionOptionType<InvalidStateTransitionException, __BaseException>);
183
+ }
184
+
185
+ export declare class ResourceShareLimitExceededException extends __BaseException {
186
+ readonly name: "ResourceShareLimitExceededException";
187
+ readonly $fault: "client";
188
+
189
+ constructor(opts: __ExceptionOptionType<ResourceShareLimitExceededException, __BaseException>);
190
+ }
191
+
192
+ export declare class ThrottlingException extends __BaseException {
193
+ readonly name: "ThrottlingException";
194
+ readonly $fault: "client";
195
+
196
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
197
+ }
198
+
199
+ export declare class UnknownResourceException extends __BaseException {
200
+ readonly name: "UnknownResourceException";
201
+ readonly $fault: "client";
202
+
203
+ constructor(opts: __ExceptionOptionType<UnknownResourceException, __BaseException>);
204
+ }
205
+ export interface AssociateResourceSharePermissionRequest {
206
+
207
+ resourceShareArn: string | undefined;
208
+
209
+ permissionArn: string | undefined;
210
+
211
+ replace?: boolean;
212
+
213
+ clientToken?: string;
214
+
215
+ permissionVersion?: number;
216
+ }
217
+ export declare namespace AssociateResourceSharePermissionRequest {
218
+
219
+ const filterSensitiveLog: (obj: AssociateResourceSharePermissionRequest) => any;
220
+ }
221
+ export interface AssociateResourceSharePermissionResponse {
222
+
223
+ returnValue?: boolean;
224
+
225
+ clientToken?: string;
226
+ }
227
+ export declare namespace AssociateResourceSharePermissionResponse {
228
+
229
+ const filterSensitiveLog: (obj: AssociateResourceSharePermissionResponse) => any;
230
+ }
231
+
232
+ export interface Tag {
233
+
234
+ key?: string;
235
+
236
+ value?: string;
237
+ }
238
+ export declare namespace Tag {
239
+
240
+ const filterSensitiveLog: (obj: Tag) => any;
241
+ }
242
+ export interface CreateResourceShareRequest {
243
+
244
+ name: string | undefined;
245
+
246
+ resourceArns?: string[];
247
+
248
+ principals?: string[];
249
+
250
+ tags?: Tag[];
251
+
252
+ allowExternalPrincipals?: boolean;
253
+
254
+ clientToken?: string;
255
+
256
+ permissionArns?: string[];
257
+ }
258
+ export declare namespace CreateResourceShareRequest {
259
+
260
+ const filterSensitiveLog: (obj: CreateResourceShareRequest) => any;
261
+ }
262
+ export declare type ResourceShareFeatureSet = "CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" | "STANDARD";
263
+ export declare type ResourceShareStatus = "ACTIVE" | "DELETED" | "DELETING" | "FAILED" | "PENDING";
264
+
265
+ export interface ResourceShare {
266
+
267
+ resourceShareArn?: string;
268
+
269
+ name?: string;
270
+
271
+ owningAccountId?: string;
272
+
273
+ allowExternalPrincipals?: boolean;
274
+
275
+ status?: ResourceShareStatus | string;
276
+
277
+ statusMessage?: string;
278
+
279
+ tags?: Tag[];
280
+
281
+ creationTime?: Date;
282
+
283
+ lastUpdatedTime?: Date;
284
+
285
+ featureSet?: ResourceShareFeatureSet | string;
286
+ }
287
+ export declare namespace ResourceShare {
288
+
289
+ const filterSensitiveLog: (obj: ResourceShare) => any;
290
+ }
291
+ export interface CreateResourceShareResponse {
292
+
293
+ resourceShare?: ResourceShare;
294
+
295
+ clientToken?: string;
296
+ }
297
+ export declare namespace CreateResourceShareResponse {
298
+
299
+ const filterSensitiveLog: (obj: CreateResourceShareResponse) => any;
300
+ }
301
+
302
+ export declare class TagPolicyViolationException extends __BaseException {
303
+ readonly name: "TagPolicyViolationException";
304
+ readonly $fault: "client";
305
+
306
+ constructor(opts: __ExceptionOptionType<TagPolicyViolationException, __BaseException>);
307
+ }
308
+ export interface DeleteResourceShareRequest {
309
+
310
+ resourceShareArn: string | undefined;
311
+
312
+ clientToken?: string;
313
+ }
314
+ export declare namespace DeleteResourceShareRequest {
315
+
316
+ const filterSensitiveLog: (obj: DeleteResourceShareRequest) => any;
317
+ }
318
+ export interface DeleteResourceShareResponse {
319
+
320
+ returnValue?: boolean;
321
+
322
+ clientToken?: string;
323
+ }
324
+ export declare namespace DeleteResourceShareResponse {
325
+
326
+ const filterSensitiveLog: (obj: DeleteResourceShareResponse) => any;
327
+ }
328
+ export interface DisassociateResourceShareRequest {
329
+
330
+ resourceShareArn: string | undefined;
331
+
332
+ resourceArns?: string[];
333
+
334
+ principals?: string[];
335
+
336
+ clientToken?: string;
337
+ }
338
+ export declare namespace DisassociateResourceShareRequest {
339
+
340
+ const filterSensitiveLog: (obj: DisassociateResourceShareRequest) => any;
341
+ }
342
+ export interface DisassociateResourceShareResponse {
343
+
344
+ resourceShareAssociations?: ResourceShareAssociation[];
345
+
346
+ clientToken?: string;
347
+ }
348
+ export declare namespace DisassociateResourceShareResponse {
349
+
350
+ const filterSensitiveLog: (obj: DisassociateResourceShareResponse) => any;
351
+ }
352
+ export interface DisassociateResourceSharePermissionRequest {
353
+
354
+ resourceShareArn: string | undefined;
355
+
356
+ permissionArn: string | undefined;
357
+
358
+ clientToken?: string;
359
+ }
360
+ export declare namespace DisassociateResourceSharePermissionRequest {
361
+
362
+ const filterSensitiveLog: (obj: DisassociateResourceSharePermissionRequest) => any;
363
+ }
364
+ export interface DisassociateResourceSharePermissionResponse {
365
+
366
+ returnValue?: boolean;
367
+
368
+ clientToken?: string;
369
+ }
370
+ export declare namespace DisassociateResourceSharePermissionResponse {
371
+
372
+ const filterSensitiveLog: (obj: DisassociateResourceSharePermissionResponse) => any;
373
+ }
374
+ export interface EnableSharingWithAwsOrganizationRequest {
375
+ }
376
+ export declare namespace EnableSharingWithAwsOrganizationRequest {
377
+
378
+ const filterSensitiveLog: (obj: EnableSharingWithAwsOrganizationRequest) => any;
379
+ }
380
+ export interface EnableSharingWithAwsOrganizationResponse {
381
+
382
+ returnValue?: boolean;
383
+ }
384
+ export declare namespace EnableSharingWithAwsOrganizationResponse {
385
+
386
+ const filterSensitiveLog: (obj: EnableSharingWithAwsOrganizationResponse) => any;
387
+ }
388
+ export interface GetPermissionRequest {
389
+
390
+ permissionArn: string | undefined;
391
+
392
+ permissionVersion?: number;
393
+ }
394
+ export declare namespace GetPermissionRequest {
395
+
396
+ const filterSensitiveLog: (obj: GetPermissionRequest) => any;
397
+ }
398
+
399
+ export interface ResourceSharePermissionDetail {
400
+
401
+ arn?: string;
402
+
403
+ version?: string;
404
+
405
+ defaultVersion?: boolean;
406
+
407
+ name?: string;
408
+
409
+ resourceType?: string;
410
+
411
+ permission?: string;
412
+
413
+ creationTime?: Date;
414
+
415
+ lastUpdatedTime?: Date;
416
+
417
+ isResourceTypeDefault?: boolean;
418
+ }
419
+ export declare namespace ResourceSharePermissionDetail {
420
+
421
+ const filterSensitiveLog: (obj: ResourceSharePermissionDetail) => any;
422
+ }
423
+ export interface GetPermissionResponse {
424
+
425
+ permission?: ResourceSharePermissionDetail;
426
+ }
427
+ export declare namespace GetPermissionResponse {
428
+
429
+ const filterSensitiveLog: (obj: GetPermissionResponse) => any;
430
+ }
431
+ export interface GetResourcePoliciesRequest {
432
+
433
+ resourceArns: string[] | undefined;
434
+
435
+ principal?: string;
436
+
437
+ nextToken?: string;
438
+
439
+ maxResults?: number;
440
+ }
441
+ export declare namespace GetResourcePoliciesRequest {
442
+
443
+ const filterSensitiveLog: (obj: GetResourcePoliciesRequest) => any;
444
+ }
445
+ export interface GetResourcePoliciesResponse {
446
+
447
+ policies?: string[];
448
+
449
+ nextToken?: string;
450
+ }
451
+ export declare namespace GetResourcePoliciesResponse {
452
+
453
+ const filterSensitiveLog: (obj: GetResourcePoliciesResponse) => any;
454
+ }
455
+
456
+ export declare class InvalidNextTokenException extends __BaseException {
457
+ readonly name: "InvalidNextTokenException";
458
+ readonly $fault: "client";
459
+
460
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
461
+ }
462
+
463
+ export declare class ResourceArnNotFoundException extends __BaseException {
464
+ readonly name: "ResourceArnNotFoundException";
465
+ readonly $fault: "client";
466
+
467
+ constructor(opts: __ExceptionOptionType<ResourceArnNotFoundException, __BaseException>);
468
+ }
469
+ export interface GetResourceShareAssociationsRequest {
470
+
471
+ associationType: ResourceShareAssociationType | string | undefined;
472
+
473
+ resourceShareArns?: string[];
474
+
475
+ resourceArn?: string;
476
+
477
+ principal?: string;
478
+
479
+ associationStatus?: ResourceShareAssociationStatus | string;
480
+
481
+ nextToken?: string;
482
+
483
+ maxResults?: number;
484
+ }
485
+ export declare namespace GetResourceShareAssociationsRequest {
486
+
487
+ const filterSensitiveLog: (obj: GetResourceShareAssociationsRequest) => any;
488
+ }
489
+ export interface GetResourceShareAssociationsResponse {
490
+
491
+ resourceShareAssociations?: ResourceShareAssociation[];
492
+
493
+ nextToken?: string;
494
+ }
495
+ export declare namespace GetResourceShareAssociationsResponse {
496
+
497
+ const filterSensitiveLog: (obj: GetResourceShareAssociationsResponse) => any;
498
+ }
499
+ export interface GetResourceShareInvitationsRequest {
500
+
501
+ resourceShareInvitationArns?: string[];
502
+
503
+ resourceShareArns?: string[];
504
+
505
+ nextToken?: string;
506
+
507
+ maxResults?: number;
508
+ }
509
+ export declare namespace GetResourceShareInvitationsRequest {
510
+
511
+ const filterSensitiveLog: (obj: GetResourceShareInvitationsRequest) => any;
512
+ }
513
+ export interface GetResourceShareInvitationsResponse {
514
+
515
+ resourceShareInvitations?: ResourceShareInvitation[];
516
+
517
+ nextToken?: string;
518
+ }
519
+ export declare namespace GetResourceShareInvitationsResponse {
520
+
521
+ const filterSensitiveLog: (obj: GetResourceShareInvitationsResponse) => any;
522
+ }
523
+
524
+ export declare class InvalidMaxResultsException extends __BaseException {
525
+ readonly name: "InvalidMaxResultsException";
526
+ readonly $fault: "client";
527
+
528
+ constructor(opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>);
529
+ }
530
+ export declare enum ResourceOwner {
531
+ OTHER_ACCOUNTS = "OTHER-ACCOUNTS",
532
+ SELF = "SELF"
533
+ }
534
+
535
+ export interface TagFilter {
536
+
537
+ tagKey?: string;
538
+
539
+ tagValues?: string[];
540
+ }
541
+ export declare namespace TagFilter {
542
+
543
+ const filterSensitiveLog: (obj: TagFilter) => any;
544
+ }
545
+ export interface GetResourceSharesRequest {
546
+
547
+ resourceShareArns?: string[];
548
+
549
+ resourceShareStatus?: ResourceShareStatus | string;
550
+
551
+ resourceOwner: ResourceOwner | string | undefined;
552
+
553
+ name?: string;
554
+
555
+ tagFilters?: TagFilter[];
556
+
557
+ nextToken?: string;
558
+
559
+ maxResults?: number;
560
+
561
+ permissionArn?: string;
562
+ }
563
+ export declare namespace GetResourceSharesRequest {
564
+
565
+ const filterSensitiveLog: (obj: GetResourceSharesRequest) => any;
566
+ }
567
+ export interface GetResourceSharesResponse {
568
+
569
+ resourceShares?: ResourceShare[];
570
+
571
+ nextToken?: string;
572
+ }
573
+ export declare namespace GetResourceSharesResponse {
574
+
575
+ const filterSensitiveLog: (obj: GetResourceSharesResponse) => any;
576
+ }
577
+ export declare enum ResourceRegionScopeFilter {
578
+ ALL = "ALL",
579
+ GLOBAL = "GLOBAL",
580
+ REGIONAL = "REGIONAL"
581
+ }
582
+ export interface ListPendingInvitationResourcesRequest {
583
+
584
+ resourceShareInvitationArn: string | undefined;
585
+
586
+ nextToken?: string;
587
+
588
+ maxResults?: number;
589
+
590
+ resourceRegionScope?: ResourceRegionScopeFilter | string;
591
+ }
592
+ export declare namespace ListPendingInvitationResourcesRequest {
593
+
594
+ const filterSensitiveLog: (obj: ListPendingInvitationResourcesRequest) => any;
595
+ }
596
+ export declare enum ResourceRegionScope {
597
+ GLOBAL = "GLOBAL",
598
+ REGIONAL = "REGIONAL"
599
+ }
600
+ export declare type ResourceStatus = "AVAILABLE" | "LIMIT_EXCEEDED" | "PENDING" | "UNAVAILABLE" | "ZONAL_RESOURCE_INACCESSIBLE";
601
+
602
+ export interface Resource {
603
+
604
+ arn?: string;
605
+
606
+ type?: string;
607
+
608
+ resourceShareArn?: string;
609
+
610
+ resourceGroupArn?: string;
611
+
612
+ status?: ResourceStatus | string;
613
+
614
+ statusMessage?: string;
615
+
616
+ creationTime?: Date;
617
+
618
+ lastUpdatedTime?: Date;
619
+
620
+ resourceRegionScope?: ResourceRegionScope | string;
621
+ }
622
+ export declare namespace Resource {
623
+
624
+ const filterSensitiveLog: (obj: Resource) => any;
625
+ }
626
+ export interface ListPendingInvitationResourcesResponse {
627
+
628
+ resources?: Resource[];
629
+
630
+ nextToken?: string;
631
+ }
632
+ export declare namespace ListPendingInvitationResourcesResponse {
633
+
634
+ const filterSensitiveLog: (obj: ListPendingInvitationResourcesResponse) => any;
635
+ }
636
+
637
+ export declare class MissingRequiredParameterException extends __BaseException {
638
+ readonly name: "MissingRequiredParameterException";
639
+ readonly $fault: "client";
640
+
641
+ constructor(opts: __ExceptionOptionType<MissingRequiredParameterException, __BaseException>);
642
+ }
643
+ export interface ListPermissionsRequest {
644
+
645
+ resourceType?: string;
646
+
647
+ nextToken?: string;
648
+
649
+ maxResults?: number;
650
+ }
651
+ export declare namespace ListPermissionsRequest {
652
+
653
+ const filterSensitiveLog: (obj: ListPermissionsRequest) => any;
654
+ }
655
+
656
+ export interface ResourceSharePermissionSummary {
657
+
658
+ arn?: string;
659
+
660
+ version?: string;
661
+
662
+ defaultVersion?: boolean;
663
+
664
+ name?: string;
665
+
666
+ resourceType?: string;
667
+
668
+ status?: string;
669
+
670
+ creationTime?: Date;
671
+
672
+ lastUpdatedTime?: Date;
673
+
674
+ isResourceTypeDefault?: boolean;
675
+ }
676
+ export declare namespace ResourceSharePermissionSummary {
677
+
678
+ const filterSensitiveLog: (obj: ResourceSharePermissionSummary) => any;
679
+ }
680
+ export interface ListPermissionsResponse {
681
+
682
+ permissions?: ResourceSharePermissionSummary[];
683
+
684
+ nextToken?: string;
685
+ }
686
+ export declare namespace ListPermissionsResponse {
687
+
688
+ const filterSensitiveLog: (obj: ListPermissionsResponse) => any;
689
+ }
690
+ export interface ListPermissionVersionsRequest {
691
+
692
+ permissionArn: string | undefined;
693
+
694
+ nextToken?: string;
695
+
696
+ maxResults?: number;
697
+ }
698
+ export declare namespace ListPermissionVersionsRequest {
699
+
700
+ const filterSensitiveLog: (obj: ListPermissionVersionsRequest) => any;
701
+ }
702
+ export interface ListPermissionVersionsResponse {
703
+
704
+ permissions?: ResourceSharePermissionSummary[];
705
+
706
+ nextToken?: string;
707
+ }
708
+ export declare namespace ListPermissionVersionsResponse {
709
+
710
+ const filterSensitiveLog: (obj: ListPermissionVersionsResponse) => any;
711
+ }
712
+ export interface ListPrincipalsRequest {
713
+
714
+ resourceOwner: ResourceOwner | string | undefined;
715
+
716
+ resourceArn?: string;
717
+
718
+ principals?: string[];
719
+
720
+ resourceType?: string;
721
+
722
+ resourceShareArns?: string[];
723
+
724
+ nextToken?: string;
725
+
726
+ maxResults?: number;
727
+ }
728
+ export declare namespace ListPrincipalsRequest {
729
+
730
+ const filterSensitiveLog: (obj: ListPrincipalsRequest) => any;
731
+ }
732
+
733
+ export interface Principal {
734
+
735
+ id?: string;
736
+
737
+ resourceShareArn?: string;
738
+
739
+ creationTime?: Date;
740
+
741
+ lastUpdatedTime?: Date;
742
+
743
+ external?: boolean;
744
+ }
745
+ export declare namespace Principal {
746
+
747
+ const filterSensitiveLog: (obj: Principal) => any;
748
+ }
749
+ export interface ListPrincipalsResponse {
750
+
751
+ principals?: Principal[];
752
+
753
+ nextToken?: string;
754
+ }
755
+ export declare namespace ListPrincipalsResponse {
756
+
757
+ const filterSensitiveLog: (obj: ListPrincipalsResponse) => any;
758
+ }
759
+
760
+ export declare class InvalidResourceTypeException extends __BaseException {
761
+ readonly name: "InvalidResourceTypeException";
762
+ readonly $fault: "client";
763
+
764
+ constructor(opts: __ExceptionOptionType<InvalidResourceTypeException, __BaseException>);
765
+ }
766
+ export interface ListResourcesRequest {
767
+
768
+ resourceOwner: ResourceOwner | string | undefined;
769
+
770
+ principal?: string;
771
+
772
+ resourceType?: string;
773
+
774
+ resourceArns?: string[];
775
+
776
+ resourceShareArns?: string[];
777
+
778
+ nextToken?: string;
779
+
780
+ maxResults?: number;
781
+
782
+ resourceRegionScope?: ResourceRegionScopeFilter | string;
783
+ }
784
+ export declare namespace ListResourcesRequest {
785
+
786
+ const filterSensitiveLog: (obj: ListResourcesRequest) => any;
787
+ }
788
+ export interface ListResourcesResponse {
789
+
790
+ resources?: Resource[];
791
+
792
+ nextToken?: string;
793
+ }
794
+ export declare namespace ListResourcesResponse {
795
+
796
+ const filterSensitiveLog: (obj: ListResourcesResponse) => any;
797
+ }
798
+ export interface ListResourceSharePermissionsRequest {
799
+
800
+ resourceShareArn: string | undefined;
801
+
802
+ nextToken?: string;
803
+
804
+ maxResults?: number;
805
+ }
806
+ export declare namespace ListResourceSharePermissionsRequest {
807
+
808
+ const filterSensitiveLog: (obj: ListResourceSharePermissionsRequest) => any;
809
+ }
810
+ export interface ListResourceSharePermissionsResponse {
811
+
812
+ permissions?: ResourceSharePermissionSummary[];
813
+
814
+ nextToken?: string;
815
+ }
816
+ export declare namespace ListResourceSharePermissionsResponse {
817
+
818
+ const filterSensitiveLog: (obj: ListResourceSharePermissionsResponse) => any;
819
+ }
820
+ export interface ListResourceTypesRequest {
821
+
822
+ nextToken?: string;
823
+
824
+ maxResults?: number;
825
+
826
+ resourceRegionScope?: ResourceRegionScopeFilter | string;
827
+ }
828
+ export declare namespace ListResourceTypesRequest {
829
+
830
+ const filterSensitiveLog: (obj: ListResourceTypesRequest) => any;
831
+ }
832
+
833
+ export interface ServiceNameAndResourceType {
834
+
835
+ resourceType?: string;
836
+
837
+ serviceName?: string;
838
+
839
+ resourceRegionScope?: ResourceRegionScope | string;
840
+ }
841
+ export declare namespace ServiceNameAndResourceType {
842
+
843
+ const filterSensitiveLog: (obj: ServiceNameAndResourceType) => any;
844
+ }
845
+ export interface ListResourceTypesResponse {
846
+
847
+ resourceTypes?: ServiceNameAndResourceType[];
848
+
849
+ nextToken?: string;
850
+ }
851
+ export declare namespace ListResourceTypesResponse {
852
+
853
+ const filterSensitiveLog: (obj: ListResourceTypesResponse) => any;
854
+ }
855
+ export interface PromoteResourceShareCreatedFromPolicyRequest {
856
+
857
+ resourceShareArn: string | undefined;
858
+ }
859
+ export declare namespace PromoteResourceShareCreatedFromPolicyRequest {
860
+
861
+ const filterSensitiveLog: (obj: PromoteResourceShareCreatedFromPolicyRequest) => any;
862
+ }
863
+ export interface PromoteResourceShareCreatedFromPolicyResponse {
864
+
865
+ returnValue?: boolean;
866
+ }
867
+ export declare namespace PromoteResourceShareCreatedFromPolicyResponse {
868
+
869
+ const filterSensitiveLog: (obj: PromoteResourceShareCreatedFromPolicyResponse) => any;
870
+ }
871
+ export interface RejectResourceShareInvitationRequest {
872
+
873
+ resourceShareInvitationArn: string | undefined;
874
+
875
+ clientToken?: string;
876
+ }
877
+ export declare namespace RejectResourceShareInvitationRequest {
878
+
879
+ const filterSensitiveLog: (obj: RejectResourceShareInvitationRequest) => any;
880
+ }
881
+ export interface RejectResourceShareInvitationResponse {
882
+
883
+ resourceShareInvitation?: ResourceShareInvitation;
884
+
885
+ clientToken?: string;
886
+ }
887
+ export declare namespace RejectResourceShareInvitationResponse {
888
+
889
+ const filterSensitiveLog: (obj: RejectResourceShareInvitationResponse) => any;
890
+ }
891
+
892
+ export declare class TagLimitExceededException extends __BaseException {
893
+ readonly name: "TagLimitExceededException";
894
+ readonly $fault: "client";
895
+
896
+ constructor(opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>);
897
+ }
898
+ export interface TagResourceRequest {
899
+
900
+ resourceShareArn: string | undefined;
901
+
902
+ tags: Tag[] | undefined;
903
+ }
904
+ export declare namespace TagResourceRequest {
905
+
906
+ const filterSensitiveLog: (obj: TagResourceRequest) => any;
907
+ }
908
+ export interface TagResourceResponse {
909
+ }
910
+ export declare namespace TagResourceResponse {
911
+
912
+ const filterSensitiveLog: (obj: TagResourceResponse) => any;
913
+ }
914
+ export interface UntagResourceRequest {
915
+
916
+ resourceShareArn: string | undefined;
917
+
918
+ tagKeys: string[] | undefined;
919
+ }
920
+ export declare namespace UntagResourceRequest {
921
+
922
+ const filterSensitiveLog: (obj: UntagResourceRequest) => any;
923
+ }
924
+ export interface UntagResourceResponse {
925
+ }
926
+ export declare namespace UntagResourceResponse {
927
+
928
+ const filterSensitiveLog: (obj: UntagResourceResponse) => any;
929
+ }
930
+ export interface UpdateResourceShareRequest {
931
+
932
+ resourceShareArn: string | undefined;
933
+
934
+ name?: string;
935
+
936
+ allowExternalPrincipals?: boolean;
937
+
938
+ clientToken?: string;
939
+ }
940
+ export declare namespace UpdateResourceShareRequest {
941
+
942
+ const filterSensitiveLog: (obj: UpdateResourceShareRequest) => any;
943
+ }
944
+ export interface UpdateResourceShareResponse {
945
+
946
+ resourceShare?: ResourceShare;
947
+
948
+ clientToken?: string;
949
+ }
950
+ export declare namespace UpdateResourceShareResponse {
951
+
952
+ const filterSensitiveLog: (obj: UpdateResourceShareResponse) => any;
953
+ }