@kensio/yulin 1.20.13 → 1.20.14

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 (535) hide show
  1. package/dist/service/acm/cfn/certificate/sim-cfn-acm-cert-creator.js +6 -4
  2. package/dist/service/acm/cfn/sim-cfn-acm-resource-factory.d.ts +2 -2
  3. package/dist/service/acm/cfn/sim-cfn-acm-resource-factory.js +3 -4
  4. package/dist/service/acm/cfn/validation/sim-cfn-acm-cert-validation.d.ts +2 -1
  5. package/dist/service/acm/cfn/validation/sim-cfn-acm-cert-validation.js +2 -2
  6. package/dist/service/acm/cfn/validation/sim-cfn-acm-validation-records.d.ts +2 -1
  7. package/dist/service/acm/cfn/validation/sim-cfn-acm-validation-records.js +4 -4
  8. package/dist/service/acm/sim-acm.d.ts +1 -1
  9. package/dist/service/acm/sim-acm.js +3 -2
  10. package/dist/service/apigateway/cfn/api/sim-cfn-rest-api-creator.d.ts +2 -1
  11. package/dist/service/apigateway/cfn/api/sim-cfn-rest-api-creator.js +11 -13
  12. package/dist/service/apigateway/cfn/authorizer/sim-cfn-rest-api-authorizer-creator.d.ts +2 -1
  13. package/dist/service/apigateway/cfn/authorizer/sim-cfn-rest-api-authorizer-creator.js +2 -4
  14. package/dist/service/apigateway/cfn/deployment/sim-cfn-rest-api-deployment-creator.d.ts +2 -1
  15. package/dist/service/apigateway/cfn/deployment/sim-cfn-rest-api-deployment-creator.js +2 -4
  16. package/dist/service/apigateway/cfn/method/sim-cfn-rest-api-method-creator.d.ts +2 -1
  17. package/dist/service/apigateway/cfn/method/sim-cfn-rest-api-method-creator.js +3 -5
  18. package/dist/service/apigateway/cfn/method/sim-cfn-rest-api-method-integration.d.ts +2 -1
  19. package/dist/service/apigateway/cfn/method/sim-cfn-rest-api-method-integration.js +3 -3
  20. package/dist/service/apigateway/cfn/resource/sim-cfn-rest-api-resource-creator.d.ts +2 -1
  21. package/dist/service/apigateway/cfn/resource/sim-cfn-rest-api-resource-creator.js +2 -4
  22. package/dist/service/apigateway/cfn/sim-cfn-api-gateway-resource-deleter.d.ts +2 -1
  23. package/dist/service/apigateway/cfn/sim-cfn-api-gateway-resource-deleter.js +3 -5
  24. package/dist/service/apigateway/cfn/sim-cfn-api-gateway-resource-factory.js +9 -7
  25. package/dist/service/apigateway/cfn/sim-cfn-rest-api-part-deleter.d.ts +2 -7
  26. package/dist/service/apigateway/cfn/sim-cfn-rest-api-part-deleter.js +12 -42
  27. package/dist/service/apigateway/cfn/sim-cfn-rest-api-part-values.d.ts +10 -0
  28. package/dist/service/apigateway/cfn/sim-cfn-rest-api-part-values.js +21 -0
  29. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-creator.d.ts +2 -1
  30. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-creator.js +2 -4
  31. package/dist/service/apigateway/serve/sim-api-gateway-router.js +5 -2
  32. package/dist/service/apigateway/sim-api-gateway-commands.d.ts +1 -1
  33. package/dist/service/apigateway/sim-api-gateway-commands.js +3 -2
  34. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.d.ts +2 -1
  35. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.js +5 -9
  36. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.d.ts +2 -1
  37. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.js +2 -4
  38. package/dist/service/apigatewayv2/cfn/domain/sim-cfn-api-mapping-creator.d.ts +2 -1
  39. package/dist/service/apigatewayv2/cfn/domain/sim-cfn-api-mapping-creator.js +2 -4
  40. package/dist/service/apigatewayv2/cfn/domain/sim-cfn-http-api-domain-creator.d.ts +2 -1
  41. package/dist/service/apigatewayv2/cfn/domain/sim-cfn-http-api-domain-creator.js +2 -4
  42. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.d.ts +2 -1
  43. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.js +2 -4
  44. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.d.ts +2 -1
  45. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.js +2 -4
  46. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-deleter.d.ts +2 -9
  47. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-deleter.js +19 -25
  48. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.d.ts +0 -5
  49. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.js +13 -29
  50. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-unsupported.d.ts +5 -0
  51. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-unsupported.js +19 -0
  52. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-part-deleter.d.ts +2 -1
  53. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-part-deleter.js +5 -13
  54. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.d.ts +2 -1
  55. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.js +2 -4
  56. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js +5 -2
  57. package/dist/service/apigatewayv2/sim-api-gateway-v2-commands.d.ts +1 -1
  58. package/dist/service/apigatewayv2/sim-api-gateway-v2-commands.js +3 -2
  59. package/dist/service/athena/cfn/named-query/sim-cfn-athena-named-query-creator.d.ts +3 -2
  60. package/dist/service/athena/cfn/named-query/sim-cfn-athena-named-query-creator.js +4 -6
  61. package/dist/service/athena/cfn/sim-athena-cfn-resource-factory.d.ts +2 -2
  62. package/dist/service/athena/cfn/sim-athena-cfn-resource-factory.js +7 -6
  63. package/dist/service/athena/cfn/work-group/sim-cfn-athena-work-group-creator.d.ts +3 -2
  64. package/dist/service/athena/cfn/work-group/sim-cfn-athena-work-group-creator.js +7 -11
  65. package/dist/service/athena/engine/sim-athena-aggregate-shims.d.ts +10 -5
  66. package/dist/service/athena/engine/sim-athena-aggregate-shims.js +19 -16
  67. package/dist/service/athena/engine/sim-athena-binary-shims.d.ts +16 -0
  68. package/dist/service/athena/engine/sim-athena-binary-shims.js +49 -0
  69. package/dist/service/athena/engine/sim-athena-binary-text.d.ts +21 -0
  70. package/dist/service/athena/engine/sim-athena-binary-text.js +87 -0
  71. package/dist/service/athena/engine/sim-athena-count-distinct.d.ts +15 -0
  72. package/dist/service/athena/engine/sim-athena-count-distinct.js +103 -0
  73. package/dist/service/athena/engine/sim-athena-distinct-values.d.ts +19 -0
  74. package/dist/service/athena/engine/sim-athena-distinct-values.js +37 -0
  75. package/dist/service/athena/engine/sim-athena-hash-words.d.ts +14 -0
  76. package/dist/service/athena/engine/sim-athena-hash-words.js +22 -0
  77. package/dist/service/athena/engine/sim-athena-murmur3-mixing.d.ts +15 -0
  78. package/dist/service/athena/engine/sim-athena-murmur3-mixing.js +37 -0
  79. package/dist/service/athena/engine/sim-athena-murmur3.d.ts +11 -0
  80. package/dist/service/athena/engine/sim-athena-murmur3.js +51 -0
  81. package/dist/service/athena/engine/sim-athena-shim-registry.d.ts +9 -0
  82. package/dist/service/athena/engine/sim-athena-shim-registry.js +30 -1
  83. package/dist/service/athena/engine/sim-athena-shims.js +2 -0
  84. package/dist/service/athena/engine/sim-athena-sql-rewrites.d.ts +4 -2
  85. package/dist/service/athena/engine/sim-athena-sql-rewrites.js +6 -3
  86. package/dist/service/athena/engine/sim-athena-xxhash64.d.ts +8 -0
  87. package/dist/service/athena/engine/sim-athena-xxhash64.js +82 -0
  88. package/dist/service/athena/sim-athena-executions.d.ts +1 -1
  89. package/dist/service/athena/sim-athena-executions.js +3 -2
  90. package/dist/service/bedrock/sim-bedrock.d.ts +1 -1
  91. package/dist/service/bedrock/sim-bedrock.js +3 -2
  92. package/dist/service/cloudformation/cdk/assets/sim-cdk-assets-publisher.d.ts +8 -0
  93. package/dist/service/cloudformation/cdk/assets/sim-cdk-assets-publisher.js +6 -4
  94. package/dist/service/cloudformation/command/create-stack/create-stack.handler.d.ts +4 -0
  95. package/dist/service/cloudformation/command/create-stack/create-stack.handler.js +4 -1
  96. package/dist/service/cloudformation/command/update-stack/update-stack.handler.d.ts +7 -0
  97. package/dist/service/cloudformation/command/update-stack/update-stack.handler.js +3 -1
  98. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js +2 -1
  99. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts +9 -2
  100. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.js +2 -1
  101. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts +10 -3
  102. package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js +4 -7
  103. package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts +10 -0
  104. package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.js +4 -2
  105. package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.d.ts +11 -0
  106. package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js +2 -1
  107. package/dist/service/cloudformation/deploy/sim-cfn-template-file-updater.js +1 -0
  108. package/dist/service/cloudformation/resource/caller/sim-cfn-resource-caller-options.d.ts +16 -0
  109. package/dist/service/cloudformation/resource/caller/sim-cfn-resource-caller-options.js +6 -0
  110. package/dist/service/cloudformation/resource/cfn/scheduler/sim-scheduler-cfn-value-adapter.js +50 -0
  111. package/dist/service/cloudformation/resource/sim-cfn-resource.type.d.ts +12 -0
  112. package/dist/service/cloudformation/sim-cloudformation.d.ts +1 -1
  113. package/dist/service/cloudformation/sim-cloudformation.js +3 -2
  114. package/dist/service/cloudformation/stack/deploy/sim-cfn-stack-resource-batch-creator.d.ts +3 -0
  115. package/dist/service/cloudformation/stack/deploy/sim-cfn-stack-resource-batch-creator.js +4 -1
  116. package/dist/service/cloudformation/stack/deploy/sim-cfn-stack-resource-creator.d.ts +2 -0
  117. package/dist/service/cloudformation/stack/deploy/sim-cfn-stack-resource-creator.js +2 -1
  118. package/dist/service/cloudformation/stack/sim-cfn-stack-resource-operations.d.ts +17 -2
  119. package/dist/service/cloudformation/stack/sim-cfn-stack-resource-operations.js +15 -4
  120. package/dist/service/cloudformation/stack/sim-cfn-stack.js +5 -5
  121. package/dist/service/cloudformation/stack/sim-cfn-stack.type.d.ts +12 -0
  122. package/dist/service/cloudformation/stack/teardown/sim-cfn-stack-resource-batch-deleter.d.ts +3 -0
  123. package/dist/service/cloudformation/stack/teardown/sim-cfn-stack-resource-batch-deleter.js +3 -0
  124. package/dist/service/cloudformation/stack/teardown/sim-cfn-stack-resource-deleter.d.ts +2 -0
  125. package/dist/service/cloudformation/stack/teardown/sim-cfn-stack-resource-deleter.js +2 -1
  126. package/dist/service/cloudfront/cfn/cff/sim-cfn-cff-creator.d.ts +5 -0
  127. package/dist/service/cloudfront/cfn/cff/sim-cfn-cff-creator.js +10 -3
  128. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.js +2 -1
  129. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-deleter.d.ts +2 -1
  130. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-deleter.js +5 -7
  131. package/dist/service/cloudfront/cfn/key-value-store/sim-cfn-cf-kvs-creator.d.ts +3 -2
  132. package/dist/service/cloudfront/cfn/key-value-store/sim-cfn-cf-kvs-creator.js +6 -6
  133. package/dist/service/cloudfront/cfn/sim-cfn-cloudfront-resource-factory.d.ts +2 -4
  134. package/dist/service/cloudfront/cfn/sim-cfn-cloudfront-resource-factory.js +7 -15
  135. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js +3 -2
  136. package/dist/service/cloudfront/sim-cloudfront-commands.d.ts +1 -1
  137. package/dist/service/cloudfront/sim-cloudfront-commands.js +5 -2
  138. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-creator.d.ts +3 -2
  139. package/dist/service/cloudwatch/cfn/alarm/sim-cfn-alarm-creator.js +4 -6
  140. package/dist/service/cloudwatch/cfn/sim-cloudwatch-cfn-resource-factory.d.ts +2 -2
  141. package/dist/service/cloudwatch/cfn/sim-cloudwatch-cfn-resource-factory.js +4 -3
  142. package/dist/service/cloudwatch/sim-cloudwatch-commands.d.ts +1 -1
  143. package/dist/service/cloudwatch/sim-cloudwatch-commands.js +3 -2
  144. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.d.ts +2 -1
  145. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.js +2 -4
  146. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.d.ts +2 -1
  147. package/dist/service/cognito/cfn/domain/sim-cfn-cognito-domain-creator.js +2 -4
  148. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.d.ts +2 -1
  149. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.js +2 -4
  150. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.d.ts +2 -1
  151. package/dist/service/cognito/cfn/idp/sim-cfn-cognito-idp-creator.js +2 -4
  152. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.d.ts +2 -1
  153. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-deleter.js +18 -24
  154. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts +2 -2
  155. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js +9 -7
  156. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.d.ts +2 -1
  157. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.js +5 -7
  158. package/dist/service/cognito/sim-cognito-identity-provider.d.ts +1 -1
  159. package/dist/service/cognito/sim-cognito-identity-provider.js +3 -2
  160. package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.js +2 -1
  161. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-creator.d.ts +2 -1
  162. package/dist/service/dynamodb/cfn/global-table/sim-cfn-dynamodb-global-table-creator.js +2 -2
  163. package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-deleter.d.ts +2 -1
  164. package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-deleter.js +2 -4
  165. package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-factory.d.ts +2 -2
  166. package/dist/service/dynamodb/cfn/sim-cfn-dynamodb-resource-factory.js +6 -4
  167. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-creator.d.ts +2 -1
  168. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-creator.js +5 -7
  169. package/dist/service/dynamodb/sim-dynamodb.js +3 -2
  170. package/dist/service/ecs/cfn/cluster/sim-cfn-ecs-cluster-creator.d.ts +3 -2
  171. package/dist/service/ecs/cfn/cluster/sim-cfn-ecs-cluster-creator.js +4 -6
  172. package/dist/service/ecs/cfn/service/sim-cfn-ecs-service-creator.d.ts +3 -2
  173. package/dist/service/ecs/cfn/service/sim-cfn-ecs-service-creator.js +4 -4
  174. package/dist/service/ecs/cfn/sim-cfn-ecs-created-resource.d.ts +5 -0
  175. package/dist/service/ecs/cfn/sim-cfn-ecs-created-resource.js +9 -0
  176. package/dist/service/ecs/cfn/sim-ecs-cfn-resource-factory.d.ts +2 -2
  177. package/dist/service/ecs/cfn/sim-ecs-cfn-resource-factory.js +11 -16
  178. package/dist/service/ecs/cfn/task-definition/sim-cfn-ecs-task-definition-creator.d.ts +3 -2
  179. package/dist/service/ecs/cfn/task-definition/sim-cfn-ecs-task-definition-creator.js +4 -6
  180. package/dist/service/ecs/sim-ecs-commands.js +3 -2
  181. package/dist/service/ecs/task/run/sim-ecs-container-environment.d.ts +12 -10
  182. package/dist/service/ecs/task/run/sim-ecs-container-environment.js +16 -18
  183. package/dist/service/elbv2/cfn/listener/sim-cfn-elbv2-listener-creator.d.ts +3 -2
  184. package/dist/service/elbv2/cfn/listener/sim-cfn-elbv2-listener-creator.js +4 -6
  185. package/dist/service/elbv2/cfn/load-balancer/sim-cfn-elbv2-load-balancer-creator.d.ts +3 -2
  186. package/dist/service/elbv2/cfn/load-balancer/sim-cfn-elbv2-load-balancer-creator.js +4 -6
  187. package/dist/service/elbv2/cfn/rule/sim-cfn-elbv2-listener-rule-creator.d.ts +3 -2
  188. package/dist/service/elbv2/cfn/rule/sim-cfn-elbv2-listener-rule-creator.js +4 -4
  189. package/dist/service/elbv2/cfn/sim-elbv2-cfn-resource-deleter.d.ts +2 -1
  190. package/dist/service/elbv2/cfn/sim-elbv2-cfn-resource-deleter.js +5 -5
  191. package/dist/service/elbv2/cfn/sim-elbv2-cfn-resource-factory.d.ts +2 -2
  192. package/dist/service/elbv2/cfn/sim-elbv2-cfn-resource-factory.js +8 -6
  193. package/dist/service/elbv2/cfn/target-group/sim-cfn-elbv2-target-group-creator.d.ts +3 -2
  194. package/dist/service/elbv2/cfn/target-group/sim-cfn-elbv2-target-group-creator.js +7 -11
  195. package/dist/service/elbv2/serve/sim-elbv2-router.js +2 -1
  196. package/dist/service/elbv2/sim-elbv2.js +3 -3
  197. package/dist/service/eventbridge/cfn/bus/sim-cfn-event-bus-creator.d.ts +2 -1
  198. package/dist/service/eventbridge/cfn/bus/sim-cfn-event-bus-creator.js +2 -4
  199. package/dist/service/eventbridge/cfn/rule/sim-cfn-event-rule-creator.d.ts +2 -1
  200. package/dist/service/eventbridge/cfn/rule/sim-cfn-event-rule-creator.js +5 -5
  201. package/dist/service/eventbridge/cfn/sim-cfn-event-bridge-resource-deleter.d.ts +2 -1
  202. package/dist/service/eventbridge/cfn/sim-cfn-event-bridge-resource-deleter.js +7 -7
  203. package/dist/service/eventbridge/cfn/sim-event-bridge-cfn-resource-factory.js +5 -3
  204. package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-function.js +2 -1
  205. package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-queue.js +2 -1
  206. package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-task.js +4 -1
  207. package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-topic.js +2 -1
  208. package/dist/service/eventbridge/delivery/sim-event-bridge-target-role.d.ts +8 -3
  209. package/dist/service/eventbridge/delivery/sim-event-bridge-target-role.js +9 -3
  210. package/dist/service/eventbridge/sim-event-bridge.d.ts +1 -1
  211. package/dist/service/eventbridge/sim-event-bridge.js +3 -2
  212. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts +2 -1
  213. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js +2 -2
  214. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts +2 -1
  215. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js +2 -4
  216. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts +1 -1
  217. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js +4 -3
  218. package/dist/service/firehose/sim-firehose.d.ts +1 -1
  219. package/dist/service/firehose/sim-firehose.js +3 -2
  220. package/dist/service/glue/sim-glue.d.ts +1 -1
  221. package/dist/service/glue/sim-glue.js +3 -2
  222. package/dist/service/iam/authorize/context/sim-iam-auth-z-context-builder.d.ts +15 -11
  223. package/dist/service/iam/authorize/context/sim-iam-auth-z-context-builder.js +5 -18
  224. package/dist/service/iam/authorize/context/sim-iam-derived-conditions.d.ts +42 -0
  225. package/dist/service/iam/authorize/context/sim-iam-derived-conditions.js +44 -0
  226. package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.js +2 -2
  227. package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.js +2 -2
  228. package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-for-all-values-string-operator.d.ts +20 -0
  229. package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-for-all-values-string-operator.js +27 -0
  230. package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-for-any-value-string-operator.d.ts +21 -0
  231. package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-for-any-value-string-operator.js +28 -0
  232. package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-operator-factories.d.ts +5 -0
  233. package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-operator-factories.js +36 -0
  234. package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-scalar-string-operator.d.ts +20 -0
  235. package/dist/service/iam/authorize/match/condition/negated/sim-iam-negated-scalar-string-operator.js +29 -0
  236. package/dist/service/iam/authorize/match/condition/numeric/less-than-equals/sim-iam-number-lte.d.ts +1 -0
  237. package/dist/service/iam/authorize/match/condition/numeric/less-than-equals/sim-iam-number-lte.js +1 -0
  238. package/dist/service/iam/authorize/match/condition/sim-iam-condition-match.d.ts +26 -0
  239. package/dist/service/iam/authorize/match/condition/sim-iam-condition-match.js +1 -0
  240. package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator-parser.js +2 -0
  241. package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator.d.ts +15 -0
  242. package/dist/service/iam/authorize/match/condition/sim-iam-policy-condition-matcher.d.ts +11 -3
  243. package/dist/service/iam/authorize/match/condition/sim-iam-policy-condition-matcher.js +29 -11
  244. package/dist/service/iam/authorize/match/condition/sim-iam-string-comparison.d.ts +24 -0
  245. package/dist/service/iam/authorize/match/condition/sim-iam-string-comparison.js +17 -0
  246. package/dist/service/iam/authorize/match/condition/string/all-values/sim-iam-for-all-values-string-condition-operator.d.ts +1 -0
  247. package/dist/service/iam/authorize/match/condition/string/all-values/sim-iam-for-all-values-string-condition-operator.js +1 -0
  248. package/dist/service/iam/authorize/match/condition/string/all-values/sim-iam-for-all-values-string-equals.js +2 -1
  249. package/dist/service/iam/authorize/match/condition/string/all-values/sim-iam-for-all-values-string-like.js +2 -4
  250. package/dist/service/iam/authorize/match/condition/string/any-value/sim-iam-for-any-value-string-condition-operator.d.ts +1 -0
  251. package/dist/service/iam/authorize/match/condition/string/any-value/sim-iam-for-any-value-string-condition-operator.js +1 -0
  252. package/dist/service/iam/authorize/match/condition/string/any-value/sim-iam-for-any-value-string-equals.js +2 -1
  253. package/dist/service/iam/authorize/match/condition/string/any-value/sim-iam-for-any-value-string-like.js +2 -4
  254. package/dist/service/iam/authorize/match/condition/string/equals/sim-iam-string-equals.js +2 -1
  255. package/dist/service/iam/authorize/match/condition/string/like/sim-iam-string-like.js +2 -4
  256. package/dist/service/iam/authorize/match/condition/string/sim-iam-scalar-string-condition-operator.d.ts +1 -0
  257. package/dist/service/iam/authorize/match/condition/string/sim-iam-scalar-string-condition-operator.js +1 -0
  258. package/dist/service/iam/authorize/match/sim-iam-policy-statement-matcher.d.ts +18 -1
  259. package/dist/service/iam/authorize/match/sim-iam-policy-statement-matcher.js +32 -4
  260. package/dist/service/iam/authorize/sim-iam-decision.d.ts +12 -0
  261. package/dist/service/iam/authorize/sim-iam-decision.js +14 -0
  262. package/dist/service/iam/authorize/sim-iam-region-auth-z.d.ts +31 -0
  263. package/dist/service/iam/authorize/sim-iam-region-auth-z.js +65 -0
  264. package/dist/service/iam/authorize/unevaluated/sim-iam-unevaluated-statement.type.d.ts +31 -0
  265. package/dist/service/iam/authorize/unevaluated/sim-iam-unevaluated-statement.type.js +1 -0
  266. package/dist/service/iam/authorize/unevaluated/sim-iam-unevaluated-statements.d.ts +31 -0
  267. package/dist/service/iam/authorize/unevaluated/sim-iam-unevaluated-statements.js +43 -0
  268. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.d.ts +2 -1
  269. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.js +2 -4
  270. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.d.ts +2 -1
  271. package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.js +3 -3
  272. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.d.ts +2 -1
  273. package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.js +7 -7
  274. package/dist/service/iam/cfn/role/sim-cfn-iam-role-creator.d.ts +2 -1
  275. package/dist/service/iam/cfn/role/sim-cfn-iam-role-creator.js +8 -8
  276. package/dist/service/iam/cfn/role/sim-cfn-iam-role-deleter.d.ts +2 -1
  277. package/dist/service/iam/cfn/role/sim-cfn-iam-role-deleter.js +10 -12
  278. package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.d.ts +2 -1
  279. package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.js +12 -16
  280. package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.js +8 -5
  281. package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.d.ts +2 -1
  282. package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.js +11 -11
  283. package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.d.ts +4 -2
  284. package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.js +17 -3
  285. package/dist/service/iam/command/sim-iam-command-handlers.js +6 -1
  286. package/dist/service/kinesis/cfn/sim-cfn-kinesis-resource-deleter.d.ts +2 -1
  287. package/dist/service/kinesis/cfn/sim-cfn-kinesis-resource-deleter.js +2 -2
  288. package/dist/service/kinesis/cfn/sim-kinesis-cfn-resource-factory.d.ts +1 -1
  289. package/dist/service/kinesis/cfn/sim-kinesis-cfn-resource-factory.js +4 -3
  290. package/dist/service/kinesis/cfn/stream/sim-cfn-kinesis-stream-creator.d.ts +2 -1
  291. package/dist/service/kinesis/cfn/stream/sim-cfn-kinesis-stream-creator.js +5 -7
  292. package/dist/service/kinesis/sim-kinesis.d.ts +1 -1
  293. package/dist/service/kinesis/sim-kinesis.js +3 -2
  294. package/dist/service/kms/cfn/alias/sim-cfn-kms-alias-creator.d.ts +2 -1
  295. package/dist/service/kms/cfn/alias/sim-cfn-kms-alias-creator.js +2 -2
  296. package/dist/service/kms/cfn/key/sim-cfn-kms-key-creator.d.ts +6 -6
  297. package/dist/service/kms/cfn/key/sim-cfn-kms-key-creator.js +11 -11
  298. package/dist/service/kms/cfn/sim-cfn-kms-resource-deleter.d.ts +2 -1
  299. package/dist/service/kms/cfn/sim-cfn-kms-resource-deleter.js +3 -5
  300. package/dist/service/kms/cfn/sim-cfn-kms-resource-factory.d.ts +2 -1
  301. package/dist/service/kms/cfn/sim-cfn-kms-resource-factory.js +6 -4
  302. package/dist/service/kms/sim-kms-commands.d.ts +1 -1
  303. package/dist/service/kms/sim-kms-commands.js +3 -2
  304. package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.d.ts +2 -1
  305. package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.js +2 -2
  306. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.d.ts +2 -1
  307. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.js +2 -2
  308. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.d.ts +2 -1
  309. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.js +2 -4
  310. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.d.ts +2 -1
  311. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.js +2 -2
  312. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.d.ts +2 -1
  313. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.js +3 -4
  314. package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.d.ts +2 -1
  315. package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.js +2 -2
  316. package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.d.ts +2 -1
  317. package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.js +2 -2
  318. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.d.ts +2 -8
  319. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js +18 -38
  320. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts +2 -2
  321. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js +12 -9
  322. package/dist/service/lambda/cfn/url/sim-cfn-lambda-url-creator.d.ts +2 -1
  323. package/dist/service/lambda/cfn/url/sim-cfn-lambda-url-creator.js +2 -2
  324. package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.d.ts +2 -1
  325. package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.js +2 -2
  326. package/dist/service/lambda/serve/sim-lambda-url-router.js +2 -1
  327. package/dist/service/lambda/sim-lambda-commands.d.ts +1 -1
  328. package/dist/service/lambda/sim-lambda-commands.js +3 -2
  329. package/dist/service/logs/cfn/delivery/sim-cfn-delivery-creator.d.ts +3 -2
  330. package/dist/service/logs/cfn/delivery/sim-cfn-delivery-creator.js +4 -6
  331. package/dist/service/logs/cfn/delivery/sim-cfn-delivery-destination-creator.d.ts +3 -2
  332. package/dist/service/logs/cfn/delivery/sim-cfn-delivery-destination-creator.js +4 -6
  333. package/dist/service/logs/cfn/delivery/sim-cfn-delivery-source-creator.d.ts +3 -2
  334. package/dist/service/logs/cfn/delivery/sim-cfn-delivery-source-creator.js +4 -4
  335. package/dist/service/logs/cfn/sim-logs-cfn-resource-deleter.d.ts +2 -1
  336. package/dist/service/logs/cfn/sim-logs-cfn-resource-deleter.js +4 -4
  337. package/dist/service/logs/cfn/sim-logs-cfn-resource-factory.d.ts +2 -2
  338. package/dist/service/logs/cfn/sim-logs-cfn-resource-factory.js +7 -5
  339. package/dist/service/logs/sim-logs-commands.d.ts +1 -1
  340. package/dist/service/logs/sim-logs-commands.js +3 -2
  341. package/dist/service/logs/subscription/lambda/sim-logs-destination-permission.js +2 -1
  342. package/dist/service/personalize/cfn/sim-cfn-personalize-dataset-creator.d.ts +3 -2
  343. package/dist/service/personalize/cfn/sim-cfn-personalize-dataset-creator.js +4 -6
  344. package/dist/service/personalize/cfn/sim-cfn-personalize-dataset-group-creator.d.ts +3 -2
  345. package/dist/service/personalize/cfn/sim-cfn-personalize-dataset-group-creator.js +4 -6
  346. package/dist/service/personalize/cfn/sim-cfn-personalize-event-tracker-creator.d.ts +3 -2
  347. package/dist/service/personalize/cfn/sim-cfn-personalize-event-tracker-creator.js +4 -6
  348. package/dist/service/personalize/cfn/sim-cfn-personalize-schema-creator.d.ts +3 -2
  349. package/dist/service/personalize/cfn/sim-cfn-personalize-schema-creator.js +4 -4
  350. package/dist/service/personalize/cfn/sim-cfn-personalize-solution-creator.d.ts +3 -2
  351. package/dist/service/personalize/cfn/sim-cfn-personalize-solution-creator.js +4 -6
  352. package/dist/service/personalize/cfn/sim-personalize-cfn-resource-factory.d.ts +2 -2
  353. package/dist/service/personalize/cfn/sim-personalize-cfn-resource-factory.js +7 -6
  354. package/dist/service/personalize/sim-personalize-data-operations.d.ts +1 -1
  355. package/dist/service/personalize/sim-personalize-data-operations.js +3 -2
  356. package/dist/service/rekognition/sim-rekognition.d.ts +1 -1
  357. package/dist/service/rekognition/sim-rekognition.js +3 -2
  358. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.d.ts +3 -2
  359. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-ksk-creator.js +5 -5
  360. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.d.ts +3 -2
  361. package/dist/service/route53/cfn/dnssec/sim-cfn-r53-zone-signing-creator.js +4 -8
  362. package/dist/service/route53/cfn/hosted-zone/sim-cfn-r53-zone-creator.d.ts +2 -1
  363. package/dist/service/route53/cfn/hosted-zone/sim-cfn-r53-zone-creator.js +2 -2
  364. package/dist/service/route53/cfn/record-set/apply/sim-cfn-r53-record-set-applicator.d.ts +9 -1
  365. package/dist/service/route53/cfn/record-set/apply/sim-cfn-r53-record-set-applicator.js +23 -2
  366. package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.d.ts +5 -3
  367. package/dist/service/route53/cfn/sim-cfn-route53-resource-deleter.js +9 -28
  368. package/dist/service/route53/cfn/sim-cfn-route53-resource-factory.js +9 -5
  369. package/dist/service/route53/sim-route53.d.ts +1 -1
  370. package/dist/service/route53/sim-route53.js +5 -2
  371. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.d.ts +3 -0
  372. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.js +6 -13
  373. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.d.ts +2 -1
  374. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.js +3 -2
  375. package/dist/service/s3/cfn/bucket-policy/sim-cfn-s3-bucket-policy-creator.d.ts +2 -1
  376. package/dist/service/s3/cfn/bucket-policy/sim-cfn-s3-bucket-policy-creator.js +2 -2
  377. package/dist/service/s3/cfn/sim-cfn-s3-resource-deleter.d.ts +2 -1
  378. package/dist/service/s3/cfn/sim-cfn-s3-resource-deleter.js +3 -7
  379. package/dist/service/s3/cfn/sim-cfn-s3-resource-factory.d.ts +2 -2
  380. package/dist/service/s3/cfn/sim-cfn-s3-resource-factory.js +6 -4
  381. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js +2 -1
  382. package/dist/service/s3/notification/destination/sns/sim-s3-notification-topic.js +2 -1
  383. package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue.js +2 -1
  384. package/dist/service/s3/sim-s3-commands.d.ts +1 -1
  385. package/dist/service/s3/sim-s3-commands.js +3 -2
  386. package/dist/service/scheduler/cfn/sim-cfn-schedule-creator.d.ts +26 -0
  387. package/dist/service/scheduler/cfn/sim-cfn-schedule-creator.js +49 -0
  388. package/dist/service/scheduler/cfn/sim-cfn-schedule-group-creator.d.ts +31 -0
  389. package/dist/service/scheduler/cfn/sim-cfn-schedule-group-creator.js +48 -0
  390. package/dist/service/scheduler/cfn/sim-cfn-schedule-group-properties.d.ts +26 -0
  391. package/dist/service/scheduler/cfn/sim-cfn-schedule-group-properties.js +68 -0
  392. package/dist/service/scheduler/cfn/sim-cfn-schedule-properties.js +4 -10
  393. package/dist/service/scheduler/cfn/sim-cfn-scheduler-resource-error.d.ts +14 -3
  394. package/dist/service/scheduler/cfn/sim-cfn-scheduler-resource-error.js +28 -6
  395. package/dist/service/scheduler/cfn/sim-cfn-scheduler-resource-lookup.d.ts +10 -4
  396. package/dist/service/scheduler/cfn/sim-cfn-scheduler-resource-lookup.js +9 -6
  397. package/dist/service/scheduler/cfn/sim-scheduler-cfn-resource-factory.d.ts +6 -8
  398. package/dist/service/scheduler/cfn/sim-scheduler-cfn-resource-factory.js +20 -33
  399. package/dist/service/scheduler/command/authorize/sim-scheduler-authorizer.d.ts +9 -8
  400. package/dist/service/scheduler/command/authorize/sim-scheduler-authorizer.js +14 -15
  401. package/dist/service/scheduler/command/group/group.command.d.ts +90 -0
  402. package/dist/service/scheduler/command/group/group.command.js +1 -0
  403. package/dist/service/scheduler/command/group/sim-scheduler-described-group.d.ts +15 -0
  404. package/dist/service/scheduler/command/group/sim-scheduler-described-group.js +29 -0
  405. package/dist/service/scheduler/command/group/sim-scheduler-group-access.d.ts +57 -0
  406. package/dist/service/scheduler/command/group/sim-scheduler-group-access.js +70 -0
  407. package/dist/service/scheduler/command/group/sim-scheduler-group-commands.d.ts +46 -0
  408. package/dist/service/scheduler/command/group/sim-scheduler-group-commands.js +72 -0
  409. package/dist/service/scheduler/command/group/sim-scheduler-listed-groups.d.ts +6 -0
  410. package/dist/service/scheduler/command/group/sim-scheduler-listed-groups.js +10 -0
  411. package/dist/service/scheduler/command/group/sim-scheduler-unsimulated-group-input.d.ts +14 -0
  412. package/dist/service/scheduler/command/group/sim-scheduler-unsimulated-group-input.js +19 -0
  413. package/dist/service/scheduler/command/schedule/sim-scheduler-create-schedule.js +1 -0
  414. package/dist/service/scheduler/command/schedule/sim-scheduler-schedule-access.d.ts +16 -0
  415. package/dist/service/scheduler/command/schedule/sim-scheduler-schedule-access.js +23 -3
  416. package/dist/service/scheduler/command/sim-scheduler-command.types.d.ts +1 -0
  417. package/dist/service/scheduler/command/sim-scheduler-commands.d.ts +4 -0
  418. package/dist/service/scheduler/command/sim-scheduler-commands.js +14 -1
  419. package/dist/service/scheduler/delivery/sim-aws-scheduler-delivery-targets.js +1 -1
  420. package/dist/service/scheduler/delivery/sim-scheduler-delivery-function.js +2 -1
  421. package/dist/service/scheduler/delivery/sim-scheduler-delivery-queue.js +2 -1
  422. package/dist/service/scheduler/delivery/sim-scheduler-delivery-topic.js +2 -1
  423. package/dist/service/scheduler/delivery/sim-scheduler-execution-role.d.ts +9 -3
  424. package/dist/service/scheduler/delivery/sim-scheduler-execution-role.js +10 -3
  425. package/dist/service/scheduler/group/sim-scheduler-schedule-group-arn.d.ts +11 -0
  426. package/dist/service/scheduler/group/sim-scheduler-schedule-group-arn.js +13 -0
  427. package/dist/service/scheduler/group/sim-scheduler-schedule-group-store.d.ts +46 -0
  428. package/dist/service/scheduler/group/sim-scheduler-schedule-group-store.js +65 -0
  429. package/dist/service/scheduler/group/sim-scheduler-schedule-group.d.ts +25 -0
  430. package/dist/service/scheduler/group/sim-scheduler-schedule-group.js +32 -0
  431. package/dist/service/scheduler/index.d.ts +2 -0
  432. package/dist/service/scheduler/index.js +2 -0
  433. package/dist/service/scheduler/schedule/sim-scheduler-schedule-name.d.ts +11 -9
  434. package/dist/service/scheduler/schedule/sim-scheduler-schedule-name.js +15 -18
  435. package/dist/service/scheduler/schedule/sim-scheduler-schedule-store.d.ts +7 -0
  436. package/dist/service/scheduler/schedule/sim-scheduler-schedule-store.js +13 -0
  437. package/dist/service/scheduler/schedule/sim-scheduler-schedule.d.ts +13 -0
  438. package/dist/service/scheduler/schedule/sim-scheduler-schedule.js +16 -0
  439. package/dist/service/scheduler/sdk/sim-scheduler-sdk-command-router.js +16 -0
  440. package/dist/service/scheduler/sim-scheduler-inspection.d.ts +14 -0
  441. package/dist/service/scheduler/sim-scheduler-inspection.js +15 -0
  442. package/dist/service/scheduler/sim-scheduler.d.ts +19 -1
  443. package/dist/service/scheduler/sim-scheduler.js +38 -2
  444. package/dist/service/secretsmanager/cfn/secret/sim-cfn-secrets-manager-secret-creator.d.ts +2 -1
  445. package/dist/service/secretsmanager/cfn/secret/sim-cfn-secrets-manager-secret-creator.js +2 -2
  446. package/dist/service/secretsmanager/cfn/sim-cfn-secrets-manager-resource-factory.d.ts +2 -2
  447. package/dist/service/secretsmanager/cfn/sim-cfn-secrets-manager-resource-factory.js +4 -5
  448. package/dist/service/secretsmanager/sim-secrets-manager.d.ts +1 -1
  449. package/dist/service/secretsmanager/sim-secrets-manager.js +3 -2
  450. package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-creator.d.ts +3 -2
  451. package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-creator.js +4 -4
  452. package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.d.ts +3 -2
  453. package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.js +4 -8
  454. package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.d.ts +2 -2
  455. package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.js +7 -6
  456. package/dist/service/ses/cfn/template/sim-cfn-ses-template-creator.d.ts +3 -2
  457. package/dist/service/ses/cfn/template/sim-cfn-ses-template-creator.js +4 -8
  458. package/dist/service/ses/sim-ses-commands.d.ts +1 -1
  459. package/dist/service/ses/sim-ses-commands.js +3 -2
  460. package/dist/service/sns/cfn/sim-cfn-sns-resource-deleter.d.ts +5 -8
  461. package/dist/service/sns/cfn/sim-cfn-sns-resource-deleter.js +10 -28
  462. package/dist/service/sns/cfn/sim-sns-cfn-resource-factory.js +10 -5
  463. package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-creator.d.ts +2 -1
  464. package/dist/service/sns/cfn/subscription/sim-cfn-sns-subscription-creator.js +2 -2
  465. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-creator.d.ts +2 -1
  466. package/dist/service/sns/cfn/topic/sim-cfn-sns-topic-creator.js +5 -7
  467. package/dist/service/sns/cfn/topic-policy/sim-cfn-sns-topic-policy-creator.d.ts +9 -1
  468. package/dist/service/sns/cfn/topic-policy/sim-cfn-sns-topic-policy-creator.js +20 -4
  469. package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.js +2 -1
  470. package/dist/service/sns/delivery/sqs/sim-sns-delivery-queue.js +2 -1
  471. package/dist/service/sns/sim-sns.d.ts +1 -1
  472. package/dist/service/sns/sim-sns.js +3 -2
  473. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.d.ts +2 -1
  474. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.js +2 -4
  475. package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.d.ts +2 -1
  476. package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.js +4 -4
  477. package/dist/service/sqs/cfn/sim-cfn-sqs-resource-deleter.d.ts +2 -1
  478. package/dist/service/sqs/cfn/sim-cfn-sqs-resource-deleter.js +7 -7
  479. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js +5 -3
  480. package/dist/service/sqs/sim-sqs.d.ts +1 -1
  481. package/dist/service/sqs/sim-sqs.js +3 -2
  482. package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-creator.d.ts +2 -1
  483. package/dist/service/ssm/cfn/parameter/sim-cfn-ssm-parameter-creator.js +2 -2
  484. package/dist/service/ssm/cfn/sim-cfn-ssm-resource-factory.d.ts +2 -2
  485. package/dist/service/ssm/cfn/sim-cfn-ssm-resource-factory.js +4 -3
  486. package/dist/service/ssm/sim-ssm.d.ts +1 -1
  487. package/dist/service/ssm/sim-ssm.js +3 -2
  488. package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-deleter.d.ts +2 -1
  489. package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-deleter.js +2 -4
  490. package/dist/service/stepfunctions/cfn/sim-step-functions-cfn-resource-factory.d.ts +1 -1
  491. package/dist/service/stepfunctions/cfn/sim-step-functions-cfn-resource-factory.js +4 -3
  492. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-creator.d.ts +2 -1
  493. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-creator.js +2 -2
  494. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js +2 -4
  495. package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts +3 -3
  496. package/dist/service/stepfunctions/task/sim-states-execution-role.js +4 -3
  497. package/dist/service/stepfunctions/task/sim-states-task-function.js +2 -1
  498. package/dist/service/sts/auth-z/assume-role-auth-z-coordinator.d.ts +3 -0
  499. package/dist/service/sts/auth-z/assume-role-auth-z-coordinator.js +2 -7
  500. package/dist/service/sts/auth-z/assume-role-source-account-auth-z.d.ts +6 -0
  501. package/dist/service/sts/auth-z/assume-role-source-account-auth-z.js +3 -0
  502. package/dist/service/sts/auth-z/assume-role-target-auth-z.d.ts +6 -0
  503. package/dist/service/sts/auth-z/assume-role-target-auth-z.js +3 -0
  504. package/dist/service/sts/auth-z/assume-role-trust-policy-authorizer.d.ts +6 -0
  505. package/dist/service/sts/auth-z/assume-role-trust-policy-authorizer.js +1 -0
  506. package/dist/service/sts/command/assume-role/assume-role.handler.d.ts +5 -0
  507. package/dist/service/sts/command/assume-role/assume-role.handler.js +2 -1
  508. package/dist/service/sts/service-role/sim-service-role-source.d.ts +33 -0
  509. package/dist/service/sts/service-role/sim-service-role-source.js +26 -0
  510. package/dist/service/sts/service-role/sim-service-role-target.d.ts +26 -0
  511. package/dist/service/sts/service-role/sim-service-role-target.js +27 -0
  512. package/dist/service/sts/service-role/sim-service-role.d.ts +16 -20
  513. package/dist/service/sts/service-role/sim-service-role.js +7 -21
  514. package/dist/service/sts/sim-sts.js +1 -0
  515. package/dist/service/wafv2/cfn/association/sim-cfn-waf-association-creator.d.ts +3 -2
  516. package/dist/service/wafv2/cfn/association/sim-cfn-waf-association-creator.js +4 -6
  517. package/dist/service/wafv2/cfn/ip-set/sim-cfn-waf-ip-set-creator.d.ts +3 -2
  518. package/dist/service/wafv2/cfn/ip-set/sim-cfn-waf-ip-set-creator.js +4 -4
  519. package/dist/service/wafv2/cfn/regex-pattern-set/sim-cfn-waf-regex-set-creator.d.ts +3 -2
  520. package/dist/service/wafv2/cfn/regex-pattern-set/sim-cfn-waf-regex-set-creator.js +4 -4
  521. package/dist/service/wafv2/cfn/sim-cfn-waf-resource-deleter.d.ts +2 -1
  522. package/dist/service/wafv2/cfn/sim-cfn-waf-resource-deleter.js +5 -5
  523. package/dist/service/wafv2/cfn/sim-waf-cfn-resource-factory.d.ts +2 -2
  524. package/dist/service/wafv2/cfn/sim-waf-cfn-resource-factory.js +8 -6
  525. package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-web-acl-creator.d.ts +3 -2
  526. package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-web-acl-creator.js +4 -6
  527. package/dist/service/wafv2/sim-wafv2-commands.d.ts +1 -1
  528. package/dist/service/wafv2/sim-wafv2-commands.js +3 -2
  529. package/dist/util/clock/sim-clock-control.d.ts +3 -1
  530. package/dist/util/clock/sim-clock-control.js +2 -0
  531. package/dist/util/clock/sim-controllable-clock.d.ts +3 -1
  532. package/dist/util/clock/sim-controllable-clock.js +2 -0
  533. package/dist/util/clock/sim-duration.d.ts +6 -2
  534. package/dist/util/clock/sim-duration.js +8 -1
  535. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  import { assertDefined } from "../../../../util/type-guard/defined.js";
2
2
  import { SimCfnAcmCertificatePropertyReader } from "../property/sim-cfn-acm-cert-properties.js";
3
3
  import { SimCfnAcmCertificateValidation } from "../validation/sim-cfn-acm-cert-validation.js";
4
+ import { simCfnResourceCallerOptions, } from "../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
4
5
  /**
5
6
  * Creates simulated ACM Certificates from CloudFormation Resources.
6
7
  *
@@ -21,7 +22,8 @@ export class SimCfnAcmCertificateCreator {
21
22
  logicalId: resource.logicalId,
22
23
  properties: context.resolvedProperties ?? resource.properties,
23
24
  });
24
- const certificate = await this.requestCertificate(resource, properties);
25
+ const options = simCfnResourceCallerOptions(context.caller);
26
+ const certificate = await this.requestCertificate(resource, properties, options);
25
27
  // Creating the Resource is not complete until the certificate is issued,
26
28
  // so anything depending on it is created afterwards, as in real
27
29
  // CloudFormation.
@@ -29,10 +31,10 @@ export class SimCfnAcmCertificateCreator {
29
31
  acm: this.acm,
30
32
  simAws: context.simAws,
31
33
  });
32
- await certificateValidation.apply(resource, certificate, properties.domainValidationHostedZoneIds());
34
+ await certificateValidation.apply(resource, certificate, properties.domainValidationHostedZoneIds(), options);
33
35
  return certificate;
34
36
  }
35
- async requestCertificate(resource, properties) {
37
+ async requestCertificate(resource, properties, options) {
36
38
  const requestCertificateOutput = await this.acm.requestCertificate({
37
39
  input: {
38
40
  DomainName: properties.domainName(),
@@ -41,7 +43,7 @@ export class SimCfnAcmCertificateCreator {
41
43
  DomainValidationOptions: properties.domainValidationOptions(),
42
44
  Tags: properties.tags(),
43
45
  },
44
- });
46
+ }, options);
45
47
  const certificateArn = requestCertificateOutput.CertificateArn;
46
48
  assertDefined(certificateArn, `sim ACM Certificate ARN after CloudFormation creation for ${resource.logicalId}`);
47
49
  const certificate = this.acm.certificates.get(certificateArn);
@@ -1,4 +1,4 @@
1
- import type { SimCfnResource, SimCloudFormationResourceCreateContext } from "../../cloudformation/resource/sim-cfn-resource.js";
1
+ import type { SimCfnResource, SimCloudFormationResourceCreateContext, SimCloudFormationResourceDeleteContext } from "../../cloudformation/resource/sim-cfn-resource.js";
2
2
  import type { SimCfnServiceResourceFactory } from "../../cloudformation/resource/factory/sim-cfn-resource-factory.type.js";
3
3
  import { SimAcm } from "../sim-acm.js";
4
4
  interface SimAcmCfnResourceFactoryProperties {
@@ -22,6 +22,6 @@ export declare class SimAcmCfnResourceFactory implements SimCfnServiceResourceFa
22
22
  * certificate a CloudFront Distribution still names comes down after that
23
23
  * Distribution, which the teardown order arranges.
24
24
  */
25
- delete(resourceTypeName: string, resource: SimCfnResource): Promise<void>;
25
+ delete(resourceTypeName: string, resource: SimCfnResource, context: SimCloudFormationResourceDeleteContext): Promise<void>;
26
26
  }
27
27
  export {};
@@ -1,3 +1,4 @@
1
+ import { simCfnResourceCallerOptions } from "../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
1
2
  import { SimAcm } from "../sim-acm.js";
2
3
  import { SimCfnAcmCertificateCreator } from "./certificate/sim-cfn-acm-cert-creator.js";
3
4
  import { assertDefined } from "../../../util/type-guard/defined.js";
@@ -32,14 +33,12 @@ export class SimAcmCfnResourceFactory {
32
33
  * certificate a CloudFront Distribution still names comes down after that
33
34
  * Distribution, which the teardown order arranges.
34
35
  */
35
- async delete(resourceTypeName, resource) {
36
+ async delete(resourceTypeName, resource, context) {
36
37
  if (resourceTypeName !== "Certificate") {
37
38
  throw new Error(`Unsupported sim ACM CloudFormation Resource ${resourceTypeName} deletion`);
38
39
  }
39
40
  const certificate = resource.simResource;
40
41
  assertDefined(certificate, `sim ACM certificate for CloudFormation Resource ${resource.logicalId}`);
41
- await this.acm.deleteCertificate({
42
- input: { CertificateArn: certificate.certificateArn },
43
- });
42
+ await this.acm.deleteCertificate({ input: { CertificateArn: certificate.certificateArn } }, simCfnResourceCallerOptions(context.caller));
44
43
  }
45
44
  }
@@ -2,6 +2,7 @@ import type { SimAws } from "../../../aws/sim-aws.js";
2
2
  import type { SimCfnResource } from "../../../cloudformation/resource/sim-cfn-resource.js";
3
3
  import type { SimAcm } from "../../sim-acm.js";
4
4
  import type { SimAcmCertificate } from "../../certificate/sim-acm-certificate.js";
5
+ import type { SimCfnResourceCallerOptions } from "../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
5
6
  interface SimCfnAcmCertificateValidationProperties {
6
7
  readonly acm: SimAcm;
7
8
  readonly simAws: SimAws;
@@ -21,7 +22,7 @@ export declare class SimCfnAcmCertificateValidation {
21
22
  /**
22
23
  * Publish the template's validation records and wait for the Certificate.
23
24
  */
24
- apply(resource: SimCfnResource, certificate: SimAcmCertificate, hostedZoneIdsByDomain: ReadonlyMap<string, string>): Promise<void>;
25
+ apply(resource: SimCfnResource, certificate: SimAcmCertificate, hostedZoneIdsByDomain: ReadonlyMap<string, string>, options?: SimCfnResourceCallerOptions): Promise<void>;
25
26
  /**
26
27
  * Explain what the Certificate is still waiting for.
27
28
  *
@@ -18,12 +18,12 @@ export class SimCfnAcmCertificateValidation {
18
18
  /**
19
19
  * Publish the template's validation records and wait for the Certificate.
20
20
  */
21
- async apply(resource, certificate, hostedZoneIdsByDomain) {
21
+ async apply(resource, certificate, hostedZoneIdsByDomain, options) {
22
22
  const { accountId, regionName } = resource.accountRegionScope;
23
23
  const validationRecords = new SimCfnAcmValidationRecords({
24
24
  route53: this.simAws.accountRegionScope(accountId, regionName).route53(),
25
25
  });
26
- await validationRecords.publish(certificate, hostedZoneIdsByDomain);
26
+ await validationRecords.publish(certificate, hostedZoneIdsByDomain, options);
27
27
  await this.acm.settleCertificateValidation(certificate);
28
28
  if (certificate.status === "ISSUED") {
29
29
  return;
@@ -1,5 +1,6 @@
1
1
  import type { SimRoute53 } from "../../../route53/sim-route53.js";
2
2
  import type { SimAcmCertificate } from "../../certificate/sim-acm-certificate.js";
3
+ import type { SimCfnResourceCallerOptions } from "../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
3
4
  interface SimCfnAcmValidationRecordsProperties {
4
5
  readonly route53: SimRoute53;
5
6
  }
@@ -16,7 +17,7 @@ export declare class SimCfnAcmValidationRecords {
16
17
  /**
17
18
  * Publish the validation record for every domain naming a Hosted Zone.
18
19
  */
19
- publish(certificate: SimAcmCertificate, hostedZoneIdsByDomain: ReadonlyMap<string, string>): Promise<void>;
20
+ publish(certificate: SimAcmCertificate, hostedZoneIdsByDomain: ReadonlyMap<string, string>, options?: SimCfnResourceCallerOptions): Promise<void>;
20
21
  /**
21
22
  * Publish one domain's validation record into the Hosted Zone named for it.
22
23
  *
@@ -14,10 +14,10 @@ export class SimCfnAcmValidationRecords {
14
14
  /**
15
15
  * Publish the validation record for every domain naming a Hosted Zone.
16
16
  */
17
- async publish(certificate, hostedZoneIdsByDomain) {
17
+ async publish(certificate, hostedZoneIdsByDomain, options) {
18
18
  for (const domainValidation of certificate.domainValidationOptions) {
19
19
  // oxlint-disable-next-line no-await-in-loop -- one hosted zone at a time
20
- await this.publishRecord(domainValidation, hostedZoneIdsByDomain);
20
+ await this.publishRecord(domainValidation, hostedZoneIdsByDomain, options);
21
21
  }
22
22
  }
23
23
  /**
@@ -28,7 +28,7 @@ export class SimCfnAcmValidationRecords {
28
28
  * under test, and the certificate then follows the usual rule: with nothing
29
29
  * authoritative for its domain, it is issued without validation.
30
30
  */
31
- async publishRecord(domainValidation, hostedZoneIdsByDomain) {
31
+ async publishRecord(domainValidation, hostedZoneIdsByDomain, options) {
32
32
  const resourceRecord = domainValidation.resourceRecord;
33
33
  const hostedZoneIdValue = hostedZoneIdsByDomain.get(domainValidation.domainName);
34
34
  if (resourceRecord === undefined || hostedZoneIdValue === undefined) {
@@ -55,7 +55,7 @@ export class SimCfnAcmValidationRecords {
55
55
  ],
56
56
  },
57
57
  },
58
- });
58
+ }, options);
59
59
  // The record mutation is scheduled, so wait for the zone to hold it before
60
60
  // the certificate is checked against DNS.
61
61
  await hostedZone.waitForSynchronizationComplete();
@@ -8,7 +8,7 @@ import type { SimDeleteCertificateCommand, SimDeleteCertificateCommandOutput } f
8
8
  import type { SimListCertificatesCommand, SimListCertificatesCommandOutput } from "./command/list-certificates/list-certificates.command.js";
9
9
  import { SimAcmCfnResourceFactory } from "./cfn/sim-cfn-acm-resource-factory.js";
10
10
  import type { SimAwsCaller } from "../aws/caller/sim-aws-caller.js";
11
- import { type SimIamInterServiceAuthZ } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
11
+ import type { SimIamInterServiceAuthZ } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
12
12
  import type { SimSdkCommandRouter } from "../../sdk/router/sim-sdk-command-router.type.js";
13
13
  import type { SimAcmDnsRecords } from "./validation/sim-acm-dns-records.js";
14
14
  export interface SimAcmRequestOptions {
@@ -6,7 +6,7 @@ import { DeleteCertificateCommandHandler } from "./command/delete-certificate/de
6
6
  import { ListCertificatesCommandHandler } from "./command/list-certificates/list-certificates.handler.js";
7
7
  import { SimAcmCfnResourceFactory } from "./cfn/sim-cfn-acm-resource-factory.js";
8
8
  import { simAwsAccountRegionScopeFactory } from "../aws/sim-aws-account-region-scope.factory.js";
9
- import { SimIamAllowAllAuth, } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
9
+ import { simIamInRegion } from "../iam/authorize/sim-iam-region-auth-z.js";
10
10
  import { SimAcmSdkCommandRouter } from "./sdk/sim-acm-sdk-command-router.js";
11
11
  import { SimAcmCertificateValidation } from "./validation/sim-acm-certificate-validation.js";
12
12
  import { SimAcmDnsValidationCompleter } from "./validation/sim-acm-dns-validation-completer.js";
@@ -25,7 +25,8 @@ export class SimAcm {
25
25
  });
26
26
  sdkRouter = new SimAcmSdkCommandRouter(this);
27
27
  constructor(properties = {}) {
28
- const { accountRegionScope = simAwsAccountRegionScopeFactory.make(), iam = new SimIamAllowAllAuth(), background = new BackgroundTasks(), dnsRecords, } = properties;
28
+ const { accountRegionScope = simAwsAccountRegionScopeFactory.make(), background = new BackgroundTasks(), dnsRecords, } = properties;
29
+ const iam = simIamInRegion(properties.iam, accountRegionScope.regionName);
29
30
  this.accountRegionScope = accountRegionScope;
30
31
  this.iam = iam;
31
32
  this.background = background;
@@ -3,6 +3,7 @@ import type { SimCfnTemplateValueRecord } from "../../../cloudformation/template
3
3
  import type { SimRestApi } from "../../api/sim-rest-api.js";
4
4
  import type { SimApiGateway } from "../../sim-api-gateway.js";
5
5
  import type { SimCfnRestApiImports } from "../sim-cfn-rest-api-imports.js";
6
+ import type { SimCfnResourceCallerOptions } from "../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
6
7
  interface SimCfnRestApiCreatorProperties {
7
8
  readonly apiGateway: SimApiGateway;
8
9
  readonly imports: SimCfnRestApiImports;
@@ -22,7 +23,7 @@ export declare class SimCfnRestApiCreator {
22
23
  /**
23
24
  * Create a REST API from an AWS::ApiGateway::RestApi Resource.
24
25
  */
25
- create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<SimRestApi>;
26
+ create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<SimRestApi>;
26
27
  /**
27
28
  * The API this Resource declares, however it declares it.
28
29
  */
@@ -19,12 +19,12 @@ export class SimCfnRestApiCreator {
19
19
  /**
20
20
  * Create a REST API from an AWS::ApiGateway::RestApi Resource.
21
21
  */
22
- async create(resource, properties) {
22
+ async create(resource, properties, options) {
23
23
  const apiProperties = new SimCfnRestApiProperties({
24
24
  resource,
25
25
  properties,
26
26
  });
27
- const created = await this.created(resource, properties, apiProperties);
27
+ const created = await this.created(resource, properties, apiProperties, options);
28
28
  if (apiProperties.imported()) {
29
29
  this.imports.record(created.id, resource.logicalId);
30
30
  }
@@ -35,17 +35,15 @@ export class SimCfnRestApiCreator {
35
35
  /**
36
36
  * The API this Resource declares, however it declares it.
37
37
  */
38
- async created(resource, properties, apiProperties) {
39
- if (apiProperties.imported()) {
40
- return await this.apiGateway.importRestApi({
41
- input: new SimCfnRestApiImportProperties({
42
- resource,
43
- properties,
44
- }).importRestApiInput(),
45
- });
38
+ async created(resource, properties, apiProperties, options) {
39
+ if (!apiProperties.imported()) {
40
+ const input = apiProperties.createRestApiInput();
41
+ return await this.apiGateway.createRestApi({ input }, options);
46
42
  }
47
- return await this.apiGateway.createRestApi({
48
- input: apiProperties.createRestApiInput(),
49
- });
43
+ const input = new SimCfnRestApiImportProperties({
44
+ resource,
45
+ properties,
46
+ }).importRestApiInput();
47
+ return await this.apiGateway.importRestApi({ input }, options);
50
48
  }
51
49
  }
@@ -2,6 +2,7 @@ import type { SimCfnResource } from "../../../cloudformation/resource/sim-cfn-re
2
2
  import type { SimCfnTemplateValueRecord } from "../../../cloudformation/template/value/sim-cfn-template-value.js";
3
3
  import type { SimRestApiAuthorizer } from "../../api/authorizer/sim-rest-api-authorizer.js";
4
4
  import type { SimApiGateway } from "../../sim-api-gateway.js";
5
+ import type { SimCfnResourceCallerOptions } from "../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
5
6
  interface SimCfnRestApiAuthorizerCreatorProperties {
6
7
  readonly apiGateway: SimApiGateway;
7
8
  }
@@ -19,6 +20,6 @@ export declare class SimCfnRestApiAuthorizerCreator {
19
20
  /**
20
21
  * Create an authorizer from an AWS::ApiGateway::Authorizer Resource.
21
22
  */
22
- create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<SimRestApiAuthorizer>;
23
+ create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<SimRestApiAuthorizer>;
23
24
  }
24
25
  export {};
@@ -16,14 +16,12 @@ export class SimCfnRestApiAuthorizerCreator {
16
16
  /**
17
17
  * Create an authorizer from an AWS::ApiGateway::Authorizer Resource.
18
18
  */
19
- async create(resource, properties) {
19
+ async create(resource, properties, options) {
20
20
  const authorizerProperties = new SimCfnRestApiAuthorizerProperties({
21
21
  resource,
22
22
  properties,
23
23
  });
24
- const created = await this.apiGateway.createAuthorizer({
25
- input: authorizerProperties.createAuthorizerInput(),
26
- });
24
+ const created = await this.apiGateway.createAuthorizer({ input: authorizerProperties.createAuthorizerInput() }, options);
27
25
  const authorizer = this.apiGateway
28
26
  .findRestApi(authorizerProperties.restApiId())
29
27
  ?.authorizers.find(created.id);
@@ -2,6 +2,7 @@ import type { SimCfnResource } from "../../../cloudformation/resource/sim-cfn-re
2
2
  import type { SimCfnTemplateValueRecord } from "../../../cloudformation/template/value/sim-cfn-template-value.js";
3
3
  import type { SimRestApiDeployment } from "../../api/deployment/sim-rest-api-deployment.js";
4
4
  import type { SimApiGateway } from "../../sim-api-gateway.js";
5
+ import type { SimCfnResourceCallerOptions } from "../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
5
6
  interface SimCfnRestApiDeploymentCreatorProperties {
6
7
  readonly apiGateway: SimApiGateway;
7
8
  }
@@ -19,6 +20,6 @@ export declare class SimCfnRestApiDeploymentCreator {
19
20
  /**
20
21
  * Create a deployment from an AWS::ApiGateway::Deployment Resource.
21
22
  */
22
- create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<SimRestApiDeployment>;
23
+ create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<SimRestApiDeployment>;
23
24
  }
24
25
  export {};
@@ -16,15 +16,13 @@ export class SimCfnRestApiDeploymentCreator {
16
16
  /**
17
17
  * Create a deployment from an AWS::ApiGateway::Deployment Resource.
18
18
  */
19
- async create(resource, properties) {
19
+ async create(resource, properties, options) {
20
20
  const deploymentProperties = new SimCfnRestApiDeploymentProperties({
21
21
  resource,
22
22
  properties,
23
23
  });
24
24
  const restApiId = deploymentProperties.restApiId();
25
- const created = await this.apiGateway.createDeployment({
26
- input: deploymentProperties.createDeploymentInput(),
27
- });
25
+ const created = await this.apiGateway.createDeployment({ input: deploymentProperties.createDeploymentInput() }, options);
28
26
  const deployment = this.apiGateway
29
27
  .findRestApi(restApiId)
30
28
  ?.deployments.find(created.id);
@@ -3,6 +3,7 @@ import type { SimCfnTemplateValueRecord } from "../../../cloudformation/template
3
3
  import type { SimRestApiMethod } from "../../api/method/sim-rest-api-method.js";
4
4
  import type { SimApiGateway } from "../../sim-api-gateway.js";
5
5
  import type { SimCfnRestApiImports } from "../sim-cfn-rest-api-imports.js";
6
+ import type { SimCfnResourceCallerOptions } from "../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
6
7
  interface SimCfnRestApiMethodCreatorProperties {
7
8
  readonly apiGateway: SimApiGateway;
8
9
  readonly imports: SimCfnRestApiImports;
@@ -24,6 +25,6 @@ export declare class SimCfnRestApiMethodCreator {
24
25
  /**
25
26
  * Create a method from an AWS::ApiGateway::Method Resource.
26
27
  */
27
- create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<SimRestApiMethod>;
28
+ create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<SimRestApiMethod>;
28
29
  }
29
30
  export {};
@@ -22,17 +22,15 @@ export class SimCfnRestApiMethodCreator {
22
22
  /**
23
23
  * Create a method from an AWS::ApiGateway::Method Resource.
24
24
  */
25
- async create(resource, properties) {
25
+ async create(resource, properties, options) {
26
26
  const methodProperties = new SimCfnRestApiMethodProperties({
27
27
  resource,
28
28
  properties,
29
29
  });
30
30
  const address = methodProperties.address();
31
31
  this.imports.requireNotImported("AWS::ApiGateway::Method", resource, address.restApiId);
32
- await this.apiGateway.putMethod({
33
- input: methodProperties.putMethodInput(),
34
- });
35
- await this.integration.put(methodProperties, address);
32
+ await this.apiGateway.putMethod({ input: methodProperties.putMethodInput() }, options);
33
+ await this.integration.put(methodProperties, address, options);
36
34
  const method = this.apiGateway
37
35
  .findRestApi(address.restApiId)
38
36
  ?.resources.find(address.resourceId)
@@ -1,5 +1,6 @@
1
1
  import type { SimApiGateway } from "../../sim-api-gateway.js";
2
2
  import type { SimCfnRestApiMethodAddress, SimCfnRestApiMethodProperties } from "./sim-cfn-rest-api-method-properties.js";
3
+ import type { SimCfnResourceCallerOptions } from "../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
3
4
  interface SimCfnRestApiMethodIntegrationProperties {
4
5
  readonly apiGateway: SimApiGateway;
5
6
  }
@@ -18,6 +19,6 @@ export declare class SimCfnRestApiMethodIntegration {
18
19
  /**
19
20
  * Put the integration a method's `Integration` block declares.
20
21
  */
21
- put(methodProperties: SimCfnRestApiMethodProperties, address: SimCfnRestApiMethodAddress): Promise<void>;
22
+ put(methodProperties: SimCfnRestApiMethodProperties, address: SimCfnRestApiMethodAddress, options?: SimCfnResourceCallerOptions): Promise<void>;
22
23
  }
23
24
  export {};
@@ -15,15 +15,15 @@ export class SimCfnRestApiMethodIntegration {
15
15
  /**
16
16
  * Put the integration a method's `Integration` block declares.
17
17
  */
18
- async put(methodProperties, address) {
18
+ async put(methodProperties, address, options) {
19
19
  try {
20
20
  const input = methodProperties.putIntegrationInput();
21
21
  if (input !== undefined) {
22
- await this.apiGateway.putIntegration({ input });
22
+ await this.apiGateway.putIntegration({ input }, options);
23
23
  }
24
24
  }
25
25
  catch (error) {
26
- await this.apiGateway.deleteMethod({ input: address });
26
+ await this.apiGateway.deleteMethod({ input: address }, options);
27
27
  throw error;
28
28
  }
29
29
  }
@@ -3,6 +3,7 @@ import type { SimCfnTemplateValueRecord } from "../../../cloudformation/template
3
3
  import type { SimRestApiResource } from "../../api/resource/sim-rest-api-resource.js";
4
4
  import type { SimApiGateway } from "../../sim-api-gateway.js";
5
5
  import type { SimCfnRestApiImports } from "../sim-cfn-rest-api-imports.js";
6
+ import type { SimCfnResourceCallerOptions } from "../../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
6
7
  interface SimCfnRestApiResourceCreatorProperties {
7
8
  readonly apiGateway: SimApiGateway;
8
9
  readonly imports: SimCfnRestApiImports;
@@ -21,6 +22,6 @@ export declare class SimCfnRestApiResourceCreator {
21
22
  /**
22
23
  * Create a path tree node from an AWS::ApiGateway::Resource Resource.
23
24
  */
24
- create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<SimRestApiResource>;
25
+ create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<SimRestApiResource>;
25
26
  }
26
27
  export {};
@@ -17,16 +17,14 @@ export class SimCfnRestApiResourceCreator {
17
17
  /**
18
18
  * Create a path tree node from an AWS::ApiGateway::Resource Resource.
19
19
  */
20
- async create(resource, properties) {
20
+ async create(resource, properties, options) {
21
21
  const resourceProperties = new SimCfnRestApiResourceProperties({
22
22
  resource,
23
23
  properties,
24
24
  });
25
25
  const restApiId = resourceProperties.restApiId();
26
26
  this.imports.requireNotImported("AWS::ApiGateway::Resource", resource, restApiId);
27
- const created = await this.apiGateway.createResource({
28
- input: resourceProperties.createResourceInput(),
29
- });
27
+ const created = await this.apiGateway.createResource({ input: resourceProperties.createResourceInput() }, options);
30
28
  const apiResource = this.apiGateway
31
29
  .findRestApi(restApiId)
32
30
  ?.resources.find(created.id);
@@ -1,6 +1,7 @@
1
1
  import type { SimCfnResource } from "../../cloudformation/resource/sim-cfn-resource.js";
2
2
  import type { SimCfnTemplateValueRecord } from "../../cloudformation/template/value/sim-cfn-template-value.js";
3
3
  import type { SimApiGateway } from "../sim-api-gateway.js";
4
+ import type { SimCfnResourceCallerOptions } from "../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
4
5
  interface SimCfnApiGatewayResourceDeleterProperties {
5
6
  readonly apiGateway: SimApiGateway;
6
7
  }
@@ -25,6 +26,6 @@ export declare class SimCfnApiGatewayResourceDeleter {
25
26
  * Delete a simulated API Gateway REST API resource created from a
26
27
  * CloudFormation Resource.
27
28
  */
28
- delete(resourceTypeName: string, resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<void>;
29
+ delete(resourceTypeName: string, resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<void>;
29
30
  }
30
31
  export {};
@@ -24,15 +24,13 @@ export class SimCfnApiGatewayResourceDeleter {
24
24
  * Delete a simulated API Gateway REST API resource created from a
25
25
  * CloudFormation Resource.
26
26
  */
27
- async delete(resourceTypeName, resource, properties) {
27
+ async delete(resourceTypeName, resource, properties, options) {
28
28
  if (resourceTypeName !== "RestApi") {
29
- await this.partDeleter.delete(resourceTypeName, resource, properties);
29
+ await this.partDeleter.delete(resourceTypeName, resource, properties, options);
30
30
  return;
31
31
  }
32
32
  const restApi = resource.simResource;
33
33
  assertDefined(restApi, `sim REST API for CloudFormation Resource ${resource.logicalId}`);
34
- await this.apiGateway.deleteRestApi({
35
- input: { restApiId: restApi.apiId },
36
- });
34
+ await this.apiGateway.deleteRestApi({ input: { restApiId: restApi.apiId } }, options);
37
35
  }
38
36
  }
@@ -7,6 +7,7 @@ import { SimCfnApiGatewayResourceDeleter } from "./sim-cfn-api-gateway-resource-
7
7
  import { simCfnApiGatewayUnsupportedReason } from "./sim-cfn-api-gateway-unsupported.js";
8
8
  import { SimCfnRestApiImports } from "./sim-cfn-rest-api-imports.js";
9
9
  import { SimCfnRestApiStageCreator } from "./stage/sim-cfn-rest-api-stage-creator.js";
10
+ import { simCfnResourceCallerOptions } from "../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
10
11
  /**
11
12
  * CloudFormation Resource factory for simulated API Gateway REST API
12
13
  * resources.
@@ -41,24 +42,25 @@ export class SimApiGatewayCfnResourceFactory {
41
42
  */
42
43
  async create(resourceTypeName, resource, context) {
43
44
  const properties = context.resolvedProperties ?? resource.properties;
45
+ const options = simCfnResourceCallerOptions(context.caller);
44
46
  switch (resourceTypeName) {
45
47
  case "RestApi": {
46
- return await this.apiCreator.create(resource, properties);
48
+ return await this.apiCreator.create(resource, properties, options);
47
49
  }
48
50
  case "Resource": {
49
- return await this.resourceCreator.create(resource, properties);
51
+ return await this.resourceCreator.create(resource, properties, options);
50
52
  }
51
53
  case "Authorizer": {
52
- return await this.authorizerCreator.create(resource, properties);
54
+ return await this.authorizerCreator.create(resource, properties, options);
53
55
  }
54
56
  case "Method": {
55
- return await this.methodCreator.create(resource, properties);
57
+ return await this.methodCreator.create(resource, properties, options);
56
58
  }
57
59
  case "Deployment": {
58
- return await this.deploymentCreator.create(resource, properties);
60
+ return await this.deploymentCreator.create(resource, properties, options);
59
61
  }
60
62
  case "Stage": {
61
- return await this.stageCreator.create(resource, properties);
63
+ return await this.stageCreator.create(resource, properties, options);
62
64
  }
63
65
  default: {
64
66
  throw new Error(`Unsupported sim API Gateway CloudFormation Resource ${resourceTypeName}${simCfnApiGatewayUnsupportedReason(resourceTypeName)}`);
@@ -70,6 +72,6 @@ export class SimApiGatewayCfnResourceFactory {
70
72
  * CloudFormation Resource.
71
73
  */
72
74
  async delete(resourceTypeName, resource, context) {
73
- await this.deleter.delete(resourceTypeName, resource, context.resolvedProperties ?? resource.properties);
75
+ await this.deleter.delete(resourceTypeName, resource, context.resolvedProperties ?? resource.properties, simCfnResourceCallerOptions(context.caller));
74
76
  }
75
77
  }
@@ -1,6 +1,7 @@
1
1
  import type { SimCfnResource } from "../../cloudformation/resource/sim-cfn-resource.js";
2
2
  import type { SimCfnTemplateValueRecord } from "../../cloudformation/template/value/sim-cfn-template-value.js";
3
3
  import type { SimApiGateway } from "../sim-api-gateway.js";
4
+ import type { SimCfnResourceCallerOptions } from "../../cloudformation/resource/caller/sim-cfn-resource-caller-options.js";
4
5
  interface SimCfnRestApiPartDeleterProperties {
5
6
  readonly apiGateway: SimApiGateway;
6
7
  }
@@ -25,12 +26,6 @@ export declare class SimCfnRestApiPartDeleter {
25
26
  /**
26
27
  * Delete one part of a REST API, or report a part type nothing deletes.
27
28
  */
28
- delete(resourceTypeName: string, resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<void>;
29
- /**
30
- * The simulated object created for this Resource.
31
- */
32
- private part;
33
- private restApiId;
34
- private property;
29
+ delete(resourceTypeName: string, resource: SimCfnResource, properties: SimCfnTemplateValueRecord, options?: SimCfnResourceCallerOptions): Promise<void>;
35
30
  }
36
31
  export {};
@@ -1,3 +1,4 @@
1
+ import { simCfnRestApiPart, simCfnRestApiPartProperty, } from "./sim-cfn-rest-api-part-values.js";
1
2
  /**
2
3
  * Deletes the parts of a REST API a CloudFormation Stack declared as their own
3
4
  * Resources.
@@ -21,38 +22,28 @@ export class SimCfnRestApiPartDeleter {
21
22
  /**
22
23
  * Delete one part of a REST API, or report a part type nothing deletes.
23
24
  */
24
- async delete(resourceTypeName, resource, properties) {
25
- const restApiId = this.restApiId(resource, properties);
25
+ async delete(resourceTypeName, resource, properties, options) {
26
+ const restApiId = simCfnRestApiPartProperty(resource, properties["RestApiId"], "RestApiId");
26
27
  switch (resourceTypeName) {
27
28
  case "Resource": {
28
- const { resourceId } = this.part(resource);
29
- await this.apiGateway.deleteResource({
30
- input: { restApiId, resourceId },
31
- });
29
+ const { resourceId } = simCfnRestApiPart(resource);
30
+ await this.apiGateway.deleteResource({ input: { restApiId, resourceId } }, options);
32
31
  return;
33
32
  }
34
33
  case "Authorizer": {
35
- const { authorizerId } = this.part(resource);
36
- await this.apiGateway.deleteAuthorizer({
37
- input: { restApiId, authorizerId },
38
- });
34
+ const { authorizerId } = simCfnRestApiPart(resource);
35
+ await this.apiGateway.deleteAuthorizer({ input: { restApiId, authorizerId } }, options);
39
36
  return;
40
37
  }
41
38
  case "Method": {
42
- await this.apiGateway.deleteMethod({
43
- input: {
44
- restApiId,
45
- resourceId: this.property(resource, properties["ResourceId"], "ResourceId"),
46
- httpMethod: this.property(resource, properties["HttpMethod"], "HttpMethod"),
47
- },
48
- });
39
+ const resourceId = simCfnRestApiPartProperty(resource, properties["ResourceId"], "ResourceId");
40
+ const httpMethod = simCfnRestApiPartProperty(resource, properties["HttpMethod"], "HttpMethod");
41
+ await this.apiGateway.deleteMethod({ input: { restApiId, resourceId, httpMethod } }, options);
49
42
  return;
50
43
  }
51
44
  case "Stage": {
52
- const { stageName } = this.part(resource);
53
- await this.apiGateway.deleteStage({
54
- input: { restApiId, stageName },
55
- });
45
+ const { stageName } = simCfnRestApiPart(resource);
46
+ await this.apiGateway.deleteStage({ input: { restApiId, stageName } }, options);
56
47
  return;
57
48
  }
58
49
  default: {
@@ -61,25 +52,4 @@ export class SimCfnRestApiPartDeleter {
61
52
  }
62
53
  }
63
54
  }
64
- /**
65
- * The simulated object created for this Resource.
66
- */
67
- part(resource) {
68
- const part = resource.simResource;
69
- /* v8 ignore if -- a Resource that was never created is not deleted */
70
- if (part === undefined) {
71
- throw new TypeError(`sim REST API part for CloudFormation Resource ${resource.logicalId} is missing`);
72
- }
73
- return part;
74
- }
75
- restApiId(resource, properties) {
76
- return this.property(resource, properties["RestApiId"], "RestApiId");
77
- }
78
- property(resource, value, name) {
79
- /* v8 ignore if -- creation refused the Resource without this string */
80
- if (typeof value !== "string") {
81
- throw new TypeError(`AWS::ApiGateway Resource ${resource.logicalId} requires a ${name} string to delete`);
82
- }
83
- return value;
84
- }
85
55
  }
@@ -0,0 +1,10 @@
1
+ import type { SimCfnResource } from "../../cloudformation/resource/sim-cfn-resource.js";
2
+ import type { SimCfnTemplateValue } from "../../cloudformation/template/value/sim-cfn-template-value.js";
3
+ /**
4
+ * The simulated object created for a REST API part Resource.
5
+ */
6
+ export declare function simCfnRestApiPart<T extends object>(resource: SimCfnResource): T;
7
+ /**
8
+ * A string a REST API part Resource has to carry to be addressed again.
9
+ */
10
+ export declare function simCfnRestApiPartProperty(resource: SimCfnResource, value: SimCfnTemplateValue | undefined, name: string): string;