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