@aws-sdk/client-ram 3.34.0 → 3.37.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 (341) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/RAM.js +2 -28
  3. package/dist-cjs/RAMClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/AcceptResourceShareInvitationCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/AssociateResourceShareCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/AssociateResourceSharePermissionCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/CreateResourceShareCommand.js +2 -34
  8. package/{dist/cjs → dist-cjs}/commands/DeleteResourceShareCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/DisassociateResourceShareCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/DisassociateResourceSharePermissionCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/EnableSharingWithAwsOrganizationCommand.js +2 -28
  12. package/{dist/cjs → dist-cjs}/commands/GetPermissionCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/GetResourcePoliciesCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/GetResourceShareAssociationsCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/GetResourceShareInvitationsCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/GetResourceSharesCommand.js +2 -27
  17. package/{dist/cjs → dist-cjs}/commands/ListPendingInvitationResourcesCommand.js +2 -28
  18. package/{dist/cjs → dist-cjs}/commands/ListPermissionsCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/ListPrincipalsCommand.js +2 -28
  20. package/{dist/cjs → dist-cjs}/commands/ListResourceSharePermissionsCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/ListResourceTypesCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/ListResourcesCommand.js +2 -28
  23. package/{dist/cjs → dist-cjs}/commands/PromoteResourceShareCreatedFromPolicyCommand.js +2 -39
  24. package/{dist/cjs → dist-cjs}/commands/RejectResourceShareInvitationCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
  26. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  27. package/{dist/cjs → dist-cjs}/commands/UpdateResourceShareCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  29. package/{dist/cjs → dist-cjs}/index.js +0 -1
  30. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  31. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -238
  32. package/{dist/cjs → dist-cjs}/pagination/GetResourcePoliciesPaginator.js +1 -12
  33. package/{dist/cjs → dist-cjs}/pagination/GetResourceShareAssociationsPaginator.js +1 -12
  34. package/{dist/cjs → dist-cjs}/pagination/GetResourceShareInvitationsPaginator.js +1 -12
  35. package/{dist/cjs → dist-cjs}/pagination/GetResourceSharesPaginator.js +1 -12
  36. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  37. package/{dist/cjs → dist-cjs}/pagination/ListPendingInvitationResourcesPaginator.js +1 -12
  38. package/{dist/cjs → dist-cjs}/pagination/ListPermissionsPaginator.js +1 -12
  39. package/{dist/cjs → dist-cjs}/pagination/ListPrincipalsPaginator.js +1 -12
  40. package/{dist/cjs → dist-cjs}/pagination/ListResourceSharePermissionsPaginator.js +1 -12
  41. package/{dist/cjs → dist-cjs}/pagination/ListResourceTypesPaginator.js +1 -12
  42. package/{dist/cjs → dist-cjs}/pagination/ListResourcesPaginator.js +1 -12
  43. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +24 -30
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  45. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  46. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  47. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  48. package/{dist/es → dist-es}/RAM.js +2 -3
  49. package/{dist/es → dist-es}/RAMClient.js +1 -2
  50. package/{dist/es → dist-es}/commands/AcceptResourceShareInvitationCommand.js +2 -3
  51. package/{dist/es → dist-es}/commands/AssociateResourceShareCommand.js +2 -3
  52. package/{dist/es → dist-es}/commands/AssociateResourceSharePermissionCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/CreateResourceShareCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/DeleteResourceShareCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/DisassociateResourceShareCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/DisassociateResourceSharePermissionCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/EnableSharingWithAwsOrganizationCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/GetPermissionCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/GetResourcePoliciesCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/GetResourceShareAssociationsCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/GetResourceShareInvitationsCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/GetResourceSharesCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/ListPendingInvitationResourcesCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/ListPermissionsCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/ListPrincipalsCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/ListResourceSharePermissionsCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/ListResourceTypesCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/ListResourcesCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/PromoteResourceShareCreatedFromPolicyCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/RejectResourceShareInvitationCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/UpdateResourceShareCommand.js +2 -3
  74. package/{dist/es → dist-es}/endpoints.js +1 -2
  75. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  76. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  77. package/{dist/es → dist-es}/models/models_0.js +0 -1
  78. package/{dist/es → dist-es}/pagination/GetResourcePoliciesPaginator.js +1 -2
  79. package/{dist/es → dist-es}/pagination/GetResourceShareAssociationsPaginator.js +1 -2
  80. package/{dist/es → dist-es}/pagination/GetResourceShareInvitationsPaginator.js +1 -2
  81. package/{dist/es → dist-es}/pagination/GetResourceSharesPaginator.js +1 -2
  82. package/dist-es/pagination/Interfaces.js +1 -0
  83. package/{dist/es → dist-es}/pagination/ListPendingInvitationResourcesPaginator.js +1 -2
  84. package/{dist/es → dist-es}/pagination/ListPermissionsPaginator.js +1 -2
  85. package/{dist/es → dist-es}/pagination/ListPrincipalsPaginator.js +1 -2
  86. package/{dist/es → dist-es}/pagination/ListResourceSharePermissionsPaginator.js +1 -2
  87. package/{dist/es → dist-es}/pagination/ListResourceTypesPaginator.js +1 -2
  88. package/{dist/es → dist-es}/pagination/ListResourcesPaginator.js +1 -2
  89. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
  90. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  91. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  92. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  93. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  94. package/{dist/types → dist-types}/RAM.d.ts +3 -3
  95. package/{dist/types → dist-types}/RAMClient.d.ts +9 -9
  96. package/{dist/types → dist-types}/commands/AcceptResourceShareInvitationCommand.d.ts +3 -3
  97. package/{dist/types → dist-types}/commands/AssociateResourceShareCommand.d.ts +3 -3
  98. package/{dist/types → dist-types}/commands/AssociateResourceSharePermissionCommand.d.ts +3 -3
  99. package/{dist/types → dist-types}/commands/CreateResourceShareCommand.d.ts +3 -3
  100. package/{dist/types → dist-types}/commands/DeleteResourceShareCommand.d.ts +3 -3
  101. package/{dist/types → dist-types}/commands/DisassociateResourceShareCommand.d.ts +3 -3
  102. package/{dist/types → dist-types}/commands/DisassociateResourceSharePermissionCommand.d.ts +3 -3
  103. package/{dist/types → dist-types}/commands/EnableSharingWithAwsOrganizationCommand.d.ts +3 -3
  104. package/{dist/types → dist-types}/commands/GetPermissionCommand.d.ts +3 -3
  105. package/{dist/types → dist-types}/commands/GetResourcePoliciesCommand.d.ts +3 -3
  106. package/{dist/types → dist-types}/commands/GetResourceShareAssociationsCommand.d.ts +3 -3
  107. package/{dist/types → dist-types}/commands/GetResourceShareInvitationsCommand.d.ts +3 -3
  108. package/{dist/types → dist-types}/commands/GetResourceSharesCommand.d.ts +3 -3
  109. package/{dist/types → dist-types}/commands/ListPendingInvitationResourcesCommand.d.ts +3 -3
  110. package/{dist/types → dist-types}/commands/ListPermissionsCommand.d.ts +3 -3
  111. package/{dist/types → dist-types}/commands/ListPrincipalsCommand.d.ts +3 -3
  112. package/{dist/types → dist-types}/commands/ListResourceSharePermissionsCommand.d.ts +3 -3
  113. package/{dist/types → dist-types}/commands/ListResourceTypesCommand.d.ts +3 -3
  114. package/{dist/types → dist-types}/commands/ListResourcesCommand.d.ts +3 -3
  115. package/{dist/types → dist-types}/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +3 -3
  116. package/{dist/types → dist-types}/commands/RejectResourceShareInvitationCommand.d.ts +3 -3
  117. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
  118. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
  119. package/{dist/types → dist-types}/commands/UpdateResourceShareCommand.d.ts +3 -3
  120. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  121. package/{index.ts → dist-types/index.d.ts} +0 -0
  122. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  123. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  124. package/{dist/types → dist-types}/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
  125. package/{dist/types → dist-types}/pagination/GetResourceShareAssociationsPaginator.d.ts +1 -1
  126. package/{dist/types → dist-types}/pagination/GetResourceShareInvitationsPaginator.d.ts +1 -1
  127. package/{dist/types → dist-types}/pagination/GetResourceSharesPaginator.d.ts +1 -1
  128. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  129. package/{dist/types → dist-types}/pagination/ListPendingInvitationResourcesPaginator.d.ts +1 -1
  130. package/{dist/types → dist-types}/pagination/ListPermissionsPaginator.d.ts +1 -1
  131. package/{dist/types → dist-types}/pagination/ListPrincipalsPaginator.d.ts +1 -1
  132. package/{dist/types → dist-types}/pagination/ListResourceSharePermissionsPaginator.d.ts +1 -1
  133. package/{dist/types → dist-types}/pagination/ListResourceTypesPaginator.d.ts +1 -1
  134. package/{dist/types → dist-types}/pagination/ListResourcesPaginator.d.ts +1 -1
  135. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +3 -3
  136. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  137. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  138. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  139. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  140. package/{dist/types → dist-types}/ts3.4/RAM.d.ts +28 -123
  141. package/{dist/types → dist-types}/ts3.4/RAMClient.d.ts +33 -120
  142. package/{dist/types → dist-types}/ts3.4/commands/AcceptResourceShareInvitationCommand.d.ts +5 -23
  143. package/{dist/types → dist-types}/ts3.4/commands/AssociateResourceShareCommand.d.ts +5 -23
  144. package/{dist/types → dist-types}/ts3.4/commands/AssociateResourceSharePermissionCommand.d.ts +5 -23
  145. package/dist-types/ts3.4/commands/CreateResourceShareCommand.d.ts +17 -0
  146. package/{dist/types → dist-types}/ts3.4/commands/DeleteResourceShareCommand.d.ts +5 -23
  147. package/{dist/types → dist-types}/ts3.4/commands/DisassociateResourceShareCommand.d.ts +5 -23
  148. package/{dist/types → dist-types}/ts3.4/commands/DisassociateResourceSharePermissionCommand.d.ts +5 -23
  149. package/{dist/types → dist-types}/ts3.4/commands/EnableSharingWithAwsOrganizationCommand.d.ts +5 -24
  150. package/dist-types/ts3.4/commands/GetPermissionCommand.d.ts +17 -0
  151. package/{dist/types → dist-types}/ts3.4/commands/GetResourcePoliciesCommand.d.ts +5 -23
  152. package/{dist/types → dist-types}/ts3.4/commands/GetResourceShareAssociationsCommand.d.ts +5 -23
  153. package/{dist/types → dist-types}/ts3.4/commands/GetResourceShareInvitationsCommand.d.ts +5 -23
  154. package/dist-types/ts3.4/commands/GetResourceSharesCommand.d.ts +17 -0
  155. package/{dist/types → dist-types}/ts3.4/commands/ListPendingInvitationResourcesCommand.d.ts +5 -24
  156. package/{dist/types → dist-types}/ts3.4/commands/ListPermissionsCommand.d.ts +5 -23
  157. package/dist-types/ts3.4/commands/ListPrincipalsCommand.d.ts +17 -0
  158. package/{dist/types → dist-types}/ts3.4/commands/ListResourceSharePermissionsCommand.d.ts +5 -23
  159. package/{dist/types → dist-types}/ts3.4/commands/ListResourceTypesCommand.d.ts +5 -23
  160. package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +17 -0
  162. package/{dist/types → dist-types}/ts3.4/commands/RejectResourceShareInvitationCommand.d.ts +5 -23
  163. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  165. package/{dist/types → dist-types}/ts3.4/commands/UpdateResourceShareCommand.d.ts +5 -23
  166. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  167. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  168. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  169. package/dist-types/ts3.4/models/models_0.d.ts +967 -0
  170. package/{dist/types → dist-types}/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
  171. package/{dist/types → dist-types}/ts3.4/pagination/GetResourceShareAssociationsPaginator.d.ts +1 -1
  172. package/{dist/types → dist-types}/ts3.4/pagination/GetResourceShareInvitationsPaginator.d.ts +1 -1
  173. package/{dist/types → dist-types}/ts3.4/pagination/GetResourceSharesPaginator.d.ts +1 -1
  174. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  175. package/{dist/types → dist-types}/ts3.4/pagination/ListPendingInvitationResourcesPaginator.d.ts +1 -1
  176. package/{dist/types → dist-types}/ts3.4/pagination/ListPermissionsPaginator.d.ts +1 -1
  177. package/{dist/types → dist-types}/ts3.4/pagination/ListPrincipalsPaginator.d.ts +1 -1
  178. package/{dist/types → dist-types}/ts3.4/pagination/ListResourceSharePermissionsPaginator.d.ts +1 -1
  179. package/{dist/types → dist-types}/ts3.4/pagination/ListResourceTypesPaginator.d.ts +1 -1
  180. package/{dist/types → dist-types}/ts3.4/pagination/ListResourcesPaginator.d.ts +1 -1
  181. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +3 -3
  182. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  183. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  184. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  185. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  186. package/package.json +45 -42
  187. package/RAM.ts +0 -932
  188. package/RAMClient.ts +0 -377
  189. package/commands/AcceptResourceShareInvitationCommand.ts +0 -99
  190. package/commands/AssociateResourceShareCommand.ts +0 -94
  191. package/commands/AssociateResourceSharePermissionCommand.ts +0 -102
  192. package/commands/CreateResourceShareCommand.ts +0 -101
  193. package/commands/DeleteResourceShareCommand.ts +0 -94
  194. package/commands/DisassociateResourceShareCommand.ts +0 -97
  195. package/commands/DisassociateResourceSharePermissionCommand.ts +0 -105
  196. package/commands/EnableSharingWithAwsOrganizationCommand.ts +0 -103
  197. package/commands/GetPermissionCommand.ts +0 -94
  198. package/commands/GetResourcePoliciesCommand.ts +0 -94
  199. package/commands/GetResourceShareAssociationsCommand.ts +0 -99
  200. package/commands/GetResourceShareInvitationsCommand.ts +0 -99
  201. package/commands/GetResourceSharesCommand.ts +0 -94
  202. package/commands/ListPendingInvitationResourcesCommand.ts +0 -103
  203. package/commands/ListPermissionsCommand.ts +0 -94
  204. package/commands/ListPrincipalsCommand.ts +0 -95
  205. package/commands/ListResourceSharePermissionsCommand.ts +0 -99
  206. package/commands/ListResourceTypesCommand.ts +0 -94
  207. package/commands/ListResourcesCommand.ts +0 -95
  208. package/commands/PromoteResourceShareCreatedFromPolicyCommand.ts +0 -118
  209. package/commands/RejectResourceShareInvitationCommand.ts +0 -99
  210. package/commands/TagResourceCommand.ts +0 -94
  211. package/commands/UntagResourceCommand.ts +0 -94
  212. package/commands/UpdateResourceShareCommand.ts +0 -94
  213. package/dist/cjs/RAM.js.map +0 -1
  214. package/dist/cjs/RAMClient.js +0 -66
  215. package/dist/cjs/RAMClient.js.map +0 -1
  216. package/dist/cjs/commands/AcceptResourceShareInvitationCommand.js.map +0 -1
  217. package/dist/cjs/commands/AssociateResourceShareCommand.js.map +0 -1
  218. package/dist/cjs/commands/AssociateResourceSharePermissionCommand.js.map +0 -1
  219. package/dist/cjs/commands/CreateResourceShareCommand.js.map +0 -1
  220. package/dist/cjs/commands/DeleteResourceShareCommand.js.map +0 -1
  221. package/dist/cjs/commands/DisassociateResourceShareCommand.js.map +0 -1
  222. package/dist/cjs/commands/DisassociateResourceSharePermissionCommand.js.map +0 -1
  223. package/dist/cjs/commands/EnableSharingWithAwsOrganizationCommand.js.map +0 -1
  224. package/dist/cjs/commands/GetPermissionCommand.js.map +0 -1
  225. package/dist/cjs/commands/GetResourcePoliciesCommand.js.map +0 -1
  226. package/dist/cjs/commands/GetResourceShareAssociationsCommand.js.map +0 -1
  227. package/dist/cjs/commands/GetResourceShareInvitationsCommand.js.map +0 -1
  228. package/dist/cjs/commands/GetResourceSharesCommand.js.map +0 -1
  229. package/dist/cjs/commands/ListPendingInvitationResourcesCommand.js.map +0 -1
  230. package/dist/cjs/commands/ListPermissionsCommand.js.map +0 -1
  231. package/dist/cjs/commands/ListPrincipalsCommand.js.map +0 -1
  232. package/dist/cjs/commands/ListResourceSharePermissionsCommand.js.map +0 -1
  233. package/dist/cjs/commands/ListResourceTypesCommand.js.map +0 -1
  234. package/dist/cjs/commands/ListResourcesCommand.js.map +0 -1
  235. package/dist/cjs/commands/PromoteResourceShareCreatedFromPolicyCommand.js.map +0 -1
  236. package/dist/cjs/commands/RejectResourceShareInvitationCommand.js.map +0 -1
  237. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  238. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  239. package/dist/cjs/commands/UpdateResourceShareCommand.js.map +0 -1
  240. package/dist/cjs/endpoints.js.map +0 -1
  241. package/dist/cjs/index.js.map +0 -1
  242. package/dist/cjs/models/index.js.map +0 -1
  243. package/dist/cjs/models/models_0.js.map +0 -1
  244. package/dist/cjs/package.json +0 -91
  245. package/dist/cjs/pagination/GetResourcePoliciesPaginator.js.map +0 -1
  246. package/dist/cjs/pagination/GetResourceShareAssociationsPaginator.js.map +0 -1
  247. package/dist/cjs/pagination/GetResourceShareInvitationsPaginator.js.map +0 -1
  248. package/dist/cjs/pagination/GetResourceSharesPaginator.js.map +0 -1
  249. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  250. package/dist/cjs/pagination/ListPendingInvitationResourcesPaginator.js.map +0 -1
  251. package/dist/cjs/pagination/ListPermissionsPaginator.js.map +0 -1
  252. package/dist/cjs/pagination/ListPrincipalsPaginator.js.map +0 -1
  253. package/dist/cjs/pagination/ListResourceSharePermissionsPaginator.js.map +0 -1
  254. package/dist/cjs/pagination/ListResourceTypesPaginator.js.map +0 -1
  255. package/dist/cjs/pagination/ListResourcesPaginator.js.map +0 -1
  256. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  257. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  258. package/dist/cjs/runtimeConfig.js.map +0 -1
  259. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  260. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  261. package/dist/es/RAM.js.map +0 -1
  262. package/dist/es/RAMClient.js.map +0 -1
  263. package/dist/es/commands/AcceptResourceShareInvitationCommand.js.map +0 -1
  264. package/dist/es/commands/AssociateResourceShareCommand.js.map +0 -1
  265. package/dist/es/commands/AssociateResourceSharePermissionCommand.js.map +0 -1
  266. package/dist/es/commands/CreateResourceShareCommand.js.map +0 -1
  267. package/dist/es/commands/DeleteResourceShareCommand.js.map +0 -1
  268. package/dist/es/commands/DisassociateResourceShareCommand.js.map +0 -1
  269. package/dist/es/commands/DisassociateResourceSharePermissionCommand.js.map +0 -1
  270. package/dist/es/commands/EnableSharingWithAwsOrganizationCommand.js.map +0 -1
  271. package/dist/es/commands/GetPermissionCommand.js.map +0 -1
  272. package/dist/es/commands/GetResourcePoliciesCommand.js.map +0 -1
  273. package/dist/es/commands/GetResourceShareAssociationsCommand.js.map +0 -1
  274. package/dist/es/commands/GetResourceShareInvitationsCommand.js.map +0 -1
  275. package/dist/es/commands/GetResourceSharesCommand.js.map +0 -1
  276. package/dist/es/commands/ListPendingInvitationResourcesCommand.js.map +0 -1
  277. package/dist/es/commands/ListPermissionsCommand.js.map +0 -1
  278. package/dist/es/commands/ListPrincipalsCommand.js.map +0 -1
  279. package/dist/es/commands/ListResourceSharePermissionsCommand.js.map +0 -1
  280. package/dist/es/commands/ListResourceTypesCommand.js.map +0 -1
  281. package/dist/es/commands/ListResourcesCommand.js.map +0 -1
  282. package/dist/es/commands/PromoteResourceShareCreatedFromPolicyCommand.js.map +0 -1
  283. package/dist/es/commands/RejectResourceShareInvitationCommand.js.map +0 -1
  284. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  285. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  286. package/dist/es/commands/UpdateResourceShareCommand.js.map +0 -1
  287. package/dist/es/endpoints.js.map +0 -1
  288. package/dist/es/index.js +0 -39
  289. package/dist/es/index.js.map +0 -1
  290. package/dist/es/models/index.js +0 -2
  291. package/dist/es/models/index.js.map +0 -1
  292. package/dist/es/models/models_0.js.map +0 -1
  293. package/dist/es/package.json +0 -91
  294. package/dist/es/pagination/GetResourcePoliciesPaginator.js.map +0 -1
  295. package/dist/es/pagination/GetResourceShareAssociationsPaginator.js.map +0 -1
  296. package/dist/es/pagination/GetResourceShareInvitationsPaginator.js.map +0 -1
  297. package/dist/es/pagination/GetResourceSharesPaginator.js.map +0 -1
  298. package/dist/es/pagination/Interfaces.js +0 -2
  299. package/dist/es/pagination/Interfaces.js.map +0 -1
  300. package/dist/es/pagination/ListPendingInvitationResourcesPaginator.js.map +0 -1
  301. package/dist/es/pagination/ListPermissionsPaginator.js.map +0 -1
  302. package/dist/es/pagination/ListPrincipalsPaginator.js.map +0 -1
  303. package/dist/es/pagination/ListResourceSharePermissionsPaginator.js.map +0 -1
  304. package/dist/es/pagination/ListResourceTypesPaginator.js.map +0 -1
  305. package/dist/es/pagination/ListResourcesPaginator.js.map +0 -1
  306. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  307. package/dist/es/runtimeConfig.browser.js.map +0 -1
  308. package/dist/es/runtimeConfig.js.map +0 -1
  309. package/dist/es/runtimeConfig.native.js.map +0 -1
  310. package/dist/es/runtimeConfig.shared.js.map +0 -1
  311. package/dist/types/ts3.4/commands/CreateResourceShareCommand.d.ts +0 -42
  312. package/dist/types/ts3.4/commands/GetPermissionCommand.d.ts +0 -35
  313. package/dist/types/ts3.4/commands/GetResourceSharesCommand.d.ts +0 -35
  314. package/dist/types/ts3.4/commands/ListPrincipalsCommand.d.ts +0 -36
  315. package/dist/types/ts3.4/commands/ListResourcesCommand.d.ts +0 -36
  316. package/dist/types/ts3.4/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +0 -47
  317. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
  318. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  319. package/dist/types/ts3.4/models/models_0.d.ts +0 -1701
  320. package/endpoints.ts +0 -91
  321. package/jest.config.js +0 -4
  322. package/models/models_0.ts +0 -2165
  323. package/pagination/GetResourcePoliciesPaginator.ts +0 -58
  324. package/pagination/GetResourceShareAssociationsPaginator.ts +0 -58
  325. package/pagination/GetResourceShareInvitationsPaginator.ts +0 -58
  326. package/pagination/GetResourceSharesPaginator.ts +0 -58
  327. package/pagination/Interfaces.ts +0 -7
  328. package/pagination/ListPendingInvitationResourcesPaginator.ts +0 -58
  329. package/pagination/ListPermissionsPaginator.ts +0 -58
  330. package/pagination/ListPrincipalsPaginator.ts +0 -58
  331. package/pagination/ListResourceSharePermissionsPaginator.ts +0 -58
  332. package/pagination/ListResourceTypesPaginator.ts +0 -58
  333. package/pagination/ListResourcesPaginator.ts +0 -58
  334. package/protocols/Aws_restJson1.ts +0 -4305
  335. package/runtimeConfig.browser.ts +0 -40
  336. package/runtimeConfig.native.ts +0 -16
  337. package/runtimeConfig.shared.ts +0 -16
  338. package/runtimeConfig.ts +0 -45
  339. package/tsconfig.es.json +0 -10
  340. package/tsconfig.json +0 -31
  341. package/tsconfig.types.json +0 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
29
+
30
+
31
+ ### Features
32
+
33
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
34
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
35
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
36
+
37
+
38
+
39
+
40
+
41
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
42
+
43
+
44
+ ### Features
45
+
46
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
47
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
7
54
 
8
55
 
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RAM = void 0;
4
- const RAMClient_1 = require("./RAMClient");
5
4
  const AcceptResourceShareInvitationCommand_1 = require("./commands/AcceptResourceShareInvitationCommand");
6
5
  const AssociateResourceShareCommand_1 = require("./commands/AssociateResourceShareCommand");
7
6
  const AssociateResourceSharePermissionCommand_1 = require("./commands/AssociateResourceSharePermissionCommand");
@@ -18,39 +17,15 @@ const GetResourceSharesCommand_1 = require("./commands/GetResourceSharesCommand"
18
17
  const ListPendingInvitationResourcesCommand_1 = require("./commands/ListPendingInvitationResourcesCommand");
19
18
  const ListPermissionsCommand_1 = require("./commands/ListPermissionsCommand");
20
19
  const ListPrincipalsCommand_1 = require("./commands/ListPrincipalsCommand");
20
+ const ListResourcesCommand_1 = require("./commands/ListResourcesCommand");
21
21
  const ListResourceSharePermissionsCommand_1 = require("./commands/ListResourceSharePermissionsCommand");
22
22
  const ListResourceTypesCommand_1 = require("./commands/ListResourceTypesCommand");
23
- const ListResourcesCommand_1 = require("./commands/ListResourcesCommand");
24
23
  const PromoteResourceShareCreatedFromPolicyCommand_1 = require("./commands/PromoteResourceShareCreatedFromPolicyCommand");
25
24
  const RejectResourceShareInvitationCommand_1 = require("./commands/RejectResourceShareInvitationCommand");
26
25
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
27
26
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
28
27
  const UpdateResourceShareCommand_1 = require("./commands/UpdateResourceShareCommand");
29
- /**
30
- * <p>This is the <i>Resource Access Manager API Reference</i>. This documentation provides
31
- * descriptions and syntax for each of the actions and data types in RAM. RAM is a
32
- * service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts and
33
- * within your organization or organizational units (OUs) in Organizations. For supported
34
- * resource types, you can also share resources with IAM roles and IAM users. If you have
35
- * multiple Amazon Web Services accounts, you can use RAM to share those resources with other
36
- * accounts.</p>
37
- *
38
- * <p>To learn more about RAM, see the following resources:</p>
39
- *
40
- * <ul>
41
- * <li>
42
- * <p>
43
- * <a href="http://aws.amazon.com/ram">Resource Access Manager product page</a>
44
- * </p>
45
- * </li>
46
- * <li>
47
- * <p>
48
- * <a href="https://docs.aws.amazon.com/ram/latest/userguide/">Resource Access Manager User
49
- * Guide</a>
50
- * </p>
51
- * </li>
52
- * </ul>
53
- */
28
+ const RAMClient_1 = require("./RAMClient");
54
29
  class RAM extends RAMClient_1.RAMClient {
55
30
  acceptResourceShareInvitation(args, optionsOrCb, cb) {
56
31
  const command = new AcceptResourceShareInvitationCommand_1.AcceptResourceShareInvitationCommand(args);
@@ -390,4 +365,3 @@ class RAM extends RAMClient_1.RAMClient {
390
365
  }
391
366
  }
392
367
  exports.RAM = RAM;
393
- //# sourceMappingURL=RAM.js.map
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RAMClient = void 0;
4
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
+ const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
+ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
+ const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
+ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
+ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
+ class RAMClient extends smithy_client_1.Client {
14
+ constructor(configuration) {
15
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
22
+ super(_config_6);
23
+ this.config = _config_6;
24
+ this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
+ this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
+ this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
+ this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
+ this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
+ this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
30
+ }
31
+ destroy() {
32
+ super.destroy();
33
+ }
34
+ }
35
+ exports.RAMClient = RAMClient;
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AcceptResourceShareInvitationCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Accepts an invitation to a resource share from another Amazon Web Services account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { RAMClient, AcceptResourceShareInvitationCommand } from "@aws-sdk/client-ram"; // ES Modules import
14
- * // const { RAMClient, AcceptResourceShareInvitationCommand } = require("@aws-sdk/client-ram"); // CommonJS import
15
- * const client = new RAMClient(config);
16
- * const command = new AcceptResourceShareInvitationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AcceptResourceShareInvitationCommandInput} for command's `input` shape.
21
- * @see {@link AcceptResourceShareInvitationCommandOutput} for command's `response` shape.
22
- * @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class AcceptResourceShareInvitationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class AcceptResourceShareInvitationCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.AcceptResourceShareInvitationCommand = AcceptResourceShareInvitationCommand;
61
- //# sourceMappingURL=AcceptResourceShareInvitationCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AssociateResourceShareCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Associates the specified resource share with the specified principals and resources.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { RAMClient, AssociateResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
14
- * // const { RAMClient, AssociateResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
15
- * const client = new RAMClient(config);
16
- * const command = new AssociateResourceShareCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AssociateResourceShareCommandInput} for command's `input` shape.
21
- * @see {@link AssociateResourceShareCommandOutput} for command's `response` shape.
22
- * @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class AssociateResourceShareCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class AssociateResourceShareCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.AssociateResourceShareCommand = AssociateResourceShareCommand;
61
- //# sourceMappingURL=AssociateResourceShareCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AssociateResourceSharePermissionCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Associates a permission with a resource share.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { RAMClient, AssociateResourceSharePermissionCommand } from "@aws-sdk/client-ram"; // ES Modules import
14
- * // const { RAMClient, AssociateResourceSharePermissionCommand } = require("@aws-sdk/client-ram"); // CommonJS import
15
- * const client = new RAMClient(config);
16
- * const command = new AssociateResourceSharePermissionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AssociateResourceSharePermissionCommandInput} for command's `input` shape.
21
- * @see {@link AssociateResourceSharePermissionCommandOutput} for command's `response` shape.
22
- * @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class AssociateResourceSharePermissionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class AssociateResourceSharePermissionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.AssociateResourceSharePermissionCommand = AssociateResourceSharePermissionCommand;
61
- //# sourceMappingURL=AssociateResourceSharePermissionCommand.js.map
@@ -1,46 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateResourceShareCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Creates a resource share. You must provide a list of the Amazon Resource Names (ARNs) for the
10
- * resources you want to share. You must also specify who you want to share the resources
11
- * with, and the permissions that you grant them.</p>
12
- * <note>
13
- * <p>Sharing a resource makes it available for use by principals outside of the
14
- * Amazon Web Services account that created the resource. Sharing doesn't change any permissions or
15
- * quotas that apply to the resource in the account that created it.</p>
16
- * </note>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { RAMClient, CreateResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
21
- * // const { RAMClient, CreateResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
22
- * const client = new RAMClient(config);
23
- * const command = new CreateResourceShareCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link CreateResourceShareCommandInput} for command's `input` shape.
28
- * @see {@link CreateResourceShareCommandOutput} for command's `response` shape.
29
- * @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
32
8
  class CreateResourceShareCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +34,3 @@ class CreateResourceShareCommand extends smithy_client_1.Command {
65
34
  }
66
35
  }
67
36
  exports.CreateResourceShareCommand = CreateResourceShareCommand;
68
- //# sourceMappingURL=CreateResourceShareCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteResourceShareCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Deletes the specified resource share.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { RAMClient, DeleteResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
14
- * // const { RAMClient, DeleteResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
15
- * const client = new RAMClient(config);
16
- * const command = new DeleteResourceShareCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteResourceShareCommandInput} for command's `input` shape.
21
- * @see {@link DeleteResourceShareCommandOutput} for command's `response` shape.
22
- * @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class DeleteResourceShareCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DeleteResourceShareCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteResourceShareCommand = DeleteResourceShareCommand;
61
- //# sourceMappingURL=DeleteResourceShareCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DisassociateResourceShareCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Disassociates the specified principals or resources from the specified resource share.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { RAMClient, DisassociateResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
14
- * // const { RAMClient, DisassociateResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
15
- * const client = new RAMClient(config);
16
- * const command = new DisassociateResourceShareCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DisassociateResourceShareCommandInput} for command's `input` shape.
21
- * @see {@link DisassociateResourceShareCommandOutput} for command's `response` shape.
22
- * @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class DisassociateResourceShareCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DisassociateResourceShareCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DisassociateResourceShareCommand = DisassociateResourceShareCommand;
61
- //# sourceMappingURL=DisassociateResourceShareCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DisassociateResourceSharePermissionCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Disassociates an RAM permission from a resource share.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { RAMClient, DisassociateResourceSharePermissionCommand } from "@aws-sdk/client-ram"; // ES Modules import
14
- * // const { RAMClient, DisassociateResourceSharePermissionCommand } = require("@aws-sdk/client-ram"); // CommonJS import
15
- * const client = new RAMClient(config);
16
- * const command = new DisassociateResourceSharePermissionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DisassociateResourceSharePermissionCommandInput} for command's `input` shape.
21
- * @see {@link DisassociateResourceSharePermissionCommandOutput} for command's `response` shape.
22
- * @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class DisassociateResourceSharePermissionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DisassociateResourceSharePermissionCommand extends smithy_client_1.Command
58
34
  }
59
35
  }
60
36
  exports.DisassociateResourceSharePermissionCommand = DisassociateResourceSharePermissionCommand;
61
- //# sourceMappingURL=DisassociateResourceSharePermissionCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EnableSharingWithAwsOrganizationCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Enables resource sharing within your organization in Organizations.</p>
10
- * <p>The caller must be the master account for the organization.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { RAMClient, EnableSharingWithAwsOrganizationCommand } from "@aws-sdk/client-ram"; // ES Modules import
15
- * // const { RAMClient, EnableSharingWithAwsOrganizationCommand } = require("@aws-sdk/client-ram"); // CommonJS import
16
- * const client = new RAMClient(config);
17
- * const command = new EnableSharingWithAwsOrganizationCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link EnableSharingWithAwsOrganizationCommandInput} for command's `input` shape.
22
- * @see {@link EnableSharingWithAwsOrganizationCommandOutput} for command's `response` shape.
23
- * @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
26
8
  class EnableSharingWithAwsOrganizationCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class EnableSharingWithAwsOrganizationCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.EnableSharingWithAwsOrganizationCommand = EnableSharingWithAwsOrganizationCommand;
62
- //# sourceMappingURL=EnableSharingWithAwsOrganizationCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetPermissionCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Gets the contents of an RAM permission in JSON format.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { RAMClient, GetPermissionCommand } from "@aws-sdk/client-ram"; // ES Modules import
14
- * // const { RAMClient, GetPermissionCommand } = require("@aws-sdk/client-ram"); // CommonJS import
15
- * const client = new RAMClient(config);
16
- * const command = new GetPermissionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetPermissionCommandInput} for command's `input` shape.
21
- * @see {@link GetPermissionCommandOutput} for command's `response` shape.
22
- * @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class GetPermissionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class GetPermissionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.GetPermissionCommand = GetPermissionCommand;
61
- //# sourceMappingURL=GetPermissionCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetResourcePoliciesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Gets the policies for the specified resources that you own and have shared.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { RAMClient, GetResourcePoliciesCommand } from "@aws-sdk/client-ram"; // ES Modules import
14
- * // const { RAMClient, GetResourcePoliciesCommand } = require("@aws-sdk/client-ram"); // CommonJS import
15
- * const client = new RAMClient(config);
16
- * const command = new GetResourcePoliciesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetResourcePoliciesCommandInput} for command's `input` shape.
21
- * @see {@link GetResourcePoliciesCommandOutput} for command's `response` shape.
22
- * @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class GetResourcePoliciesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class GetResourcePoliciesCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.GetResourcePoliciesCommand = GetResourcePoliciesCommand;
61
- //# sourceMappingURL=GetResourcePoliciesCommand.js.map