1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class RAM extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: RAM.Types.ClientConfiguration)
|
13 | config: Config & RAM.Types.ClientConfiguration;
|
14 | /**
|
15 | * Accepts an invitation to a resource share from another AWS account.
|
16 | */
|
17 | acceptResourceShareInvitation(params: RAM.Types.AcceptResourceShareInvitationRequest, callback?: (err: AWSError, data: RAM.Types.AcceptResourceShareInvitationResponse) => void): Request<RAM.Types.AcceptResourceShareInvitationResponse, AWSError>;
|
18 | /**
|
19 | * Accepts an invitation to a resource share from another AWS account.
|
20 | */
|
21 | acceptResourceShareInvitation(callback?: (err: AWSError, data: RAM.Types.AcceptResourceShareInvitationResponse) => void): Request<RAM.Types.AcceptResourceShareInvitationResponse, AWSError>;
|
22 | /**
|
23 | * Associates the specified resource share with the specified principals and resources.
|
24 | */
|
25 | associateResourceShare(params: RAM.Types.AssociateResourceShareRequest, callback?: (err: AWSError, data: RAM.Types.AssociateResourceShareResponse) => void): Request<RAM.Types.AssociateResourceShareResponse, AWSError>;
|
26 | /**
|
27 | * Associates the specified resource share with the specified principals and resources.
|
28 | */
|
29 | associateResourceShare(callback?: (err: AWSError, data: RAM.Types.AssociateResourceShareResponse) => void): Request<RAM.Types.AssociateResourceShareResponse, AWSError>;
|
30 | /**
|
31 | * Creates a resource share.
|
32 | */
|
33 | createResourceShare(params: RAM.Types.CreateResourceShareRequest, callback?: (err: AWSError, data: RAM.Types.CreateResourceShareResponse) => void): Request<RAM.Types.CreateResourceShareResponse, AWSError>;
|
34 | /**
|
35 | * Creates a resource share.
|
36 | */
|
37 | createResourceShare(callback?: (err: AWSError, data: RAM.Types.CreateResourceShareResponse) => void): Request<RAM.Types.CreateResourceShareResponse, AWSError>;
|
38 | /**
|
39 | * Deletes the specified resource share.
|
40 | */
|
41 | deleteResourceShare(params: RAM.Types.DeleteResourceShareRequest, callback?: (err: AWSError, data: RAM.Types.DeleteResourceShareResponse) => void): Request<RAM.Types.DeleteResourceShareResponse, AWSError>;
|
42 | /**
|
43 | * Deletes the specified resource share.
|
44 | */
|
45 | deleteResourceShare(callback?: (err: AWSError, data: RAM.Types.DeleteResourceShareResponse) => void): Request<RAM.Types.DeleteResourceShareResponse, AWSError>;
|
46 | /**
|
47 | * Disassociates the specified principals or resources from the specified resource share.
|
48 | */
|
49 | disassociateResourceShare(params: RAM.Types.DisassociateResourceShareRequest, callback?: (err: AWSError, data: RAM.Types.DisassociateResourceShareResponse) => void): Request<RAM.Types.DisassociateResourceShareResponse, AWSError>;
|
50 | /**
|
51 | * Disassociates the specified principals or resources from the specified resource share.
|
52 | */
|
53 | disassociateResourceShare(callback?: (err: AWSError, data: RAM.Types.DisassociateResourceShareResponse) => void): Request<RAM.Types.DisassociateResourceShareResponse, AWSError>;
|
54 | /**
|
55 | * Enables resource sharing within your AWS Organization. The caller must be the master account for the AWS Organization.
|
56 | */
|
57 | enableSharingWithAwsOrganization(params: RAM.Types.EnableSharingWithAwsOrganizationRequest, callback?: (err: AWSError, data: RAM.Types.EnableSharingWithAwsOrganizationResponse) => void): Request<RAM.Types.EnableSharingWithAwsOrganizationResponse, AWSError>;
|
58 | /**
|
59 | * Enables resource sharing within your AWS Organization. The caller must be the master account for the AWS Organization.
|
60 | */
|
61 | enableSharingWithAwsOrganization(callback?: (err: AWSError, data: RAM.Types.EnableSharingWithAwsOrganizationResponse) => void): Request<RAM.Types.EnableSharingWithAwsOrganizationResponse, AWSError>;
|
62 | /**
|
63 | * Gets the policies for the specified resources that you own and have shared.
|
64 | */
|
65 | getResourcePolicies(params: RAM.Types.GetResourcePoliciesRequest, callback?: (err: AWSError, data: RAM.Types.GetResourcePoliciesResponse) => void): Request<RAM.Types.GetResourcePoliciesResponse, AWSError>;
|
66 | /**
|
67 | * Gets the policies for the specified resources that you own and have shared.
|
68 | */
|
69 | getResourcePolicies(callback?: (err: AWSError, data: RAM.Types.GetResourcePoliciesResponse) => void): Request<RAM.Types.GetResourcePoliciesResponse, AWSError>;
|
70 | /**
|
71 | * Gets the resources or principals for the resource shares that you own.
|
72 | */
|
73 | getResourceShareAssociations(params: RAM.Types.GetResourceShareAssociationsRequest, callback?: (err: AWSError, data: RAM.Types.GetResourceShareAssociationsResponse) => void): Request<RAM.Types.GetResourceShareAssociationsResponse, AWSError>;
|
74 | /**
|
75 | * Gets the resources or principals for the resource shares that you own.
|
76 | */
|
77 | getResourceShareAssociations(callback?: (err: AWSError, data: RAM.Types.GetResourceShareAssociationsResponse) => void): Request<RAM.Types.GetResourceShareAssociationsResponse, AWSError>;
|
78 | /**
|
79 | * Gets the invitations for resource sharing that you've received.
|
80 | */
|
81 | getResourceShareInvitations(params: RAM.Types.GetResourceShareInvitationsRequest, callback?: (err: AWSError, data: RAM.Types.GetResourceShareInvitationsResponse) => void): Request<RAM.Types.GetResourceShareInvitationsResponse, AWSError>;
|
82 | /**
|
83 | * Gets the invitations for resource sharing that you've received.
|
84 | */
|
85 | getResourceShareInvitations(callback?: (err: AWSError, data: RAM.Types.GetResourceShareInvitationsResponse) => void): Request<RAM.Types.GetResourceShareInvitationsResponse, AWSError>;
|
86 | /**
|
87 | * Gets the resource shares that you own or the resource shares that are shared with you.
|
88 | */
|
89 | getResourceShares(params: RAM.Types.GetResourceSharesRequest, callback?: (err: AWSError, data: RAM.Types.GetResourceSharesResponse) => void): Request<RAM.Types.GetResourceSharesResponse, AWSError>;
|
90 | /**
|
91 | * Gets the resource shares that you own or the resource shares that are shared with you.
|
92 | */
|
93 | getResourceShares(callback?: (err: AWSError, data: RAM.Types.GetResourceSharesResponse) => void): Request<RAM.Types.GetResourceSharesResponse, AWSError>;
|
94 | /**
|
95 | * Lists the resources in a resource share that is shared with you but that the invitation is still pending for.
|
96 | */
|
97 | listPendingInvitationResources(params: RAM.Types.ListPendingInvitationResourcesRequest, callback?: (err: AWSError, data: RAM.Types.ListPendingInvitationResourcesResponse) => void): Request<RAM.Types.ListPendingInvitationResourcesResponse, AWSError>;
|
98 | /**
|
99 | * Lists the resources in a resource share that is shared with you but that the invitation is still pending for.
|
100 | */
|
101 | listPendingInvitationResources(callback?: (err: AWSError, data: RAM.Types.ListPendingInvitationResourcesResponse) => void): Request<RAM.Types.ListPendingInvitationResourcesResponse, AWSError>;
|
102 | /**
|
103 | * Lists the principals that you have shared resources with or the principals that have shared resources with you.
|
104 | */
|
105 | listPrincipals(params: RAM.Types.ListPrincipalsRequest, callback?: (err: AWSError, data: RAM.Types.ListPrincipalsResponse) => void): Request<RAM.Types.ListPrincipalsResponse, AWSError>;
|
106 | /**
|
107 | * Lists the principals that you have shared resources with or the principals that have shared resources with you.
|
108 | */
|
109 | listPrincipals(callback?: (err: AWSError, data: RAM.Types.ListPrincipalsResponse) => void): Request<RAM.Types.ListPrincipalsResponse, AWSError>;
|
110 | /**
|
111 | * Lists the resources that you added to a resource shares or the resources that are shared with you.
|
112 | */
|
113 | listResources(params: RAM.Types.ListResourcesRequest, callback?: (err: AWSError, data: RAM.Types.ListResourcesResponse) => void): Request<RAM.Types.ListResourcesResponse, AWSError>;
|
114 | /**
|
115 | * Lists the resources that you added to a resource shares or the resources that are shared with you.
|
116 | */
|
117 | listResources(callback?: (err: AWSError, data: RAM.Types.ListResourcesResponse) => void): Request<RAM.Types.ListResourcesResponse, AWSError>;
|
118 | /**
|
119 | * Rejects an invitation to a resource share from another AWS account.
|
120 | */
|
121 | rejectResourceShareInvitation(params: RAM.Types.RejectResourceShareInvitationRequest, callback?: (err: AWSError, data: RAM.Types.RejectResourceShareInvitationResponse) => void): Request<RAM.Types.RejectResourceShareInvitationResponse, AWSError>;
|
122 | /**
|
123 | * Rejects an invitation to a resource share from another AWS account.
|
124 | */
|
125 | rejectResourceShareInvitation(callback?: (err: AWSError, data: RAM.Types.RejectResourceShareInvitationResponse) => void): Request<RAM.Types.RejectResourceShareInvitationResponse, AWSError>;
|
126 | /**
|
127 | * Adds the specified tags to the specified resource share that you own.
|
128 | */
|
129 | tagResource(params: RAM.Types.TagResourceRequest, callback?: (err: AWSError, data: RAM.Types.TagResourceResponse) => void): Request<RAM.Types.TagResourceResponse, AWSError>;
|
130 | /**
|
131 | * Adds the specified tags to the specified resource share that you own.
|
132 | */
|
133 | tagResource(callback?: (err: AWSError, data: RAM.Types.TagResourceResponse) => void): Request<RAM.Types.TagResourceResponse, AWSError>;
|
134 | /**
|
135 | * Removes the specified tags from the specified resource share that you own.
|
136 | */
|
137 | untagResource(params: RAM.Types.UntagResourceRequest, callback?: (err: AWSError, data: RAM.Types.UntagResourceResponse) => void): Request<RAM.Types.UntagResourceResponse, AWSError>;
|
138 | /**
|
139 | * Removes the specified tags from the specified resource share that you own.
|
140 | */
|
141 | untagResource(callback?: (err: AWSError, data: RAM.Types.UntagResourceResponse) => void): Request<RAM.Types.UntagResourceResponse, AWSError>;
|
142 | /**
|
143 | * Updates the specified resource share that you own.
|
144 | */
|
145 | updateResourceShare(params: RAM.Types.UpdateResourceShareRequest, callback?: (err: AWSError, data: RAM.Types.UpdateResourceShareResponse) => void): Request<RAM.Types.UpdateResourceShareResponse, AWSError>;
|
146 | /**
|
147 | * Updates the specified resource share that you own.
|
148 | */
|
149 | updateResourceShare(callback?: (err: AWSError, data: RAM.Types.UpdateResourceShareResponse) => void): Request<RAM.Types.UpdateResourceShareResponse, AWSError>;
|
150 | }
|
151 | declare namespace RAM {
|
152 | export interface AcceptResourceShareInvitationRequest {
|
153 | |
154 |
|
155 |
|
156 | resourceShareInvitationArn: String;
|
157 | |
158 |
|
159 |
|
160 | clientToken?: String;
|
161 | }
|
162 | export interface AcceptResourceShareInvitationResponse {
|
163 | |
164 |
|
165 |
|
166 | resourceShareInvitation?: ResourceShareInvitation;
|
167 | |
168 |
|
169 |
|
170 | clientToken?: String;
|
171 | }
|
172 | export interface AssociateResourceShareRequest {
|
173 | |
174 |
|
175 |
|
176 | resourceShareArn: String;
|
177 | |
178 |
|
179 |
|
180 | resourceArns?: ResourceArnList;
|
181 | |
182 |
|
183 |
|
184 | principals?: PrincipalArnOrIdList;
|
185 | |
186 |
|
187 |
|
188 | clientToken?: String;
|
189 | }
|
190 | export interface AssociateResourceShareResponse {
|
191 | |
192 |
|
193 |
|
194 | resourceShareAssociations?: ResourceShareAssociationList;
|
195 | |
196 |
|
197 |
|
198 | clientToken?: String;
|
199 | }
|
200 | export type Boolean = boolean;
|
201 | export interface CreateResourceShareRequest {
|
202 | |
203 |
|
204 |
|
205 | name: String;
|
206 | |
207 |
|
208 |
|
209 | resourceArns?: ResourceArnList;
|
210 | |
211 |
|
212 |
|
213 | principals?: PrincipalArnOrIdList;
|
214 | |
215 |
|
216 |
|
217 | tags?: TagList;
|
218 | |
219 |
|
220 |
|
221 | allowExternalPrincipals?: Boolean;
|
222 | |
223 |
|
224 |
|
225 | clientToken?: String;
|
226 | }
|
227 | export interface CreateResourceShareResponse {
|
228 | |
229 |
|
230 |
|
231 | resourceShare?: ResourceShare;
|
232 | |
233 |
|
234 |
|
235 | clientToken?: String;
|
236 | }
|
237 | export type DateTime = Date;
|
238 | export interface DeleteResourceShareRequest {
|
239 | |
240 |
|
241 |
|
242 | resourceShareArn: String;
|
243 | |
244 |
|
245 |
|
246 | clientToken?: String;
|
247 | }
|
248 | export interface DeleteResourceShareResponse {
|
249 | |
250 |
|
251 |
|
252 | returnValue?: Boolean;
|
253 | |
254 |
|
255 |
|
256 | clientToken?: String;
|
257 | }
|
258 | export interface DisassociateResourceShareRequest {
|
259 | |
260 |
|
261 |
|
262 | resourceShareArn: String;
|
263 | |
264 |
|
265 |
|
266 | resourceArns?: ResourceArnList;
|
267 | |
268 |
|
269 |
|
270 | principals?: PrincipalArnOrIdList;
|
271 | |
272 |
|
273 |
|
274 | clientToken?: String;
|
275 | }
|
276 | export interface DisassociateResourceShareResponse {
|
277 | |
278 |
|
279 |
|
280 | resourceShareAssociations?: ResourceShareAssociationList;
|
281 | |
282 |
|
283 |
|
284 | clientToken?: String;
|
285 | }
|
286 | export interface EnableSharingWithAwsOrganizationRequest {
|
287 | }
|
288 | export interface EnableSharingWithAwsOrganizationResponse {
|
289 | |
290 |
|
291 |
|
292 | returnValue?: Boolean;
|
293 | }
|
294 | export interface GetResourcePoliciesRequest {
|
295 | |
296 |
|
297 |
|
298 | resourceArns: ResourceArnList;
|
299 | |
300 |
|
301 |
|
302 | principal?: String;
|
303 | |
304 |
|
305 |
|
306 | nextToken?: String;
|
307 | |
308 |
|
309 |
|
310 | maxResults?: MaxResults;
|
311 | }
|
312 | export interface GetResourcePoliciesResponse {
|
313 | |
314 |
|
315 |
|
316 | policies?: PolicyList;
|
317 | |
318 |
|
319 |
|
320 | nextToken?: String;
|
321 | }
|
322 | export interface GetResourceShareAssociationsRequest {
|
323 | |
324 |
|
325 |
|
326 | associationType: ResourceShareAssociationType;
|
327 | |
328 |
|
329 |
|
330 | resourceShareArns?: ResourceShareArnList;
|
331 | |
332 |
|
333 |
|
334 | resourceArn?: String;
|
335 | |
336 |
|
337 |
|
338 | principal?: String;
|
339 | |
340 |
|
341 |
|
342 | associationStatus?: ResourceShareAssociationStatus;
|
343 | |
344 |
|
345 |
|
346 | nextToken?: String;
|
347 | |
348 |
|
349 |
|
350 | maxResults?: MaxResults;
|
351 | }
|
352 | export interface GetResourceShareAssociationsResponse {
|
353 | |
354 |
|
355 |
|
356 | resourceShareAssociations?: ResourceShareAssociationList;
|
357 | |
358 |
|
359 |
|
360 | nextToken?: String;
|
361 | }
|
362 | export interface GetResourceShareInvitationsRequest {
|
363 | |
364 |
|
365 |
|
366 | resourceShareInvitationArns?: ResourceShareInvitationArnList;
|
367 | |
368 |
|
369 |
|
370 | resourceShareArns?: ResourceShareArnList;
|
371 | |
372 |
|
373 |
|
374 | nextToken?: String;
|
375 | |
376 |
|
377 |
|
378 | maxResults?: MaxResults;
|
379 | }
|
380 | export interface GetResourceShareInvitationsResponse {
|
381 | |
382 |
|
383 |
|
384 | resourceShareInvitations?: ResourceShareInvitationList;
|
385 | |
386 |
|
387 |
|
388 | nextToken?: String;
|
389 | }
|
390 | export interface GetResourceSharesRequest {
|
391 | |
392 |
|
393 |
|
394 | resourceShareArns?: ResourceShareArnList;
|
395 | |
396 |
|
397 |
|
398 | resourceShareStatus?: ResourceShareStatus;
|
399 | |
400 |
|
401 |
|
402 | resourceOwner: ResourceOwner;
|
403 | |
404 |
|
405 |
|
406 | name?: String;
|
407 | |
408 |
|
409 |
|
410 | tagFilters?: TagFilters;
|
411 | |
412 |
|
413 |
|
414 | nextToken?: String;
|
415 | |
416 |
|
417 |
|
418 | maxResults?: MaxResults;
|
419 | }
|
420 | export interface GetResourceSharesResponse {
|
421 | |
422 |
|
423 |
|
424 | resourceShares?: ResourceShareList;
|
425 | |
426 |
|
427 |
|
428 | nextToken?: String;
|
429 | }
|
430 | export interface ListPendingInvitationResourcesRequest {
|
431 | |
432 |
|
433 |
|
434 | resourceShareInvitationArn: String;
|
435 | |
436 |
|
437 |
|
438 | nextToken?: String;
|
439 | |
440 |
|
441 |
|
442 | maxResults?: MaxResults;
|
443 | }
|
444 | export interface ListPendingInvitationResourcesResponse {
|
445 | |
446 |
|
447 |
|
448 | resources?: ResourceList;
|
449 | |
450 |
|
451 |
|
452 | nextToken?: String;
|
453 | }
|
454 | export interface ListPrincipalsRequest {
|
455 | |
456 |
|
457 |
|
458 | resourceOwner: ResourceOwner;
|
459 | |
460 |
|
461 |
|
462 | resourceArn?: String;
|
463 | |
464 |
|
465 |
|
466 | principals?: PrincipalArnOrIdList;
|
467 | |
468 |
|
469 |
|
470 | resourceType?: String;
|
471 | |
472 |
|
473 |
|
474 | resourceShareArns?: ResourceShareArnList;
|
475 | |
476 |
|
477 |
|
478 | nextToken?: String;
|
479 | |
480 |
|
481 |
|
482 | maxResults?: MaxResults;
|
483 | }
|
484 | export interface ListPrincipalsResponse {
|
485 | |
486 |
|
487 |
|
488 | principals?: PrincipalList;
|
489 | |
490 |
|
491 |
|
492 | nextToken?: String;
|
493 | }
|
494 | export interface ListResourcesRequest {
|
495 | |
496 |
|
497 |
|
498 | resourceOwner: ResourceOwner;
|
499 | |
500 |
|
501 |
|
502 | principal?: String;
|
503 | |
504 |
|
505 |
|
506 | resourceType?: String;
|
507 | |
508 |
|
509 |
|
510 | resourceArns?: ResourceArnList;
|
511 | |
512 |
|
513 |
|
514 | resourceShareArns?: ResourceShareArnList;
|
515 | |
516 |
|
517 |
|
518 | nextToken?: String;
|
519 | |
520 |
|
521 |
|
522 | maxResults?: MaxResults;
|
523 | }
|
524 | export interface ListResourcesResponse {
|
525 | |
526 |
|
527 |
|
528 | resources?: ResourceList;
|
529 | |
530 |
|
531 |
|
532 | nextToken?: String;
|
533 | }
|
534 | export type MaxResults = number;
|
535 | export type Policy = string;
|
536 | export type PolicyList = Policy[];
|
537 | export interface Principal {
|
538 | |
539 |
|
540 |
|
541 | id?: String;
|
542 | |
543 |
|
544 |
|
545 | resourceShareArn?: String;
|
546 | |
547 |
|
548 |
|
549 | creationTime?: DateTime;
|
550 | |
551 |
|
552 |
|
553 | lastUpdatedTime?: DateTime;
|
554 | |
555 |
|
556 |
|
557 | external?: Boolean;
|
558 | }
|
559 | export type PrincipalArnOrIdList = String[];
|
560 | export type PrincipalList = Principal[];
|
561 | export interface RejectResourceShareInvitationRequest {
|
562 | |
563 |
|
564 |
|
565 | resourceShareInvitationArn: String;
|
566 | |
567 |
|
568 |
|
569 | clientToken?: String;
|
570 | }
|
571 | export interface RejectResourceShareInvitationResponse {
|
572 | |
573 |
|
574 |
|
575 | resourceShareInvitation?: ResourceShareInvitation;
|
576 | |
577 |
|
578 |
|
579 | clientToken?: String;
|
580 | }
|
581 | export interface Resource {
|
582 | |
583 |
|
584 |
|
585 | arn?: String;
|
586 | |
587 |
|
588 |
|
589 | type?: String;
|
590 | |
591 |
|
592 |
|
593 | resourceShareArn?: String;
|
594 | |
595 |
|
596 |
|
597 | status?: ResourceStatus;
|
598 | |
599 |
|
600 |
|
601 | statusMessage?: String;
|
602 | |
603 |
|
604 |
|
605 | creationTime?: DateTime;
|
606 | |
607 |
|
608 |
|
609 | lastUpdatedTime?: DateTime;
|
610 | }
|
611 | export type ResourceArnList = String[];
|
612 | export type ResourceList = Resource[];
|
613 | export type ResourceOwner = "SELF"|"OTHER-ACCOUNTS"|string;
|
614 | export interface ResourceShare {
|
615 | |
616 |
|
617 |
|
618 | resourceShareArn?: String;
|
619 | |
620 |
|
621 |
|
622 | name?: String;
|
623 | |
624 |
|
625 |
|
626 | owningAccountId?: String;
|
627 | |
628 |
|
629 |
|
630 | allowExternalPrincipals?: Boolean;
|
631 | |
632 |
|
633 |
|
634 | status?: ResourceShareStatus;
|
635 | |
636 |
|
637 |
|
638 | statusMessage?: String;
|
639 | |
640 |
|
641 |
|
642 | tags?: TagList;
|
643 | |
644 |
|
645 |
|
646 | creationTime?: DateTime;
|
647 | |
648 |
|
649 |
|
650 | lastUpdatedTime?: DateTime;
|
651 | }
|
652 | export type ResourceShareArnList = String[];
|
653 | export interface ResourceShareAssociation {
|
654 | |
655 |
|
656 |
|
657 | resourceShareArn?: String;
|
658 | |
659 |
|
660 |
|
661 | resourceShareName?: String;
|
662 | |
663 |
|
664 |
|
665 | associatedEntity?: String;
|
666 | |
667 |
|
668 |
|
669 | associationType?: ResourceShareAssociationType;
|
670 | |
671 |
|
672 |
|
673 | status?: ResourceShareAssociationStatus;
|
674 | |
675 |
|
676 |
|
677 | statusMessage?: String;
|
678 | |
679 |
|
680 |
|
681 | creationTime?: DateTime;
|
682 | |
683 |
|
684 |
|
685 | lastUpdatedTime?: DateTime;
|
686 | |
687 |
|
688 |
|
689 | external?: Boolean;
|
690 | }
|
691 | export type ResourceShareAssociationList = ResourceShareAssociation[];
|
692 | export type ResourceShareAssociationStatus = "ASSOCIATING"|"ASSOCIATED"|"FAILED"|"DISASSOCIATING"|"DISASSOCIATED"|string;
|
693 | export type ResourceShareAssociationType = "PRINCIPAL"|"RESOURCE"|string;
|
694 | export interface ResourceShareInvitation {
|
695 | |
696 |
|
697 |
|
698 | resourceShareInvitationArn?: String;
|
699 | |
700 |
|
701 |
|
702 | resourceShareName?: String;
|
703 | |
704 |
|
705 |
|
706 | resourceShareArn?: String;
|
707 | |
708 |
|
709 |
|
710 | senderAccountId?: String;
|
711 | |
712 |
|
713 |
|
714 | receiverAccountId?: String;
|
715 | |
716 |
|
717 |
|
718 | invitationTimestamp?: DateTime;
|
719 | |
720 |
|
721 |
|
722 | status?: ResourceShareInvitationStatus;
|
723 | |
724 |
|
725 |
|
726 | resourceShareAssociations?: ResourceShareAssociationList;
|
727 | }
|
728 | export type ResourceShareInvitationArnList = String[];
|
729 | export type ResourceShareInvitationList = ResourceShareInvitation[];
|
730 | export type ResourceShareInvitationStatus = "PENDING"|"ACCEPTED"|"REJECTED"|"EXPIRED"|string;
|
731 | export type ResourceShareList = ResourceShare[];
|
732 | export type ResourceShareStatus = "PENDING"|"ACTIVE"|"FAILED"|"DELETING"|"DELETED"|string;
|
733 | export type ResourceStatus = "AVAILABLE"|"ZONAL_RESOURCE_INACCESSIBLE"|"LIMIT_EXCEEDED"|"UNAVAILABLE"|"PENDING"|string;
|
734 | export type String = string;
|
735 | export interface Tag {
|
736 | |
737 |
|
738 |
|
739 | key?: TagKey;
|
740 | |
741 |
|
742 |
|
743 | value?: TagValue;
|
744 | }
|
745 | export interface TagFilter {
|
746 | |
747 |
|
748 |
|
749 | tagKey?: TagKey;
|
750 | |
751 |
|
752 |
|
753 | tagValues?: TagValueList;
|
754 | }
|
755 | export type TagFilters = TagFilter[];
|
756 | export type TagKey = string;
|
757 | export type TagKeyList = TagKey[];
|
758 | export type TagList = Tag[];
|
759 | export interface TagResourceRequest {
|
760 | |
761 |
|
762 |
|
763 | resourceShareArn: String;
|
764 | |
765 |
|
766 |
|
767 | tags: TagList;
|
768 | }
|
769 | export interface TagResourceResponse {
|
770 | }
|
771 | export type TagValue = string;
|
772 | export type TagValueList = TagValue[];
|
773 | export interface UntagResourceRequest {
|
774 | |
775 |
|
776 |
|
777 | resourceShareArn: String;
|
778 | |
779 |
|
780 |
|
781 | tagKeys: TagKeyList;
|
782 | }
|
783 | export interface UntagResourceResponse {
|
784 | }
|
785 | export interface UpdateResourceShareRequest {
|
786 | |
787 |
|
788 |
|
789 | resourceShareArn: String;
|
790 | |
791 |
|
792 |
|
793 | name?: String;
|
794 | |
795 |
|
796 |
|
797 | allowExternalPrincipals?: Boolean;
|
798 | |
799 |
|
800 |
|
801 | clientToken?: String;
|
802 | }
|
803 | export interface UpdateResourceShareResponse {
|
804 | |
805 |
|
806 |
|
807 | resourceShare?: ResourceShare;
|
808 | |
809 |
|
810 |
|
811 | clientToken?: String;
|
812 | }
|
813 | |
814 |
|
815 |
|
816 | export type apiVersion = "2018-01-04"|"latest"|string;
|
817 | export interface ClientApiVersions {
|
818 | |
819 |
|
820 |
|
821 | apiVersion?: apiVersion;
|
822 | }
|
823 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
824 | |
825 |
|
826 |
|
827 | export import Types = RAM;
|
828 | }
|
829 | export = RAM;
|