@cdklabs/cdk-construct-connect-datalake 0.0.0 → 0.0.2

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 (355) hide show
  1. package/.jsii +10 -10
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/index.js +1 -1
  4. package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +2 -2
  5. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +2 -2
  6. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +1 -1
  7. package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
  8. package/node_modules/@aws-sdk/client-cloudformation/README.md +26 -46
  9. package/node_modules/@aws-sdk/client-cloudformation/package.json +39 -39
  10. package/node_modules/@aws-sdk/client-connect/README.md +47 -46
  11. package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +43 -0
  12. package/node_modules/@aws-sdk/client-connect/dist-cjs/schemas/schemas_0.js +109 -41
  13. package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +6 -0
  14. package/node_modules/@aws-sdk/client-connect/dist-es/commands/AssociateQueueEmailAddressesCommand.js +16 -0
  15. package/node_modules/@aws-sdk/client-connect/dist-es/commands/DisassociateQueueEmailAddressesCommand.js +16 -0
  16. package/node_modules/@aws-sdk/client-connect/dist-es/commands/ListQueueEmailAddressesCommand.js +16 -0
  17. package/node_modules/@aws-sdk/client-connect/dist-es/commands/index.js +3 -0
  18. package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +1 -0
  19. package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +78 -10
  20. package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +21 -0
  21. package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +5 -2
  22. package/node_modules/@aws-sdk/client-connect/dist-types/commands/AssociateQueueEmailAddressesCommand.d.ts +120 -0
  23. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateQueueCommand.d.ts +5 -0
  24. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateTestCaseCommand.d.ts +4 -1
  25. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeContactEvaluationCommand.d.ts +4 -2
  26. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeTestCaseCommand.d.ts +4 -1
  27. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DisassociateQueueEmailAddressesCommand.d.ts +109 -0
  28. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetTestCaseExecutionSummaryCommand.d.ts +2 -1
  29. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetTrafficDistributionCommand.d.ts +1 -2
  30. package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListQueueEmailAddressesCommand.d.ts +121 -0
  31. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactEvaluationsCommand.d.ts +1 -2
  32. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchRoutingProfilesCommand.d.ts +1 -2
  33. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchSecurityProfilesCommand.d.ts +1 -2
  34. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchTestCasesCommand.d.ts +5 -3
  35. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateTestCaseCommand.d.ts +4 -1
  36. package/node_modules/@aws-sdk/client-connect/dist-types/commands/index.d.ts +3 -0
  37. package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +1 -0
  38. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +62 -88
  39. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +137 -81
  40. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +147 -148
  41. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +150 -3
  42. package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +10 -0
  43. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +51 -0
  44. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/ConnectClient.d.ts +18 -0
  45. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/AssociateQueueEmailAddressesCommand.d.ts +47 -0
  46. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DisassociateQueueEmailAddressesCommand.d.ts +47 -0
  47. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetTestCaseExecutionSummaryCommand.d.ts +2 -4
  48. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetTrafficDistributionCommand.d.ts +4 -2
  49. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/ListQueueEmailAddressesCommand.d.ts +51 -0
  50. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +4 -2
  51. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +4 -2
  52. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchTestCasesCommand.d.ts +4 -2
  53. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/index.d.ts +3 -0
  54. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +1 -0
  55. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +14 -20
  56. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +30 -24
  57. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +35 -35
  58. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +34 -3
  59. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
  60. package/node_modules/@aws-sdk/client-connect/package.json +38 -38
  61. package/node_modules/@aws-sdk/client-glue/README.md +26 -46
  62. package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +5 -0
  63. package/node_modules/@aws-sdk/client-glue/dist-cjs/schemas/schemas_0.js +5 -4
  64. package/node_modules/@aws-sdk/client-glue/dist-es/models/enums.js +4 -0
  65. package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +5 -4
  66. package/node_modules/@aws-sdk/client-glue/dist-types/commands/BatchGetPartitionCommand.d.ts +16 -0
  67. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateCatalogCommand.d.ts +1 -0
  68. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateDataQualityRulesetCommand.d.ts +1 -2
  69. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateCatalogCommand.d.ts +1 -0
  70. package/node_modules/@aws-sdk/client-glue/dist-types/models/enums.d.ts +12 -0
  71. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_0.d.ts +50 -43
  72. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +41 -21
  73. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +23 -33
  74. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateDataQualityRulesetCommand.d.ts +4 -2
  75. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/enums.d.ts +6 -0
  76. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_0.d.ts +13 -9
  77. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +9 -5
  78. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_2.d.ts +6 -8
  79. package/node_modules/@aws-sdk/client-glue/package.json +38 -38
  80. package/node_modules/@aws-sdk/client-lakeformation/README.md +26 -46
  81. package/node_modules/@aws-sdk/client-lakeformation/package.json +39 -39
  82. package/node_modules/@aws-sdk/client-ram/README.md +26 -46
  83. package/node_modules/@aws-sdk/client-ram/dist-cjs/schemas/schemas_0.js +14 -6
  84. package/node_modules/@aws-sdk/client-ram/dist-es/schemas/schemas_0.js +12 -4
  85. package/node_modules/@aws-sdk/client-ram/dist-types/commands/CreateResourceShareCommand.d.ts +6 -0
  86. package/node_modules/@aws-sdk/client-ram/dist-types/commands/GetResourceSharesCommand.d.ts +3 -0
  87. package/node_modules/@aws-sdk/client-ram/dist-types/commands/UpdateResourceShareCommand.d.ts +3 -0
  88. package/node_modules/@aws-sdk/client-ram/dist-types/models/models_0.d.ts +21 -0
  89. package/node_modules/@aws-sdk/client-ram/dist-types/schemas/schemas_0.d.ts +1 -0
  90. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/models/models_0.d.ts +5 -0
  91. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  92. package/node_modules/@aws-sdk/client-ram/package.json +38 -38
  93. package/node_modules/@aws-sdk/client-sts/README.md +26 -46
  94. package/node_modules/@aws-sdk/client-sts/package.json +43 -39
  95. package/node_modules/@aws-sdk/core/dist-cjs/index.js +11 -15
  96. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +11 -15
  97. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -0
  98. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -8
  99. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +3 -0
  100. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +5 -7
  101. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +2 -0
  102. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +4 -0
  103. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +3 -0
  104. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +2 -0
  105. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +1 -0
  106. package/node_modules/@aws-sdk/core/package.json +14 -14
  107. package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
  108. package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -11
  109. package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -15
  110. package/node_modules/@aws-sdk/credential-provider-login/package.json +9 -9
  111. package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
  112. package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
  113. package/node_modules/@aws-sdk/credential-provider-sso/package.json +9 -9
  114. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
  115. package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
  116. package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
  117. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
  118. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +9 -9
  119. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +9 -9
  120. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +4 -2
  121. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +3 -3
  122. package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -8
  123. package/node_modules/@aws-sdk/nested-clients/package.json +39 -37
  124. package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
  125. package/node_modules/@aws-sdk/token-providers/package.json +8 -8
  126. package/node_modules/@aws-sdk/types/package.json +3 -3
  127. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
  128. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
  129. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  130. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +87 -14
  131. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js +15 -0
  132. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js +14 -0
  133. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js +9 -0
  134. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +59 -8
  135. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts +10 -0
  136. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts +8 -0
  137. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts +8 -0
  138. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts +1 -0
  139. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts +3 -0
  140. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts +3 -0
  141. package/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -6
  142. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +21 -11
  143. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +5 -0
  144. package/node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js +8 -1
  145. package/node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js +13 -10
  146. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +5 -0
  147. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +59 -0
  148. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +8 -7
  149. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  150. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
  151. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  152. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +97 -21
  153. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  154. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  155. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  156. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  157. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +1 -1
  158. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
  159. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/pem.d.cts +148 -0
  160. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +5 -3
  161. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +91 -19
  162. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +1 -1
  163. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/pem.d.ts +135 -0
  164. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +18 -25
  165. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +87 -87
  166. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +10 -10
  167. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +23 -23
  168. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +29 -29
  169. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +39 -39
  170. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +17 -17
  171. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +22 -22
  172. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +85 -85
  173. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +34 -34
  174. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -284
  175. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +37 -18
  176. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +78 -5
  177. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +317 -113
  178. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +23 -23
  179. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +96 -42
  180. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +10 -10
  181. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/CHANGELOG.md +9 -2
  182. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/README.md +1 -0
  183. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/package.json +3 -3
  184. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/strnum.js +161 -0
  185. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/tests/infinity_test.js +18 -0
  186. package/node_modules/{strnum/strnum.test.js → @aws-sdk/xml-builder/node_modules/strnum/tests/strnum_test.js} +70 -68
  187. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/tests/temp.js +8 -0
  188. package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
  189. package/node_modules/@smithy/abort-controller/package.json +3 -3
  190. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +12 -0
  191. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +5 -0
  192. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +5 -0
  193. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
  194. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
  195. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
  196. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
  197. package/node_modules/@smithy/config-resolver/package.json +7 -7
  198. package/node_modules/@smithy/core/dist-cjs/index.js +1 -2
  199. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +9 -9
  200. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
  201. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +1 -1
  202. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +11 -1
  203. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +42 -5
  204. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -2
  205. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +2 -8
  206. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +7 -1
  207. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -0
  208. package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +17 -0
  209. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +1 -1
  210. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +10 -0
  211. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
  212. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -2
  213. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +31 -2
  214. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +5 -1
  215. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +1 -0
  216. package/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts +6 -0
  217. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  218. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +6 -0
  219. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +1 -0
  220. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +6 -0
  221. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  222. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +6 -0
  223. package/node_modules/@smithy/core/endpoints.d.ts +7 -0
  224. package/node_modules/@smithy/core/endpoints.js +6 -0
  225. package/node_modules/@smithy/core/package.json +21 -12
  226. package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
  227. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -4
  228. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +21 -4
  229. package/node_modules/@smithy/fetch-http-handler/package.json +7 -7
  230. package/node_modules/@smithy/hash-node/package.json +5 -5
  231. package/node_modules/@smithy/invalid-dependency/package.json +3 -3
  232. package/node_modules/@smithy/is-array-buffer/package.json +2 -2
  233. package/node_modules/@smithy/middleware-content-length/package.json +4 -4
  234. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +17 -1
  235. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +9 -0
  236. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js +8 -1
  237. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -0
  238. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +2 -2
  239. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +1 -0
  240. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +2 -2
  241. package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
  242. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +9 -12
  243. package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +9 -12
  244. package/node_modules/@smithy/middleware-retry/package.json +10 -10
  245. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +3 -2
  246. package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +3 -2
  247. package/node_modules/@smithy/middleware-serde/package.json +5 -4
  248. package/node_modules/@smithy/middleware-stack/package.json +3 -3
  249. package/node_modules/@smithy/node-config-provider/package.json +5 -5
  250. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +68 -45
  251. package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
  252. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +41 -35
  253. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  254. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +4 -5
  255. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
  256. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
  257. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
  258. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
  259. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
  260. package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
  261. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
  262. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
  263. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
  264. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
  265. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
  266. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
  267. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
  268. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
  269. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
  270. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
  271. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
  272. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
  273. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
  274. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
  275. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
  276. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
  277. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
  278. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
  279. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
  280. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
  281. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
  282. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
  283. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
  284. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
  285. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
  286. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
  287. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
  288. package/node_modules/@smithy/node-http-handler/package.json +6 -6
  289. package/node_modules/@smithy/property-provider/package.json +3 -3
  290. package/node_modules/@smithy/protocol-http/package.json +3 -3
  291. package/node_modules/@smithy/querystring-builder/package.json +4 -4
  292. package/node_modules/@smithy/querystring-parser/package.json +3 -3
  293. package/node_modules/@smithy/service-error-classification/package.json +3 -3
  294. package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -3
  295. package/node_modules/@smithy/signature-v4/package.json +9 -9
  296. package/node_modules/@smithy/smithy-client/package.json +8 -8
  297. package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
  298. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
  299. package/node_modules/@smithy/types/package.json +1 -1
  300. package/node_modules/@smithy/url-parser/package.json +4 -4
  301. package/node_modules/@smithy/util-base64/package.json +4 -4
  302. package/node_modules/@smithy/util-body-length-browser/package.json +2 -2
  303. package/node_modules/@smithy/util-body-length-node/package.json +2 -2
  304. package/node_modules/@smithy/util-buffer-from/package.json +3 -3
  305. package/node_modules/@smithy/util-config-provider/package.json +2 -2
  306. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
  307. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
  308. package/node_modules/@smithy/util-endpoints/package.json +4 -4
  309. package/node_modules/@smithy/util-hex-encoding/package.json +2 -2
  310. package/node_modules/@smithy/util-middleware/package.json +3 -3
  311. package/node_modules/@smithy/util-retry/package.json +4 -4
  312. package/node_modules/@smithy/util-stream/package.json +9 -9
  313. package/node_modules/@smithy/util-uri-escape/package.json +2 -2
  314. package/node_modules/@smithy/util-utf8/package.json +3 -3
  315. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +1 -1
  316. package/node_modules/@smithy/util-waiter/dist-es/poller.js +1 -1
  317. package/node_modules/@smithy/util-waiter/package.json +4 -4
  318. package/node_modules/@smithy/uuid/package.json +2 -2
  319. package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
  320. package/node_modules/fast-xml-builder/LICENSE +21 -0
  321. package/node_modules/fast-xml-builder/README.md +23 -0
  322. package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
  323. package/node_modules/fast-xml-builder/lib/fxb.d.cts +180 -0
  324. package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
  325. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
  326. package/node_modules/fast-xml-builder/package.json +80 -0
  327. package/node_modules/fast-xml-builder/src/fxb.d.ts +180 -0
  328. package/node_modules/fast-xml-builder/src/fxb.js +529 -0
  329. package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
  330. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +292 -0
  331. package/node_modules/path-expression-matcher/LICENSE +21 -0
  332. package/node_modules/path-expression-matcher/README.md +720 -0
  333. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
  334. package/node_modules/path-expression-matcher/lib/pem.d.cts +523 -0
  335. package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
  336. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
  337. package/node_modules/path-expression-matcher/package.json +78 -0
  338. package/node_modules/path-expression-matcher/src/Expression.js +232 -0
  339. package/node_modules/path-expression-matcher/src/Matcher.js +498 -0
  340. package/node_modules/path-expression-matcher/src/index.d.ts +518 -0
  341. package/node_modules/path-expression-matcher/src/index.js +28 -0
  342. package/node_modules/xml2js/node_modules/sax/lib/sax.js +151 -7
  343. package/node_modules/xml2js/node_modules/sax/package.json +5 -2
  344. package/package.json +10 -10
  345. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptPackageJsonPath.js +0 -14
  346. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptPackageJsonPath.d.ts +0 -9
  347. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptPackageJsonPath.d.ts +0 -1
  348. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +0 -134
  349. package/node_modules/strnum/strnum.js +0 -129
  350. package/node_modules/strnum/test.js +0 -9
  351. /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/.github/SECURITY.md +0 -0
  352. /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/.vscode/launch.json +0 -0
  353. /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/LICENSE +0 -0
  354. /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/algo.stflow +0 -0
  355. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder → fast-xml-builder/src}/prettifyJs2Xml.js +0 -0
@@ -28,8 +28,9 @@ Guide</a>
28
28
  </ul>
29
29
 
30
30
  ## Installing
31
- To install this package, simply type add or install @aws-sdk/client-ram
32
- using your favorite package manager:
31
+
32
+ To install this package, use the CLI of your favorite package manager:
33
+
33
34
  - `npm install @aws-sdk/client-ram`
34
35
  - `yarn add @aws-sdk/client-ram`
35
36
  - `pnpm add @aws-sdk/client-ram`
@@ -54,15 +55,15 @@ import { RAMClient, ListPermissionsCommand } from "@aws-sdk/client-ram";
54
55
 
55
56
  ### Usage
56
57
 
57
- To send a request, you:
58
+ To send a request:
58
59
 
59
- - Initiate client with configuration (e.g. credentials, region).
60
- - Initiate command with input parameters.
61
- - Call `send` operation on client with command object as input.
62
- - If you are using a custom http handler, you may call `destroy()` to close open connections.
60
+ - Instantiate a client with configuration (e.g. credentials, region).
61
+ - See [docs/CLIENTS](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md) for configuration details.
62
+ - See [@aws-sdk/config](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/config/README.md) for additional options.
63
+ - Instantiate a command with input parameters.
64
+ - Call the `send` operation on the client, providing the command object as input.
63
65
 
64
66
  ```js
65
- // a client can be shared by different commands.
66
67
  const client = new RAMClient({ region: "REGION" });
67
68
 
68
69
  const params = { /** input parameters */ };
@@ -71,7 +72,7 @@ const command = new ListPermissionsCommand(params);
71
72
 
72
73
  #### Async/await
73
74
 
74
- We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
75
+ We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
75
76
  operator to wait for the promise returned by send operation as follows:
76
77
 
77
78
  ```js
@@ -86,26 +87,9 @@ try {
86
87
  }
87
88
  ```
88
89
 
89
- Async-await is clean, concise, intuitive, easy to debug and has better error handling
90
- as compared to using Promise chains or callbacks.
91
-
92
90
  #### Promises
93
91
 
94
- You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining)
95
- to execute send operation.
96
-
97
- ```js
98
- client.send(command).then(
99
- (data) => {
100
- // process data.
101
- },
102
- (error) => {
103
- // error handling.
104
- }
105
- );
106
- ```
107
-
108
- Promises can also be called using `.catch()` and `.finally()` as follows:
92
+ You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining).
109
93
 
110
94
  ```js
111
95
  client
@@ -121,27 +105,21 @@ client
121
105
  });
122
106
  ```
123
107
 
124
- #### Callbacks
125
-
126
- We do not recommend using callbacks because of [callback hell](http://callbackhell.com/),
127
- but they are supported by the send operation.
108
+ #### Aggregated client
128
109
 
129
- ```js
130
- // callbacks.
131
- client.send(command, (err, data) => {
132
- // process err and data.
133
- });
134
- ```
110
+ The aggregated client class is exported from the same package, but without the "Client" suffix.
135
111
 
136
- #### v2 compatible style
112
+ `RAM` extends `RAMClient` and additionally supports all operations, waiters, and paginators as methods.
113
+ This style may be familiar to you from the AWS SDK for JavaScript v2.
137
114
 
138
- The client can also send requests using v2 compatible style.
139
- However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post
140
- on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/)
115
+ If you are bundling the AWS SDK, we recommend using only the bare-bones client (`RAMClient`).
116
+ More details are in the blog post on
117
+ [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/).
141
118
 
142
119
  ```ts
143
- import * as AWS from "@aws-sdk/client-ram";
144
- const client = new AWS.RAM({ region: "REGION" });
120
+ import { RAM } from "@aws-sdk/client-ram";
121
+
122
+ const client = new RAM({ region: "REGION" });
145
123
 
146
124
  // async/await.
147
125
  try {
@@ -161,7 +139,7 @@ client
161
139
  // error handling.
162
140
  });
163
141
 
164
- // callbacks.
142
+ // callbacks (not recommended).
165
143
  client.listPermissions(params, (err, data) => {
166
144
  // process err and data.
167
145
  });
@@ -189,12 +167,14 @@ try {
189
167
  }
190
168
  ```
191
169
 
170
+ See also [docs/ERROR_HANDLING](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/ERROR_HANDLING.md).
171
+
192
172
  ## Getting Help
193
173
 
194
174
  Please use these community resources for getting help.
195
- We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
175
+ We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
196
176
 
197
- - Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
177
+ - Visit the [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
198
178
  or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
199
179
  - Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
200
180
  on AWS Developer Blog.
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteResourceShareResponse$ = exports.DeleteResourceShareRequest$ = exports.DeletePermissionVersionResponse$ = exports.DeletePermissionVersionRequest$ = exports.DeletePermissionResponse$ = exports.DeletePermissionRequest$ = exports.CreateResourceShareResponse$ = exports.CreateResourceShareRequest$ = exports.CreatePermissionVersionResponse$ = exports.CreatePermissionVersionRequest$ = exports.CreatePermissionResponse$ = exports.CreatePermissionRequest$ = exports.AssociateResourceShareResponse$ = exports.AssociateResourceShareRequest$ = exports.AssociateResourceSharePermissionResponse$ = exports.AssociateResourceSharePermissionRequest$ = exports.AssociatedSource$ = exports.AssociatedPermission$ = exports.AcceptResourceShareInvitationResponse$ = exports.AcceptResourceShareInvitationRequest$ = exports.errorTypeRegistries = exports.UnmatchedPolicyPermissionException$ = exports.UnknownResourceException$ = exports.ThrottlingException$ = exports.TagPolicyViolationException$ = exports.TagLimitExceededException$ = exports.ServiceUnavailableException$ = exports.ServerInternalException$ = exports.ResourceShareLimitExceededException$ = exports.ResourceShareInvitationExpiredException$ = exports.ResourceShareInvitationArnNotFoundException$ = exports.ResourceShareInvitationAlreadyRejectedException$ = exports.ResourceShareInvitationAlreadyAcceptedException$ = exports.ResourceArnNotFoundException$ = exports.PermissionVersionsLimitExceededException$ = exports.PermissionLimitExceededException$ = exports.PermissionAlreadyExistsException$ = exports.OperationNotPermittedException$ = exports.MissingRequiredParameterException$ = exports.MalformedPolicyTemplateException$ = exports.MalformedArnException$ = exports.InvalidStateTransitionException$ = exports.InvalidResourceTypeException$ = exports.InvalidPolicyException$ = exports.InvalidParameterException$ = exports.InvalidNextTokenException$ = exports.InvalidMaxResultsException$ = exports.InvalidClientTokenException$ = exports.IdempotentParameterMismatchException$ = exports.RAMServiceException$ = void 0;
4
- exports.ResourceShareInvitation$ = exports.ResourceShareAssociation$ = exports.ResourceShare$ = exports.Resource$ = exports.ReplacePermissionAssociationsWork$ = exports.ReplacePermissionAssociationsResponse$ = exports.ReplacePermissionAssociationsRequest$ = exports.RejectResourceShareInvitationResponse$ = exports.RejectResourceShareInvitationRequest$ = exports.PromoteResourceShareCreatedFromPolicyResponse$ = exports.PromoteResourceShareCreatedFromPolicyRequest$ = exports.PromotePermissionCreatedFromPolicyResponse$ = exports.PromotePermissionCreatedFromPolicyRequest$ = exports.Principal$ = exports.ListSourceAssociationsResponse$ = exports.ListSourceAssociationsRequest$ = exports.ListResourceTypesResponse$ = exports.ListResourceTypesRequest$ = exports.ListResourcesResponse$ = exports.ListResourcesRequest$ = exports.ListResourceSharePermissionsResponse$ = exports.ListResourceSharePermissionsRequest$ = exports.ListReplacePermissionAssociationsWorkResponse$ = exports.ListReplacePermissionAssociationsWorkRequest$ = exports.ListPrincipalsResponse$ = exports.ListPrincipalsRequest$ = exports.ListPermissionVersionsResponse$ = exports.ListPermissionVersionsRequest$ = exports.ListPermissionsResponse$ = exports.ListPermissionsRequest$ = exports.ListPermissionAssociationsResponse$ = exports.ListPermissionAssociationsRequest$ = exports.ListPendingInvitationResourcesResponse$ = exports.ListPendingInvitationResourcesRequest$ = exports.GetResourceSharesResponse$ = exports.GetResourceSharesRequest$ = exports.GetResourceShareInvitationsResponse$ = exports.GetResourceShareInvitationsRequest$ = exports.GetResourceShareAssociationsResponse$ = exports.GetResourceShareAssociationsRequest$ = exports.GetResourcePoliciesResponse$ = exports.GetResourcePoliciesRequest$ = exports.GetPermissionResponse$ = exports.GetPermissionRequest$ = exports.EnableSharingWithAwsOrganizationResponse$ = exports.EnableSharingWithAwsOrganizationRequest$ = exports.DisassociateResourceShareResponse$ = exports.DisassociateResourceShareRequest$ = exports.DisassociateResourceSharePermissionResponse$ = exports.DisassociateResourceSharePermissionRequest$ = void 0;
5
- exports.UpdateResourceShare$ = exports.UntagResource$ = exports.TagResource$ = exports.SetDefaultPermissionVersion$ = exports.ReplacePermissionAssociations$ = exports.RejectResourceShareInvitation$ = exports.PromoteResourceShareCreatedFromPolicy$ = exports.PromotePermissionCreatedFromPolicy$ = exports.ListSourceAssociations$ = exports.ListResourceTypes$ = exports.ListResourceSharePermissions$ = exports.ListResources$ = exports.ListReplacePermissionAssociationsWork$ = exports.ListPrincipals$ = exports.ListPermissionVersions$ = exports.ListPermissions$ = exports.ListPermissionAssociations$ = exports.ListPendingInvitationResources$ = exports.GetResourceShares$ = exports.GetResourceShareInvitations$ = exports.GetResourceShareAssociations$ = exports.GetResourcePolicies$ = exports.GetPermission$ = exports.EnableSharingWithAwsOrganization$ = exports.DisassociateResourceSharePermission$ = exports.DisassociateResourceShare$ = exports.DeleteResourceShare$ = exports.DeletePermissionVersion$ = exports.DeletePermission$ = exports.CreateResourceShare$ = exports.CreatePermissionVersion$ = exports.CreatePermission$ = exports.AssociateResourceSharePermission$ = exports.AssociateResourceShare$ = exports.AcceptResourceShareInvitation$ = exports.UpdateResourceShareResponse$ = exports.UpdateResourceShareRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.TagFilter$ = exports.Tag$ = exports.SetDefaultPermissionVersionResponse$ = exports.SetDefaultPermissionVersionRequest$ = exports.ServiceNameAndResourceType$ = exports.ResourceSharePermissionSummary$ = exports.ResourceSharePermissionDetail$ = void 0;
4
+ exports.ResourceShareConfiguration$ = exports.ResourceShareAssociation$ = exports.ResourceShare$ = exports.Resource$ = exports.ReplacePermissionAssociationsWork$ = exports.ReplacePermissionAssociationsResponse$ = exports.ReplacePermissionAssociationsRequest$ = exports.RejectResourceShareInvitationResponse$ = exports.RejectResourceShareInvitationRequest$ = exports.PromoteResourceShareCreatedFromPolicyResponse$ = exports.PromoteResourceShareCreatedFromPolicyRequest$ = exports.PromotePermissionCreatedFromPolicyResponse$ = exports.PromotePermissionCreatedFromPolicyRequest$ = exports.Principal$ = exports.ListSourceAssociationsResponse$ = exports.ListSourceAssociationsRequest$ = exports.ListResourceTypesResponse$ = exports.ListResourceTypesRequest$ = exports.ListResourcesResponse$ = exports.ListResourcesRequest$ = exports.ListResourceSharePermissionsResponse$ = exports.ListResourceSharePermissionsRequest$ = exports.ListReplacePermissionAssociationsWorkResponse$ = exports.ListReplacePermissionAssociationsWorkRequest$ = exports.ListPrincipalsResponse$ = exports.ListPrincipalsRequest$ = exports.ListPermissionVersionsResponse$ = exports.ListPermissionVersionsRequest$ = exports.ListPermissionsResponse$ = exports.ListPermissionsRequest$ = exports.ListPermissionAssociationsResponse$ = exports.ListPermissionAssociationsRequest$ = exports.ListPendingInvitationResourcesResponse$ = exports.ListPendingInvitationResourcesRequest$ = exports.GetResourceSharesResponse$ = exports.GetResourceSharesRequest$ = exports.GetResourceShareInvitationsResponse$ = exports.GetResourceShareInvitationsRequest$ = exports.GetResourceShareAssociationsResponse$ = exports.GetResourceShareAssociationsRequest$ = exports.GetResourcePoliciesResponse$ = exports.GetResourcePoliciesRequest$ = exports.GetPermissionResponse$ = exports.GetPermissionRequest$ = exports.EnableSharingWithAwsOrganizationResponse$ = exports.EnableSharingWithAwsOrganizationRequest$ = exports.DisassociateResourceShareResponse$ = exports.DisassociateResourceShareRequest$ = exports.DisassociateResourceSharePermissionResponse$ = exports.DisassociateResourceSharePermissionRequest$ = void 0;
5
+ exports.UpdateResourceShare$ = exports.UntagResource$ = exports.TagResource$ = exports.SetDefaultPermissionVersion$ = exports.ReplacePermissionAssociations$ = exports.RejectResourceShareInvitation$ = exports.PromoteResourceShareCreatedFromPolicy$ = exports.PromotePermissionCreatedFromPolicy$ = exports.ListSourceAssociations$ = exports.ListResourceTypes$ = exports.ListResourceSharePermissions$ = exports.ListResources$ = exports.ListReplacePermissionAssociationsWork$ = exports.ListPrincipals$ = exports.ListPermissionVersions$ = exports.ListPermissions$ = exports.ListPermissionAssociations$ = exports.ListPendingInvitationResources$ = exports.GetResourceShares$ = exports.GetResourceShareInvitations$ = exports.GetResourceShareAssociations$ = exports.GetResourcePolicies$ = exports.GetPermission$ = exports.EnableSharingWithAwsOrganization$ = exports.DisassociateResourceSharePermission$ = exports.DisassociateResourceShare$ = exports.DeleteResourceShare$ = exports.DeletePermissionVersion$ = exports.DeletePermission$ = exports.CreateResourceShare$ = exports.CreatePermissionVersion$ = exports.CreatePermission$ = exports.AssociateResourceSharePermission$ = exports.AssociateResourceShare$ = exports.AcceptResourceShareInvitation$ = exports.UpdateResourceShareResponse$ = exports.UpdateResourceShareRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.TagFilter$ = exports.Tag$ = exports.SetDefaultPermissionVersionResponse$ = exports.SetDefaultPermissionVersionRequest$ = exports.ServiceNameAndResourceType$ = exports.ResourceSharePermissionSummary$ = exports.ResourceSharePermissionDetail$ = exports.ResourceShareInvitation$ = void 0;
6
6
  const _AP = "AssociatedPermission";
7
7
  const _APL = "AssociatedPermissionList";
8
8
  const _ARS = "AssociateResourceShare";
@@ -131,6 +131,7 @@ const _RS = "ResourceShare";
131
131
  const _RSA = "ResourceShareAssociation";
132
132
  const _RSAL = "ResourceShareArnList";
133
133
  const _RSALe = "ResourceShareAssociationList";
134
+ const _RSC = "ResourceShareConfiguration";
134
135
  const _RSI = "ResourceShareInvitation";
135
136
  const _RSIAAE = "ResourceShareInvitationAlreadyAcceptedException";
136
137
  const _RSIAL = "ResourceShareInvitationArnList";
@@ -223,11 +224,13 @@ const _rS = "resourceShare";
223
224
  const _rSA = "resourceShareArn";
224
225
  const _rSAe = "resourceShareAssociations";
225
226
  const _rSAes = "resourceShareArns";
227
+ const _rSC = "resourceShareConfiguration";
226
228
  const _rSI = "resourceShareInvitation";
227
229
  const _rSIA = "resourceShareInvitationArn";
228
230
  const _rSIAe = "resourceShareInvitationArns";
229
231
  const _rSIe = "resourceShareInvitations";
230
232
  const _rSN = "resourceShareName";
233
+ const _rSOALO = "retainSharingOnAccountLeaveOrganization";
231
234
  const _rSS = "resourceShareStatus";
232
235
  const _rSe = "resourceShares";
233
236
  const _rT = "resourceType";
@@ -499,8 +502,8 @@ exports.CreatePermissionVersionResponse$ = [3, n0, _CPVRr,
499
502
  ];
500
503
  exports.CreateResourceShareRequest$ = [3, n0, _CRSR,
501
504
  0,
502
- [_n, _rA, _p, _t, _aEP, _cT, _pAe, _so],
503
- [0, [() => ResourceArnList, 0], [() => PrincipalArnOrIdList, 0], () => TagList, 2, 0, [() => PermissionArnList, 0], [() => SourceArnOrAccountList, 0]], 1
505
+ [_n, _rA, _p, _t, _aEP, _cT, _pAe, _so, _rSC],
506
+ [0, [() => ResourceArnList, 0], [() => PrincipalArnOrIdList, 0], () => TagList, 2, 0, [() => PermissionArnList, 0], [() => SourceArnOrAccountList, 0], () => exports.ResourceShareConfiguration$], 1
504
507
  ];
505
508
  exports.CreateResourceShareResponse$ = [3, n0, _CRSRr,
506
509
  0,
@@ -774,14 +777,19 @@ exports.Resource$ = [3, n0, _R,
774
777
  ];
775
778
  exports.ResourceShare$ = [3, n0, _RS,
776
779
  0,
777
- [_rSA, _n, _oAI, _aEP, _st, _sM, _t, _cTr, _lUT, _fS],
778
- [0, 0, 0, 2, 0, 0, () => TagList, 4, 4, 0]
780
+ [_rSA, _n, _oAI, _aEP, _st, _sM, _t, _cTr, _lUT, _fS, _rSC],
781
+ [0, 0, 0, 2, 0, 0, () => TagList, 4, 4, 0, () => exports.ResourceShareConfiguration$]
779
782
  ];
780
783
  exports.ResourceShareAssociation$ = [3, n0, _RSA,
781
784
  0,
782
785
  [_rSA, _rSN, _aE, _aT, _st, _sM, _cTr, _lUT, _ex],
783
786
  [0, 0, 0, 0, 0, 0, 4, 4, 2]
784
787
  ];
788
+ exports.ResourceShareConfiguration$ = [3, n0, _RSC,
789
+ 0,
790
+ [_rSOALO],
791
+ [2]
792
+ ];
785
793
  exports.ResourceShareInvitation$ = [3, n0, _RSI,
786
794
  0,
787
795
  [_rSIA, _rSN, _rSA, _sAI, _rAI, _iT, _st, _rSAe, _rAec],
@@ -126,6 +126,7 @@ const _RS = "ResourceShare";
126
126
  const _RSA = "ResourceShareAssociation";
127
127
  const _RSAL = "ResourceShareArnList";
128
128
  const _RSALe = "ResourceShareAssociationList";
129
+ const _RSC = "ResourceShareConfiguration";
129
130
  const _RSI = "ResourceShareInvitation";
130
131
  const _RSIAAE = "ResourceShareInvitationAlreadyAcceptedException";
131
132
  const _RSIAL = "ResourceShareInvitationArnList";
@@ -218,11 +219,13 @@ const _rS = "resourceShare";
218
219
  const _rSA = "resourceShareArn";
219
220
  const _rSAe = "resourceShareAssociations";
220
221
  const _rSAes = "resourceShareArns";
222
+ const _rSC = "resourceShareConfiguration";
221
223
  const _rSI = "resourceShareInvitation";
222
224
  const _rSIA = "resourceShareInvitationArn";
223
225
  const _rSIAe = "resourceShareInvitationArns";
224
226
  const _rSIe = "resourceShareInvitations";
225
227
  const _rSN = "resourceShareName";
228
+ const _rSOALO = "retainSharingOnAccountLeaveOrganization";
226
229
  const _rSS = "resourceShareStatus";
227
230
  const _rSe = "resourceShares";
228
231
  const _rT = "resourceType";
@@ -494,8 +497,8 @@ export var CreatePermissionVersionResponse$ = [3, n0, _CPVRr,
494
497
  ];
495
498
  export var CreateResourceShareRequest$ = [3, n0, _CRSR,
496
499
  0,
497
- [_n, _rA, _p, _t, _aEP, _cT, _pAe, _so],
498
- [0, [() => ResourceArnList, 0], [() => PrincipalArnOrIdList, 0], () => TagList, 2, 0, [() => PermissionArnList, 0], [() => SourceArnOrAccountList, 0]], 1
500
+ [_n, _rA, _p, _t, _aEP, _cT, _pAe, _so, _rSC],
501
+ [0, [() => ResourceArnList, 0], [() => PrincipalArnOrIdList, 0], () => TagList, 2, 0, [() => PermissionArnList, 0], [() => SourceArnOrAccountList, 0], () => ResourceShareConfiguration$], 1
499
502
  ];
500
503
  export var CreateResourceShareResponse$ = [3, n0, _CRSRr,
501
504
  0,
@@ -769,14 +772,19 @@ export var Resource$ = [3, n0, _R,
769
772
  ];
770
773
  export var ResourceShare$ = [3, n0, _RS,
771
774
  0,
772
- [_rSA, _n, _oAI, _aEP, _st, _sM, _t, _cTr, _lUT, _fS],
773
- [0, 0, 0, 2, 0, 0, () => TagList, 4, 4, 0]
775
+ [_rSA, _n, _oAI, _aEP, _st, _sM, _t, _cTr, _lUT, _fS, _rSC],
776
+ [0, 0, 0, 2, 0, 0, () => TagList, 4, 4, 0, () => ResourceShareConfiguration$]
774
777
  ];
775
778
  export var ResourceShareAssociation$ = [3, n0, _RSA,
776
779
  0,
777
780
  [_rSA, _rSN, _aE, _aT, _st, _sM, _cTr, _lUT, _ex],
778
781
  [0, 0, 0, 0, 0, 0, 4, 4, 2]
779
782
  ];
783
+ export var ResourceShareConfiguration$ = [3, n0, _RSC,
784
+ 0,
785
+ [_rSOALO],
786
+ [2]
787
+ ];
780
788
  export var ResourceShareInvitation$ = [3, n0, _RSI,
781
789
  0,
782
790
  [_rSIA, _rSN, _rSA, _sAI, _rAI, _iT, _st, _rSAe, _rAec],
@@ -65,6 +65,9 @@ declare const CreateResourceShareCommand_base: {
65
65
  * sources: [ // SourceArnOrAccountList
66
66
  * "STRING_VALUE",
67
67
  * ],
68
+ * resourceShareConfiguration: { // ResourceShareConfiguration
69
+ * retainSharingOnAccountLeaveOrganization: true || false,
70
+ * },
68
71
  * };
69
72
  * const command = new CreateResourceShareCommand(input);
70
73
  * const response = await client.send(command);
@@ -85,6 +88,9 @@ declare const CreateResourceShareCommand_base: {
85
88
  * // creationTime: new Date("TIMESTAMP"),
86
89
  * // lastUpdatedTime: new Date("TIMESTAMP"),
87
90
  * // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
91
+ * // resourceShareConfiguration: { // ResourceShareConfiguration
92
+ * // retainSharingOnAccountLeaveOrganization: true || false,
93
+ * // },
88
94
  * // },
89
95
  * // clientToken: "STRING_VALUE",
90
96
  * // };
@@ -83,6 +83,9 @@ declare const GetResourceSharesCommand_base: {
83
83
  * // creationTime: new Date("TIMESTAMP"),
84
84
  * // lastUpdatedTime: new Date("TIMESTAMP"),
85
85
  * // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
86
+ * // resourceShareConfiguration: { // ResourceShareConfiguration
87
+ * // retainSharingOnAccountLeaveOrganization: true || false,
88
+ * // },
86
89
  * // },
87
90
  * // ],
88
91
  * // nextToken: "STRING_VALUE",
@@ -61,6 +61,9 @@ declare const UpdateResourceShareCommand_base: {
61
61
  * // creationTime: new Date("TIMESTAMP"),
62
62
  * // lastUpdatedTime: new Date("TIMESTAMP"),
63
63
  * // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
64
+ * // resourceShareConfiguration: { // ResourceShareConfiguration
65
+ * // retainSharingOnAccountLeaveOrganization: true || false,
66
+ * // },
64
67
  * // },
65
68
  * // clientToken: "STRING_VALUE",
66
69
  * // };
@@ -802,6 +802,17 @@ export interface CreatePermissionVersionResponse {
802
802
  */
803
803
  clientToken?: string | undefined;
804
804
  }
805
+ /**
806
+ * <p>The configuration of the resource share</p>
807
+ * @public
808
+ */
809
+ export interface ResourceShareConfiguration {
810
+ /**
811
+ * <p>Specifies whether the consumer account retains access to the resource share after leaving the organization.</p>
812
+ * @public
813
+ */
814
+ retainSharingOnAccountLeaveOrganization?: boolean | undefined;
815
+ }
805
816
  /**
806
817
  * @public
807
818
  */
@@ -901,6 +912,11 @@ export interface CreateResourceShareRequest {
901
912
  * @public
902
913
  */
903
914
  sources?: string[] | undefined;
915
+ /**
916
+ * <p>Specifies the configuration of this resource share.</p>
917
+ * @public
918
+ */
919
+ resourceShareConfiguration?: ResourceShareConfiguration | undefined;
904
920
  }
905
921
  /**
906
922
  * <p>Describes a resource share in RAM.</p>
@@ -999,6 +1015,11 @@ export interface ResourceShare {
999
1015
  * @public
1000
1016
  */
1001
1017
  featureSet?: ResourceShareFeatureSet | undefined;
1018
+ /**
1019
+ * <p>The configuration of the resource share</p>
1020
+ * @public
1021
+ */
1022
+ resourceShareConfiguration?: ResourceShareConfiguration | undefined;
1002
1023
  }
1003
1024
  /**
1004
1025
  * @public
@@ -104,6 +104,7 @@ export declare var ReplacePermissionAssociationsWork$: StaticStructureSchema;
104
104
  export declare var Resource$: StaticStructureSchema;
105
105
  export declare var ResourceShare$: StaticStructureSchema;
106
106
  export declare var ResourceShareAssociation$: StaticStructureSchema;
107
+ export declare var ResourceShareConfiguration$: StaticStructureSchema;
107
108
  export declare var ResourceShareInvitation$: StaticStructureSchema;
108
109
  export declare var ResourceSharePermissionDetail$: StaticStructureSchema;
109
110
  export declare var ResourceSharePermissionSummary$: StaticStructureSchema;
@@ -119,6 +119,9 @@ export interface CreatePermissionVersionResponse {
119
119
  permission?: ResourceSharePermissionDetail | undefined;
120
120
  clientToken?: string | undefined;
121
121
  }
122
+ export interface ResourceShareConfiguration {
123
+ retainSharingOnAccountLeaveOrganization?: boolean | undefined;
124
+ }
122
125
  export interface CreateResourceShareRequest {
123
126
  name: string | undefined;
124
127
  resourceArns?: string[] | undefined;
@@ -128,6 +131,7 @@ export interface CreateResourceShareRequest {
128
131
  clientToken?: string | undefined;
129
132
  permissionArns?: string[] | undefined;
130
133
  sources?: string[] | undefined;
134
+ resourceShareConfiguration?: ResourceShareConfiguration | undefined;
131
135
  }
132
136
  export interface ResourceShare {
133
137
  resourceShareArn?: string | undefined;
@@ -140,6 +144,7 @@ export interface ResourceShare {
140
144
  creationTime?: Date | undefined;
141
145
  lastUpdatedTime?: Date | undefined;
142
146
  featureSet?: ResourceShareFeatureSet | undefined;
147
+ resourceShareConfiguration?: ResourceShareConfiguration | undefined;
143
148
  }
144
149
  export interface CreateResourceShareResponse {
145
150
  resourceShare?: ResourceShare | undefined;
@@ -103,6 +103,7 @@ export declare var ReplacePermissionAssociationsWork$: StaticStructureSchema;
103
103
  export declare var Resource$: StaticStructureSchema;
104
104
  export declare var ResourceShare$: StaticStructureSchema;
105
105
  export declare var ResourceShareAssociation$: StaticStructureSchema;
106
+ export declare var ResourceShareConfiguration$: StaticStructureSchema;
106
107
  export declare var ResourceShareInvitation$: StaticStructureSchema;
107
108
  export declare var ResourceSharePermissionDetail$: StaticStructureSchema;
108
109
  export declare var ResourceSharePermissionSummary$: StaticStructureSchema;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ram",
3
3
  "description": "AWS SDK for JavaScript Ram Client for Node.js, Browser and React Native",
4
- "version": "3.999.0",
4
+ "version": "3.1014.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ram",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.15",
25
- "@aws-sdk/credential-provider-node": "^3.972.14",
26
- "@aws-sdk/middleware-host-header": "^3.972.6",
27
- "@aws-sdk/middleware-logger": "^3.972.6",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.6",
29
- "@aws-sdk/middleware-user-agent": "^3.972.15",
30
- "@aws-sdk/region-config-resolver": "^3.972.6",
31
- "@aws-sdk/types": "^3.973.4",
32
- "@aws-sdk/util-endpoints": "^3.996.3",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.6",
34
- "@aws-sdk/util-user-agent-node": "^3.973.0",
35
- "@smithy/config-resolver": "^4.4.9",
36
- "@smithy/core": "^3.23.6",
37
- "@smithy/fetch-http-handler": "^5.3.11",
38
- "@smithy/hash-node": "^4.2.10",
39
- "@smithy/invalid-dependency": "^4.2.10",
40
- "@smithy/middleware-content-length": "^4.2.10",
41
- "@smithy/middleware-endpoint": "^4.4.20",
42
- "@smithy/middleware-retry": "^4.4.37",
43
- "@smithy/middleware-serde": "^4.2.11",
44
- "@smithy/middleware-stack": "^4.2.10",
45
- "@smithy/node-config-provider": "^4.3.10",
46
- "@smithy/node-http-handler": "^4.4.12",
47
- "@smithy/protocol-http": "^5.3.10",
48
- "@smithy/smithy-client": "^4.12.0",
49
- "@smithy/types": "^4.13.0",
50
- "@smithy/url-parser": "^4.2.10",
51
- "@smithy/util-base64": "^4.3.1",
52
- "@smithy/util-body-length-browser": "^4.2.1",
53
- "@smithy/util-body-length-node": "^4.2.2",
54
- "@smithy/util-defaults-mode-browser": "^4.3.36",
55
- "@smithy/util-defaults-mode-node": "^4.2.39",
56
- "@smithy/util-endpoints": "^3.3.1",
57
- "@smithy/util-middleware": "^4.2.10",
58
- "@smithy/util-retry": "^4.2.10",
59
- "@smithy/util-utf8": "^4.2.1",
24
+ "@aws-sdk/core": "^3.973.23",
25
+ "@aws-sdk/credential-provider-node": "^3.972.24",
26
+ "@aws-sdk/middleware-host-header": "^3.972.8",
27
+ "@aws-sdk/middleware-logger": "^3.972.8",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.8",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.24",
30
+ "@aws-sdk/region-config-resolver": "^3.972.9",
31
+ "@aws-sdk/types": "^3.973.6",
32
+ "@aws-sdk/util-endpoints": "^3.996.5",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.8",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.10",
35
+ "@smithy/config-resolver": "^4.4.13",
36
+ "@smithy/core": "^3.23.12",
37
+ "@smithy/fetch-http-handler": "^5.3.15",
38
+ "@smithy/hash-node": "^4.2.12",
39
+ "@smithy/invalid-dependency": "^4.2.12",
40
+ "@smithy/middleware-content-length": "^4.2.12",
41
+ "@smithy/middleware-endpoint": "^4.4.27",
42
+ "@smithy/middleware-retry": "^4.4.44",
43
+ "@smithy/middleware-serde": "^4.2.15",
44
+ "@smithy/middleware-stack": "^4.2.12",
45
+ "@smithy/node-config-provider": "^4.3.12",
46
+ "@smithy/node-http-handler": "^4.5.0",
47
+ "@smithy/protocol-http": "^5.3.12",
48
+ "@smithy/smithy-client": "^4.12.7",
49
+ "@smithy/types": "^4.13.1",
50
+ "@smithy/url-parser": "^4.2.12",
51
+ "@smithy/util-base64": "^4.3.2",
52
+ "@smithy/util-body-length-browser": "^4.2.2",
53
+ "@smithy/util-body-length-node": "^4.2.3",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.43",
55
+ "@smithy/util-defaults-mode-node": "^4.2.47",
56
+ "@smithy/util-endpoints": "^3.3.3",
57
+ "@smithy/util-middleware": "^4.2.12",
58
+ "@smithy/util-retry": "^4.2.12",
59
+ "@smithy/util-utf8": "^4.2.2",
60
60
  "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
@@ -71,7 +71,7 @@
71
71
  "node": ">=20.0.0"
72
72
  },
73
73
  "typesVersions": {
74
- "<4.0": {
74
+ "<4.5": {
75
75
  "dist-types/*": [
76
76
  "dist-types/ts3.4/*"
77
77
  ]
@@ -12,8 +12,9 @@ credentials for users. This guide provides descriptions of the STS API. For
12
12
  more information about using this service, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html">Temporary Security Credentials</a>.</p>
13
13
 
14
14
  ## Installing
15
- To install this package, simply type add or install @aws-sdk/client-sts
16
- using your favorite package manager:
15
+
16
+ To install this package, use the CLI of your favorite package manager:
17
+
17
18
  - `npm install @aws-sdk/client-sts`
18
19
  - `yarn add @aws-sdk/client-sts`
19
20
  - `pnpm add @aws-sdk/client-sts`
@@ -38,15 +39,15 @@ import { STSClient, GetCallerIdentityCommand } from "@aws-sdk/client-sts";
38
39
 
39
40
  ### Usage
40
41
 
41
- To send a request, you:
42
+ To send a request:
42
43
 
43
- - Initiate client with configuration (e.g. credentials, region).
44
- - Initiate command with input parameters.
45
- - Call `send` operation on client with command object as input.
46
- - If you are using a custom http handler, you may call `destroy()` to close open connections.
44
+ - Instantiate a client with configuration (e.g. credentials, region).
45
+ - See [docs/CLIENTS](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md) for configuration details.
46
+ - See [@aws-sdk/config](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/config/README.md) for additional options.
47
+ - Instantiate a command with input parameters.
48
+ - Call the `send` operation on the client, providing the command object as input.
47
49
 
48
50
  ```js
49
- // a client can be shared by different commands.
50
51
  const client = new STSClient({ region: "REGION" });
51
52
 
52
53
  const params = { /** input parameters */ };
@@ -55,7 +56,7 @@ const command = new GetCallerIdentityCommand(params);
55
56
 
56
57
  #### Async/await
57
58
 
58
- We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
59
+ We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
59
60
  operator to wait for the promise returned by send operation as follows:
60
61
 
61
62
  ```js
@@ -70,26 +71,9 @@ try {
70
71
  }
71
72
  ```
72
73
 
73
- Async-await is clean, concise, intuitive, easy to debug and has better error handling
74
- as compared to using Promise chains or callbacks.
75
-
76
74
  #### Promises
77
75
 
78
- You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining)
79
- to execute send operation.
80
-
81
- ```js
82
- client.send(command).then(
83
- (data) => {
84
- // process data.
85
- },
86
- (error) => {
87
- // error handling.
88
- }
89
- );
90
- ```
91
-
92
- Promises can also be called using `.catch()` and `.finally()` as follows:
76
+ You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining).
93
77
 
94
78
  ```js
95
79
  client
@@ -105,27 +89,21 @@ client
105
89
  });
106
90
  ```
107
91
 
108
- #### Callbacks
109
-
110
- We do not recommend using callbacks because of [callback hell](http://callbackhell.com/),
111
- but they are supported by the send operation.
92
+ #### Aggregated client
112
93
 
113
- ```js
114
- // callbacks.
115
- client.send(command, (err, data) => {
116
- // process err and data.
117
- });
118
- ```
94
+ The aggregated client class is exported from the same package, but without the "Client" suffix.
119
95
 
120
- #### v2 compatible style
96
+ `STS` extends `STSClient` and additionally supports all operations, waiters, and paginators as methods.
97
+ This style may be familiar to you from the AWS SDK for JavaScript v2.
121
98
 
122
- The client can also send requests using v2 compatible style.
123
- However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post
124
- on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/)
99
+ If you are bundling the AWS SDK, we recommend using only the bare-bones client (`STSClient`).
100
+ More details are in the blog post on
101
+ [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/).
125
102
 
126
103
  ```ts
127
- import * as AWS from "@aws-sdk/client-sts";
128
- const client = new AWS.STS({ region: "REGION" });
104
+ import { STS } from "@aws-sdk/client-sts";
105
+
106
+ const client = new STS({ region: "REGION" });
129
107
 
130
108
  // async/await.
131
109
  try {
@@ -145,7 +123,7 @@ client
145
123
  // error handling.
146
124
  });
147
125
 
148
- // callbacks.
126
+ // callbacks (not recommended).
149
127
  client.getCallerIdentity(params, (err, data) => {
150
128
  // process err and data.
151
129
  });
@@ -173,12 +151,14 @@ try {
173
151
  }
174
152
  ```
175
153
 
154
+ See also [docs/ERROR_HANDLING](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/ERROR_HANDLING.md).
155
+
176
156
  ## Getting Help
177
157
 
178
158
  Please use these community resources for getting help.
179
- We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
159
+ We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
180
160
 
181
- - Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
161
+ - Visit the [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
182
162
  or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
183
163
  - Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
184
164
  on AWS Developer Blog.