1{
2    "smithy": "1.0",
3    "metadata": {
4        "suppressions": [
5            {
6                "id": "HttpMethodSemantics",
7                "namespace": "*"
8            },
9            {
10                "id": "HttpResponseCodeSemantics",
11                "namespace": "*"
12            },
13            {
14                "id": "PaginatedTrait",
15                "namespace": "*"
16            },
17            {
18                "id": "HttpHeaderTrait",
19                "namespace": "*"
20            },
21            {
22                "id": "HttpUriConflict",
23                "namespace": "*"
24            },
25            {
26                "id": "Service",
27                "namespace": "*"
28            }
29        ]
30    },
31    "shapes": {
32        "com.amazonaws.ram#AcceptResourceShareInvitation": {
33            "type": "operation",
34            "input": {
35                "target": "com.amazonaws.ram#AcceptResourceShareInvitationRequest"
36            },
37            "output": {
38                "target": "com.amazonaws.ram#AcceptResourceShareInvitationResponse"
39            },
40            "errors": [
41                {
42                    "target": "com.amazonaws.ram#IdempotentParameterMismatchException"
43                },
44                {
45                    "target": "com.amazonaws.ram#InvalidClientTokenException"
46                },
47                {
48                    "target": "com.amazonaws.ram#MalformedArnException"
49                },
50                {
51                    "target": "com.amazonaws.ram#OperationNotPermittedException"
52                },
53                {
54                    "target": "com.amazonaws.ram#ResourceShareInvitationAlreadyAcceptedException"
55                },
56                {
57                    "target": "com.amazonaws.ram#ResourceShareInvitationAlreadyRejectedException"
58                },
59                {
60                    "target": "com.amazonaws.ram#ResourceShareInvitationArnNotFoundException"
61                },
62                {
63                    "target": "com.amazonaws.ram#ResourceShareInvitationExpiredException"
64                },
65                {
66                    "target": "com.amazonaws.ram#ServerInternalException"
67                },
68                {
69                    "target": "com.amazonaws.ram#ServiceUnavailableException"
70                }
71            ],
72            "traits": {
73                "smithy.api#documentation": "<p>Accepts an invitation to a resource share from another AWS account.</p>",
74                "smithy.api#http": {
75                    "method": "POST",
76                    "uri": "/acceptresourceshareinvitation",
77                    "code": 200
78                }
79            }
80        },
81        "com.amazonaws.ram#AcceptResourceShareInvitationRequest": {
82            "type": "structure",
83            "members": {
84                "resourceShareInvitationArn": {
85                    "target": "com.amazonaws.ram#String",
86                    "traits": {
87                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the invitation.</p>",
88                        "smithy.api#required": {}
89                    }
90                },
91                "clientToken": {
92                    "target": "com.amazonaws.ram#String",
93                    "traits": {
94                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
95                    }
96                }
97            }
98        },
99        "com.amazonaws.ram#AcceptResourceShareInvitationResponse": {
100            "type": "structure",
101            "members": {
102                "resourceShareInvitation": {
103                    "target": "com.amazonaws.ram#ResourceShareInvitation",
104                    "traits": {
105                        "smithy.api#documentation": "<p>Information about the invitation.</p>"
106                    }
107                },
108                "clientToken": {
109                    "target": "com.amazonaws.ram#String",
110                    "traits": {
111                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
112                    }
113                }
114            }
115        },
116        "com.amazonaws.ram#AmazonResourceSharing": {
117            "type": "service",
118            "version": "2018-01-04",
119            "operations": [
120                {
121                    "target": "com.amazonaws.ram#AcceptResourceShareInvitation"
122                },
123                {
124                    "target": "com.amazonaws.ram#AssociateResourceShare"
125                },
126                {
127                    "target": "com.amazonaws.ram#AssociateResourceSharePermission"
128                },
129                {
130                    "target": "com.amazonaws.ram#CreateResourceShare"
131                },
132                {
133                    "target": "com.amazonaws.ram#DeleteResourceShare"
134                },
135                {
136                    "target": "com.amazonaws.ram#DisassociateResourceShare"
137                },
138                {
139                    "target": "com.amazonaws.ram#DisassociateResourceSharePermission"
140                },
141                {
142                    "target": "com.amazonaws.ram#EnableSharingWithAwsOrganization"
143                },
144                {
145                    "target": "com.amazonaws.ram#GetPermission"
146                },
147                {
148                    "target": "com.amazonaws.ram#GetResourcePolicies"
149                },
150                {
151                    "target": "com.amazonaws.ram#GetResourceShareAssociations"
152                },
153                {
154                    "target": "com.amazonaws.ram#GetResourceShareInvitations"
155                },
156                {
157                    "target": "com.amazonaws.ram#GetResourceShares"
158                },
159                {
160                    "target": "com.amazonaws.ram#ListPendingInvitationResources"
161                },
162                {
163                    "target": "com.amazonaws.ram#ListPermissions"
164                },
165                {
166                    "target": "com.amazonaws.ram#ListPrincipals"
167                },
168                {
169                    "target": "com.amazonaws.ram#ListResources"
170                },
171                {
172                    "target": "com.amazonaws.ram#ListResourceSharePermissions"
173                },
174                {
175                    "target": "com.amazonaws.ram#ListResourceTypes"
176                },
177                {
178                    "target": "com.amazonaws.ram#PromoteResourceShareCreatedFromPolicy"
179                },
180                {
181                    "target": "com.amazonaws.ram#RejectResourceShareInvitation"
182                },
183                {
184                    "target": "com.amazonaws.ram#TagResource"
185                },
186                {
187                    "target": "com.amazonaws.ram#UntagResource"
188                },
189                {
190                    "target": "com.amazonaws.ram#UpdateResourceShare"
191                }
192            ],
193            "traits": {
194                "aws.api#service": {
195                    "sdkId": "RAM",
196                    "arnNamespace": "ram",
197                    "cloudFormationName": "RAM",
198                    "cloudTrailEventSource": "ram.amazonaws.com",
199                    "endpointPrefix": "ram"
200                },
201                "aws.auth#sigv4": {
202                    "name": "ram"
203                },
204                "aws.protocols#restJson1": {},
205                "smithy.api#documentation": "<p>Use AWS Resource Access Manager to share AWS resources between AWS accounts. To share a resource, you\n          create a resource share, associate the resource with the resource share, and specify the principals that\n          can access the resources associated with the resource share. The following principals are supported:\n          AWS accounts, organizational units (OU) from AWS Organizations, and organizations from\n          AWS Organizations.</p>\n         <p>For more information, see the <a href=\"https://docs.aws.amazon.com/ram/latest/userguide/\">AWS Resource Access Manager User Guide</a>.</p>",
206                "smithy.api#title": "AWS Resource Access Manager"
207            }
208        },
209        "com.amazonaws.ram#AssociateResourceShare": {
210            "type": "operation",
211            "input": {
212                "target": "com.amazonaws.ram#AssociateResourceShareRequest"
213            },
214            "output": {
215                "target": "com.amazonaws.ram#AssociateResourceShareResponse"
216            },
217            "errors": [
218                {
219                    "target": "com.amazonaws.ram#IdempotentParameterMismatchException"
220                },
221                {
222                    "target": "com.amazonaws.ram#InvalidClientTokenException"
223                },
224                {
225                    "target": "com.amazonaws.ram#InvalidParameterException"
226                },
227                {
228                    "target": "com.amazonaws.ram#InvalidStateTransitionException"
229                },
230                {
231                    "target": "com.amazonaws.ram#MalformedArnException"
232                },
233                {
234                    "target": "com.amazonaws.ram#OperationNotPermittedException"
235                },
236                {
237                    "target": "com.amazonaws.ram#ResourceShareLimitExceededException"
238                },
239                {
240                    "target": "com.amazonaws.ram#ServerInternalException"
241                },
242                {
243                    "target": "com.amazonaws.ram#ServiceUnavailableException"
244                },
245                {
246                    "target": "com.amazonaws.ram#UnknownResourceException"
247                }
248            ],
249            "traits": {
250                "smithy.api#documentation": "<p>Associates the specified resource share with the specified principals and resources.</p>",
251                "smithy.api#http": {
252                    "method": "POST",
253                    "uri": "/associateresourceshare",
254                    "code": 200
255                }
256            }
257        },
258        "com.amazonaws.ram#AssociateResourceSharePermission": {
259            "type": "operation",
260            "input": {
261                "target": "com.amazonaws.ram#AssociateResourceSharePermissionRequest"
262            },
263            "output": {
264                "target": "com.amazonaws.ram#AssociateResourceSharePermissionResponse"
265            },
266            "errors": [
267                {
268                    "target": "com.amazonaws.ram#InvalidClientTokenException"
269                },
270                {
271                    "target": "com.amazonaws.ram#InvalidParameterException"
272                },
273                {
274                    "target": "com.amazonaws.ram#MalformedArnException"
275                },
276                {
277                    "target": "com.amazonaws.ram#OperationNotPermittedException"
278                },
279                {
280                    "target": "com.amazonaws.ram#ServerInternalException"
281                },
282                {
283                    "target": "com.amazonaws.ram#ServiceUnavailableException"
284                },
285                {
286                    "target": "com.amazonaws.ram#UnknownResourceException"
287                }
288            ],
289            "traits": {
290                "smithy.api#documentation": "<p>Associates a permission with a resource share.</p>",
291                "smithy.api#http": {
292                    "method": "POST",
293                    "uri": "/associateresourcesharepermission",
294                    "code": 200
295                }
296            }
297        },
298        "com.amazonaws.ram#AssociateResourceSharePermissionRequest": {
299            "type": "structure",
300            "members": {
301                "resourceShareArn": {
302                    "target": "com.amazonaws.ram#String",
303                    "traits": {
304                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource share.</p>",
305                        "smithy.api#required": {}
306                    }
307                },
308                "permissionArn": {
309                    "target": "com.amazonaws.ram#String",
310                    "traits": {
311                        "smithy.api#documentation": "<p>The ARN of the AWS RAM permission to associate with the resource share.</p>",
312                        "smithy.api#required": {}
313                    }
314                },
315                "replace": {
316                    "target": "com.amazonaws.ram#Boolean",
317                    "traits": {
318                        "smithy.api#documentation": "<p>Indicates whether the permission should replace the permissions that are currently \n        \tassociated with the resource share. Use <code>true</code> to replace the current permissions. \n        \tUse <code>false</code> to add the permission to the current permission.</p>"
319                    }
320                },
321                "clientToken": {
322                    "target": "com.amazonaws.ram#String",
323                    "traits": {
324                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
325                    }
326                }
327            }
328        },
329        "com.amazonaws.ram#AssociateResourceSharePermissionResponse": {
330            "type": "structure",
331            "members": {
332                "returnValue": {
333                    "target": "com.amazonaws.ram#Boolean",
334                    "traits": {
335                        "smithy.api#documentation": "<p>Indicates whether the request succeeded.</p>"
336                    }
337                },
338                "clientToken": {
339                    "target": "com.amazonaws.ram#String",
340                    "traits": {
341                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
342                    }
343                }
344            }
345        },
346        "com.amazonaws.ram#AssociateResourceShareRequest": {
347            "type": "structure",
348            "members": {
349                "resourceShareArn": {
350                    "target": "com.amazonaws.ram#String",
351                    "traits": {
352                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource share.</p>",
353                        "smithy.api#required": {}
354                    }
355                },
356                "resourceArns": {
357                    "target": "com.amazonaws.ram#ResourceArnList",
358                    "traits": {
359                        "smithy.api#documentation": "<p>The Amazon Resource Names (ARN) of the resources.</p>"
360                    }
361                },
362                "principals": {
363                    "target": "com.amazonaws.ram#PrincipalArnOrIdList",
364                    "traits": {
365                        "smithy.api#documentation": "<p>The principals to associate with the resource share. The possible values are IDs of \n       \tAWS accounts, and the ARNs of organizational units (OU) or organizations from AWS \n       \tOrganizations.</p>"
366                    }
367                },
368                "clientToken": {
369                    "target": "com.amazonaws.ram#String",
370                    "traits": {
371                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
372                    }
373                }
374            }
375        },
376        "com.amazonaws.ram#AssociateResourceShareResponse": {
377            "type": "structure",
378            "members": {
379                "resourceShareAssociations": {
380                    "target": "com.amazonaws.ram#ResourceShareAssociationList",
381                    "traits": {
382                        "smithy.api#documentation": "<p>Information about the associations.</p>"
383                    }
384                },
385                "clientToken": {
386                    "target": "com.amazonaws.ram#String",
387                    "traits": {
388                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
389                    }
390                }
391            }
392        },
393        "com.amazonaws.ram#Boolean": {
394            "type": "boolean",
395            "traits": {
396                "smithy.api#box": {}
397            }
398        },
399        "com.amazonaws.ram#CreateResourceShare": {
400            "type": "operation",
401            "input": {
402                "target": "com.amazonaws.ram#CreateResourceShareRequest"
403            },
404            "output": {
405                "target": "com.amazonaws.ram#CreateResourceShareResponse"
406            },
407            "errors": [
408                {
409                    "target": "com.amazonaws.ram#IdempotentParameterMismatchException"
410                },
411                {
412                    "target": "com.amazonaws.ram#InvalidClientTokenException"
413                },
414                {
415                    "target": "com.amazonaws.ram#InvalidParameterException"
416                },
417                {
418                    "target": "com.amazonaws.ram#InvalidStateTransitionException"
419                },
420                {
421                    "target": "com.amazonaws.ram#MalformedArnException"
422                },
423                {
424                    "target": "com.amazonaws.ram#OperationNotPermittedException"
425                },
426                {
427                    "target": "com.amazonaws.ram#ResourceShareLimitExceededException"
428                },
429                {
430                    "target": "com.amazonaws.ram#ServerInternalException"
431                },
432                {
433                    "target": "com.amazonaws.ram#ServiceUnavailableException"
434                },
435                {
436                    "target": "com.amazonaws.ram#TagPolicyViolationException"
437                },
438                {
439                    "target": "com.amazonaws.ram#UnknownResourceException"
440                }
441            ],
442            "traits": {
443                "smithy.api#documentation": "<p>Creates a resource share.</p>",
444                "smithy.api#http": {
445                    "method": "POST",
446                    "uri": "/createresourceshare",
447                    "code": 200
448                }
449            }
450        },
451        "com.amazonaws.ram#CreateResourceShareRequest": {
452            "type": "structure",
453            "members": {
454                "name": {
455                    "target": "com.amazonaws.ram#String",
456                    "traits": {
457                        "smithy.api#documentation": "<p>The name of the resource share.</p>",
458                        "smithy.api#required": {}
459                    }
460                },
461                "resourceArns": {
462                    "target": "com.amazonaws.ram#ResourceArnList",
463                    "traits": {
464                        "smithy.api#documentation": "<p>The Amazon Resource Names (ARN) of the resources to associate with the resource share.</p>"
465                    }
466                },
467                "principals": {
468                    "target": "com.amazonaws.ram#PrincipalArnOrIdList",
469                    "traits": {
470                        "smithy.api#documentation": "<p>The principals to associate with the resource share. The possible values are IDs of AWS accounts,\n          the ARN of an OU or organization from AWS Organizations.</p>"
471                    }
472                },
473                "tags": {
474                    "target": "com.amazonaws.ram#TagList",
475                    "traits": {
476                        "smithy.api#documentation": "<p>One or more tags.</p>"
477                    }
478                },
479                "allowExternalPrincipals": {
480                    "target": "com.amazonaws.ram#Boolean",
481                    "traits": {
482                        "smithy.api#documentation": "<p>Indicates whether principals outside your AWS organization can be associated with a resource share.</p>"
483                    }
484                },
485                "clientToken": {
486                    "target": "com.amazonaws.ram#String",
487                    "traits": {
488                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
489                    }
490                },
491                "permissionArns": {
492                    "target": "com.amazonaws.ram#PermissionArnList",
493                    "traits": {
494                        "smithy.api#documentation": "<p>The ARNs of the permissions to associate with the resource share. If you do not specify an ARN\n\t\t\tfor the permission, AWS RAM automatically attaches the default version of the permission\n\t\t\tfor each resource type.</p>"
495                    }
496                }
497            }
498        },
499        "com.amazonaws.ram#CreateResourceShareResponse": {
500            "type": "structure",
501            "members": {
502                "resourceShare": {
503                    "target": "com.amazonaws.ram#ResourceShare",
504                    "traits": {
505                        "smithy.api#documentation": "<p>Information about the resource share.</p>"
506                    }
507                },
508                "clientToken": {
509                    "target": "com.amazonaws.ram#String",
510                    "traits": {
511                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
512                    }
513                }
514            }
515        },
516        "com.amazonaws.ram#DateTime": {
517            "type": "timestamp"
518        },
519        "com.amazonaws.ram#DeleteResourceShare": {
520            "type": "operation",
521            "input": {
522                "target": "com.amazonaws.ram#DeleteResourceShareRequest"
523            },
524            "output": {
525                "target": "com.amazonaws.ram#DeleteResourceShareResponse"
526            },
527            "errors": [
528                {
529                    "target": "com.amazonaws.ram#IdempotentParameterMismatchException"
530                },
531                {
532                    "target": "com.amazonaws.ram#InvalidClientTokenException"
533                },
534                {
535                    "target": "com.amazonaws.ram#InvalidParameterException"
536                },
537                {
538                    "target": "com.amazonaws.ram#InvalidStateTransitionException"
539                },
540                {
541                    "target": "com.amazonaws.ram#MalformedArnException"
542                },
543                {
544                    "target": "com.amazonaws.ram#OperationNotPermittedException"
545                },
546                {
547                    "target": "com.amazonaws.ram#ServerInternalException"
548                },
549                {
550                    "target": "com.amazonaws.ram#ServiceUnavailableException"
551                },
552                {
553                    "target": "com.amazonaws.ram#UnknownResourceException"
554                }
555            ],
556            "traits": {
557                "smithy.api#documentation": "<p>Deletes the specified resource share.</p>",
558                "smithy.api#http": {
559                    "method": "DELETE",
560                    "uri": "/deleteresourceshare",
561                    "code": 200
562                }
563            }
564        },
565        "com.amazonaws.ram#DeleteResourceShareRequest": {
566            "type": "structure",
567            "members": {
568                "resourceShareArn": {
569                    "target": "com.amazonaws.ram#String",
570                    "traits": {
571                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource share.</p>",
572                        "smithy.api#httpQuery": "resourceShareArn",
573                        "smithy.api#required": {}
574                    }
575                },
576                "clientToken": {
577                    "target": "com.amazonaws.ram#String",
578                    "traits": {
579                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>",
580                        "smithy.api#httpQuery": "clientToken"
581                    }
582                }
583            }
584        },
585        "com.amazonaws.ram#DeleteResourceShareResponse": {
586            "type": "structure",
587            "members": {
588                "returnValue": {
589                    "target": "com.amazonaws.ram#Boolean",
590                    "traits": {
591                        "smithy.api#documentation": "<p>Indicates whether the request succeeded.</p>",
592                        "smithy.api#xmlName": "return"
593                    }
594                },
595                "clientToken": {
596                    "target": "com.amazonaws.ram#String",
597                    "traits": {
598                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
599                    }
600                }
601            }
602        },
603        "com.amazonaws.ram#DisassociateResourceShare": {
604            "type": "operation",
605            "input": {
606                "target": "com.amazonaws.ram#DisassociateResourceShareRequest"
607            },
608            "output": {
609                "target": "com.amazonaws.ram#DisassociateResourceShareResponse"
610            },
611            "errors": [
612                {
613                    "target": "com.amazonaws.ram#IdempotentParameterMismatchException"
614                },
615                {
616                    "target": "com.amazonaws.ram#InvalidClientTokenException"
617                },
618                {
619                    "target": "com.amazonaws.ram#InvalidParameterException"
620                },
621                {
622                    "target": "com.amazonaws.ram#InvalidStateTransitionException"
623                },
624                {
625                    "target": "com.amazonaws.ram#MalformedArnException"
626                },
627                {
628                    "target": "com.amazonaws.ram#OperationNotPermittedException"
629                },
630                {
631                    "target": "com.amazonaws.ram#ResourceShareLimitExceededException"
632                },
633                {
634                    "target": "com.amazonaws.ram#ServerInternalException"
635                },
636                {
637                    "target": "com.amazonaws.ram#ServiceUnavailableException"
638                },
639                {
640                    "target": "com.amazonaws.ram#UnknownResourceException"
641                }
642            ],
643            "traits": {
644                "smithy.api#documentation": "<p>Disassociates the specified principals or resources from the specified resource share.</p>",
645                "smithy.api#http": {
646                    "method": "POST",
647                    "uri": "/disassociateresourceshare",
648                    "code": 200
649                }
650            }
651        },
652        "com.amazonaws.ram#DisassociateResourceSharePermission": {
653            "type": "operation",
654            "input": {
655                "target": "com.amazonaws.ram#DisassociateResourceSharePermissionRequest"
656            },
657            "output": {
658                "target": "com.amazonaws.ram#DisassociateResourceSharePermissionResponse"
659            },
660            "errors": [
661                {
662                    "target": "com.amazonaws.ram#InvalidClientTokenException"
663                },
664                {
665                    "target": "com.amazonaws.ram#InvalidParameterException"
666                },
667                {
668                    "target": "com.amazonaws.ram#MalformedArnException"
669                },
670                {
671                    "target": "com.amazonaws.ram#OperationNotPermittedException"
672                },
673                {
674                    "target": "com.amazonaws.ram#ServerInternalException"
675                },
676                {
677                    "target": "com.amazonaws.ram#ServiceUnavailableException"
678                },
679                {
680                    "target": "com.amazonaws.ram#UnknownResourceException"
681                }
682            ],
683            "traits": {
684                "smithy.api#documentation": "<p>Disassociates an AWS RAM permission from a resource share.</p>",
685                "smithy.api#http": {
686                    "method": "POST",
687                    "uri": "/disassociateresourcesharepermission",
688                    "code": 200
689                }
690            }
691        },
692        "com.amazonaws.ram#DisassociateResourceSharePermissionRequest": {
693            "type": "structure",
694            "members": {
695                "resourceShareArn": {
696                    "target": "com.amazonaws.ram#String",
697                    "traits": {
698                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource share.</p>",
699                        "smithy.api#required": {}
700                    }
701                },
702                "permissionArn": {
703                    "target": "com.amazonaws.ram#String",
704                    "traits": {
705                        "smithy.api#documentation": "<p>The ARN of the permission to disassociate from the resource share.</p>",
706                        "smithy.api#required": {}
707                    }
708                },
709                "clientToken": {
710                    "target": "com.amazonaws.ram#String",
711                    "traits": {
712                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
713                    }
714                }
715            }
716        },
717        "com.amazonaws.ram#DisassociateResourceSharePermissionResponse": {
718            "type": "structure",
719            "members": {
720                "returnValue": {
721                    "target": "com.amazonaws.ram#Boolean",
722                    "traits": {
723                        "smithy.api#documentation": "<p>Indicates whether the request succeeded.</p>"
724                    }
725                },
726                "clientToken": {
727                    "target": "com.amazonaws.ram#String",
728                    "traits": {
729                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
730                    }
731                }
732            }
733        },
734        "com.amazonaws.ram#DisassociateResourceShareRequest": {
735            "type": "structure",
736            "members": {
737                "resourceShareArn": {
738                    "target": "com.amazonaws.ram#String",
739                    "traits": {
740                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource share.</p>",
741                        "smithy.api#required": {}
742                    }
743                },
744                "resourceArns": {
745                    "target": "com.amazonaws.ram#ResourceArnList",
746                    "traits": {
747                        "smithy.api#documentation": "<p>The Amazon Resource Names (ARNs) of the resources.</p>"
748                    }
749                },
750                "principals": {
751                    "target": "com.amazonaws.ram#PrincipalArnOrIdList",
752                    "traits": {
753                        "smithy.api#documentation": "<p>The principals.</p>"
754                    }
755                },
756                "clientToken": {
757                    "target": "com.amazonaws.ram#String",
758                    "traits": {
759                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
760                    }
761                }
762            }
763        },
764        "com.amazonaws.ram#DisassociateResourceShareResponse": {
765            "type": "structure",
766            "members": {
767                "resourceShareAssociations": {
768                    "target": "com.amazonaws.ram#ResourceShareAssociationList",
769                    "traits": {
770                        "smithy.api#documentation": "<p>Information about the associations.</p>"
771                    }
772                },
773                "clientToken": {
774                    "target": "com.amazonaws.ram#String",
775                    "traits": {
776                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
777                    }
778                }
779            }
780        },
781        "com.amazonaws.ram#EnableSharingWithAwsOrganization": {
782            "type": "operation",
783            "input": {
784                "target": "com.amazonaws.ram#EnableSharingWithAwsOrganizationRequest"
785            },
786            "output": {
787                "target": "com.amazonaws.ram#EnableSharingWithAwsOrganizationResponse"
788            },
789            "errors": [
790                {
791                    "target": "com.amazonaws.ram#OperationNotPermittedException"
792                },
793                {
794                    "target": "com.amazonaws.ram#ServerInternalException"
795                },
796                {
797                    "target": "com.amazonaws.ram#ServiceUnavailableException"
798                }
799            ],
800            "traits": {
801                "smithy.api#documentation": "<p>Enables resource sharing within your AWS Organization.</p>\n         <p>The caller must be the master account for the AWS Organization.</p>",
802                "smithy.api#http": {
803                    "method": "POST",
804                    "uri": "/enablesharingwithawsorganization",
805                    "code": 200
806                }
807            }
808        },
809        "com.amazonaws.ram#EnableSharingWithAwsOrganizationRequest": {
810            "type": "structure",
811            "members": {}
812        },
813        "com.amazonaws.ram#EnableSharingWithAwsOrganizationResponse": {
814            "type": "structure",
815            "members": {
816                "returnValue": {
817                    "target": "com.amazonaws.ram#Boolean",
818                    "traits": {
819                        "smithy.api#documentation": "<p>Indicates whether the request succeeded.</p>",
820                        "smithy.api#xmlName": "return"
821                    }
822                }
823            }
824        },
825        "com.amazonaws.ram#GetPermission": {
826            "type": "operation",
827            "input": {
828                "target": "com.amazonaws.ram#GetPermissionRequest"
829            },
830            "output": {
831                "target": "com.amazonaws.ram#GetPermissionResponse"
832            },
833            "errors": [
834                {
835                    "target": "com.amazonaws.ram#InvalidParameterException"
836                },
837                {
838                    "target": "com.amazonaws.ram#MalformedArnException"
839                },
840                {
841                    "target": "com.amazonaws.ram#OperationNotPermittedException"
842                },
843                {
844                    "target": "com.amazonaws.ram#ServerInternalException"
845                },
846                {
847                    "target": "com.amazonaws.ram#ServiceUnavailableException"
848                },
849                {
850                    "target": "com.amazonaws.ram#UnknownResourceException"
851                }
852            ],
853            "traits": {
854                "smithy.api#documentation": "<p>Gets the contents of an AWS RAM permission in JSON format.</p>",
855                "smithy.api#http": {
856                    "method": "POST",
857                    "uri": "/getpermission",
858                    "code": 200
859                }
860            }
861        },
862        "com.amazonaws.ram#GetPermissionRequest": {
863            "type": "structure",
864            "members": {
865                "permissionArn": {
866                    "target": "com.amazonaws.ram#String",
867                    "traits": {
868                        "smithy.api#documentation": "<p>The ARN of the permission.</p>",
869                        "smithy.api#required": {}
870                    }
871                },
872                "permissionVersion": {
873                    "target": "com.amazonaws.ram#Integer",
874                    "traits": {
875                        "smithy.api#documentation": "<p>The identifier for the version of the permission.</p>"
876                    }
877                }
878            }
879        },
880        "com.amazonaws.ram#GetPermissionResponse": {
881            "type": "structure",
882            "members": {
883                "permission": {
884                    "target": "com.amazonaws.ram#ResourceSharePermissionDetail",
885                    "traits": {
886                        "smithy.api#documentation": "<p>Information about the permission.</p>"
887                    }
888                }
889            }
890        },
891        "com.amazonaws.ram#GetResourcePolicies": {
892            "type": "operation",
893            "input": {
894                "target": "com.amazonaws.ram#GetResourcePoliciesRequest"
895            },
896            "output": {
897                "target": "com.amazonaws.ram#GetResourcePoliciesResponse"
898            },
899            "errors": [
900                {
901                    "target": "com.amazonaws.ram#InvalidNextTokenException"
902                },
903                {
904                    "target": "com.amazonaws.ram#InvalidParameterException"
905                },
906                {
907                    "target": "com.amazonaws.ram#MalformedArnException"
908                },
909                {
910                    "target": "com.amazonaws.ram#ResourceArnNotFoundException"
911                },
912                {
913                    "target": "com.amazonaws.ram#ServerInternalException"
914                },
915                {
916                    "target": "com.amazonaws.ram#ServiceUnavailableException"
917                }
918            ],
919            "traits": {
920                "smithy.api#documentation": "<p>Gets the policies for the specified resources that you own and have shared.</p>",
921                "smithy.api#http": {
922                    "method": "POST",
923                    "uri": "/getresourcepolicies",
924                    "code": 200
925                },
926                "smithy.api#paginated": {
927                    "inputToken": "nextToken",
928                    "outputToken": "nextToken",
929                    "pageSize": "maxResults"
930                }
931            }
932        },
933        "com.amazonaws.ram#GetResourcePoliciesRequest": {
934            "type": "structure",
935            "members": {
936                "resourceArns": {
937                    "target": "com.amazonaws.ram#ResourceArnList",
938                    "traits": {
939                        "smithy.api#documentation": "<p>The Amazon Resource Names (ARN) of the resources.</p>",
940                        "smithy.api#required": {}
941                    }
942                },
943                "principal": {
944                    "target": "com.amazonaws.ram#String",
945                    "traits": {
946                        "smithy.api#documentation": "<p>The principal.</p>"
947                    }
948                },
949                "nextToken": {
950                    "target": "com.amazonaws.ram#String",
951                    "traits": {
952                        "smithy.api#documentation": "<p>The token for the next page of results.</p>"
953                    }
954                },
955                "maxResults": {
956                    "target": "com.amazonaws.ram#MaxResults",
957                    "traits": {
958                        "smithy.api#documentation": "<p>The maximum number of results to return with a single call.\n  To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>"
959                    }
960                }
961            }
962        },
963        "com.amazonaws.ram#GetResourcePoliciesResponse": {
964            "type": "structure",
965            "members": {
966                "policies": {
967                    "target": "com.amazonaws.ram#PolicyList",
968                    "traits": {
969                        "smithy.api#documentation": "<p>A key policy document, in JSON format.</p>"
970                    }
971                },
972                "nextToken": {
973                    "target": "com.amazonaws.ram#String",
974                    "traits": {
975                        "smithy.api#documentation": "<p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
976                    }
977                }
978            }
979        },
980        "com.amazonaws.ram#GetResourceShareAssociations": {
981            "type": "operation",
982            "input": {
983                "target": "com.amazonaws.ram#GetResourceShareAssociationsRequest"
984            },
985            "output": {
986                "target": "com.amazonaws.ram#GetResourceShareAssociationsResponse"
987            },
988            "errors": [
989                {
990                    "target": "com.amazonaws.ram#InvalidNextTokenException"
991                },
992                {
993                    "target": "com.amazonaws.ram#InvalidParameterException"
994                },
995                {
996                    "target": "com.amazonaws.ram#MalformedArnException"
997                },
998                {
999                    "target": "com.amazonaws.ram#OperationNotPermittedException"
1000                },
1001                {
1002                    "target": "com.amazonaws.ram#ServerInternalException"
1003                },
1004                {
1005                    "target": "com.amazonaws.ram#ServiceUnavailableException"
1006                },
1007                {
1008                    "target": "com.amazonaws.ram#UnknownResourceException"
1009                }
1010            ],
1011            "traits": {
1012                "smithy.api#documentation": "<p>Gets the resources or principals for the resource shares that you own.</p>",
1013                "smithy.api#http": {
1014                    "method": "POST",
1015                    "uri": "/getresourceshareassociations",
1016                    "code": 200
1017                },
1018                "smithy.api#paginated": {
1019                    "inputToken": "nextToken",
1020                    "outputToken": "nextToken",
1021                    "pageSize": "maxResults"
1022                }
1023            }
1024        },
1025        "com.amazonaws.ram#GetResourceShareAssociationsRequest": {
1026            "type": "structure",
1027            "members": {
1028                "associationType": {
1029                    "target": "com.amazonaws.ram#ResourceShareAssociationType",
1030                    "traits": {
1031                        "smithy.api#documentation": "<p>The association type. Specify <code>PRINCIPAL</code> to list the principals that are \n   \t\tassociated with the specified resource share. Specify <code>RESOURCE</code> to list \n   \t\tthe resources that are associated with the specified resource share.</p>",
1032                        "smithy.api#required": {}
1033                    }
1034                },
1035                "resourceShareArns": {
1036                    "target": "com.amazonaws.ram#ResourceShareArnList",
1037                    "traits": {
1038                        "smithy.api#documentation": "<p>The Amazon Resource Names (ARN) of the resource shares.</p>"
1039                    }
1040                },
1041                "resourceArn": {
1042                    "target": "com.amazonaws.ram#String",
1043                    "traits": {
1044                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource. You cannot specify this parameter if the \n      \tassociation type is <code>PRINCIPAL</code>.</p>"
1045                    }
1046                },
1047                "principal": {
1048                    "target": "com.amazonaws.ram#String",
1049                    "traits": {
1050                        "smithy.api#documentation": "<p>The principal. You cannot specify this parameter if the association type is \n     \t<code>RESOURCE</code>.</p>"
1051                    }
1052                },
1053                "associationStatus": {
1054                    "target": "com.amazonaws.ram#ResourceShareAssociationStatus",
1055                    "traits": {
1056                        "smithy.api#documentation": "<p>The association status.</p>"
1057                    }
1058                },
1059                "nextToken": {
1060                    "target": "com.amazonaws.ram#String",
1061                    "traits": {
1062                        "smithy.api#documentation": "<p>The token for the next page of results.</p>"
1063                    }
1064                },
1065                "maxResults": {
1066                    "target": "com.amazonaws.ram#MaxResults",
1067                    "traits": {
1068                        "smithy.api#documentation": "<p>The maximum number of results to return with a single call.\n  To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>"
1069                    }
1070                }
1071            }
1072        },
1073        "com.amazonaws.ram#GetResourceShareAssociationsResponse": {
1074            "type": "structure",
1075            "members": {
1076                "resourceShareAssociations": {
1077                    "target": "com.amazonaws.ram#ResourceShareAssociationList",
1078                    "traits": {
1079                        "smithy.api#documentation": "<p>Information about the associations.</p>"
1080                    }
1081                },
1082                "nextToken": {
1083                    "target": "com.amazonaws.ram#String",
1084                    "traits": {
1085                        "smithy.api#documentation": "<p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
1086                    }
1087                }
1088            }
1089        },
1090        "com.amazonaws.ram#GetResourceShareInvitations": {
1091            "type": "operation",
1092            "input": {
1093                "target": "com.amazonaws.ram#GetResourceShareInvitationsRequest"
1094            },
1095            "output": {
1096                "target": "com.amazonaws.ram#GetResourceShareInvitationsResponse"
1097            },
1098            "errors": [
1099                {
1100                    "target": "com.amazonaws.ram#InvalidMaxResultsException"
1101                },
1102                {
1103                    "target": "com.amazonaws.ram#InvalidNextTokenException"
1104                },
1105                {
1106                    "target": "com.amazonaws.ram#InvalidParameterException"
1107                },
1108                {
1109                    "target": "com.amazonaws.ram#MalformedArnException"
1110                },
1111                {
1112                    "target": "com.amazonaws.ram#ResourceShareInvitationArnNotFoundException"
1113                },
1114                {
1115                    "target": "com.amazonaws.ram#ServerInternalException"
1116                },
1117                {
1118                    "target": "com.amazonaws.ram#ServiceUnavailableException"
1119                },
1120                {
1121                    "target": "com.amazonaws.ram#UnknownResourceException"
1122                }
1123            ],
1124            "traits": {
1125                "smithy.api#documentation": "<p>Gets the invitations for resource sharing that you've received.</p>",
1126                "smithy.api#http": {
1127                    "method": "POST",
1128                    "uri": "/getresourceshareinvitations",
1129                    "code": 200
1130                },
1131                "smithy.api#paginated": {
1132                    "inputToken": "nextToken",
1133                    "outputToken": "nextToken",
1134                    "pageSize": "maxResults"
1135                }
1136            }
1137        },
1138        "com.amazonaws.ram#GetResourceShareInvitationsRequest": {
1139            "type": "structure",
1140            "members": {
1141                "resourceShareInvitationArns": {
1142                    "target": "com.amazonaws.ram#ResourceShareInvitationArnList",
1143                    "traits": {
1144                        "smithy.api#documentation": "<p>The Amazon Resource Names (ARN) of the invitations.</p>"
1145                    }
1146                },
1147                "resourceShareArns": {
1148                    "target": "com.amazonaws.ram#ResourceShareArnList",
1149                    "traits": {
1150                        "smithy.api#documentation": "<p>The Amazon Resource Names (ARN) of the resource shares.</p>"
1151                    }
1152                },
1153                "nextToken": {
1154                    "target": "com.amazonaws.ram#String",
1155                    "traits": {
1156                        "smithy.api#documentation": "<p>The token for the next page of results.</p>"
1157                    }
1158                },
1159                "maxResults": {
1160                    "target": "com.amazonaws.ram#MaxResults",
1161                    "traits": {
1162                        "smithy.api#documentation": "<p>The maximum number of results to return with a single call.\n  To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>"
1163                    }
1164                }
1165            }
1166        },
1167        "com.amazonaws.ram#GetResourceShareInvitationsResponse": {
1168            "type": "structure",
1169            "members": {
1170                "resourceShareInvitations": {
1171                    "target": "com.amazonaws.ram#ResourceShareInvitationList",
1172                    "traits": {
1173                        "smithy.api#documentation": "<p>Information about the invitations.</p>"
1174                    }
1175                },
1176                "nextToken": {
1177                    "target": "com.amazonaws.ram#String",
1178                    "traits": {
1179                        "smithy.api#documentation": "<p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
1180                    }
1181                }
1182            }
1183        },
1184        "com.amazonaws.ram#GetResourceShares": {
1185            "type": "operation",
1186            "input": {
1187                "target": "com.amazonaws.ram#GetResourceSharesRequest"
1188            },
1189            "output": {
1190                "target": "com.amazonaws.ram#GetResourceSharesResponse"
1191            },
1192            "errors": [
1193                {
1194                    "target": "com.amazonaws.ram#InvalidNextTokenException"
1195                },
1196                {
1197                    "target": "com.amazonaws.ram#InvalidParameterException"
1198                },
1199                {
1200                    "target": "com.amazonaws.ram#MalformedArnException"
1201                },
1202                {
1203                    "target": "com.amazonaws.ram#ServerInternalException"
1204                },
1205                {
1206                    "target": "com.amazonaws.ram#ServiceUnavailableException"
1207                },
1208                {
1209                    "target": "com.amazonaws.ram#UnknownResourceException"
1210                }
1211            ],
1212            "traits": {
1213                "smithy.api#documentation": "<p>Gets the resource shares that you own or the resource shares that are shared with you.</p>",
1214                "smithy.api#http": {
1215                    "method": "POST",
1216                    "uri": "/getresourceshares",
1217                    "code": 200
1218                },
1219                "smithy.api#paginated": {
1220                    "inputToken": "nextToken",
1221                    "outputToken": "nextToken",
1222                    "pageSize": "maxResults"
1223                }
1224            }
1225        },
1226        "com.amazonaws.ram#GetResourceSharesRequest": {
1227            "type": "structure",
1228            "members": {
1229                "resourceShareArns": {
1230                    "target": "com.amazonaws.ram#ResourceShareArnList",
1231                    "traits": {
1232                        "smithy.api#documentation": "<p>The Amazon Resource Names (ARN) of the resource shares.</p>"
1233                    }
1234                },
1235                "resourceShareStatus": {
1236                    "target": "com.amazonaws.ram#ResourceShareStatus",
1237                    "traits": {
1238                        "smithy.api#documentation": "<p>The status of the resource share.</p>"
1239                    }
1240                },
1241                "resourceOwner": {
1242                    "target": "com.amazonaws.ram#ResourceOwner",
1243                    "traits": {
1244                        "smithy.api#documentation": "<p>The type of owner.</p>",
1245                        "smithy.api#required": {}
1246                    }
1247                },
1248                "name": {
1249                    "target": "com.amazonaws.ram#String",
1250                    "traits": {
1251                        "smithy.api#documentation": "<p>The name of the resource share.</p>"
1252                    }
1253                },
1254                "tagFilters": {
1255                    "target": "com.amazonaws.ram#TagFilters",
1256                    "traits": {
1257                        "smithy.api#documentation": "<p>One or more tag filters.</p>"
1258                    }
1259                },
1260                "nextToken": {
1261                    "target": "com.amazonaws.ram#String",
1262                    "traits": {
1263                        "smithy.api#documentation": "<p>The token for the next page of results.</p>"
1264                    }
1265                },
1266                "maxResults": {
1267                    "target": "com.amazonaws.ram#MaxResults",
1268                    "traits": {
1269                        "smithy.api#documentation": "<p>The maximum number of results to return with a single call.\n  To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>"
1270                    }
1271                }
1272            }
1273        },
1274        "com.amazonaws.ram#GetResourceSharesResponse": {
1275            "type": "structure",
1276            "members": {
1277                "resourceShares": {
1278                    "target": "com.amazonaws.ram#ResourceShareList",
1279                    "traits": {
1280                        "smithy.api#documentation": "<p>Information about the resource shares.</p>"
1281                    }
1282                },
1283                "nextToken": {
1284                    "target": "com.amazonaws.ram#String",
1285                    "traits": {
1286                        "smithy.api#documentation": "<p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
1287                    }
1288                }
1289            }
1290        },
1291        "com.amazonaws.ram#IdempotentParameterMismatchException": {
1292            "type": "structure",
1293            "members": {
1294                "message": {
1295                    "target": "com.amazonaws.ram#String",
1296                    "traits": {
1297                        "smithy.api#required": {}
1298                    }
1299                }
1300            },
1301            "traits": {
1302                "smithy.api#documentation": "<p>A client token input parameter was reused with an operation, but at least one of\n        the other input parameters is different from the previous call to the operation.</p>",
1303                "smithy.api#error": "client",
1304                "smithy.api#httpError": 400
1305            }
1306        },
1307        "com.amazonaws.ram#Integer": {
1308            "type": "integer",
1309            "traits": {
1310                "smithy.api#box": {}
1311            }
1312        },
1313        "com.amazonaws.ram#InvalidClientTokenException": {
1314            "type": "structure",
1315            "members": {
1316                "message": {
1317                    "target": "com.amazonaws.ram#String",
1318                    "traits": {
1319                        "smithy.api#required": {}
1320                    }
1321                }
1322            },
1323            "traits": {
1324                "smithy.api#documentation": "<p>A client token is not valid.</p>",
1325                "smithy.api#error": "client",
1326                "smithy.api#httpError": 400
1327            }
1328        },
1329        "com.amazonaws.ram#InvalidMaxResultsException": {
1330            "type": "structure",
1331            "members": {
1332                "message": {
1333                    "target": "com.amazonaws.ram#String",
1334                    "traits": {
1335                        "smithy.api#required": {}
1336                    }
1337                }
1338            },
1339            "traits": {
1340                "smithy.api#documentation": "<p>The specified value for MaxResults is not valid.</p>",
1341                "smithy.api#error": "client",
1342                "smithy.api#httpError": 400
1343            }
1344        },
1345        "com.amazonaws.ram#InvalidNextTokenException": {
1346            "type": "structure",
1347            "members": {
1348                "message": {
1349                    "target": "com.amazonaws.ram#String",
1350                    "traits": {
1351                        "smithy.api#required": {}
1352                    }
1353                }
1354            },
1355            "traits": {
1356                "smithy.api#documentation": "<p>The specified value for NextToken is not valid.</p>",
1357                "smithy.api#error": "client",
1358                "smithy.api#httpError": 400
1359            }
1360        },
1361        "com.amazonaws.ram#InvalidParameterException": {
1362            "type": "structure",
1363            "members": {
1364                "message": {
1365                    "target": "com.amazonaws.ram#String",
1366                    "traits": {
1367                        "smithy.api#required": {}
1368                    }
1369                }
1370            },
1371            "traits": {
1372                "smithy.api#documentation": "<p>A parameter is not valid.</p>",
1373                "smithy.api#error": "client",
1374                "smithy.api#httpError": 400
1375            }
1376        },
1377        "com.amazonaws.ram#InvalidResourceTypeException": {
1378            "type": "structure",
1379            "members": {
1380                "message": {
1381                    "target": "com.amazonaws.ram#String",
1382                    "traits": {
1383                        "smithy.api#required": {}
1384                    }
1385                }
1386            },
1387            "traits": {
1388                "smithy.api#documentation": "<p>The specified resource type is not valid.</p>",
1389                "smithy.api#error": "client",
1390                "smithy.api#httpError": 400
1391            }
1392        },
1393        "com.amazonaws.ram#InvalidStateTransitionException": {
1394            "type": "structure",
1395            "members": {
1396                "message": {
1397                    "target": "com.amazonaws.ram#String",
1398                    "traits": {
1399                        "smithy.api#required": {}
1400                    }
1401                }
1402            },
1403            "traits": {
1404                "smithy.api#documentation": "<p>The requested state transition is not valid.</p>",
1405                "smithy.api#error": "client",
1406                "smithy.api#httpError": 400
1407            }
1408        },
1409        "com.amazonaws.ram#ListPendingInvitationResources": {
1410            "type": "operation",
1411            "input": {
1412                "target": "com.amazonaws.ram#ListPendingInvitationResourcesRequest"
1413            },
1414            "output": {
1415                "target": "com.amazonaws.ram#ListPendingInvitationResourcesResponse"
1416            },
1417            "errors": [
1418                {
1419                    "target": "com.amazonaws.ram#InvalidNextTokenException"
1420                },
1421                {
1422                    "target": "com.amazonaws.ram#InvalidParameterException"
1423                },
1424                {
1425                    "target": "com.amazonaws.ram#MalformedArnException"
1426                },
1427                {
1428                    "target": "com.amazonaws.ram#MissingRequiredParameterException"
1429                },
1430                {
1431                    "target": "com.amazonaws.ram#ResourceShareInvitationAlreadyRejectedException"
1432                },
1433                {
1434                    "target": "com.amazonaws.ram#ResourceShareInvitationArnNotFoundException"
1435                },
1436                {
1437                    "target": "com.amazonaws.ram#ResourceShareInvitationExpiredException"
1438                },
1439                {
1440                    "target": "com.amazonaws.ram#ServerInternalException"
1441                },
1442                {
1443                    "target": "com.amazonaws.ram#ServiceUnavailableException"
1444                }
1445            ],
1446            "traits": {
1447                "smithy.api#documentation": "<p>Lists the resources in a resource share that is shared with you but that the invitation is still pending for.</p>",
1448                "smithy.api#http": {
1449                    "method": "POST",
1450                    "uri": "/listpendinginvitationresources",
1451                    "code": 200
1452                },
1453                "smithy.api#paginated": {
1454                    "inputToken": "nextToken",
1455                    "outputToken": "nextToken",
1456                    "pageSize": "maxResults"
1457                }
1458            }
1459        },
1460        "com.amazonaws.ram#ListPendingInvitationResourcesRequest": {
1461            "type": "structure",
1462            "members": {
1463                "resourceShareInvitationArn": {
1464                    "target": "com.amazonaws.ram#String",
1465                    "traits": {
1466                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the invitation.</p>",
1467                        "smithy.api#required": {}
1468                    }
1469                },
1470                "nextToken": {
1471                    "target": "com.amazonaws.ram#String",
1472                    "traits": {
1473                        "smithy.api#documentation": "<p>The token for the next page of results.</p>"
1474                    }
1475                },
1476                "maxResults": {
1477                    "target": "com.amazonaws.ram#MaxResults",
1478                    "traits": {
1479                        "smithy.api#documentation": "<p>The maximum number of results to return with a single call.\n  To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>"
1480                    }
1481                }
1482            }
1483        },
1484        "com.amazonaws.ram#ListPendingInvitationResourcesResponse": {
1485            "type": "structure",
1486            "members": {
1487                "resources": {
1488                    "target": "com.amazonaws.ram#ResourceList",
1489                    "traits": {
1490                        "smithy.api#documentation": "<p>Information about the resources included the resource share.</p>"
1491                    }
1492                },
1493                "nextToken": {
1494                    "target": "com.amazonaws.ram#String",
1495                    "traits": {
1496                        "smithy.api#documentation": "<p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
1497                    }
1498                }
1499            }
1500        },
1501        "com.amazonaws.ram#ListPermissions": {
1502            "type": "operation",
1503            "input": {
1504                "target": "com.amazonaws.ram#ListPermissionsRequest"
1505            },
1506            "output": {
1507                "target": "com.amazonaws.ram#ListPermissionsResponse"
1508            },
1509            "errors": [
1510                {
1511                    "target": "com.amazonaws.ram#InvalidNextTokenException"
1512                },
1513                {
1514                    "target": "com.amazonaws.ram#InvalidParameterException"
1515                },
1516                {
1517                    "target": "com.amazonaws.ram#OperationNotPermittedException"
1518                },
1519                {
1520                    "target": "com.amazonaws.ram#ServerInternalException"
1521                },
1522                {
1523                    "target": "com.amazonaws.ram#ServiceUnavailableException"
1524                }
1525            ],
1526            "traits": {
1527                "smithy.api#documentation": "<p>Lists the AWS RAM permissions.</p>",
1528                "smithy.api#http": {
1529                    "method": "POST",
1530                    "uri": "/listpermissions",
1531                    "code": 200
1532                }
1533            }
1534        },
1535        "com.amazonaws.ram#ListPermissionsRequest": {
1536            "type": "structure",
1537            "members": {
1538                "resourceType": {
1539                    "target": "com.amazonaws.ram#String",
1540                    "traits": {
1541                        "smithy.api#documentation": "<p>Specifies the resource type for which to list permissions. For example, to list only \n\t\tpermissions that apply to EC2 subnets, specify <code>ec2:Subnet</code>.</p>"
1542                    }
1543                },
1544                "nextToken": {
1545                    "target": "com.amazonaws.ram#String",
1546                    "traits": {
1547                        "smithy.api#documentation": "<p>The token for the next page of results.</p>"
1548                    }
1549                },
1550                "maxResults": {
1551                    "target": "com.amazonaws.ram#MaxResults",
1552                    "traits": {
1553                        "smithy.api#documentation": "<p>The maximum number of results to return with a single call.\n  To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>"
1554                    }
1555                }
1556            }
1557        },
1558        "com.amazonaws.ram#ListPermissionsResponse": {
1559            "type": "structure",
1560            "members": {
1561                "permissions": {
1562                    "target": "com.amazonaws.ram#ResourceSharePermissionList",
1563                    "traits": {
1564                        "smithy.api#documentation": "<p>Information about the permissions.</p>"
1565                    }
1566                },
1567                "nextToken": {
1568                    "target": "com.amazonaws.ram#String",
1569                    "traits": {
1570                        "smithy.api#documentation": "<p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
1571                    }
1572                }
1573            }
1574        },
1575        "com.amazonaws.ram#ListPrincipals": {
1576            "type": "operation",
1577            "input": {
1578                "target": "com.amazonaws.ram#ListPrincipalsRequest"
1579            },
1580            "output": {
1581                "target": "com.amazonaws.ram#ListPrincipalsResponse"
1582            },
1583            "errors": [
1584                {
1585                    "target": "com.amazonaws.ram#InvalidNextTokenException"
1586                },
1587                {
1588                    "target": "com.amazonaws.ram#InvalidParameterException"
1589                },
1590                {
1591                    "target": "com.amazonaws.ram#MalformedArnException"
1592                },
1593                {
1594                    "target": "com.amazonaws.ram#ServerInternalException"
1595                },
1596                {
1597                    "target": "com.amazonaws.ram#ServiceUnavailableException"
1598                },
1599                {
1600                    "target": "com.amazonaws.ram#UnknownResourceException"
1601                }
1602            ],
1603            "traits": {
1604                "smithy.api#documentation": "<p>Lists the principals that you have shared resources with or that have shared resources\n\t\t\twith you.</p>",
1605                "smithy.api#http": {
1606                    "method": "POST",
1607                    "uri": "/listprincipals",
1608                    "code": 200
1609                },
1610                "smithy.api#paginated": {
1611                    "inputToken": "nextToken",
1612                    "outputToken": "nextToken",
1613                    "pageSize": "maxResults"
1614                }
1615            }
1616        },
1617        "com.amazonaws.ram#ListPrincipalsRequest": {
1618            "type": "structure",
1619            "members": {
1620                "resourceOwner": {
1621                    "target": "com.amazonaws.ram#ResourceOwner",
1622                    "traits": {
1623                        "smithy.api#documentation": "<p>The type of owner.</p>",
1624                        "smithy.api#required": {}
1625                    }
1626                },
1627                "resourceArn": {
1628                    "target": "com.amazonaws.ram#String",
1629                    "traits": {
1630                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource.</p>"
1631                    }
1632                },
1633                "principals": {
1634                    "target": "com.amazonaws.ram#PrincipalArnOrIdList",
1635                    "traits": {
1636                        "smithy.api#documentation": "<p>The principals.</p>"
1637                    }
1638                },
1639                "resourceType": {
1640                    "target": "com.amazonaws.ram#String",
1641                    "traits": {
1642                        "smithy.api#documentation": "<p>The resource type.</p>\n   \t     <p>Valid values: <code>acm-pca:CertificateAuthority</code> | <code>appmesh:Mesh</code> | <code>codebuild:Project</code> | <code>codebuild:ReportGroup</code> | <code>ec2:CapacityReservation</code> | <code>ec2:DedicatedHost</code> | <code>ec2:LocalGatewayRouteTable</code> | <code>ec2:PrefixList</code> | <code>ec2:Subnet</code> | <code>ec2:TrafficMirrorTarget</code> | <code>ec2:TransitGateway</code> | <code>imagebuilder:Component</code> | <code>imagebuilder:Image</code> | <code>imagebuilder:ImageRecipe</code> | <code>imagebuilder:ContainerRecipe</code> | <code>glue:Catalog</code> | <code>glue:Database</code> | <code>glue:Table</code> | <code>license-manager:LicenseConfiguration</code> I <code>network-firewall:FirewallPolicy</code> | <code>network-firewall:StatefulRuleGroup</code> | <code>network-firewall:StatelessRuleGroup</code> | <code>outposts:Outpost</code> | <code>resource-groups:Group</code> | <code>rds:Cluster</code> | <code>route53resolver:FirewallRuleGroup</code> |<code>route53resolver:ResolverQueryLogConfig</code> | <code>route53resolver:ResolverRule</code>\n         </p>"
1643                    }
1644                },
1645                "resourceShareArns": {
1646                    "target": "com.amazonaws.ram#ResourceShareArnList",
1647                    "traits": {
1648                        "smithy.api#documentation": "<p>The Amazon Resource Names (ARN) of the resource shares.</p>"
1649                    }
1650                },
1651                "nextToken": {
1652                    "target": "com.amazonaws.ram#String",
1653                    "traits": {
1654                        "smithy.api#documentation": "<p>The token for the next page of results.</p>"
1655                    }
1656                },
1657                "maxResults": {
1658                    "target": "com.amazonaws.ram#MaxResults",
1659                    "traits": {
1660                        "smithy.api#documentation": "<p>The maximum number of results to return with a single call.\n  To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>"
1661                    }
1662                }
1663            }
1664        },
1665        "com.amazonaws.ram#ListPrincipalsResponse": {
1666            "type": "structure",
1667            "members": {
1668                "principals": {
1669                    "target": "com.amazonaws.ram#PrincipalList",
1670                    "traits": {
1671                        "smithy.api#documentation": "<p>The principals.</p>"
1672                    }
1673                },
1674                "nextToken": {
1675                    "target": "com.amazonaws.ram#String",
1676                    "traits": {
1677                        "smithy.api#documentation": "<p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
1678                    }
1679                }
1680            }
1681        },
1682        "com.amazonaws.ram#ListResourceSharePermissions": {
1683            "type": "operation",
1684            "input": {
1685                "target": "com.amazonaws.ram#ListResourceSharePermissionsRequest"
1686            },
1687            "output": {
1688                "target": "com.amazonaws.ram#ListResourceSharePermissionsResponse"
1689            },
1690            "errors": [
1691                {
1692                    "target": "com.amazonaws.ram#InvalidNextTokenException"
1693                },
1694                {
1695                    "target": "com.amazonaws.ram#InvalidParameterException"
1696                },
1697                {
1698                    "target": "com.amazonaws.ram#MalformedArnException"
1699                },
1700                {
1701                    "target": "com.amazonaws.ram#OperationNotPermittedException"
1702                },
1703                {
1704                    "target": "com.amazonaws.ram#ServerInternalException"
1705                },
1706                {
1707                    "target": "com.amazonaws.ram#ServiceUnavailableException"
1708                },
1709                {
1710                    "target": "com.amazonaws.ram#UnknownResourceException"
1711                }
1712            ],
1713            "traits": {
1714                "smithy.api#documentation": "<p>Lists the AWS RAM permissions that are associated with a resource share.</p>",
1715                "smithy.api#http": {
1716                    "method": "POST",
1717                    "uri": "/listresourcesharepermissions",
1718                    "code": 200
1719                }
1720            }
1721        },
1722        "com.amazonaws.ram#ListResourceSharePermissionsRequest": {
1723            "type": "structure",
1724            "members": {
1725                "resourceShareArn": {
1726                    "target": "com.amazonaws.ram#String",
1727                    "traits": {
1728                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource share.</p>",
1729                        "smithy.api#required": {}
1730                    }
1731                },
1732                "nextToken": {
1733                    "target": "com.amazonaws.ram#String",
1734                    "traits": {
1735                        "smithy.api#documentation": "<p>The token for the next page of results.</p>"
1736                    }
1737                },
1738                "maxResults": {
1739                    "target": "com.amazonaws.ram#MaxResults",
1740                    "traits": {
1741                        "smithy.api#documentation": "<p>The maximum number of results to return with a single call.\n  To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>"
1742                    }
1743                }
1744            }
1745        },
1746        "com.amazonaws.ram#ListResourceSharePermissionsResponse": {
1747            "type": "structure",
1748            "members": {
1749                "permissions": {
1750                    "target": "com.amazonaws.ram#ResourceSharePermissionList",
1751                    "traits": {
1752                        "smithy.api#documentation": "<p>The permissions associated with the resource share.</p>"
1753                    }
1754                },
1755                "nextToken": {
1756                    "target": "com.amazonaws.ram#String",
1757                    "traits": {
1758                        "smithy.api#documentation": "<p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
1759                    }
1760                }
1761            }
1762        },
1763        "com.amazonaws.ram#ListResourceTypes": {
1764            "type": "operation",
1765            "input": {
1766                "target": "com.amazonaws.ram#ListResourceTypesRequest"
1767            },
1768            "output": {
1769                "target": "com.amazonaws.ram#ListResourceTypesResponse"
1770            },
1771            "errors": [
1772                {
1773                    "target": "com.amazonaws.ram#InvalidNextTokenException"
1774                },
1775                {
1776                    "target": "com.amazonaws.ram#InvalidParameterException"
1777                },
1778                {
1779                    "target": "com.amazonaws.ram#ServerInternalException"
1780                },
1781                {
1782                    "target": "com.amazonaws.ram#ServiceUnavailableException"
1783                }
1784            ],
1785            "traits": {
1786                "smithy.api#documentation": "<p>Lists the shareable resource types supported by AWS RAM.</p>",
1787                "smithy.api#http": {
1788                    "method": "POST",
1789                    "uri": "/listresourcetypes",
1790                    "code": 200
1791                }
1792            }
1793        },
1794        "com.amazonaws.ram#ListResourceTypesRequest": {
1795            "type": "structure",
1796            "members": {
1797                "nextToken": {
1798                    "target": "com.amazonaws.ram#String",
1799                    "traits": {
1800                        "smithy.api#documentation": "<p>The token for the next page of results.</p>"
1801                    }
1802                },
1803                "maxResults": {
1804                    "target": "com.amazonaws.ram#MaxResults",
1805                    "traits": {
1806                        "smithy.api#documentation": "<p>The maximum number of results to return with a single call.\n  To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>"
1807                    }
1808                }
1809            }
1810        },
1811        "com.amazonaws.ram#ListResourceTypesResponse": {
1812            "type": "structure",
1813            "members": {
1814                "resourceTypes": {
1815                    "target": "com.amazonaws.ram#ServiceNameAndResourceTypeList",
1816                    "traits": {
1817                        "smithy.api#documentation": "<p>The shareable resource types supported by AWS RAM.</p>"
1818                    }
1819                },
1820                "nextToken": {
1821                    "target": "com.amazonaws.ram#String",
1822                    "traits": {
1823                        "smithy.api#documentation": "<p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
1824                    }
1825                }
1826            }
1827        },
1828        "com.amazonaws.ram#ListResources": {
1829            "type": "operation",
1830            "input": {
1831                "target": "com.amazonaws.ram#ListResourcesRequest"
1832            },
1833            "output": {
1834                "target": "com.amazonaws.ram#ListResourcesResponse"
1835            },
1836            "errors": [
1837                {
1838                    "target": "com.amazonaws.ram#InvalidNextTokenException"
1839                },
1840                {
1841                    "target": "com.amazonaws.ram#InvalidParameterException"
1842                },
1843                {
1844                    "target": "com.amazonaws.ram#InvalidResourceTypeException"
1845                },
1846                {
1847                    "target": "com.amazonaws.ram#MalformedArnException"
1848                },
1849                {
1850                    "target": "com.amazonaws.ram#ServerInternalException"
1851                },
1852                {
1853                    "target": "com.amazonaws.ram#ServiceUnavailableException"
1854                },
1855                {
1856                    "target": "com.amazonaws.ram#UnknownResourceException"
1857                }
1858            ],
1859            "traits": {
1860                "smithy.api#documentation": "<p>Lists the resources that you added to a resource shares or the resources that are shared with you.</p>",
1861                "smithy.api#http": {
1862                    "method": "POST",
1863                    "uri": "/listresources",
1864                    "code": 200
1865                },
1866                "smithy.api#paginated": {
1867                    "inputToken": "nextToken",
1868                    "outputToken": "nextToken",
1869                    "pageSize": "maxResults"
1870                }
1871            }
1872        },
1873        "com.amazonaws.ram#ListResourcesRequest": {
1874            "type": "structure",
1875            "members": {
1876                "resourceOwner": {
1877                    "target": "com.amazonaws.ram#ResourceOwner",
1878                    "traits": {
1879                        "smithy.api#documentation": "<p>The type of owner.</p>",
1880                        "smithy.api#required": {}
1881                    }
1882                },
1883                "principal": {
1884                    "target": "com.amazonaws.ram#String",
1885                    "traits": {
1886                        "smithy.api#documentation": "<p>The principal.</p>"
1887                    }
1888                },
1889                "resourceType": {
1890                    "target": "com.amazonaws.ram#String",
1891                    "traits": {
1892                        "smithy.api#documentation": "<p>The resource type.</p>\n   \t     <p>Valid values: <code>acm-pca:CertificateAuthority</code> | <code>appmesh:Mesh</code> | <code>codebuild:Project</code> | <code>codebuild:ReportGroup</code> | <code>ec2:CapacityReservation</code> | <code>ec2:DedicatedHost</code> | <code>ec2:LocalGatewayRouteTable</code> | <code>ec2:PrefixList</code> | <code>ec2:Subnet</code> | <code>ec2:TrafficMirrorTarget</code> | <code>ec2:TransitGateway</code> | <code>imagebuilder:Component</code> | <code>imagebuilder:Image</code> | <code>imagebuilder:ImageRecipe</code> | <code>imagebuilder:ContainerRecipe</code> | <code>glue:Catalog</code> | <code>glue:Database</code> | <code>glue:Table</code> | <code>license-manager:LicenseConfiguration</code> I <code>network-firewall:FirewallPolicy</code> | <code>network-firewall:StatefulRuleGroup</code> | <code>network-firewall:StatelessRuleGroup</code> | <code>outposts:Outpost</code> | <code>resource-groups:Group</code> | <code>rds:Cluster</code> | <code>route53resolver:FirewallRuleGroup</code> |<code>route53resolver:ResolverQueryLogConfig</code> | <code>route53resolver:ResolverRule</code>\n         </p>"
1893                    }
1894                },
1895                "resourceArns": {
1896                    "target": "com.amazonaws.ram#ResourceArnList",
1897                    "traits": {
1898                        "smithy.api#documentation": "<p>The Amazon Resource Names (ARN) of the resources.</p>"
1899                    }
1900                },
1901                "resourceShareArns": {
1902                    "target": "com.amazonaws.ram#ResourceShareArnList",
1903                    "traits": {
1904                        "smithy.api#documentation": "<p>The Amazon Resource Names (ARN) of the resource shares.</p>"
1905                    }
1906                },
1907                "nextToken": {
1908                    "target": "com.amazonaws.ram#String",
1909                    "traits": {
1910                        "smithy.api#documentation": "<p>The token for the next page of results.</p>"
1911                    }
1912                },
1913                "maxResults": {
1914                    "target": "com.amazonaws.ram#MaxResults",
1915                    "traits": {
1916                        "smithy.api#documentation": "<p>The maximum number of results to return with a single call.\n  To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>"
1917                    }
1918                }
1919            }
1920        },
1921        "com.amazonaws.ram#ListResourcesResponse": {
1922            "type": "structure",
1923            "members": {
1924                "resources": {
1925                    "target": "com.amazonaws.ram#ResourceList",
1926                    "traits": {
1927                        "smithy.api#documentation": "<p>Information about the resources.</p>"
1928                    }
1929                },
1930                "nextToken": {
1931                    "target": "com.amazonaws.ram#String",
1932                    "traits": {
1933                        "smithy.api#documentation": "<p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
1934                    }
1935                }
1936            }
1937        },
1938        "com.amazonaws.ram#MalformedArnException": {
1939            "type": "structure",
1940            "members": {
1941                "message": {
1942                    "target": "com.amazonaws.ram#String",
1943                    "traits": {
1944                        "smithy.api#required": {}
1945                    }
1946                }
1947            },
1948            "traits": {
1949                "smithy.api#documentation": "<p>The format of an Amazon Resource Name (ARN) is not valid.</p>",
1950                "smithy.api#error": "client",
1951                "smithy.api#httpError": 400
1952            }
1953        },
1954        "com.amazonaws.ram#MaxResults": {
1955            "type": "integer",
1956            "traits": {
1957                "smithy.api#box": {},
1958                "smithy.api#range": {
1959                    "min": 1,
1960                    "max": 500
1961                }
1962            }
1963        },
1964        "com.amazonaws.ram#MissingRequiredParameterException": {
1965            "type": "structure",
1966            "members": {
1967                "message": {
1968                    "target": "com.amazonaws.ram#String",
1969                    "traits": {
1970                        "smithy.api#required": {}
1971                    }
1972                }
1973            },
1974            "traits": {
1975                "smithy.api#documentation": "<p>A required input parameter is missing.</p>",
1976                "smithy.api#error": "client",
1977                "smithy.api#httpError": 400
1978            }
1979        },
1980        "com.amazonaws.ram#OperationNotPermittedException": {
1981            "type": "structure",
1982            "members": {
1983                "message": {
1984                    "target": "com.amazonaws.ram#String",
1985                    "traits": {
1986                        "smithy.api#required": {}
1987                    }
1988                }
1989            },
1990            "traits": {
1991                "smithy.api#documentation": "<p>The requested operation is not permitted.</p>",
1992                "smithy.api#error": "client",
1993                "smithy.api#httpError": 400
1994            }
1995        },
1996        "com.amazonaws.ram#PermissionArnList": {
1997            "type": "list",
1998            "member": {
1999                "target": "com.amazonaws.ram#String",
2000                "traits": {
2001                    "smithy.api#xmlName": "item"
2002                }
2003            }
2004        },
2005        "com.amazonaws.ram#Policy": {
2006            "type": "string"
2007        },
2008        "com.amazonaws.ram#PolicyList": {
2009            "type": "list",
2010            "member": {
2011                "target": "com.amazonaws.ram#Policy",
2012                "traits": {
2013                    "smithy.api#xmlName": "item"
2014                }
2015            }
2016        },
2017        "com.amazonaws.ram#Principal": {
2018            "type": "structure",
2019            "members": {
2020                "id": {
2021                    "target": "com.amazonaws.ram#String",
2022                    "traits": {
2023                        "smithy.api#documentation": "<p>The ID of the principal.</p>"
2024                    }
2025                },
2026                "resourceShareArn": {
2027                    "target": "com.amazonaws.ram#String",
2028                    "traits": {
2029                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource share.</p>"
2030                    }
2031                },
2032                "creationTime": {
2033                    "target": "com.amazonaws.ram#DateTime",
2034                    "traits": {
2035                        "smithy.api#documentation": "<p>The time when the principal was associated with the resource share.</p>"
2036                    }
2037                },
2038                "lastUpdatedTime": {
2039                    "target": "com.amazonaws.ram#DateTime",
2040                    "traits": {
2041                        "smithy.api#documentation": "<p>The time when the association was last updated.</p>"
2042                    }
2043                },
2044                "external": {
2045                    "target": "com.amazonaws.ram#Boolean",
2046                    "traits": {
2047                        "smithy.api#documentation": "<p>Indicates whether the principal belongs to the same AWS organization as the AWS account that owns the resource share.</p>"
2048                    }
2049                }
2050            },
2051            "traits": {
2052                "smithy.api#documentation": "<p>Describes a principal for use with AWS Resource Access Manager.</p>"
2053            }
2054        },
2055        "com.amazonaws.ram#PrincipalArnOrIdList": {
2056            "type": "list",
2057            "member": {
2058                "target": "com.amazonaws.ram#String",
2059                "traits": {
2060                    "smithy.api#xmlName": "item"
2061                }
2062            }
2063        },
2064        "com.amazonaws.ram#PrincipalList": {
2065            "type": "list",
2066            "member": {
2067                "target": "com.amazonaws.ram#Principal",
2068                "traits": {
2069                    "smithy.api#xmlName": "item"
2070                }
2071            }
2072        },
2073        "com.amazonaws.ram#PromoteResourceShareCreatedFromPolicy": {
2074            "type": "operation",
2075            "input": {
2076                "target": "com.amazonaws.ram#PromoteResourceShareCreatedFromPolicyRequest"
2077            },
2078            "output": {
2079                "target": "com.amazonaws.ram#PromoteResourceShareCreatedFromPolicyResponse"
2080            },
2081            "errors": [
2082                {
2083                    "target": "com.amazonaws.ram#InvalidParameterException"
2084                },
2085                {
2086                    "target": "com.amazonaws.ram#MalformedArnException"
2087                },
2088                {
2089                    "target": "com.amazonaws.ram#MissingRequiredParameterException"
2090                },
2091                {
2092                    "target": "com.amazonaws.ram#OperationNotPermittedException"
2093                },
2094                {
2095                    "target": "com.amazonaws.ram#ServerInternalException"
2096                },
2097                {
2098                    "target": "com.amazonaws.ram#ServiceUnavailableException"
2099                },
2100                {
2101                    "target": "com.amazonaws.ram#UnknownResourceException"
2102                }
2103            ],
2104            "traits": {
2105                "smithy.api#documentation": "<p>Resource shares that were created by attaching a policy to a resource are visible only to\n\t\t\tthe resource share owner, and the resource share cannot be modified in AWS RAM.</p>\n    \t\n    \t    <p>Use this API action to promote the resource share. When you promote the resource share,\n\t\t\tit becomes:</p>\n    \t    <ul>\n            <li>\n    \t\t\t        <p>Visible to all principals that it is shared with.</p>\n    \t\t      </li>\n            <li>\n    \t\t\t        <p>Modifiable in AWS RAM.</p>\n    \t\t      </li>\n         </ul>",
2106                "smithy.api#http": {
2107                    "method": "POST",
2108                    "uri": "/promoteresourcesharecreatedfrompolicy",
2109                    "code": 200
2110                }
2111            }
2112        },
2113        "com.amazonaws.ram#PromoteResourceShareCreatedFromPolicyRequest": {
2114            "type": "structure",
2115            "members": {
2116                "resourceShareArn": {
2117                    "target": "com.amazonaws.ram#String",
2118                    "traits": {
2119                        "smithy.api#documentation": "<p>The ARN of the resource share to promote.</p>",
2120                        "smithy.api#httpQuery": "resourceShareArn",
2121                        "smithy.api#required": {}
2122                    }
2123                }
2124            }
2125        },
2126        "com.amazonaws.ram#PromoteResourceShareCreatedFromPolicyResponse": {
2127            "type": "structure",
2128            "members": {
2129                "returnValue": {
2130                    "target": "com.amazonaws.ram#Boolean",
2131                    "traits": {
2132                        "smithy.api#documentation": "<p>Indicates whether the request succeeded.</p>",
2133                        "smithy.api#xmlName": "return"
2134                    }
2135                }
2136            }
2137        },
2138        "com.amazonaws.ram#RejectResourceShareInvitation": {
2139            "type": "operation",
2140            "input": {
2141                "target": "com.amazonaws.ram#RejectResourceShareInvitationRequest"
2142            },
2143            "output": {
2144                "target": "com.amazonaws.ram#RejectResourceShareInvitationResponse"
2145            },
2146            "errors": [
2147                {
2148                    "target": "com.amazonaws.ram#IdempotentParameterMismatchException"
2149                },
2150                {
2151                    "target": "com.amazonaws.ram#InvalidClientTokenException"
2152                },
2153                {
2154                    "target": "com.amazonaws.ram#MalformedArnException"
2155                },
2156                {
2157                    "target": "com.amazonaws.ram#OperationNotPermittedException"
2158                },
2159                {
2160                    "target": "com.amazonaws.ram#ResourceShareInvitationAlreadyAcceptedException"
2161                },
2162                {
2163                    "target": "com.amazonaws.ram#ResourceShareInvitationAlreadyRejectedException"
2164                },
2165                {
2166                    "target": "com.amazonaws.ram#ResourceShareInvitationArnNotFoundException"
2167                },
2168                {
2169                    "target": "com.amazonaws.ram#ResourceShareInvitationExpiredException"
2170                },
2171                {
2172                    "target": "com.amazonaws.ram#ServerInternalException"
2173                },
2174                {
2175                    "target": "com.amazonaws.ram#ServiceUnavailableException"
2176                }
2177            ],
2178            "traits": {
2179                "smithy.api#documentation": "<p>Rejects an invitation to a resource share from another AWS account.</p>",
2180                "smithy.api#http": {
2181                    "method": "POST",
2182                    "uri": "/rejectresourceshareinvitation",
2183                    "code": 200
2184                }
2185            }
2186        },
2187        "com.amazonaws.ram#RejectResourceShareInvitationRequest": {
2188            "type": "structure",
2189            "members": {
2190                "resourceShareInvitationArn": {
2191                    "target": "com.amazonaws.ram#String",
2192                    "traits": {
2193                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the invitation.</p>",
2194                        "smithy.api#required": {}
2195                    }
2196                },
2197                "clientToken": {
2198                    "target": "com.amazonaws.ram#String",
2199                    "traits": {
2200                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
2201                    }
2202                }
2203            }
2204        },
2205        "com.amazonaws.ram#RejectResourceShareInvitationResponse": {
2206            "type": "structure",
2207            "members": {
2208                "resourceShareInvitation": {
2209                    "target": "com.amazonaws.ram#ResourceShareInvitation",
2210                    "traits": {
2211                        "smithy.api#documentation": "<p>Information about the invitation.</p>"
2212                    }
2213                },
2214                "clientToken": {
2215                    "target": "com.amazonaws.ram#String",
2216                    "traits": {
2217                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
2218                    }
2219                }
2220            }
2221        },
2222        "com.amazonaws.ram#Resource": {
2223            "type": "structure",
2224            "members": {
2225                "arn": {
2226                    "target": "com.amazonaws.ram#String",
2227                    "traits": {
2228                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource.</p>"
2229                    }
2230                },
2231                "type": {
2232                    "target": "com.amazonaws.ram#String",
2233                    "traits": {
2234                        "smithy.api#documentation": "<p>The resource type.</p>"
2235                    }
2236                },
2237                "resourceShareArn": {
2238                    "target": "com.amazonaws.ram#String",
2239                    "traits": {
2240                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource share.</p>"
2241                    }
2242                },
2243                "resourceGroupArn": {
2244                    "target": "com.amazonaws.ram#String",
2245                    "traits": {
2246                        "smithy.api#documentation": "<p>The ARN of the resource group. This value is returned only if the resource is a resource\n\t\t\tgroup.</p>"
2247                    }
2248                },
2249                "status": {
2250                    "target": "com.amazonaws.ram#ResourceStatus",
2251                    "traits": {
2252                        "smithy.api#documentation": "<p>The status of the resource.</p>"
2253                    }
2254                },
2255                "statusMessage": {
2256                    "target": "com.amazonaws.ram#String",
2257                    "traits": {
2258                        "smithy.api#documentation": "<p>A message about the status of the resource.</p>"
2259                    }
2260                },
2261                "creationTime": {
2262                    "target": "com.amazonaws.ram#DateTime",
2263                    "traits": {
2264                        "smithy.api#documentation": "<p>The time when the resource was associated with the resource share.</p>"
2265                    }
2266                },
2267                "lastUpdatedTime": {
2268                    "target": "com.amazonaws.ram#DateTime",
2269                    "traits": {
2270                        "smithy.api#documentation": "<p>The time when the association was last updated.</p>"
2271                    }
2272                }
2273            },
2274            "traits": {
2275                "smithy.api#documentation": "<p>Describes a resource associated with a resource share.</p>"
2276            }
2277        },
2278        "com.amazonaws.ram#ResourceArnList": {
2279            "type": "list",
2280            "member": {
2281                "target": "com.amazonaws.ram#String",
2282                "traits": {
2283                    "smithy.api#xmlName": "item"
2284                }
2285            }
2286        },
2287        "com.amazonaws.ram#ResourceArnNotFoundException": {
2288            "type": "structure",
2289            "members": {
2290                "message": {
2291                    "target": "com.amazonaws.ram#String",
2292                    "traits": {
2293                        "smithy.api#required": {}
2294                    }
2295                }
2296            },
2297            "traits": {
2298                "smithy.api#documentation": "<p>An Amazon Resource Name (ARN) was not found.</p>",
2299                "smithy.api#error": "client",
2300                "smithy.api#httpError": 400
2301            }
2302        },
2303        "com.amazonaws.ram#ResourceList": {
2304            "type": "list",
2305            "member": {
2306                "target": "com.amazonaws.ram#Resource",
2307                "traits": {
2308                    "smithy.api#xmlName": "item"
2309                }
2310            }
2311        },
2312        "com.amazonaws.ram#ResourceOwner": {
2313            "type": "string",
2314            "traits": {
2315                "smithy.api#enum": [
2316                    {
2317                        "value": "SELF",
2318                        "name": "SELF"
2319                    },
2320                    {
2321                        "value": "OTHER-ACCOUNTS",
2322                        "name": "OTHER_ACCOUNTS"
2323                    }
2324                ]
2325            }
2326        },
2327        "com.amazonaws.ram#ResourceShare": {
2328            "type": "structure",
2329            "members": {
2330                "resourceShareArn": {
2331                    "target": "com.amazonaws.ram#String",
2332                    "traits": {
2333                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource share.</p>"
2334                    }
2335                },
2336                "name": {
2337                    "target": "com.amazonaws.ram#String",
2338                    "traits": {
2339                        "smithy.api#documentation": "<p>The name of the resource share.</p>"
2340                    }
2341                },
2342                "owningAccountId": {
2343                    "target": "com.amazonaws.ram#String",
2344                    "traits": {
2345                        "smithy.api#documentation": "<p>The ID of the AWS account that owns the resource share.</p>"
2346                    }
2347                },
2348                "allowExternalPrincipals": {
2349                    "target": "com.amazonaws.ram#Boolean",
2350                    "traits": {
2351                        "smithy.api#documentation": "<p>Indicates whether principals outside your AWS organization can be associated with a resource share.</p>"
2352                    }
2353                },
2354                "status": {
2355                    "target": "com.amazonaws.ram#ResourceShareStatus",
2356                    "traits": {
2357                        "smithy.api#documentation": "<p>The status of the resource share.</p>"
2358                    }
2359                },
2360                "statusMessage": {
2361                    "target": "com.amazonaws.ram#String",
2362                    "traits": {
2363                        "smithy.api#documentation": "<p>A message about the status of the resource share.</p>"
2364                    }
2365                },
2366                "tags": {
2367                    "target": "com.amazonaws.ram#TagList",
2368                    "traits": {
2369                        "smithy.api#documentation": "<p>The tags for the resource share.</p>"
2370                    }
2371                },
2372                "creationTime": {
2373                    "target": "com.amazonaws.ram#DateTime",
2374                    "traits": {
2375                        "smithy.api#documentation": "<p>The time when the resource share was created.</p>"
2376                    }
2377                },
2378                "lastUpdatedTime": {
2379                    "target": "com.amazonaws.ram#DateTime",
2380                    "traits": {
2381                        "smithy.api#documentation": "<p>The time when the resource share was last updated.</p>"
2382                    }
2383                },
2384                "featureSet": {
2385                    "target": "com.amazonaws.ram#ResourceShareFeatureSet",
2386                    "traits": {
2387                        "smithy.api#documentation": "<p>Indicates how the resource share was created. Possible values include:</p>\n\t        <ul>\n            <li>\n\t\t\t            <p>\n                  <code>CREATED_FROM_POLICY</code> - Indicates that the resource share was created from an AWS Identity\n\t\t\t\t\tand Access Management (AWS IAM) policy attached to a resource. These resource shares are\n\t\t\t\t\tvisible only to the AWS account that created it. They cannot be modified in\n\t\t\t\t\tAWS RAM.</p>\n\t\t          </li>\n            <li>\n\t\t\t            <p>\n                  <code>PROMOTING_TO_STANDARD</code> - The resource share is in the process \n\t\t\t\tof being promoted. For more information, see \n\t\t\t\t<a>PromoteResourceShareCreatedFromPolicy</a>.</p>\n\t\t          </li>\n            <li>\n\t\t\t            <p>\n                  <code>STANDARD</code> - Indicates that the resource share was created in AWS RAM using the console or\n\t\t\t\t\tAPIs. These resource shares are visible to all principals. They can be modified\n\t\t\t\t\tin AWS RAM.</p>\n\t\t          </li>\n         </ul>"
2388                    }
2389                }
2390            },
2391            "traits": {
2392                "smithy.api#documentation": "<p>Describes a resource share.</p>"
2393            }
2394        },
2395        "com.amazonaws.ram#ResourceShareArnList": {
2396            "type": "list",
2397            "member": {
2398                "target": "com.amazonaws.ram#String",
2399                "traits": {
2400                    "smithy.api#xmlName": "item"
2401                }
2402            }
2403        },
2404        "com.amazonaws.ram#ResourceShareAssociation": {
2405            "type": "structure",
2406            "members": {
2407                "resourceShareArn": {
2408                    "target": "com.amazonaws.ram#String",
2409                    "traits": {
2410                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource share.</p>"
2411                    }
2412                },
2413                "resourceShareName": {
2414                    "target": "com.amazonaws.ram#String",
2415                    "traits": {
2416                        "smithy.api#documentation": "<p>The name of the resource share.</p>"
2417                    }
2418                },
2419                "associatedEntity": {
2420                    "target": "com.amazonaws.ram#String",
2421                    "traits": {
2422                        "smithy.api#documentation": "<p>The associated entity. For resource associations, this is the ARN of the resource.\n       For principal associations, this is the ID of an AWS account or the ARN of an OU or\n       organization from AWS Organizations.</p>"
2423                    }
2424                },
2425                "associationType": {
2426                    "target": "com.amazonaws.ram#ResourceShareAssociationType",
2427                    "traits": {
2428                        "smithy.api#documentation": "<p>The association type.</p>"
2429                    }
2430                },
2431                "status": {
2432                    "target": "com.amazonaws.ram#ResourceShareAssociationStatus",
2433                    "traits": {
2434                        "smithy.api#documentation": "<p>The status of the association.</p>"
2435                    }
2436                },
2437                "statusMessage": {
2438                    "target": "com.amazonaws.ram#String",
2439                    "traits": {
2440                        "smithy.api#documentation": "<p>A message about the status of the association.</p>"
2441                    }
2442                },
2443                "creationTime": {
2444                    "target": "com.amazonaws.ram#DateTime",
2445                    "traits": {
2446                        "smithy.api#documentation": "<p>The time when the association was created.</p>"
2447                    }
2448                },
2449                "lastUpdatedTime": {
2450                    "target": "com.amazonaws.ram#DateTime",
2451                    "traits": {
2452                        "smithy.api#documentation": "<p>The time when the association was last updated.</p>"
2453                    }
2454                },
2455                "external": {
2456                    "target": "com.amazonaws.ram#Boolean",
2457                    "traits": {
2458                        "smithy.api#documentation": "<p>Indicates whether the principal belongs to the same AWS organization as the AWS account that owns the resource share.</p>"
2459                    }
2460                }
2461            },
2462            "traits": {
2463                "smithy.api#documentation": "<p>Describes an association with a resource share.</p>"
2464            }
2465        },
2466        "com.amazonaws.ram#ResourceShareAssociationList": {
2467            "type": "list",
2468            "member": {
2469                "target": "com.amazonaws.ram#ResourceShareAssociation",
2470                "traits": {
2471                    "smithy.api#xmlName": "item"
2472                }
2473            }
2474        },
2475        "com.amazonaws.ram#ResourceShareAssociationStatus": {
2476            "type": "string",
2477            "traits": {
2478                "smithy.api#enum": [
2479                    {
2480                        "value": "ASSOCIATING",
2481                        "name": "ASSOCIATING"
2482                    },
2483                    {
2484                        "value": "ASSOCIATED",
2485                        "name": "ASSOCIATED"
2486                    },
2487                    {
2488                        "value": "FAILED",
2489                        "name": "FAILED"
2490                    },
2491                    {
2492                        "value": "DISASSOCIATING",
2493                        "name": "DISASSOCIATING"
2494                    },
2495                    {
2496                        "value": "DISASSOCIATED",
2497                        "name": "DISASSOCIATED"
2498                    }
2499                ]
2500            }
2501        },
2502        "com.amazonaws.ram#ResourceShareAssociationType": {
2503            "type": "string",
2504            "traits": {
2505                "smithy.api#enum": [
2506                    {
2507                        "value": "PRINCIPAL",
2508                        "name": "PRINCIPAL"
2509                    },
2510                    {
2511                        "value": "RESOURCE",
2512                        "name": "RESOURCE"
2513                    }
2514                ]
2515            }
2516        },
2517        "com.amazonaws.ram#ResourceShareFeatureSet": {
2518            "type": "string",
2519            "traits": {
2520                "smithy.api#enum": [
2521                    {
2522                        "value": "CREATED_FROM_POLICY",
2523                        "name": "CREATED_FROM_POLICY"
2524                    },
2525                    {
2526                        "value": "PROMOTING_TO_STANDARD",
2527                        "name": "PROMOTING_TO_STANDARD"
2528                    },
2529                    {
2530                        "value": "STANDARD",
2531                        "name": "STANDARD"
2532                    }
2533                ]
2534            }
2535        },
2536        "com.amazonaws.ram#ResourceShareInvitation": {
2537            "type": "structure",
2538            "members": {
2539                "resourceShareInvitationArn": {
2540                    "target": "com.amazonaws.ram#String",
2541                    "traits": {
2542                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the invitation.</p>"
2543                    }
2544                },
2545                "resourceShareName": {
2546                    "target": "com.amazonaws.ram#String",
2547                    "traits": {
2548                        "smithy.api#documentation": "<p>The name of the resource share.</p>"
2549                    }
2550                },
2551                "resourceShareArn": {
2552                    "target": "com.amazonaws.ram#String",
2553                    "traits": {
2554                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource share.</p>"
2555                    }
2556                },
2557                "senderAccountId": {
2558                    "target": "com.amazonaws.ram#String",
2559                    "traits": {
2560                        "smithy.api#documentation": "<p>The ID of the AWS account that sent the invitation.</p>"
2561                    }
2562                },
2563                "receiverAccountId": {
2564                    "target": "com.amazonaws.ram#String",
2565                    "traits": {
2566                        "smithy.api#documentation": "<p>The ID of the AWS account that received the invitation.</p>"
2567                    }
2568                },
2569                "invitationTimestamp": {
2570                    "target": "com.amazonaws.ram#DateTime",
2571                    "traits": {
2572                        "smithy.api#documentation": "<p>The date and time when the invitation was sent.</p>"
2573                    }
2574                },
2575                "status": {
2576                    "target": "com.amazonaws.ram#ResourceShareInvitationStatus",
2577                    "traits": {
2578                        "smithy.api#documentation": "<p>The status of the invitation.</p>"
2579                    }
2580                },
2581                "resourceShareAssociations": {
2582                    "target": "com.amazonaws.ram#ResourceShareAssociationList",
2583                    "traits": {
2584                        "smithy.api#deprecated": {
2585                            "message": "This member has been deprecated. Use ListPendingInvitationResources."
2586                        },
2587                        "smithy.api#documentation": "<p>To view the resources associated with a pending resource share invitation, use \n      \t<a href=\"https://docs.aws.amazon.com/ram/latest/APIReference/API_ListPendingInvitationResources.html\">\n      \t\tListPendingInvitationResources</a>.</p>"
2588                    }
2589                }
2590            },
2591            "traits": {
2592                "smithy.api#documentation": "<p>Describes an invitation to join a resource share.</p>"
2593            }
2594        },
2595        "com.amazonaws.ram#ResourceShareInvitationAlreadyAcceptedException": {
2596            "type": "structure",
2597            "members": {
2598                "message": {
2599                    "target": "com.amazonaws.ram#String",
2600                    "traits": {
2601                        "smithy.api#required": {}
2602                    }
2603                }
2604            },
2605            "traits": {
2606                "smithy.api#documentation": "<p>The invitation was already accepted.</p>",
2607                "smithy.api#error": "client",
2608                "smithy.api#httpError": 400
2609            }
2610        },
2611        "com.amazonaws.ram#ResourceShareInvitationAlreadyRejectedException": {
2612            "type": "structure",
2613            "members": {
2614                "message": {
2615                    "target": "com.amazonaws.ram#String",
2616                    "traits": {
2617                        "smithy.api#required": {}
2618                    }
2619                }
2620            },
2621            "traits": {
2622                "smithy.api#documentation": "<p>The invitation was already rejected.</p>",
2623                "smithy.api#error": "client",
2624                "smithy.api#httpError": 400
2625            }
2626        },
2627        "com.amazonaws.ram#ResourceShareInvitationArnList": {
2628            "type": "list",
2629            "member": {
2630                "target": "com.amazonaws.ram#String",
2631                "traits": {
2632                    "smithy.api#xmlName": "item"
2633                }
2634            }
2635        },
2636        "com.amazonaws.ram#ResourceShareInvitationArnNotFoundException": {
2637            "type": "structure",
2638            "members": {
2639                "message": {
2640                    "target": "com.amazonaws.ram#String",
2641                    "traits": {
2642                        "smithy.api#required": {}
2643                    }
2644                }
2645            },
2646            "traits": {
2647                "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for an invitation was not found.</p>",
2648                "smithy.api#error": "client",
2649                "smithy.api#httpError": 400
2650            }
2651        },
2652        "com.amazonaws.ram#ResourceShareInvitationExpiredException": {
2653            "type": "structure",
2654            "members": {
2655                "message": {
2656                    "target": "com.amazonaws.ram#String",
2657                    "traits": {
2658                        "smithy.api#required": {}
2659                    }
2660                }
2661            },
2662            "traits": {
2663                "smithy.api#documentation": "<p>The invitation is expired.</p>",
2664                "smithy.api#error": "client",
2665                "smithy.api#httpError": 400
2666            }
2667        },
2668        "com.amazonaws.ram#ResourceShareInvitationList": {
2669            "type": "list",
2670            "member": {
2671                "target": "com.amazonaws.ram#ResourceShareInvitation",
2672                "traits": {
2673                    "smithy.api#xmlName": "item"
2674                }
2675            }
2676        },
2677        "com.amazonaws.ram#ResourceShareInvitationStatus": {
2678            "type": "string",
2679            "traits": {
2680                "smithy.api#enum": [
2681                    {
2682                        "value": "PENDING",
2683                        "name": "PENDING"
2684                    },
2685                    {
2686                        "value": "ACCEPTED",
2687                        "name": "ACCEPTED"
2688                    },
2689                    {
2690                        "value": "REJECTED",
2691                        "name": "REJECTED"
2692                    },
2693                    {
2694                        "value": "EXPIRED",
2695                        "name": "EXPIRED"
2696                    }
2697                ]
2698            }
2699        },
2700        "com.amazonaws.ram#ResourceShareLimitExceededException": {
2701            "type": "structure",
2702            "members": {
2703                "message": {
2704                    "target": "com.amazonaws.ram#String",
2705                    "traits": {
2706                        "smithy.api#required": {}
2707                    }
2708                }
2709            },
2710            "traits": {
2711                "smithy.api#documentation": "<p>The requested resource share exceeds the limit for your account.</p>",
2712                "smithy.api#error": "client",
2713                "smithy.api#httpError": 400
2714            }
2715        },
2716        "com.amazonaws.ram#ResourceShareList": {
2717            "type": "list",
2718            "member": {
2719                "target": "com.amazonaws.ram#ResourceShare",
2720                "traits": {
2721                    "smithy.api#xmlName": "item"
2722                }
2723            }
2724        },
2725        "com.amazonaws.ram#ResourceSharePermissionDetail": {
2726            "type": "structure",
2727            "members": {
2728                "arn": {
2729                    "target": "com.amazonaws.ram#String",
2730                    "traits": {
2731                        "smithy.api#documentation": "<p>The ARN of the permission.</p>"
2732                    }
2733                },
2734                "version": {
2735                    "target": "com.amazonaws.ram#String",
2736                    "traits": {
2737                        "smithy.api#documentation": "<p>The identifier for the version of the permission.</p>"
2738                    }
2739                },
2740                "defaultVersion": {
2741                    "target": "com.amazonaws.ram#Boolean",
2742                    "traits": {
2743                        "smithy.api#documentation": "<p>The identifier for the version of the permission that is set as the \n    \t\tdefault version.</p>"
2744                    }
2745                },
2746                "name": {
2747                    "target": "com.amazonaws.ram#String",
2748                    "traits": {
2749                        "smithy.api#documentation": "<p>The name of the permission.</p>"
2750                    }
2751                },
2752                "resourceType": {
2753                    "target": "com.amazonaws.ram#String",
2754                    "traits": {
2755                        "smithy.api#documentation": "<p>The resource type to which the permission applies.</p>"
2756                    }
2757                },
2758                "permission": {
2759                    "target": "com.amazonaws.ram#String",
2760                    "traits": {
2761                        "smithy.api#documentation": "<p>The permission's effect and actions in JSON format. The <code>effect</code> indicates whether\n\t\t\tthe actions are allowed or denied. The <code>actions</code> list the API actions to\n\t\t\twhich the principal is granted or denied access.</p>"
2762                    }
2763                },
2764                "creationTime": {
2765                    "target": "com.amazonaws.ram#DateTime",
2766                    "traits": {
2767                        "smithy.api#documentation": "<p>The date and time when the permission was created.</p>"
2768                    }
2769                },
2770                "lastUpdatedTime": {
2771                    "target": "com.amazonaws.ram#DateTime",
2772                    "traits": {
2773                        "smithy.api#documentation": "<p>The date and time when the permission was last updated.</p>"
2774                    }
2775                }
2776            },
2777            "traits": {
2778                "smithy.api#documentation": "<p>Information about an AWS RAM permission.</p>"
2779            }
2780        },
2781        "com.amazonaws.ram#ResourceSharePermissionList": {
2782            "type": "list",
2783            "member": {
2784                "target": "com.amazonaws.ram#ResourceSharePermissionSummary",
2785                "traits": {
2786                    "smithy.api#xmlName": "item"
2787                }
2788            }
2789        },
2790        "com.amazonaws.ram#ResourceSharePermissionSummary": {
2791            "type": "structure",
2792            "members": {
2793                "arn": {
2794                    "target": "com.amazonaws.ram#String",
2795                    "traits": {
2796                        "smithy.api#documentation": "<p>The ARN of the permission.</p>"
2797                    }
2798                },
2799                "version": {
2800                    "target": "com.amazonaws.ram#String",
2801                    "traits": {
2802                        "smithy.api#documentation": "<p>The identifier for the version of the permission.</p>"
2803                    }
2804                },
2805                "defaultVersion": {
2806                    "target": "com.amazonaws.ram#Boolean",
2807                    "traits": {
2808                        "smithy.api#documentation": "<p>The identifier for the version of the permission that is set as the default version.</p>"
2809                    }
2810                },
2811                "name": {
2812                    "target": "com.amazonaws.ram#String",
2813                    "traits": {
2814                        "smithy.api#documentation": "<p>The name of the permission.</p>"
2815                    }
2816                },
2817                "resourceType": {
2818                    "target": "com.amazonaws.ram#String",
2819                    "traits": {
2820                        "smithy.api#documentation": "<p>The type of resource to which the permission applies.</p>"
2821                    }
2822                },
2823                "status": {
2824                    "target": "com.amazonaws.ram#String",
2825                    "traits": {
2826                        "smithy.api#documentation": "<p>The current status of the permission.</p>"
2827                    }
2828                },
2829                "creationTime": {
2830                    "target": "com.amazonaws.ram#DateTime",
2831                    "traits": {
2832                        "smithy.api#documentation": "<p>The date and time when the permission was created.</p>"
2833                    }
2834                },
2835                "lastUpdatedTime": {
2836                    "target": "com.amazonaws.ram#DateTime",
2837                    "traits": {
2838                        "smithy.api#documentation": "<p>The date and time when the permission was last updated.</p>"
2839                    }
2840                }
2841            },
2842            "traits": {
2843                "smithy.api#documentation": "<p>Information about a permission that is associated with a resource share.</p>"
2844            }
2845        },
2846        "com.amazonaws.ram#ResourceShareStatus": {
2847            "type": "string",
2848            "traits": {
2849                "smithy.api#enum": [
2850                    {
2851                        "value": "PENDING",
2852                        "name": "PENDING"
2853                    },
2854                    {
2855                        "value": "ACTIVE",
2856                        "name": "ACTIVE"
2857                    },
2858                    {
2859                        "value": "FAILED",
2860                        "name": "FAILED"
2861                    },
2862                    {
2863                        "value": "DELETING",
2864                        "name": "DELETING"
2865                    },
2866                    {
2867                        "value": "DELETED",
2868                        "name": "DELETED"
2869                    }
2870                ]
2871            }
2872        },
2873        "com.amazonaws.ram#ResourceStatus": {
2874            "type": "string",
2875            "traits": {
2876                "smithy.api#enum": [
2877                    {
2878                        "value": "AVAILABLE",
2879                        "name": "AVAILABLE"
2880                    },
2881                    {
2882                        "value": "ZONAL_RESOURCE_INACCESSIBLE",
2883                        "name": "ZONAL_RESOURCE_INACCESSIBLE"
2884                    },
2885                    {
2886                        "value": "LIMIT_EXCEEDED",
2887                        "name": "LIMIT_EXCEEDED"
2888                    },
2889                    {
2890                        "value": "UNAVAILABLE",
2891                        "name": "UNAVAILABLE"
2892                    },
2893                    {
2894                        "value": "PENDING",
2895                        "name": "PENDING"
2896                    }
2897                ]
2898            }
2899        },
2900        "com.amazonaws.ram#ServerInternalException": {
2901            "type": "structure",
2902            "members": {
2903                "message": {
2904                    "target": "com.amazonaws.ram#String",
2905                    "traits": {
2906                        "smithy.api#required": {}
2907                    }
2908                }
2909            },
2910            "traits": {
2911                "smithy.api#documentation": "<p>The service could not respond to the request due to an internal problem.</p>",
2912                "smithy.api#error": "server",
2913                "smithy.api#httpError": 500
2914            }
2915        },
2916        "com.amazonaws.ram#ServiceNameAndResourceType": {
2917            "type": "structure",
2918            "members": {
2919                "resourceType": {
2920                    "target": "com.amazonaws.ram#String",
2921                    "traits": {
2922                        "smithy.api#documentation": "<p>The shareable resource types.</p>"
2923                    }
2924                },
2925                "serviceName": {
2926                    "target": "com.amazonaws.ram#String",
2927                    "traits": {
2928                        "smithy.api#documentation": "<p>The name of the AWS services to which the resources belong.</p>"
2929                    }
2930                }
2931            },
2932            "traits": {
2933                "smithy.api#documentation": "<p>Information about the shareable resource types and the AWS services to which they belong.</p>"
2934            }
2935        },
2936        "com.amazonaws.ram#ServiceNameAndResourceTypeList": {
2937            "type": "list",
2938            "member": {
2939                "target": "com.amazonaws.ram#ServiceNameAndResourceType",
2940                "traits": {
2941                    "smithy.api#xmlName": "item"
2942                }
2943            }
2944        },
2945        "com.amazonaws.ram#ServiceUnavailableException": {
2946            "type": "structure",
2947            "members": {
2948                "message": {
2949                    "target": "com.amazonaws.ram#String",
2950                    "traits": {
2951                        "smithy.api#required": {}
2952                    }
2953                }
2954            },
2955            "traits": {
2956                "smithy.api#documentation": "<p>The service is not available.</p>",
2957                "smithy.api#error": "server",
2958                "smithy.api#httpError": 503
2959            }
2960        },
2961        "com.amazonaws.ram#String": {
2962            "type": "string"
2963        },
2964        "com.amazonaws.ram#Tag": {
2965            "type": "structure",
2966            "members": {
2967                "key": {
2968                    "target": "com.amazonaws.ram#TagKey",
2969                    "traits": {
2970                        "smithy.api#documentation": "<p>The key of the tag.</p>"
2971                    }
2972                },
2973                "value": {
2974                    "target": "com.amazonaws.ram#TagValue",
2975                    "traits": {
2976                        "smithy.api#documentation": "<p>The value of the tag.</p>"
2977                    }
2978                }
2979            },
2980            "traits": {
2981                "smithy.api#documentation": "<p>Information about a tag.</p>"
2982            }
2983        },
2984        "com.amazonaws.ram#TagFilter": {
2985            "type": "structure",
2986            "members": {
2987                "tagKey": {
2988                    "target": "com.amazonaws.ram#TagKey",
2989                    "traits": {
2990                        "smithy.api#documentation": "<p>The tag key.</p>"
2991                    }
2992                },
2993                "tagValues": {
2994                    "target": "com.amazonaws.ram#TagValueList",
2995                    "traits": {
2996                        "smithy.api#documentation": "<p>The tag values.</p>"
2997                    }
2998                }
2999            },
3000            "traits": {
3001                "smithy.api#documentation": "<p>Used to filter information based on tags.</p>"
3002            }
3003        },
3004        "com.amazonaws.ram#TagFilters": {
3005            "type": "list",
3006            "member": {
3007                "target": "com.amazonaws.ram#TagFilter"
3008            }
3009        },
3010        "com.amazonaws.ram#TagKey": {
3011            "type": "string"
3012        },
3013        "com.amazonaws.ram#TagKeyList": {
3014            "type": "list",
3015            "member": {
3016                "target": "com.amazonaws.ram#TagKey"
3017            }
3018        },
3019        "com.amazonaws.ram#TagLimitExceededException": {
3020            "type": "structure",
3021            "members": {
3022                "message": {
3023                    "target": "com.amazonaws.ram#String",
3024                    "traits": {
3025                        "smithy.api#required": {}
3026                    }
3027                }
3028            },
3029            "traits": {
3030                "smithy.api#documentation": "<p>The requested tags exceed the limit for your account.</p>",
3031                "smithy.api#error": "client",
3032                "smithy.api#httpError": 400
3033            }
3034        },
3035        "com.amazonaws.ram#TagList": {
3036            "type": "list",
3037            "member": {
3038                "target": "com.amazonaws.ram#Tag"
3039            }
3040        },
3041        "com.amazonaws.ram#TagPolicyViolationException": {
3042            "type": "structure",
3043            "members": {
3044                "message": {
3045                    "target": "com.amazonaws.ram#String",
3046                    "traits": {
3047                        "smithy.api#required": {}
3048                    }
3049                }
3050            },
3051            "traits": {
3052                "smithy.api#documentation": "<p>The specified tag is a reserved word and cannot be used.</p>",
3053                "smithy.api#error": "client",
3054                "smithy.api#httpError": 400
3055            }
3056        },
3057        "com.amazonaws.ram#TagResource": {
3058            "type": "operation",
3059            "input": {
3060                "target": "com.amazonaws.ram#TagResourceRequest"
3061            },
3062            "output": {
3063                "target": "com.amazonaws.ram#TagResourceResponse"
3064            },
3065            "errors": [
3066                {
3067                    "target": "com.amazonaws.ram#InvalidParameterException"
3068                },
3069                {
3070                    "target": "com.amazonaws.ram#MalformedArnException"
3071                },
3072                {
3073                    "target": "com.amazonaws.ram#ResourceArnNotFoundException"
3074                },
3075                {
3076                    "target": "com.amazonaws.ram#ServerInternalException"
3077                },
3078                {
3079                    "target": "com.amazonaws.ram#ServiceUnavailableException"
3080                },
3081                {
3082                    "target": "com.amazonaws.ram#TagLimitExceededException"
3083                },
3084                {
3085                    "target": "com.amazonaws.ram#TagPolicyViolationException"
3086                }
3087            ],
3088            "traits": {
3089                "smithy.api#documentation": "<p>Adds the specified tags to the specified resource share that you own.</p>",
3090                "smithy.api#http": {
3091                    "method": "POST",
3092                    "uri": "/tagresource",
3093                    "code": 200
3094                }
3095            }
3096        },
3097        "com.amazonaws.ram#TagResourceRequest": {
3098            "type": "structure",
3099            "members": {
3100                "resourceShareArn": {
3101                    "target": "com.amazonaws.ram#String",
3102                    "traits": {
3103                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource share.</p>",
3104                        "smithy.api#required": {}
3105                    }
3106                },
3107                "tags": {
3108                    "target": "com.amazonaws.ram#TagList",
3109                    "traits": {
3110                        "smithy.api#documentation": "<p>One or more tags.</p>",
3111                        "smithy.api#required": {}
3112                    }
3113                }
3114            }
3115        },
3116        "com.amazonaws.ram#TagResourceResponse": {
3117            "type": "structure",
3118            "members": {}
3119        },
3120        "com.amazonaws.ram#TagValue": {
3121            "type": "string"
3122        },
3123        "com.amazonaws.ram#TagValueList": {
3124            "type": "list",
3125            "member": {
3126                "target": "com.amazonaws.ram#TagValue"
3127            }
3128        },
3129        "com.amazonaws.ram#UnknownResourceException": {
3130            "type": "structure",
3131            "members": {
3132                "message": {
3133                    "target": "com.amazonaws.ram#String",
3134                    "traits": {
3135                        "smithy.api#required": {}
3136                    }
3137                }
3138            },
3139            "traits": {
3140                "smithy.api#documentation": "<p>A specified resource was not found.</p>",
3141                "smithy.api#error": "client",
3142                "smithy.api#httpError": 400
3143            }
3144        },
3145        "com.amazonaws.ram#UntagResource": {
3146            "type": "operation",
3147            "input": {
3148                "target": "com.amazonaws.ram#UntagResourceRequest"
3149            },
3150            "output": {
3151                "target": "com.amazonaws.ram#UntagResourceResponse"
3152            },
3153            "errors": [
3154                {
3155                    "target": "com.amazonaws.ram#InvalidParameterException"
3156                },
3157                {
3158                    "target": "com.amazonaws.ram#ServerInternalException"
3159                },
3160                {
3161                    "target": "com.amazonaws.ram#ServiceUnavailableException"
3162                }
3163            ],
3164            "traits": {
3165                "smithy.api#documentation": "<p>Removes the specified tags from the specified resource share that you own.</p>",
3166                "smithy.api#http": {
3167                    "method": "POST",
3168                    "uri": "/untagresource",
3169                    "code": 200
3170                }
3171            }
3172        },
3173        "com.amazonaws.ram#UntagResourceRequest": {
3174            "type": "structure",
3175            "members": {
3176                "resourceShareArn": {
3177                    "target": "com.amazonaws.ram#String",
3178                    "traits": {
3179                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource share.</p>",
3180                        "smithy.api#required": {}
3181                    }
3182                },
3183                "tagKeys": {
3184                    "target": "com.amazonaws.ram#TagKeyList",
3185                    "traits": {
3186                        "smithy.api#documentation": "<p>The tag keys of the tags to remove.</p>",
3187                        "smithy.api#required": {}
3188                    }
3189                }
3190            }
3191        },
3192        "com.amazonaws.ram#UntagResourceResponse": {
3193            "type": "structure",
3194            "members": {}
3195        },
3196        "com.amazonaws.ram#UpdateResourceShare": {
3197            "type": "operation",
3198            "input": {
3199                "target": "com.amazonaws.ram#UpdateResourceShareRequest"
3200            },
3201            "output": {
3202                "target": "com.amazonaws.ram#UpdateResourceShareResponse"
3203            },
3204            "errors": [
3205                {
3206                    "target": "com.amazonaws.ram#IdempotentParameterMismatchException"
3207                },
3208                {
3209                    "target": "com.amazonaws.ram#InvalidClientTokenException"
3210                },
3211                {
3212                    "target": "com.amazonaws.ram#InvalidParameterException"
3213                },
3214                {
3215                    "target": "com.amazonaws.ram#MalformedArnException"
3216                },
3217                {
3218                    "target": "com.amazonaws.ram#MissingRequiredParameterException"
3219                },
3220                {
3221                    "target": "com.amazonaws.ram#OperationNotPermittedException"
3222                },
3223                {
3224                    "target": "com.amazonaws.ram#ServerInternalException"
3225                },
3226                {
3227                    "target": "com.amazonaws.ram#ServiceUnavailableException"
3228                },
3229                {
3230                    "target": "com.amazonaws.ram#UnknownResourceException"
3231                }
3232            ],
3233            "traits": {
3234                "smithy.api#documentation": "<p>Updates the specified resource share that you own.</p>",
3235                "smithy.api#http": {
3236                    "method": "POST",
3237                    "uri": "/updateresourceshare",
3238                    "code": 200
3239                }
3240            }
3241        },
3242        "com.amazonaws.ram#UpdateResourceShareRequest": {
3243            "type": "structure",
3244            "members": {
3245                "resourceShareArn": {
3246                    "target": "com.amazonaws.ram#String",
3247                    "traits": {
3248                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource share.</p>",
3249                        "smithy.api#required": {}
3250                    }
3251                },
3252                "name": {
3253                    "target": "com.amazonaws.ram#String",
3254                    "traits": {
3255                        "smithy.api#documentation": "<p>The name of the resource share.</p>"
3256                    }
3257                },
3258                "allowExternalPrincipals": {
3259                    "target": "com.amazonaws.ram#Boolean",
3260                    "traits": {
3261                        "smithy.api#documentation": "<p>Indicates whether principals outside your AWS organization can be associated with a resource share.</p>"
3262                    }
3263                },
3264                "clientToken": {
3265                    "target": "com.amazonaws.ram#String",
3266                    "traits": {
3267                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
3268                    }
3269                }
3270            }
3271        },
3272        "com.amazonaws.ram#UpdateResourceShareResponse": {
3273            "type": "structure",
3274            "members": {
3275                "resourceShare": {
3276                    "target": "com.amazonaws.ram#ResourceShare",
3277                    "traits": {
3278                        "smithy.api#documentation": "<p>Information about the resource share.</p>"
3279                    }
3280                },
3281                "clientToken": {
3282                    "target": "com.amazonaws.ram#String",
3283                    "traits": {
3284                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"
3285                    }
3286                }
3287            }
3288        }
3289    }
3290}
3291