Debian Codegraph @

models/apis/ram/2018-01-04/api-2.json

raw
1 {
2 "version":"2.0",
3 "metadata":{
4 "apiVersion":"2018-01-04",
5 "endpointPrefix":"ram",
6 "jsonVersion":"1.1",
7 "protocol":"rest-json",
8 "serviceAbbreviation":"RAM",
9 "serviceFullName":"AWS Resource Access Manager",
10 "serviceId":"RAM",
11 "signatureVersion":"v4",
12 "uid":"ram-2018-01-04"
13 },
14 "operations":{
15 "AcceptResourceShareInvitation":{
16 "name":"AcceptResourceShareInvitation",
17 "http":{
18 "method":"POST",
19 "requestUri":"/acceptresourceshareinvitation"
20 },
21 "input":{"shape":"AcceptResourceShareInvitationRequest"},
22 "output":{"shape":"AcceptResourceShareInvitationResponse"},
23 "errors":[
24 {"shape":"MalformedArnException"},
25 {"shape":"OperationNotPermittedException"},
26 {"shape":"ResourceShareInvitationArnNotFoundException"},
27 {"shape":"ResourceShareInvitationAlreadyAcceptedException"},
28 {"shape":"ResourceShareInvitationAlreadyRejectedException"},
29 {"shape":"ResourceShareInvitationExpiredException"},
30 {"shape":"ServerInternalException"},
31 {"shape":"ServiceUnavailableException"},
32 {"shape":"InvalidClientTokenException"},
33 {"shape":"IdempotentParameterMismatchException"}
34 ]
35 },
36 "AssociateResourceShare":{
37 "name":"AssociateResourceShare",
38 "http":{
39 "method":"POST",
40 "requestUri":"/associateresourceshare"
41 },
42 "input":{"shape":"AssociateResourceShareRequest"},
43 "output":{"shape":"AssociateResourceShareResponse"},
44 "errors":[
45 {"shape":"IdempotentParameterMismatchException"},
46 {"shape":"UnknownResourceException"},
47 {"shape":"InvalidStateTransitionException"},
48 {"shape":"ResourceShareLimitExceededException"},
49 {"shape":"MalformedArnException"},
50 {"shape":"InvalidStateTransitionException"},
51 {"shape":"InvalidClientTokenException"},
52 {"shape":"InvalidParameterException"},
53 {"shape":"OperationNotPermittedException"},
54 {"shape":"ServerInternalException"},
55 {"shape":"ServiceUnavailableException"},
56 {"shape":"UnknownResourceException"},
57 {"shape":"ThrottlingException"}
58 ]
59 },
60 "AssociateResourceSharePermission":{
61 "name":"AssociateResourceSharePermission",
62 "http":{
63 "method":"POST",
64 "requestUri":"/associateresourcesharepermission"
65 },
66 "input":{"shape":"AssociateResourceSharePermissionRequest"},
67 "output":{"shape":"AssociateResourceSharePermissionResponse"},
68 "errors":[
69 {"shape":"MalformedArnException"},
70 {"shape":"UnknownResourceException"},
71 {"shape":"InvalidParameterException"},
72 {"shape":"InvalidClientTokenException"},
73 {"shape":"ServerInternalException"},
74 {"shape":"ServiceUnavailableException"},
75 {"shape":"OperationNotPermittedException"}
76 ]
77 },
78 "CreatePermission":{
79 "name":"CreatePermission",
80 "http":{
81 "method":"POST",
82 "requestUri":"/createpermission"
83 },
84 "input":{"shape":"CreatePermissionRequest"},
85 "output":{"shape":"CreatePermissionResponse"},
86 "errors":[
87 {"shape":"InvalidParameterException"},
88 {"shape":"InvalidPolicyException"},
89 {"shape":"OperationNotPermittedException"},
90 {"shape":"ServerInternalException"},
91 {"shape":"ServiceUnavailableException"},
92 {"shape":"PermissionAlreadyExistsException"},
93 {"shape":"MalformedPolicyTemplateException"},
94 {"shape":"InvalidClientTokenException"},
95 {"shape":"PermissionLimitExceededException"},
96 {"shape":"IdempotentParameterMismatchException"}
97 ]
98 },
99 "CreatePermissionVersion":{
100 "name":"CreatePermissionVersion",
101 "http":{
102 "method":"POST",
103 "requestUri":"/createpermissionversion"
104 },
105 "input":{"shape":"CreatePermissionVersionRequest"},
106 "output":{"shape":"CreatePermissionVersionResponse"},
107 "errors":[
108 {"shape":"InvalidParameterException"},
109 {"shape":"InvalidPolicyException"},
110 {"shape":"ServerInternalException"},
111 {"shape":"ServiceUnavailableException"},
112 {"shape":"UnknownResourceException"},
113 {"shape":"MalformedPolicyTemplateException"},
114 {"shape":"MalformedArnException"},
115 {"shape":"InvalidClientTokenException"},
116 {"shape":"IdempotentParameterMismatchException"},
117 {"shape":"PermissionVersionsLimitExceededException"}
118 ]
119 },
120 "CreateResourceShare":{
121 "name":"CreateResourceShare",
122 "http":{
123 "method":"POST",
124 "requestUri":"/createresourceshare"
125 },
126 "input":{"shape":"CreateResourceShareRequest"},
127 "output":{"shape":"CreateResourceShareResponse"},
128 "errors":[
129 {"shape":"IdempotentParameterMismatchException"},
130 {"shape":"InvalidStateTransitionException"},
131 {"shape":"UnknownResourceException"},
132 {"shape":"MalformedArnException"},
133 {"shape":"InvalidClientTokenException"},
134 {"shape":"InvalidParameterException"},
135 {"shape":"OperationNotPermittedException"},
136 {"shape":"ResourceShareLimitExceededException"},
137 {"shape":"TagPolicyViolationException"},
138 {"shape":"TagLimitExceededException"},
139 {"shape":"ServerInternalException"},
140 {"shape":"ServiceUnavailableException"}
141 ]
142 },
143 "DeletePermission":{
144 "name":"DeletePermission",
145 "http":{
146 "method":"DELETE",
147 "requestUri":"/deletepermission"
148 },
149 "input":{"shape":"DeletePermissionRequest"},
150 "output":{"shape":"DeletePermissionResponse"},
151 "errors":[
152 {"shape":"MalformedArnException"},
153 {"shape":"ServerInternalException"},
154 {"shape":"ServiceUnavailableException"},
155 {"shape":"OperationNotPermittedException"},
156 {"shape":"UnknownResourceException"},
157 {"shape":"InvalidClientTokenException"},
158 {"shape":"IdempotentParameterMismatchException"}
159 ]
160 },
161 "DeletePermissionVersion":{
162 "name":"DeletePermissionVersion",
163 "http":{
164 "method":"DELETE",
165 "requestUri":"/deletepermissionversion"
166 },
167 "input":{"shape":"DeletePermissionVersionRequest"},
168 "output":{"shape":"DeletePermissionVersionResponse"},
169 "errors":[
170 {"shape":"MalformedArnException"},
171 {"shape":"InvalidParameterException"},
172 {"shape":"ServerInternalException"},
173 {"shape":"ServiceUnavailableException"},
174 {"shape":"OperationNotPermittedException"},
175 {"shape":"UnknownResourceException"},
176 {"shape":"InvalidClientTokenException"},
177 {"shape":"IdempotentParameterMismatchException"}
178 ]
179 },
180 "DeleteResourceShare":{
181 "name":"DeleteResourceShare",
182 "http":{
183 "method":"DELETE",
184 "requestUri":"/deleteresourceshare"
185 },
186 "input":{"shape":"DeleteResourceShareRequest"},
187 "output":{"shape":"DeleteResourceShareResponse"},
188 "errors":[
189 {"shape":"OperationNotPermittedException"},
190 {"shape":"IdempotentParameterMismatchException"},
191 {"shape":"InvalidStateTransitionException"},
192 {"shape":"UnknownResourceException"},
193 {"shape":"MalformedArnException"},
194 {"shape":"InvalidClientTokenException"},
195 {"shape":"InvalidParameterException"},
196 {"shape":"ServerInternalException"},
197 {"shape":"ServiceUnavailableException"}
198 ]
199 },
200 "DisassociateResourceShare":{
201 "name":"DisassociateResourceShare",
202 "http":{
203 "method":"POST",
204 "requestUri":"/disassociateresourceshare"
205 },
206 "input":{"shape":"DisassociateResourceShareRequest"},
207 "output":{"shape":"DisassociateResourceShareResponse"},
208 "errors":[
209 {"shape":"IdempotentParameterMismatchException"},
210 {"shape":"ResourceShareLimitExceededException"},
211 {"shape":"MalformedArnException"},
212 {"shape":"InvalidStateTransitionException"},
213 {"shape":"InvalidClientTokenException"},
214 {"shape":"InvalidParameterException"},
215 {"shape":"OperationNotPermittedException"},
216 {"shape":"ServerInternalException"},
217 {"shape":"ServiceUnavailableException"},
218 {"shape":"UnknownResourceException"}
219 ]
220 },
221 "DisassociateResourceSharePermission":{
222 "name":"DisassociateResourceSharePermission",
223 "http":{
224 "method":"POST",
225 "requestUri":"/disassociateresourcesharepermission"
226 },
227 "input":{"shape":"DisassociateResourceSharePermissionRequest"},
228 "output":{"shape":"DisassociateResourceSharePermissionResponse"},
229 "errors":[
230 {"shape":"MalformedArnException"},
231 {"shape":"UnknownResourceException"},
232 {"shape":"InvalidParameterException"},
233 {"shape":"InvalidClientTokenException"},
234 {"shape":"ServerInternalException"},
235 {"shape":"ServiceUnavailableException"},
236 {"shape":"OperationNotPermittedException"},
237 {"shape":"InvalidStateTransitionException"}
238 ]
239 },
240 "EnableSharingWithAwsOrganization":{
241 "name":"EnableSharingWithAwsOrganization",
242 "http":{
243 "method":"POST",
244 "requestUri":"/enablesharingwithawsorganization"
245 },
246 "input":{"shape":"EnableSharingWithAwsOrganizationRequest"},
247 "output":{"shape":"EnableSharingWithAwsOrganizationResponse"},
248 "errors":[
249 {"shape":"OperationNotPermittedException"},
250 {"shape":"ServerInternalException"},
251 {"shape":"ServiceUnavailableException"}
252 ]
253 },
254 "GetPermission":{
255 "name":"GetPermission",
256 "http":{
257 "method":"POST",
258 "requestUri":"/getpermission"
259 },
260 "input":{"shape":"GetPermissionRequest"},
261 "output":{"shape":"GetPermissionResponse"},
262 "errors":[
263 {"shape":"InvalidParameterException"},
264 {"shape":"MalformedArnException"},
265 {"shape":"UnknownResourceException"},
266 {"shape":"ServerInternalException"},
267 {"shape":"ServiceUnavailableException"},
268 {"shape":"OperationNotPermittedException"}
269 ]
270 },
271 "GetResourcePolicies":{
272 "name":"GetResourcePolicies",
273 "http":{
274 "method":"POST",
275 "requestUri":"/getresourcepolicies"
276 },
277 "input":{"shape":"GetResourcePoliciesRequest"},
278 "output":{"shape":"GetResourcePoliciesResponse"},
279 "errors":[
280 {"shape":"MalformedArnException"},
281 {"shape":"InvalidNextTokenException"},
282 {"shape":"InvalidParameterException"},
283 {"shape":"ResourceArnNotFoundException"},
284 {"shape":"ServerInternalException"},
285 {"shape":"ServiceUnavailableException"}
286 ]
287 },
288 "GetResourceShareAssociations":{
289 "name":"GetResourceShareAssociations",
290 "http":{
291 "method":"POST",
292 "requestUri":"/getresourceshareassociations"
293 },
294 "input":{"shape":"GetResourceShareAssociationsRequest"},
295 "output":{"shape":"GetResourceShareAssociationsResponse"},
296 "errors":[
297 {"shape":"UnknownResourceException"},
298 {"shape":"MalformedArnException"},
299 {"shape":"InvalidNextTokenException"},
300 {"shape":"InvalidParameterException"},
301 {"shape":"OperationNotPermittedException"},
302 {"shape":"ServerInternalException"},
303 {"shape":"ServiceUnavailableException"}
304 ]
305 },
306 "GetResourceShareInvitations":{
307 "name":"GetResourceShareInvitations",
308 "http":{
309 "method":"POST",
310 "requestUri":"/getresourceshareinvitations"
311 },
312 "input":{"shape":"GetResourceShareInvitationsRequest"},
313 "output":{"shape":"GetResourceShareInvitationsResponse"},
314 "errors":[
315 {"shape":"ResourceShareInvitationArnNotFoundException"},
316 {"shape":"InvalidMaxResultsException"},
317 {"shape":"MalformedArnException"},
318 {"shape":"UnknownResourceException"},
319 {"shape":"InvalidNextTokenException"},
320 {"shape":"InvalidParameterException"},
321 {"shape":"ServerInternalException"},
322 {"shape":"ServiceUnavailableException"}
323 ]
324 },
325 "GetResourceShares":{
326 "name":"GetResourceShares",
327 "http":{
328 "method":"POST",
329 "requestUri":"/getresourceshares"
330 },
331 "input":{"shape":"GetResourceSharesRequest"},
332 "output":{"shape":"GetResourceSharesResponse"},
333 "errors":[
334 {"shape":"UnknownResourceException"},
335 {"shape":"MalformedArnException"},
336 {"shape":"InvalidNextTokenException"},
337 {"shape":"InvalidParameterException"},
338 {"shape":"ServerInternalException"},
339 {"shape":"ServiceUnavailableException"}
340 ]
341 },
342 "ListPendingInvitationResources":{
343 "name":"ListPendingInvitationResources",
344 "http":{
345 "method":"POST",
346 "requestUri":"/listpendinginvitationresources"
347 },
348 "input":{"shape":"ListPendingInvitationResourcesRequest"},
349 "output":{"shape":"ListPendingInvitationResourcesResponse"},
350 "errors":[
351 {"shape":"MalformedArnException"},
352 {"shape":"InvalidNextTokenException"},
353 {"shape":"InvalidParameterException"},
354 {"shape":"ServerInternalException"},
355 {"shape":"ServiceUnavailableException"},
356 {"shape":"ResourceShareInvitationArnNotFoundException"},
357 {"shape":"MissingRequiredParameterException"},
358 {"shape":"ResourceShareInvitationAlreadyRejectedException"},
359 {"shape":"ResourceShareInvitationExpiredException"}
360 ]
361 },
362 "ListPermissionAssociations":{
363 "name":"ListPermissionAssociations",
364 "http":{
365 "method":"POST",
366 "requestUri":"/listpermissionassociations"
367 },
368 "input":{"shape":"ListPermissionAssociationsRequest"},
369 "output":{"shape":"ListPermissionAssociationsResponse"},
370 "errors":[
371 {"shape":"InvalidParameterException"},
372 {"shape":"MalformedArnException"},
373 {"shape":"InvalidNextTokenException"},
374 {"shape":"ServerInternalException"},
375 {"shape":"ServiceUnavailableException"}
376 ]
377 },
378 "ListPermissionVersions":{
379 "name":"ListPermissionVersions",
380 "http":{
381 "method":"POST",
382 "requestUri":"/listpermissionversions"
383 },
384 "input":{"shape":"ListPermissionVersionsRequest"},
385 "output":{"shape":"ListPermissionVersionsResponse"},
386 "errors":[
387 {"shape":"MalformedArnException"},
388 {"shape":"UnknownResourceException"},
389 {"shape":"InvalidNextTokenException"},
390 {"shape":"ServerInternalException"},
391 {"shape":"ServiceUnavailableException"},
392 {"shape":"OperationNotPermittedException"},
393 {"shape":"InvalidParameterException"}
394 ]
395 },
396 "ListPermissions":{
397 "name":"ListPermissions",
398 "http":{
399 "method":"POST",
400 "requestUri":"/listpermissions"
401 },
402 "input":{"shape":"ListPermissionsRequest"},
403 "output":{"shape":"ListPermissionsResponse"},
404 "errors":[
405 {"shape":"InvalidParameterException"},
406 {"shape":"InvalidNextTokenException"},
407 {"shape":"ServerInternalException"},
408 {"shape":"ServiceUnavailableException"},
409 {"shape":"OperationNotPermittedException"}
410 ]
411 },
412 "ListPrincipals":{
413 "name":"ListPrincipals",
414 "http":{
415 "method":"POST",
416 "requestUri":"/listprincipals"
417 },
418 "input":{"shape":"ListPrincipalsRequest"},
419 "output":{"shape":"ListPrincipalsResponse"},
420 "errors":[
421 {"shape":"MalformedArnException"},
422 {"shape":"UnknownResourceException"},
423 {"shape":"InvalidNextTokenException"},
424 {"shape":"InvalidParameterException"},
425 {"shape":"ServerInternalException"},
426 {"shape":"ServiceUnavailableException"}
427 ]
428 },
429 "ListReplacePermissionAssociationsWork":{
430 "name":"ListReplacePermissionAssociationsWork",
431 "http":{
432 "method":"POST",
433 "requestUri":"/listreplacepermissionassociationswork"
434 },
435 "input":{"shape":"ListReplacePermissionAssociationsWorkRequest"},
436 "output":{"shape":"ListReplacePermissionAssociationsWorkResponse"},
437 "errors":[
438 {"shape":"ServerInternalException"},
439 {"shape":"ServiceUnavailableException"},
440 {"shape":"InvalidNextTokenException"},
441 {"shape":"InvalidParameterException"}
442 ]
443 },
444 "ListResourceSharePermissions":{
445 "name":"ListResourceSharePermissions",
446 "http":{
447 "method":"POST",
448 "requestUri":"/listresourcesharepermissions"
449 },
450 "input":{"shape":"ListResourceSharePermissionsRequest"},
451 "output":{"shape":"ListResourceSharePermissionsResponse"},
452 "errors":[
453 {"shape":"InvalidParameterException"},
454 {"shape":"MalformedArnException"},
455 {"shape":"UnknownResourceException"},
456 {"shape":"InvalidNextTokenException"},
457 {"shape":"ServerInternalException"},
458 {"shape":"ServiceUnavailableException"},
459 {"shape":"OperationNotPermittedException"}
460 ]
461 },
462 "ListResourceTypes":{
463 "name":"ListResourceTypes",
464 "http":{
465 "method":"POST",
466 "requestUri":"/listresourcetypes"
467 },
468 "input":{"shape":"ListResourceTypesRequest"},
469 "output":{"shape":"ListResourceTypesResponse"},
470 "errors":[
471 {"shape":"InvalidNextTokenException"},
472 {"shape":"InvalidParameterException"},
473 {"shape":"ServerInternalException"},
474 {"shape":"ServiceUnavailableException"}
475 ]
476 },
477 "ListResources":{
478 "name":"ListResources",
479 "http":{
480 "method":"POST",
481 "requestUri":"/listresources"
482 },
483 "input":{"shape":"ListResourcesRequest"},
484 "output":{"shape":"ListResourcesResponse"},
485 "errors":[
486 {"shape":"InvalidResourceTypeException"},
487 {"shape":"UnknownResourceException"},
488 {"shape":"MalformedArnException"},
489 {"shape":"InvalidNextTokenException"},
490 {"shape":"InvalidParameterException"},
491 {"shape":"ServerInternalException"},
492 {"shape":"ServiceUnavailableException"}
493 ]
494 },
495 "PromotePermissionCreatedFromPolicy":{
496 "name":"PromotePermissionCreatedFromPolicy",
497 "http":{
498 "method":"POST",
499 "requestUri":"/promotepermissioncreatedfrompolicy"
500 },
501 "input":{"shape":"PromotePermissionCreatedFromPolicyRequest"},
502 "output":{"shape":"PromotePermissionCreatedFromPolicyResponse"},
503 "errors":[
504 {"shape":"MalformedArnException"},
505 {"shape":"OperationNotPermittedException"},
506 {"shape":"InvalidParameterException"},
507 {"shape":"MissingRequiredParameterException"},
508 {"shape":"ServerInternalException"},
509 {"shape":"ServiceUnavailableException"},
510 {"shape":"UnknownResourceException"}
511 ]
512 },
513 "PromoteResourceShareCreatedFromPolicy":{
514 "name":"PromoteResourceShareCreatedFromPolicy",
515 "http":{
516 "method":"POST",
517 "requestUri":"/promoteresourcesharecreatedfrompolicy"
518 },
519 "input":{"shape":"PromoteResourceShareCreatedFromPolicyRequest"},
520 "output":{"shape":"PromoteResourceShareCreatedFromPolicyResponse"},
521 "errors":[
522 {"shape":"MalformedArnException"},
523 {"shape":"ResourceShareLimitExceededException"},
524 {"shape":"OperationNotPermittedException"},
525 {"shape":"InvalidParameterException"},
526 {"shape":"MissingRequiredParameterException"},
527 {"shape":"ServerInternalException"},
528 {"shape":"ServiceUnavailableException"},
529 {"shape":"UnknownResourceException"},
530 {"shape":"InvalidStateTransitionException"},
531 {"shape":"UnmatchedPolicyPermissionException"}
532 ]
533 },
534 "RejectResourceShareInvitation":{
535 "name":"RejectResourceShareInvitation",
536 "http":{
537 "method":"POST",
538 "requestUri":"/rejectresourceshareinvitation"
539 },
540 "input":{"shape":"RejectResourceShareInvitationRequest"},
541 "output":{"shape":"RejectResourceShareInvitationResponse"},
542 "errors":[
543 {"shape":"MalformedArnException"},
544 {"shape":"OperationNotPermittedException"},
545 {"shape":"ResourceShareInvitationArnNotFoundException"},
546 {"shape":"ResourceShareInvitationAlreadyAcceptedException"},
547 {"shape":"ResourceShareInvitationAlreadyRejectedException"},
548 {"shape":"ResourceShareInvitationExpiredException"},
549 {"shape":"ServerInternalException"},
550 {"shape":"ServiceUnavailableException"},
551 {"shape":"InvalidClientTokenException"},
552 {"shape":"IdempotentParameterMismatchException"}
553 ]
554 },
555 "ReplacePermissionAssociations":{
556 "name":"ReplacePermissionAssociations",
557 "http":{
558 "method":"POST",
559 "requestUri":"/replacepermissionassociations"
560 },
561 "input":{"shape":"ReplacePermissionAssociationsRequest"},
562 "output":{"shape":"ReplacePermissionAssociationsResponse"},
563 "errors":[
564 {"shape":"MalformedArnException"},
565 {"shape":"InvalidParameterException"},
566 {"shape":"ServerInternalException"},
567 {"shape":"ServiceUnavailableException"},
568 {"shape":"OperationNotPermittedException"},
569 {"shape":"UnknownResourceException"},
570 {"shape":"InvalidClientTokenException"},
571 {"shape":"IdempotentParameterMismatchException"}
572 ]
573 },
574 "SetDefaultPermissionVersion":{
575 "name":"SetDefaultPermissionVersion",
576 "http":{
577 "method":"POST",
578 "requestUri":"/setdefaultpermissionversion"
579 },
580 "input":{"shape":"SetDefaultPermissionVersionRequest"},
581 "output":{"shape":"SetDefaultPermissionVersionResponse"},
582 "errors":[
583 {"shape":"InvalidParameterException"},
584 {"shape":"MalformedArnException"},
585 {"shape":"ServerInternalException"},
586 {"shape":"ServiceUnavailableException"},
587 {"shape":"UnknownResourceException"},
588 {"shape":"InvalidClientTokenException"},
589 {"shape":"IdempotentParameterMismatchException"}
590 ]
591 },
592 "TagResource":{
593 "name":"TagResource",
594 "http":{
595 "method":"POST",
596 "requestUri":"/tagresource"
597 },
598 "input":{"shape":"TagResourceRequest"},
599 "output":{"shape":"TagResourceResponse"},
600 "errors":[
601 {"shape":"InvalidParameterException"},
602 {"shape":"MalformedArnException"},
603 {"shape":"UnknownResourceException"},
604 {"shape":"TagLimitExceededException"},
605 {"shape":"ResourceArnNotFoundException"},
606 {"shape":"TagPolicyViolationException"},
607 {"shape":"ServerInternalException"},
608 {"shape":"ServiceUnavailableException"}
609 ]
610 },
611 "UntagResource":{
612 "name":"UntagResource",
613 "http":{
614 "method":"POST",
615 "requestUri":"/untagresource"
616 },
617 "input":{"shape":"UntagResourceRequest"},
618 "output":{"shape":"UntagResourceResponse"},
619 "errors":[
620 {"shape":"UnknownResourceException"},
621 {"shape":"InvalidParameterException"},
622 {"shape":"MalformedArnException"},
623 {"shape":"ServerInternalException"},
624 {"shape":"ServiceUnavailableException"}
625 ]
626 },
627 "UpdateResourceShare":{
628 "name":"UpdateResourceShare",
629 "http":{
630 "method":"POST",
631 "requestUri":"/updateresourceshare"
632 },
633 "input":{"shape":"UpdateResourceShareRequest"},
634 "output":{"shape":"UpdateResourceShareResponse"},
635 "errors":[
636 {"shape":"IdempotentParameterMismatchException"},
637 {"shape":"MissingRequiredParameterException"},
638 {"shape":"UnknownResourceException"},
639 {"shape":"MalformedArnException"},
640 {"shape":"InvalidClientTokenException"},
641 {"shape":"InvalidParameterException"},
642 {"shape":"OperationNotPermittedException"},
643 {"shape":"ServerInternalException"},
644 {"shape":"ServiceUnavailableException"}
645 ]
646 }
647 },
648 "shapes":{
649 "AcceptResourceShareInvitationRequest":{
650 "type":"structure",
651 "required":["resourceShareInvitationArn"],
652 "members":{
653 "resourceShareInvitationArn":{"shape":"String"},
654 "clientToken":{"shape":"String"}
655 }
656 },
657 "AcceptResourceShareInvitationResponse":{
658 "type":"structure",
659 "members":{
660 "resourceShareInvitation":{"shape":"ResourceShareInvitation"},
661 "clientToken":{"shape":"String"}
662 }
663 },
664 "AssociateResourceSharePermissionRequest":{
665 "type":"structure",
666 "required":[
667 "resourceShareArn",
668 "permissionArn"
669 ],
670 "members":{
671 "resourceShareArn":{"shape":"String"},
672 "permissionArn":{"shape":"String"},
673 "replace":{"shape":"Boolean"},
674 "clientToken":{"shape":"String"},
675 "permissionVersion":{"shape":"Integer"}
676 }
677 },
678 "AssociateResourceSharePermissionResponse":{
679 "type":"structure",
680 "members":{
681 "returnValue":{"shape":"Boolean"},
682 "clientToken":{"shape":"String"}
683 }
684 },
685 "AssociateResourceShareRequest":{
686 "type":"structure",
687 "required":["resourceShareArn"],
688 "members":{
689 "resourceShareArn":{"shape":"String"},
690 "resourceArns":{"shape":"ResourceArnList"},
691 "principals":{"shape":"PrincipalArnOrIdList"},
692 "clientToken":{"shape":"String"},
693 "sources":{"shape":"SourceArnOrAccountList"}
694 }
695 },
696 "AssociateResourceShareResponse":{
697 "type":"structure",
698 "members":{
699 "resourceShareAssociations":{"shape":"ResourceShareAssociationList"},
700 "clientToken":{"shape":"String"}
701 }
702 },
703 "AssociatedPermission":{
704 "type":"structure",
705 "members":{
706 "arn":{"shape":"String"},
707 "permissionVersion":{"shape":"String"},
708 "defaultVersion":{"shape":"Boolean"},
709 "resourceType":{"shape":"String"},
710 "status":{"shape":"String"},
711 "featureSet":{"shape":"PermissionFeatureSet"},
712 "lastUpdatedTime":{"shape":"DateTime"},
713 "resourceShareArn":{"shape":"String"}
714 }
715 },
716 "AssociatedPermissionList":{
717 "type":"list",
718 "member":{"shape":"AssociatedPermission"}
719 },
720 "Boolean":{"type":"boolean"},
721 "CreatePermissionRequest":{
722 "type":"structure",
723 "required":[
724 "name",
725 "resourceType",
726 "policyTemplate"
727 ],
728 "members":{
729 "name":{"shape":"PermissionName"},
730 "resourceType":{"shape":"String"},
731 "policyTemplate":{"shape":"Policy"},
732 "clientToken":{"shape":"String"},
733 "tags":{"shape":"TagList"}
734 }
735 },
736 "CreatePermissionResponse":{
737 "type":"structure",
738 "members":{
739 "permission":{"shape":"ResourceSharePermissionSummary"},
740 "clientToken":{"shape":"String"}
741 }
742 },
743 "CreatePermissionVersionRequest":{
744 "type":"structure",
745 "required":[
746 "permissionArn",
747 "policyTemplate"
748 ],
749 "members":{
750 "permissionArn":{"shape":"String"},
751 "policyTemplate":{"shape":"Policy"},
752 "clientToken":{"shape":"String"}
753 }
754 },
755 "CreatePermissionVersionResponse":{
756 "type":"structure",
757 "members":{
758 "permission":{"shape":"ResourceSharePermissionDetail"},
759 "clientToken":{"shape":"String"}
760 }
761 },
762 "CreateResourceShareRequest":{
763 "type":"structure",
764 "required":["name"],
765 "members":{
766 "name":{"shape":"String"},
767 "resourceArns":{"shape":"ResourceArnList"},
768 "principals":{"shape":"PrincipalArnOrIdList"},
769 "tags":{"shape":"TagList"},
770 "allowExternalPrincipals":{"shape":"Boolean"},
771 "clientToken":{"shape":"String"},
772 "permissionArns":{"shape":"PermissionArnList"},
773 "sources":{"shape":"SourceArnOrAccountList"}
774 }
775 },
776 "CreateResourceShareResponse":{
777 "type":"structure",
778 "members":{
779 "resourceShare":{"shape":"ResourceShare"},
780 "clientToken":{"shape":"String"}
781 }
782 },
783 "DateTime":{"type":"timestamp"},
784 "DeletePermissionRequest":{
785 "type":"structure",
786 "required":["permissionArn"],
787 "members":{
788 "permissionArn":{
789 "shape":"String",
790 "location":"querystring",
791 "locationName":"permissionArn"
792 },
793 "clientToken":{
794 "shape":"String",
795 "location":"querystring",
796 "locationName":"clientToken"
797 }
798 }
799 },
800 "DeletePermissionResponse":{
801 "type":"structure",
802 "members":{
803 "returnValue":{"shape":"Boolean"},
804 "clientToken":{"shape":"String"},
805 "permissionStatus":{"shape":"PermissionStatus"}
806 }
807 },
808 "DeletePermissionVersionRequest":{
809 "type":"structure",
810 "required":[
811 "permissionArn",
812 "permissionVersion"
813 ],
814 "members":{
815 "permissionArn":{
816 "shape":"String",
817 "location":"querystring",
818 "locationName":"permissionArn"
819 },
820 "permissionVersion":{
821 "shape":"Integer",
822 "location":"querystring",
823 "locationName":"permissionVersion"
824 },
825 "clientToken":{
826 "shape":"String",
827 "location":"querystring",
828 "locationName":"clientToken"
829 }
830 }
831 },
832 "DeletePermissionVersionResponse":{
833 "type":"structure",
834 "members":{
835 "returnValue":{"shape":"Boolean"},
836 "clientToken":{"shape":"String"},
837 "permissionStatus":{"shape":"PermissionStatus"}
838 }
839 },
840 "DeleteResourceShareRequest":{
841 "type":"structure",
842 "required":["resourceShareArn"],
843 "members":{
844 "resourceShareArn":{
845 "shape":"String",
846 "location":"querystring",
847 "locationName":"resourceShareArn"
848 },
849 "clientToken":{
850 "shape":"String",
851 "location":"querystring",
852 "locationName":"clientToken"
853 }
854 }
855 },
856 "DeleteResourceShareResponse":{
857 "type":"structure",
858 "members":{
859 "returnValue":{"shape":"Boolean"},
860 "clientToken":{"shape":"String"}
861 }
862 },
863 "DisassociateResourceSharePermissionRequest":{
864 "type":"structure",
865 "required":[
866 "resourceShareArn",
867 "permissionArn"
868 ],
869 "members":{
870 "resourceShareArn":{"shape":"String"},
871 "permissionArn":{"shape":"String"},
872 "clientToken":{"shape":"String"}
873 }
874 },
875 "DisassociateResourceSharePermissionResponse":{
876 "type":"structure",
877 "members":{
878 "returnValue":{"shape":"Boolean"},
879 "clientToken":{"shape":"String"}
880 }
881 },
882 "DisassociateResourceShareRequest":{
883 "type":"structure",
884 "required":["resourceShareArn"],
885 "members":{
886 "resourceShareArn":{"shape":"String"},
887 "resourceArns":{"shape":"ResourceArnList"},
888 "principals":{"shape":"PrincipalArnOrIdList"},
889 "clientToken":{"shape":"String"},
890 "sources":{"shape":"SourceArnOrAccountList"}
891 }
892 },
893 "DisassociateResourceShareResponse":{
894 "type":"structure",
895 "members":{
896 "resourceShareAssociations":{"shape":"ResourceShareAssociationList"},
897 "clientToken":{"shape":"String"}
898 }
899 },
900 "EnableSharingWithAwsOrganizationRequest":{
901 "type":"structure",
902 "members":{
903 }
904 },
905 "EnableSharingWithAwsOrganizationResponse":{
906 "type":"structure",
907 "members":{
908 "returnValue":{"shape":"Boolean"}
909 }
910 },
911 "GetPermissionRequest":{
912 "type":"structure",
913 "required":["permissionArn"],
914 "members":{
915 "permissionArn":{"shape":"String"},
916 "permissionVersion":{"shape":"Integer"}
917 }
918 },
919 "GetPermissionResponse":{
920 "type":"structure",
921 "members":{
922 "permission":{"shape":"ResourceSharePermissionDetail"}
923 }
924 },
925 "GetResourcePoliciesRequest":{
926 "type":"structure",
927 "required":["resourceArns"],
928 "members":{
929 "resourceArns":{"shape":"ResourceArnList"},
930 "principal":{"shape":"String"},
931 "nextToken":{"shape":"String"},
932 "maxResults":{"shape":"MaxResults"}
933 }
934 },
935 "GetResourcePoliciesResponse":{
936 "type":"structure",
937 "members":{
938 "policies":{"shape":"PolicyList"},
939 "nextToken":{"shape":"String"}
940 }
941 },
942 "GetResourceShareAssociationsRequest":{
943 "type":"structure",
944 "required":["associationType"],
945 "members":{
946 "associationType":{"shape":"ResourceShareAssociationType"},
947 "resourceShareArns":{"shape":"ResourceShareArnList"},
948 "resourceArn":{"shape":"String"},
949 "principal":{"shape":"String"},
950 "associationStatus":{"shape":"ResourceShareAssociationStatus"},
951 "nextToken":{"shape":"String"},
952 "maxResults":{"shape":"MaxResults"}
953 }
954 },
955 "GetResourceShareAssociationsResponse":{
956 "type":"structure",
957 "members":{
958 "resourceShareAssociations":{"shape":"ResourceShareAssociationList"},
959 "nextToken":{"shape":"String"}
960 }
961 },
962 "GetResourceShareInvitationsRequest":{
963 "type":"structure",
964 "members":{
965 "resourceShareInvitationArns":{"shape":"ResourceShareInvitationArnList"},
966 "resourceShareArns":{"shape":"ResourceShareArnList"},
967 "nextToken":{"shape":"String"},
968 "maxResults":{"shape":"MaxResults"}
969 }
970 },
971 "GetResourceShareInvitationsResponse":{
972 "type":"structure",
973 "members":{
974 "resourceShareInvitations":{"shape":"ResourceShareInvitationList"},
975 "nextToken":{"shape":"String"}
976 }
977 },
978 "GetResourceSharesRequest":{
979 "type":"structure",
980 "required":["resourceOwner"],
981 "members":{
982 "resourceShareArns":{"shape":"ResourceShareArnList"},
983 "resourceShareStatus":{"shape":"ResourceShareStatus"},
984 "resourceOwner":{"shape":"ResourceOwner"},
985 "name":{"shape":"String"},
986 "tagFilters":{"shape":"TagFilters"},
987 "nextToken":{"shape":"String"},
988 "maxResults":{"shape":"MaxResults"},
989 "permissionArn":{"shape":"String"},
990 "permissionVersion":{"shape":"Integer"}
991 }
992 },
993 "GetResourceSharesResponse":{
994 "type":"structure",
995 "members":{
996 "resourceShares":{"shape":"ResourceShareList"},
997 "nextToken":{"shape":"String"}
998 }
999 },
1000 "IdempotentParameterMismatchException":{
1001 "type":"structure",
1002 "required":["message"],
1003 "members":{
1004 "message":{"shape":"String"}
1005 },
1006 "error":{"httpStatusCode":400},
1007 "exception":true
1008 },
1009 "Integer":{"type":"integer"},
1010 "InvalidClientTokenException":{
1011 "type":"structure",
1012 "required":["message"],
1013 "members":{
1014 "message":{"shape":"String"}
1015 },
1016 "error":{"httpStatusCode":400},
1017 "exception":true
1018 },
1019 "InvalidMaxResultsException":{
1020 "type":"structure",
1021 "required":["message"],
1022 "members":{
1023 "message":{"shape":"String"}
1024 },
1025 "error":{"httpStatusCode":400},
1026 "exception":true
1027 },
1028 "InvalidNextTokenException":{
1029 "type":"structure",
1030 "required":["message"],
1031 "members":{
1032 "message":{"shape":"String"}
1033 },
1034 "error":{"httpStatusCode":400},
1035 "exception":true
1036 },
1037 "InvalidParameterException":{
1038 "type":"structure",
1039 "required":["message"],
1040 "members":{
1041 "message":{"shape":"String"}
1042 },
1043 "error":{"httpStatusCode":400},
1044 "exception":true
1045 },
1046 "InvalidPolicyException":{
1047 "type":"structure",
1048 "required":["message"],
1049 "members":{
1050 "message":{"shape":"String"}
1051 },
1052 "error":{"httpStatusCode":400},
1053 "exception":true
1054 },
1055 "InvalidResourceTypeException":{
1056 "type":"structure",
1057 "required":["message"],
1058 "members":{
1059 "message":{"shape":"String"}
1060 },
1061 "error":{"httpStatusCode":400},
1062 "exception":true
1063 },
1064 "InvalidStateTransitionException":{
1065 "type":"structure",
1066 "required":["message"],
1067 "members":{
1068 "message":{"shape":"String"}
1069 },
1070 "error":{"httpStatusCode":400},
1071 "exception":true
1072 },
1073 "ListPendingInvitationResourcesRequest":{
1074 "type":"structure",
1075 "required":["resourceShareInvitationArn"],
1076 "members":{
1077 "resourceShareInvitationArn":{"shape":"String"},
1078 "nextToken":{"shape":"String"},
1079 "maxResults":{"shape":"MaxResults"},
1080 "resourceRegionScope":{"shape":"ResourceRegionScopeFilter"}
1081 }
1082 },
1083 "ListPendingInvitationResourcesResponse":{
1084 "type":"structure",
1085 "members":{
1086 "resources":{"shape":"ResourceList"},
1087 "nextToken":{"shape":"String"}
1088 }
1089 },
1090 "ListPermissionAssociationsRequest":{
1091 "type":"structure",
1092 "members":{
1093 "permissionArn":{"shape":"String"},
1094 "permissionVersion":{"shape":"Integer"},
1095 "associationStatus":{"shape":"ResourceShareAssociationStatus"},
1096 "resourceType":{"shape":"String"},
1097 "featureSet":{"shape":"PermissionFeatureSet"},
1098 "defaultVersion":{"shape":"Boolean"},
1099 "nextToken":{"shape":"String"},
1100 "maxResults":{"shape":"MaxResults"}
1101 }
1102 },
1103 "ListPermissionAssociationsResponse":{
1104 "type":"structure",
1105 "members":{
1106 "permissions":{"shape":"AssociatedPermissionList"},
1107 "nextToken":{"shape":"String"}
1108 }
1109 },
1110 "ListPermissionVersionsRequest":{
1111 "type":"structure",
1112 "required":["permissionArn"],
1113 "members":{
1114 "permissionArn":{"shape":"String"},
1115 "nextToken":{"shape":"String"},
1116 "maxResults":{"shape":"MaxResults"}
1117 }
1118 },
1119 "ListPermissionVersionsResponse":{
1120 "type":"structure",
1121 "members":{
1122 "permissions":{"shape":"ResourceSharePermissionList"},
1123 "nextToken":{"shape":"String"}
1124 }
1125 },
1126 "ListPermissionsRequest":{
1127 "type":"structure",
1128 "members":{
1129 "resourceType":{"shape":"String"},
1130 "nextToken":{"shape":"String"},
1131 "maxResults":{"shape":"MaxResults"},
1132 "permissionType":{"shape":"PermissionTypeFilter"}
1133 }
1134 },
1135 "ListPermissionsResponse":{
1136 "type":"structure",
1137 "members":{
1138 "permissions":{"shape":"ResourceSharePermissionList"},
1139 "nextToken":{"shape":"String"}
1140 }
1141 },
1142 "ListPrincipalsRequest":{
1143 "type":"structure",
1144 "required":["resourceOwner"],
1145 "members":{
1146 "resourceOwner":{"shape":"ResourceOwner"},
1147 "resourceArn":{"shape":"String"},
1148 "principals":{"shape":"PrincipalArnOrIdList"},
1149 "resourceType":{"shape":"String"},
1150 "resourceShareArns":{"shape":"ResourceShareArnList"},
1151 "nextToken":{"shape":"String"},
1152 "maxResults":{"shape":"MaxResults"}
1153 }
1154 },
1155 "ListPrincipalsResponse":{
1156 "type":"structure",
1157 "members":{
1158 "principals":{"shape":"PrincipalList"},
1159 "nextToken":{"shape":"String"}
1160 }
1161 },
1162 "ListReplacePermissionAssociationsWorkRequest":{
1163 "type":"structure",
1164 "members":{
1165 "workIds":{"shape":"ReplacePermissionAssociationsWorkIdList"},
1166 "status":{"shape":"ReplacePermissionAssociationsWorkStatus"},
1167 "nextToken":{"shape":"String"},
1168 "maxResults":{"shape":"MaxResults"}
1169 }
1170 },
1171 "ListReplacePermissionAssociationsWorkResponse":{
1172 "type":"structure",
1173 "members":{
1174 "replacePermissionAssociationsWorks":{"shape":"ReplacePermissionAssociationsWorkList"},
1175 "nextToken":{"shape":"String"}
1176 }
1177 },
1178 "ListResourceSharePermissionsRequest":{
1179 "type":"structure",
1180 "required":["resourceShareArn"],
1181 "members":{
1182 "resourceShareArn":{"shape":"String"},
1183 "nextToken":{"shape":"String"},
1184 "maxResults":{"shape":"MaxResults"}
1185 }
1186 },
1187 "ListResourceSharePermissionsResponse":{
1188 "type":"structure",
1189 "members":{
1190 "permissions":{"shape":"ResourceSharePermissionList"},
1191 "nextToken":{"shape":"String"}
1192 }
1193 },
1194 "ListResourceTypesRequest":{
1195 "type":"structure",
1196 "members":{
1197 "nextToken":{"shape":"String"},
1198 "maxResults":{"shape":"MaxResults"},
1199 "resourceRegionScope":{"shape":"ResourceRegionScopeFilter"}
1200 }
1201 },
1202 "ListResourceTypesResponse":{
1203 "type":"structure",
1204 "members":{
1205 "resourceTypes":{"shape":"ServiceNameAndResourceTypeList"},
1206 "nextToken":{"shape":"String"}
1207 }
1208 },
1209 "ListResourcesRequest":{
1210 "type":"structure",
1211 "required":["resourceOwner"],
1212 "members":{
1213 "resourceOwner":{"shape":"ResourceOwner"},
1214 "principal":{"shape":"String"},
1215 "resourceType":{"shape":"String"},
1216 "resourceArns":{"shape":"ResourceArnList"},
1217 "resourceShareArns":{"shape":"ResourceShareArnList"},
1218 "nextToken":{"shape":"String"},
1219 "maxResults":{"shape":"MaxResults"},
1220 "resourceRegionScope":{"shape":"ResourceRegionScopeFilter"}
1221 }
1222 },
1223 "ListResourcesResponse":{
1224 "type":"structure",
1225 "members":{
1226 "resources":{"shape":"ResourceList"},
1227 "nextToken":{"shape":"String"}
1228 }
1229 },
1230 "MalformedArnException":{
1231 "type":"structure",
1232 "required":["message"],
1233 "members":{
1234 "message":{"shape":"String"}
1235 },
1236 "error":{"httpStatusCode":400},
1237 "exception":true
1238 },
1239 "MalformedPolicyTemplateException":{
1240 "type":"structure",
1241 "required":["message"],
1242 "members":{
1243 "message":{"shape":"String"}
1244 },
1245 "error":{"httpStatusCode":400},
1246 "exception":true
1247 },
1248 "MaxResults":{
1249 "type":"integer",
1250 "max":500,
1251 "min":1
1252 },
1253 "MissingRequiredParameterException":{
1254 "type":"structure",
1255 "required":["message"],
1256 "members":{
1257 "message":{"shape":"String"}
1258 },
1259 "error":{"httpStatusCode":400},
1260 "exception":true
1261 },
1262 "OperationNotPermittedException":{
1263 "type":"structure",
1264 "required":["message"],
1265 "members":{
1266 "message":{"shape":"String"}
1267 },
1268 "error":{"httpStatusCode":400},
1269 "exception":true
1270 },
1271 "PermissionAlreadyExistsException":{
1272 "type":"structure",
1273 "required":["message"],
1274 "members":{
1275 "message":{"shape":"String"}
1276 },
1277 "error":{"httpStatusCode":409},
1278 "exception":true
1279 },
1280 "PermissionArnList":{
1281 "type":"list",
1282 "member":{"shape":"String"}
1283 },
1284 "PermissionFeatureSet":{
1285 "type":"string",
1286 "enum":[
1287 "CREATED_FROM_POLICY",
1288 "PROMOTING_TO_STANDARD",
1289 "STANDARD"
1290 ]
1291 },
1292 "PermissionLimitExceededException":{
1293 "type":"structure",
1294 "required":["message"],
1295 "members":{
1296 "message":{"shape":"String"}
1297 },
1298 "error":{"httpStatusCode":400},
1299 "exception":true
1300 },
1301 "PermissionName":{
1302 "type":"string",
1303 "max":36,
1304 "min":1,
1305 "pattern":"[\\w.-]*"
1306 },
1307 "PermissionStatus":{
1308 "type":"string",
1309 "enum":[
1310 "ATTACHABLE",
1311 "UNATTACHABLE",
1312 "DELETING",
1313 "DELETED"
1314 ]
1315 },
1316 "PermissionType":{
1317 "type":"string",
1318 "enum":[
1319 "CUSTOMER_MANAGED",
1320 "AWS_MANAGED"
1321 ]
1322 },
1323 "PermissionTypeFilter":{
1324 "type":"string",
1325 "enum":[
1326 "ALL",
1327 "AWS_MANAGED",
1328 "CUSTOMER_MANAGED"
1329 ]
1330 },
1331 "PermissionVersionsLimitExceededException":{
1332 "type":"structure",
1333 "required":["message"],
1334 "members":{
1335 "message":{"shape":"String"}
1336 },
1337 "error":{"httpStatusCode":400},
1338 "exception":true
1339 },
1340 "Policy":{"type":"string"},
1341 "PolicyList":{
1342 "type":"list",
1343 "member":{"shape":"Policy"}
1344 },
1345 "Principal":{
1346 "type":"structure",
1347 "members":{
1348 "id":{"shape":"String"},
1349 "resourceShareArn":{"shape":"String"},
1350 "creationTime":{"shape":"DateTime"},
1351 "lastUpdatedTime":{"shape":"DateTime"},
1352 "external":{"shape":"Boolean"}
1353 }
1354 },
1355 "PrincipalArnOrIdList":{
1356 "type":"list",
1357 "member":{"shape":"String"}
1358 },
1359 "PrincipalList":{
1360 "type":"list",
1361 "member":{"shape":"Principal"}
1362 },
1363 "PromotePermissionCreatedFromPolicyRequest":{
1364 "type":"structure",
1365 "required":[
1366 "permissionArn",
1367 "name"
1368 ],
1369 "members":{
1370 "permissionArn":{"shape":"String"},
1371 "name":{"shape":"String"},
1372 "clientToken":{"shape":"String"}
1373 }
1374 },
1375 "PromotePermissionCreatedFromPolicyResponse":{
1376 "type":"structure",
1377 "members":{
1378 "permission":{"shape":"ResourceSharePermissionSummary"},
1379 "clientToken":{"shape":"String"}
1380 }
1381 },
1382 "PromoteResourceShareCreatedFromPolicyRequest":{
1383 "type":"structure",
1384 "required":["resourceShareArn"],
1385 "members":{
1386 "resourceShareArn":{
1387 "shape":"String",
1388 "location":"querystring",
1389 "locationName":"resourceShareArn"
1390 }
1391 }
1392 },
1393 "PromoteResourceShareCreatedFromPolicyResponse":{
1394 "type":"structure",
1395 "members":{
1396 "returnValue":{"shape":"Boolean"}
1397 }
1398 },
1399 "RejectResourceShareInvitationRequest":{
1400 "type":"structure",
1401 "required":["resourceShareInvitationArn"],
1402 "members":{
1403 "resourceShareInvitationArn":{"shape":"String"},
1404 "clientToken":{"shape":"String"}
1405 }
1406 },
1407 "RejectResourceShareInvitationResponse":{
1408 "type":"structure",
1409 "members":{
1410 "resourceShareInvitation":{"shape":"ResourceShareInvitation"},
1411 "clientToken":{"shape":"String"}
1412 }
1413 },
1414 "ReplacePermissionAssociationsRequest":{
1415 "type":"structure",
1416 "required":[
1417 "fromPermissionArn",
1418 "toPermissionArn"
1419 ],
1420 "members":{
1421 "fromPermissionArn":{"shape":"String"},
1422 "fromPermissionVersion":{"shape":"Integer"},
1423 "toPermissionArn":{"shape":"String"},
1424 "clientToken":{"shape":"String"}
1425 }
1426 },
1427 "ReplacePermissionAssociationsResponse":{
1428 "type":"structure",
1429 "members":{
1430 "replacePermissionAssociationsWork":{"shape":"ReplacePermissionAssociationsWork"},
1431 "clientToken":{"shape":"String"}
1432 }
1433 },
1434 "ReplacePermissionAssociationsWork":{
1435 "type":"structure",
1436 "members":{
1437 "id":{"shape":"String"},
1438 "fromPermissionArn":{"shape":"String"},
1439 "fromPermissionVersion":{"shape":"String"},
1440 "toPermissionArn":{"shape":"String"},
1441 "toPermissionVersion":{"shape":"String"},
1442 "status":{"shape":"ReplacePermissionAssociationsWorkStatus"},
1443 "statusMessage":{"shape":"String"},
1444 "creationTime":{"shape":"DateTime"},
1445 "lastUpdatedTime":{"shape":"DateTime"}
1446 }
1447 },
1448 "ReplacePermissionAssociationsWorkIdList":{
1449 "type":"list",
1450 "member":{"shape":"String"}
1451 },
1452 "ReplacePermissionAssociationsWorkList":{
1453 "type":"list",
1454 "member":{"shape":"ReplacePermissionAssociationsWork"}
1455 },
1456 "ReplacePermissionAssociationsWorkStatus":{
1457 "type":"string",
1458 "enum":[
1459 "IN_PROGRESS",
1460 "COMPLETED",
1461 "FAILED"
1462 ]
1463 },
1464 "Resource":{
1465 "type":"structure",
1466 "members":{
1467 "arn":{"shape":"String"},
1468 "type":{"shape":"String"},
1469 "resourceShareArn":{"shape":"String"},
1470 "resourceGroupArn":{"shape":"String"},
1471 "status":{"shape":"ResourceStatus"},
1472 "statusMessage":{"shape":"String"},
1473 "creationTime":{"shape":"DateTime"},
1474 "lastUpdatedTime":{"shape":"DateTime"},
1475 "resourceRegionScope":{"shape":"ResourceRegionScope"}
1476 }
1477 },
1478 "ResourceArnList":{
1479 "type":"list",
1480 "member":{"shape":"String"}
1481 },
1482 "ResourceArnNotFoundException":{
1483 "type":"structure",
1484 "required":["message"],
1485 "members":{
1486 "message":{"shape":"String"}
1487 },
1488 "error":{"httpStatusCode":400},
1489 "exception":true
1490 },
1491 "ResourceList":{
1492 "type":"list",
1493 "member":{"shape":"Resource"}
1494 },
1495 "ResourceOwner":{
1496 "type":"string",
1497 "enum":[
1498 "SELF",
1499 "OTHER-ACCOUNTS"
1500 ]
1501 },
1502 "ResourceRegionScope":{
1503 "type":"string",
1504 "enum":[
1505 "REGIONAL",
1506 "GLOBAL"
1507 ]
1508 },
1509 "ResourceRegionScopeFilter":{
1510 "type":"string",
1511 "enum":[
1512 "ALL",
1513 "REGIONAL",
1514 "GLOBAL"
1515 ]
1516 },
1517 "ResourceShare":{
1518 "type":"structure",
1519 "members":{
1520 "resourceShareArn":{"shape":"String"},
1521 "name":{"shape":"String"},
1522 "owningAccountId":{"shape":"String"},
1523 "allowExternalPrincipals":{"shape":"Boolean"},
1524 "status":{"shape":"ResourceShareStatus"},
1525 "statusMessage":{"shape":"String"},
1526 "tags":{"shape":"TagList"},
1527 "creationTime":{"shape":"DateTime"},
1528 "lastUpdatedTime":{"shape":"DateTime"},
1529 "featureSet":{"shape":"ResourceShareFeatureSet"}
1530 }
1531 },
1532 "ResourceShareArnList":{
1533 "type":"list",
1534 "member":{"shape":"String"}
1535 },
1536 "ResourceShareAssociation":{
1537 "type":"structure",
1538 "members":{
1539 "resourceShareArn":{"shape":"String"},
1540 "resourceShareName":{"shape":"String"},
1541 "associatedEntity":{"shape":"String"},
1542 "associationType":{"shape":"ResourceShareAssociationType"},
1543 "status":{"shape":"ResourceShareAssociationStatus"},
1544 "statusMessage":{"shape":"String"},
1545 "creationTime":{"shape":"DateTime"},
1546 "lastUpdatedTime":{"shape":"DateTime"},
1547 "external":{"shape":"Boolean"}
1548 }
1549 },
1550 "ResourceShareAssociationList":{
1551 "type":"list",
1552 "member":{"shape":"ResourceShareAssociation"}
1553 },
1554 "ResourceShareAssociationStatus":{
1555 "type":"string",
1556 "enum":[
1557 "ASSOCIATING",
1558 "ASSOCIATED",
1559 "FAILED",
1560 "DISASSOCIATING",
1561 "DISASSOCIATED"
1562 ]
1563 },
1564 "ResourceShareAssociationType":{
1565 "type":"string",
1566 "enum":[
1567 "PRINCIPAL",
1568 "RESOURCE"
1569 ]
1570 },
1571 "ResourceShareFeatureSet":{
1572 "type":"string",
1573 "enum":[
1574 "CREATED_FROM_POLICY",
1575 "PROMOTING_TO_STANDARD",
1576 "STANDARD"
1577 ]
1578 },
1579 "ResourceShareInvitation":{
1580 "type":"structure",
1581 "members":{
1582 "resourceShareInvitationArn":{"shape":"String"},
1583 "resourceShareName":{"shape":"String"},
1584 "resourceShareArn":{"shape":"String"},
1585 "senderAccountId":{"shape":"String"},
1586 "receiverAccountId":{"shape":"String"},
1587 "invitationTimestamp":{"shape":"DateTime"},
1588 "status":{"shape":"ResourceShareInvitationStatus"},
1589 "resourceShareAssociations":{
1590 "shape":"ResourceShareAssociationList",
1591 "deprecated":true,
1592 "deprecatedMessage":"This member has been deprecated. Use ListPendingInvitationResources."
1593 },
1594 "receiverArn":{"shape":"String"}
1595 }
1596 },
1597 "ResourceShareInvitationAlreadyAcceptedException":{
1598 "type":"structure",
1599 "required":["message"],
1600 "members":{
1601 "message":{"shape":"String"}
1602 },
1603 "error":{"httpStatusCode":400},
1604 "exception":true
1605 },
1606 "ResourceShareInvitationAlreadyRejectedException":{
1607 "type":"structure",
1608 "required":["message"],
1609 "members":{
1610 "message":{"shape":"String"}
1611 },
1612 "error":{"httpStatusCode":400},
1613 "exception":true
1614 },
1615 "ResourceShareInvitationArnList":{
1616 "type":"list",
1617 "member":{"shape":"String"}
1618 },
1619 "ResourceShareInvitationArnNotFoundException":{
1620 "type":"structure",
1621 "required":["message"],
1622 "members":{
1623 "message":{"shape":"String"}
1624 },
1625 "error":{"httpStatusCode":400},
1626 "exception":true
1627 },
1628 "ResourceShareInvitationExpiredException":{
1629 "type":"structure",
1630 "required":["message"],
1631 "members":{
1632 "message":{"shape":"String"}
1633 },
1634 "error":{"httpStatusCode":400},
1635 "exception":true
1636 },
1637 "ResourceShareInvitationList":{
1638 "type":"list",
1639 "member":{"shape":"ResourceShareInvitation"}
1640 },
1641 "ResourceShareInvitationStatus":{
1642 "type":"string",
1643 "enum":[
1644 "PENDING",
1645 "ACCEPTED",
1646 "REJECTED",
1647 "EXPIRED"
1648 ]
1649 },
1650 "ResourceShareLimitExceededException":{
1651 "type":"structure",
1652 "required":["message"],
1653 "members":{
1654 "message":{"shape":"String"}
1655 },
1656 "error":{"httpStatusCode":400},
1657 "exception":true
1658 },
1659 "ResourceShareList":{
1660 "type":"list",
1661 "member":{"shape":"ResourceShare"}
1662 },
1663 "ResourceSharePermissionDetail":{
1664 "type":"structure",
1665 "members":{
1666 "arn":{"shape":"String"},
1667 "version":{"shape":"String"},
1668 "defaultVersion":{"shape":"Boolean"},
1669 "name":{"shape":"String"},
1670 "resourceType":{"shape":"String"},
1671 "permission":{"shape":"String"},
1672 "creationTime":{"shape":"DateTime"},
1673 "lastUpdatedTime":{"shape":"DateTime"},
1674 "isResourceTypeDefault":{"shape":"Boolean"},
1675 "permissionType":{"shape":"PermissionType"},
1676 "featureSet":{"shape":"PermissionFeatureSet"},
1677 "status":{"shape":"PermissionStatus"},
1678 "tags":{"shape":"TagList"}
1679 }
1680 },
1681 "ResourceSharePermissionList":{
1682 "type":"list",
1683 "member":{"shape":"ResourceSharePermissionSummary"}
1684 },
1685 "ResourceSharePermissionSummary":{
1686 "type":"structure",
1687 "members":{
1688 "arn":{"shape":"String"},
1689 "version":{"shape":"String"},
1690 "defaultVersion":{"shape":"Boolean"},
1691 "name":{"shape":"String"},
1692 "resourceType":{"shape":"String"},
1693 "status":{"shape":"String"},
1694 "creationTime":{"shape":"DateTime"},
1695 "lastUpdatedTime":{"shape":"DateTime"},
1696 "isResourceTypeDefault":{"shape":"Boolean"},
1697 "permissionType":{"shape":"PermissionType"},
1698 "featureSet":{"shape":"PermissionFeatureSet"},
1699 "tags":{"shape":"TagList"}
1700 }
1701 },
1702 "ResourceShareStatus":{
1703 "type":"string",
1704 "enum":[
1705 "PENDING",
1706 "ACTIVE",
1707 "FAILED",
1708 "DELETING",
1709 "DELETED"
1710 ]
1711 },
1712 "ResourceStatus":{
1713 "type":"string",
1714 "enum":[
1715 "AVAILABLE",
1716 "ZONAL_RESOURCE_INACCESSIBLE",
1717 "LIMIT_EXCEEDED",
1718 "UNAVAILABLE",
1719 "PENDING"
1720 ]
1721 },
1722 "ServerInternalException":{
1723 "type":"structure",
1724 "required":["message"],
1725 "members":{
1726 "message":{"shape":"String"}
1727 },
1728 "error":{"httpStatusCode":500},
1729 "exception":true
1730 },
1731 "ServiceNameAndResourceType":{
1732 "type":"structure",
1733 "members":{
1734 "resourceType":{"shape":"String"},
1735 "serviceName":{"shape":"String"},
1736 "resourceRegionScope":{"shape":"ResourceRegionScope"}
1737 }
1738 },
1739 "ServiceNameAndResourceTypeList":{
1740 "type":"list",
1741 "member":{"shape":"ServiceNameAndResourceType"}
1742 },
1743 "ServiceUnavailableException":{
1744 "type":"structure",
1745 "required":["message"],
1746 "members":{
1747 "message":{"shape":"String"}
1748 },
1749 "error":{"httpStatusCode":503},
1750 "exception":true
1751 },
1752 "SetDefaultPermissionVersionRequest":{
1753 "type":"structure",
1754 "required":[
1755 "permissionArn",
1756 "permissionVersion"
1757 ],
1758 "members":{
1759 "permissionArn":{"shape":"String"},
1760 "permissionVersion":{"shape":"Integer"},
1761 "clientToken":{"shape":"String"}
1762 }
1763 },
1764 "SetDefaultPermissionVersionResponse":{
1765 "type":"structure",
1766 "members":{
1767 "returnValue":{"shape":"Boolean"},
1768 "clientToken":{"shape":"String"}
1769 }
1770 },
1771 "SourceArnOrAccountList":{
1772 "type":"list",
1773 "member":{"shape":"String"}
1774 },
1775 "String":{"type":"string"},
1776 "Tag":{
1777 "type":"structure",
1778 "members":{
1779 "key":{"shape":"TagKey"},
1780 "value":{"shape":"TagValue"}
1781 }
1782 },
1783 "TagFilter":{
1784 "type":"structure",
1785 "members":{
1786 "tagKey":{"shape":"TagKey"},
1787 "tagValues":{"shape":"TagValueList"}
1788 }
1789 },
1790 "TagFilters":{
1791 "type":"list",
1792 "member":{"shape":"TagFilter"}
1793 },
1794 "TagKey":{"type":"string"},
1795 "TagKeyList":{
1796 "type":"list",
1797 "member":{"shape":"TagKey"}
1798 },
1799 "TagLimitExceededException":{
1800 "type":"structure",
1801 "required":["message"],
1802 "members":{
1803 "message":{"shape":"String"}
1804 },
1805 "error":{"httpStatusCode":400},
1806 "exception":true
1807 },
1808 "TagList":{
1809 "type":"list",
1810 "member":{"shape":"Tag"}
1811 },
1812 "TagPolicyViolationException":{
1813 "type":"structure",
1814 "required":["message"],
1815 "members":{
1816 "message":{"shape":"String"}
1817 },
1818 "error":{"httpStatusCode":400},
1819 "exception":true
1820 },
1821 "TagResourceRequest":{
1822 "type":"structure",
1823 "required":["tags"],
1824 "members":{
1825 "resourceShareArn":{"shape":"String"},
1826 "tags":{"shape":"TagList"},
1827 "resourceArn":{"shape":"String"}
1828 }
1829 },
1830 "TagResourceResponse":{
1831 "type":"structure",
1832 "members":{
1833 }
1834 },
1835 "TagValue":{"type":"string"},
1836 "TagValueList":{
1837 "type":"list",
1838 "member":{"shape":"TagValue"}
1839 },
1840 "ThrottlingException":{
1841 "type":"structure",
1842 "required":["message"],
1843 "members":{
1844 "message":{"shape":"String"}
1845 },
1846 "error":{"httpStatusCode":429},
1847 "exception":true
1848 },
1849 "UnknownResourceException":{
1850 "type":"structure",
1851 "required":["message"],
1852 "members":{
1853 "message":{"shape":"String"}
1854 },
1855 "error":{"httpStatusCode":400},
1856 "exception":true
1857 },
1858 "UnmatchedPolicyPermissionException":{
1859 "type":"structure",
1860 "required":["message"],
1861 "members":{
1862 "message":{"shape":"String"}
1863 },
1864 "error":{"httpStatusCode":400},
1865 "exception":true
1866 },
1867 "UntagResourceRequest":{
1868 "type":"structure",
1869 "required":["tagKeys"],
1870 "members":{
1871 "resourceShareArn":{"shape":"String"},
1872 "tagKeys":{"shape":"TagKeyList"},
1873 "resourceArn":{"shape":"String"}
1874 }
1875 },
1876 "UntagResourceResponse":{
1877 "type":"structure",
1878 "members":{
1879 }
1880 },
1881 "UpdateResourceShareRequest":{
1882 "type":"structure",
1883 "required":["resourceShareArn"],
1884 "members":{
1885 "resourceShareArn":{"shape":"String"},
1886 "name":{"shape":"String"},
1887 "allowExternalPrincipals":{"shape":"Boolean"},
1888 "clientToken":{"shape":"String"}
1889 }
1890 },
1891 "UpdateResourceShareResponse":{
1892 "type":"structure",
1893 "members":{
1894 "resourceShare":{"shape":"ResourceShare"},
1895 "clientToken":{"shape":"String"}
1896 }
1897 }
1898 }
1899 }