@aws-sdk/client-ram 3.31.0 → 3.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (419) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/{dist/cjs → dist-cjs}/RAM.js +2 -2
  3. package/dist-cjs/RAM.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/RAMClient.js +14 -14
  5. package/dist-cjs/RAMClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/AcceptResourceShareInvitationCommand.js +5 -5
  7. package/dist-cjs/commands/AcceptResourceShareInvitationCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/AssociateResourceShareCommand.js +5 -5
  9. package/dist-cjs/commands/AssociateResourceShareCommand.js.map +1 -0
  10. package/{dist/cjs → dist-cjs}/commands/AssociateResourceSharePermissionCommand.js +5 -5
  11. package/dist-cjs/commands/AssociateResourceSharePermissionCommand.js.map +1 -0
  12. package/{dist/cjs → dist-cjs}/commands/CreateResourceShareCommand.js +5 -5
  13. package/dist-cjs/commands/CreateResourceShareCommand.js.map +1 -0
  14. package/{dist/cjs → dist-cjs}/commands/DeleteResourceShareCommand.js +5 -5
  15. package/dist-cjs/commands/DeleteResourceShareCommand.js.map +1 -0
  16. package/{dist/cjs → dist-cjs}/commands/DisassociateResourceShareCommand.js +5 -5
  17. package/dist-cjs/commands/DisassociateResourceShareCommand.js.map +1 -0
  18. package/{dist/cjs → dist-cjs}/commands/DisassociateResourceSharePermissionCommand.js +5 -5
  19. package/dist-cjs/commands/DisassociateResourceSharePermissionCommand.js.map +1 -0
  20. package/{dist/cjs → dist-cjs}/commands/EnableSharingWithAwsOrganizationCommand.js +5 -5
  21. package/dist-cjs/commands/EnableSharingWithAwsOrganizationCommand.js.map +1 -0
  22. package/{dist/cjs → dist-cjs}/commands/GetPermissionCommand.js +5 -5
  23. package/dist-cjs/commands/GetPermissionCommand.js.map +1 -0
  24. package/{dist/cjs → dist-cjs}/commands/GetResourcePoliciesCommand.js +5 -5
  25. package/dist-cjs/commands/GetResourcePoliciesCommand.js.map +1 -0
  26. package/{dist/cjs → dist-cjs}/commands/GetResourceShareAssociationsCommand.js +5 -5
  27. package/dist-cjs/commands/GetResourceShareAssociationsCommand.js.map +1 -0
  28. package/{dist/cjs → dist-cjs}/commands/GetResourceShareInvitationsCommand.js +5 -5
  29. package/dist-cjs/commands/GetResourceShareInvitationsCommand.js.map +1 -0
  30. package/{dist/cjs → dist-cjs}/commands/GetResourceSharesCommand.js +5 -5
  31. package/dist-cjs/commands/GetResourceSharesCommand.js.map +1 -0
  32. package/{dist/cjs → dist-cjs}/commands/ListPendingInvitationResourcesCommand.js +5 -5
  33. package/dist-cjs/commands/ListPendingInvitationResourcesCommand.js.map +1 -0
  34. package/{dist/cjs → dist-cjs}/commands/ListPermissionsCommand.js +5 -5
  35. package/dist-cjs/commands/ListPermissionsCommand.js.map +1 -0
  36. package/{dist/cjs → dist-cjs}/commands/ListPrincipalsCommand.js +5 -5
  37. package/dist-cjs/commands/ListPrincipalsCommand.js.map +1 -0
  38. package/{dist/cjs → dist-cjs}/commands/ListResourceSharePermissionsCommand.js +5 -5
  39. package/dist-cjs/commands/ListResourceSharePermissionsCommand.js.map +1 -0
  40. package/{dist/cjs → dist-cjs}/commands/ListResourceTypesCommand.js +5 -5
  41. package/dist-cjs/commands/ListResourceTypesCommand.js.map +1 -0
  42. package/{dist/cjs → dist-cjs}/commands/ListResourcesCommand.js +5 -5
  43. package/dist-cjs/commands/ListResourcesCommand.js.map +1 -0
  44. package/{dist/cjs → dist-cjs}/commands/PromoteResourceShareCreatedFromPolicyCommand.js +5 -5
  45. package/dist-cjs/commands/PromoteResourceShareCreatedFromPolicyCommand.js.map +1 -0
  46. package/{dist/cjs → dist-cjs}/commands/RejectResourceShareInvitationCommand.js +5 -5
  47. package/dist-cjs/commands/RejectResourceShareInvitationCommand.js.map +1 -0
  48. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +5 -5
  49. package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
  50. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +5 -5
  51. package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
  52. package/{dist/cjs → dist-cjs}/commands/UpdateResourceShareCommand.js +5 -5
  53. package/dist-cjs/commands/UpdateResourceShareCommand.js.map +1 -0
  54. package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
  55. package/dist-cjs/endpoints.js.map +1 -0
  56. package/dist-cjs/index.js +42 -0
  57. package/dist-cjs/index.js.map +1 -0
  58. package/{dist/cjs → dist-cjs}/models/index.js +1 -1
  59. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  60. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  61. package/dist-cjs/models/models_0.js.map +1 -0
  62. package/{dist/cjs → dist-cjs}/pagination/GetResourcePoliciesPaginator.js +1 -1
  63. package/dist-cjs/pagination/GetResourcePoliciesPaginator.js.map +1 -0
  64. package/{dist/cjs → dist-cjs}/pagination/GetResourceShareAssociationsPaginator.js +1 -1
  65. package/dist-cjs/pagination/GetResourceShareAssociationsPaginator.js.map +1 -0
  66. package/{dist/cjs → dist-cjs}/pagination/GetResourceShareInvitationsPaginator.js +1 -1
  67. package/dist-cjs/pagination/GetResourceShareInvitationsPaginator.js.map +1 -0
  68. package/{dist/cjs → dist-cjs}/pagination/GetResourceSharesPaginator.js +1 -1
  69. package/dist-cjs/pagination/GetResourceSharesPaginator.js.map +1 -0
  70. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  71. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
  72. package/{dist/cjs → dist-cjs}/pagination/ListPendingInvitationResourcesPaginator.js +1 -1
  73. package/dist-cjs/pagination/ListPendingInvitationResourcesPaginator.js.map +1 -0
  74. package/{dist/cjs → dist-cjs}/pagination/ListPermissionsPaginator.js +1 -1
  75. package/dist-cjs/pagination/ListPermissionsPaginator.js.map +1 -0
  76. package/{dist/cjs → dist-cjs}/pagination/ListPrincipalsPaginator.js +1 -1
  77. package/dist-cjs/pagination/ListPrincipalsPaginator.js.map +1 -0
  78. package/{dist/cjs → dist-cjs}/pagination/ListResourceSharePermissionsPaginator.js +1 -1
  79. package/dist-cjs/pagination/ListResourceSharePermissionsPaginator.js.map +1 -0
  80. package/{dist/cjs → dist-cjs}/pagination/ListResourceTypesPaginator.js +1 -1
  81. package/dist-cjs/pagination/ListResourceTypesPaginator.js.map +1 -0
  82. package/{dist/cjs → dist-cjs}/pagination/ListResourcesPaginator.js +1 -1
  83. package/dist-cjs/pagination/ListResourcesPaginator.js.map +1 -0
  84. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +153 -153
  85. package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
  86. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
  87. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  88. package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
  89. package/dist-cjs/runtimeConfig.js.map +1 -0
  90. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
  91. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  92. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  93. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  94. package/{dist/es → dist-es}/RAM.js +3 -28
  95. package/dist-es/RAM.js.map +1 -0
  96. package/{dist/es → dist-es}/RAMClient.js +2 -32
  97. package/dist-es/RAMClient.js.map +1 -0
  98. package/{dist/es → dist-es}/commands/AcceptResourceShareInvitationCommand.js +4 -29
  99. package/dist-es/commands/AcceptResourceShareInvitationCommand.js.map +1 -0
  100. package/{dist/es → dist-es}/commands/AssociateResourceShareCommand.js +4 -29
  101. package/dist-es/commands/AssociateResourceShareCommand.js.map +1 -0
  102. package/{dist/es → dist-es}/commands/AssociateResourceSharePermissionCommand.js +4 -29
  103. package/dist-es/commands/AssociateResourceSharePermissionCommand.js.map +1 -0
  104. package/{dist/es → dist-es}/commands/CreateResourceShareCommand.js +4 -36
  105. package/dist-es/commands/CreateResourceShareCommand.js.map +1 -0
  106. package/{dist/es → dist-es}/commands/DeleteResourceShareCommand.js +4 -29
  107. package/dist-es/commands/DeleteResourceShareCommand.js.map +1 -0
  108. package/{dist/es → dist-es}/commands/DisassociateResourceShareCommand.js +4 -29
  109. package/dist-es/commands/DisassociateResourceShareCommand.js.map +1 -0
  110. package/{dist/es → dist-es}/commands/DisassociateResourceSharePermissionCommand.js +4 -29
  111. package/dist-es/commands/DisassociateResourceSharePermissionCommand.js.map +1 -0
  112. package/{dist/es → dist-es}/commands/EnableSharingWithAwsOrganizationCommand.js +4 -30
  113. package/dist-es/commands/EnableSharingWithAwsOrganizationCommand.js.map +1 -0
  114. package/{dist/es → dist-es}/commands/GetPermissionCommand.js +4 -29
  115. package/dist-es/commands/GetPermissionCommand.js.map +1 -0
  116. package/{dist/es → dist-es}/commands/GetResourcePoliciesCommand.js +4 -29
  117. package/dist-es/commands/GetResourcePoliciesCommand.js.map +1 -0
  118. package/{dist/es → dist-es}/commands/GetResourceShareAssociationsCommand.js +4 -29
  119. package/dist-es/commands/GetResourceShareAssociationsCommand.js.map +1 -0
  120. package/{dist/es → dist-es}/commands/GetResourceShareInvitationsCommand.js +4 -29
  121. package/dist-es/commands/GetResourceShareInvitationsCommand.js.map +1 -0
  122. package/{dist/es → dist-es}/commands/GetResourceSharesCommand.js +4 -29
  123. package/dist-es/commands/GetResourceSharesCommand.js.map +1 -0
  124. package/{dist/es → dist-es}/commands/ListPendingInvitationResourcesCommand.js +4 -30
  125. package/dist-es/commands/ListPendingInvitationResourcesCommand.js.map +1 -0
  126. package/{dist/es → dist-es}/commands/ListPermissionsCommand.js +4 -29
  127. package/dist-es/commands/ListPermissionsCommand.js.map +1 -0
  128. package/{dist/es → dist-es}/commands/ListPrincipalsCommand.js +4 -30
  129. package/dist-es/commands/ListPrincipalsCommand.js.map +1 -0
  130. package/{dist/es → dist-es}/commands/ListResourceSharePermissionsCommand.js +4 -29
  131. package/dist-es/commands/ListResourceSharePermissionsCommand.js.map +1 -0
  132. package/{dist/es → dist-es}/commands/ListResourceTypesCommand.js +4 -29
  133. package/dist-es/commands/ListResourceTypesCommand.js.map +1 -0
  134. package/{dist/es → dist-es}/commands/ListResourcesCommand.js +4 -30
  135. package/dist-es/commands/ListResourcesCommand.js.map +1 -0
  136. package/{dist/es → dist-es}/commands/PromoteResourceShareCreatedFromPolicyCommand.js +4 -41
  137. package/dist-es/commands/PromoteResourceShareCreatedFromPolicyCommand.js.map +1 -0
  138. package/{dist/es → dist-es}/commands/RejectResourceShareInvitationCommand.js +4 -29
  139. package/dist-es/commands/RejectResourceShareInvitationCommand.js.map +1 -0
  140. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -29
  141. package/dist-es/commands/TagResourceCommand.js.map +1 -0
  142. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -29
  143. package/dist-es/commands/UntagResourceCommand.js.map +1 -0
  144. package/{dist/es → dist-es}/commands/UpdateResourceShareCommand.js +4 -29
  145. package/dist-es/commands/UpdateResourceShareCommand.js.map +1 -0
  146. package/{dist/es → dist-es}/endpoints.js +1 -1
  147. package/dist-es/endpoints.js.map +1 -0
  148. package/{dist/es → dist-es}/index.js +0 -0
  149. package/dist-es/index.js.map +1 -0
  150. package/{dist/es → dist-es}/models/index.js +0 -0
  151. package/dist-es/models/index.js.map +1 -0
  152. package/{dist/es → dist-es}/models/models_0.js +0 -237
  153. package/dist-es/models/models_0.js.map +1 -0
  154. package/{dist/es → dist-es}/pagination/GetResourcePoliciesPaginator.js +17 -29
  155. package/dist-es/pagination/GetResourcePoliciesPaginator.js.map +1 -0
  156. package/{dist/es → dist-es}/pagination/GetResourceShareAssociationsPaginator.js +17 -29
  157. package/dist-es/pagination/GetResourceShareAssociationsPaginator.js.map +1 -0
  158. package/{dist/es → dist-es}/pagination/GetResourceShareInvitationsPaginator.js +17 -29
  159. package/dist-es/pagination/GetResourceShareInvitationsPaginator.js.map +1 -0
  160. package/{dist/es → dist-es}/pagination/GetResourceSharesPaginator.js +17 -29
  161. package/dist-es/pagination/GetResourceSharesPaginator.js.map +1 -0
  162. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  163. package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
  164. package/{dist/es → dist-es}/pagination/ListPendingInvitationResourcesPaginator.js +17 -29
  165. package/dist-es/pagination/ListPendingInvitationResourcesPaginator.js.map +1 -0
  166. package/{dist/es → dist-es}/pagination/ListPermissionsPaginator.js +17 -29
  167. package/dist-es/pagination/ListPermissionsPaginator.js.map +1 -0
  168. package/{dist/es → dist-es}/pagination/ListPrincipalsPaginator.js +17 -29
  169. package/dist-es/pagination/ListPrincipalsPaginator.js.map +1 -0
  170. package/{dist/es → dist-es}/pagination/ListResourceSharePermissionsPaginator.js +17 -29
  171. package/dist-es/pagination/ListResourceSharePermissionsPaginator.js.map +1 -0
  172. package/{dist/es → dist-es}/pagination/ListResourceTypesPaginator.js +17 -29
  173. package/dist-es/pagination/ListResourceTypesPaginator.js.map +1 -0
  174. package/{dist/es → dist-es}/pagination/ListResourcesPaginator.js +17 -29
  175. package/dist-es/pagination/ListResourcesPaginator.js.map +1 -0
  176. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +921 -926
  177. package/dist-es/protocols/Aws_restJson1.js.map +1 -0
  178. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
  179. package/dist-es/runtimeConfig.browser.js.map +1 -0
  180. package/{dist/es → dist-es}/runtimeConfig.js +2 -5
  181. package/dist-es/runtimeConfig.js.map +1 -0
  182. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
  183. package/dist-es/runtimeConfig.native.js.map +1 -0
  184. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
  185. package/dist-es/runtimeConfig.shared.js.map +1 -0
  186. package/{dist/types → dist-types}/RAM.d.ts +3 -3
  187. package/{dist/types → dist-types}/RAMClient.d.ts +9 -9
  188. package/{dist/types → dist-types}/commands/AcceptResourceShareInvitationCommand.d.ts +3 -3
  189. package/{dist/types → dist-types}/commands/AssociateResourceShareCommand.d.ts +3 -3
  190. package/{dist/types → dist-types}/commands/AssociateResourceSharePermissionCommand.d.ts +3 -3
  191. package/{dist/types → dist-types}/commands/CreateResourceShareCommand.d.ts +3 -3
  192. package/{dist/types → dist-types}/commands/DeleteResourceShareCommand.d.ts +3 -3
  193. package/{dist/types → dist-types}/commands/DisassociateResourceShareCommand.d.ts +3 -3
  194. package/{dist/types → dist-types}/commands/DisassociateResourceSharePermissionCommand.d.ts +3 -3
  195. package/{dist/types → dist-types}/commands/EnableSharingWithAwsOrganizationCommand.d.ts +3 -3
  196. package/{dist/types → dist-types}/commands/GetPermissionCommand.d.ts +3 -3
  197. package/{dist/types → dist-types}/commands/GetResourcePoliciesCommand.d.ts +3 -3
  198. package/{dist/types → dist-types}/commands/GetResourceShareAssociationsCommand.d.ts +3 -3
  199. package/{dist/types → dist-types}/commands/GetResourceShareInvitationsCommand.d.ts +3 -3
  200. package/{dist/types → dist-types}/commands/GetResourceSharesCommand.d.ts +3 -3
  201. package/{dist/types → dist-types}/commands/ListPendingInvitationResourcesCommand.d.ts +3 -3
  202. package/{dist/types → dist-types}/commands/ListPermissionsCommand.d.ts +3 -3
  203. package/{dist/types → dist-types}/commands/ListPrincipalsCommand.d.ts +3 -3
  204. package/{dist/types → dist-types}/commands/ListResourceSharePermissionsCommand.d.ts +3 -3
  205. package/{dist/types → dist-types}/commands/ListResourceTypesCommand.d.ts +3 -3
  206. package/{dist/types → dist-types}/commands/ListResourcesCommand.d.ts +3 -3
  207. package/{dist/types → dist-types}/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +3 -3
  208. package/{dist/types → dist-types}/commands/RejectResourceShareInvitationCommand.d.ts +3 -3
  209. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
  210. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
  211. package/{dist/types → dist-types}/commands/UpdateResourceShareCommand.d.ts +3 -3
  212. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  213. package/{dist/types → dist-types}/index.d.ts +0 -0
  214. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  215. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  216. package/{dist/types → dist-types}/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
  217. package/{dist/types → dist-types}/pagination/GetResourceShareAssociationsPaginator.d.ts +1 -1
  218. package/{dist/types → dist-types}/pagination/GetResourceShareInvitationsPaginator.d.ts +1 -1
  219. package/{dist/types → dist-types}/pagination/GetResourceSharesPaginator.d.ts +1 -1
  220. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  221. package/{dist/types → dist-types}/pagination/ListPendingInvitationResourcesPaginator.d.ts +1 -1
  222. package/{dist/types → dist-types}/pagination/ListPermissionsPaginator.d.ts +1 -1
  223. package/{dist/types → dist-types}/pagination/ListPrincipalsPaginator.d.ts +1 -1
  224. package/{dist/types → dist-types}/pagination/ListResourceSharePermissionsPaginator.d.ts +1 -1
  225. package/{dist/types → dist-types}/pagination/ListResourceTypesPaginator.d.ts +1 -1
  226. package/{dist/types → dist-types}/pagination/ListResourcesPaginator.d.ts +1 -1
  227. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +3 -3
  228. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  229. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  230. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  231. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  232. package/{dist/types → dist-types}/ts3.4/RAM.d.ts +3 -3
  233. package/{dist/types → dist-types}/ts3.4/RAMClient.d.ts +9 -9
  234. package/{dist/types → dist-types}/ts3.4/commands/AcceptResourceShareInvitationCommand.d.ts +3 -3
  235. package/{dist/types → dist-types}/ts3.4/commands/AssociateResourceShareCommand.d.ts +3 -3
  236. package/{dist/types → dist-types}/ts3.4/commands/AssociateResourceSharePermissionCommand.d.ts +3 -3
  237. package/{dist/types → dist-types}/ts3.4/commands/CreateResourceShareCommand.d.ts +3 -3
  238. package/{dist/types → dist-types}/ts3.4/commands/DeleteResourceShareCommand.d.ts +3 -3
  239. package/{dist/types → dist-types}/ts3.4/commands/DisassociateResourceShareCommand.d.ts +3 -3
  240. package/{dist/types → dist-types}/ts3.4/commands/DisassociateResourceSharePermissionCommand.d.ts +3 -3
  241. package/{dist/types → dist-types}/ts3.4/commands/EnableSharingWithAwsOrganizationCommand.d.ts +3 -3
  242. package/{dist/types → dist-types}/ts3.4/commands/GetPermissionCommand.d.ts +3 -3
  243. package/{dist/types → dist-types}/ts3.4/commands/GetResourcePoliciesCommand.d.ts +3 -3
  244. package/{dist/types → dist-types}/ts3.4/commands/GetResourceShareAssociationsCommand.d.ts +3 -3
  245. package/{dist/types → dist-types}/ts3.4/commands/GetResourceShareInvitationsCommand.d.ts +3 -3
  246. package/{dist/types → dist-types}/ts3.4/commands/GetResourceSharesCommand.d.ts +3 -3
  247. package/{dist/types → dist-types}/ts3.4/commands/ListPendingInvitationResourcesCommand.d.ts +3 -3
  248. package/{dist/types → dist-types}/ts3.4/commands/ListPermissionsCommand.d.ts +3 -3
  249. package/{dist/types → dist-types}/ts3.4/commands/ListPrincipalsCommand.d.ts +3 -3
  250. package/{dist/types → dist-types}/ts3.4/commands/ListResourceSharePermissionsCommand.d.ts +3 -3
  251. package/{dist/types → dist-types}/ts3.4/commands/ListResourceTypesCommand.d.ts +3 -3
  252. package/{dist/types → dist-types}/ts3.4/commands/ListResourcesCommand.d.ts +3 -3
  253. package/{dist/types → dist-types}/ts3.4/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +3 -3
  254. package/{dist/types → dist-types}/ts3.4/commands/RejectResourceShareInvitationCommand.d.ts +3 -3
  255. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  256. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  257. package/{dist/types → dist-types}/ts3.4/commands/UpdateResourceShareCommand.d.ts +3 -3
  258. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  259. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  260. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  261. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  262. package/{dist/types → dist-types}/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
  263. package/{dist/types → dist-types}/ts3.4/pagination/GetResourceShareAssociationsPaginator.d.ts +1 -1
  264. package/{dist/types → dist-types}/ts3.4/pagination/GetResourceShareInvitationsPaginator.d.ts +1 -1
  265. package/{dist/types → dist-types}/ts3.4/pagination/GetResourceSharesPaginator.d.ts +1 -1
  266. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  267. package/{dist/types → dist-types}/ts3.4/pagination/ListPendingInvitationResourcesPaginator.d.ts +1 -1
  268. package/{dist/types → dist-types}/ts3.4/pagination/ListPermissionsPaginator.d.ts +1 -1
  269. package/{dist/types → dist-types}/ts3.4/pagination/ListPrincipalsPaginator.d.ts +1 -1
  270. package/{dist/types → dist-types}/ts3.4/pagination/ListResourceSharePermissionsPaginator.d.ts +1 -1
  271. package/{dist/types → dist-types}/ts3.4/pagination/ListResourceTypesPaginator.d.ts +1 -1
  272. package/{dist/types → dist-types}/ts3.4/pagination/ListResourcesPaginator.d.ts +1 -1
  273. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +3 -3
  274. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  275. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  276. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  277. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  278. package/package.json +50 -50
  279. package/{RAM.ts → src/RAM.ts} +8 -7
  280. package/{RAMClient.ts → src/RAMClient.ts} +59 -58
  281. package/{commands → src/commands}/AcceptResourceShareInvitationCommand.ts +8 -7
  282. package/{commands → src/commands}/AssociateResourceShareCommand.ts +8 -7
  283. package/{commands → src/commands}/AssociateResourceSharePermissionCommand.ts +8 -7
  284. package/{commands → src/commands}/CreateResourceShareCommand.ts +8 -7
  285. package/{commands → src/commands}/DeleteResourceShareCommand.ts +8 -7
  286. package/{commands → src/commands}/DisassociateResourceShareCommand.ts +8 -7
  287. package/{commands → src/commands}/DisassociateResourceSharePermissionCommand.ts +11 -10
  288. package/{commands → src/commands}/EnableSharingWithAwsOrganizationCommand.ts +8 -7
  289. package/{commands → src/commands}/GetPermissionCommand.ts +8 -7
  290. package/{commands → src/commands}/GetResourcePoliciesCommand.ts +8 -7
  291. package/{commands → src/commands}/GetResourceShareAssociationsCommand.ts +8 -7
  292. package/{commands → src/commands}/GetResourceShareInvitationsCommand.ts +8 -7
  293. package/{commands → src/commands}/GetResourceSharesCommand.ts +8 -7
  294. package/{commands → src/commands}/ListPendingInvitationResourcesCommand.ts +8 -7
  295. package/{commands → src/commands}/ListPermissionsCommand.ts +8 -7
  296. package/{commands → src/commands}/ListPrincipalsCommand.ts +8 -7
  297. package/{commands → src/commands}/ListResourceSharePermissionsCommand.ts +8 -7
  298. package/{commands → src/commands}/ListResourceTypesCommand.ts +8 -7
  299. package/{commands → src/commands}/ListResourcesCommand.ts +8 -7
  300. package/{commands → src/commands}/PromoteResourceShareCreatedFromPolicyCommand.ts +11 -10
  301. package/{commands → src/commands}/RejectResourceShareInvitationCommand.ts +8 -7
  302. package/{commands → src/commands}/TagResourceCommand.ts +8 -7
  303. package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
  304. package/{commands → src/commands}/UpdateResourceShareCommand.ts +8 -7
  305. package/{endpoints.ts → src/endpoints.ts} +1 -1
  306. package/{index.ts → src/index.ts} +0 -0
  307. package/{models → src/models}/index.ts +0 -0
  308. package/{models → src/models}/models_0.ts +0 -0
  309. package/{pagination → src/pagination}/GetResourcePoliciesPaginator.ts +4 -3
  310. package/{pagination → src/pagination}/GetResourceShareAssociationsPaginator.ts +4 -3
  311. package/{pagination → src/pagination}/GetResourceShareInvitationsPaginator.ts +4 -3
  312. package/{pagination → src/pagination}/GetResourceSharesPaginator.ts +4 -3
  313. package/{pagination → src/pagination}/Interfaces.ts +2 -1
  314. package/{pagination → src/pagination}/ListPendingInvitationResourcesPaginator.ts +4 -3
  315. package/{pagination → src/pagination}/ListPermissionsPaginator.ts +4 -3
  316. package/{pagination → src/pagination}/ListPrincipalsPaginator.ts +4 -3
  317. package/{pagination → src/pagination}/ListResourceSharePermissionsPaginator.ts +4 -3
  318. package/{pagination → src/pagination}/ListResourceTypesPaginator.ts +4 -3
  319. package/{pagination → src/pagination}/ListResourcesPaginator.ts +4 -3
  320. package/{protocols → src/protocols}/Aws_restJson1.ts +68 -66
  321. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
  322. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
  323. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  324. package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
  325. package/tsconfig.es.json +1 -3
  326. package/tsconfig.json +7 -7
  327. package/tsconfig.types.json +9 -0
  328. package/dist/cjs/RAM.js.map +0 -1
  329. package/dist/cjs/RAMClient.js.map +0 -1
  330. package/dist/cjs/commands/AcceptResourceShareInvitationCommand.js.map +0 -1
  331. package/dist/cjs/commands/AssociateResourceShareCommand.js.map +0 -1
  332. package/dist/cjs/commands/AssociateResourceSharePermissionCommand.js.map +0 -1
  333. package/dist/cjs/commands/CreateResourceShareCommand.js.map +0 -1
  334. package/dist/cjs/commands/DeleteResourceShareCommand.js.map +0 -1
  335. package/dist/cjs/commands/DisassociateResourceShareCommand.js.map +0 -1
  336. package/dist/cjs/commands/DisassociateResourceSharePermissionCommand.js.map +0 -1
  337. package/dist/cjs/commands/EnableSharingWithAwsOrganizationCommand.js.map +0 -1
  338. package/dist/cjs/commands/GetPermissionCommand.js.map +0 -1
  339. package/dist/cjs/commands/GetResourcePoliciesCommand.js.map +0 -1
  340. package/dist/cjs/commands/GetResourceShareAssociationsCommand.js.map +0 -1
  341. package/dist/cjs/commands/GetResourceShareInvitationsCommand.js.map +0 -1
  342. package/dist/cjs/commands/GetResourceSharesCommand.js.map +0 -1
  343. package/dist/cjs/commands/ListPendingInvitationResourcesCommand.js.map +0 -1
  344. package/dist/cjs/commands/ListPermissionsCommand.js.map +0 -1
  345. package/dist/cjs/commands/ListPrincipalsCommand.js.map +0 -1
  346. package/dist/cjs/commands/ListResourceSharePermissionsCommand.js.map +0 -1
  347. package/dist/cjs/commands/ListResourceTypesCommand.js.map +0 -1
  348. package/dist/cjs/commands/ListResourcesCommand.js.map +0 -1
  349. package/dist/cjs/commands/PromoteResourceShareCreatedFromPolicyCommand.js.map +0 -1
  350. package/dist/cjs/commands/RejectResourceShareInvitationCommand.js.map +0 -1
  351. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  352. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  353. package/dist/cjs/commands/UpdateResourceShareCommand.js.map +0 -1
  354. package/dist/cjs/endpoints.js.map +0 -1
  355. package/dist/cjs/index.js +0 -42
  356. package/dist/cjs/index.js.map +0 -1
  357. package/dist/cjs/models/models_0.js.map +0 -1
  358. package/dist/cjs/package.json +0 -91
  359. package/dist/cjs/pagination/GetResourcePoliciesPaginator.js.map +0 -1
  360. package/dist/cjs/pagination/GetResourceShareAssociationsPaginator.js.map +0 -1
  361. package/dist/cjs/pagination/GetResourceShareInvitationsPaginator.js.map +0 -1
  362. package/dist/cjs/pagination/GetResourceSharesPaginator.js.map +0 -1
  363. package/dist/cjs/pagination/ListPendingInvitationResourcesPaginator.js.map +0 -1
  364. package/dist/cjs/pagination/ListPermissionsPaginator.js.map +0 -1
  365. package/dist/cjs/pagination/ListPrincipalsPaginator.js.map +0 -1
  366. package/dist/cjs/pagination/ListResourceSharePermissionsPaginator.js.map +0 -1
  367. package/dist/cjs/pagination/ListResourceTypesPaginator.js.map +0 -1
  368. package/dist/cjs/pagination/ListResourcesPaginator.js.map +0 -1
  369. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  370. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  371. package/dist/cjs/runtimeConfig.js.map +0 -1
  372. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  373. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  374. package/dist/es/RAM.js.map +0 -1
  375. package/dist/es/RAMClient.js.map +0 -1
  376. package/dist/es/commands/AcceptResourceShareInvitationCommand.js.map +0 -1
  377. package/dist/es/commands/AssociateResourceShareCommand.js.map +0 -1
  378. package/dist/es/commands/AssociateResourceSharePermissionCommand.js.map +0 -1
  379. package/dist/es/commands/CreateResourceShareCommand.js.map +0 -1
  380. package/dist/es/commands/DeleteResourceShareCommand.js.map +0 -1
  381. package/dist/es/commands/DisassociateResourceShareCommand.js.map +0 -1
  382. package/dist/es/commands/DisassociateResourceSharePermissionCommand.js.map +0 -1
  383. package/dist/es/commands/EnableSharingWithAwsOrganizationCommand.js.map +0 -1
  384. package/dist/es/commands/GetPermissionCommand.js.map +0 -1
  385. package/dist/es/commands/GetResourcePoliciesCommand.js.map +0 -1
  386. package/dist/es/commands/GetResourceShareAssociationsCommand.js.map +0 -1
  387. package/dist/es/commands/GetResourceShareInvitationsCommand.js.map +0 -1
  388. package/dist/es/commands/GetResourceSharesCommand.js.map +0 -1
  389. package/dist/es/commands/ListPendingInvitationResourcesCommand.js.map +0 -1
  390. package/dist/es/commands/ListPermissionsCommand.js.map +0 -1
  391. package/dist/es/commands/ListPrincipalsCommand.js.map +0 -1
  392. package/dist/es/commands/ListResourceSharePermissionsCommand.js.map +0 -1
  393. package/dist/es/commands/ListResourceTypesCommand.js.map +0 -1
  394. package/dist/es/commands/ListResourcesCommand.js.map +0 -1
  395. package/dist/es/commands/PromoteResourceShareCreatedFromPolicyCommand.js.map +0 -1
  396. package/dist/es/commands/RejectResourceShareInvitationCommand.js.map +0 -1
  397. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  398. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  399. package/dist/es/commands/UpdateResourceShareCommand.js.map +0 -1
  400. package/dist/es/endpoints.js.map +0 -1
  401. package/dist/es/index.js.map +0 -1
  402. package/dist/es/models/index.js.map +0 -1
  403. package/dist/es/models/models_0.js.map +0 -1
  404. package/dist/es/package.json +0 -91
  405. package/dist/es/pagination/GetResourcePoliciesPaginator.js.map +0 -1
  406. package/dist/es/pagination/GetResourceShareAssociationsPaginator.js.map +0 -1
  407. package/dist/es/pagination/GetResourceShareInvitationsPaginator.js.map +0 -1
  408. package/dist/es/pagination/GetResourceSharesPaginator.js.map +0 -1
  409. package/dist/es/pagination/ListPendingInvitationResourcesPaginator.js.map +0 -1
  410. package/dist/es/pagination/ListPermissionsPaginator.js.map +0 -1
  411. package/dist/es/pagination/ListPrincipalsPaginator.js.map +0 -1
  412. package/dist/es/pagination/ListResourceSharePermissionsPaginator.js.map +0 -1
  413. package/dist/es/pagination/ListResourceTypesPaginator.js.map +0 -1
  414. package/dist/es/pagination/ListResourcesPaginator.js.map +0 -1
  415. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  416. package/dist/es/runtimeConfig.browser.js.map +0 -1
  417. package/dist/es/runtimeConfig.js.map +0 -1
  418. package/dist/es/runtimeConfig.native.js.map +0 -1
  419. package/dist/es/runtimeConfig.shared.js.map +0 -1
@@ -8,7 +8,7 @@ const serializeAws_restJson1AcceptResourceShareInvitationCommand = async (input,
8
8
  const headers = {
9
9
  "content-type": "application/json",
10
10
  };
11
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/acceptresourceshareinvitation";
11
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/acceptresourceshareinvitation";
12
12
  let body;
13
13
  body = JSON.stringify({
14
14
  ...(input.clientToken !== undefined && input.clientToken !== null && { clientToken: input.clientToken }),
@@ -31,7 +31,7 @@ const serializeAws_restJson1AssociateResourceShareCommand = async (input, contex
31
31
  const headers = {
32
32
  "content-type": "application/json",
33
33
  };
34
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/associateresourceshare";
34
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/associateresourceshare";
35
35
  let body;
36
36
  body = JSON.stringify({
37
37
  ...(input.clientToken !== undefined && input.clientToken !== null && { clientToken: input.clientToken }),
@@ -62,7 +62,7 @@ const serializeAws_restJson1AssociateResourceSharePermissionCommand = async (inp
62
62
  const headers = {
63
63
  "content-type": "application/json",
64
64
  };
65
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/associateresourcesharepermission";
65
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/associateresourcesharepermission";
66
66
  let body;
67
67
  body = JSON.stringify({
68
68
  ...(input.clientToken !== undefined && input.clientToken !== null && { clientToken: input.clientToken }),
@@ -89,7 +89,7 @@ const serializeAws_restJson1CreateResourceShareCommand = async (input, context)
89
89
  const headers = {
90
90
  "content-type": "application/json",
91
91
  };
92
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/createresourceshare";
92
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/createresourceshare";
93
93
  let body;
94
94
  body = JSON.stringify({
95
95
  ...(input.allowExternalPrincipals !== undefined &&
@@ -125,7 +125,7 @@ exports.serializeAws_restJson1CreateResourceShareCommand = serializeAws_restJson
125
125
  const serializeAws_restJson1DeleteResourceShareCommand = async (input, context) => {
126
126
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
127
127
  const headers = {};
128
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/deleteresourceshare";
128
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/deleteresourceshare";
129
129
  const query = {
130
130
  ...(input.resourceShareArn !== undefined && { resourceShareArn: input.resourceShareArn }),
131
131
  ...(input.clientToken !== undefined && { clientToken: input.clientToken }),
@@ -148,7 +148,7 @@ const serializeAws_restJson1DisassociateResourceShareCommand = async (input, con
148
148
  const headers = {
149
149
  "content-type": "application/json",
150
150
  };
151
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/disassociateresourceshare";
151
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/disassociateresourceshare";
152
152
  let body;
153
153
  body = JSON.stringify({
154
154
  ...(input.clientToken !== undefined && input.clientToken !== null && { clientToken: input.clientToken }),
@@ -179,7 +179,7 @@ const serializeAws_restJson1DisassociateResourceSharePermissionCommand = async (
179
179
  const headers = {
180
180
  "content-type": "application/json",
181
181
  };
182
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/disassociateresourcesharepermission";
182
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/disassociateresourcesharepermission";
183
183
  let body;
184
184
  body = JSON.stringify({
185
185
  ...(input.clientToken !== undefined && input.clientToken !== null && { clientToken: input.clientToken }),
@@ -203,7 +203,7 @@ const serializeAws_restJson1EnableSharingWithAwsOrganizationCommand = async (inp
203
203
  const headers = {
204
204
  "content-type": "application/json",
205
205
  };
206
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/enablesharingwithawsorganization";
206
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/enablesharingwithawsorganization";
207
207
  let body;
208
208
  body = "";
209
209
  return new protocol_http_1.HttpRequest({
@@ -222,7 +222,7 @@ const serializeAws_restJson1GetPermissionCommand = async (input, context) => {
222
222
  const headers = {
223
223
  "content-type": "application/json",
224
224
  };
225
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getpermission";
225
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getpermission";
226
226
  let body;
227
227
  body = JSON.stringify({
228
228
  ...(input.permissionArn !== undefined && input.permissionArn !== null && { permissionArn: input.permissionArn }),
@@ -245,7 +245,7 @@ const serializeAws_restJson1GetResourcePoliciesCommand = async (input, context)
245
245
  const headers = {
246
246
  "content-type": "application/json",
247
247
  };
248
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getresourcepolicies";
248
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getresourcepolicies";
249
249
  let body;
250
250
  body = JSON.stringify({
251
251
  ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
@@ -272,7 +272,7 @@ const serializeAws_restJson1GetResourceShareAssociationsCommand = async (input,
272
272
  const headers = {
273
273
  "content-type": "application/json",
274
274
  };
275
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getresourceshareassociations";
275
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getresourceshareassociations";
276
276
  let body;
277
277
  body = JSON.stringify({
278
278
  ...(input.associationStatus !== undefined &&
@@ -304,7 +304,7 @@ const serializeAws_restJson1GetResourceShareInvitationsCommand = async (input, c
304
304
  const headers = {
305
305
  "content-type": "application/json",
306
306
  };
307
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getresourceshareinvitations";
307
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getresourceshareinvitations";
308
308
  let body;
309
309
  body = JSON.stringify({
310
310
  ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
@@ -334,7 +334,7 @@ const serializeAws_restJson1GetResourceSharesCommand = async (input, context) =>
334
334
  const headers = {
335
335
  "content-type": "application/json",
336
336
  };
337
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getresourceshares";
337
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getresourceshares";
338
338
  let body;
339
339
  body = JSON.stringify({
340
340
  ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
@@ -367,7 +367,7 @@ const serializeAws_restJson1ListPendingInvitationResourcesCommand = async (input
367
367
  const headers = {
368
368
  "content-type": "application/json",
369
369
  };
370
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listpendinginvitationresources";
370
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listpendinginvitationresources";
371
371
  let body;
372
372
  body = JSON.stringify({
373
373
  ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
@@ -391,7 +391,7 @@ const serializeAws_restJson1ListPermissionsCommand = async (input, context) => {
391
391
  const headers = {
392
392
  "content-type": "application/json",
393
393
  };
394
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listpermissions";
394
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listpermissions";
395
395
  let body;
396
396
  body = JSON.stringify({
397
397
  ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
@@ -414,7 +414,7 @@ const serializeAws_restJson1ListPrincipalsCommand = async (input, context) => {
414
414
  const headers = {
415
415
  "content-type": "application/json",
416
416
  };
417
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listprincipals";
417
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listprincipals";
418
418
  let body;
419
419
  body = JSON.stringify({
420
420
  ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
@@ -447,7 +447,7 @@ const serializeAws_restJson1ListResourcesCommand = async (input, context) => {
447
447
  const headers = {
448
448
  "content-type": "application/json",
449
449
  };
450
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listresources";
450
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listresources";
451
451
  let body;
452
452
  body = JSON.stringify({
453
453
  ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
@@ -480,7 +480,7 @@ const serializeAws_restJson1ListResourceSharePermissionsCommand = async (input,
480
480
  const headers = {
481
481
  "content-type": "application/json",
482
482
  };
483
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listresourcesharepermissions";
483
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listresourcesharepermissions";
484
484
  let body;
485
485
  body = JSON.stringify({
486
486
  ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
@@ -504,7 +504,7 @@ const serializeAws_restJson1ListResourceTypesCommand = async (input, context) =>
504
504
  const headers = {
505
505
  "content-type": "application/json",
506
506
  };
507
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listresourcetypes";
507
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listresourcetypes";
508
508
  let body;
509
509
  body = JSON.stringify({
510
510
  ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
@@ -524,7 +524,7 @@ exports.serializeAws_restJson1ListResourceTypesCommand = serializeAws_restJson1L
524
524
  const serializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand = async (input, context) => {
525
525
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
526
526
  const headers = {};
527
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/promoteresourcesharecreatedfrompolicy";
527
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/promoteresourcesharecreatedfrompolicy";
528
528
  const query = {
529
529
  ...(input.resourceShareArn !== undefined && { resourceShareArn: input.resourceShareArn }),
530
530
  };
@@ -546,7 +546,7 @@ const serializeAws_restJson1RejectResourceShareInvitationCommand = async (input,
546
546
  const headers = {
547
547
  "content-type": "application/json",
548
548
  };
549
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/rejectresourceshareinvitation";
549
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/rejectresourceshareinvitation";
550
550
  let body;
551
551
  body = JSON.stringify({
552
552
  ...(input.clientToken !== undefined && input.clientToken !== null && { clientToken: input.clientToken }),
@@ -569,7 +569,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
569
569
  const headers = {
570
570
  "content-type": "application/json",
571
571
  };
572
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/tagresource";
572
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/tagresource";
573
573
  let body;
574
574
  body = JSON.stringify({
575
575
  ...(input.resourceShareArn !== undefined &&
@@ -593,7 +593,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
593
593
  const headers = {
594
594
  "content-type": "application/json",
595
595
  };
596
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/untagresource";
596
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/untagresource";
597
597
  let body;
598
598
  body = JSON.stringify({
599
599
  ...(input.resourceShareArn !== undefined &&
@@ -617,7 +617,7 @@ const serializeAws_restJson1UpdateResourceShareCommand = async (input, context)
617
617
  const headers = {
618
618
  "content-type": "application/json",
619
619
  };
620
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/updateresourceshare";
620
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/updateresourceshare";
621
621
  let body;
622
622
  body = JSON.stringify({
623
623
  ...(input.allowExternalPrincipals !== undefined &&
@@ -647,9 +647,9 @@ const deserializeAws_restJson1AcceptResourceShareInvitationCommand = async (outp
647
647
  clientToken: undefined,
648
648
  resourceShareInvitation: undefined,
649
649
  };
650
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
650
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
651
651
  if (data.clientToken !== undefined && data.clientToken !== null) {
652
- contents.clientToken = (0, smithy_client_1.expectString)(data.clientToken);
652
+ contents.clientToken = smithy_client_1.expectString(data.clientToken);
653
653
  }
654
654
  if (data.resourceShareInvitation !== undefined && data.resourceShareInvitation !== null) {
655
655
  contents.resourceShareInvitation = deserializeAws_restJson1ResourceShareInvitation(data.resourceShareInvitation, context);
@@ -771,9 +771,9 @@ const deserializeAws_restJson1AssociateResourceShareCommand = async (output, con
771
771
  clientToken: undefined,
772
772
  resourceShareAssociations: undefined,
773
773
  };
774
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
774
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
775
775
  if (data.clientToken !== undefined && data.clientToken !== null) {
776
- contents.clientToken = (0, smithy_client_1.expectString)(data.clientToken);
776
+ contents.clientToken = smithy_client_1.expectString(data.clientToken);
777
777
  }
778
778
  if (data.resourceShareAssociations !== undefined && data.resourceShareAssociations !== null) {
779
779
  contents.resourceShareAssociations = deserializeAws_restJson1ResourceShareAssociationList(data.resourceShareAssociations, context);
@@ -895,12 +895,12 @@ const deserializeAws_restJson1AssociateResourceSharePermissionCommand = async (o
895
895
  clientToken: undefined,
896
896
  returnValue: undefined,
897
897
  };
898
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
898
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
899
899
  if (data.clientToken !== undefined && data.clientToken !== null) {
900
- contents.clientToken = (0, smithy_client_1.expectString)(data.clientToken);
900
+ contents.clientToken = smithy_client_1.expectString(data.clientToken);
901
901
  }
902
902
  if (data.returnValue !== undefined && data.returnValue !== null) {
903
- contents.returnValue = (0, smithy_client_1.expectBoolean)(data.returnValue);
903
+ contents.returnValue = smithy_client_1.expectBoolean(data.returnValue);
904
904
  }
905
905
  return Promise.resolve(contents);
906
906
  };
@@ -995,9 +995,9 @@ const deserializeAws_restJson1CreateResourceShareCommand = async (output, contex
995
995
  clientToken: undefined,
996
996
  resourceShare: undefined,
997
997
  };
998
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
998
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
999
999
  if (data.clientToken !== undefined && data.clientToken !== null) {
1000
- contents.clientToken = (0, smithy_client_1.expectString)(data.clientToken);
1000
+ contents.clientToken = smithy_client_1.expectString(data.clientToken);
1001
1001
  }
1002
1002
  if (data.resourceShare !== undefined && data.resourceShare !== null) {
1003
1003
  contents.resourceShare = deserializeAws_restJson1ResourceShare(data.resourceShare, context);
@@ -1127,12 +1127,12 @@ const deserializeAws_restJson1DeleteResourceShareCommand = async (output, contex
1127
1127
  clientToken: undefined,
1128
1128
  returnValue: undefined,
1129
1129
  };
1130
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1130
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1131
1131
  if (data.clientToken !== undefined && data.clientToken !== null) {
1132
- contents.clientToken = (0, smithy_client_1.expectString)(data.clientToken);
1132
+ contents.clientToken = smithy_client_1.expectString(data.clientToken);
1133
1133
  }
1134
1134
  if (data.returnValue !== undefined && data.returnValue !== null) {
1135
- contents.returnValue = (0, smithy_client_1.expectBoolean)(data.returnValue);
1135
+ contents.returnValue = smithy_client_1.expectBoolean(data.returnValue);
1136
1136
  }
1137
1137
  return Promise.resolve(contents);
1138
1138
  };
@@ -1243,9 +1243,9 @@ const deserializeAws_restJson1DisassociateResourceShareCommand = async (output,
1243
1243
  clientToken: undefined,
1244
1244
  resourceShareAssociations: undefined,
1245
1245
  };
1246
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1246
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1247
1247
  if (data.clientToken !== undefined && data.clientToken !== null) {
1248
- contents.clientToken = (0, smithy_client_1.expectString)(data.clientToken);
1248
+ contents.clientToken = smithy_client_1.expectString(data.clientToken);
1249
1249
  }
1250
1250
  if (data.resourceShareAssociations !== undefined && data.resourceShareAssociations !== null) {
1251
1251
  contents.resourceShareAssociations = deserializeAws_restJson1ResourceShareAssociationList(data.resourceShareAssociations, context);
@@ -1367,12 +1367,12 @@ const deserializeAws_restJson1DisassociateResourceSharePermissionCommand = async
1367
1367
  clientToken: undefined,
1368
1368
  returnValue: undefined,
1369
1369
  };
1370
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1370
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1371
1371
  if (data.clientToken !== undefined && data.clientToken !== null) {
1372
- contents.clientToken = (0, smithy_client_1.expectString)(data.clientToken);
1372
+ contents.clientToken = smithy_client_1.expectString(data.clientToken);
1373
1373
  }
1374
1374
  if (data.returnValue !== undefined && data.returnValue !== null) {
1375
- contents.returnValue = (0, smithy_client_1.expectBoolean)(data.returnValue);
1375
+ contents.returnValue = smithy_client_1.expectBoolean(data.returnValue);
1376
1376
  }
1377
1377
  return Promise.resolve(contents);
1378
1378
  };
@@ -1474,9 +1474,9 @@ const deserializeAws_restJson1EnableSharingWithAwsOrganizationCommand = async (o
1474
1474
  $metadata: deserializeMetadata(output),
1475
1475
  returnValue: undefined,
1476
1476
  };
1477
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1477
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1478
1478
  if (data.returnValue !== undefined && data.returnValue !== null) {
1479
- contents.returnValue = (0, smithy_client_1.expectBoolean)(data.returnValue);
1479
+ contents.returnValue = smithy_client_1.expectBoolean(data.returnValue);
1480
1480
  }
1481
1481
  return Promise.resolve(contents);
1482
1482
  };
@@ -1538,7 +1538,7 @@ const deserializeAws_restJson1GetPermissionCommand = async (output, context) =>
1538
1538
  $metadata: deserializeMetadata(output),
1539
1539
  permission: undefined,
1540
1540
  };
1541
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1541
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1542
1542
  if (data.permission !== undefined && data.permission !== null) {
1543
1543
  contents.permission = deserializeAws_restJson1ResourceSharePermissionDetail(data.permission, context);
1544
1544
  }
@@ -1627,9 +1627,9 @@ const deserializeAws_restJson1GetResourcePoliciesCommand = async (output, contex
1627
1627
  nextToken: undefined,
1628
1628
  policies: undefined,
1629
1629
  };
1630
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1630
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1631
1631
  if (data.nextToken !== undefined && data.nextToken !== null) {
1632
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1632
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1633
1633
  }
1634
1634
  if (data.policies !== undefined && data.policies !== null) {
1635
1635
  contents.policies = deserializeAws_restJson1PolicyList(data.policies, context);
@@ -1719,9 +1719,9 @@ const deserializeAws_restJson1GetResourceShareAssociationsCommand = async (outpu
1719
1719
  nextToken: undefined,
1720
1720
  resourceShareAssociations: undefined,
1721
1721
  };
1722
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1722
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1723
1723
  if (data.nextToken !== undefined && data.nextToken !== null) {
1724
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1724
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1725
1725
  }
1726
1726
  if (data.resourceShareAssociations !== undefined && data.resourceShareAssociations !== null) {
1727
1727
  contents.resourceShareAssociations = deserializeAws_restJson1ResourceShareAssociationList(data.resourceShareAssociations, context);
@@ -1819,9 +1819,9 @@ const deserializeAws_restJson1GetResourceShareInvitationsCommand = async (output
1819
1819
  nextToken: undefined,
1820
1820
  resourceShareInvitations: undefined,
1821
1821
  };
1822
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1822
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1823
1823
  if (data.nextToken !== undefined && data.nextToken !== null) {
1824
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1824
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1825
1825
  }
1826
1826
  if (data.resourceShareInvitations !== undefined && data.resourceShareInvitations !== null) {
1827
1827
  contents.resourceShareInvitations = deserializeAws_restJson1ResourceShareInvitationList(data.resourceShareInvitations, context);
@@ -1927,9 +1927,9 @@ const deserializeAws_restJson1GetResourceSharesCommand = async (output, context)
1927
1927
  nextToken: undefined,
1928
1928
  resourceShares: undefined,
1929
1929
  };
1930
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1930
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1931
1931
  if (data.nextToken !== undefined && data.nextToken !== null) {
1932
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1932
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1933
1933
  }
1934
1934
  if (data.resourceShares !== undefined && data.resourceShares !== null) {
1935
1935
  contents.resourceShares = deserializeAws_restJson1ResourceShareList(data.resourceShares, context);
@@ -2019,9 +2019,9 @@ const deserializeAws_restJson1ListPendingInvitationResourcesCommand = async (out
2019
2019
  nextToken: undefined,
2020
2020
  resources: undefined,
2021
2021
  };
2022
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2022
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2023
2023
  if (data.nextToken !== undefined && data.nextToken !== null) {
2024
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2024
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
2025
2025
  }
2026
2026
  if (data.resources !== undefined && data.resources !== null) {
2027
2027
  contents.resources = deserializeAws_restJson1ResourceList(data.resources, context);
@@ -2135,9 +2135,9 @@ const deserializeAws_restJson1ListPermissionsCommand = async (output, context) =
2135
2135
  nextToken: undefined,
2136
2136
  permissions: undefined,
2137
2137
  };
2138
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2138
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2139
2139
  if (data.nextToken !== undefined && data.nextToken !== null) {
2140
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2140
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
2141
2141
  }
2142
2142
  if (data.permissions !== undefined && data.permissions !== null) {
2143
2143
  contents.permissions = deserializeAws_restJson1ResourceSharePermissionList(data.permissions, context);
@@ -2219,9 +2219,9 @@ const deserializeAws_restJson1ListPrincipalsCommand = async (output, context) =>
2219
2219
  nextToken: undefined,
2220
2220
  principals: undefined,
2221
2221
  };
2222
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2222
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2223
2223
  if (data.nextToken !== undefined && data.nextToken !== null) {
2224
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2224
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
2225
2225
  }
2226
2226
  if (data.principals !== undefined && data.principals !== null) {
2227
2227
  contents.principals = deserializeAws_restJson1PrincipalList(data.principals, context);
@@ -2311,9 +2311,9 @@ const deserializeAws_restJson1ListResourcesCommand = async (output, context) =>
2311
2311
  nextToken: undefined,
2312
2312
  resources: undefined,
2313
2313
  };
2314
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2314
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2315
2315
  if (data.nextToken !== undefined && data.nextToken !== null) {
2316
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2316
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
2317
2317
  }
2318
2318
  if (data.resources !== undefined && data.resources !== null) {
2319
2319
  contents.resources = deserializeAws_restJson1ResourceList(data.resources, context);
@@ -2411,9 +2411,9 @@ const deserializeAws_restJson1ListResourceSharePermissionsCommand = async (outpu
2411
2411
  nextToken: undefined,
2412
2412
  permissions: undefined,
2413
2413
  };
2414
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2414
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2415
2415
  if (data.nextToken !== undefined && data.nextToken !== null) {
2416
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2416
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
2417
2417
  }
2418
2418
  if (data.permissions !== undefined && data.permissions !== null) {
2419
2419
  contents.permissions = deserializeAws_restJson1ResourceSharePermissionList(data.permissions, context);
@@ -2511,9 +2511,9 @@ const deserializeAws_restJson1ListResourceTypesCommand = async (output, context)
2511
2511
  nextToken: undefined,
2512
2512
  resourceTypes: undefined,
2513
2513
  };
2514
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2514
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2515
2515
  if (data.nextToken !== undefined && data.nextToken !== null) {
2516
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2516
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
2517
2517
  }
2518
2518
  if (data.resourceTypes !== undefined && data.resourceTypes !== null) {
2519
2519
  contents.resourceTypes = deserializeAws_restJson1ServiceNameAndResourceTypeList(data.resourceTypes, context);
@@ -2586,9 +2586,9 @@ const deserializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand = asy
2586
2586
  $metadata: deserializeMetadata(output),
2587
2587
  returnValue: undefined,
2588
2588
  };
2589
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2589
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2590
2590
  if (data.returnValue !== undefined && data.returnValue !== null) {
2591
- contents.returnValue = (0, smithy_client_1.expectBoolean)(data.returnValue);
2591
+ contents.returnValue = smithy_client_1.expectBoolean(data.returnValue);
2592
2592
  }
2593
2593
  return Promise.resolve(contents);
2594
2594
  };
@@ -2691,9 +2691,9 @@ const deserializeAws_restJson1RejectResourceShareInvitationCommand = async (outp
2691
2691
  clientToken: undefined,
2692
2692
  resourceShareInvitation: undefined,
2693
2693
  };
2694
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2694
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2695
2695
  if (data.clientToken !== undefined && data.clientToken !== null) {
2696
- contents.clientToken = (0, smithy_client_1.expectString)(data.clientToken);
2696
+ contents.clientToken = smithy_client_1.expectString(data.clientToken);
2697
2697
  }
2698
2698
  if (data.resourceShareInvitation !== undefined && data.resourceShareInvitation !== null) {
2699
2699
  contents.resourceShareInvitation = deserializeAws_restJson1ResourceShareInvitation(data.resourceShareInvitation, context);
@@ -2975,9 +2975,9 @@ const deserializeAws_restJson1UpdateResourceShareCommand = async (output, contex
2975
2975
  clientToken: undefined,
2976
2976
  resourceShare: undefined,
2977
2977
  };
2978
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2978
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2979
2979
  if (data.clientToken !== undefined && data.clientToken !== null) {
2980
- contents.clientToken = (0, smithy_client_1.expectString)(data.clientToken);
2980
+ contents.clientToken = smithy_client_1.expectString(data.clientToken);
2981
2981
  }
2982
2982
  if (data.resourceShare !== undefined && data.resourceShare !== null) {
2983
2983
  contents.resourceShare = deserializeAws_restJson1ResourceShare(data.resourceShare, context);
@@ -3091,7 +3091,7 @@ const deserializeAws_restJson1IdempotentParameterMismatchExceptionResponse = asy
3091
3091
  };
3092
3092
  const data = parsedOutput.body;
3093
3093
  if (data.message !== undefined && data.message !== null) {
3094
- contents.message = (0, smithy_client_1.expectString)(data.message);
3094
+ contents.message = smithy_client_1.expectString(data.message);
3095
3095
  }
3096
3096
  return contents;
3097
3097
  };
@@ -3104,7 +3104,7 @@ const deserializeAws_restJson1InvalidClientTokenExceptionResponse = async (parse
3104
3104
  };
3105
3105
  const data = parsedOutput.body;
3106
3106
  if (data.message !== undefined && data.message !== null) {
3107
- contents.message = (0, smithy_client_1.expectString)(data.message);
3107
+ contents.message = smithy_client_1.expectString(data.message);
3108
3108
  }
3109
3109
  return contents;
3110
3110
  };
@@ -3117,7 +3117,7 @@ const deserializeAws_restJson1InvalidMaxResultsExceptionResponse = async (parsed
3117
3117
  };
3118
3118
  const data = parsedOutput.body;
3119
3119
  if (data.message !== undefined && data.message !== null) {
3120
- contents.message = (0, smithy_client_1.expectString)(data.message);
3120
+ contents.message = smithy_client_1.expectString(data.message);
3121
3121
  }
3122
3122
  return contents;
3123
3123
  };
@@ -3130,7 +3130,7 @@ const deserializeAws_restJson1InvalidNextTokenExceptionResponse = async (parsedO
3130
3130
  };
3131
3131
  const data = parsedOutput.body;
3132
3132
  if (data.message !== undefined && data.message !== null) {
3133
- contents.message = (0, smithy_client_1.expectString)(data.message);
3133
+ contents.message = smithy_client_1.expectString(data.message);
3134
3134
  }
3135
3135
  return contents;
3136
3136
  };
@@ -3143,7 +3143,7 @@ const deserializeAws_restJson1InvalidParameterExceptionResponse = async (parsedO
3143
3143
  };
3144
3144
  const data = parsedOutput.body;
3145
3145
  if (data.message !== undefined && data.message !== null) {
3146
- contents.message = (0, smithy_client_1.expectString)(data.message);
3146
+ contents.message = smithy_client_1.expectString(data.message);
3147
3147
  }
3148
3148
  return contents;
3149
3149
  };
@@ -3156,7 +3156,7 @@ const deserializeAws_restJson1InvalidResourceTypeExceptionResponse = async (pars
3156
3156
  };
3157
3157
  const data = parsedOutput.body;
3158
3158
  if (data.message !== undefined && data.message !== null) {
3159
- contents.message = (0, smithy_client_1.expectString)(data.message);
3159
+ contents.message = smithy_client_1.expectString(data.message);
3160
3160
  }
3161
3161
  return contents;
3162
3162
  };
@@ -3169,7 +3169,7 @@ const deserializeAws_restJson1InvalidStateTransitionExceptionResponse = async (p
3169
3169
  };
3170
3170
  const data = parsedOutput.body;
3171
3171
  if (data.message !== undefined && data.message !== null) {
3172
- contents.message = (0, smithy_client_1.expectString)(data.message);
3172
+ contents.message = smithy_client_1.expectString(data.message);
3173
3173
  }
3174
3174
  return contents;
3175
3175
  };
@@ -3182,7 +3182,7 @@ const deserializeAws_restJson1MalformedArnExceptionResponse = async (parsedOutpu
3182
3182
  };
3183
3183
  const data = parsedOutput.body;
3184
3184
  if (data.message !== undefined && data.message !== null) {
3185
- contents.message = (0, smithy_client_1.expectString)(data.message);
3185
+ contents.message = smithy_client_1.expectString(data.message);
3186
3186
  }
3187
3187
  return contents;
3188
3188
  };
@@ -3195,7 +3195,7 @@ const deserializeAws_restJson1MissingRequiredParameterExceptionResponse = async
3195
3195
  };
3196
3196
  const data = parsedOutput.body;
3197
3197
  if (data.message !== undefined && data.message !== null) {
3198
- contents.message = (0, smithy_client_1.expectString)(data.message);
3198
+ contents.message = smithy_client_1.expectString(data.message);
3199
3199
  }
3200
3200
  return contents;
3201
3201
  };
@@ -3208,7 +3208,7 @@ const deserializeAws_restJson1OperationNotPermittedExceptionResponse = async (pa
3208
3208
  };
3209
3209
  const data = parsedOutput.body;
3210
3210
  if (data.message !== undefined && data.message !== null) {
3211
- contents.message = (0, smithy_client_1.expectString)(data.message);
3211
+ contents.message = smithy_client_1.expectString(data.message);
3212
3212
  }
3213
3213
  return contents;
3214
3214
  };
@@ -3221,7 +3221,7 @@ const deserializeAws_restJson1ResourceArnNotFoundExceptionResponse = async (pars
3221
3221
  };
3222
3222
  const data = parsedOutput.body;
3223
3223
  if (data.message !== undefined && data.message !== null) {
3224
- contents.message = (0, smithy_client_1.expectString)(data.message);
3224
+ contents.message = smithy_client_1.expectString(data.message);
3225
3225
  }
3226
3226
  return contents;
3227
3227
  };
@@ -3234,7 +3234,7 @@ const deserializeAws_restJson1ResourceShareInvitationAlreadyAcceptedExceptionRes
3234
3234
  };
3235
3235
  const data = parsedOutput.body;
3236
3236
  if (data.message !== undefined && data.message !== null) {
3237
- contents.message = (0, smithy_client_1.expectString)(data.message);
3237
+ contents.message = smithy_client_1.expectString(data.message);
3238
3238
  }
3239
3239
  return contents;
3240
3240
  };
@@ -3247,7 +3247,7 @@ const deserializeAws_restJson1ResourceShareInvitationAlreadyRejectedExceptionRes
3247
3247
  };
3248
3248
  const data = parsedOutput.body;
3249
3249
  if (data.message !== undefined && data.message !== null) {
3250
- contents.message = (0, smithy_client_1.expectString)(data.message);
3250
+ contents.message = smithy_client_1.expectString(data.message);
3251
3251
  }
3252
3252
  return contents;
3253
3253
  };
@@ -3260,7 +3260,7 @@ const deserializeAws_restJson1ResourceShareInvitationArnNotFoundExceptionRespons
3260
3260
  };
3261
3261
  const data = parsedOutput.body;
3262
3262
  if (data.message !== undefined && data.message !== null) {
3263
- contents.message = (0, smithy_client_1.expectString)(data.message);
3263
+ contents.message = smithy_client_1.expectString(data.message);
3264
3264
  }
3265
3265
  return contents;
3266
3266
  };
@@ -3273,7 +3273,7 @@ const deserializeAws_restJson1ResourceShareInvitationExpiredExceptionResponse =
3273
3273
  };
3274
3274
  const data = parsedOutput.body;
3275
3275
  if (data.message !== undefined && data.message !== null) {
3276
- contents.message = (0, smithy_client_1.expectString)(data.message);
3276
+ contents.message = smithy_client_1.expectString(data.message);
3277
3277
  }
3278
3278
  return contents;
3279
3279
  };
@@ -3286,7 +3286,7 @@ const deserializeAws_restJson1ResourceShareLimitExceededExceptionResponse = asyn
3286
3286
  };
3287
3287
  const data = parsedOutput.body;
3288
3288
  if (data.message !== undefined && data.message !== null) {
3289
- contents.message = (0, smithy_client_1.expectString)(data.message);
3289
+ contents.message = smithy_client_1.expectString(data.message);
3290
3290
  }
3291
3291
  return contents;
3292
3292
  };
@@ -3299,7 +3299,7 @@ const deserializeAws_restJson1ServerInternalExceptionResponse = async (parsedOut
3299
3299
  };
3300
3300
  const data = parsedOutput.body;
3301
3301
  if (data.message !== undefined && data.message !== null) {
3302
- contents.message = (0, smithy_client_1.expectString)(data.message);
3302
+ contents.message = smithy_client_1.expectString(data.message);
3303
3303
  }
3304
3304
  return contents;
3305
3305
  };
@@ -3312,7 +3312,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
3312
3312
  };
3313
3313
  const data = parsedOutput.body;
3314
3314
  if (data.message !== undefined && data.message !== null) {
3315
- contents.message = (0, smithy_client_1.expectString)(data.message);
3315
+ contents.message = smithy_client_1.expectString(data.message);
3316
3316
  }
3317
3317
  return contents;
3318
3318
  };
@@ -3325,7 +3325,7 @@ const deserializeAws_restJson1TagLimitExceededExceptionResponse = async (parsedO
3325
3325
  };
3326
3326
  const data = parsedOutput.body;
3327
3327
  if (data.message !== undefined && data.message !== null) {
3328
- contents.message = (0, smithy_client_1.expectString)(data.message);
3328
+ contents.message = smithy_client_1.expectString(data.message);
3329
3329
  }
3330
3330
  return contents;
3331
3331
  };
@@ -3338,7 +3338,7 @@ const deserializeAws_restJson1TagPolicyViolationExceptionResponse = async (parse
3338
3338
  };
3339
3339
  const data = parsedOutput.body;
3340
3340
  if (data.message !== undefined && data.message !== null) {
3341
- contents.message = (0, smithy_client_1.expectString)(data.message);
3341
+ contents.message = smithy_client_1.expectString(data.message);
3342
3342
  }
3343
3343
  return contents;
3344
3344
  };
@@ -3351,7 +3351,7 @@ const deserializeAws_restJson1UnknownResourceExceptionResponse = async (parsedOu
3351
3351
  };
3352
3352
  const data = parsedOutput.body;
3353
3353
  if (data.message !== undefined && data.message !== null) {
3354
- contents.message = (0, smithy_client_1.expectString)(data.message);
3354
+ contents.message = smithy_client_1.expectString(data.message);
3355
3355
  }
3356
3356
  return contents;
3357
3357
  };
@@ -3465,20 +3465,20 @@ const deserializeAws_restJson1PolicyList = (output, context) => {
3465
3465
  if (entry === null) {
3466
3466
  return null;
3467
3467
  }
3468
- return (0, smithy_client_1.expectString)(entry);
3468
+ return smithy_client_1.expectString(entry);
3469
3469
  });
3470
3470
  };
3471
3471
  const deserializeAws_restJson1Principal = (output, context) => {
3472
3472
  return {
3473
3473
  creationTime: output.creationTime !== undefined && output.creationTime !== null
3474
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
3474
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
3475
3475
  : undefined,
3476
- external: (0, smithy_client_1.expectBoolean)(output.external),
3477
- id: (0, smithy_client_1.expectString)(output.id),
3476
+ external: smithy_client_1.expectBoolean(output.external),
3477
+ id: smithy_client_1.expectString(output.id),
3478
3478
  lastUpdatedTime: output.lastUpdatedTime !== undefined && output.lastUpdatedTime !== null
3479
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedTime)))
3479
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTime)))
3480
3480
  : undefined,
3481
- resourceShareArn: (0, smithy_client_1.expectString)(output.resourceShareArn),
3481
+ resourceShareArn: smithy_client_1.expectString(output.resourceShareArn),
3482
3482
  };
3483
3483
  };
3484
3484
  const deserializeAws_restJson1PrincipalList = (output, context) => {
@@ -3493,18 +3493,18 @@ const deserializeAws_restJson1PrincipalList = (output, context) => {
3493
3493
  };
3494
3494
  const deserializeAws_restJson1Resource = (output, context) => {
3495
3495
  return {
3496
- arn: (0, smithy_client_1.expectString)(output.arn),
3496
+ arn: smithy_client_1.expectString(output.arn),
3497
3497
  creationTime: output.creationTime !== undefined && output.creationTime !== null
3498
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
3498
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
3499
3499
  : undefined,
3500
3500
  lastUpdatedTime: output.lastUpdatedTime !== undefined && output.lastUpdatedTime !== null
3501
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedTime)))
3501
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTime)))
3502
3502
  : undefined,
3503
- resourceGroupArn: (0, smithy_client_1.expectString)(output.resourceGroupArn),
3504
- resourceShareArn: (0, smithy_client_1.expectString)(output.resourceShareArn),
3505
- status: (0, smithy_client_1.expectString)(output.status),
3506
- statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
3507
- type: (0, smithy_client_1.expectString)(output.type),
3503
+ resourceGroupArn: smithy_client_1.expectString(output.resourceGroupArn),
3504
+ resourceShareArn: smithy_client_1.expectString(output.resourceShareArn),
3505
+ status: smithy_client_1.expectString(output.status),
3506
+ statusMessage: smithy_client_1.expectString(output.statusMessage),
3507
+ type: smithy_client_1.expectString(output.type),
3508
3508
  };
3509
3509
  };
3510
3510
  const deserializeAws_restJson1ResourceList = (output, context) => {
@@ -3519,19 +3519,19 @@ const deserializeAws_restJson1ResourceList = (output, context) => {
3519
3519
  };
3520
3520
  const deserializeAws_restJson1ResourceShare = (output, context) => {
3521
3521
  return {
3522
- allowExternalPrincipals: (0, smithy_client_1.expectBoolean)(output.allowExternalPrincipals),
3522
+ allowExternalPrincipals: smithy_client_1.expectBoolean(output.allowExternalPrincipals),
3523
3523
  creationTime: output.creationTime !== undefined && output.creationTime !== null
3524
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
3524
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
3525
3525
  : undefined,
3526
- featureSet: (0, smithy_client_1.expectString)(output.featureSet),
3526
+ featureSet: smithy_client_1.expectString(output.featureSet),
3527
3527
  lastUpdatedTime: output.lastUpdatedTime !== undefined && output.lastUpdatedTime !== null
3528
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedTime)))
3528
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTime)))
3529
3529
  : undefined,
3530
- name: (0, smithy_client_1.expectString)(output.name),
3531
- owningAccountId: (0, smithy_client_1.expectString)(output.owningAccountId),
3532
- resourceShareArn: (0, smithy_client_1.expectString)(output.resourceShareArn),
3533
- status: (0, smithy_client_1.expectString)(output.status),
3534
- statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
3530
+ name: smithy_client_1.expectString(output.name),
3531
+ owningAccountId: smithy_client_1.expectString(output.owningAccountId),
3532
+ resourceShareArn: smithy_client_1.expectString(output.resourceShareArn),
3533
+ status: smithy_client_1.expectString(output.status),
3534
+ statusMessage: smithy_client_1.expectString(output.statusMessage),
3535
3535
  tags: output.tags !== undefined && output.tags !== null
3536
3536
  ? deserializeAws_restJson1TagList(output.tags, context)
3537
3537
  : undefined,
@@ -3539,19 +3539,19 @@ const deserializeAws_restJson1ResourceShare = (output, context) => {
3539
3539
  };
3540
3540
  const deserializeAws_restJson1ResourceShareAssociation = (output, context) => {
3541
3541
  return {
3542
- associatedEntity: (0, smithy_client_1.expectString)(output.associatedEntity),
3543
- associationType: (0, smithy_client_1.expectString)(output.associationType),
3542
+ associatedEntity: smithy_client_1.expectString(output.associatedEntity),
3543
+ associationType: smithy_client_1.expectString(output.associationType),
3544
3544
  creationTime: output.creationTime !== undefined && output.creationTime !== null
3545
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
3545
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
3546
3546
  : undefined,
3547
- external: (0, smithy_client_1.expectBoolean)(output.external),
3547
+ external: smithy_client_1.expectBoolean(output.external),
3548
3548
  lastUpdatedTime: output.lastUpdatedTime !== undefined && output.lastUpdatedTime !== null
3549
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedTime)))
3549
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTime)))
3550
3550
  : undefined,
3551
- resourceShareArn: (0, smithy_client_1.expectString)(output.resourceShareArn),
3552
- resourceShareName: (0, smithy_client_1.expectString)(output.resourceShareName),
3553
- status: (0, smithy_client_1.expectString)(output.status),
3554
- statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
3551
+ resourceShareArn: smithy_client_1.expectString(output.resourceShareArn),
3552
+ resourceShareName: smithy_client_1.expectString(output.resourceShareName),
3553
+ status: smithy_client_1.expectString(output.status),
3554
+ statusMessage: smithy_client_1.expectString(output.statusMessage),
3555
3555
  };
3556
3556
  };
3557
3557
  const deserializeAws_restJson1ResourceShareAssociationList = (output, context) => {
@@ -3567,18 +3567,18 @@ const deserializeAws_restJson1ResourceShareAssociationList = (output, context) =
3567
3567
  const deserializeAws_restJson1ResourceShareInvitation = (output, context) => {
3568
3568
  return {
3569
3569
  invitationTimestamp: output.invitationTimestamp !== undefined && output.invitationTimestamp !== null
3570
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.invitationTimestamp)))
3570
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.invitationTimestamp)))
3571
3571
  : undefined,
3572
- receiverAccountId: (0, smithy_client_1.expectString)(output.receiverAccountId),
3573
- receiverArn: (0, smithy_client_1.expectString)(output.receiverArn),
3574
- resourceShareArn: (0, smithy_client_1.expectString)(output.resourceShareArn),
3572
+ receiverAccountId: smithy_client_1.expectString(output.receiverAccountId),
3573
+ receiverArn: smithy_client_1.expectString(output.receiverArn),
3574
+ resourceShareArn: smithy_client_1.expectString(output.resourceShareArn),
3575
3575
  resourceShareAssociations: output.resourceShareAssociations !== undefined && output.resourceShareAssociations !== null
3576
3576
  ? deserializeAws_restJson1ResourceShareAssociationList(output.resourceShareAssociations, context)
3577
3577
  : undefined,
3578
- resourceShareInvitationArn: (0, smithy_client_1.expectString)(output.resourceShareInvitationArn),
3579
- resourceShareName: (0, smithy_client_1.expectString)(output.resourceShareName),
3580
- senderAccountId: (0, smithy_client_1.expectString)(output.senderAccountId),
3581
- status: (0, smithy_client_1.expectString)(output.status),
3578
+ resourceShareInvitationArn: smithy_client_1.expectString(output.resourceShareInvitationArn),
3579
+ resourceShareName: smithy_client_1.expectString(output.resourceShareName),
3580
+ senderAccountId: smithy_client_1.expectString(output.senderAccountId),
3581
+ status: smithy_client_1.expectString(output.status),
3582
3582
  };
3583
3583
  };
3584
3584
  const deserializeAws_restJson1ResourceShareInvitationList = (output, context) => {
@@ -3603,19 +3603,19 @@ const deserializeAws_restJson1ResourceShareList = (output, context) => {
3603
3603
  };
3604
3604
  const deserializeAws_restJson1ResourceSharePermissionDetail = (output, context) => {
3605
3605
  return {
3606
- arn: (0, smithy_client_1.expectString)(output.arn),
3606
+ arn: smithy_client_1.expectString(output.arn),
3607
3607
  creationTime: output.creationTime !== undefined && output.creationTime !== null
3608
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
3608
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
3609
3609
  : undefined,
3610
- defaultVersion: (0, smithy_client_1.expectBoolean)(output.defaultVersion),
3611
- isResourceTypeDefault: (0, smithy_client_1.expectBoolean)(output.isResourceTypeDefault),
3610
+ defaultVersion: smithy_client_1.expectBoolean(output.defaultVersion),
3611
+ isResourceTypeDefault: smithy_client_1.expectBoolean(output.isResourceTypeDefault),
3612
3612
  lastUpdatedTime: output.lastUpdatedTime !== undefined && output.lastUpdatedTime !== null
3613
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedTime)))
3613
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTime)))
3614
3614
  : undefined,
3615
- name: (0, smithy_client_1.expectString)(output.name),
3616
- permission: (0, smithy_client_1.expectString)(output.permission),
3617
- resourceType: (0, smithy_client_1.expectString)(output.resourceType),
3618
- version: (0, smithy_client_1.expectString)(output.version),
3615
+ name: smithy_client_1.expectString(output.name),
3616
+ permission: smithy_client_1.expectString(output.permission),
3617
+ resourceType: smithy_client_1.expectString(output.resourceType),
3618
+ version: smithy_client_1.expectString(output.version),
3619
3619
  };
3620
3620
  };
3621
3621
  const deserializeAws_restJson1ResourceSharePermissionList = (output, context) => {
@@ -3630,25 +3630,25 @@ const deserializeAws_restJson1ResourceSharePermissionList = (output, context) =>
3630
3630
  };
3631
3631
  const deserializeAws_restJson1ResourceSharePermissionSummary = (output, context) => {
3632
3632
  return {
3633
- arn: (0, smithy_client_1.expectString)(output.arn),
3633
+ arn: smithy_client_1.expectString(output.arn),
3634
3634
  creationTime: output.creationTime !== undefined && output.creationTime !== null
3635
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
3635
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
3636
3636
  : undefined,
3637
- defaultVersion: (0, smithy_client_1.expectBoolean)(output.defaultVersion),
3638
- isResourceTypeDefault: (0, smithy_client_1.expectBoolean)(output.isResourceTypeDefault),
3637
+ defaultVersion: smithy_client_1.expectBoolean(output.defaultVersion),
3638
+ isResourceTypeDefault: smithy_client_1.expectBoolean(output.isResourceTypeDefault),
3639
3639
  lastUpdatedTime: output.lastUpdatedTime !== undefined && output.lastUpdatedTime !== null
3640
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedTime)))
3640
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTime)))
3641
3641
  : undefined,
3642
- name: (0, smithy_client_1.expectString)(output.name),
3643
- resourceType: (0, smithy_client_1.expectString)(output.resourceType),
3644
- status: (0, smithy_client_1.expectString)(output.status),
3645
- version: (0, smithy_client_1.expectString)(output.version),
3642
+ name: smithy_client_1.expectString(output.name),
3643
+ resourceType: smithy_client_1.expectString(output.resourceType),
3644
+ status: smithy_client_1.expectString(output.status),
3645
+ version: smithy_client_1.expectString(output.version),
3646
3646
  };
3647
3647
  };
3648
3648
  const deserializeAws_restJson1ServiceNameAndResourceType = (output, context) => {
3649
3649
  return {
3650
- resourceType: (0, smithy_client_1.expectString)(output.resourceType),
3651
- serviceName: (0, smithy_client_1.expectString)(output.serviceName),
3650
+ resourceType: smithy_client_1.expectString(output.resourceType),
3651
+ serviceName: smithy_client_1.expectString(output.serviceName),
3652
3652
  };
3653
3653
  };
3654
3654
  const deserializeAws_restJson1ServiceNameAndResourceTypeList = (output, context) => {
@@ -3663,8 +3663,8 @@ const deserializeAws_restJson1ServiceNameAndResourceTypeList = (output, context)
3663
3663
  };
3664
3664
  const deserializeAws_restJson1Tag = (output, context) => {
3665
3665
  return {
3666
- key: (0, smithy_client_1.expectString)(output.key),
3667
- value: (0, smithy_client_1.expectString)(output.value),
3666
+ key: smithy_client_1.expectString(output.key),
3667
+ value: smithy_client_1.expectString(output.value),
3668
3668
  };
3669
3669
  };
3670
3670
  const deserializeAws_restJson1TagList = (output, context) => {