@kensio/yulin 1.9.0 → 1.10.1

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 (822) hide show
  1. package/README.md +25 -0
  2. package/dist/config/eslint/cffjs2.eslint.config.js +17 -98
  3. package/dist/config/eslint/cffjs2.eslint.config.js.map +1 -1
  4. package/dist/config/lint/cff-js2-lint-plugin.d.ts +16 -0
  5. package/dist/config/lint/cff-js2-lint-plugin.d.ts.map +1 -0
  6. package/dist/config/lint/cff-js2-lint-plugin.js +39 -0
  7. package/dist/config/lint/cff-js2-lint-plugin.js.map +1 -0
  8. package/dist/config/lint/cff-js2-lint-rules.d.ts +20 -0
  9. package/dist/config/lint/cff-js2-lint-rules.d.ts.map +1 -0
  10. package/dist/config/lint/cff-js2-lint-rules.js +53 -0
  11. package/dist/config/lint/cff-js2-lint-rules.js.map +1 -0
  12. package/dist/config/lint/cff-js2-lint.fixture.d.ts +39 -0
  13. package/dist/config/lint/cff-js2-lint.fixture.d.ts.map +1 -0
  14. package/dist/config/lint/cff-js2-lint.fixture.js +229 -0
  15. package/dist/config/lint/cff-js2-lint.fixture.js.map +1 -0
  16. package/dist/config/lint/cff-js2-oxlint-plugin.d.ts +9 -0
  17. package/dist/config/lint/cff-js2-oxlint-plugin.d.ts.map +1 -0
  18. package/dist/config/lint/cff-js2-oxlint-plugin.js +9 -0
  19. package/dist/config/lint/cff-js2-oxlint-plugin.js.map +1 -0
  20. package/dist/config/lint/cff-js2-restriction.d.ts +82 -0
  21. package/dist/config/lint/cff-js2-restriction.d.ts.map +1 -0
  22. package/dist/config/lint/cff-js2-restriction.js +85 -0
  23. package/dist/config/lint/cff-js2-restriction.js.map +1 -0
  24. package/dist/config/lint/cff-js2-unavailable-global.rule.d.ts +10 -0
  25. package/dist/config/lint/cff-js2-unavailable-global.rule.d.ts.map +1 -0
  26. package/dist/config/lint/cff-js2-unavailable-global.rule.js +42 -0
  27. package/dist/config/lint/cff-js2-unavailable-global.rule.js.map +1 -0
  28. package/dist/config/lint/index.d.ts +6 -0
  29. package/dist/config/lint/index.d.ts.map +1 -0
  30. package/dist/config/lint/index.js +5 -0
  31. package/dist/config/lint/index.js.map +1 -0
  32. package/dist/config/lint/lint-plugin.type.d.ts +82 -0
  33. package/dist/config/lint/lint-plugin.type.d.ts.map +1 -0
  34. package/dist/config/lint/lint-plugin.type.js +11 -0
  35. package/dist/config/lint/lint-plugin.type.js.map +1 -0
  36. package/dist/config/oxlint/cffjs2.oxlint.config.d.ts +26 -0
  37. package/dist/config/oxlint/cffjs2.oxlint.config.d.ts.map +1 -0
  38. package/dist/config/oxlint/cffjs2.oxlint.config.js +28 -0
  39. package/dist/config/oxlint/cffjs2.oxlint.config.js.map +1 -0
  40. package/dist/config/oxlint/cffjs2.oxlintrc.json +36 -0
  41. package/dist/config/oxlint/index.d.ts +2 -0
  42. package/dist/config/oxlint/index.d.ts.map +1 -0
  43. package/dist/config/oxlint/index.js +2 -0
  44. package/dist/config/oxlint/index.js.map +1 -0
  45. package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
  46. package/dist/sdk/router/resolve-sim-sdk-command-router.js +3 -0
  47. package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
  48. package/dist/serve/http/live-reload/sim-local-live-reload.d.ts.map +1 -1
  49. package/dist/serve/http/live-reload/sim-local-live-reload.js +2 -3
  50. package/dist/serve/http/live-reload/sim-local-live-reload.js.map +1 -1
  51. package/dist/service/acm/validation/sim-acm-certificate-validation.d.ts.map +1 -1
  52. package/dist/service/acm/validation/sim-acm-certificate-validation.js +3 -4
  53. package/dist/service/acm/validation/sim-acm-certificate-validation.js.map +1 -1
  54. package/dist/service/aws/caller/sim-aws-caller-resolver.d.ts.map +1 -1
  55. package/dist/service/aws/caller/sim-aws-caller-resolver.js +2 -3
  56. package/dist/service/aws/caller/sim-aws-caller-resolver.js.map +1 -1
  57. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +17 -0
  58. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
  59. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +37 -42
  60. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  61. package/dist/service/aws/factory/sim-aws-s3-notification-destinations.d.ts.map +1 -1
  62. package/dist/service/aws/factory/sim-aws-s3-notification-destinations.js +5 -0
  63. package/dist/service/aws/factory/sim-aws-s3-notification-destinations.js.map +1 -1
  64. package/dist/service/aws/factory/sim-aws-scoped-service-properties.d.ts +18 -0
  65. package/dist/service/aws/factory/sim-aws-scoped-service-properties.d.ts.map +1 -0
  66. package/dist/service/aws/factory/sim-aws-scoped-service-properties.js +2 -0
  67. package/dist/service/aws/factory/sim-aws-scoped-service-properties.js.map +1 -0
  68. package/dist/service/aws/factory/sim-aws-service-factory.d.ts +3 -0
  69. package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
  70. package/dist/service/aws/factory/sim-aws-service-factory.js +4 -0
  71. package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
  72. package/dist/service/aws/sim-aws-account-region-scope.d.ts +5 -0
  73. package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
  74. package/dist/service/aws/sim-aws-account-region-scope.js +6 -0
  75. package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
  76. package/dist/service/aws/sim-aws-service-accessors.d.ts +3 -0
  77. package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -1
  78. package/dist/service/aws/sim-aws-service-accessors.js +4 -0
  79. package/dist/service/aws/sim-aws-service-accessors.js.map +1 -1
  80. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-copier.d.ts +36 -0
  81. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-copier.d.ts.map +1 -0
  82. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-copier.js +64 -0
  83. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-copier.js.map +1 -0
  84. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-file.d.ts +31 -0
  85. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-file.d.ts.map +1 -0
  86. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-file.js +42 -0
  87. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-file.js.map +1 -0
  88. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-files.d.ts +13 -0
  89. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-files.d.ts.map +1 -0
  90. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-files.js +68 -0
  91. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-files.js.map +1 -0
  92. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-pruner.d.ts +30 -0
  93. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-pruner.d.ts.map +1 -0
  94. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-pruner.js +35 -0
  95. package/dist/service/cloudformation/cdk/s3/bucket-deployment/copy/sim-cdk-bucket-deploy-pruner.js.map +1 -0
  96. package/dist/service/cloudformation/cdk/s3/bucket-deployment/filter/sim-cdk-bucket-deploy-filter.d.ts +27 -0
  97. package/dist/service/cloudformation/cdk/s3/bucket-deployment/filter/sim-cdk-bucket-deploy-filter.d.ts.map +1 -0
  98. package/dist/service/cloudformation/cdk/s3/bucket-deployment/filter/sim-cdk-bucket-deploy-filter.js +76 -0
  99. package/dist/service/cloudformation/cdk/s3/bucket-deployment/filter/sim-cdk-bucket-deploy-filter.js.map +1 -0
  100. package/dist/service/cloudformation/cdk/s3/bucket-deployment/property/sim-cdk-bucket-deploy-properties.d.ts +24 -0
  101. package/dist/service/cloudformation/cdk/s3/bucket-deployment/property/sim-cdk-bucket-deploy-properties.d.ts.map +1 -0
  102. package/dist/service/cloudformation/cdk/s3/bucket-deployment/property/sim-cdk-bucket-deploy-properties.js +46 -0
  103. package/dist/service/cloudformation/cdk/s3/bucket-deployment/property/sim-cdk-bucket-deploy-properties.js.map +1 -0
  104. package/dist/service/cloudformation/cdk/s3/bucket-deployment/property/sim-cdk-bucket-deploy-values.d.ts +42 -0
  105. package/dist/service/cloudformation/cdk/s3/bucket-deployment/property/sim-cdk-bucket-deploy-values.d.ts.map +1 -0
  106. package/dist/service/cloudformation/cdk/s3/bucket-deployment/property/sim-cdk-bucket-deploy-values.js +96 -0
  107. package/dist/service/cloudformation/cdk/s3/bucket-deployment/property/sim-cdk-bucket-deploy-values.js.map +1 -0
  108. package/dist/service/cloudformation/cdk/s3/bucket-deployment/sim-cdk-bucket-deployment.d.ts +1 -1
  109. package/dist/service/cloudformation/cdk/s3/bucket-deployment/sim-cdk-bucket-deployment.d.ts.map +1 -1
  110. package/dist/service/cloudformation/cdk/s3/bucket-deployment/sim-cdk-bucket-deployment.js +10 -35
  111. package/dist/service/cloudformation/cdk/s3/bucket-deployment/sim-cdk-bucket-deployment.js.map +1 -1
  112. package/dist/service/cloudformation/cdk/s3/bucket-deployment/source/sim-cdk-bucket-deploy-source.d.ts.map +1 -1
  113. package/dist/service/cloudformation/cdk/s3/bucket-deployment/source/sim-cdk-bucket-deploy-source.js +1 -0
  114. package/dist/service/cloudformation/cdk/s3/bucket-deployment/source/sim-cdk-bucket-deploy-source.js.map +1 -1
  115. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.d.ts +2 -0
  116. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.d.ts.map +1 -1
  117. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.js +15 -1
  118. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.js.map +1 -1
  119. package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cloudfront-cfn-value-adapter.d.ts.map +1 -1
  120. package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cloudfront-cfn-value-adapter.js +8 -0
  121. package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cloudfront-cfn-value-adapter.js.map +1 -1
  122. package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cloudfront-rh-policy-cfn.d.ts +25 -0
  123. package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cloudfront-rh-policy-cfn.d.ts.map +1 -0
  124. package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cloudfront-rh-policy-cfn.js +32 -0
  125. package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cloudfront-rh-policy-cfn.js.map +1 -0
  126. package/dist/service/cloudformation/resource/cfn/dynamodb/sim-dynamodb-table-cfn.d.ts.map +1 -1
  127. package/dist/service/cloudformation/resource/cfn/dynamodb/sim-dynamodb-table-cfn.js +4 -5
  128. package/dist/service/cloudformation/resource/cfn/dynamodb/sim-dynamodb-table-cfn.js.map +1 -1
  129. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.d.ts.map +1 -1
  130. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js +2 -0
  131. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js.map +1 -1
  132. package/dist/service/cloudformation/resource/cfn/sns/sim-sns-cfn-value-adapter.d.ts +11 -0
  133. package/dist/service/cloudformation/resource/cfn/sns/sim-sns-cfn-value-adapter.d.ts.map +1 -0
  134. package/dist/service/cloudformation/resource/cfn/sns/sim-sns-cfn-value-adapter.js +24 -0
  135. package/dist/service/cloudformation/resource/cfn/sns/sim-sns-cfn-value-adapter.js.map +1 -0
  136. package/dist/service/cloudformation/resource/cfn/sns/sim-sns-subscription-cfn.d.ts +27 -0
  137. package/dist/service/cloudformation/resource/cfn/sns/sim-sns-subscription-cfn.d.ts.map +1 -0
  138. package/dist/service/cloudformation/resource/cfn/sns/sim-sns-subscription-cfn.js +29 -0
  139. package/dist/service/cloudformation/resource/cfn/sns/sim-sns-subscription-cfn.js.map +1 -0
  140. package/dist/service/cloudformation/resource/cfn/sns/sim-sns-topic-cfn.d.ts +30 -0
  141. package/dist/service/cloudformation/resource/cfn/sns/sim-sns-topic-cfn.d.ts.map +1 -0
  142. package/dist/service/cloudformation/resource/cfn/sns/sim-sns-topic-cfn.js +39 -0
  143. package/dist/service/cloudformation/resource/cfn/sns/sim-sns-topic-cfn.js.map +1 -0
  144. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -1
  145. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +4 -0
  146. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
  147. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.d.ts.map +1 -1
  148. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js +2 -3
  149. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js.map +1 -1
  150. package/dist/service/cloudformation/template/node/fn/if/sim-cfn-fn-if.d.ts.map +1 -1
  151. package/dist/service/cloudformation/template/node/fn/if/sim-cfn-fn-if.js +3 -4
  152. package/dist/service/cloudformation/template/node/fn/if/sim-cfn-fn-if.js.map +1 -1
  153. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.d.ts +4 -0
  154. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.d.ts.map +1 -1
  155. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.js.map +1 -1
  156. package/dist/service/cloudfront/cfn/response-headers-policy/sim-cfn-cf-rh-policy-config.d.ts +38 -0
  157. package/dist/service/cloudfront/cfn/response-headers-policy/sim-cfn-cf-rh-policy-config.d.ts.map +1 -0
  158. package/dist/service/cloudfront/cfn/response-headers-policy/sim-cfn-cf-rh-policy-config.js +127 -0
  159. package/dist/service/cloudfront/cfn/response-headers-policy/sim-cfn-cf-rh-policy-config.js.map +1 -0
  160. package/dist/service/cloudfront/cfn/response-headers-policy/sim-cfn-cf-rh-policy-creator.d.ts +25 -0
  161. package/dist/service/cloudfront/cfn/response-headers-policy/sim-cfn-cf-rh-policy-creator.d.ts.map +1 -0
  162. package/dist/service/cloudfront/cfn/response-headers-policy/sim-cfn-cf-rh-policy-creator.js +33 -0
  163. package/dist/service/cloudfront/cfn/response-headers-policy/sim-cfn-cf-rh-policy-creator.js.map +1 -0
  164. package/dist/service/cloudfront/cfn/sim-cfn-cloudfront-resource-factory.d.ts +1 -0
  165. package/dist/service/cloudfront/cfn/sim-cfn-cloudfront-resource-factory.d.ts.map +1 -1
  166. package/dist/service/cloudfront/cfn/sim-cfn-cloudfront-resource-factory.js +11 -0
  167. package/dist/service/cloudfront/cfn/sim-cfn-cloudfront-resource-factory.js.map +1 -1
  168. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts +1 -0
  169. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts.map +1 -1
  170. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts +3 -0
  171. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts.map +1 -1
  172. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js +3 -0
  173. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js.map +1 -1
  174. package/dist/service/cloudfront/controller/response-headers/sim-cf-response-headers-applicator.d.ts +19 -0
  175. package/dist/service/cloudfront/controller/response-headers/sim-cf-response-headers-applicator.d.ts.map +1 -0
  176. package/dist/service/cloudfront/controller/response-headers/sim-cf-response-headers-applicator.js +31 -0
  177. package/dist/service/cloudfront/controller/response-headers/sim-cf-response-headers-applicator.js.map +1 -0
  178. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts +4 -8
  179. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts.map +1 -1
  180. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js +16 -19
  181. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js.map +1 -1
  182. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-behavior-configurator.js +3 -0
  183. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-behavior-configurator.js.map +1 -1
  184. package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts +19 -0
  185. package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts.map +1 -1
  186. package/dist/service/cloudfront/error/sim-cloudfront.error.js +23 -0
  187. package/dist/service/cloudfront/error/sim-cloudfront.error.js.map +1 -1
  188. package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.d.ts.map +1 -1
  189. package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.js +2 -5
  190. package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.js.map +1 -1
  191. package/dist/service/cloudfront/response-headers-policy/sim-cf-response-header.d.ts +25 -0
  192. package/dist/service/cloudfront/response-headers-policy/sim-cf-response-header.d.ts.map +1 -0
  193. package/dist/service/cloudfront/response-headers-policy/sim-cf-response-header.js +30 -0
  194. package/dist/service/cloudfront/response-headers-policy/sim-cf-response-header.js.map +1 -0
  195. package/dist/service/cloudfront/response-headers-policy/sim-cf-response-headers-policy-registry.d.ts +29 -0
  196. package/dist/service/cloudfront/response-headers-policy/sim-cf-response-headers-policy-registry.d.ts.map +1 -0
  197. package/dist/service/cloudfront/response-headers-policy/sim-cf-response-headers-policy-registry.js +40 -0
  198. package/dist/service/cloudfront/response-headers-policy/sim-cf-response-headers-policy-registry.js.map +1 -0
  199. package/dist/service/cloudfront/response-headers-policy/sim-cf-response-headers-policy.d.ts +35 -0
  200. package/dist/service/cloudfront/response-headers-policy/sim-cf-response-headers-policy.d.ts.map +1 -0
  201. package/dist/service/cloudfront/response-headers-policy/sim-cf-response-headers-policy.js +44 -0
  202. package/dist/service/cloudfront/response-headers-policy/sim-cf-response-headers-policy.js.map +1 -0
  203. package/dist/service/cloudfront/sim-cloudfront.d.ts +18 -0
  204. package/dist/service/cloudfront/sim-cloudfront.d.ts.map +1 -1
  205. package/dist/service/cloudfront/sim-cloudfront.js +24 -0
  206. package/dist/service/cloudfront/sim-cloudfront.js.map +1 -1
  207. package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.d.ts.map +1 -1
  208. package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.js +1 -0
  209. package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.js.map +1 -1
  210. package/dist/service/iam/credential/session/sim-iam-session-manager.d.ts.map +1 -1
  211. package/dist/service/iam/credential/session/sim-iam-session-manager.js +2 -4
  212. package/dist/service/iam/credential/session/sim-iam-session-manager.js.map +1 -1
  213. package/dist/service/iam/registry/sim-iam-registry.d.ts.map +1 -1
  214. package/dist/service/iam/registry/sim-iam-registry.js +2 -3
  215. package/dist/service/iam/registry/sim-iam-registry.js.map +1 -1
  216. package/dist/service/route53/cfn/record-set/apply/sim-cfn-r53-record-set-applicator.d.ts.map +1 -1
  217. package/dist/service/route53/cfn/record-set/apply/sim-cfn-r53-record-set-applicator.js +4 -1
  218. package/dist/service/route53/cfn/record-set/apply/sim-cfn-r53-record-set-applicator.js.map +1 -1
  219. package/dist/service/route53/cfn/record-set/resolve/sim-cfn-r53-looked-up-zone.d.ts +39 -0
  220. package/dist/service/route53/cfn/record-set/resolve/sim-cfn-r53-looked-up-zone.d.ts.map +1 -0
  221. package/dist/service/route53/cfn/record-set/resolve/sim-cfn-r53-looked-up-zone.js +46 -0
  222. package/dist/service/route53/cfn/record-set/resolve/sim-cfn-r53-looked-up-zone.js.map +1 -0
  223. package/dist/service/route53/cfn/record-set/resolve/sim-cfn-r53-rec-set-zone-resolver.d.ts +2 -0
  224. package/dist/service/route53/cfn/record-set/resolve/sim-cfn-r53-rec-set-zone-resolver.d.ts.map +1 -1
  225. package/dist/service/route53/cfn/record-set/resolve/sim-cfn-r53-rec-set-zone-resolver.js +17 -1
  226. package/dist/service/route53/cfn/record-set/resolve/sim-cfn-r53-rec-set-zone-resolver.js.map +1 -1
  227. package/dist/service/route53/command/list-resource-record-sets/record-set-output.d.ts.map +1 -1
  228. package/dist/service/route53/command/list-resource-record-sets/record-set-output.js +2 -4
  229. package/dist/service/route53/command/list-resource-record-sets/record-set-output.js.map +1 -1
  230. package/dist/service/route53/dns/dns-record-type.d.ts.map +1 -1
  231. package/dist/service/route53/dns/dns-record-type.js +2 -4
  232. package/dist/service/route53/dns/dns-record-type.js.map +1 -1
  233. package/dist/service/route53/hosted-zone/register-sim-route53-hosted-zone.d.ts +6 -0
  234. package/dist/service/route53/hosted-zone/register-sim-route53-hosted-zone.d.ts.map +1 -1
  235. package/dist/service/route53/hosted-zone/register-sim-route53-hosted-zone.js +1 -0
  236. package/dist/service/route53/hosted-zone/register-sim-route53-hosted-zone.js.map +1 -1
  237. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.d.ts +23 -10
  238. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.d.ts.map +1 -1
  239. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.js +32 -45
  240. package/dist/service/route53/hosted-zone/sim-route53-hosted-zone.js.map +1 -1
  241. package/dist/service/route53/hosted-zone/sim-route53-zone-name-widening.d.ts +16 -0
  242. package/dist/service/route53/hosted-zone/sim-route53-zone-name-widening.d.ts.map +1 -0
  243. package/dist/service/route53/hosted-zone/sim-route53-zone-name-widening.js +35 -0
  244. package/dist/service/route53/hosted-zone/sim-route53-zone-name-widening.js.map +1 -0
  245. package/dist/service/route53/hosted-zone/sim-route53-zone-synchronization.d.ts +23 -0
  246. package/dist/service/route53/hosted-zone/sim-route53-zone-synchronization.d.ts.map +1 -0
  247. package/dist/service/route53/hosted-zone/sim-route53-zone-synchronization.js +43 -0
  248. package/dist/service/route53/hosted-zone/sim-route53-zone-synchronization.js.map +1 -0
  249. package/dist/service/route53/sim-route53.d.ts +1 -1
  250. package/dist/service/route53/sim-route53.d.ts.map +1 -1
  251. package/dist/service/route53/sim-route53.js +1 -1
  252. package/dist/service/route53/sim-route53.js.map +1 -1
  253. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.d.ts.map +1 -1
  254. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.js +2 -0
  255. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.js.map +1 -1
  256. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.d.ts +3 -0
  257. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.d.ts.map +1 -1
  258. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.js +10 -1
  259. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.js.map +1 -1
  260. package/dist/service/s3/bucket/notification/sim-s3-topic-notification.d.ts +21 -0
  261. package/dist/service/s3/bucket/notification/sim-s3-topic-notification.d.ts.map +1 -0
  262. package/dist/service/s3/bucket/notification/sim-s3-topic-notification.js +24 -0
  263. package/dist/service/s3/bucket/notification/sim-s3-topic-notification.js.map +1 -0
  264. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-destinations.d.ts +1 -1
  265. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-destinations.d.ts.map +1 -1
  266. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-destinations.js +3 -3
  267. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-destinations.js.map +1 -1
  268. package/dist/service/s3/bucket/sim-s3-bucket-access.d.ts +4 -0
  269. package/dist/service/s3/bucket/sim-s3-bucket-access.d.ts.map +1 -1
  270. package/dist/service/s3/bucket/sim-s3-bucket-access.js +8 -0
  271. package/dist/service/s3/bucket/sim-s3-bucket-access.js.map +1 -1
  272. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.d.ts +9 -6
  273. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.d.ts.map +1 -1
  274. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.js +32 -7
  275. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.js.map +1 -1
  276. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.d.ts +2 -1
  277. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.d.ts.map +1 -1
  278. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.d.ts +10 -1
  279. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.d.ts.map +1 -1
  280. package/dist/service/s3/command/put-object/put-object-builder.d.ts +13 -4
  281. package/dist/service/s3/command/put-object/put-object-builder.d.ts.map +1 -1
  282. package/dist/service/s3/command/put-object/put-object-builder.js +27 -10
  283. package/dist/service/s3/command/put-object/put-object-builder.js.map +1 -1
  284. package/dist/service/s3/command/put-object/put-object.command.d.ts +11 -0
  285. package/dist/service/s3/command/put-object/put-object.command.d.ts.map +1 -1
  286. package/dist/service/s3/index.d.ts +2 -0
  287. package/dist/service/s3/index.d.ts.map +1 -1
  288. package/dist/service/s3/mount/sim-s3-mount.type.d.ts +22 -0
  289. package/dist/service/s3/mount/sim-s3-mount.type.d.ts.map +1 -1
  290. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts.map +1 -1
  291. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js +1 -0
  292. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js.map +1 -1
  293. package/dist/service/s3/notification/destination/sim-s3-notification-destination.d.ts +1 -1
  294. package/dist/service/s3/notification/destination/sim-s3-notification-destination.d.ts.map +1 -1
  295. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.d.ts +2 -0
  296. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.d.ts.map +1 -1
  297. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.js +5 -0
  298. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.js.map +1 -1
  299. package/dist/service/s3/notification/destination/sns/sim-aws-s3-notification-topics.d.ts +38 -0
  300. package/dist/service/s3/notification/destination/sns/sim-aws-s3-notification-topics.d.ts.map +1 -0
  301. package/dist/service/s3/notification/destination/sns/sim-aws-s3-notification-topics.js +50 -0
  302. package/dist/service/s3/notification/destination/sns/sim-aws-s3-notification-topics.js.map +1 -0
  303. package/dist/service/s3/notification/destination/sns/sim-s3-notification-topic-arn.d.ts +31 -0
  304. package/dist/service/s3/notification/destination/sns/sim-s3-notification-topic-arn.d.ts.map +1 -0
  305. package/dist/service/s3/notification/destination/sns/sim-s3-notification-topic-arn.js +48 -0
  306. package/dist/service/s3/notification/destination/sns/sim-s3-notification-topic-arn.js.map +1 -0
  307. package/dist/service/s3/notification/destination/sns/sim-s3-notification-topic.d.ts +43 -0
  308. package/dist/service/s3/notification/destination/sns/sim-s3-notification-topic.d.ts.map +1 -0
  309. package/dist/service/s3/notification/destination/sns/sim-s3-notification-topic.js +71 -0
  310. package/dist/service/s3/notification/destination/sns/sim-s3-notification-topic.js.map +1 -0
  311. package/dist/service/s3/notification/destination/sns/sim-s3-notification-topics.d.ts +22 -0
  312. package/dist/service/s3/notification/destination/sns/sim-s3-notification-topics.d.ts.map +1 -0
  313. package/dist/service/s3/notification/destination/sns/sim-s3-notification-topics.js +2 -0
  314. package/dist/service/s3/notification/destination/sns/sim-s3-notification-topics.js.map +1 -0
  315. package/dist/service/s3/notification/destination/sns/sim-s3-sns-notification-destination.d.ts +40 -0
  316. package/dist/service/s3/notification/destination/sns/sim-s3-sns-notification-destination.d.ts.map +1 -0
  317. package/dist/service/s3/notification/destination/sns/sim-s3-sns-notification-destination.js +51 -0
  318. package/dist/service/s3/notification/destination/sns/sim-s3-sns-notification-destination.js.map +1 -0
  319. package/dist/service/s3/object/s3-key-prefix-metadata.d.ts +51 -0
  320. package/dist/service/s3/object/s3-key-prefix-metadata.d.ts.map +1 -0
  321. package/dist/service/s3/object/s3-key-prefix-metadata.js +43 -0
  322. package/dist/service/s3/object/s3-key-prefix-metadata.js.map +1 -0
  323. package/dist/service/s3/object/s3-object-response-headers.d.ts +17 -0
  324. package/dist/service/s3/object/s3-object-response-headers.d.ts.map +1 -0
  325. package/dist/service/s3/object/s3-object-response-headers.js +29 -0
  326. package/dist/service/s3/object/s3-object-response-headers.js.map +1 -0
  327. package/dist/service/s3/object/s3-system-metadata.d.ts +32 -0
  328. package/dist/service/s3/object/s3-system-metadata.d.ts.map +1 -0
  329. package/dist/service/s3/object/s3-system-metadata.js +35 -0
  330. package/dist/service/s3/object/s3-system-metadata.js.map +1 -0
  331. package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts.map +1 -1
  332. package/dist/service/s3/serve/sim-s3-rest-object-reader.js +2 -5
  333. package/dist/service/s3/serve/sim-s3-rest-object-reader.js.map +1 -1
  334. package/dist/service/s3/serve/website/sim-s3-website-object-loader.js +1 -1
  335. package/dist/service/s3/serve/website/sim-s3-website-object-loader.js.map +1 -1
  336. package/dist/service/s3/serve/website/sim-s3-website-object.d.ts +3 -4
  337. package/dist/service/s3/serve/website/sim-s3-website-object.d.ts.map +1 -1
  338. package/dist/service/s3/serve/website/sim-s3-website-object.js +6 -11
  339. package/dist/service/s3/serve/website/sim-s3-website-object.js.map +1 -1
  340. package/dist/service/s3/sim-s3.d.ts +5 -0
  341. package/dist/service/s3/sim-s3.d.ts.map +1 -1
  342. package/dist/service/s3/sim-s3.js +5 -0
  343. package/dist/service/s3/sim-s3.js.map +1 -1
  344. package/dist/service/s3/storage/filesystem/s3-filesystem-object-metadata.d.ts +6 -1
  345. package/dist/service/s3/storage/filesystem/s3-filesystem-object-metadata.d.ts.map +1 -1
  346. package/dist/service/s3/storage/filesystem/s3-filesystem-object-metadata.js +7 -1
  347. package/dist/service/s3/storage/filesystem/s3-filesystem-object-metadata.js.map +1 -1
  348. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.d.ts +7 -0
  349. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.d.ts.map +1 -1
  350. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.js +5 -1
  351. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.js.map +1 -1
  352. package/dist/service/sns/cfn/sim-cfn-sns-attribute-value.d.ts +15 -0
  353. package/dist/service/sns/cfn/sim-cfn-sns-attribute-value.d.ts.map +1 -0
  354. package/dist/service/sns/cfn/sim-cfn-sns-attribute-value.js +23 -0
  355. package/dist/service/sns/cfn/sim-cfn-sns-attribute-value.js.map +1 -0
  356. package/dist/service/sns/cfn/sim-cfn-sns-resource-deleter.d.ts +38 -0
  357. package/dist/service/sns/cfn/sim-cfn-sns-resource-deleter.d.ts.map +1 -0
  358. package/dist/service/sns/cfn/sim-cfn-sns-resource-deleter.js +73 -0
  359. package/dist/service/sns/cfn/sim-cfn-sns-resource-deleter.js.map +1 -0
  360. package/dist/service/sns/cfn/sim-cfn-sns-resource-error.d.ts +24 -0
  361. package/dist/service/sns/cfn/sim-cfn-sns-resource-error.d.ts.map +1 -0
  362. package/dist/service/sns/cfn/sim-cfn-sns-resource-error.js +39 -0
  363. package/dist/service/sns/cfn/sim-cfn-sns-resource-error.js.map +1 -0
  364. package/dist/service/sns/cfn/sim-cfn-sns-resource-types.d.ts +11 -0
  365. package/dist/service/sns/cfn/sim-cfn-sns-resource-types.d.ts.map +1 -0
  366. package/dist/service/sns/cfn/sim-cfn-sns-resource-types.js +11 -0
  367. package/dist/service/sns/cfn/sim-cfn-sns-resource-types.js.map +1 -0
  368. package/dist/service/sns/cfn/sim-sns-cfn-resource-factory.d.ts +31 -0
  369. package/dist/service/sns/cfn/sim-sns-cfn-resource-factory.d.ts.map +1 -0
  370. package/dist/service/sns/cfn/sim-sns-cfn-resource-factory.js +54 -0
  371. package/dist/service/sns/cfn/sim-sns-cfn-resource-factory.js.map +1 -0
  372. package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-creator.d.ts +26 -0
  373. package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-creator.d.ts.map +1 -0
  374. package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-creator.js +37 -0
  375. package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-creator.js.map +1 -0
  376. package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-properties.d.ts +47 -0
  377. package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-properties.d.ts.map +1 -0
  378. package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-properties.js +88 -0
  379. package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-properties.js.map +1 -0
  380. package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-property-names.d.ts +36 -0
  381. package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-property-names.d.ts.map +1 -0
  382. package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-property-names.js +55 -0
  383. package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-property-names.js.map +1 -0
  384. package/dist/service/sns/cfn/topic/sim-cfn-sns-inline-subscriptions.d.ts +23 -0
  385. package/dist/service/sns/cfn/topic/sim-cfn-sns-inline-subscriptions.d.ts.map +1 -0
  386. package/dist/service/sns/cfn/topic/sim-cfn-sns-inline-subscriptions.js +49 -0
  387. package/dist/service/sns/cfn/topic/sim-cfn-sns-inline-subscriptions.js.map +1 -0
  388. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-creator.d.ts +34 -0
  389. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-creator.d.ts.map +1 -0
  390. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-creator.js +60 -0
  391. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-creator.js.map +1 -0
  392. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-name.d.ts +22 -0
  393. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-name.d.ts.map +1 -0
  394. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-name.js +27 -0
  395. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-name.js.map +1 -0
  396. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-properties.d.ts +58 -0
  397. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-properties.d.ts.map +1 -0
  398. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-properties.js +93 -0
  399. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-properties.js.map +1 -0
  400. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-property-names.d.ts +31 -0
  401. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-property-names.d.ts.map +1 -0
  402. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-property-names.js +52 -0
  403. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-property-names.js.map +1 -0
  404. package/dist/service/sns/cfn/topic-policy/sim-cfn-sns-topic-policy-creator.d.ts +34 -0
  405. package/dist/service/sns/cfn/topic-policy/sim-cfn-sns-topic-policy-creator.d.ts.map +1 -0
  406. package/dist/service/sns/cfn/topic-policy/sim-cfn-sns-topic-policy-creator.js +58 -0
  407. package/dist/service/sns/cfn/topic-policy/sim-cfn-sns-topic-policy-creator.js.map +1 -0
  408. package/dist/service/sns/cfn/topic-policy/sim-cfn-sns-topic-policy-properties.d.ts +20 -0
  409. package/dist/service/sns/cfn/topic-policy/sim-cfn-sns-topic-policy-properties.d.ts.map +1 -0
  410. package/dist/service/sns/cfn/topic-policy/sim-cfn-sns-topic-policy-properties.js +44 -0
  411. package/dist/service/sns/cfn/topic-policy/sim-cfn-sns-topic-policy-properties.js.map +1 -0
  412. package/dist/service/sns/command/authorize/sim-sns-authorizer.d.ts +58 -0
  413. package/dist/service/sns/command/authorize/sim-sns-authorizer.d.ts.map +1 -0
  414. package/dist/service/sns/command/authorize/sim-sns-authorizer.js +83 -0
  415. package/dist/service/sns/command/authorize/sim-sns-authorizer.js.map +1 -0
  416. package/dist/service/sns/command/authorize/sim-sns-condition-context.d.ts +13 -0
  417. package/dist/service/sns/command/authorize/sim-sns-condition-context.d.ts.map +1 -0
  418. package/dist/service/sns/command/authorize/sim-sns-condition-context.js +21 -0
  419. package/dist/service/sns/command/authorize/sim-sns-condition-context.js.map +1 -0
  420. package/dist/service/sns/command/authorize/sim-sns-service-publish-authorizer.d.ts +41 -0
  421. package/dist/service/sns/command/authorize/sim-sns-service-publish-authorizer.d.ts.map +1 -0
  422. package/dist/service/sns/command/authorize/sim-sns-service-publish-authorizer.js +40 -0
  423. package/dist/service/sns/command/authorize/sim-sns-service-publish-authorizer.js.map +1 -0
  424. package/dist/service/sns/command/authorize/sim-sns-topic-resource-policies.d.ts +12 -0
  425. package/dist/service/sns/command/authorize/sim-sns-topic-resource-policies.d.ts.map +1 -0
  426. package/dist/service/sns/command/authorize/sim-sns-topic-resource-policies.js +25 -0
  427. package/dist/service/sns/command/authorize/sim-sns-topic-resource-policies.js.map +1 -0
  428. package/dist/service/sns/command/publish/publish.command.d.ts +70 -0
  429. package/dist/service/sns/command/publish/publish.command.d.ts.map +1 -0
  430. package/dist/service/sns/command/publish/publish.command.js +2 -0
  431. package/dist/service/sns/command/publish/publish.command.js.map +1 -0
  432. package/dist/service/sns/command/publish/sim-sns-batch-entries.d.ts +52 -0
  433. package/dist/service/sns/command/publish/sim-sns-batch-entries.d.ts.map +1 -0
  434. package/dist/service/sns/command/publish/sim-sns-batch-entries.js +85 -0
  435. package/dist/service/sns/command/publish/sim-sns-batch-entries.js.map +1 -0
  436. package/dist/service/sns/command/publish/sim-sns-publish-commands.d.ts +53 -0
  437. package/dist/service/sns/command/publish/sim-sns-publish-commands.d.ts.map +1 -0
  438. package/dist/service/sns/command/publish/sim-sns-publish-commands.js +83 -0
  439. package/dist/service/sns/command/publish/sim-sns-publish-commands.js.map +1 -0
  440. package/dist/service/sns/command/publish/sim-sns-publish-input.d.ts +23 -0
  441. package/dist/service/sns/command/publish/sim-sns-publish-input.d.ts.map +1 -0
  442. package/dist/service/sns/command/publish/sim-sns-publish-input.js +47 -0
  443. package/dist/service/sns/command/publish/sim-sns-publish-input.js.map +1 -0
  444. package/dist/service/sns/command/sim-sns-command.types.d.ts +7 -0
  445. package/dist/service/sns/command/sim-sns-command.types.d.ts.map +1 -0
  446. package/dist/service/sns/command/sim-sns-command.types.js +2 -0
  447. package/dist/service/sns/command/sim-sns-command.types.js.map +1 -0
  448. package/dist/service/sns/command/sim-sns-commands.d.ts +45 -0
  449. package/dist/service/sns/command/sim-sns-commands.d.ts.map +1 -0
  450. package/dist/service/sns/command/sim-sns-commands.js +83 -0
  451. package/dist/service/sns/command/sim-sns-commands.js.map +1 -0
  452. package/dist/service/sns/command/sim-sns-page.d.ts +19 -0
  453. package/dist/service/sns/command/sim-sns-page.d.ts.map +1 -0
  454. package/dist/service/sns/command/sim-sns-page.js +51 -0
  455. package/dist/service/sns/command/sim-sns-page.js.map +1 -0
  456. package/dist/service/sns/command/sim-sns-request-options.d.ts +47 -0
  457. package/dist/service/sns/command/sim-sns-request-options.d.ts.map +1 -0
  458. package/dist/service/sns/command/sim-sns-request-options.js +19 -0
  459. package/dist/service/sns/command/sim-sns-request-options.js.map +1 -0
  460. package/dist/service/sns/command/subscription/sim-sns-subscription-access.d.ts +42 -0
  461. package/dist/service/sns/command/subscription/sim-sns-subscription-access.d.ts.map +1 -0
  462. package/dist/service/sns/command/subscription/sim-sns-subscription-access.js +57 -0
  463. package/dist/service/sns/command/subscription/sim-sns-subscription-access.js.map +1 -0
  464. package/dist/service/sns/command/subscription/sim-sns-subscription-attribute-commands.d.ts +31 -0
  465. package/dist/service/sns/command/subscription/sim-sns-subscription-attribute-commands.d.ts.map +1 -0
  466. package/dist/service/sns/command/subscription/sim-sns-subscription-attribute-commands.js +44 -0
  467. package/dist/service/sns/command/subscription/sim-sns-subscription-attribute-commands.js.map +1 -0
  468. package/dist/service/sns/command/subscription/sim-sns-subscription-commands.d.ts +50 -0
  469. package/dist/service/sns/command/subscription/sim-sns-subscription-commands.d.ts.map +1 -0
  470. package/dist/service/sns/command/subscription/sim-sns-subscription-commands.js +73 -0
  471. package/dist/service/sns/command/subscription/sim-sns-subscription-commands.js.map +1 -0
  472. package/dist/service/sns/command/subscription/sim-sns-subscription-listings.d.ts +34 -0
  473. package/dist/service/sns/command/subscription/sim-sns-subscription-listings.d.ts.map +1 -0
  474. package/dist/service/sns/command/subscription/sim-sns-subscription-listings.js +57 -0
  475. package/dist/service/sns/command/subscription/sim-sns-subscription-listings.js.map +1 -0
  476. package/dist/service/sns/command/subscription/subscription.command.d.ts +118 -0
  477. package/dist/service/sns/command/subscription/subscription.command.d.ts.map +1 -0
  478. package/dist/service/sns/command/subscription/subscription.command.js +2 -0
  479. package/dist/service/sns/command/subscription/subscription.command.js.map +1 -0
  480. package/dist/service/sns/command/topic/sim-sns-create-topic.d.ts +41 -0
  481. package/dist/service/sns/command/topic/sim-sns-create-topic.d.ts.map +1 -0
  482. package/dist/service/sns/command/topic/sim-sns-create-topic.js +54 -0
  483. package/dist/service/sns/command/topic/sim-sns-create-topic.js.map +1 -0
  484. package/dist/service/sns/command/topic/sim-sns-request-topic-name.d.ts +11 -0
  485. package/dist/service/sns/command/topic/sim-sns-request-topic-name.d.ts.map +1 -0
  486. package/dist/service/sns/command/topic/sim-sns-request-topic-name.js +28 -0
  487. package/dist/service/sns/command/topic/sim-sns-request-topic-name.js.map +1 -0
  488. package/dist/service/sns/command/topic/sim-sns-topic-access.d.ts +76 -0
  489. package/dist/service/sns/command/topic/sim-sns-topic-access.d.ts.map +1 -0
  490. package/dist/service/sns/command/topic/sim-sns-topic-access.js +81 -0
  491. package/dist/service/sns/command/topic/sim-sns-topic-access.js.map +1 -0
  492. package/dist/service/sns/command/topic/sim-sns-topic-attribute-commands.d.ts +36 -0
  493. package/dist/service/sns/command/topic/sim-sns-topic-attribute-commands.d.ts.map +1 -0
  494. package/dist/service/sns/command/topic/sim-sns-topic-attribute-commands.js +47 -0
  495. package/dist/service/sns/command/topic/sim-sns-topic-attribute-commands.js.map +1 -0
  496. package/dist/service/sns/command/topic/sim-sns-topic-commands.d.ts +42 -0
  497. package/dist/service/sns/command/topic/sim-sns-topic-commands.d.ts.map +1 -0
  498. package/dist/service/sns/command/topic/sim-sns-topic-commands.js +51 -0
  499. package/dist/service/sns/command/topic/sim-sns-topic-commands.js.map +1 -0
  500. package/dist/service/sns/command/topic/sim-sns-unsimulated-topic-input.d.ts +11 -0
  501. package/dist/service/sns/command/topic/sim-sns-unsimulated-topic-input.d.ts.map +1 -0
  502. package/dist/service/sns/command/topic/sim-sns-unsimulated-topic-input.js +20 -0
  503. package/dist/service/sns/command/topic/sim-sns-unsimulated-topic-input.js.map +1 -0
  504. package/dist/service/sns/command/topic/topic.command.d.ts +95 -0
  505. package/dist/service/sns/command/topic/topic.command.d.ts.map +1 -0
  506. package/dist/service/sns/command/topic/topic.command.js +2 -0
  507. package/dist/service/sns/command/topic/topic.command.js.map +1 -0
  508. package/dist/service/sns/delivery/lambda/sim-aws-sns-delivery-functions.d.ts +27 -0
  509. package/dist/service/sns/delivery/lambda/sim-aws-sns-delivery-functions.d.ts.map +1 -0
  510. package/dist/service/sns/delivery/lambda/sim-aws-sns-delivery-functions.js +31 -0
  511. package/dist/service/sns/delivery/lambda/sim-aws-sns-delivery-functions.js.map +1 -0
  512. package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.d.ts +31 -0
  513. package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.d.ts.map +1 -0
  514. package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.js +62 -0
  515. package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.js.map +1 -0
  516. package/dist/service/sns/delivery/lambda/sim-sns-lambda-event.d.ts +10 -0
  517. package/dist/service/sns/delivery/lambda/sim-sns-lambda-event.d.ts.map +1 -0
  518. package/dist/service/sns/delivery/lambda/sim-sns-lambda-event.js +53 -0
  519. package/dist/service/sns/delivery/lambda/sim-sns-lambda-event.js.map +1 -0
  520. package/dist/service/sns/delivery/sim-aws-sns-delivery-endpoints.d.ts +17 -0
  521. package/dist/service/sns/delivery/sim-aws-sns-delivery-endpoints.d.ts.map +1 -0
  522. package/dist/service/sns/delivery/sim-aws-sns-delivery-endpoints.js +21 -0
  523. package/dist/service/sns/delivery/sim-aws-sns-delivery-endpoints.js.map +1 -0
  524. package/dist/service/sns/delivery/sim-sns-canonical-message.d.ts +32 -0
  525. package/dist/service/sns/delivery/sim-sns-canonical-message.d.ts.map +1 -0
  526. package/dist/service/sns/delivery/sim-sns-canonical-message.js +24 -0
  527. package/dist/service/sns/delivery/sim-sns-canonical-message.js.map +1 -0
  528. package/dist/service/sns/delivery/sim-sns-delivery-failures.d.ts +60 -0
  529. package/dist/service/sns/delivery/sim-sns-delivery-failures.d.ts.map +1 -0
  530. package/dist/service/sns/delivery/sim-sns-delivery-failures.js +84 -0
  531. package/dist/service/sns/delivery/sim-sns-delivery-failures.js.map +1 -0
  532. package/dist/service/sns/delivery/sim-sns-delivery-request.d.ts +28 -0
  533. package/dist/service/sns/delivery/sim-sns-delivery-request.d.ts.map +1 -0
  534. package/dist/service/sns/delivery/sim-sns-delivery-request.js +34 -0
  535. package/dist/service/sns/delivery/sim-sns-delivery-request.js.map +1 -0
  536. package/dist/service/sns/delivery/sim-sns-delivery.d.ts +55 -0
  537. package/dist/service/sns/delivery/sim-sns-delivery.d.ts.map +1 -0
  538. package/dist/service/sns/delivery/sim-sns-delivery.js +18 -0
  539. package/dist/service/sns/delivery/sim-sns-delivery.js.map +1 -0
  540. package/dist/service/sns/delivery/sim-sns-envelope.d.ts +26 -0
  541. package/dist/service/sns/delivery/sim-sns-envelope.d.ts.map +1 -0
  542. package/dist/service/sns/delivery/sim-sns-envelope.js +41 -0
  543. package/dist/service/sns/delivery/sim-sns-envelope.js.map +1 -0
  544. package/dist/service/sns/delivery/sim-sns-fan-out.d.ts +53 -0
  545. package/dist/service/sns/delivery/sim-sns-fan-out.d.ts.map +1 -0
  546. package/dist/service/sns/delivery/sim-sns-fan-out.js +69 -0
  547. package/dist/service/sns/delivery/sim-sns-fan-out.js.map +1 -0
  548. package/dist/service/sns/delivery/sim-sns-no-delivery-endpoints.d.ts +17 -0
  549. package/dist/service/sns/delivery/sim-sns-no-delivery-endpoints.d.ts.map +1 -0
  550. package/dist/service/sns/delivery/sim-sns-no-delivery-endpoints.js +23 -0
  551. package/dist/service/sns/delivery/sim-sns-no-delivery-endpoints.js.map +1 -0
  552. package/dist/service/sns/delivery/sim-sns-notification.d.ts +57 -0
  553. package/dist/service/sns/delivery/sim-sns-notification.d.ts.map +1 -0
  554. package/dist/service/sns/delivery/sim-sns-notification.js +64 -0
  555. package/dist/service/sns/delivery/sim-sns-notification.js.map +1 -0
  556. package/dist/service/sns/delivery/sim-sns-protocol-delivery-endpoints.d.ts +32 -0
  557. package/dist/service/sns/delivery/sim-sns-protocol-delivery-endpoints.d.ts.map +1 -0
  558. package/dist/service/sns/delivery/sim-sns-protocol-delivery-endpoints.js +22 -0
  559. package/dist/service/sns/delivery/sim-sns-protocol-delivery-endpoints.js.map +1 -0
  560. package/dist/service/sns/delivery/sqs/sim-aws-sns-delivery-queues.d.ts +29 -0
  561. package/dist/service/sns/delivery/sqs/sim-aws-sns-delivery-queues.d.ts.map +1 -0
  562. package/dist/service/sns/delivery/sqs/sim-aws-sns-delivery-queues.js +33 -0
  563. package/dist/service/sns/delivery/sqs/sim-aws-sns-delivery-queues.js.map +1 -0
  564. package/dist/service/sns/delivery/sqs/sim-sns-delivery-queue.d.ts +31 -0
  565. package/dist/service/sns/delivery/sqs/sim-sns-delivery-queue.d.ts.map +1 -0
  566. package/dist/service/sns/delivery/sqs/sim-sns-delivery-queue.js +63 -0
  567. package/dist/service/sns/delivery/sqs/sim-sns-delivery-queue.js.map +1 -0
  568. package/dist/service/sns/delivery/sqs/sim-sns-queue-message.d.ts +24 -0
  569. package/dist/service/sns/delivery/sqs/sim-sns-queue-message.d.ts.map +1 -0
  570. package/dist/service/sns/delivery/sqs/sim-sns-queue-message.js +38 -0
  571. package/dist/service/sns/delivery/sqs/sim-sns-queue-message.js.map +1 -0
  572. package/dist/service/sns/error/sim-sns-delivery.error.d.ts +13 -0
  573. package/dist/service/sns/error/sim-sns-delivery.error.d.ts.map +1 -0
  574. package/dist/service/sns/error/sim-sns-delivery.error.js +13 -0
  575. package/dist/service/sns/error/sim-sns-delivery.error.js.map +1 -0
  576. package/dist/service/sns/error/sim-sns.error.d.ts +107 -0
  577. package/dist/service/sns/error/sim-sns.error.d.ts.map +1 -0
  578. package/dist/service/sns/error/sim-sns.error.js +124 -0
  579. package/dist/service/sns/error/sim-sns.error.js.map +1 -0
  580. package/dist/service/sns/filter/match/sim-sns-anything-but-match.d.ts +30 -0
  581. package/dist/service/sns/filter/match/sim-sns-anything-but-match.d.ts.map +1 -0
  582. package/dist/service/sns/filter/match/sim-sns-anything-but-match.js +82 -0
  583. package/dist/service/sns/filter/match/sim-sns-anything-but-match.js.map +1 -0
  584. package/dist/service/sns/filter/match/sim-sns-equals-ignore-case-match.d.ts +24 -0
  585. package/dist/service/sns/filter/match/sim-sns-equals-ignore-case-match.d.ts.map +1 -0
  586. package/dist/service/sns/filter/match/sim-sns-equals-ignore-case-match.js +30 -0
  587. package/dist/service/sns/filter/match/sim-sns-equals-ignore-case-match.js.map +1 -0
  588. package/dist/service/sns/filter/match/sim-sns-exact-match.d.ts +22 -0
  589. package/dist/service/sns/filter/match/sim-sns-exact-match.d.ts.map +1 -0
  590. package/dist/service/sns/filter/match/sim-sns-exact-match.js +49 -0
  591. package/dist/service/sns/filter/match/sim-sns-exact-match.js.map +1 -0
  592. package/dist/service/sns/filter/match/sim-sns-exists-match.d.ts +27 -0
  593. package/dist/service/sns/filter/match/sim-sns-exists-match.d.ts.map +1 -0
  594. package/dist/service/sns/filter/match/sim-sns-exists-match.js +38 -0
  595. package/dist/service/sns/filter/match/sim-sns-exists-match.js.map +1 -0
  596. package/dist/service/sns/filter/match/sim-sns-filter-match.d.ts +24 -0
  597. package/dist/service/sns/filter/match/sim-sns-filter-match.d.ts.map +1 -0
  598. package/dist/service/sns/filter/match/sim-sns-filter-match.js +19 -0
  599. package/dist/service/sns/filter/match/sim-sns-filter-match.js.map +1 -0
  600. package/dist/service/sns/filter/match/sim-sns-numeric-match.d.ts +48 -0
  601. package/dist/service/sns/filter/match/sim-sns-numeric-match.d.ts.map +1 -0
  602. package/dist/service/sns/filter/match/sim-sns-numeric-match.js +107 -0
  603. package/dist/service/sns/filter/match/sim-sns-numeric-match.js.map +1 -0
  604. package/dist/service/sns/filter/match/sim-sns-prefix-match.d.ts +26 -0
  605. package/dist/service/sns/filter/match/sim-sns-prefix-match.d.ts.map +1 -0
  606. package/dist/service/sns/filter/match/sim-sns-prefix-match.js +32 -0
  607. package/dist/service/sns/filter/match/sim-sns-prefix-match.js.map +1 -0
  608. package/dist/service/sns/filter/match/sim-sns-suffix-match.d.ts +23 -0
  609. package/dist/service/sns/filter/match/sim-sns-suffix-match.d.ts.map +1 -0
  610. package/dist/service/sns/filter/match/sim-sns-suffix-match.js +29 -0
  611. package/dist/service/sns/filter/match/sim-sns-suffix-match.js.map +1 -0
  612. package/dist/service/sns/filter/sim-sns-attribute-subject.d.ts +31 -0
  613. package/dist/service/sns/filter/sim-sns-attribute-subject.d.ts.map +1 -0
  614. package/dist/service/sns/filter/sim-sns-attribute-subject.js +85 -0
  615. package/dist/service/sns/filter/sim-sns-attribute-subject.js.map +1 -0
  616. package/dist/service/sns/filter/sim-sns-body-subject.d.ts +30 -0
  617. package/dist/service/sns/filter/sim-sns-body-subject.d.ts.map +1 -0
  618. package/dist/service/sns/filter/sim-sns-body-subject.js +67 -0
  619. package/dist/service/sns/filter/sim-sns-body-subject.js.map +1 -0
  620. package/dist/service/sns/filter/sim-sns-filter-any-rule.d.ts +21 -0
  621. package/dist/service/sns/filter/sim-sns-filter-any-rule.d.ts.map +1 -0
  622. package/dist/service/sns/filter/sim-sns-filter-any-rule.js +23 -0
  623. package/dist/service/sns/filter/sim-sns-filter-any-rule.js.map +1 -0
  624. package/dist/service/sns/filter/sim-sns-filter-key-rule.d.ts +28 -0
  625. package/dist/service/sns/filter/sim-sns-filter-key-rule.d.ts.map +1 -0
  626. package/dist/service/sns/filter/sim-sns-filter-key-rule.js +48 -0
  627. package/dist/service/sns/filter/sim-sns-filter-key-rule.js.map +1 -0
  628. package/dist/service/sns/filter/sim-sns-filter-matches.d.ts +9 -0
  629. package/dist/service/sns/filter/sim-sns-filter-matches.d.ts.map +1 -0
  630. package/dist/service/sns/filter/sim-sns-filter-matches.js +40 -0
  631. package/dist/service/sns/filter/sim-sns-filter-matches.js.map +1 -0
  632. package/dist/service/sns/filter/sim-sns-filter-operators.d.ts +22 -0
  633. package/dist/service/sns/filter/sim-sns-filter-operators.d.ts.map +1 -0
  634. package/dist/service/sns/filter/sim-sns-filter-operators.js +50 -0
  635. package/dist/service/sns/filter/sim-sns-filter-operators.js.map +1 -0
  636. package/dist/service/sns/filter/sim-sns-filter-or-eligibility.d.ts +17 -0
  637. package/dist/service/sns/filter/sim-sns-filter-or-eligibility.d.ts.map +1 -0
  638. package/dist/service/sns/filter/sim-sns-filter-or-eligibility.js +47 -0
  639. package/dist/service/sns/filter/sim-sns-filter-or-eligibility.js.map +1 -0
  640. package/dist/service/sns/filter/sim-sns-filter-policy-scope.d.ts +36 -0
  641. package/dist/service/sns/filter/sim-sns-filter-policy-scope.d.ts.map +1 -0
  642. package/dist/service/sns/filter/sim-sns-filter-policy-scope.js +67 -0
  643. package/dist/service/sns/filter/sim-sns-filter-policy-scope.js.map +1 -0
  644. package/dist/service/sns/filter/sim-sns-filter-policy.d.ts +48 -0
  645. package/dist/service/sns/filter/sim-sns-filter-policy.d.ts.map +1 -0
  646. package/dist/service/sns/filter/sim-sns-filter-policy.js +84 -0
  647. package/dist/service/sns/filter/sim-sns-filter-policy.js.map +1 -0
  648. package/dist/service/sns/filter/sim-sns-filter-refusals.d.ts +38 -0
  649. package/dist/service/sns/filter/sim-sns-filter-refusals.d.ts.map +1 -0
  650. package/dist/service/sns/filter/sim-sns-filter-refusals.js +53 -0
  651. package/dist/service/sns/filter/sim-sns-filter-refusals.js.map +1 -0
  652. package/dist/service/sns/filter/sim-sns-filter-rule.d.ts +15 -0
  653. package/dist/service/sns/filter/sim-sns-filter-rule.d.ts.map +1 -0
  654. package/dist/service/sns/filter/sim-sns-filter-rule.js +2 -0
  655. package/dist/service/sns/filter/sim-sns-filter-rule.js.map +1 -0
  656. package/dist/service/sns/filter/sim-sns-filter-rules.d.ts +27 -0
  657. package/dist/service/sns/filter/sim-sns-filter-rules.d.ts.map +1 -0
  658. package/dist/service/sns/filter/sim-sns-filter-rules.js +66 -0
  659. package/dist/service/sns/filter/sim-sns-filter-rules.js.map +1 -0
  660. package/dist/service/sns/filter/sim-sns-filter-subject.d.ts +31 -0
  661. package/dist/service/sns/filter/sim-sns-filter-subject.d.ts.map +1 -0
  662. package/dist/service/sns/filter/sim-sns-filter-subject.js +2 -0
  663. package/dist/service/sns/filter/sim-sns-filter-subject.js.map +1 -0
  664. package/dist/service/sns/filter/sim-sns-filter-value.d.ts +45 -0
  665. package/dist/service/sns/filter/sim-sns-filter-value.d.ts.map +1 -0
  666. package/dist/service/sns/filter/sim-sns-filter-value.js +83 -0
  667. package/dist/service/sns/filter/sim-sns-filter-value.js.map +1 -0
  668. package/dist/service/sns/filter/sim-sns-json-filter-values.d.ts +12 -0
  669. package/dist/service/sns/filter/sim-sns-json-filter-values.d.ts.map +1 -0
  670. package/dist/service/sns/filter/sim-sns-json-filter-values.js +25 -0
  671. package/dist/service/sns/filter/sim-sns-json-filter-values.js.map +1 -0
  672. package/dist/service/sns/index.d.ts +33 -0
  673. package/dist/service/sns/index.d.ts.map +1 -0
  674. package/dist/service/sns/index.js +29 -0
  675. package/dist/service/sns/index.js.map +1 -0
  676. package/dist/service/sns/message/sim-sns-message-attribute-rules.d.ts +23 -0
  677. package/dist/service/sns/message/sim-sns-message-attribute-rules.d.ts.map +1 -0
  678. package/dist/service/sns/message/sim-sns-message-attribute-rules.js +74 -0
  679. package/dist/service/sns/message/sim-sns-message-attribute-rules.js.map +1 -0
  680. package/dist/service/sns/message/sim-sns-message-attribute-value.d.ts +15 -0
  681. package/dist/service/sns/message/sim-sns-message-attribute-value.d.ts.map +1 -0
  682. package/dist/service/sns/message/sim-sns-message-attribute-value.js +2 -0
  683. package/dist/service/sns/message/sim-sns-message-attribute-value.js.map +1 -0
  684. package/dist/service/sns/message/sim-sns-message-attribute.d.ts +55 -0
  685. package/dist/service/sns/message/sim-sns-message-attribute.d.ts.map +1 -0
  686. package/dist/service/sns/message/sim-sns-message-attribute.js +78 -0
  687. package/dist/service/sns/message/sim-sns-message-attribute.js.map +1 -0
  688. package/dist/service/sns/message/sim-sns-message-attributes.d.ts +71 -0
  689. package/dist/service/sns/message/sim-sns-message-attributes.d.ts.map +1 -0
  690. package/dist/service/sns/message/sim-sns-message-attributes.js +80 -0
  691. package/dist/service/sns/message/sim-sns-message-attributes.js.map +1 -0
  692. package/dist/service/sns/message/sim-sns-message-body.d.ts +17 -0
  693. package/dist/service/sns/message/sim-sns-message-body.d.ts.map +1 -0
  694. package/dist/service/sns/message/sim-sns-message-body.js +26 -0
  695. package/dist/service/sns/message/sim-sns-message-body.js.map +1 -0
  696. package/dist/service/sns/message/sim-sns-message-subject.d.ts +27 -0
  697. package/dist/service/sns/message/sim-sns-message-subject.d.ts.map +1 -0
  698. package/dist/service/sns/message/sim-sns-message-subject.js +74 -0
  699. package/dist/service/sns/message/sim-sns-message-subject.js.map +1 -0
  700. package/dist/service/sns/message/sim-sns-published-message.d.ts +55 -0
  701. package/dist/service/sns/message/sim-sns-published-message.d.ts.map +1 -0
  702. package/dist/service/sns/message/sim-sns-published-message.js +69 -0
  703. package/dist/service/sns/message/sim-sns-published-message.js.map +1 -0
  704. package/dist/service/sns/sdk/sim-sns-sdk-command-router.d.ts +18 -0
  705. package/dist/service/sns/sdk/sim-sns-sdk-command-router.d.ts.map +1 -0
  706. package/dist/service/sns/sdk/sim-sns-sdk-command-router.js +76 -0
  707. package/dist/service/sns/sdk/sim-sns-sdk-command-router.js.map +1 -0
  708. package/dist/service/sns/signature/sim-sns-certificate.d.ts +30 -0
  709. package/dist/service/sns/signature/sim-sns-certificate.d.ts.map +1 -0
  710. package/dist/service/sns/signature/sim-sns-certificate.js +110 -0
  711. package/dist/service/sns/signature/sim-sns-certificate.js.map +1 -0
  712. package/dist/service/sns/signature/sim-sns-der.d.ts +40 -0
  713. package/dist/service/sns/signature/sim-sns-der.d.ts.map +1 -0
  714. package/dist/service/sns/signature/sim-sns-der.js +64 -0
  715. package/dist/service/sns/signature/sim-sns-der.js.map +1 -0
  716. package/dist/service/sns/signature/sim-sns-host.d.ts +28 -0
  717. package/dist/service/sns/signature/sim-sns-host.d.ts.map +1 -0
  718. package/dist/service/sns/signature/sim-sns-host.js +33 -0
  719. package/dist/service/sns/signature/sim-sns-host.js.map +1 -0
  720. package/dist/service/sns/signature/sim-sns-message-signer.d.ts +51 -0
  721. package/dist/service/sns/signature/sim-sns-message-signer.d.ts.map +1 -0
  722. package/dist/service/sns/signature/sim-sns-message-signer.js +60 -0
  723. package/dist/service/sns/signature/sim-sns-message-signer.js.map +1 -0
  724. package/dist/service/sns/signature/sim-sns-signing-key.d.ts +34 -0
  725. package/dist/service/sns/signature/sim-sns-signing-key.d.ts.map +1 -0
  726. package/dist/service/sns/signature/sim-sns-signing-key.js +69 -0
  727. package/dist/service/sns/signature/sim-sns-signing-key.js.map +1 -0
  728. package/dist/service/sns/sim-sns.d.ts +139 -0
  729. package/dist/service/sns/sim-sns.d.ts.map +1 -0
  730. package/dist/service/sns/sim-sns.js +188 -0
  731. package/dist/service/sns/sim-sns.js.map +1 -0
  732. package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.d.ts +31 -0
  733. package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.d.ts.map +1 -0
  734. package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.js +54 -0
  735. package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.js.map +1 -0
  736. package/dist/service/sns/subscription/sim-sns-queue-endpoint-arn.d.ts +30 -0
  737. package/dist/service/sns/subscription/sim-sns-queue-endpoint-arn.d.ts.map +1 -0
  738. package/dist/service/sns/subscription/sim-sns-queue-endpoint-arn.js +78 -0
  739. package/dist/service/sns/subscription/sim-sns-queue-endpoint-arn.js.map +1 -0
  740. package/dist/service/sns/subscription/sim-sns-requested-subscription-attributes.d.ts +28 -0
  741. package/dist/service/sns/subscription/sim-sns-requested-subscription-attributes.d.ts.map +1 -0
  742. package/dist/service/sns/subscription/sim-sns-requested-subscription-attributes.js +43 -0
  743. package/dist/service/sns/subscription/sim-sns-requested-subscription-attributes.js.map +1 -0
  744. package/dist/service/sns/subscription/sim-sns-subscription-arn.d.ts +43 -0
  745. package/dist/service/sns/subscription/sim-sns-subscription-arn.d.ts.map +1 -0
  746. package/dist/service/sns/subscription/sim-sns-subscription-arn.js +70 -0
  747. package/dist/service/sns/subscription/sim-sns-subscription-arn.js.map +1 -0
  748. package/dist/service/sns/subscription/sim-sns-subscription-attribute-changes.d.ts +20 -0
  749. package/dist/service/sns/subscription/sim-sns-subscription-attribute-changes.d.ts.map +1 -0
  750. package/dist/service/sns/subscription/sim-sns-subscription-attribute-changes.js +52 -0
  751. package/dist/service/sns/subscription/sim-sns-subscription-attribute-changes.js.map +1 -0
  752. package/dist/service/sns/subscription/sim-sns-subscription-attribute-names.d.ts +26 -0
  753. package/dist/service/sns/subscription/sim-sns-subscription-attribute-names.d.ts.map +1 -0
  754. package/dist/service/sns/subscription/sim-sns-subscription-attribute-names.js +64 -0
  755. package/dist/service/sns/subscription/sim-sns-subscription-attribute-names.js.map +1 -0
  756. package/dist/service/sns/subscription/sim-sns-subscription-attributes.d.ts +47 -0
  757. package/dist/service/sns/subscription/sim-sns-subscription-attributes.d.ts.map +1 -0
  758. package/dist/service/sns/subscription/sim-sns-subscription-attributes.js +67 -0
  759. package/dist/service/sns/subscription/sim-sns-subscription-attributes.js.map +1 -0
  760. package/dist/service/sns/subscription/sim-sns-subscription-endpoint.d.ts +26 -0
  761. package/dist/service/sns/subscription/sim-sns-subscription-endpoint.d.ts.map +1 -0
  762. package/dist/service/sns/subscription/sim-sns-subscription-endpoint.js +21 -0
  763. package/dist/service/sns/subscription/sim-sns-subscription-endpoint.js.map +1 -0
  764. package/dist/service/sns/subscription/sim-sns-subscription-protocol.d.ts +33 -0
  765. package/dist/service/sns/subscription/sim-sns-subscription-protocol.d.ts.map +1 -0
  766. package/dist/service/sns/subscription/sim-sns-subscription-protocol.js +63 -0
  767. package/dist/service/sns/subscription/sim-sns-subscription-protocol.js.map +1 -0
  768. package/dist/service/sns/subscription/sim-sns-subscription-store.d.ts +71 -0
  769. package/dist/service/sns/subscription/sim-sns-subscription-store.d.ts.map +1 -0
  770. package/dist/service/sns/subscription/sim-sns-subscription-store.js +88 -0
  771. package/dist/service/sns/subscription/sim-sns-subscription-store.js.map +1 -0
  772. package/dist/service/sns/subscription/sim-sns-subscription.d.ts +72 -0
  773. package/dist/service/sns/subscription/sim-sns-subscription.d.ts.map +1 -0
  774. package/dist/service/sns/subscription/sim-sns-subscription.js +116 -0
  775. package/dist/service/sns/subscription/sim-sns-subscription.js.map +1 -0
  776. package/dist/service/sns/topic/sim-sns-topic-arn.d.ts +52 -0
  777. package/dist/service/sns/topic/sim-sns-topic-arn.d.ts.map +1 -0
  778. package/dist/service/sns/topic/sim-sns-topic-arn.js +71 -0
  779. package/dist/service/sns/topic/sim-sns-topic-arn.js.map +1 -0
  780. package/dist/service/sns/topic/sim-sns-topic-attribute-names.d.ts +19 -0
  781. package/dist/service/sns/topic/sim-sns-topic-attribute-names.d.ts.map +1 -0
  782. package/dist/service/sns/topic/sim-sns-topic-attribute-names.js +79 -0
  783. package/dist/service/sns/topic/sim-sns-topic-attribute-names.js.map +1 -0
  784. package/dist/service/sns/topic/sim-sns-topic-attributes.d.ts +56 -0
  785. package/dist/service/sns/topic/sim-sns-topic-attributes.d.ts.map +1 -0
  786. package/dist/service/sns/topic/sim-sns-topic-attributes.js +85 -0
  787. package/dist/service/sns/topic/sim-sns-topic-attributes.js.map +1 -0
  788. package/dist/service/sns/topic/sim-sns-topic-name.d.ts +21 -0
  789. package/dist/service/sns/topic/sim-sns-topic-name.d.ts.map +1 -0
  790. package/dist/service/sns/topic/sim-sns-topic-name.js +48 -0
  791. package/dist/service/sns/topic/sim-sns-topic-name.js.map +1 -0
  792. package/dist/service/sns/topic/sim-sns-topic-policy.d.ts +23 -0
  793. package/dist/service/sns/topic/sim-sns-topic-policy.d.ts.map +1 -0
  794. package/dist/service/sns/topic/sim-sns-topic-policy.js +59 -0
  795. package/dist/service/sns/topic/sim-sns-topic-policy.js.map +1 -0
  796. package/dist/service/sns/topic/sim-sns-topic-store.d.ts +35 -0
  797. package/dist/service/sns/topic/sim-sns-topic-store.d.ts.map +1 -0
  798. package/dist/service/sns/topic/sim-sns-topic-store.js +50 -0
  799. package/dist/service/sns/topic/sim-sns-topic-store.js.map +1 -0
  800. package/dist/service/sns/topic/sim-sns-topic.d.ts +48 -0
  801. package/dist/service/sns/topic/sim-sns-topic.d.ts.map +1 -0
  802. package/dist/service/sns/topic/sim-sns-topic.js +80 -0
  803. package/dist/service/sns/topic/sim-sns-topic.js.map +1 -0
  804. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts +3 -6
  805. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts.map +1 -1
  806. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js +13 -7
  807. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js.map +1 -1
  808. package/dist/service/sqs/index.d.ts +1 -1
  809. package/dist/service/sqs/index.d.ts.map +1 -1
  810. package/dist/service/sqs/index.js +1 -1
  811. package/dist/service/sqs/index.js.map +1 -1
  812. package/dist/service/sqs/queue/sim-sqs-queue-arn.d.ts +0 -7
  813. package/dist/service/sqs/queue/sim-sqs-queue-arn.d.ts.map +1 -1
  814. package/dist/service/sqs/queue/sim-sqs-queue-arn.js +0 -9
  815. package/dist/service/sqs/queue/sim-sqs-queue-arn.js.map +1 -1
  816. package/dist/service/sqs/sim-sqs.js +1 -1
  817. package/dist/service/sqs/sim-sqs.js.map +1 -1
  818. package/dist/util/filesystem/temporary-directory.d.ts +4 -1
  819. package/dist/util/filesystem/temporary-directory.d.ts.map +1 -1
  820. package/dist/util/filesystem/temporary-directory.js +5 -3
  821. package/dist/util/filesystem/temporary-directory.js.map +1 -1
  822. package/package.json +15 -2
@@ -0,0 +1,139 @@
1
+ import { type BackgroundScheduler } from "../../util/background/background.js";
2
+ import type { SimSdkCommandRouter } from "../../sdk/router/sim-sdk-command-router.type.js";
3
+ import type { SimAwsAccountRegionScope } from "../aws/sim-aws-account-region-scope.js";
4
+ import { type SimIamInterServiceAuthZ } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
5
+ import type { SimSnsDeliveryEndpoints } from "./delivery/sim-sns-delivery.js";
6
+ import type { SimSnsDeliveryFailure } from "./delivery/sim-sns-delivery-failures.js";
7
+ import type * as simSnsCommands from "./command/sim-sns-command.types.js";
8
+ import type { SimSnsRequestOptions } from "./command/sim-sns-request-options.js";
9
+ import { SimSnsCfnResourceFactory } from "./cfn/sim-sns-cfn-resource-factory.js";
10
+ import type { SimSnsSubscription } from "./subscription/sim-sns-subscription.js";
11
+ import type { SimSnsTopic } from "./topic/sim-sns-topic.js";
12
+ interface SimSnsProperties {
13
+ readonly accountRegionScope?: SimAwsAccountRegionScope;
14
+ readonly iam?: SimIamInterServiceAuthZ;
15
+ readonly background?: BackgroundScheduler;
16
+ /**
17
+ * Where this scope's subscriptions deliver to.
18
+ *
19
+ * A SimSns built on its own has none, since a queue or a function in another
20
+ * simulated service is only reachable through SimAws.
21
+ */
22
+ readonly deliveryEndpoints?: SimSnsDeliveryEndpoints;
23
+ }
24
+ /**
25
+ * Simulated SNS. Handles SDK commands. Emulates AWS behaviour and state.
26
+ *
27
+ * Topics are scoped to an account and region, as they are on real AWS: a topic
28
+ * name is unique within one of those scopes, and the ARN a request reaches a
29
+ * topic by names the region.
30
+ *
31
+ * Only standard topics are simulated. FIFO topics are not.
32
+ */
33
+ export declare class SimSns {
34
+ private readonly topics;
35
+ private readonly subscriptions;
36
+ private readonly commands;
37
+ private readonly background;
38
+ private readonly sdkRouter;
39
+ private readonly cfnFactory;
40
+ constructor(properties?: SimSnsProperties);
41
+ /**
42
+ * Every message this simulated SNS could not deliver.
43
+ *
44
+ * Real SNS tells the publisher nothing about a failed delivery, and neither
45
+ * does this. A queue that is unexpectedly empty is explained here.
46
+ */
47
+ get deliveryFailures(): readonly SimSnsDeliveryFailure[];
48
+ /**
49
+ * The certificate a delivered message's `SigningCertURL` names.
50
+ *
51
+ * The URL cannot be fetched, because simulated SNS is not served over HTTP,
52
+ * so this is how a verifier gets at the certificate to check a signature
53
+ * with. A URL this scope did not issue answers with nothing.
54
+ */
55
+ signingCertificate(signingCertUrl: string): string | undefined;
56
+ /**
57
+ * Find a topic by name.
58
+ *
59
+ * This is the simulator's own accessor, for tests seeding or inspecting topic
60
+ * state without going through a Command and its authorization.
61
+ */
62
+ findTopic(name: string): SimSnsTopic | undefined;
63
+ /**
64
+ * The subscriptions of a topic, by topic name.
65
+ *
66
+ * This is the simulator's own accessor, for a test inspecting what a topic
67
+ * would deliver to without going through a Command and its authorization.
68
+ */
69
+ topicSubscriptions(topicName: string): readonly SimSnsSubscription[];
70
+ /**
71
+ * Find a subscription by ARN.
72
+ *
73
+ * This is the simulator's own accessor, for a test or a CloudFormation
74
+ * Resource holding the ARN a Subscribe answered with.
75
+ */
76
+ findSubscription(arn: string): SimSnsSubscription | undefined;
77
+ /**
78
+ * Handle a CreateTopic Command from the SDK.
79
+ */
80
+ createTopic(command: simSnsCommands.SimCreateTopicCommand, options?: SimSnsRequestOptions): Promise<simSnsCommands.SimCreateTopicCommandOutput>;
81
+ /**
82
+ * Handle a ListTopics Command from the SDK.
83
+ */
84
+ listTopics(command: simSnsCommands.SimListTopicsCommand, options?: SimSnsRequestOptions): Promise<simSnsCommands.SimListTopicsCommandOutput>;
85
+ /**
86
+ * Handle a DeleteTopic Command from the SDK.
87
+ */
88
+ deleteTopic(command: simSnsCommands.SimDeleteTopicCommand, options?: SimSnsRequestOptions): Promise<simSnsCommands.SimDeleteTopicCommandOutput>;
89
+ /**
90
+ * Handle a GetTopicAttributes Command from the SDK.
91
+ */
92
+ getTopicAttributes(command: simSnsCommands.SimGetTopicAttributesCommand, options?: SimSnsRequestOptions): Promise<simSnsCommands.SimGetTopicAttributesCommandOutput>;
93
+ /**
94
+ * Handle a SetTopicAttributes Command from the SDK.
95
+ */
96
+ setTopicAttributes(command: simSnsCommands.SimSetTopicAttributesCommand, options?: SimSnsRequestOptions): Promise<simSnsCommands.SimSetTopicAttributesCommandOutput>;
97
+ /**
98
+ * Handle a Subscribe Command from the SDK.
99
+ */
100
+ subscribe(command: simSnsCommands.SimSubscribeCommand, options?: SimSnsRequestOptions): Promise<simSnsCommands.SimSubscribeCommandOutput>;
101
+ /**
102
+ * Handle an Unsubscribe Command from the SDK.
103
+ */
104
+ unsubscribe(command: simSnsCommands.SimUnsubscribeCommand, options?: SimSnsRequestOptions): Promise<simSnsCommands.SimUnsubscribeCommandOutput>;
105
+ /**
106
+ * Handle a ListSubscriptions Command from the SDK.
107
+ */
108
+ listSubscriptions(command: simSnsCommands.SimListSubscriptionsCommand, options?: SimSnsRequestOptions): Promise<simSnsCommands.SimListSubscriptionsCommandOutput>;
109
+ /**
110
+ * Handle a ListSubscriptionsByTopic Command from the SDK.
111
+ */
112
+ listSubscriptionsByTopic(command: simSnsCommands.SimListSubscriptionsByTopicCommand, options?: SimSnsRequestOptions): Promise<simSnsCommands.SimListSubscriptionsByTopicCommandOutput>;
113
+ /**
114
+ * Handle a GetSubscriptionAttributes Command from the SDK.
115
+ */
116
+ getSubscriptionAttributes(command: simSnsCommands.SimGetSubscriptionAttributesCommand, options?: SimSnsRequestOptions): Promise<simSnsCommands.SimGetSubscriptionAttributesCommandOutput>;
117
+ /**
118
+ * Handle a SetSubscriptionAttributes Command from the SDK.
119
+ */
120
+ setSubscriptionAttributes(command: simSnsCommands.SimSetSubscriptionAttributesCommand, options?: SimSnsRequestOptions): Promise<simSnsCommands.SimSetSubscriptionAttributesCommandOutput>;
121
+ /**
122
+ * Handle a Publish Command from the SDK.
123
+ */
124
+ publish(command: simSnsCommands.SimPublishCommand, options?: SimSnsRequestOptions): Promise<simSnsCommands.SimPublishCommandOutput>;
125
+ /**
126
+ * Handle a PublishBatch Command from the SDK.
127
+ */
128
+ publishBatch(command: simSnsCommands.SimPublishBatchCommand, options?: SimSnsRequestOptions): Promise<simSnsCommands.SimPublishBatchCommandOutput>;
129
+ /**
130
+ * Get this service's CloudFormation Resource factory.
131
+ */
132
+ cfnResourceFactory(): SimSnsCfnResourceFactory;
133
+ /**
134
+ * Get this service's SDK Command router for SDK client interception.
135
+ */
136
+ sdkCommandRouter(): SimSdkCommandRouter;
137
+ }
138
+ export {};
139
+ //# sourceMappingURL=sim-sns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns.d.ts","sourceRoot":"","sources":["../../../src/service/sns/sim-sns.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAEvF,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,kDAAkD,CAAC;AAC1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,KAAK,KA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;OAEG;IACG,wBAAwB,CAC5B,OAAO,EAAE,cAAc,CAAC,kCAAkC,EAC1D,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,wCAAwC,CAAC,CAMlE;IAED;;OAEG;IACG,yBAAyB,CAC7B,OAAO,EAAE,cAAc,CAAC,mCAAmC,EAC3D,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,yCAAyC,CAAC,CAMnE;IAED;;OAEG;IACG,yBAAyB,CAC7B,OAAO,EAAE,cAAc,CAAC,mCAAmC,EAC3D,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,yCAAyC,CAAC,CAMnE;IAED;;OAEG;IACG,OAAO,CACX,OAAO,EAAE,cAAc,CAAC,iBAAiB,EACzC,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,uBAAuB,CAAC,CAGjD;IAED;;OAEG;IACG,YAAY,CAChB,OAAO,EAAE,cAAc,CAAC,sBAAsB,EAC9C,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,4BAA4B,CAAC,CAGtD;IAED;;OAEG;IACH,kBAAkB,IAAI,wBAAwB,CAE7C;IAED;;OAEG;IACH,gBAAgB,IAAI,mBAAmB,CAEtC;CACF"}
@@ -0,0 +1,188 @@
1
+ import { BackgroundTasks, } from "../../util/background/background.js";
2
+ import { simAwsAccountRegionScopeFactory } from "../aws/sim-aws-account-region-scope.factory.js";
3
+ import { SimIamAllowAllAuth, } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
4
+ import { SimSnsNoDeliveryEndpoints } from "./delivery/sim-sns-no-delivery-endpoints.js";
5
+ import { SimSnsCommands } from "./command/sim-sns-commands.js";
6
+ import { SimSnsCfnResourceFactory } from "./cfn/sim-sns-cfn-resource-factory.js";
7
+ import { SimSnsSdkCommandRouter } from "./sdk/sim-sns-sdk-command-router.js";
8
+ import { SimSnsSubscriptionStore } from "./subscription/sim-sns-subscription-store.js";
9
+ import { SimSnsTopicStore } from "./topic/sim-sns-topic-store.js";
10
+ /**
11
+ * Simulated SNS. Handles SDK commands. Emulates AWS behaviour and state.
12
+ *
13
+ * Topics are scoped to an account and region, as they are on real AWS: a topic
14
+ * name is unique within one of those scopes, and the ARN a request reaches a
15
+ * topic by names the region.
16
+ *
17
+ * Only standard topics are simulated. FIFO topics are not.
18
+ */
19
+ export class SimSns {
20
+ topics = new SimSnsTopicStore();
21
+ subscriptions = new SimSnsSubscriptionStore();
22
+ commands;
23
+ background;
24
+ sdkRouter = new SimSnsSdkCommandRouter(this);
25
+ cfnFactory = new SimSnsCfnResourceFactory({ sns: this });
26
+ constructor(properties = {}) {
27
+ const { accountRegionScope = simAwsAccountRegionScopeFactory.make(), iam = new SimIamAllowAllAuth(), background = new BackgroundTasks(), deliveryEndpoints = new SimSnsNoDeliveryEndpoints(), } = properties;
28
+ this.background = background;
29
+ this.commands = new SimSnsCommands({
30
+ topics: this.topics,
31
+ subscriptions: this.subscriptions,
32
+ iam,
33
+ background,
34
+ deliveryEndpoints,
35
+ accountRegionScope,
36
+ });
37
+ }
38
+ /**
39
+ * Every message this simulated SNS could not deliver.
40
+ *
41
+ * Real SNS tells the publisher nothing about a failed delivery, and neither
42
+ * does this. A queue that is unexpectedly empty is explained here.
43
+ */
44
+ get deliveryFailures() {
45
+ return this.commands.fanOut.deliveryFailures;
46
+ }
47
+ /**
48
+ * The certificate a delivered message's `SigningCertURL` names.
49
+ *
50
+ * The URL cannot be fetched, because simulated SNS is not served over HTTP,
51
+ * so this is how a verifier gets at the certificate to check a signature
52
+ * with. A URL this scope did not issue answers with nothing.
53
+ */
54
+ signingCertificate(signingCertUrl) {
55
+ return this.commands.signer.certificateFor(signingCertUrl);
56
+ }
57
+ /**
58
+ * Find a topic by name.
59
+ *
60
+ * This is the simulator's own accessor, for tests seeding or inspecting topic
61
+ * state without going through a Command and its authorization.
62
+ */
63
+ findTopic(name) {
64
+ return this.topics.find(name);
65
+ }
66
+ /**
67
+ * The subscriptions of a topic, by topic name.
68
+ *
69
+ * This is the simulator's own accessor, for a test inspecting what a topic
70
+ * would deliver to without going through a Command and its authorization.
71
+ */
72
+ topicSubscriptions(topicName) {
73
+ return this.subscriptions.forTopic(topicName);
74
+ }
75
+ /**
76
+ * Find a subscription by ARN.
77
+ *
78
+ * This is the simulator's own accessor, for a test or a CloudFormation
79
+ * Resource holding the ARN a Subscribe answered with.
80
+ */
81
+ findSubscription(arn) {
82
+ return this.subscriptions.find(arn);
83
+ }
84
+ /**
85
+ * Handle a CreateTopic Command from the SDK.
86
+ */
87
+ async createTopic(command, options) {
88
+ await this.background.sequence();
89
+ return this.commands.topicCreation.handle(command, options);
90
+ }
91
+ /**
92
+ * Handle a ListTopics Command from the SDK.
93
+ */
94
+ async listTopics(command, options) {
95
+ await this.background.sequence();
96
+ return this.commands.topics.listTopics(command, options);
97
+ }
98
+ /**
99
+ * Handle a DeleteTopic Command from the SDK.
100
+ */
101
+ async deleteTopic(command, options) {
102
+ await this.background.sequence();
103
+ return this.commands.topics.deleteTopic(command, options);
104
+ }
105
+ /**
106
+ * Handle a GetTopicAttributes Command from the SDK.
107
+ */
108
+ async getTopicAttributes(command, options) {
109
+ await this.background.sequence();
110
+ return this.commands.topicAttributes.getTopicAttributes(command, options);
111
+ }
112
+ /**
113
+ * Handle a SetTopicAttributes Command from the SDK.
114
+ */
115
+ async setTopicAttributes(command, options) {
116
+ await this.background.sequence();
117
+ return this.commands.topicAttributes.setTopicAttributes(command, options);
118
+ }
119
+ /**
120
+ * Handle a Subscribe Command from the SDK.
121
+ */
122
+ async subscribe(command, options) {
123
+ await this.background.sequence();
124
+ return this.commands.subscriptions.subscribe(command, options);
125
+ }
126
+ /**
127
+ * Handle an Unsubscribe Command from the SDK.
128
+ */
129
+ async unsubscribe(command, options) {
130
+ await this.background.sequence();
131
+ return this.commands.subscriptions.unsubscribe(command, options);
132
+ }
133
+ /**
134
+ * Handle a ListSubscriptions Command from the SDK.
135
+ */
136
+ async listSubscriptions(command, options) {
137
+ await this.background.sequence();
138
+ return this.commands.subscriptionListings.listSubscriptions(command, options);
139
+ }
140
+ /**
141
+ * Handle a ListSubscriptionsByTopic Command from the SDK.
142
+ */
143
+ async listSubscriptionsByTopic(command, options) {
144
+ await this.background.sequence();
145
+ return this.commands.subscriptionListings.listSubscriptionsByTopic(command, options);
146
+ }
147
+ /**
148
+ * Handle a GetSubscriptionAttributes Command from the SDK.
149
+ */
150
+ async getSubscriptionAttributes(command, options) {
151
+ await this.background.sequence();
152
+ return this.commands.subscriptionAttributes.getSubscriptionAttributes(command, options);
153
+ }
154
+ /**
155
+ * Handle a SetSubscriptionAttributes Command from the SDK.
156
+ */
157
+ async setSubscriptionAttributes(command, options) {
158
+ await this.background.sequence();
159
+ return this.commands.subscriptionAttributes.setSubscriptionAttributes(command, options);
160
+ }
161
+ /**
162
+ * Handle a Publish Command from the SDK.
163
+ */
164
+ async publish(command, options) {
165
+ await this.background.sequence();
166
+ return this.commands.publish.publish(command, options);
167
+ }
168
+ /**
169
+ * Handle a PublishBatch Command from the SDK.
170
+ */
171
+ async publishBatch(command, options) {
172
+ await this.background.sequence();
173
+ return this.commands.publish.publishBatch(command, options);
174
+ }
175
+ /**
176
+ * Get this service's CloudFormation Resource factory.
177
+ */
178
+ cfnResourceFactory() {
179
+ return this.cfnFactory;
180
+ }
181
+ /**
182
+ * Get this service's SDK Command router for SDK client interception.
183
+ */
184
+ sdkCommandRouter() {
185
+ return this.sdkRouter;
186
+ }
187
+ }
188
+ //# sourceMappingURL=sim-sns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns.js","sourceRoot":"","sources":["../../../src/service/sns/sim-sns.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EACL,kBAAk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AC,oBAAoB,CAAC,wBAAwB,CAChE,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,yBAAyB,CAC7B,OAA2D,EAC3D,OAA8B;QAE9B,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,sBAAsB,CAAC,yBAAyB,CACnE,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,yBAAyB,CAC7B,OAA2D,EAC3D,OAA8B;QAE9B,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,sBAAsB,CAAC,yBAAyB,CACnE,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,OAAO,CACX,OAAyC,EACzC,OAA8B;QAE9B,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,YAAY,CAChB,OAA8C,EAC9C,OAA8B;QAE9B,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,kBAAkB;QAChB,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,gBAAgB;QACd,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;CACF"}
@@ -0,0 +1,31 @@
1
+ import type { SimAwsAccountId } from "../../aws/sim-aws-account-id.js";
2
+ import type { AwsRegionName } from "../../aws/sim-aws-region.js";
3
+ /**
4
+ * The Lambda function ARN a subscription's endpoint names.
5
+ *
6
+ * The Region and the Account are read out alongside the name, because a
7
+ * delivery resolves the function in the scope the ARN gives rather than in the
8
+ * topic's. Real SNS invokes a function in another Account or Region, so this
9
+ * does too.
10
+ */
11
+ export declare class SimSnsFunctionEndpointArn {
12
+ readonly value: string;
13
+ readonly regionName: AwsRegionName;
14
+ readonly accountId: SimAwsAccountId;
15
+ readonly functionName: string;
16
+ private constructor();
17
+ /**
18
+ * Read a function ARN, refusing anything a function could not be reached by.
19
+ *
20
+ * Reading the ARN is Lambda's own business, so the parts come from there.
21
+ * What SNS adds is what an unreadable one means to a `Subscribe` request,
22
+ * which is the same `InvalidParameterException` a queue ARN that is not one
23
+ * gets.
24
+ *
25
+ * A qualified ARN naming a version or an alias is refused rather than read as
26
+ * the unqualified function, because simulated Lambda has neither and
27
+ * delivering to `$LATEST` instead would be the wrong function.
28
+ */
29
+ static parse(endpoint: string): SimSnsFunctionEndpointArn;
30
+ }
31
+ //# sourceMappingURL=sim-sns-function-endpoint-arn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-function-endpoint-arn.d.ts","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-function-endpoint-arn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAcjE;;;;;;;GAOG;AACH,qBAAa,yBAAyB;IACpC,SAAgB,KAAK,EAAE,MAAM,CAAC;IAC9B,SAAgB,UAAU,EAAE,aAAa,CAAC;IAC1C,SAAgB,SAAS,EAAE,eAAe,CAAC;IAC3C,SAAgB,YAAY,EAAE,MAAM,CAAC;IAErC,OAAO,eAKN;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,yBAAyB,CAyBxD;CACF"}
@@ -0,0 +1,54 @@
1
+ import { parseSimLambdaFunctionArn } from "../../lambda/function/sim-lambda-function-arn-parts.js";
2
+ import { SimSnsInvalidParameterException, SimSnsUnsimulatedInputException, } from "../error/sim-sns.error.js";
3
+ /**
4
+ * The Lambda function ARN a subscription's endpoint names.
5
+ *
6
+ * The Region and the Account are read out alongside the name, because a
7
+ * delivery resolves the function in the scope the ARN gives rather than in the
8
+ * topic's. Real SNS invokes a function in another Account or Region, so this
9
+ * does too.
10
+ */
11
+ export class SimSnsFunctionEndpointArn {
12
+ value;
13
+ regionName;
14
+ accountId;
15
+ functionName;
16
+ constructor(properties) {
17
+ this.value = properties.value;
18
+ this.regionName = properties.regionName;
19
+ this.accountId = properties.accountId;
20
+ this.functionName = properties.functionName;
21
+ }
22
+ /**
23
+ * Read a function ARN, refusing anything a function could not be reached by.
24
+ *
25
+ * Reading the ARN is Lambda's own business, so the parts come from there.
26
+ * What SNS adds is what an unreadable one means to a `Subscribe` request,
27
+ * which is the same `InvalidParameterException` a queue ARN that is not one
28
+ * gets.
29
+ *
30
+ * A qualified ARN naming a version or an alias is refused rather than read as
31
+ * the unqualified function, because simulated Lambda has neither and
32
+ * delivering to `$LATEST` instead would be the wrong function.
33
+ */
34
+ static parse(endpoint) {
35
+ const parts = parseSimLambdaFunctionArn(endpoint);
36
+ if (parts === undefined) {
37
+ throw new SimSnsInvalidParameterException(`Invalid parameter: Endpoint Reason: ${endpoint} is not a Lambda ` +
38
+ "function ARN, which is " +
39
+ "arn:aws:lambda:<region>:<account-id>:function:<function-name>");
40
+ }
41
+ if (parts.qualifier !== undefined) {
42
+ throw new SimSnsUnsimulatedInputException(`Cannot subscribe ${endpoint}: simulated Lambda has no function ` +
43
+ "versions or aliases, so a qualified function ARN is refused rather " +
44
+ "than treated as the unqualified function.");
45
+ }
46
+ return new this({
47
+ value: endpoint,
48
+ regionName: parts.regionName,
49
+ accountId: parts.accountId,
50
+ functionName: parts.functionName,
51
+ });
52
+ }
53
+ }
54
+ //# sourceMappingURL=sim-sns-function-endpoint-arn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-function-endpoint-arn.js","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-function-endpoint-arn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wDAAwD,CAAC;AACnG,OAAO,EACL,+BAA+B,EAC/B,+BAA+B,GAChC,MAAM,2BAA2B,CAAC;AASnC;;;;;;;GAOG;AACH,MAAM,OAAO,yBAAyB;IACpB,KAAK,CAAS;IACd,UAAU,CAAgB;IAC1B,SAAS,CAAkB;IAC3B,YAAY,CAAS;IAErC,YAAoB,UAA+C;QACjE,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;QACtC,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;IAC9C,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,KAAK,CAAC,QAAgB;QAC3B,MAAM,KAAK,GAAG,yBAAyB,CAAC,QAAQ,CAAC,CAAC;QAElD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,MAAM,IAAI,+BAA+B,CACvC,uCAAuC,QAAQ,mBAAmB;gBAChE,yBAAyB;gBACzB,+DAA+D,CAClE,CAAC;QACJ,CAAC;QAED,IAAI,KAAK,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;YAClC,MAAM,IAAI,+BAA+B,CACvC,oBAAoB,QAAQ,qCAAqC;gBAC/D,qEAAqE;gBACrE,2CAA2C,CAC9C,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,IAAI,CAAC;YACd,KAAK,EAAE,QAAQ;YACf,UAAU,EAAE,KAAK,CAAC,UAAU;YAC5B,SAAS,EAAE,KAAK,CAAC,SAAS;YAC1B,YAAY,EAAE,KAAK,CAAC,YAAY;SACjC,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,30 @@
1
+ import type { SimAwsAccountId } from "../../aws/sim-aws-account-id.js";
2
+ import type { AwsRegionName } from "../../aws/sim-aws-region.js";
3
+ /**
4
+ * The SQS queue ARN a subscription's endpoint names.
5
+ *
6
+ * All three of the Region, the Account and the name are read out, because a
7
+ * delivery resolves the queue in the scope the ARN gives rather than in the
8
+ * topic's. Real SNS delivers to a queue in another Region, so this does too.
9
+ */
10
+ export declare class SimSnsQueueEndpointArn {
11
+ readonly value: string;
12
+ readonly regionName: AwsRegionName;
13
+ readonly accountId: SimAwsAccountId;
14
+ readonly queueName: string;
15
+ private constructor();
16
+ /**
17
+ * Read a queue ARN, refusing anything a queue could not be reached by.
18
+ *
19
+ * A FIFO queue is refused by its name, as real SNS refuses one for a standard
20
+ * topic: only a FIFO topic delivers to a FIFO queue. Simulated SQS has no
21
+ * FIFO queues either, so without this the refusal would arrive later as a
22
+ * queue that does not exist, which points at the wrong thing to fix.
23
+ */
24
+ static parse(endpoint: string): SimSnsQueueEndpointArn;
25
+ /**
26
+ * The URL an SQS request names this queue by.
27
+ */
28
+ get queueUrl(): string;
29
+ }
30
+ //# sourceMappingURL=sim-sns-queue-endpoint-arn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-queue-endpoint-arn.d.ts","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-queue-endpoint-arn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAsBjE;;;;;;GAMG;AACH,qBAAa,sBAAsB;IACjC,SAAgB,KAAK,EAAE,MAAM,CAAC;IAC9B,SAAgB,UAAU,EAAE,aAAa,CAAC;IAC1C,SAAgB,SAAS,EAAE,eAAe,CAAC;IAC3C,SAAgB,SAAS,EAAE,MAAM,CAAC;IAElC,OAAO,eAKN;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,sBAAsB,CAwCrD;IAED;;OAEG;IACH,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
@@ -0,0 +1,78 @@
1
+ import { sqsQueueUrl } from "../../sqs/queue/sim-sqs-queue-arn.js";
2
+ import { SimSnsInvalidParameterException, SimSnsUnsimulatedInputException, } from "../error/sim-sns.error.js";
3
+ /**
4
+ * The number of colon separated parts in a queue ARN.
5
+ *
6
+ * A queue ARN has no resource type separator, so the queue name is the sixth
7
+ * and last part, the same shape a topic ARN has.
8
+ */
9
+ const queueArnParts = 6;
10
+ /**
11
+ * The SQS queue ARN a subscription's endpoint names.
12
+ *
13
+ * All three of the Region, the Account and the name are read out, because a
14
+ * delivery resolves the queue in the scope the ARN gives rather than in the
15
+ * topic's. Real SNS delivers to a queue in another Region, so this does too.
16
+ */
17
+ export class SimSnsQueueEndpointArn {
18
+ value;
19
+ regionName;
20
+ accountId;
21
+ queueName;
22
+ constructor(properties) {
23
+ this.value = properties.value;
24
+ this.regionName = properties.regionName;
25
+ this.accountId = properties.accountId;
26
+ this.queueName = properties.queueName;
27
+ }
28
+ /**
29
+ * Read a queue ARN, refusing anything a queue could not be reached by.
30
+ *
31
+ * A FIFO queue is refused by its name, as real SNS refuses one for a standard
32
+ * topic: only a FIFO topic delivers to a FIFO queue. Simulated SQS has no
33
+ * FIFO queues either, so without this the refusal would arrive later as a
34
+ * queue that does not exist, which points at the wrong thing to fix.
35
+ */
36
+ static parse(endpoint) {
37
+ const parts = endpoint.split(":");
38
+ const [prefix, partition, service, regionName, accountId, queueName] = parts;
39
+ if (parts.length !== queueArnParts ||
40
+ prefix !== "arn" ||
41
+ partition !== "aws" ||
42
+ service !== "sqs" ||
43
+ regionName === undefined ||
44
+ regionName === "" ||
45
+ accountId === undefined ||
46
+ accountId === "" ||
47
+ queueName === undefined ||
48
+ queueName === "") {
49
+ throw new SimSnsInvalidParameterException(`Invalid parameter: Endpoint Reason: ${endpoint} is not an SQS queue ` +
50
+ `ARN, which is arn:aws:sqs:<region>:<account-id>:<queue-name>`);
51
+ }
52
+ if (queueName.endsWith(".fifo")) {
53
+ throw new SimSnsUnsimulatedInputException(`Cannot subscribe ${endpoint}: only a FIFO topic delivers to a FIFO ` +
54
+ "queue, and simulated SNS has only standard topics.");
55
+ }
56
+ return new this({
57
+ value: endpoint,
58
+ // The Region and the Account come out of an ARN as plain strings. They
59
+ // are the branded types everywhere else, and an ARN naming a scope the
60
+ // simulation has never seen resolves to an empty one rather than being
61
+ // refused here, the same as any other ARN a request carries.
62
+ regionName: regionName,
63
+ accountId: accountId,
64
+ queueName,
65
+ });
66
+ }
67
+ /**
68
+ * The URL an SQS request names this queue by.
69
+ */
70
+ get queueUrl() {
71
+ return sqsQueueUrl({
72
+ regionName: this.regionName,
73
+ accountId: this.accountId,
74
+ name: this.queueName,
75
+ });
76
+ }
77
+ }
78
+ //# sourceMappingURL=sim-sns-queue-endpoint-arn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-queue-endpoint-arn.js","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-queue-endpoint-arn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EACL,+BAA+B,EAC/B,+BAA+B,GAChC,MAAM,2BAA2B,CAAC;AAEnC;;;;;GAKG;AACH,MAAM,aAAa,GAAG,CAAC,CAAC;AASxB;;;;;;GAMG;AACH,MAAM,OAAO,sBAAsB;IACjB,KAAK,CAAS;IACd,UAAU,CAAgB;IAC1B,SAAS,CAAkB;IAC3B,SAAS,CAAS;IAElC,YAAoB,UAA4C;QAC9D,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,SAAS,GAAG,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C;CACF"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Subscription attributes as a request carries them, which is always as
3
+ * strings.
4
+ */
5
+ export type SimSnsSubscriptionAttributeInput = Readonly<Record<string, string | undefined>>;
6
+ /**
7
+ * The attributes one request names, with the ones it left out left out.
8
+ *
9
+ * Every name is checked as this is read, so a request naming one attribute this
10
+ * simulation will not take changes none of them.
11
+ */
12
+ export declare class SimSnsRequestedSubscriptionAttributes {
13
+ private readonly named;
14
+ constructor(requested: SimSnsSubscriptionAttributeInput);
15
+ /**
16
+ * What the request set an attribute to, if it named it at all.
17
+ */
18
+ value(name: string): string | undefined;
19
+ /**
20
+ * Read an attribute the request set to a boolean.
21
+ *
22
+ * Real SNS takes the two lower case spellings and refuses everything else, so
23
+ * a request setting `RawMessageDelivery` to `True` or to `1` is refused
24
+ * rather than quietly treated as false.
25
+ */
26
+ booleanValue(name: string): boolean | undefined;
27
+ }
28
+ //# sourceMappingURL=sim-sns-requested-subscription-attributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-requested-subscription-attributes.d.ts","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-requested-subscription-attributes.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,MAAM,gCAAgC,GAAG,QAAQ,CACrD,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CACnC,CAAC;AAEF;;;;;GAKG;AACH,qBAAa,qCAAqC;IAChD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA8B;IAEpD,YAAY,SAAS,EAAE,gCAAgC,EAUtD;IAED;;OAEG;IACH,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAEtC;IAED;;;;;;OAMG;IACH,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAe9C;CACF"}
@@ -0,0 +1,43 @@
1
+ import { SimSnsInvalidParameterException } from "../error/sim-sns.error.js";
2
+ import { assertSimSnsSettableSubscriptionAttribute } from "./sim-sns-subscription-attribute-names.js";
3
+ /**
4
+ * The attributes one request names, with the ones it left out left out.
5
+ *
6
+ * Every name is checked as this is read, so a request naming one attribute this
7
+ * simulation will not take changes none of them.
8
+ */
9
+ export class SimSnsRequestedSubscriptionAttributes {
10
+ named;
11
+ constructor(requested) {
12
+ const named = Object.entries(requested).filter((entry) => entry[1] !== undefined);
13
+ for (const [name] of named) {
14
+ assertSimSnsSettableSubscriptionAttribute(name);
15
+ }
16
+ this.named = new Map(named);
17
+ }
18
+ /**
19
+ * What the request set an attribute to, if it named it at all.
20
+ */
21
+ value(name) {
22
+ return this.named.get(name);
23
+ }
24
+ /**
25
+ * Read an attribute the request set to a boolean.
26
+ *
27
+ * Real SNS takes the two lower case spellings and refuses everything else, so
28
+ * a request setting `RawMessageDelivery` to `True` or to `1` is refused
29
+ * rather than quietly treated as false.
30
+ */
31
+ booleanValue(name) {
32
+ const value = this.value(name);
33
+ if (value === undefined) {
34
+ return undefined;
35
+ }
36
+ if (value === "true" || value === "false") {
37
+ return value === "true";
38
+ }
39
+ throw new SimSnsInvalidParameterException(`Invalid parameter: AttributeValue: ${name} must be true or false, and ` +
40
+ `this one is ${value}`);
41
+ }
42
+ }
43
+ //# sourceMappingURL=sim-sns-requested-subscription-attributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-requested-subscription-attributes.js","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-requested-subscription-attributes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AAUtG;;;;;GAKG;AACH,MAAM,OAAO,qCAAqC;IAC/B,KAAK,CAA8B;IAEpD,YAAY,SAA2C;QACrD,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,MAAM,CAC5C,CAAC,KAAK,EAA6B,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,SAAS,CAC7D,CAAC;QAEF,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC;YAC3B,yCAAyC,CAAC,IAAI,CAAC,CAAC;QAClD,CAAC;QAED,IAAI,CAAC,KAAK,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAY;QAChB,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;IAED;;;;;;OAMG;IACH,YAAY,CAAC,IAAY;QACvB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAE/B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IAAI,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,OAAO,EAAE,CAAC;YAC1C,OAAO,KAAK,KAAK,MAAM,CAAC;QAC1B,CAAC;QAED,MAAM,IAAI,+BAA+B,CACvC,sCAAsC,IAAI,8BAA8B;YACtE,eAAe,KAAK,EAAE,CACzB,CAAC;IACJ,CAAC;CACF"}