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