@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,43 @@
1
+ /**
2
+ * Where one subscription is, in the facts its ARN carries.
3
+ *
4
+ * The topic ARN is rebuilt from the first six parts rather than held
5
+ * separately, because a subscription ARN is the only thing an Unsubscribe
6
+ * request carries and the topic it belongs to has to be found from it.
7
+ */
8
+ export interface SimSnsSubscriptionLocation {
9
+ readonly regionName: string;
10
+ readonly accountId: string;
11
+ readonly topicName: string;
12
+ readonly topicArn: string;
13
+ readonly subscriptionId: string;
14
+ }
15
+ /**
16
+ * Read a subscription ARN into the topic and subscription id it carries.
17
+ *
18
+ * Nothing is returned for a string that is not a subscription ARN, including a
19
+ * topic ARN, which is the same ARN without the subscription id on the end.
20
+ */
21
+ export declare function parseSnsSubscriptionArn(value: string): SimSnsSubscriptionLocation | undefined;
22
+ /**
23
+ * The ARN of one simulated subscription.
24
+ *
25
+ * Real SNS gives a subscription an ARN of the topic's with an opaque id on the
26
+ * end, and that ARN is the only handle a caller has on the subscription:
27
+ * `Unsubscribe`, `GetSubscriptionAttributes` and `SetSubscriptionAttributes`
28
+ * all name one by it.
29
+ */
30
+ export declare class SimSnsSubscriptionArn {
31
+ readonly value: string;
32
+ readonly topicArn: string;
33
+ readonly subscriptionId: string;
34
+ private constructor();
35
+ /**
36
+ * Mint an ARN for a new subscription to a topic.
37
+ *
38
+ * Real SNS's subscription ids are opaque, and a UUID is opaque in the same
39
+ * way while being unique without anything having to keep count.
40
+ */
41
+ static forTopic(topicArn: string): SimSnsSubscriptionArn;
42
+ }
43
+ //# sourceMappingURL=sim-sns-subscription-arn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-subscription-arn.d.ts","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-subscription-arn.ts"],"names":[],"mappings":"AAWA;;;;;;GAMG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,MAAM,GACZ,0BAA0B,GAAG,SAAS,CAkCxC;AAED;;;;;;;GAOG;AACH,qBAAa,qBAAqB;IAChC,SAAgB,KAAK,EAAE,MAAM,CAAC;IAC9B,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,cAAc,EAAE,MAAM,CAAC;IAEvC,OAAO,eAIN;IAED;;;;;OAKG;IACH,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,qBAAqB,CAEvD;CACF"}
@@ -0,0 +1,70 @@
1
+ import { randomUUID } from "node:crypto";
2
+ /**
3
+ * The number of colon separated parts in a subscription ARN.
4
+ *
5
+ * A subscription ARN is the topic's with the subscription id added on the end,
6
+ * so it has one more part than a topic ARN. Counting the parts is what tells
7
+ * the two apart, since neither has a resource type separator.
8
+ */
9
+ const subscriptionArnParts = 7;
10
+ /**
11
+ * Read a subscription ARN into the topic and subscription id it carries.
12
+ *
13
+ * Nothing is returned for a string that is not a subscription ARN, including a
14
+ * topic ARN, which is the same ARN without the subscription id on the end.
15
+ */
16
+ export function parseSnsSubscriptionArn(value) {
17
+ const parts = value.split(":");
18
+ if (parts.length !== subscriptionArnParts) {
19
+ return undefined;
20
+ }
21
+ const [prefix, partition, service, regionName, accountId, topicName, id] = parts;
22
+ if (prefix !== "arn" || partition !== "aws" || service !== "sns") {
23
+ return undefined;
24
+ }
25
+ if (regionName === undefined ||
26
+ regionName === "" ||
27
+ accountId === undefined ||
28
+ accountId === "" ||
29
+ topicName === undefined ||
30
+ topicName === "" ||
31
+ id === undefined ||
32
+ id === "") {
33
+ return undefined;
34
+ }
35
+ return {
36
+ regionName,
37
+ accountId,
38
+ topicName,
39
+ topicArn: `arn:aws:sns:${regionName}:${accountId}:${topicName}`,
40
+ subscriptionId: id,
41
+ };
42
+ }
43
+ /**
44
+ * The ARN of one simulated subscription.
45
+ *
46
+ * Real SNS gives a subscription an ARN of the topic's with an opaque id on the
47
+ * end, and that ARN is the only handle a caller has on the subscription:
48
+ * `Unsubscribe`, `GetSubscriptionAttributes` and `SetSubscriptionAttributes`
49
+ * all name one by it.
50
+ */
51
+ export class SimSnsSubscriptionArn {
52
+ value;
53
+ topicArn;
54
+ subscriptionId;
55
+ constructor(topicArn, subscriptionId) {
56
+ this.topicArn = topicArn;
57
+ this.subscriptionId = subscriptionId;
58
+ this.value = `${topicArn}:${subscriptionId}`;
59
+ }
60
+ /**
61
+ * Mint an ARN for a new subscription to a topic.
62
+ *
63
+ * Real SNS's subscription ids are opaque, and a UUID is opaque in the same
64
+ * way while being unique without anything having to keep count.
65
+ */
66
+ static forTopic(topicArn) {
67
+ return new this(topicArn, randomUUID());
68
+ }
69
+ }
70
+ //# sourceMappingURL=sim-sns-subscription-arn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-subscription-arn.js","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-subscription-arn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC;;;;;;GAMG;AACH,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAiB/B;;;;;GAKG;AACH,MAAM,UAAU,uBAAuB,CACrC,KAAa;IAEb,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAE/B,IAAI,KAAK,CAAC,MAAM,KAAK,oBAAoB,EAAE,CAAC;QAC1C,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,CAAC,GACtE,KAAK,CAAC;IAER,IAAI,MAAM,KAAK,KAAK,IAAI,SAAS,KAAK,KAAK,IAAI,OAAO,KAAK,KAAK,EAAE,CAAC;QACjE,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IACE,UAAU,KAAK,SAAS;QACxB,UAAU,KAAK,EAAE;QACjB,SAAS,KAAK,SAAS;QACvB,SAAS,KAAK,EAAE;QAChB,SAAS,KAAK,SAAS;QACvB,SAAS,KAAK,EAAE;QAChB,EAAE,KAAK,SAAS;QAChB,EAAE,KAAK,EAAE,EACT,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;QACL,UAAU;QACV,SAAS;QACT,SAAS;QACT,QAAQ,EAAE,eAAe,UAAU,IAAI,SAAS,IAAI,SAAS,EAAE;QAC/D,cAAc,EAAE,EAAE;KACnB,CAAC;AACJ,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,OAAO,qBAAqB;IAChB,KAAK,CAAS;IACd,QAAQ,CAAS;IACjB,cAAc,CAAS;IAEvC,YAAoB,QAAgB,EAAE,cAAsB;QAC1D,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,KAAK,GAAG,GAAG,QAAQ,IAAI,cAAc,EAAE,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,QAAQ,CAAC,QAAgB;QAC9B,OAAO,IAAI,IAAI,CAAC,QAAQ,EAAE,UAAU,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF"}
@@ -0,0 +1,20 @@
1
+ import { SimSnsFilterPolicy } from "../filter/sim-sns-filter-policy.js";
2
+ import { type SimSnsFilterPolicyScope } from "../filter/sim-sns-filter-policy-scope.js";
3
+ import { type SimSnsSubscriptionAttributeInput } from "./sim-sns-requested-subscription-attributes.js";
4
+ /**
5
+ * What one subscription's settable attributes are set to.
6
+ */
7
+ export interface SimSnsSubscriptionAttributeValues {
8
+ readonly rawMessageDelivery: boolean;
9
+ readonly filterPolicy: SimSnsFilterPolicy | undefined;
10
+ readonly filterPolicyScope: SimSnsFilterPolicyScope;
11
+ }
12
+ /**
13
+ * Read a request as the attributes it leaves the subscription with.
14
+ *
15
+ * Every attribute the request left out keeps the value it had, and every name
16
+ * is checked before any value is read, so a request naming one attribute this
17
+ * simulation will not take changes none of them.
18
+ */
19
+ export declare function simSnsChangedSubscriptionAttributes(held: SimSnsSubscriptionAttributeValues, requested: SimSnsSubscriptionAttributeInput): SimSnsSubscriptionAttributeValues;
20
+ //# sourceMappingURL=sim-sns-subscription-attribute-changes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-subscription-attribute-changes.d.ts","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-subscription-attribute-changes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAEL,KAAK,gCAAgC,EACtC,MAAM,gDAAgD,CAAC;AAOxD;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAC;IACrC,QAAQ,CAAC,YAAY,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;CACrD;AA8CD;;;;;;GAMG;AACH,wBAAgB,mCAAmC,CACjD,IAAI,EAAE,iCAAiC,EACvC,SAAS,EAAE,gCAAgC,GAC1C,iCAAiC,CAWnC"}
@@ -0,0 +1,52 @@
1
+ import { SimSnsFilterPolicy } from "../filter/sim-sns-filter-policy.js";
2
+ import { simSnsFilterPolicyScopeOf, } from "../filter/sim-sns-filter-policy-scope.js";
3
+ import { SimSnsRequestedSubscriptionAttributes, } from "./sim-sns-requested-subscription-attributes.js";
4
+ import { simSnsFilterPolicyAttributeName, simSnsFilterPolicyScopeAttributeName, simSnsRawMessageDeliveryAttributeName, } from "./sim-sns-subscription-attribute-names.js";
5
+ /**
6
+ * The scope the subscription ends up with.
7
+ *
8
+ * An empty value is how an attribute is cleared, which puts the subscription
9
+ * back on the default scope.
10
+ */
11
+ function changedScope(held, named) {
12
+ const value = named.value(simSnsFilterPolicyScopeAttributeName);
13
+ if (value === undefined) {
14
+ return held.filterPolicyScope;
15
+ }
16
+ return simSnsFilterPolicyScopeOf(value);
17
+ }
18
+ /**
19
+ * The policy the subscription ends up with.
20
+ *
21
+ * An empty value takes the policy off the subscription, which puts it back to
22
+ * receiving everything its topic publishes. A policy already held is read again
23
+ * when the scope changes, since the scope decides what a policy may say.
24
+ */
25
+ function changedPolicy(held, named, scope) {
26
+ const value = named.value(simSnsFilterPolicyAttributeName);
27
+ if (value === undefined) {
28
+ return held.filterPolicy?.forScope(scope);
29
+ }
30
+ if (value === "") {
31
+ return undefined;
32
+ }
33
+ return SimSnsFilterPolicy.parse(value, scope);
34
+ }
35
+ /**
36
+ * Read a request as the attributes it leaves the subscription with.
37
+ *
38
+ * Every attribute the request left out keeps the value it had, and every name
39
+ * is checked before any value is read, so a request naming one attribute this
40
+ * simulation will not take changes none of them.
41
+ */
42
+ export function simSnsChangedSubscriptionAttributes(held, requested) {
43
+ const named = new SimSnsRequestedSubscriptionAttributes(requested);
44
+ const scope = changedScope(held, named);
45
+ return {
46
+ rawMessageDelivery: named.booleanValue(simSnsRawMessageDeliveryAttributeName) ??
47
+ held.rawMessageDelivery,
48
+ filterPolicy: changedPolicy(held, named, scope),
49
+ filterPolicyScope: scope,
50
+ };
51
+ }
52
+ //# sourceMappingURL=sim-sns-subscription-attribute-changes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-subscription-attribute-changes.js","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-subscription-attribute-changes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAEL,yBAAyB,GAC1B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,qCAAqC,GAEtC,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,+BAA+B,EAC/B,oCAAoC,EACpC,qCAAqC,GACtC,MAAM,2CAA2C,CAAC;AAWnD;;;;;GAKG;AACH,SAAS,YAAY,CACnB,IAAuC,EACvC,KAA4C;IAE5C,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC;IAEhE,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAED,OAAO,yBAAyB,CAAC,KAAK,CAAC,CAAC;AAC1C,CAAC;AAED;;;;;;GAMG;AACH,SAAS,aAAa,CACpB,IAAuC,EACvC,KAA4C,EAC5C,KAA8B;IAE9B,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;IAE3D,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC;IAED,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;QACjB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,kBAAkB,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,mCAAmC,CACjD,IAAuC,EACvC,SAA2C;IAE3C,MAAM,KAAK,GAAG,IAAI,qCAAqC,CAAC,SAAS,CAAC,CAAC;IACnE,MAAM,KAAK,GAAG,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAExC,OAAO;QACL,kBAAkB,EAChB,KAAK,CAAC,YAAY,CAAC,qCAAqC,CAAC;YACzD,IAAI,CAAC,kBAAkB;QACzB,YAAY,EAAE,aAAa,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC;QAC/C,iBAAiB,EAAE,KAAK;KACzB,CAAC;AACJ,CAAC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Whether the subscription receives the published message on its own rather
3
+ * than wrapped in the SNS envelope.
4
+ *
5
+ * This is the subscription attribute a consumer breaks on: code written for the
6
+ * envelope reads `JSON.parse(body).Message`, and code written for raw delivery
7
+ * reads `body`.
8
+ */
9
+ export declare const simSnsRawMessageDeliveryAttributeName = "RawMessageDelivery";
10
+ /**
11
+ * The JSON document saying which messages the subscription wants.
12
+ */
13
+ export declare const simSnsFilterPolicyAttributeName = "FilterPolicy";
14
+ /**
15
+ * What part of a published message the filter policy is matched against.
16
+ */
17
+ export declare const simSnsFilterPolicyScopeAttributeName = "FilterPolicyScope";
18
+ /**
19
+ * Refuse a subscription attribute this simulation cannot set.
20
+ *
21
+ * An attribute real SNS has and this simulation does not is refused with the
22
+ * reason. An attribute real SNS does not have at all is refused the way real
23
+ * SNS refuses it.
24
+ */
25
+ export declare function assertSimSnsSettableSubscriptionAttribute(name: string): void;
26
+ //# sourceMappingURL=sim-sns-subscription-attribute-names.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-subscription-attribute-names.d.ts","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-subscription-attribute-names.ts"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,eAAO,MAAM,qCAAqC,uBAAuB,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,+BAA+B,iBAAiB,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,oCAAoC,sBAAsB,CAAC;AA+BxE;;;;;;GAMG;AACH,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAiB5E"}
@@ -0,0 +1,64 @@
1
+ import { SimSnsInvalidParameterException, SimSnsUnsimulatedInputException, } from "../error/sim-sns.error.js";
2
+ /**
3
+ * Whether the subscription receives the published message on its own rather
4
+ * than wrapped in the SNS envelope.
5
+ *
6
+ * This is the subscription attribute a consumer breaks on: code written for the
7
+ * envelope reads `JSON.parse(body).Message`, and code written for raw delivery
8
+ * reads `body`.
9
+ */
10
+ export const simSnsRawMessageDeliveryAttributeName = "RawMessageDelivery";
11
+ /**
12
+ * The JSON document saying which messages the subscription wants.
13
+ */
14
+ export const simSnsFilterPolicyAttributeName = "FilterPolicy";
15
+ /**
16
+ * What part of a published message the filter policy is matched against.
17
+ */
18
+ export const simSnsFilterPolicyScopeAttributeName = "FilterPolicyScope";
19
+ const settableAttributeNames = new Set([
20
+ simSnsRawMessageDeliveryAttributeName,
21
+ simSnsFilterPolicyAttributeName,
22
+ simSnsFilterPolicyScopeAttributeName,
23
+ ]);
24
+ /**
25
+ * The other attributes real SNS lets a request set on a subscription.
26
+ *
27
+ * Each is refused by name with the reason rather than taken and ignored. A
28
+ * subscription that appeared to accept a `RedrivePolicy` would drop a failed
29
+ * delivery while a test believed it was keeping it, which is exactly the kind
30
+ * of pass that means nothing.
31
+ */
32
+ const unsimulatedAttributeNames = new Map([
33
+ ["DeliveryPolicy", "Delivery retry policies are not simulated."],
34
+ [
35
+ "RedrivePolicy",
36
+ "Subscription dead-letter queues are not simulated, so a message that " +
37
+ "could not be delivered goes nowhere.",
38
+ ],
39
+ [
40
+ "SubscriptionRoleArn",
41
+ "Amazon Data Firehose delivery is not simulated, and that is the only " +
42
+ "protocol this attribute applies to.",
43
+ ],
44
+ ["ReplayPolicy", "Message archiving and replay are not simulated."],
45
+ ]);
46
+ /**
47
+ * Refuse a subscription attribute this simulation cannot set.
48
+ *
49
+ * An attribute real SNS has and this simulation does not is refused with the
50
+ * reason. An attribute real SNS does not have at all is refused the way real
51
+ * SNS refuses it.
52
+ */
53
+ export function assertSimSnsSettableSubscriptionAttribute(name) {
54
+ if (settableAttributeNames.has(name)) {
55
+ return;
56
+ }
57
+ const reason = unsimulatedAttributeNames.get(name);
58
+ if (reason !== undefined) {
59
+ throw new SimSnsUnsimulatedInputException(`The subscription attribute ${name} is not simulated. ${reason}`);
60
+ }
61
+ throw new SimSnsInvalidParameterException(`Invalid parameter: AttributeName: ${name} is not a subscription ` +
62
+ `attribute that can be set`);
63
+ }
64
+ //# sourceMappingURL=sim-sns-subscription-attribute-names.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-subscription-attribute-names.js","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-subscription-attribute-names.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,EAC/B,+BAA+B,GAChC,MAAM,2BAA2B,CAAC;AAEnC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,oBAAoB,CAAC;AAE1E;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,cAAc,CAAC;AAE9D;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,mBAAmB,CAAC;AAExE,MAAM,sBAAsB,GAAG,IAAI,GAAG,CAAC;IACrC,qCAAqC;IACrC,+BAA+B;IAC/B,oCAAoC;CACrC,CAAC,CAAC;AAEH;;;;;;;GAOG;AACH,MAAM,yBAAyB,GAAG,IAAI,GAAG,CAAiB;IACxD,CAAC,gBAAgB,EAAE,4CAA4C,CAAC;IAChE;QACE,eAAe;QACf,uEAAuE;YACrE,sCAAsC;KACzC;IACD;QACE,qBAAqB;QACrB,uEAAuE;YACrE,qCAAqC;KACxC;IACD,CAAC,cAAc,EAAE,iDAAiD,CAAC;CACpE,CAAC,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,UAAU,yCAAyC,CAAC,IAAY;IACpE,IAAI,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QACrC,OAAO;IACT,CAAC;IAED,MAAM,MAAM,GAAG,yBAAyB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAEnD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QACzB,MAAM,IAAI,+BAA+B,CACvC,8BAA8B,IAAI,sBAAsB,MAAM,EAAE,CACjE,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,+BAA+B,CACvC,qCAAqC,IAAI,yBAAyB;QAChE,2BAA2B,CAC9B,CAAC;AACJ,CAAC"}
@@ -0,0 +1,47 @@
1
+ import type { SimSnsFilterPolicy } from "../filter/sim-sns-filter-policy.js";
2
+ import { type SimSnsFilterPolicyScope } from "../filter/sim-sns-filter-policy-scope.js";
3
+ import type { SimSnsPublishedMessage } from "../message/sim-sns-published-message.js";
4
+ import type { SimSnsSubscriptionAttributeInput } from "./sim-sns-requested-subscription-attributes.js";
5
+ /**
6
+ * The attributes of one simulated subscription that a request can set.
7
+ *
8
+ * Applying a request makes a new set rather than changing this one, so a
9
+ * request naming an attribute this simulation will not take leaves the
10
+ * subscription as it was.
11
+ */
12
+ export declare class SimSnsSubscriptionAttributes {
13
+ readonly rawMessageDelivery: boolean;
14
+ readonly filterPolicy: SimSnsFilterPolicy | undefined;
15
+ readonly filterPolicyScope: SimSnsFilterPolicyScope;
16
+ private constructor();
17
+ /**
18
+ * The attributes a subscription has before anything sets one.
19
+ *
20
+ * Real SNS reports `RawMessageDelivery` as false for a subscription created
21
+ * without it, rather than leaving the attribute out, which is why it is held
22
+ * rather than being absent until set. A subscription holds no filter policy
23
+ * until one is set, and receives everything its topic publishes.
24
+ */
25
+ static defaults(): SimSnsSubscriptionAttributes;
26
+ /**
27
+ * These attributes with a request's changes applied.
28
+ */
29
+ with(requested: SimSnsSubscriptionAttributeInput): SimSnsSubscriptionAttributes;
30
+ /**
31
+ * Whether this subscription's filter policy admits a published message.
32
+ *
33
+ * A subscription with no policy takes everything its topic publishes, which
34
+ * is what a subscription without one does on real SNS.
35
+ */
36
+ accepts(message: SimSnsPublishedMessage): boolean;
37
+ /**
38
+ * Add these attributes to what SNS reports about the subscription.
39
+ *
40
+ * The two filter policy attributes are reported only when there is a policy,
41
+ * as real SNS reports them. A subscription that filters nothing has no scope
42
+ * to report either, since the scope only says how a policy is read.
43
+ */
44
+ reportInto(reported: Map<string, string>): void;
45
+ }
46
+ export { type SimSnsSubscriptionAttributeInput } from "./sim-sns-requested-subscription-attributes.js";
47
+ //# sourceMappingURL=sim-sns-subscription-attributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-subscription-attributes.d.ts","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-subscription-attributes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAWvG;;;;;;GAMG;AACH,qBAAa,4BAA4B;IACvC,SAAgB,kBAAkB,EAAE,OAAO,CAAC;IAC5C,SAAgB,YAAY,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC7D,SAAgB,iBAAiB,EAAE,uBAAuB,CAAC;IAE3D,OAAO,eAIN;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,QAAQ,IAAI,4BAA4B,CAM9C;IAED;;OAEG;IACH,IAAI,CACF,SAAS,EAAE,gCAAgC,GAC1C,4BAA4B,CAI9B;IAED;;;;;OAKG;IACH,OAAO,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAEhD;IAED;;;;;;OAMG;IACH,UAAU,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAe9C;CACF;AAED,OAAO,EAAE,KAAK,gCAAgC,EAAE,MAAM,gDAAgD,CAAC"}
@@ -0,0 +1,67 @@
1
+ import { simSnsDefaultFilterPolicyScope, } from "../filter/sim-sns-filter-policy-scope.js";
2
+ import { simSnsChangedSubscriptionAttributes, } from "./sim-sns-subscription-attribute-changes.js";
3
+ import { simSnsFilterPolicyAttributeName, simSnsFilterPolicyScopeAttributeName, simSnsRawMessageDeliveryAttributeName, } from "./sim-sns-subscription-attribute-names.js";
4
+ /**
5
+ * The attributes of one simulated subscription that a request can set.
6
+ *
7
+ * Applying a request makes a new set rather than changing this one, so a
8
+ * request naming an attribute this simulation will not take leaves the
9
+ * subscription as it was.
10
+ */
11
+ export class SimSnsSubscriptionAttributes {
12
+ rawMessageDelivery;
13
+ filterPolicy;
14
+ filterPolicyScope;
15
+ constructor(values) {
16
+ this.rawMessageDelivery = values.rawMessageDelivery;
17
+ this.filterPolicy = values.filterPolicy;
18
+ this.filterPolicyScope = values.filterPolicyScope;
19
+ }
20
+ /**
21
+ * The attributes a subscription has before anything sets one.
22
+ *
23
+ * Real SNS reports `RawMessageDelivery` as false for a subscription created
24
+ * without it, rather than leaving the attribute out, which is why it is held
25
+ * rather than being absent until set. A subscription holds no filter policy
26
+ * until one is set, and receives everything its topic publishes.
27
+ */
28
+ static defaults() {
29
+ return new this({
30
+ rawMessageDelivery: false,
31
+ filterPolicy: undefined,
32
+ filterPolicyScope: simSnsDefaultFilterPolicyScope,
33
+ });
34
+ }
35
+ /**
36
+ * These attributes with a request's changes applied.
37
+ */
38
+ with(requested) {
39
+ return new SimSnsSubscriptionAttributes(simSnsChangedSubscriptionAttributes(this, requested));
40
+ }
41
+ /**
42
+ * Whether this subscription's filter policy admits a published message.
43
+ *
44
+ * A subscription with no policy takes everything its topic publishes, which
45
+ * is what a subscription without one does on real SNS.
46
+ */
47
+ accepts(message) {
48
+ return this.filterPolicy?.matches(message) ?? true;
49
+ }
50
+ /**
51
+ * Add these attributes to what SNS reports about the subscription.
52
+ *
53
+ * The two filter policy attributes are reported only when there is a policy,
54
+ * as real SNS reports them. A subscription that filters nothing has no scope
55
+ * to report either, since the scope only says how a policy is read.
56
+ */
57
+ reportInto(reported) {
58
+ reported.set(simSnsRawMessageDeliveryAttributeName, String(this.rawMessageDelivery));
59
+ if (this.filterPolicy === undefined) {
60
+ return;
61
+ }
62
+ reported.set(simSnsFilterPolicyAttributeName, this.filterPolicy.value);
63
+ reported.set(simSnsFilterPolicyScopeAttributeName, this.filterPolicyScope.value);
64
+ }
65
+ }
66
+ export {} from "./sim-sns-requested-subscription-attributes.js";
67
+ //# sourceMappingURL=sim-sns-subscription-attributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-subscription-attributes.js","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-subscription-attributes.ts"],"names":[],"mappings":"AACA,OAAO,EACL,8BAA8B,GAE/B,MAAM,0CAA0C,CAAC;AAGlD,OAAO,EACL,mCAAmC,GAEpC,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,+BAA+B,EAC/B,oCAAoC,EACpC,qCAAqC,GACtC,MAAM,2CAA2C,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,OAAO,4BAA4B;IACvB,kBAAkB,CAAU;IAC5B,YAAY,CAAiC;IAC7C,iBAAiB,CAA0B;IAE3D,YAAoB,MAAyC;QAC3D,IAAI,CAAC,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;QACpD,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;QACxC,IAAI,CAAC,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC;IACpD,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,QAAQ;QACb,OAAO,IAAI,IAAI,CAAC;YACd,kBAAkB,EAAE,KAAK;YACzB,YAAY,EAAE,SAAS;YACvB,iBAAiB,EAAE,8BAA8B;SAClD,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,IAAI,CACF,SAA2C;QAE3C,OAAO,IAAI,4BAA4B,CACrC,mCAAmC,CAAC,IAAI,EAAE,SAAS,CAAC,CACrD,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,OAAO,CAAC,OAA+B;QACrC,OAAO,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC;IACrD,CAAC;IAED;;;;;;OAMG;IACH,UAAU,CAAC,QAA6B;QACtC,QAAQ,CAAC,GAAG,CACV,qCAAqC,EACrC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAChC,CAAC;QAEF,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,EAAE,CAAC;YACpC,OAAO;QACT,CAAC;QAED,QAAQ,CAAC,GAAG,CAAC,+BAA+B,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QACvE,QAAQ,CAAC,GAAG,CACV,oCAAoC,EACpC,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAC7B,CAAC;IACJ,CAAC;CACF;AAED,OAAO,EAAyC,MAAM,gDAAgD,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { SimAwsAccountId } from "../../aws/sim-aws-account-id.js";
2
+ import type { AwsRegionName } from "../../aws/sim-aws-region.js";
3
+ import { type SimSnsSubscriptionProtocol } from "./sim-sns-subscription-protocol.js";
4
+ /**
5
+ * Where a subscription delivers, whichever kind of endpoint its protocol
6
+ * implies.
7
+ *
8
+ * Every protocol simulated names its endpoint by an ARN, and every delivery
9
+ * needs the same three things from it: the ARN itself, and the Account and
10
+ * Region to resolve the endpoint in. What kind of resource it is belongs to the
11
+ * protocol's own endpoint type.
12
+ */
13
+ export interface SimSnsSubscriptionEndpoint {
14
+ readonly value: string;
15
+ readonly regionName: AwsRegionName;
16
+ readonly accountId: SimAwsAccountId;
17
+ }
18
+ /**
19
+ * Read the endpoint a Subscribe request names, for the protocol it named.
20
+ *
21
+ * The protocol decides what the endpoint has to be, so an SQS queue ARN over
22
+ * the `lambda` protocol is refused here rather than at delivery time. Real SNS
23
+ * validates the endpoint against the protocol at `Subscribe` time too.
24
+ */
25
+ export declare function requireSimSnsSubscriptionEndpoint(protocol: SimSnsSubscriptionProtocol, endpoint: string | undefined): SimSnsSubscriptionEndpoint;
26
+ //# sourceMappingURL=sim-sns-subscription-endpoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-subscription-endpoint.d.ts","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-subscription-endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,OAAO,EAGL,KAAK,0BAA0B,EAChC,MAAM,oCAAoC,CAAC;AAE5C;;;;;;;;GAQG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IACnC,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC;CACrC;AAED;;;;;;GAMG;AACH,wBAAgB,iCAAiC,CAC/C,QAAQ,EAAE,0BAA0B,EACpC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAC3B,0BAA0B,CAS5B"}
@@ -0,0 +1,21 @@
1
+ import { SimSnsFunctionEndpointArn } from "./sim-sns-function-endpoint-arn.js";
2
+ import { SimSnsQueueEndpointArn } from "./sim-sns-queue-endpoint-arn.js";
3
+ import { simSnsLambdaProtocol, simSnsSqsProtocol, } from "./sim-sns-subscription-protocol.js";
4
+ /**
5
+ * Read the endpoint a Subscribe request names, for the protocol it named.
6
+ *
7
+ * The protocol decides what the endpoint has to be, so an SQS queue ARN over
8
+ * the `lambda` protocol is refused here rather than at delivery time. Real SNS
9
+ * validates the endpoint against the protocol at `Subscribe` time too.
10
+ */
11
+ export function requireSimSnsSubscriptionEndpoint(protocol, endpoint) {
12
+ switch (protocol) {
13
+ case simSnsSqsProtocol: {
14
+ return SimSnsQueueEndpointArn.parse(endpoint ?? "");
15
+ }
16
+ case simSnsLambdaProtocol: {
17
+ return SimSnsFunctionEndpointArn.parse(endpoint ?? "");
18
+ }
19
+ }
20
+ }
21
+ //# sourceMappingURL=sim-sns-subscription-endpoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-subscription-endpoint.js","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-subscription-endpoint.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EACL,oBAAoB,EACpB,iBAAiB,GAElB,MAAM,oCAAoC,CAAC;AAiB5C;;;;;;GAMG;AACH,MAAM,UAAU,iCAAiC,CAC/C,QAAoC,EACpC,QAA4B;IAE5B,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,iBAAiB,EAAE,CAAC;YACvB,OAAO,sBAAsB,CAAC,KAAK,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;QACtD,CAAC;QACD,KAAK,oBAAoB,EAAE,CAAC;YAC1B,OAAO,yBAAyB,CAAC,KAAK,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;QACzD,CAAC;IACH,CAAC;AACH,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Delivery to an SQS queue.
3
+ *
4
+ * A queue is what SNS is most often put in front of, and it is a protocol with
5
+ * no confirmation step: real SNS confirms an `sqs` subscription itself, so
6
+ * `Subscribe` answers with a subscription ARN rather than `pending
7
+ * confirmation`.
8
+ */
9
+ export declare const simSnsSqsProtocol = "sqs";
10
+ /**
11
+ * Delivery by invoking a Lambda function.
12
+ *
13
+ * Real SNS confirms this one itself too, so a `lambda` subscription is
14
+ * confirmed as soon as it exists. The function is invoked asynchronously with
15
+ * an event carrying the published message.
16
+ */
17
+ export declare const simSnsLambdaProtocol = "lambda";
18
+ /**
19
+ * A protocol a simulated subscription can be created with.
20
+ */
21
+ export type SimSnsSubscriptionProtocol = typeof simSnsSqsProtocol | typeof simSnsLambdaProtocol;
22
+ /**
23
+ * Read the protocol a Subscribe request names, refusing one that delivers
24
+ * nowhere.
25
+ *
26
+ * Real SNS refuses a protocol it does not have with
27
+ * `InvalidParameterException`, and that is what a misspelling gets here. A
28
+ * protocol real SNS does have and this simulation does not is refused with the
29
+ * reason it is missing, so the message points at the simulator rather than at
30
+ * the request.
31
+ */
32
+ export declare function requireSimSnsProtocol(value: string | undefined): SimSnsSubscriptionProtocol;
33
+ //# sourceMappingURL=sim-sns-subscription-protocol.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-subscription-protocol.d.ts","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-subscription-protocol.ts"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AAEvC;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,WAAW,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,0BAA0B,GACpC,OAAO,iBAAiB,GAAG,OAAO,oBAAoB,CAAC;AAuBzD;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,0BAA0B,CAoB5B"}
@@ -0,0 +1,63 @@
1
+ import { SimSnsInvalidParameterException, SimSnsUnsimulatedInputException, } from "../error/sim-sns.error.js";
2
+ /**
3
+ * Delivery to an SQS queue.
4
+ *
5
+ * A queue is what SNS is most often put in front of, and it is a protocol with
6
+ * no confirmation step: real SNS confirms an `sqs` subscription itself, so
7
+ * `Subscribe` answers with a subscription ARN rather than `pending
8
+ * confirmation`.
9
+ */
10
+ export const simSnsSqsProtocol = "sqs";
11
+ /**
12
+ * Delivery by invoking a Lambda function.
13
+ *
14
+ * Real SNS confirms this one itself too, so a `lambda` subscription is
15
+ * confirmed as soon as it exists. The function is invoked asynchronously with
16
+ * an event carrying the published message.
17
+ */
18
+ export const simSnsLambdaProtocol = "lambda";
19
+ /**
20
+ * The protocols real SNS has that this simulation does not deliver over.
21
+ *
22
+ * Each is refused by name with the reason, rather than accepted and never
23
+ * delivered to. A subscription that exists and receives nothing is worse than
24
+ * no subscription at all: the test that made it would be asserting against
25
+ * silence.
26
+ */
27
+ const unsimulatedProtocols = new Map([
28
+ ["http", "Delivery over HTTP would leave the simulation."],
29
+ ["https", "Delivery over HTTPS would leave the simulation."],
30
+ ["email", "Sending email is not simulated."],
31
+ ["email-json", "Sending email is not simulated."],
32
+ ["sms", "Sending SMS is not simulated."],
33
+ [
34
+ "application",
35
+ "Mobile application endpoints and push notifications are not simulated.",
36
+ ],
37
+ ["firehose", "Amazon Data Firehose is not simulated."],
38
+ ]);
39
+ /**
40
+ * Read the protocol a Subscribe request names, refusing one that delivers
41
+ * nowhere.
42
+ *
43
+ * Real SNS refuses a protocol it does not have with
44
+ * `InvalidParameterException`, and that is what a misspelling gets here. A
45
+ * protocol real SNS does have and this simulation does not is refused with the
46
+ * reason it is missing, so the message points at the simulator rather than at
47
+ * the request.
48
+ */
49
+ export function requireSimSnsProtocol(value) {
50
+ if (value === simSnsSqsProtocol || value === simSnsLambdaProtocol) {
51
+ return value;
52
+ }
53
+ const named = value ?? "(none)";
54
+ const reason = unsimulatedProtocols.get(named);
55
+ if (reason !== undefined) {
56
+ throw new SimSnsUnsimulatedInputException(`The ${named} subscription protocol is not simulated. ${reason} ` +
57
+ `Subscribe with the ${simSnsSqsProtocol} or ` +
58
+ `${simSnsLambdaProtocol} protocol instead.`);
59
+ }
60
+ throw new SimSnsInvalidParameterException(`Invalid parameter: Protocol Reason: ${named} is not a subscription ` +
61
+ `protocol`);
62
+ }
63
+ //# sourceMappingURL=sim-sns-subscription-protocol.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sns-subscription-protocol.js","sourceRoot":"","sources":["../../../../src/service/sns/subscription/sim-sns-subscription-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,EAC/B,+BAA+B,GAChC,MAAM,2BAA2B,CAAC;AAEnC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,KAAK,CAAC;AAEvC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CAAC;AAQ7C;;;;;;;GAOG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,CAAiB;IACnD,CAAC,MAAM,EAAE,gDAAgD,CAAC;IAC1D,CAAC,OAAO,EAAE,iDAAiD,CAAC;IAC5D,CAAC,OAAO,EAAE,iCAAiC,CAAC;IAC5C,CAAC,YAAY,EAAE,iCAAiC,CAAC;IACjD,CAAC,KAAK,EAAE,+BAA+B,CAAC;IACxC;QACE,aAAa;QACb,wEAAwE;KACzE;IACD,CAAC,UAAU,EAAE,wCAAwC,CAAC;CACvD,CAAC,CAAC;AAEH;;;;;;;;;GASG;AACH,MAAM,UAAU,qBAAqB,CACnC,KAAyB;IAEzB,IAAI,KAAK,KAAK,iBAAiB,IAAI,KAAK,KAAK,oBAAoB,EAAE,CAAC;QAClE,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,KAAK,GAAG,KAAK,IAAI,QAAQ,CAAC;IAChC,MAAM,MAAM,GAAG,oBAAoB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAE/C,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QACzB,MAAM,IAAI,+BAA+B,CACvC,OAAO,KAAK,4CAA4C,MAAM,GAAG;YAC/D,sBAAsB,iBAAiB,MAAM;YAC7C,GAAG,oBAAoB,oBAAoB,CAC9C,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,+BAA+B,CACvC,uCAAuC,KAAK,yBAAyB;QACnE,UAAU,CACb,CAAC;AACJ,CAAC"}