nomoss 0.0.5 → 0.0.6

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 (635) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +3 -1
  3. package/ROADMAP.md +1 -1
  4. package/docs/README.md +2 -0
  5. package/docs/application/aws-resource-coverage.md +111 -20
  6. package/docs/application/designs/awsRequestBodyEncoding.ts +91 -0
  7. package/docs/application/designs/createBucketModeledErrors.ts +164 -0
  8. package/docs/application/designs/describeSubnetsEc2Query.ts +186 -0
  9. package/docs/application/designs/getBucketTaggingResponseDecoding.ts +136 -0
  10. package/docs/application/designs/lambdaGetPolicyRequest.ts +85 -0
  11. package/docs/application/designs/s3GetObjectDownload.ts +97 -0
  12. package/docs/application/designs/s3ObjectMetadata.ts +154 -0
  13. package/docs/application/designs/selectObjectContentEvents.ts +185 -0
  14. package/docs/application/generation-architecture.md +38 -0
  15. package/docs/application/resource-operations.md +4 -2
  16. package/docs/development/code-documentation.md +2 -0
  17. package/docs/development/design-walkthroughs.md +49 -0
  18. package/docs/development/effect-native-development.md +31 -2
  19. package/docs/development/review-code.md +1 -1
  20. package/docs/development/review-remediation-spec.md +1 -0
  21. package/docs/development/testing.md +20 -0
  22. package/docs/operations/releasing.md +4 -2
  23. package/examples/queue/application.ts +1 -1
  24. package/media/nomoss-logo.svg +16 -0
  25. package/package.json +8 -14
  26. package/providers/aws/README.md +7 -7
  27. package/providers/aws/awsEnvironment.ts +3 -3
  28. package/providers/aws/generated/resources/apigateway/apikey.ts +335 -0
  29. package/providers/aws/generated/resources/apigateway/authorizer.ts +329 -0
  30. package/providers/aws/generated/resources/apigateway/basepathmapping.ts +265 -0
  31. package/providers/aws/generated/resources/apigateway/deployment.ts +515 -0
  32. package/providers/aws/generated/resources/apigateway/domainname.ts +354 -0
  33. package/providers/aws/generated/resources/apigateway/gatewayresponse.ts +222 -0
  34. package/providers/aws/generated/resources/apigateway/method.ts +819 -0
  35. package/providers/aws/generated/resources/apigateway/model.ts +248 -0
  36. package/providers/aws/generated/resources/apigateway/requestvalidator.ts +224 -0
  37. package/providers/aws/generated/resources/apigateway/resource.ts +235 -0
  38. package/providers/aws/generated/resources/apigateway/restapi.ts +583 -0
  39. package/providers/aws/generated/resources/apigateway/stage.ts +656 -0
  40. package/providers/aws/generated/resources/apigateway/usageplan.ts +394 -0
  41. package/providers/aws/generated/resources/apigateway/usageplankey.ts +228 -0
  42. package/providers/aws/generated/resources/apigatewayv2/api.ts +40 -60
  43. package/providers/aws/generated/resources/apigatewayv2/apimapping.ts +284 -0
  44. package/providers/aws/generated/resources/apigatewayv2/authorizer.ts +333 -0
  45. package/providers/aws/generated/resources/apigatewayv2/deployment.ts +226 -0
  46. package/providers/aws/generated/resources/apigatewayv2/domainname.ts +333 -0
  47. package/providers/aws/generated/resources/apigatewayv2/integration.ts +70 -103
  48. package/providers/aws/generated/resources/apigatewayv2/integrationresponse.ts +323 -0
  49. package/providers/aws/generated/resources/apigatewayv2/model.ts +241 -0
  50. package/providers/aws/generated/resources/apigatewayv2/route.ts +59 -63
  51. package/providers/aws/generated/resources/apigatewayv2/routeresponse.ts +330 -0
  52. package/providers/aws/generated/resources/apigatewayv2/routingrule.ts +349 -0
  53. package/providers/aws/generated/resources/apigatewayv2/stage.ts +45 -66
  54. package/providers/aws/generated/resources/apigatewayv2/vpclink.ts +256 -0
  55. package/providers/aws/generated/resources/appsync/api.ts +486 -0
  56. package/providers/aws/generated/resources/appsync/apicache.ts +169 -0
  57. package/providers/aws/generated/resources/appsync/apikey.ts +245 -0
  58. package/providers/aws/generated/resources/appsync/channelnamespace.ts +444 -0
  59. package/providers/aws/generated/resources/appsync/datasource.ts +757 -0
  60. package/providers/aws/generated/resources/appsync/domainname.ts +355 -0
  61. package/providers/aws/generated/resources/appsync/domainnameapiassociation.ts +284 -0
  62. package/providers/aws/generated/resources/appsync/functionconfiguration.ts +448 -0
  63. package/providers/aws/generated/resources/appsync/graphqlapi.ts +1028 -0
  64. package/providers/aws/generated/resources/appsync/graphqlschema.ts +188 -0
  65. package/providers/aws/generated/resources/appsync/resolver.ts +514 -0
  66. package/providers/aws/generated/resources/appsync/sourceapiassociation.ts +429 -0
  67. package/providers/aws/generated/resources/certificatemanager/certificate.ts +211 -0
  68. package/providers/aws/generated/resources/cloudfront/cachepolicy.ts +352 -0
  69. package/providers/aws/generated/resources/cloudfront/distribution.ts +2477 -0
  70. package/providers/aws/generated/resources/cloudfront/function.ts +313 -0
  71. package/providers/aws/generated/resources/cloudfront/originaccesscontrol.ts +204 -0
  72. package/providers/aws/generated/resources/cloudfront/originrequestpolicy.ts +285 -0
  73. package/providers/aws/generated/resources/cloudfront/responseheaderspolicy.ts +591 -0
  74. package/providers/aws/generated/resources/cloudwatch/alarm.ts +4545 -0
  75. package/providers/aws/generated/resources/cloudwatch/compositealarm.ts +678 -0
  76. package/providers/aws/generated/resources/cloudwatch/dashboard.ts +229 -0
  77. package/providers/aws/generated/resources/cognito/identitypool.ts +419 -0
  78. package/providers/aws/generated/resources/cognito/identitypoolroleattachment.ts +288 -0
  79. package/providers/aws/generated/resources/cognito/userpool.ts +1372 -0
  80. package/providers/aws/generated/resources/cognito/userpoolclient.ts +555 -0
  81. package/providers/aws/generated/resources/cognito/userpooldomain.ts +223 -0
  82. package/providers/aws/generated/resources/cognito/userpoolgroup.ts +265 -0
  83. package/providers/aws/generated/resources/cognito/userpoolidentityprovider.ts +216 -0
  84. package/providers/aws/generated/resources/cognito/userpoolresourceserver.ts +233 -0
  85. package/providers/aws/generated/resources/dynamodb/globaltable.ts +1002 -0
  86. package/providers/aws/generated/resources/dynamodb/table.ts +1058 -0
  87. package/providers/aws/generated/resources/ec2/eip.ts +303 -0
  88. package/providers/aws/generated/resources/ec2/instance.ts +1756 -0
  89. package/providers/aws/generated/resources/ec2/internetgateway.ts +185 -0
  90. package/providers/aws/generated/resources/ec2/launchtemplate.ts +2218 -0
  91. package/providers/aws/generated/resources/ec2/natgateway.ts +509 -0
  92. package/providers/aws/generated/resources/ec2/route.ts +595 -0
  93. package/providers/aws/generated/resources/ec2/routetable.ts +207 -0
  94. package/providers/aws/generated/resources/ec2/securitygroup.ts +460 -0
  95. package/providers/aws/generated/resources/ec2/securitygroupegress.ts +332 -0
  96. package/providers/aws/generated/resources/ec2/securitygroupingress.ts +488 -0
  97. package/providers/aws/generated/resources/ec2/subnet.ts +492 -0
  98. package/providers/aws/generated/resources/ec2/subnetroutetableassociation.ts +228 -0
  99. package/providers/aws/generated/resources/ec2/volume.ts +267 -0
  100. package/providers/aws/generated/resources/ec2/volumeattachment.ts +268 -0
  101. package/providers/aws/generated/resources/ec2/vpc.ts +288 -0
  102. package/providers/aws/generated/resources/ec2/vpcendpoint.ts +660 -0
  103. package/providers/aws/generated/resources/ec2/vpcgatewayattachment.ts +290 -0
  104. package/providers/aws/generated/resources/ec2/vpcpeeringconnection.ts +310 -0
  105. package/providers/aws/generated/resources/ecr/repository.ts +627 -0
  106. package/providers/aws/generated/resources/ecs/cluster.ts +616 -0
  107. package/providers/aws/generated/resources/ecs/service.ts +2065 -0
  108. package/providers/aws/generated/resources/ecs/taskdefinition.ts +1848 -0
  109. package/providers/aws/generated/resources/elasticloadbalancingv2/listener.ts +1166 -0
  110. package/providers/aws/generated/resources/elasticloadbalancingv2/listenercertificate.ts +168 -0
  111. package/providers/aws/generated/resources/elasticloadbalancingv2/listenerrule.ts +1219 -0
  112. package/providers/aws/generated/resources/elasticloadbalancingv2/loadbalancer.ts +706 -0
  113. package/providers/aws/generated/resources/elasticloadbalancingv2/targetgroup.ts +699 -0
  114. package/providers/aws/generated/resources/events/apidestination.ts +314 -0
  115. package/providers/aws/generated/resources/events/archive.ts +316 -0
  116. package/providers/aws/generated/resources/events/connection.ts +609 -0
  117. package/providers/aws/generated/resources/events/endpoint.ts +551 -0
  118. package/providers/aws/generated/resources/events/eventbus.ts +261 -0
  119. package/providers/aws/generated/resources/events/eventbuspolicy.ts +343 -0
  120. package/providers/aws/generated/resources/events/rule.ts +1253 -0
  121. package/providers/aws/generated/resources/eventschemas/discoverer.ts +273 -0
  122. package/providers/aws/generated/resources/eventschemas/registry.ts +183 -0
  123. package/providers/aws/generated/resources/eventschemas/registrypolicy.ts +193 -0
  124. package/providers/aws/generated/resources/eventschemas/schema.ts +305 -0
  125. package/providers/aws/generated/resources/iam/accesskey.ts +12 -16
  126. package/providers/aws/generated/resources/iam/group.ts +13 -16
  127. package/providers/aws/generated/resources/iam/grouppolicy.ts +16 -20
  128. package/providers/aws/generated/resources/iam/instanceprofile.ts +2 -2
  129. package/providers/aws/generated/resources/iam/managedpolicy.ts +27 -36
  130. package/providers/aws/generated/resources/iam/oidcprovider.ts +52 -104
  131. package/providers/aws/generated/resources/iam/policy.ts +33 -90
  132. package/providers/aws/generated/resources/iam/role.ts +45 -60
  133. package/providers/aws/generated/resources/iam/rolepolicy.ts +16 -20
  134. package/providers/aws/generated/resources/iam/samlprovider.ts +72 -164
  135. package/providers/aws/generated/resources/iam/servercertificate.ts +73 -187
  136. package/providers/aws/generated/resources/iam/servicelinkedrole.ts +24 -40
  137. package/providers/aws/generated/resources/iam/user.ts +26 -32
  138. package/providers/aws/generated/resources/iam/userpolicy.ts +16 -20
  139. package/providers/aws/generated/resources/iam/usertogroupaddition.ts +2 -2
  140. package/providers/aws/generated/resources/iam/virtualmfadevice.ts +53 -97
  141. package/providers/aws/generated/resources/kms/alias.ts +225 -0
  142. package/providers/aws/generated/resources/kms/key.ts +33 -207
  143. package/providers/aws/generated/resources/kms/replicakey.ts +292 -0
  144. package/providers/aws/generated/resources/lambda/alias.ts +301 -0
  145. package/providers/aws/generated/resources/lambda/codesigningconfig.ts +414 -0
  146. package/providers/aws/generated/resources/lambda/eventinvokeconfig.ts +677 -0
  147. package/providers/aws/generated/resources/lambda/eventsourcemapping.ts +1798 -0
  148. package/providers/aws/generated/resources/lambda/function.ts +135 -181
  149. package/providers/aws/generated/resources/lambda/layerversion.ts +298 -0
  150. package/providers/aws/generated/resources/lambda/layerversionpermission.ts +233 -0
  151. package/providers/aws/generated/resources/lambda/permission.ts +13 -14
  152. package/providers/aws/generated/resources/lambda/url.ts +452 -0
  153. package/providers/aws/generated/resources/lambda/version.ts +349 -0
  154. package/providers/aws/generated/resources/pipes/pipe.ts +3801 -0
  155. package/providers/aws/generated/resources/rds/dbcluster.ts +1710 -0
  156. package/providers/aws/generated/resources/rds/dbinstance.ts +2248 -0
  157. package/providers/aws/generated/resources/rds/dbsubnetgroup.ts +270 -0
  158. package/providers/aws/generated/resources/route53/healthcheck.ts +648 -0
  159. package/providers/aws/generated/resources/route53/hostedzone.ts +430 -0
  160. package/providers/aws/generated/resources/route53/recordset.ts +249 -0
  161. package/providers/aws/generated/resources/route53/recordsetgroup.ts +263 -0
  162. package/providers/aws/generated/resources/s3/accesspoint.ts +616 -0
  163. package/providers/aws/generated/resources/s3/bucket.ts +1733 -1831
  164. package/providers/aws/generated/resources/s3/bucketpolicy.ts +214 -0
  165. package/providers/aws/generated/resources/scheduler/schedule.ts +1563 -0
  166. package/providers/aws/generated/resources/scheduler/schedulegroup.ts +351 -0
  167. package/providers/aws/generated/resources/secretsmanager/resourcepolicy.ts +242 -0
  168. package/providers/aws/generated/resources/secretsmanager/rotationschedule.ts +314 -0
  169. package/providers/aws/generated/resources/secretsmanager/secret.ts +327 -0
  170. package/providers/aws/generated/resources/secretsmanager/secrettargetattachment.ts +167 -0
  171. package/providers/aws/generated/resources/sns/subscription.ts +488 -0
  172. package/providers/aws/generated/resources/sns/topic.ts +60 -88
  173. package/providers/aws/generated/resources/sns/topicinlinepolicy.ts +169 -0
  174. package/providers/aws/generated/resources/sns/topicpolicy.ts +172 -0
  175. package/providers/aws/generated/resources/sqs/queue.ts +53 -82
  176. package/providers/aws/generated/resources/sqs/queueinlinepolicy.ts +163 -0
  177. package/providers/aws/generated/resources/sqs/queuepolicy.ts +172 -0
  178. package/providers/aws/generated/resources/ssm/association.ts +906 -0
  179. package/providers/aws/generated/resources/ssm/document.ts +472 -0
  180. package/providers/aws/generated/resources/ssm/maintenancewindow.ts +225 -0
  181. package/providers/aws/generated/resources/ssm/maintenancewindowtarget.ts +289 -0
  182. package/providers/aws/generated/resources/ssm/maintenancewindowtask.ts +497 -0
  183. package/providers/aws/generated/resources/ssm/parameter.ts +258 -0
  184. package/providers/aws/generated/resources/ssm/patchbaseline.ts +668 -0
  185. package/providers/aws/generated/resources/ssm/resourcedatasync.ts +465 -0
  186. package/providers/aws/generated/resources/ssm/resourcepolicy.ts +211 -0
  187. package/providers/aws/generated/resources/stepfunctions/activity.ts +237 -0
  188. package/providers/aws/generated/resources/stepfunctions/statemachine.ts +54 -41
  189. package/providers/aws/generated/resources/stepfunctions/statemachinealias.ts +361 -0
  190. package/providers/aws/generated/resources/stepfunctions/statemachineversion.ts +202 -0
  191. package/providers/aws/management/ec2/internetGateway.ts +129 -0
  192. package/providers/aws/management/ec2/resourceTags.ts +89 -0
  193. package/providers/aws/management/ec2/route.ts +254 -0
  194. package/providers/aws/management/ec2/routeTable.ts +138 -0
  195. package/providers/aws/management/ec2/subnet.ts +511 -0
  196. package/providers/aws/management/ec2/subnetRouteTableAssociation.ts +129 -0
  197. package/providers/aws/management/ec2/vpc.ts +466 -0
  198. package/providers/aws/management/ec2/vpcGatewayAttachment.ts +238 -0
  199. package/providers/aws/management/iam/role.ts +520 -0
  200. package/providers/aws/management/lambda/function.ts +651 -0
  201. package/providers/aws/management/resourcePolicies.ts +102 -0
  202. package/providers/aws/management/s3/bucket.ts +315 -0
  203. package/providers/aws/management/s3/bucketConfiguration.ts +1102 -0
  204. package/providers/aws/runtime.ts +17 -19
  205. package/src/core/resource/model.ts +13 -3
  206. package/src/core/resource/resourceCommandPolicy.ts +5 -1
  207. package/src/core/resource/resourceEntries.ts +193 -0
  208. package/src/core/resource/resourceLifecycle.ts +39 -23
  209. package/src/core/stack/planner.ts +78 -40
  210. package/src/core/stack/resourceStackLifecycle.ts +112 -18
  211. package/src/core/stack/resourceStackOperations.ts +18 -0
  212. package/src/core/stack/stackWorkflowRenderer.ts +12 -3
  213. package/src/core/state/stateStore.ts +47 -10
  214. package/src/providers/providerRuntimeLayer.ts +1 -1
  215. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsEntitySchema.ts +5 -5055
  216. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsSchema.ts +5 -5055
  217. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsValidators.ts +5058 -0
  218. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsEntitySchema.ts +5 -2443
  219. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsSchema.ts +5 -2443
  220. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsValidators.ts +2446 -0
  221. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsEntitySchema.ts +5 -23
  222. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsSchema.ts +5 -23
  223. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsValidators.ts +26 -0
  224. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsEntitySchema.ts +5 -63
  225. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsSchema.ts +5 -63
  226. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsValidators.ts +66 -0
  227. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsEntitySchema.ts +11 -121
  228. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsSchema.ts +11 -121
  229. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsValidators.ts +130 -0
  230. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsEntitySchema.ts +17 -21
  231. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsSchema.ts +4 -12
  232. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsValidators.ts +109 -0
  233. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsEntitySchema.ts +3 -2
  234. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsSchema.ts +3 -2
  235. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsValidators.ts +11 -0
  236. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsEntitySchema.ts +18 -108
  237. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsSchema.ts +18 -108
  238. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsValidators.ts +122 -0
  239. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsEntitySchema.ts +5 -30
  240. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsSchema.ts +5 -30
  241. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsValidators.ts +34 -0
  242. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsEntitySchema.ts +5 -110
  243. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsSchema.ts +5 -110
  244. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsValidators.ts +113 -0
  245. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsEntitySchema.ts +42 -218
  246. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsSchema.ts +63 -336
  247. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsValidators.ts +604 -0
  248. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsEntitySchema.ts +11 -123
  249. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsSchema.ts +11 -123
  250. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsValidators.ts +133 -0
  251. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsEntitySchema.ts +25 -322
  252. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsSchema.ts +20 -317
  253. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsValidators.ts +359 -0
  254. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsEntitySchema.ts +139 -4161
  255. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsSchema.ts +181 -4265
  256. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsValidators.ts +4529 -0
  257. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsEntitySchema.ts +5 -86
  258. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsSchema.ts +5 -86
  259. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsValidators.ts +89 -0
  260. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsEntitySchema.ts +5 -151
  261. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsSchema.ts +5 -151
  262. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsValidators.ts +154 -0
  263. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsEntitySchema.ts +34 -169
  264. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsSchema.ts +24 -159
  265. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsValidators.ts +235 -0
  266. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsEntitySchema.ts +46 -644
  267. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsSchema.ts +41 -639
  268. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsValidators.ts +691 -0
  269. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsEntitySchema.ts +5 -46
  270. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsSchema.ts +5 -46
  271. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsValidators.ts +49 -0
  272. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsEntitySchema.ts +5 -160
  273. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsSchema.ts +5 -160
  274. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsValidators.ts +163 -0
  275. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsEntitySchema.ts +8 -19
  276. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsSchema.ts +8 -19
  277. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsValidators.ts +28 -0
  278. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsEntitySchema.ts +5 -55
  279. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsSchema.ts +5 -55
  280. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsValidators.ts +58 -0
  281. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsEntitySchema.ts +36 -121
  282. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsSchema.ts +24 -111
  283. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsValidators.ts +183 -0
  284. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsEntitySchema.ts +5 -119
  285. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsSchema.ts +5 -119
  286. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsValidators.ts +122 -0
  287. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsEntitySchema.ts +5 -45
  288. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsSchema.ts +5 -45
  289. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsValidators.ts +48 -0
  290. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsEntitySchema.ts +5 -195
  291. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsSchema.ts +5 -195
  292. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsValidators.ts +198 -0
  293. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsEntitySchema.ts +5 -97
  294. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsSchema.ts +5 -97
  295. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsValidators.ts +100 -0
  296. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsEntitySchema.ts +69 -1282
  297. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsSchema.ts +43 -1259
  298. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsValidators.ts +1417 -0
  299. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsEntitySchema.ts +32 -126
  300. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsSchema.ts +27 -121
  301. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsValidators.ts +172 -0
  302. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsEntitySchema.ts +32 -2103
  303. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsSchema.ts +32 -2103
  304. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsValidators.ts +2134 -0
  305. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsEntitySchema.ts +37 -2065
  306. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsSchema.ts +32 -2060
  307. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsValidators.ts +2196 -0
  308. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsEntitySchema.ts +56 -97
  309. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsSchema.ts +98 -251
  310. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsValidators.ts +1024 -0
  311. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsEntitySchema.ts +14 -89
  312. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsSchema.ts +14 -89
  313. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsValidators.ts +100 -0
  314. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsEntitySchema.ts +5 -246
  315. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsSchema.ts +5 -246
  316. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsValidators.ts +249 -0
  317. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsEntitySchema.ts +5 -115
  318. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsSchema.ts +5 -115
  319. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsValidators.ts +118 -0
  320. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsEntitySchema.ts +65 -5205
  321. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsSchema.ts +59 -5200
  322. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsValidators.ts +5124 -0
  323. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsEntitySchema.ts +101 -1508
  324. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsSchema.ts +95 -1598
  325. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsValidators.ts +2039 -0
  326. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsEntitySchema.ts +5 -2272
  327. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsSchema.ts +5 -2272
  328. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsValidators.ts +2276 -0
  329. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsEntitySchema.ts +5 -37
  330. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsSchema.ts +5 -37
  331. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsValidators.ts +40 -0
  332. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsEntitySchema.ts +194 -1425
  333. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsSchema.ts +194 -1425
  334. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsValidators.ts +1580 -0
  335. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsEntitySchema.ts +5 -265
  336. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsSchema.ts +5 -265
  337. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsValidators.ts +268 -0
  338. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsEntitySchema.ts +14 -28
  339. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsSchema.ts +14 -28
  340. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsValidators.ts +42 -0
  341. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsEntitySchema.ts +26 -96
  342. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsSchema.ts +26 -96
  343. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsValidators.ts +117 -0
  344. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsEntitySchema.ts +35 -314
  345. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsSchema.ts +35 -314
  346. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsValidators.ts +330 -0
  347. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsEntitySchema.ts +5 -33
  348. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsSchema.ts +5 -33
  349. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsValidators.ts +37 -0
  350. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsEntitySchema.ts +16 -43
  351. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsSchema.ts +9 -39
  352. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsValidators.ts +105 -0
  353. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsEntitySchema.ts +5 -358
  354. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsSchema.ts +5 -358
  355. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsValidators.ts +361 -0
  356. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsEntitySchema.ts +18 -66
  357. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsSchema.ts +11 -61
  358. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsValidators.ts +100 -0
  359. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsEntitySchema.ts +73 -366
  360. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsSchema.ts +49 -345
  361. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsValidators.ts +569 -0
  362. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsEntitySchema.ts +5 -39
  363. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsSchema.ts +5 -39
  364. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsValidators.ts +42 -0
  365. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsEntitySchema.ts +5 -76
  366. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsSchema.ts +5 -76
  367. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsValidators.ts +79 -0
  368. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsEntitySchema.ts +5 -27
  369. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsSchema.ts +5 -27
  370. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsValidators.ts +30 -0
  371. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsEntitySchema.ts +11 -30
  372. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsSchema.ts +11 -30
  373. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsValidators.ts +41 -0
  374. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsEntitySchema.ts +5 -1356
  375. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsSchema.ts +5 -1356
  376. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsValidators.ts +1359 -0
  377. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsEntitySchema.ts +35 -2767
  378. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsSchema.ts +35 -2767
  379. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsValidators.ts +2761 -0
  380. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsEntitySchema.ts +5 -170
  381. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsSchema.ts +5 -170
  382. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsValidators.ts +173 -0
  383. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsEntitySchema.ts +5 -549
  384. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsSchema.ts +5 -549
  385. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsValidators.ts +552 -0
  386. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsEntitySchema.ts +32 -143
  387. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsSchema.ts +27 -138
  388. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsValidators.ts +187 -0
  389. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsEntitySchema.ts +99 -1668
  390. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsSchema.ts +70 -1644
  391. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsValidators.ts +1872 -0
  392. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsEntitySchema.ts +123 -497
  393. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsSchema.ts +118 -755
  394. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsValidators.ts +1902 -0
  395. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsEntitySchema.ts +23 -301
  396. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsSchema.ts +11 -291
  397. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsValidators.ts +359 -0
  398. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsEntitySchema.ts +5 -113
  399. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsSchema.ts +5 -113
  400. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsValidators.ts +116 -0
  401. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsEntitySchema.ts +5 -159
  402. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsSchema.ts +5 -159
  403. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsValidators.ts +162 -0
  404. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsEntitySchema.ts +5 -3321
  405. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsSchema.ts +5 -3321
  406. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsValidators.ts +3324 -0
  407. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsEntitySchema.ts +73 -698
  408. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsSchema.ts +23 -646
  409. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsValidators.ts +931 -0
  410. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsEntitySchema.ts +5 -292
  411. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsSchema.ts +5 -292
  412. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsValidators.ts +295 -0
  413. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsEntitySchema.ts +8 -19
  414. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsSchema.ts +8 -19
  415. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsValidators.ts +29 -0
  416. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsEntitySchema.ts +5 -47
  417. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsSchema.ts +5 -47
  418. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsValidators.ts +51 -0
  419. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsEntitySchema.ts +40 -629
  420. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsSchema.ts +40 -629
  421. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsValidators.ts +655 -0
  422. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsEntitySchema.ts +5 -2387
  423. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsSchema.ts +5 -2387
  424. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsValidators.ts +2391 -0
  425. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsEntitySchema.ts +11 -50
  426. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsSchema.ts +11 -50
  427. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsValidators.ts +58 -0
  428. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsEntitySchema.ts +11 -21
  429. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsSchema.ts +11 -21
  430. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsValidators.ts +34 -0
  431. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsEntitySchema.ts +5 -36
  432. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsSchema.ts +5 -36
  433. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsValidators.ts +40 -0
  434. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsEntitySchema.ts +5 -36
  435. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsSchema.ts +5 -36
  436. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsValidators.ts +40 -0
  437. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsEntitySchema.ts +5 -276
  438. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsSchema.ts +5 -275
  439. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsValidators.ts +279 -0
  440. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsEntitySchema.ts +5 -73
  441. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsSchema.ts +5 -73
  442. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsValidators.ts +77 -0
  443. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsEntitySchema.ts +5 -340
  444. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsSchema.ts +5 -340
  445. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsValidators.ts +344 -0
  446. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsEntitySchema.ts +5 -137
  447. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsSchema.ts +5 -137
  448. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsValidators.ts +141 -0
  449. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsEntitySchema.ts +5 -45
  450. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsSchema.ts +5 -45
  451. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsValidators.ts +48 -0
  452. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsEntitySchema.ts +144 -3036
  453. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsSchema.ts +279 -3175
  454. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsValidators.ts +3457 -0
  455. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsEntitySchema.ts +5 -883
  456. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsSchema.ts +5 -882
  457. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsValidators.ts +886 -0
  458. package/src/providers/stripe/client/stripeClient.ts +11 -15
  459. package/providers/aws/generated/managementRegistry.ts +0 -136
  460. package/providers/aws/management/mappings/iam/group.ts +0 -63
  461. package/providers/aws/management/mappings/iam/iamIdentity.ts +0 -41
  462. package/providers/aws/management/mappings/iam/iamLifecycleSettings.ts +0 -8
  463. package/providers/aws/management/mappings/iam/inlinePolicies.ts +0 -159
  464. package/providers/aws/management/mappings/iam/instanceProfile.ts +0 -77
  465. package/providers/aws/management/mappings/iam/oidcProvider.ts +0 -94
  466. package/providers/aws/management/mappings/iam/role.ts +0 -74
  467. package/providers/aws/management/mappings/iam/samlProvider.ts +0 -98
  468. package/providers/aws/management/mappings/iam/serverCertificate.ts +0 -72
  469. package/providers/aws/management/mappings/iam/user.ts +0 -61
  470. package/providers/aws/management/mappings/iam/userToGroupAddition.ts +0 -75
  471. package/providers/aws/management/operations/iam/accessKey.ts +0 -206
  472. package/providers/aws/management/operations/iam/managedPolicy.ts +0 -491
  473. package/providers/aws/management/operations/iam/policy.ts +0 -476
  474. package/providers/aws/management/operations/iam/serviceLinkedRole.ts +0 -172
  475. package/providers/aws/management/operations/iam/virtualMfaDevice.ts +0 -253
  476. package/providers/aws/management/resourceAssociationConfiguration.ts +0 -112
  477. package/providers/aws/management/resourceAssociationRegistration.ts +0 -349
  478. package/providers/aws/management/resourceAssociations.ts +0 -168
  479. package/providers/aws/management/resourceConfiguration.ts +0 -119
  480. package/providers/aws/management/resourceLifecycleRegistration.ts +0 -540
  481. package/providers/aws/management/resourceManagementModule.ts +0 -31
  482. package/providers/aws/management/resourceManagementRegistry.ts +0 -62
  483. package/providers/aws/management/resourceMapping.ts +0 -84
  484. package/providers/aws/management/resourceOperation.ts +0 -134
  485. package/providers/aws/management/resourceTagOperations.ts +0 -108
  486. package/providers/aws/management/resourceTiming.ts +0 -4
  487. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives.ts +0 -35
  488. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_1.ts +0 -35
  489. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_10.ts +0 -44
  490. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_100.ts +0 -35
  491. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_101.ts +0 -35
  492. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_102.ts +0 -35
  493. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_103.ts +0 -35
  494. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_104.ts +0 -35
  495. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_105.ts +0 -35
  496. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_106.ts +0 -35
  497. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_107.ts +0 -35
  498. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_108.ts +0 -35
  499. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_11.ts +0 -68
  500. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_12.ts +0 -35
  501. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_13.ts +0 -35
  502. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_14.ts +0 -35
  503. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_15.ts +0 -35
  504. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_16.ts +0 -35
  505. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_17.ts +0 -44
  506. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_18.ts +0 -35
  507. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_19.ts +0 -35
  508. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_2.ts +0 -35
  509. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_20.ts +0 -35
  510. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_21.ts +0 -35
  511. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_22.ts +0 -35
  512. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_23.ts +0 -35
  513. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_24.ts +0 -35
  514. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_25.ts +0 -35
  515. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_26.ts +0 -44
  516. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_27.ts +0 -35
  517. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_28.ts +0 -35
  518. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_29.ts +0 -35
  519. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_3.ts +0 -35
  520. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_30.ts +0 -35
  521. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_31.ts +0 -35
  522. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_32.ts +0 -35
  523. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_33.ts +0 -35
  524. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_34.ts +0 -35
  525. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_35.ts +0 -59
  526. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_36.ts +0 -35
  527. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_37.ts +0 -35
  528. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_38.ts +0 -35
  529. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_39.ts +0 -35
  530. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_4.ts +0 -35
  531. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_40.ts +0 -35
  532. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_41.ts +0 -111
  533. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_42.ts +0 -35
  534. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_43.ts +0 -77
  535. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_44.ts +0 -35
  536. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_45.ts +0 -35
  537. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_46.ts +0 -35
  538. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_47.ts +0 -35
  539. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_48.ts +0 -50
  540. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_49.ts +0 -35
  541. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_5.ts +0 -35
  542. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_50.ts +0 -83
  543. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_51.ts +0 -35
  544. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_52.ts +0 -50
  545. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_53.ts +0 -35
  546. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_54.ts +0 -74
  547. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_55.ts +0 -35
  548. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_56.ts +0 -65
  549. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_57.ts +0 -35
  550. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_58.ts +0 -79
  551. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_59.ts +0 -35
  552. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_6.ts +0 -35
  553. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_60.ts +0 -35
  554. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_61.ts +0 -35
  555. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_62.ts +0 -44
  556. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_63.ts +0 -35
  557. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_64.ts +0 -35
  558. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_65.ts +0 -44
  559. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_66.ts +0 -35
  560. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_67.ts +0 -35
  561. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_68.ts +0 -35
  562. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_69.ts +0 -35
  563. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_7.ts +0 -35
  564. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_70.ts +0 -35
  565. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_71.ts +0 -35
  566. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_72.ts +0 -35
  567. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_73.ts +0 -35
  568. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_74.ts +0 -35
  569. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_75.ts +0 -35
  570. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_76.ts +0 -35
  571. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_77.ts +0 -35
  572. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_78.ts +0 -44
  573. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_79.ts +0 -35
  574. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_8.ts +0 -35
  575. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_80.ts +0 -35
  576. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_81.ts +0 -39
  577. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_82.ts +0 -35
  578. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_83.ts +0 -35
  579. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_84.ts +0 -35
  580. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_85.ts +0 -35
  581. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_86.ts +0 -35
  582. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_87.ts +0 -35
  583. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_88.ts +0 -56
  584. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_89.ts +0 -35
  585. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_9.ts +0 -35
  586. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_90.ts +0 -35
  587. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_91.ts +0 -44
  588. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_92.ts +0 -35
  589. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_93.ts +0 -56
  590. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_94.ts +0 -35
  591. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_95.ts +0 -35
  592. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_96.ts +0 -35
  593. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_97.ts +0 -35
  594. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_98.ts +0 -35
  595. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_99.ts +0 -35
  596. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems.ts +0 -38
  597. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_1.ts +0 -39
  598. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_2.ts +0 -38
  599. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_3.ts +0 -154
  600. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_4.ts +0 -51
  601. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_5.ts +0 -120
  602. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties.ts +0 -32
  603. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_1.ts +0 -37
  604. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_10.ts +0 -125
  605. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_11.ts +0 -34
  606. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_12.ts +0 -34
  607. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_13.ts +0 -34
  608. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_14.ts +0 -34
  609. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_15.ts +0 -32
  610. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_16.ts +0 -37
  611. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_17.ts +0 -34
  612. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_18.ts +0 -130
  613. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_19.ts +0 -34
  614. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_2.ts +0 -39
  615. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_20.ts +0 -89
  616. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_21.ts +0 -34
  617. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_22.ts +0 -30
  618. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_23.ts +0 -34
  619. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_24.ts +0 -34
  620. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_25.ts +0 -34
  621. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_26.ts +0 -34
  622. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_27.ts +0 -97
  623. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_28.ts +0 -34
  624. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_29.ts +0 -34
  625. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_3.ts +0 -37
  626. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_30.ts +0 -34
  627. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_31.ts +0 -97
  628. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_32.ts +0 -34
  629. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_33.ts +0 -34
  630. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_4.ts +0 -37
  631. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_5.ts +0 -53
  632. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_6.ts +0 -42
  633. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_7.ts +0 -63
  634. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_8.ts +0 -94
  635. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_9.ts +0 -34
@@ -0,0 +1,3801 @@
1
+ // Generated from the CloudFormation Registry resource schema. Do not edit.
2
+ // biome-ignore-all lint/complexity/useRegexLiterals: Preserve Effect's generated regular expressions.
3
+ import { Effect, Schema } from "effect";
4
+ import {
5
+ annotateResourceSchema,
6
+ ResourceEntity,
7
+ ResourceGraphBuilder,
8
+ type ResourceKey,
9
+ ResourceReferenceSchema,
10
+ ResourceSchemaAnnotationSchema,
11
+ } from "nomoss/core";
12
+ import { ResourceOutputBinding } from "../../../../../src/core/resource/resourceOutputBinding.js";
13
+
14
+ type RequestedPipeState = "RUNNING" | "STOPPED";
15
+
16
+ const RequestedPipeState = Schema.Literals(["RUNNING", "STOPPED"]).annotate({
17
+ identifier: "RequestedPipeState",
18
+ });
19
+
20
+ interface HeaderParametersMap {
21
+ readonly [x: string]: string;
22
+ }
23
+
24
+ const HeaderParametersMap = Schema.Record(
25
+ Schema.String.check(
26
+ Schema.isPattern(
27
+ new globalThis.RegExp(
28
+ "^[!#$%&'*+-.^_`|~0-9a-zA-Z]+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
29
+ "u",
30
+ ),
31
+ ).annotate({
32
+ expected:
33
+ "a string matching the RegExp ^[!#$%&'*+-.^_`|~0-9a-zA-Z]+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
34
+ }),
35
+ ),
36
+ Schema.String.check(
37
+ Schema.isMinCodePoints(0).annotate({
38
+ expected: "a string with at least 0 code points",
39
+ }),
40
+ )
41
+ .check(
42
+ Schema.isMaxCodePoints(512).annotate({
43
+ expected: "a string with at most 512 code points",
44
+ }),
45
+ )
46
+ .check(
47
+ Schema.isPattern(
48
+ new globalThis.RegExp(
49
+ "^[ \\t]*[\\x20-\\x7E]+([ \\t]+[\\x20-\\x7E]+)*[ \\t]*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
50
+ "u",
51
+ ),
52
+ ).annotate({
53
+ expected:
54
+ "a string matching the RegExp ^[ \\t]*[\\x20-\\x7E]+([ \\t]+[\\x20-\\x7E]+)*[ \\t]*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
55
+ }),
56
+ ),
57
+ ).annotate({ identifier: "HeaderParametersMap" });
58
+
59
+ interface QueryStringParametersMap {
60
+ readonly [x: string]: string;
61
+ }
62
+
63
+ const QueryStringParametersMap = Schema.Record(
64
+ Schema.String.check(
65
+ Schema.isPattern(
66
+ new globalThis.RegExp(
67
+ "^[^\\x00-\\x1F\\x7F]+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
68
+ "u",
69
+ ),
70
+ ).annotate({
71
+ expected:
72
+ "a string matching the RegExp ^[^\\x00-\\x1F\\x7F]+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
73
+ }),
74
+ ),
75
+ Schema.String.check(
76
+ Schema.isMinCodePoints(0).annotate({
77
+ expected: "a string with at least 0 code points",
78
+ }),
79
+ )
80
+ .check(
81
+ Schema.isMaxCodePoints(512).annotate({
82
+ expected: "a string with at most 512 code points",
83
+ }),
84
+ )
85
+ .check(
86
+ Schema.isPattern(
87
+ new globalThis.RegExp(
88
+ "^[^\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F]+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
89
+ "u",
90
+ ),
91
+ ).annotate({
92
+ expected:
93
+ "a string matching the RegExp ^[^\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F]+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
94
+ }),
95
+ ),
96
+ ).annotate({ identifier: "QueryStringParametersMap" });
97
+
98
+ interface PipeEnrichmentHttpParameters {
99
+ readonly PathParameterValues?: globalThis.ReadonlyArray<string>;
100
+ readonly HeaderParameters?: HeaderParametersMap;
101
+ readonly QueryStringParameters?: QueryStringParametersMap;
102
+ }
103
+
104
+ const PipeEnrichmentHttpParameters = Schema.Struct({
105
+ PathParameterValues: Schema.optionalKey(
106
+ Schema.Array(
107
+ Schema.String.check(
108
+ Schema.isPattern(
109
+ new globalThis.RegExp(
110
+ "^(?!\\s*$).+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
111
+ "u",
112
+ ),
113
+ ).annotate({
114
+ expected:
115
+ "a string matching the RegExp ^(?!\\s*$).+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
116
+ }),
117
+ ),
118
+ ),
119
+ ),
120
+ HeaderParameters: Schema.optionalKey(HeaderParametersMap),
121
+ QueryStringParameters: Schema.optionalKey(QueryStringParametersMap),
122
+ }).annotate({ identifier: "PipeEnrichmentHttpParameters" });
123
+
124
+ interface PipeEnrichmentParameters {
125
+ readonly InputTemplate?: string;
126
+ readonly HttpParameters?: PipeEnrichmentHttpParameters;
127
+ }
128
+
129
+ const PipeEnrichmentParameters = Schema.Struct({
130
+ InputTemplate: Schema.optionalKey(
131
+ Schema.String.check(
132
+ Schema.isMinCodePoints(0).annotate({
133
+ expected: "a string with at least 0 code points",
134
+ }),
135
+ ).check(
136
+ Schema.isMaxCodePoints(8192).annotate({
137
+ expected: "a string with at most 8192 code points",
138
+ }),
139
+ ),
140
+ ),
141
+ HttpParameters: Schema.optionalKey(PipeEnrichmentHttpParameters),
142
+ }).annotate({ identifier: "PipeEnrichmentParameters" });
143
+
144
+ type S3OutputFormat = "json" | "plain" | "w3c";
145
+
146
+ const S3OutputFormat = Schema.Literals(["json", "plain", "w3c"]).annotate({
147
+ identifier: "S3OutputFormat",
148
+ });
149
+
150
+ interface S3LogDestination {
151
+ readonly BucketName?: string;
152
+ readonly Prefix?: string;
153
+ readonly BucketOwner?: string;
154
+ readonly OutputFormat?: S3OutputFormat;
155
+ }
156
+
157
+ const S3LogDestination = Schema.Struct({
158
+ BucketName: Schema.optionalKey(Schema.String),
159
+ Prefix: Schema.optionalKey(Schema.String),
160
+ BucketOwner: Schema.optionalKey(Schema.String),
161
+ OutputFormat: Schema.optionalKey(S3OutputFormat),
162
+ }).annotate({ identifier: "S3LogDestination" });
163
+
164
+ interface FirehoseLogDestination {
165
+ readonly DeliveryStreamArn?: string;
166
+ }
167
+
168
+ const FirehoseLogDestination = Schema.Struct({
169
+ DeliveryStreamArn: Schema.optionalKey(
170
+ Schema.String.check(
171
+ Schema.isMinLength(1).annotate({
172
+ expected: "a value with a length of at least 1",
173
+ }),
174
+ )
175
+ .check(
176
+ Schema.isMaxCodePoints(1600).annotate({
177
+ expected: "a string with at most 1600 code points",
178
+ }),
179
+ )
180
+ .check(
181
+ Schema.isPattern(
182
+ new globalThis.RegExp(
183
+ "^(^arn:aws([a-z]|-)*:firehose:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):deliverystream\\/.+)$",
184
+ "u",
185
+ ),
186
+ ).annotate({
187
+ expected:
188
+ "a string matching the RegExp ^(^arn:aws([a-z]|-)*:firehose:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):deliverystream\\/.+)$",
189
+ }),
190
+ ),
191
+ ),
192
+ }).annotate({ identifier: "FirehoseLogDestination" });
193
+
194
+ interface CloudwatchLogsLogDestination {
195
+ readonly LogGroupArn?: string;
196
+ }
197
+
198
+ const CloudwatchLogsLogDestination = Schema.Struct({
199
+ LogGroupArn: Schema.optionalKey(
200
+ Schema.String.check(
201
+ Schema.isMinLength(1).annotate({
202
+ expected: "a value with a length of at least 1",
203
+ }),
204
+ )
205
+ .check(
206
+ Schema.isMaxCodePoints(1600).annotate({
207
+ expected: "a string with at most 1600 code points",
208
+ }),
209
+ )
210
+ .check(
211
+ Schema.isPattern(
212
+ new globalThis.RegExp(
213
+ "^(^arn:aws([a-z]|-)*:logs:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):log-group:.+)$",
214
+ "u",
215
+ ),
216
+ ).annotate({
217
+ expected:
218
+ "a string matching the RegExp ^(^arn:aws([a-z]|-)*:logs:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):log-group:.+)$",
219
+ }),
220
+ ),
221
+ ),
222
+ }).annotate({ identifier: "CloudwatchLogsLogDestination" });
223
+
224
+ type LogLevel = "OFF" | "ERROR" | "INFO" | "TRACE";
225
+
226
+ const LogLevel = Schema.Literals(["OFF", "ERROR", "INFO", "TRACE"]).annotate({
227
+ identifier: "LogLevel",
228
+ });
229
+
230
+ type IncludeExecutionDataOption = "ALL";
231
+
232
+ const IncludeExecutionDataOption = Schema.Literal("ALL").annotate({
233
+ identifier: "IncludeExecutionDataOption",
234
+ });
235
+
236
+ interface PipeLogConfiguration {
237
+ readonly S3LogDestination?: S3LogDestination;
238
+ readonly FirehoseLogDestination?: FirehoseLogDestination;
239
+ readonly CloudwatchLogsLogDestination?: CloudwatchLogsLogDestination;
240
+ readonly Level?: LogLevel;
241
+ readonly IncludeExecutionData?: globalThis.ReadonlyArray<IncludeExecutionDataOption>;
242
+ }
243
+
244
+ const PipeLogConfiguration = Schema.Struct({
245
+ S3LogDestination: Schema.optionalKey(S3LogDestination),
246
+ FirehoseLogDestination: Schema.optionalKey(FirehoseLogDestination),
247
+ CloudwatchLogsLogDestination: Schema.optionalKey(
248
+ CloudwatchLogsLogDestination,
249
+ ),
250
+ Level: Schema.optionalKey(LogLevel),
251
+ IncludeExecutionData: Schema.optionalKey(
252
+ Schema.Array(IncludeExecutionDataOption).check(
253
+ Schema.isUnique().annotate({ expected: "an array with unique items" }),
254
+ ),
255
+ ),
256
+ }).annotate({ identifier: "PipeLogConfiguration" });
257
+
258
+ interface Filter {
259
+ readonly Pattern?: string;
260
+ }
261
+
262
+ const Filter = Schema.Struct({
263
+ Pattern: Schema.optionalKey(
264
+ Schema.String.check(
265
+ Schema.isMinCodePoints(0).annotate({
266
+ expected: "a string with at least 0 code points",
267
+ }),
268
+ ).check(
269
+ Schema.isMaxCodePoints(4096).annotate({
270
+ expected: "a string with at most 4096 code points",
271
+ }),
272
+ ),
273
+ ),
274
+ }).annotate({ identifier: "Filter" });
275
+
276
+ interface FilterCriteria {
277
+ readonly Filters?: globalThis.ReadonlyArray<Filter>;
278
+ }
279
+
280
+ const FilterCriteria = Schema.Struct({
281
+ Filters: Schema.optionalKey(
282
+ Schema.Array(Filter)
283
+ .check(
284
+ Schema.isMinLength(0).annotate({
285
+ expected: "a value with a length of at least 0",
286
+ }),
287
+ )
288
+ .check(
289
+ Schema.isMaxLength(5).annotate({
290
+ expected: "a value with a length of at most 5",
291
+ }),
292
+ ),
293
+ ),
294
+ }).annotate({ identifier: "FilterCriteria" });
295
+
296
+ interface DeadLetterConfig {
297
+ readonly Arn?:
298
+ | ResourceEntity<{
299
+ readonly provider: "aws";
300
+ readonly service: "sqs";
301
+ readonly resource: "queue";
302
+ }>
303
+ | string;
304
+ }
305
+
306
+ const DeadLetterConfig = Schema.Struct({
307
+ Arn: Schema.optionalKey(
308
+ Schema.Union([
309
+ Schema.Union([
310
+ ResourceReferenceSchema(
311
+ Schema.Struct({
312
+ provider: Schema.Literal("aws"),
313
+ service: Schema.Literal("sqs"),
314
+ resource: Schema.Literal("queue"),
315
+ }),
316
+ {
317
+ value: null,
318
+ outputs: [
319
+ {
320
+ source: ["Arn"],
321
+ target: [],
322
+ },
323
+ ],
324
+ },
325
+ ).annotate({ expected: "ResourceEntity" }),
326
+ ]),
327
+ Schema.String.check(
328
+ Schema.isMinLength(1).annotate({
329
+ expected: "a value with a length of at least 1",
330
+ }),
331
+ )
332
+ .check(
333
+ Schema.isMaxCodePoints(1600).annotate({
334
+ expected: "a string with at most 1600 code points",
335
+ }),
336
+ )
337
+ .check(
338
+ Schema.isPattern(
339
+ new globalThis.RegExp(
340
+ "^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
341
+ "u",
342
+ ),
343
+ ).annotate({
344
+ expected:
345
+ "a string matching the RegExp ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
346
+ }),
347
+ ),
348
+ ]),
349
+ ),
350
+ }).annotate({ identifier: "DeadLetterConfig" });
351
+
352
+ type OnPartialBatchItemFailureStreams = "AUTOMATIC_BISECT";
353
+
354
+ const OnPartialBatchItemFailureStreams = Schema.Literal(
355
+ "AUTOMATIC_BISECT",
356
+ ).annotate({ identifier: "OnPartialBatchItemFailureStreams" });
357
+
358
+ type KinesisStreamStartPosition = "TRIM_HORIZON" | "LATEST" | "AT_TIMESTAMP";
359
+
360
+ const KinesisStreamStartPosition = Schema.Literals([
361
+ "TRIM_HORIZON",
362
+ "LATEST",
363
+ "AT_TIMESTAMP",
364
+ ]).annotate({ identifier: "KinesisStreamStartPosition" });
365
+
366
+ interface PipeSourceKinesisStreamParameters {
367
+ readonly BatchSize?: number;
368
+ readonly DeadLetterConfig?: DeadLetterConfig;
369
+ readonly OnPartialBatchItemFailure?: OnPartialBatchItemFailureStreams;
370
+ readonly MaximumBatchingWindowInSeconds?: number;
371
+ readonly MaximumRecordAgeInSeconds?: number;
372
+ readonly MaximumRetryAttempts?: number;
373
+ readonly ParallelizationFactor?: number;
374
+ readonly StartingPosition: KinesisStreamStartPosition;
375
+ readonly StartingPositionTimestamp?: string;
376
+ }
377
+
378
+ const PipeSourceKinesisStreamParameters = Schema.Struct({
379
+ BatchSize: Schema.optionalKey(
380
+ Schema.Int.check(
381
+ Schema.isGreaterThanOrEqualTo(1).annotate({
382
+ expected: "a value greater than or equal to 1",
383
+ }),
384
+ ).check(
385
+ Schema.isLessThanOrEqualTo(10000).annotate({
386
+ expected: "a value less than or equal to 10000",
387
+ }),
388
+ ),
389
+ ),
390
+ DeadLetterConfig: Schema.optionalKey(DeadLetterConfig),
391
+ OnPartialBatchItemFailure: Schema.optionalKey(
392
+ OnPartialBatchItemFailureStreams,
393
+ ),
394
+ MaximumBatchingWindowInSeconds: Schema.optionalKey(
395
+ Schema.Int.check(
396
+ Schema.isGreaterThanOrEqualTo(0).annotate({
397
+ expected: "a value greater than or equal to 0",
398
+ }),
399
+ ).check(
400
+ Schema.isLessThanOrEqualTo(300).annotate({
401
+ expected: "a value less than or equal to 300",
402
+ }),
403
+ ),
404
+ ),
405
+ MaximumRecordAgeInSeconds: Schema.optionalKey(
406
+ Schema.Int.check(
407
+ Schema.isGreaterThanOrEqualTo(-1).annotate({
408
+ expected: "a value greater than or equal to -1",
409
+ }),
410
+ ).check(
411
+ Schema.isLessThanOrEqualTo(604800).annotate({
412
+ expected: "a value less than or equal to 604800",
413
+ }),
414
+ ),
415
+ ),
416
+ MaximumRetryAttempts: Schema.optionalKey(
417
+ Schema.Int.check(
418
+ Schema.isGreaterThanOrEqualTo(-1).annotate({
419
+ expected: "a value greater than or equal to -1",
420
+ }),
421
+ ).check(
422
+ Schema.isLessThanOrEqualTo(10000).annotate({
423
+ expected: "a value less than or equal to 10000",
424
+ }),
425
+ ),
426
+ ),
427
+ ParallelizationFactor: Schema.optionalKey(
428
+ Schema.Int.check(
429
+ Schema.isGreaterThanOrEqualTo(1).annotate({
430
+ expected: "a value greater than or equal to 1",
431
+ }),
432
+ ).check(
433
+ Schema.isLessThanOrEqualTo(10).annotate({
434
+ expected: "a value less than or equal to 10",
435
+ }),
436
+ ),
437
+ ),
438
+ StartingPosition: KinesisStreamStartPosition,
439
+ StartingPositionTimestamp: Schema.optionalKey(
440
+ Schema.String.annotate({ format: "date-time" }),
441
+ ),
442
+ }).annotate({ identifier: "PipeSourceKinesisStreamParameters" });
443
+
444
+ interface DeadLetterConfig_1 {
445
+ readonly Arn?:
446
+ | ResourceEntity<{
447
+ readonly provider: "aws";
448
+ readonly service: "sqs";
449
+ readonly resource: "queue";
450
+ }>
451
+ | string;
452
+ }
453
+
454
+ const DeadLetterConfig_1 = Schema.Struct({
455
+ Arn: Schema.optionalKey(
456
+ Schema.Union([
457
+ Schema.Union([
458
+ ResourceReferenceSchema(
459
+ Schema.Struct({
460
+ provider: Schema.Literal("aws"),
461
+ service: Schema.Literal("sqs"),
462
+ resource: Schema.Literal("queue"),
463
+ }),
464
+ {
465
+ value: null,
466
+ outputs: [
467
+ {
468
+ source: ["Arn"],
469
+ target: [],
470
+ },
471
+ ],
472
+ },
473
+ ).annotate({ expected: "ResourceEntity" }),
474
+ ]),
475
+ Schema.String.check(
476
+ Schema.isMinLength(1).annotate({
477
+ expected: "a value with a length of at least 1",
478
+ }),
479
+ )
480
+ .check(
481
+ Schema.isMaxCodePoints(1600).annotate({
482
+ expected: "a string with at most 1600 code points",
483
+ }),
484
+ )
485
+ .check(
486
+ Schema.isPattern(
487
+ new globalThis.RegExp(
488
+ "^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
489
+ "u",
490
+ ),
491
+ ).annotate({
492
+ expected:
493
+ "a string matching the RegExp ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
494
+ }),
495
+ ),
496
+ ]),
497
+ ),
498
+ }).annotate({ identifier: "DeadLetterConfig_1" });
499
+
500
+ type DynamoDBStreamStartPosition = "TRIM_HORIZON" | "LATEST";
501
+
502
+ const DynamoDBStreamStartPosition = Schema.Literals([
503
+ "TRIM_HORIZON",
504
+ "LATEST",
505
+ ]).annotate({ identifier: "DynamoDBStreamStartPosition" });
506
+
507
+ interface PipeSourceDynamoDBStreamParameters {
508
+ readonly BatchSize?: number;
509
+ readonly DeadLetterConfig?: DeadLetterConfig_1;
510
+ readonly OnPartialBatchItemFailure?: OnPartialBatchItemFailureStreams;
511
+ readonly MaximumBatchingWindowInSeconds?: number;
512
+ readonly MaximumRecordAgeInSeconds?: number;
513
+ readonly MaximumRetryAttempts?: number;
514
+ readonly ParallelizationFactor?: number;
515
+ readonly StartingPosition: DynamoDBStreamStartPosition;
516
+ }
517
+
518
+ const PipeSourceDynamoDBStreamParameters = Schema.Struct({
519
+ BatchSize: Schema.optionalKey(
520
+ Schema.Int.check(
521
+ Schema.isGreaterThanOrEqualTo(1).annotate({
522
+ expected: "a value greater than or equal to 1",
523
+ }),
524
+ ).check(
525
+ Schema.isLessThanOrEqualTo(10000).annotate({
526
+ expected: "a value less than or equal to 10000",
527
+ }),
528
+ ),
529
+ ),
530
+ DeadLetterConfig: Schema.optionalKey(DeadLetterConfig_1),
531
+ OnPartialBatchItemFailure: Schema.optionalKey(
532
+ OnPartialBatchItemFailureStreams,
533
+ ),
534
+ MaximumBatchingWindowInSeconds: Schema.optionalKey(
535
+ Schema.Int.check(
536
+ Schema.isGreaterThanOrEqualTo(0).annotate({
537
+ expected: "a value greater than or equal to 0",
538
+ }),
539
+ ).check(
540
+ Schema.isLessThanOrEqualTo(300).annotate({
541
+ expected: "a value less than or equal to 300",
542
+ }),
543
+ ),
544
+ ),
545
+ MaximumRecordAgeInSeconds: Schema.optionalKey(
546
+ Schema.Int.check(
547
+ Schema.isGreaterThanOrEqualTo(-1).annotate({
548
+ expected: "a value greater than or equal to -1",
549
+ }),
550
+ ).check(
551
+ Schema.isLessThanOrEqualTo(604800).annotate({
552
+ expected: "a value less than or equal to 604800",
553
+ }),
554
+ ),
555
+ ),
556
+ MaximumRetryAttempts: Schema.optionalKey(
557
+ Schema.Int.check(
558
+ Schema.isGreaterThanOrEqualTo(-1).annotate({
559
+ expected: "a value greater than or equal to -1",
560
+ }),
561
+ ).check(
562
+ Schema.isLessThanOrEqualTo(10000).annotate({
563
+ expected: "a value less than or equal to 10000",
564
+ }),
565
+ ),
566
+ ),
567
+ ParallelizationFactor: Schema.optionalKey(
568
+ Schema.Int.check(
569
+ Schema.isGreaterThanOrEqualTo(1).annotate({
570
+ expected: "a value greater than or equal to 1",
571
+ }),
572
+ ).check(
573
+ Schema.isLessThanOrEqualTo(10).annotate({
574
+ expected: "a value less than or equal to 10",
575
+ }),
576
+ ),
577
+ ),
578
+ StartingPosition: DynamoDBStreamStartPosition,
579
+ }).annotate({ identifier: "PipeSourceDynamoDBStreamParameters" });
580
+
581
+ interface PipeSourceSqsQueueParameters {
582
+ readonly BatchSize?: number;
583
+ readonly MaximumBatchingWindowInSeconds?: number;
584
+ }
585
+
586
+ const PipeSourceSqsQueueParameters = Schema.Struct({
587
+ BatchSize: Schema.optionalKey(
588
+ Schema.Int.check(
589
+ Schema.isGreaterThanOrEqualTo(1).annotate({
590
+ expected: "a value greater than or equal to 1",
591
+ }),
592
+ ).check(
593
+ Schema.isLessThanOrEqualTo(10000).annotate({
594
+ expected: "a value less than or equal to 10000",
595
+ }),
596
+ ),
597
+ ),
598
+ MaximumBatchingWindowInSeconds: Schema.optionalKey(
599
+ Schema.Int.check(
600
+ Schema.isGreaterThanOrEqualTo(0).annotate({
601
+ expected: "a value greater than or equal to 0",
602
+ }),
603
+ ).check(
604
+ Schema.isLessThanOrEqualTo(300).annotate({
605
+ expected: "a value less than or equal to 300",
606
+ }),
607
+ ),
608
+ ),
609
+ }).annotate({ identifier: "PipeSourceSqsQueueParameters" });
610
+
611
+ interface MQBrokerAccessCredentials {
612
+ readonly BasicAuth: string;
613
+ }
614
+
615
+ const MQBrokerAccessCredentials = Schema.Union(
616
+ [
617
+ Schema.Struct({
618
+ BasicAuth: Schema.String.annotate({
619
+ description:
620
+ "Optional SecretManager ARN which stores the database credentials",
621
+ })
622
+ .check(
623
+ Schema.isMinLength(1).annotate({
624
+ expected: "a value with a length of at least 1",
625
+ }),
626
+ )
627
+ .check(
628
+ Schema.isMaxCodePoints(1600).annotate({
629
+ expected: "a string with at most 1600 code points",
630
+ }),
631
+ )
632
+ .check(
633
+ Schema.isPattern(
634
+ new globalThis.RegExp(
635
+ "^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
636
+ "u",
637
+ ),
638
+ ).annotate({
639
+ expected:
640
+ "a string matching the RegExp ^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
641
+ }),
642
+ ),
643
+ }).annotate({ title: "BasicAuth" }),
644
+ ],
645
+ { mode: "oneOf" },
646
+ ).annotate({ identifier: "MQBrokerAccessCredentials" });
647
+
648
+ interface PipeSourceActiveMQBrokerParameters {
649
+ readonly Credentials: MQBrokerAccessCredentials;
650
+ readonly QueueName: string;
651
+ readonly BatchSize?: number;
652
+ readonly MaximumBatchingWindowInSeconds?: number;
653
+ }
654
+
655
+ const PipeSourceActiveMQBrokerParameters = Schema.Struct({
656
+ Credentials: MQBrokerAccessCredentials,
657
+ QueueName: Schema.String.check(
658
+ Schema.isMinLength(1).annotate({
659
+ expected: "a value with a length of at least 1",
660
+ }),
661
+ )
662
+ .check(
663
+ Schema.isMaxCodePoints(1000).annotate({
664
+ expected: "a string with at most 1000 code points",
665
+ }),
666
+ )
667
+ .check(
668
+ Schema.isPattern(new globalThis.RegExp("^[\\s\\S]*$", "u")).annotate({
669
+ expected: "a string matching the RegExp ^[\\s\\S]*$",
670
+ }),
671
+ ),
672
+ BatchSize: Schema.optionalKey(
673
+ Schema.Int.check(
674
+ Schema.isGreaterThanOrEqualTo(1).annotate({
675
+ expected: "a value greater than or equal to 1",
676
+ }),
677
+ ).check(
678
+ Schema.isLessThanOrEqualTo(10000).annotate({
679
+ expected: "a value less than or equal to 10000",
680
+ }),
681
+ ),
682
+ ),
683
+ MaximumBatchingWindowInSeconds: Schema.optionalKey(
684
+ Schema.Int.check(
685
+ Schema.isGreaterThanOrEqualTo(0).annotate({
686
+ expected: "a value greater than or equal to 0",
687
+ }),
688
+ ).check(
689
+ Schema.isLessThanOrEqualTo(300).annotate({
690
+ expected: "a value less than or equal to 300",
691
+ }),
692
+ ),
693
+ ),
694
+ }).annotate({ identifier: "PipeSourceActiveMQBrokerParameters" });
695
+
696
+ interface PipeSourceRabbitMQBrokerParameters {
697
+ readonly Credentials: MQBrokerAccessCredentials;
698
+ readonly QueueName: string;
699
+ readonly VirtualHost?: string;
700
+ readonly BatchSize?: number;
701
+ readonly MaximumBatchingWindowInSeconds?: number;
702
+ }
703
+
704
+ const PipeSourceRabbitMQBrokerParameters = Schema.Struct({
705
+ Credentials: MQBrokerAccessCredentials,
706
+ QueueName: Schema.String.check(
707
+ Schema.isMinLength(1).annotate({
708
+ expected: "a value with a length of at least 1",
709
+ }),
710
+ )
711
+ .check(
712
+ Schema.isMaxCodePoints(1000).annotate({
713
+ expected: "a string with at most 1000 code points",
714
+ }),
715
+ )
716
+ .check(
717
+ Schema.isPattern(new globalThis.RegExp("^[\\s\\S]*$", "u")).annotate({
718
+ expected: "a string matching the RegExp ^[\\s\\S]*$",
719
+ }),
720
+ ),
721
+ VirtualHost: Schema.optionalKey(
722
+ Schema.String.check(
723
+ Schema.isMinLength(1).annotate({
724
+ expected: "a value with a length of at least 1",
725
+ }),
726
+ )
727
+ .check(
728
+ Schema.isMaxCodePoints(200).annotate({
729
+ expected: "a string with at most 200 code points",
730
+ }),
731
+ )
732
+ .check(
733
+ Schema.isPattern(
734
+ new globalThis.RegExp("^[a-zA-Z0-9-\\/*:_+=.@-]*$", "u"),
735
+ ).annotate({
736
+ expected: "a string matching the RegExp ^[a-zA-Z0-9-\\/*:_+=.@-]*$",
737
+ }),
738
+ ),
739
+ ),
740
+ BatchSize: Schema.optionalKey(
741
+ Schema.Int.check(
742
+ Schema.isGreaterThanOrEqualTo(1).annotate({
743
+ expected: "a value greater than or equal to 1",
744
+ }),
745
+ ).check(
746
+ Schema.isLessThanOrEqualTo(10000).annotate({
747
+ expected: "a value less than or equal to 10000",
748
+ }),
749
+ ),
750
+ ),
751
+ MaximumBatchingWindowInSeconds: Schema.optionalKey(
752
+ Schema.Int.check(
753
+ Schema.isGreaterThanOrEqualTo(0).annotate({
754
+ expected: "a value greater than or equal to 0",
755
+ }),
756
+ ).check(
757
+ Schema.isLessThanOrEqualTo(300).annotate({
758
+ expected: "a value less than or equal to 300",
759
+ }),
760
+ ),
761
+ ),
762
+ }).annotate({ identifier: "PipeSourceRabbitMQBrokerParameters" });
763
+
764
+ type MSKStartPosition = "TRIM_HORIZON" | "LATEST";
765
+
766
+ const MSKStartPosition = Schema.Literals(["TRIM_HORIZON", "LATEST"]).annotate({
767
+ identifier: "MSKStartPosition",
768
+ });
769
+
770
+ type MSKAccessCredentials =
771
+ | {
772
+ readonly SaslScram512Auth: string;
773
+ }
774
+ | {
775
+ readonly ClientCertificateTlsAuth: string;
776
+ };
777
+
778
+ const MSKAccessCredentials = Schema.Union(
779
+ [
780
+ Schema.Struct({
781
+ SaslScram512Auth: Schema.String.annotate({
782
+ description:
783
+ "Optional SecretManager ARN which stores the database credentials",
784
+ })
785
+ .check(
786
+ Schema.isMinLength(1).annotate({
787
+ expected: "a value with a length of at least 1",
788
+ }),
789
+ )
790
+ .check(
791
+ Schema.isMaxCodePoints(1600).annotate({
792
+ expected: "a string with at most 1600 code points",
793
+ }),
794
+ )
795
+ .check(
796
+ Schema.isPattern(
797
+ new globalThis.RegExp(
798
+ "^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
799
+ "u",
800
+ ),
801
+ ).annotate({
802
+ expected:
803
+ "a string matching the RegExp ^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
804
+ }),
805
+ ),
806
+ }).annotate({ title: "SaslScram512Auth" }),
807
+ Schema.Struct({
808
+ ClientCertificateTlsAuth: Schema.String.annotate({
809
+ description:
810
+ "Optional SecretManager ARN which stores the database credentials",
811
+ })
812
+ .check(
813
+ Schema.isMinLength(1).annotate({
814
+ expected: "a value with a length of at least 1",
815
+ }),
816
+ )
817
+ .check(
818
+ Schema.isMaxCodePoints(1600).annotate({
819
+ expected: "a string with at most 1600 code points",
820
+ }),
821
+ )
822
+ .check(
823
+ Schema.isPattern(
824
+ new globalThis.RegExp(
825
+ "^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
826
+ "u",
827
+ ),
828
+ ).annotate({
829
+ expected:
830
+ "a string matching the RegExp ^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
831
+ }),
832
+ ),
833
+ }).annotate({ title: "ClientCertificateTlsAuth" }),
834
+ ],
835
+ { mode: "oneOf" },
836
+ ).annotate({ identifier: "MSKAccessCredentials" });
837
+
838
+ interface PipeSourceManagedStreamingKafkaParameters {
839
+ readonly TopicName: string;
840
+ readonly StartingPosition?: MSKStartPosition;
841
+ readonly BatchSize?: number;
842
+ readonly MaximumBatchingWindowInSeconds?: number;
843
+ readonly ConsumerGroupID?: string;
844
+ readonly Credentials?: MSKAccessCredentials;
845
+ }
846
+
847
+ const PipeSourceManagedStreamingKafkaParameters = Schema.Struct({
848
+ TopicName: Schema.String.check(
849
+ Schema.isMinLength(1).annotate({
850
+ expected: "a value with a length of at least 1",
851
+ }),
852
+ )
853
+ .check(
854
+ Schema.isMaxCodePoints(249).annotate({
855
+ expected: "a string with at most 249 code points",
856
+ }),
857
+ )
858
+ .check(
859
+ Schema.isPattern(
860
+ new globalThis.RegExp("^[^.]([a-zA-Z0-9\\-_.]+)$", "u"),
861
+ ).annotate({
862
+ expected: "a string matching the RegExp ^[^.]([a-zA-Z0-9\\-_.]+)$",
863
+ }),
864
+ ),
865
+ StartingPosition: Schema.optionalKey(MSKStartPosition),
866
+ BatchSize: Schema.optionalKey(
867
+ Schema.Int.check(
868
+ Schema.isGreaterThanOrEqualTo(1).annotate({
869
+ expected: "a value greater than or equal to 1",
870
+ }),
871
+ ).check(
872
+ Schema.isLessThanOrEqualTo(10000).annotate({
873
+ expected: "a value less than or equal to 10000",
874
+ }),
875
+ ),
876
+ ),
877
+ MaximumBatchingWindowInSeconds: Schema.optionalKey(
878
+ Schema.Int.check(
879
+ Schema.isGreaterThanOrEqualTo(0).annotate({
880
+ expected: "a value greater than or equal to 0",
881
+ }),
882
+ ).check(
883
+ Schema.isLessThanOrEqualTo(300).annotate({
884
+ expected: "a value less than or equal to 300",
885
+ }),
886
+ ),
887
+ ),
888
+ ConsumerGroupID: Schema.optionalKey(
889
+ Schema.String.check(
890
+ Schema.isMinLength(1).annotate({
891
+ expected: "a value with a length of at least 1",
892
+ }),
893
+ )
894
+ .check(
895
+ Schema.isMaxCodePoints(200).annotate({
896
+ expected: "a string with at most 200 code points",
897
+ }),
898
+ )
899
+ .check(
900
+ Schema.isPattern(
901
+ new globalThis.RegExp("^[a-zA-Z0-9-\\/*:_+=.@-]*$", "u"),
902
+ ).annotate({
903
+ expected: "a string matching the RegExp ^[a-zA-Z0-9-\\/*:_+=.@-]*$",
904
+ }),
905
+ ),
906
+ ),
907
+ Credentials: Schema.optionalKey(MSKAccessCredentials),
908
+ }).annotate({ identifier: "PipeSourceManagedStreamingKafkaParameters" });
909
+
910
+ type SelfManagedKafkaStartPosition = "TRIM_HORIZON" | "LATEST";
911
+
912
+ const SelfManagedKafkaStartPosition = Schema.Literals([
913
+ "TRIM_HORIZON",
914
+ "LATEST",
915
+ ]).annotate({ identifier: "SelfManagedKafkaStartPosition" });
916
+
917
+ type SelfManagedKafkaAccessConfigurationCredentials =
918
+ | {
919
+ readonly BasicAuth: string;
920
+ }
921
+ | {
922
+ readonly SaslScram512Auth: string;
923
+ }
924
+ | {
925
+ readonly SaslScram256Auth: string;
926
+ }
927
+ | {
928
+ readonly ClientCertificateTlsAuth: string;
929
+ };
930
+
931
+ const SelfManagedKafkaAccessConfigurationCredentials = Schema.Union(
932
+ [
933
+ Schema.Struct({
934
+ BasicAuth: Schema.String.annotate({
935
+ description:
936
+ "Optional SecretManager ARN which stores the database credentials",
937
+ })
938
+ .check(
939
+ Schema.isMinLength(1).annotate({
940
+ expected: "a value with a length of at least 1",
941
+ }),
942
+ )
943
+ .check(
944
+ Schema.isMaxCodePoints(1600).annotate({
945
+ expected: "a string with at most 1600 code points",
946
+ }),
947
+ )
948
+ .check(
949
+ Schema.isPattern(
950
+ new globalThis.RegExp(
951
+ "^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
952
+ "u",
953
+ ),
954
+ ).annotate({
955
+ expected:
956
+ "a string matching the RegExp ^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
957
+ }),
958
+ ),
959
+ }).annotate({ title: "BasicAuth" }),
960
+ Schema.Struct({
961
+ SaslScram512Auth: Schema.String.annotate({
962
+ description:
963
+ "Optional SecretManager ARN which stores the database credentials",
964
+ })
965
+ .check(
966
+ Schema.isMinLength(1).annotate({
967
+ expected: "a value with a length of at least 1",
968
+ }),
969
+ )
970
+ .check(
971
+ Schema.isMaxCodePoints(1600).annotate({
972
+ expected: "a string with at most 1600 code points",
973
+ }),
974
+ )
975
+ .check(
976
+ Schema.isPattern(
977
+ new globalThis.RegExp(
978
+ "^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
979
+ "u",
980
+ ),
981
+ ).annotate({
982
+ expected:
983
+ "a string matching the RegExp ^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
984
+ }),
985
+ ),
986
+ }).annotate({ title: "SaslScram512Auth" }),
987
+ Schema.Struct({
988
+ SaslScram256Auth: Schema.String.annotate({
989
+ description:
990
+ "Optional SecretManager ARN which stores the database credentials",
991
+ })
992
+ .check(
993
+ Schema.isMinLength(1).annotate({
994
+ expected: "a value with a length of at least 1",
995
+ }),
996
+ )
997
+ .check(
998
+ Schema.isMaxCodePoints(1600).annotate({
999
+ expected: "a string with at most 1600 code points",
1000
+ }),
1001
+ )
1002
+ .check(
1003
+ Schema.isPattern(
1004
+ new globalThis.RegExp(
1005
+ "^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
1006
+ "u",
1007
+ ),
1008
+ ).annotate({
1009
+ expected:
1010
+ "a string matching the RegExp ^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
1011
+ }),
1012
+ ),
1013
+ }).annotate({ title: "SaslScram256Auth" }),
1014
+ Schema.Struct({
1015
+ ClientCertificateTlsAuth: Schema.String.annotate({
1016
+ description:
1017
+ "Optional SecretManager ARN which stores the database credentials",
1018
+ })
1019
+ .check(
1020
+ Schema.isMinLength(1).annotate({
1021
+ expected: "a value with a length of at least 1",
1022
+ }),
1023
+ )
1024
+ .check(
1025
+ Schema.isMaxCodePoints(1600).annotate({
1026
+ expected: "a string with at most 1600 code points",
1027
+ }),
1028
+ )
1029
+ .check(
1030
+ Schema.isPattern(
1031
+ new globalThis.RegExp(
1032
+ "^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
1033
+ "u",
1034
+ ),
1035
+ ).annotate({
1036
+ expected:
1037
+ "a string matching the RegExp ^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
1038
+ }),
1039
+ ),
1040
+ }).annotate({ title: "ClientCertificateTlsAuth" }),
1041
+ ],
1042
+ { mode: "oneOf" },
1043
+ ).annotate({ identifier: "SelfManagedKafkaAccessConfigurationCredentials" });
1044
+
1045
+ interface SelfManagedKafkaAccessConfigurationVpc {
1046
+ readonly Subnets?: globalThis.ReadonlyArray<string>;
1047
+ readonly SecurityGroup?: globalThis.ReadonlyArray<string>;
1048
+ }
1049
+
1050
+ const SelfManagedKafkaAccessConfigurationVpc = Schema.Struct({
1051
+ Subnets: Schema.optionalKey(
1052
+ Schema.Array(
1053
+ Schema.String.check(
1054
+ Schema.isMinLength(1).annotate({
1055
+ expected: "a value with a length of at least 1",
1056
+ }),
1057
+ )
1058
+ .check(
1059
+ Schema.isMaxCodePoints(1024).annotate({
1060
+ expected: "a string with at most 1024 code points",
1061
+ }),
1062
+ )
1063
+ .check(
1064
+ Schema.isPattern(
1065
+ new globalThis.RegExp("^subnet-[0-9a-z]*$", "u"),
1066
+ ).annotate({
1067
+ expected: "a string matching the RegExp ^subnet-[0-9a-z]*$",
1068
+ }),
1069
+ ),
1070
+ )
1071
+ .annotate({ description: "List of SubnetId." })
1072
+ .check(
1073
+ Schema.isMinLength(0).annotate({
1074
+ expected: "a value with a length of at least 0",
1075
+ }),
1076
+ )
1077
+ .check(
1078
+ Schema.isMaxLength(16).annotate({
1079
+ expected: "a value with a length of at most 16",
1080
+ }),
1081
+ ),
1082
+ ),
1083
+ SecurityGroup: Schema.optionalKey(
1084
+ Schema.Array(
1085
+ Schema.String.check(
1086
+ Schema.isMinLength(1).annotate({
1087
+ expected: "a value with a length of at least 1",
1088
+ }),
1089
+ )
1090
+ .check(
1091
+ Schema.isMaxCodePoints(1024).annotate({
1092
+ expected: "a string with at most 1024 code points",
1093
+ }),
1094
+ )
1095
+ .check(
1096
+ Schema.isPattern(
1097
+ new globalThis.RegExp("^sg-[0-9a-zA-Z]*$", "u"),
1098
+ ).annotate({
1099
+ expected: "a string matching the RegExp ^sg-[0-9a-zA-Z]*$",
1100
+ }),
1101
+ ),
1102
+ )
1103
+ .annotate({ description: "List of SecurityGroupId." })
1104
+ .check(
1105
+ Schema.isMinLength(0).annotate({
1106
+ expected: "a value with a length of at least 0",
1107
+ }),
1108
+ )
1109
+ .check(
1110
+ Schema.isMaxLength(5).annotate({
1111
+ expected: "a value with a length of at most 5",
1112
+ }),
1113
+ ),
1114
+ ),
1115
+ }).annotate({ identifier: "SelfManagedKafkaAccessConfigurationVpc" });
1116
+
1117
+ interface PipeSourceSelfManagedKafkaParameters {
1118
+ readonly TopicName: string;
1119
+ readonly StartingPosition?: SelfManagedKafkaStartPosition;
1120
+ readonly AdditionalBootstrapServers?: globalThis.ReadonlyArray<string>;
1121
+ readonly BatchSize?: number;
1122
+ readonly MaximumBatchingWindowInSeconds?: number;
1123
+ readonly ConsumerGroupID?: string;
1124
+ readonly Credentials?: SelfManagedKafkaAccessConfigurationCredentials;
1125
+ readonly ServerRootCaCertificate?: string;
1126
+ readonly Vpc?: SelfManagedKafkaAccessConfigurationVpc;
1127
+ }
1128
+
1129
+ const PipeSourceSelfManagedKafkaParameters = Schema.Struct({
1130
+ TopicName: Schema.String.check(
1131
+ Schema.isMinLength(1).annotate({
1132
+ expected: "a value with a length of at least 1",
1133
+ }),
1134
+ )
1135
+ .check(
1136
+ Schema.isMaxCodePoints(249).annotate({
1137
+ expected: "a string with at most 249 code points",
1138
+ }),
1139
+ )
1140
+ .check(
1141
+ Schema.isPattern(
1142
+ new globalThis.RegExp("^[^.]([a-zA-Z0-9\\-_.]+)$", "u"),
1143
+ ).annotate({
1144
+ expected: "a string matching the RegExp ^[^.]([a-zA-Z0-9\\-_.]+)$",
1145
+ }),
1146
+ ),
1147
+ StartingPosition: Schema.optionalKey(SelfManagedKafkaStartPosition),
1148
+ AdditionalBootstrapServers: Schema.optionalKey(
1149
+ Schema.Array(
1150
+ Schema.String.check(
1151
+ Schema.isMinLength(1).annotate({
1152
+ expected: "a value with a length of at least 1",
1153
+ }),
1154
+ )
1155
+ .check(
1156
+ Schema.isMaxCodePoints(300).annotate({
1157
+ expected: "a string with at most 300 code points",
1158
+ }),
1159
+ )
1160
+ .check(
1161
+ Schema.isPattern(
1162
+ new globalThis.RegExp(
1163
+ "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}$",
1164
+ "u",
1165
+ ),
1166
+ ).annotate({
1167
+ expected:
1168
+ "a string matching the RegExp ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}$",
1169
+ }),
1170
+ ),
1171
+ )
1172
+ .check(
1173
+ Schema.isMinLength(0).annotate({
1174
+ expected: "a value with a length of at least 0",
1175
+ }),
1176
+ )
1177
+ .check(
1178
+ Schema.isMaxLength(2).annotate({
1179
+ expected: "a value with a length of at most 2",
1180
+ }),
1181
+ ),
1182
+ ),
1183
+ BatchSize: Schema.optionalKey(
1184
+ Schema.Int.check(
1185
+ Schema.isGreaterThanOrEqualTo(1).annotate({
1186
+ expected: "a value greater than or equal to 1",
1187
+ }),
1188
+ ).check(
1189
+ Schema.isLessThanOrEqualTo(10000).annotate({
1190
+ expected: "a value less than or equal to 10000",
1191
+ }),
1192
+ ),
1193
+ ),
1194
+ MaximumBatchingWindowInSeconds: Schema.optionalKey(
1195
+ Schema.Int.check(
1196
+ Schema.isGreaterThanOrEqualTo(0).annotate({
1197
+ expected: "a value greater than or equal to 0",
1198
+ }),
1199
+ ).check(
1200
+ Schema.isLessThanOrEqualTo(300).annotate({
1201
+ expected: "a value less than or equal to 300",
1202
+ }),
1203
+ ),
1204
+ ),
1205
+ ConsumerGroupID: Schema.optionalKey(
1206
+ Schema.String.check(
1207
+ Schema.isMinLength(1).annotate({
1208
+ expected: "a value with a length of at least 1",
1209
+ }),
1210
+ )
1211
+ .check(
1212
+ Schema.isMaxCodePoints(200).annotate({
1213
+ expected: "a string with at most 200 code points",
1214
+ }),
1215
+ )
1216
+ .check(
1217
+ Schema.isPattern(
1218
+ new globalThis.RegExp("^[a-zA-Z0-9-\\/*:_+=.@-]*$", "u"),
1219
+ ).annotate({
1220
+ expected: "a string matching the RegExp ^[a-zA-Z0-9-\\/*:_+=.@-]*$",
1221
+ }),
1222
+ ),
1223
+ ),
1224
+ Credentials: Schema.optionalKey(
1225
+ SelfManagedKafkaAccessConfigurationCredentials,
1226
+ ),
1227
+ ServerRootCaCertificate: Schema.optionalKey(
1228
+ Schema.String.annotate({
1229
+ description:
1230
+ "Optional SecretManager ARN which stores the database credentials",
1231
+ })
1232
+ .check(
1233
+ Schema.isMinLength(1).annotate({
1234
+ expected: "a value with a length of at least 1",
1235
+ }),
1236
+ )
1237
+ .check(
1238
+ Schema.isMaxCodePoints(1600).annotate({
1239
+ expected: "a string with at most 1600 code points",
1240
+ }),
1241
+ )
1242
+ .check(
1243
+ Schema.isPattern(
1244
+ new globalThis.RegExp(
1245
+ "^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
1246
+ "u",
1247
+ ),
1248
+ ).annotate({
1249
+ expected:
1250
+ "a string matching the RegExp ^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$",
1251
+ }),
1252
+ ),
1253
+ ),
1254
+ Vpc: Schema.optionalKey(SelfManagedKafkaAccessConfigurationVpc),
1255
+ }).annotate({ identifier: "PipeSourceSelfManagedKafkaParameters" });
1256
+
1257
+ interface PipeSourceParameters {
1258
+ readonly FilterCriteria?: FilterCriteria;
1259
+ readonly KinesisStreamParameters?: PipeSourceKinesisStreamParameters;
1260
+ readonly DynamoDBStreamParameters?: PipeSourceDynamoDBStreamParameters;
1261
+ readonly SqsQueueParameters?: PipeSourceSqsQueueParameters;
1262
+ readonly ActiveMQBrokerParameters?: PipeSourceActiveMQBrokerParameters;
1263
+ readonly RabbitMQBrokerParameters?: PipeSourceRabbitMQBrokerParameters;
1264
+ readonly ManagedStreamingKafkaParameters?: PipeSourceManagedStreamingKafkaParameters;
1265
+ readonly SelfManagedKafkaParameters?: PipeSourceSelfManagedKafkaParameters;
1266
+ }
1267
+
1268
+ const PipeSourceParameters = Schema.Struct({
1269
+ FilterCriteria: Schema.optionalKey(FilterCriteria),
1270
+ KinesisStreamParameters: Schema.optionalKey(
1271
+ PipeSourceKinesisStreamParameters,
1272
+ ),
1273
+ DynamoDBStreamParameters: Schema.optionalKey(
1274
+ PipeSourceDynamoDBStreamParameters,
1275
+ ),
1276
+ SqsQueueParameters: Schema.optionalKey(PipeSourceSqsQueueParameters),
1277
+ ActiveMQBrokerParameters: Schema.optionalKey(
1278
+ PipeSourceActiveMQBrokerParameters,
1279
+ ),
1280
+ RabbitMQBrokerParameters: Schema.optionalKey(
1281
+ PipeSourceRabbitMQBrokerParameters,
1282
+ ),
1283
+ ManagedStreamingKafkaParameters: Schema.optionalKey(
1284
+ PipeSourceManagedStreamingKafkaParameters,
1285
+ ),
1286
+ SelfManagedKafkaParameters: Schema.optionalKey(
1287
+ PipeSourceSelfManagedKafkaParameters,
1288
+ ),
1289
+ }).annotate({ identifier: "PipeSourceParameters" });
1290
+
1291
+ interface TagMap {
1292
+ readonly [x: string]: string;
1293
+ }
1294
+
1295
+ const TagMap = Schema.Record(
1296
+ Schema.String.check(
1297
+ Schema.isPattern(new globalThis.RegExp(".+", "u")).annotate({
1298
+ expected: "a string matching the RegExp .+",
1299
+ }),
1300
+ ),
1301
+ Schema.String.check(
1302
+ Schema.isMinCodePoints(0).annotate({
1303
+ expected: "a string with at least 0 code points",
1304
+ }),
1305
+ ).check(
1306
+ Schema.isMaxCodePoints(256).annotate({
1307
+ expected: "a string with at most 256 code points",
1308
+ }),
1309
+ ),
1310
+ )
1311
+ .check(
1312
+ Schema.isMinProperties(1).annotate({
1313
+ expected: "a value with at least 1 entry",
1314
+ }),
1315
+ )
1316
+ .check(
1317
+ Schema.isMaxProperties(50).annotate({
1318
+ expected: "a value with at most 50 entries",
1319
+ identifier: "TagMap",
1320
+ }),
1321
+ );
1322
+
1323
+ type PipeTargetInvocationType = "REQUEST_RESPONSE" | "FIRE_AND_FORGET";
1324
+
1325
+ const PipeTargetInvocationType = Schema.Literals([
1326
+ "REQUEST_RESPONSE",
1327
+ "FIRE_AND_FORGET",
1328
+ ]).annotate({ identifier: "PipeTargetInvocationType" });
1329
+
1330
+ interface PipeTargetLambdaFunctionParameters {
1331
+ readonly InvocationType?: PipeTargetInvocationType;
1332
+ }
1333
+
1334
+ const PipeTargetLambdaFunctionParameters = Schema.Struct({
1335
+ InvocationType: Schema.optionalKey(PipeTargetInvocationType),
1336
+ }).annotate({ identifier: "PipeTargetLambdaFunctionParameters" });
1337
+
1338
+ interface PipeTargetStateMachineParameters {
1339
+ readonly InvocationType?: PipeTargetInvocationType;
1340
+ }
1341
+
1342
+ const PipeTargetStateMachineParameters = Schema.Struct({
1343
+ InvocationType: Schema.optionalKey(PipeTargetInvocationType),
1344
+ }).annotate({ identifier: "PipeTargetStateMachineParameters" });
1345
+
1346
+ interface PipeTargetKinesisStreamParameters {
1347
+ readonly PartitionKey: string;
1348
+ }
1349
+
1350
+ const PipeTargetKinesisStreamParameters = Schema.Struct({
1351
+ PartitionKey: Schema.String.check(
1352
+ Schema.isMinCodePoints(0).annotate({
1353
+ expected: "a string with at least 0 code points",
1354
+ }),
1355
+ ).check(
1356
+ Schema.isMaxCodePoints(256).annotate({
1357
+ expected: "a string with at most 256 code points",
1358
+ }),
1359
+ ),
1360
+ }).annotate({ identifier: "PipeTargetKinesisStreamParameters" });
1361
+
1362
+ type LaunchType = "EC2" | "FARGATE" | "EXTERNAL";
1363
+
1364
+ const LaunchType = Schema.Literals(["EC2", "FARGATE", "EXTERNAL"]).annotate({
1365
+ identifier: "LaunchType",
1366
+ });
1367
+
1368
+ type AssignPublicIp = "ENABLED" | "DISABLED";
1369
+
1370
+ const AssignPublicIp = Schema.Literals(["ENABLED", "DISABLED"]).annotate({
1371
+ identifier: "AssignPublicIp",
1372
+ });
1373
+
1374
+ interface AwsVpcConfiguration {
1375
+ readonly Subnets: globalThis.ReadonlyArray<string>;
1376
+ readonly SecurityGroups?: globalThis.ReadonlyArray<string>;
1377
+ readonly AssignPublicIp?: AssignPublicIp;
1378
+ }
1379
+
1380
+ const AwsVpcConfiguration = Schema.Struct({
1381
+ Subnets: Schema.Array(
1382
+ Schema.String.check(
1383
+ Schema.isMinLength(1).annotate({
1384
+ expected: "a value with a length of at least 1",
1385
+ }),
1386
+ )
1387
+ .check(
1388
+ Schema.isMaxCodePoints(1024).annotate({
1389
+ expected: "a string with at most 1024 code points",
1390
+ }),
1391
+ )
1392
+ .check(
1393
+ Schema.isPattern(
1394
+ new globalThis.RegExp(
1395
+ "^subnet-[0-9a-z]*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
1396
+ "u",
1397
+ ),
1398
+ ).annotate({
1399
+ expected:
1400
+ "a string matching the RegExp ^subnet-[0-9a-z]*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
1401
+ }),
1402
+ ),
1403
+ )
1404
+ .check(
1405
+ Schema.isMinLength(0).annotate({
1406
+ expected: "a value with a length of at least 0",
1407
+ }),
1408
+ )
1409
+ .check(
1410
+ Schema.isMaxLength(16).annotate({
1411
+ expected: "a value with a length of at most 16",
1412
+ }),
1413
+ ),
1414
+ SecurityGroups: Schema.optionalKey(
1415
+ Schema.Array(
1416
+ Schema.String.check(
1417
+ Schema.isMinLength(1).annotate({
1418
+ expected: "a value with a length of at least 1",
1419
+ }),
1420
+ )
1421
+ .check(
1422
+ Schema.isMaxCodePoints(1024).annotate({
1423
+ expected: "a string with at most 1024 code points",
1424
+ }),
1425
+ )
1426
+ .check(
1427
+ Schema.isPattern(
1428
+ new globalThis.RegExp(
1429
+ "^sg-[0-9a-zA-Z]*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
1430
+ "u",
1431
+ ),
1432
+ ).annotate({
1433
+ expected:
1434
+ "a string matching the RegExp ^sg-[0-9a-zA-Z]*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
1435
+ }),
1436
+ ),
1437
+ )
1438
+ .check(
1439
+ Schema.isMinLength(0).annotate({
1440
+ expected: "a value with a length of at least 0",
1441
+ }),
1442
+ )
1443
+ .check(
1444
+ Schema.isMaxLength(5).annotate({
1445
+ expected: "a value with a length of at most 5",
1446
+ }),
1447
+ ),
1448
+ ),
1449
+ AssignPublicIp: Schema.optionalKey(AssignPublicIp),
1450
+ }).annotate({ identifier: "AwsVpcConfiguration" });
1451
+
1452
+ interface NetworkConfiguration {
1453
+ readonly AwsvpcConfiguration?: AwsVpcConfiguration;
1454
+ }
1455
+
1456
+ const NetworkConfiguration = Schema.Struct({
1457
+ AwsvpcConfiguration: Schema.optionalKey(AwsVpcConfiguration),
1458
+ }).annotate({ identifier: "NetworkConfiguration" });
1459
+
1460
+ interface CapacityProviderStrategyItem {
1461
+ readonly CapacityProvider: string;
1462
+ readonly Weight?: number;
1463
+ readonly Base?: number;
1464
+ }
1465
+
1466
+ const CapacityProviderStrategyItem = Schema.Struct({
1467
+ CapacityProvider: Schema.String.check(
1468
+ Schema.isMinLength(1).annotate({
1469
+ expected: "a value with a length of at least 1",
1470
+ }),
1471
+ ).check(
1472
+ Schema.isMaxCodePoints(255).annotate({
1473
+ expected: "a string with at most 255 code points",
1474
+ }),
1475
+ ),
1476
+ Weight: Schema.optionalKey(
1477
+ Schema.Int.check(
1478
+ Schema.isGreaterThanOrEqualTo(0).annotate({
1479
+ expected: "a value greater than or equal to 0",
1480
+ }),
1481
+ ).check(
1482
+ Schema.isLessThanOrEqualTo(1000).annotate({
1483
+ expected: "a value less than or equal to 1000",
1484
+ }),
1485
+ ),
1486
+ ),
1487
+ Base: Schema.optionalKey(
1488
+ Schema.Int.check(
1489
+ Schema.isGreaterThanOrEqualTo(0).annotate({
1490
+ expected: "a value greater than or equal to 0",
1491
+ }),
1492
+ ).check(
1493
+ Schema.isLessThanOrEqualTo(100000).annotate({
1494
+ expected: "a value less than or equal to 100000",
1495
+ }),
1496
+ ),
1497
+ ),
1498
+ }).annotate({ identifier: "CapacityProviderStrategyItem" });
1499
+
1500
+ type PlacementConstraintType = "distinctInstance" | "memberOf";
1501
+
1502
+ const PlacementConstraintType = Schema.Literals([
1503
+ "distinctInstance",
1504
+ "memberOf",
1505
+ ]).annotate({ identifier: "PlacementConstraintType" });
1506
+
1507
+ interface PlacementConstraint {
1508
+ readonly Type?: PlacementConstraintType;
1509
+ readonly Expression?: string;
1510
+ }
1511
+
1512
+ const PlacementConstraint = Schema.Struct({
1513
+ Type: Schema.optionalKey(PlacementConstraintType),
1514
+ Expression: Schema.optionalKey(
1515
+ Schema.String.check(
1516
+ Schema.isMinCodePoints(0).annotate({
1517
+ expected: "a string with at least 0 code points",
1518
+ }),
1519
+ ).check(
1520
+ Schema.isMaxCodePoints(2000).annotate({
1521
+ expected: "a string with at most 2000 code points",
1522
+ }),
1523
+ ),
1524
+ ),
1525
+ }).annotate({ identifier: "PlacementConstraint" });
1526
+
1527
+ type PlacementStrategyType = "random" | "spread" | "binpack";
1528
+
1529
+ const PlacementStrategyType = Schema.Literals([
1530
+ "random",
1531
+ "spread",
1532
+ "binpack",
1533
+ ]).annotate({ identifier: "PlacementStrategyType" });
1534
+
1535
+ interface PlacementStrategy {
1536
+ readonly Type?: PlacementStrategyType;
1537
+ readonly Field?: string;
1538
+ }
1539
+
1540
+ const PlacementStrategy = Schema.Struct({
1541
+ Type: Schema.optionalKey(PlacementStrategyType),
1542
+ Field: Schema.optionalKey(
1543
+ Schema.String.check(
1544
+ Schema.isMinCodePoints(0).annotate({
1545
+ expected: "a string with at least 0 code points",
1546
+ }),
1547
+ ).check(
1548
+ Schema.isMaxCodePoints(255).annotate({
1549
+ expected: "a string with at most 255 code points",
1550
+ }),
1551
+ ),
1552
+ ),
1553
+ }).annotate({ identifier: "PlacementStrategy" });
1554
+
1555
+ type PropagateTags = "TASK_DEFINITION";
1556
+
1557
+ const PropagateTags = Schema.Literal("TASK_DEFINITION").annotate({
1558
+ identifier: "PropagateTags",
1559
+ });
1560
+
1561
+ interface EcsEnvironmentVariable {
1562
+ readonly Name?: string;
1563
+ readonly Value?: string;
1564
+ }
1565
+
1566
+ const EcsEnvironmentVariable = Schema.Struct({
1567
+ Name: Schema.optionalKey(Schema.String),
1568
+ Value: Schema.optionalKey(Schema.String),
1569
+ }).annotate({ identifier: "EcsEnvironmentVariable" });
1570
+
1571
+ type EcsEnvironmentFileType = "s3";
1572
+
1573
+ const EcsEnvironmentFileType = Schema.Literal("s3").annotate({
1574
+ identifier: "EcsEnvironmentFileType",
1575
+ });
1576
+
1577
+ interface EcsEnvironmentFile {
1578
+ readonly Type: EcsEnvironmentFileType;
1579
+ readonly Value: string;
1580
+ }
1581
+
1582
+ const EcsEnvironmentFile = Schema.Struct({
1583
+ Type: EcsEnvironmentFileType,
1584
+ Value: Schema.String,
1585
+ }).annotate({ identifier: "EcsEnvironmentFile" });
1586
+
1587
+ type EcsResourceRequirementType = "GPU" | "InferenceAccelerator";
1588
+
1589
+ const EcsResourceRequirementType = Schema.Literals([
1590
+ "GPU",
1591
+ "InferenceAccelerator",
1592
+ ]).annotate({ identifier: "EcsResourceRequirementType" });
1593
+
1594
+ interface EcsResourceRequirement {
1595
+ readonly Type: EcsResourceRequirementType;
1596
+ readonly Value: string;
1597
+ }
1598
+
1599
+ const EcsResourceRequirement = Schema.Struct({
1600
+ Type: EcsResourceRequirementType,
1601
+ Value: Schema.String,
1602
+ }).annotate({ identifier: "EcsResourceRequirement" });
1603
+
1604
+ interface EcsContainerOverride {
1605
+ readonly Command?: globalThis.ReadonlyArray<string>;
1606
+ readonly Cpu?: number;
1607
+ readonly Environment?: globalThis.ReadonlyArray<EcsEnvironmentVariable>;
1608
+ readonly EnvironmentFiles?: globalThis.ReadonlyArray<EcsEnvironmentFile>;
1609
+ readonly Memory?: number;
1610
+ readonly MemoryReservation?: number;
1611
+ readonly Name?: string;
1612
+ readonly ResourceRequirements?: globalThis.ReadonlyArray<EcsResourceRequirement>;
1613
+ }
1614
+
1615
+ const EcsContainerOverride = Schema.Struct({
1616
+ Command: Schema.optionalKey(Schema.Array(Schema.String)),
1617
+ Cpu: Schema.optionalKey(Schema.Int),
1618
+ Environment: Schema.optionalKey(Schema.Array(EcsEnvironmentVariable)),
1619
+ EnvironmentFiles: Schema.optionalKey(Schema.Array(EcsEnvironmentFile)),
1620
+ Memory: Schema.optionalKey(Schema.Int),
1621
+ MemoryReservation: Schema.optionalKey(Schema.Int),
1622
+ Name: Schema.optionalKey(Schema.String),
1623
+ ResourceRequirements: Schema.optionalKey(
1624
+ Schema.Array(EcsResourceRequirement),
1625
+ ),
1626
+ }).annotate({ identifier: "EcsContainerOverride" });
1627
+
1628
+ interface EcsEphemeralStorage {
1629
+ readonly SizeInGiB: number;
1630
+ }
1631
+
1632
+ const EcsEphemeralStorage = Schema.Struct({
1633
+ SizeInGiB: Schema.Int.check(
1634
+ Schema.isGreaterThanOrEqualTo(21).annotate({
1635
+ expected: "a value greater than or equal to 21",
1636
+ }),
1637
+ ).check(
1638
+ Schema.isLessThanOrEqualTo(200).annotate({
1639
+ expected: "a value less than or equal to 200",
1640
+ }),
1641
+ ),
1642
+ }).annotate({ identifier: "EcsEphemeralStorage" });
1643
+
1644
+ interface EcsInferenceAcceleratorOverride {
1645
+ readonly DeviceName?: string;
1646
+ readonly DeviceType?: string;
1647
+ }
1648
+
1649
+ const EcsInferenceAcceleratorOverride = Schema.Struct({
1650
+ DeviceName: Schema.optionalKey(Schema.String),
1651
+ DeviceType: Schema.optionalKey(Schema.String),
1652
+ }).annotate({ identifier: "EcsInferenceAcceleratorOverride" });
1653
+
1654
+ interface EcsTaskOverride {
1655
+ readonly ContainerOverrides?: globalThis.ReadonlyArray<EcsContainerOverride>;
1656
+ readonly Cpu?: string;
1657
+ readonly EphemeralStorage?: EcsEphemeralStorage;
1658
+ readonly ExecutionRoleArn?: string;
1659
+ readonly InferenceAcceleratorOverrides?: globalThis.ReadonlyArray<EcsInferenceAcceleratorOverride>;
1660
+ readonly Memory?: string;
1661
+ readonly TaskRoleArn?: string;
1662
+ }
1663
+
1664
+ const EcsTaskOverride = Schema.Struct({
1665
+ ContainerOverrides: Schema.optionalKey(Schema.Array(EcsContainerOverride)),
1666
+ Cpu: Schema.optionalKey(Schema.String),
1667
+ EphemeralStorage: Schema.optionalKey(EcsEphemeralStorage),
1668
+ ExecutionRoleArn: Schema.optionalKey(
1669
+ Schema.String.check(
1670
+ Schema.isMinLength(1).annotate({
1671
+ expected: "a value with a length of at least 1",
1672
+ }),
1673
+ )
1674
+ .check(
1675
+ Schema.isMaxCodePoints(1600).annotate({
1676
+ expected: "a string with at most 1600 code points",
1677
+ }),
1678
+ )
1679
+ .check(
1680
+ Schema.isPattern(
1681
+ new globalThis.RegExp(
1682
+ "^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
1683
+ "u",
1684
+ ),
1685
+ ).annotate({
1686
+ expected:
1687
+ "a string matching the RegExp ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
1688
+ }),
1689
+ ),
1690
+ ),
1691
+ InferenceAcceleratorOverrides: Schema.optionalKey(
1692
+ Schema.Array(EcsInferenceAcceleratorOverride),
1693
+ ),
1694
+ Memory: Schema.optionalKey(Schema.String),
1695
+ TaskRoleArn: Schema.optionalKey(
1696
+ Schema.String.check(
1697
+ Schema.isMinLength(1).annotate({
1698
+ expected: "a value with a length of at least 1",
1699
+ }),
1700
+ )
1701
+ .check(
1702
+ Schema.isMaxCodePoints(1600).annotate({
1703
+ expected: "a string with at most 1600 code points",
1704
+ }),
1705
+ )
1706
+ .check(
1707
+ Schema.isPattern(
1708
+ new globalThis.RegExp(
1709
+ "^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
1710
+ "u",
1711
+ ),
1712
+ ).annotate({
1713
+ expected:
1714
+ "a string matching the RegExp ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
1715
+ }),
1716
+ ),
1717
+ ),
1718
+ }).annotate({ identifier: "EcsTaskOverride" });
1719
+
1720
+ interface Tag {
1721
+ readonly Key: string;
1722
+ readonly Value: string;
1723
+ }
1724
+
1725
+ const Tag = Schema.Struct({
1726
+ Key: Schema.String.check(
1727
+ Schema.isMinLength(1).annotate({
1728
+ expected: "a value with a length of at least 1",
1729
+ }),
1730
+ ).check(
1731
+ Schema.isMaxCodePoints(128).annotate({
1732
+ expected: "a string with at most 128 code points",
1733
+ }),
1734
+ ),
1735
+ Value: Schema.String.check(
1736
+ Schema.isMinCodePoints(0).annotate({
1737
+ expected: "a string with at least 0 code points",
1738
+ }),
1739
+ ).check(
1740
+ Schema.isMaxCodePoints(256).annotate({
1741
+ expected: "a string with at most 256 code points",
1742
+ }),
1743
+ ),
1744
+ }).annotate({ identifier: "Tag" });
1745
+
1746
+ interface PipeTargetEcsTaskParameters {
1747
+ readonly TaskDefinitionArn: string;
1748
+ readonly TaskCount?: number;
1749
+ readonly LaunchType?: LaunchType;
1750
+ readonly NetworkConfiguration?: NetworkConfiguration;
1751
+ readonly PlatformVersion?: string;
1752
+ readonly Group?: string;
1753
+ readonly CapacityProviderStrategy?: globalThis.ReadonlyArray<CapacityProviderStrategyItem>;
1754
+ readonly EnableECSManagedTags?: boolean;
1755
+ readonly EnableExecuteCommand?: boolean;
1756
+ readonly PlacementConstraints?: globalThis.ReadonlyArray<PlacementConstraint>;
1757
+ readonly PlacementStrategy?: globalThis.ReadonlyArray<PlacementStrategy>;
1758
+ readonly PropagateTags?: PropagateTags;
1759
+ readonly ReferenceId?: string;
1760
+ readonly Overrides?: EcsTaskOverride;
1761
+ readonly Tags?: globalThis.ReadonlyArray<Tag>;
1762
+ }
1763
+
1764
+ const PipeTargetEcsTaskParameters = Schema.Struct({
1765
+ TaskDefinitionArn: Schema.String.check(
1766
+ Schema.isMinLength(1).annotate({
1767
+ expected: "a value with a length of at least 1",
1768
+ }),
1769
+ )
1770
+ .check(
1771
+ Schema.isMaxCodePoints(1600).annotate({
1772
+ expected: "a string with at most 1600 code points",
1773
+ }),
1774
+ )
1775
+ .check(
1776
+ Schema.isPattern(
1777
+ new globalThis.RegExp(
1778
+ "^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
1779
+ "u",
1780
+ ),
1781
+ ).annotate({
1782
+ expected:
1783
+ "a string matching the RegExp ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
1784
+ }),
1785
+ ),
1786
+ TaskCount: Schema.optionalKey(
1787
+ Schema.Int.check(
1788
+ Schema.isGreaterThanOrEqualTo(1).annotate({
1789
+ expected: "a value greater than or equal to 1",
1790
+ }),
1791
+ ),
1792
+ ),
1793
+ LaunchType: Schema.optionalKey(LaunchType),
1794
+ NetworkConfiguration: Schema.optionalKey(NetworkConfiguration),
1795
+ PlatformVersion: Schema.optionalKey(Schema.String),
1796
+ Group: Schema.optionalKey(Schema.String),
1797
+ CapacityProviderStrategy: Schema.optionalKey(
1798
+ Schema.Array(CapacityProviderStrategyItem)
1799
+ .check(
1800
+ Schema.isMinLength(0).annotate({
1801
+ expected: "a value with a length of at least 0",
1802
+ }),
1803
+ )
1804
+ .check(
1805
+ Schema.isMaxLength(6).annotate({
1806
+ expected: "a value with a length of at most 6",
1807
+ }),
1808
+ ),
1809
+ ),
1810
+ EnableECSManagedTags: Schema.optionalKey(Schema.Boolean),
1811
+ EnableExecuteCommand: Schema.optionalKey(Schema.Boolean),
1812
+ PlacementConstraints: Schema.optionalKey(
1813
+ Schema.Array(PlacementConstraint)
1814
+ .check(
1815
+ Schema.isMinLength(0).annotate({
1816
+ expected: "a value with a length of at least 0",
1817
+ }),
1818
+ )
1819
+ .check(
1820
+ Schema.isMaxLength(10).annotate({
1821
+ expected: "a value with a length of at most 10",
1822
+ }),
1823
+ ),
1824
+ ),
1825
+ PlacementStrategy: Schema.optionalKey(
1826
+ Schema.Array(PlacementStrategy)
1827
+ .check(
1828
+ Schema.isMinLength(0).annotate({
1829
+ expected: "a value with a length of at least 0",
1830
+ }),
1831
+ )
1832
+ .check(
1833
+ Schema.isMaxLength(5).annotate({
1834
+ expected: "a value with a length of at most 5",
1835
+ }),
1836
+ ),
1837
+ ),
1838
+ PropagateTags: Schema.optionalKey(PropagateTags),
1839
+ ReferenceId: Schema.optionalKey(
1840
+ Schema.String.check(
1841
+ Schema.isMinCodePoints(0).annotate({
1842
+ expected: "a string with at least 0 code points",
1843
+ }),
1844
+ ).check(
1845
+ Schema.isMaxCodePoints(1024).annotate({
1846
+ expected: "a string with at most 1024 code points",
1847
+ }),
1848
+ ),
1849
+ ),
1850
+ Overrides: Schema.optionalKey(EcsTaskOverride),
1851
+ Tags: Schema.optionalKey(Schema.Array(Tag)),
1852
+ }).annotate({ identifier: "PipeTargetEcsTaskParameters" });
1853
+
1854
+ interface BatchArrayProperties {
1855
+ readonly Size?: number;
1856
+ }
1857
+
1858
+ const BatchArrayProperties = Schema.Struct({
1859
+ Size: Schema.optionalKey(
1860
+ Schema.Int.check(
1861
+ Schema.isGreaterThanOrEqualTo(2).annotate({
1862
+ expected: "a value greater than or equal to 2",
1863
+ }),
1864
+ ).check(
1865
+ Schema.isLessThanOrEqualTo(10000).annotate({
1866
+ expected: "a value less than or equal to 10000",
1867
+ }),
1868
+ ),
1869
+ ),
1870
+ }).annotate({ identifier: "BatchArrayProperties" });
1871
+
1872
+ interface BatchRetryStrategy {
1873
+ readonly Attempts?: number;
1874
+ }
1875
+
1876
+ const BatchRetryStrategy = Schema.Struct({
1877
+ Attempts: Schema.optionalKey(
1878
+ Schema.Int.check(
1879
+ Schema.isGreaterThanOrEqualTo(1).annotate({
1880
+ expected: "a value greater than or equal to 1",
1881
+ }),
1882
+ ).check(
1883
+ Schema.isLessThanOrEqualTo(10).annotate({
1884
+ expected: "a value less than or equal to 10",
1885
+ }),
1886
+ ),
1887
+ ),
1888
+ }).annotate({ identifier: "BatchRetryStrategy" });
1889
+
1890
+ interface BatchEnvironmentVariable {
1891
+ readonly Name?: string;
1892
+ readonly Value?: string;
1893
+ }
1894
+
1895
+ const BatchEnvironmentVariable = Schema.Struct({
1896
+ Name: Schema.optionalKey(Schema.String),
1897
+ Value: Schema.optionalKey(Schema.String),
1898
+ }).annotate({ identifier: "BatchEnvironmentVariable" });
1899
+
1900
+ type BatchResourceRequirementType = "GPU" | "MEMORY" | "VCPU";
1901
+
1902
+ const BatchResourceRequirementType = Schema.Literals([
1903
+ "GPU",
1904
+ "MEMORY",
1905
+ "VCPU",
1906
+ ]).annotate({ identifier: "BatchResourceRequirementType" });
1907
+
1908
+ interface BatchResourceRequirement {
1909
+ readonly Type: BatchResourceRequirementType;
1910
+ readonly Value: string;
1911
+ }
1912
+
1913
+ const BatchResourceRequirement = Schema.Struct({
1914
+ Type: BatchResourceRequirementType,
1915
+ Value: Schema.String,
1916
+ }).annotate({ identifier: "BatchResourceRequirement" });
1917
+
1918
+ interface BatchContainerOverrides {
1919
+ readonly Command?: globalThis.ReadonlyArray<string>;
1920
+ readonly Environment?: globalThis.ReadonlyArray<BatchEnvironmentVariable>;
1921
+ readonly InstanceType?: string;
1922
+ readonly ResourceRequirements?: globalThis.ReadonlyArray<BatchResourceRequirement>;
1923
+ }
1924
+
1925
+ const BatchContainerOverrides = Schema.Struct({
1926
+ Command: Schema.optionalKey(Schema.Array(Schema.String)),
1927
+ Environment: Schema.optionalKey(Schema.Array(BatchEnvironmentVariable)),
1928
+ InstanceType: Schema.optionalKey(Schema.String),
1929
+ ResourceRequirements: Schema.optionalKey(
1930
+ Schema.Array(BatchResourceRequirement),
1931
+ ),
1932
+ }).annotate({ identifier: "BatchContainerOverrides" });
1933
+
1934
+ type BatchJobDependencyType = "N_TO_N" | "SEQUENTIAL";
1935
+
1936
+ const BatchJobDependencyType = Schema.Literals([
1937
+ "N_TO_N",
1938
+ "SEQUENTIAL",
1939
+ ]).annotate({ identifier: "BatchJobDependencyType" });
1940
+
1941
+ interface BatchJobDependency {
1942
+ readonly JobId?: string;
1943
+ readonly Type?: BatchJobDependencyType;
1944
+ }
1945
+
1946
+ const BatchJobDependency = Schema.Struct({
1947
+ JobId: Schema.optionalKey(Schema.String),
1948
+ Type: Schema.optionalKey(BatchJobDependencyType),
1949
+ }).annotate({ identifier: "BatchJobDependency" });
1950
+
1951
+ interface BatchParametersMap {
1952
+ readonly [x: string]: string;
1953
+ }
1954
+
1955
+ const BatchParametersMap = Schema.Record(
1956
+ Schema.String.check(
1957
+ Schema.isPattern(new globalThis.RegExp(".+", "u")).annotate({
1958
+ expected: "a string matching the RegExp .+",
1959
+ }),
1960
+ ),
1961
+ Schema.String,
1962
+ ).annotate({ identifier: "BatchParametersMap" });
1963
+
1964
+ interface PipeTargetBatchJobParameters {
1965
+ readonly JobDefinition: string;
1966
+ readonly JobName: string;
1967
+ readonly ArrayProperties?: BatchArrayProperties;
1968
+ readonly RetryStrategy?: BatchRetryStrategy;
1969
+ readonly ContainerOverrides?: BatchContainerOverrides;
1970
+ readonly DependsOn?: globalThis.ReadonlyArray<BatchJobDependency>;
1971
+ readonly Parameters?: BatchParametersMap;
1972
+ }
1973
+
1974
+ const PipeTargetBatchJobParameters = Schema.Struct({
1975
+ JobDefinition: Schema.String,
1976
+ JobName: Schema.String,
1977
+ ArrayProperties: Schema.optionalKey(BatchArrayProperties),
1978
+ RetryStrategy: Schema.optionalKey(BatchRetryStrategy),
1979
+ ContainerOverrides: Schema.optionalKey(BatchContainerOverrides),
1980
+ DependsOn: Schema.optionalKey(
1981
+ Schema.Array(BatchJobDependency)
1982
+ .check(
1983
+ Schema.isMinLength(0).annotate({
1984
+ expected: "a value with a length of at least 0",
1985
+ }),
1986
+ )
1987
+ .check(
1988
+ Schema.isMaxLength(20).annotate({
1989
+ expected: "a value with a length of at most 20",
1990
+ }),
1991
+ ),
1992
+ ),
1993
+ Parameters: Schema.optionalKey(BatchParametersMap),
1994
+ }).annotate({ identifier: "PipeTargetBatchJobParameters" });
1995
+
1996
+ interface PipeTargetSqsQueueParameters {
1997
+ readonly MessageGroupId?: string;
1998
+ readonly MessageDeduplicationId?: string;
1999
+ }
2000
+
2001
+ const PipeTargetSqsQueueParameters = Schema.Struct({
2002
+ MessageGroupId: Schema.optionalKey(
2003
+ Schema.String.check(
2004
+ Schema.isMinCodePoints(0).annotate({
2005
+ expected: "a string with at least 0 code points",
2006
+ }),
2007
+ ).check(
2008
+ Schema.isMaxCodePoints(100).annotate({
2009
+ expected: "a string with at most 100 code points",
2010
+ }),
2011
+ ),
2012
+ ),
2013
+ MessageDeduplicationId: Schema.optionalKey(
2014
+ Schema.String.check(
2015
+ Schema.isMinCodePoints(0).annotate({
2016
+ expected: "a string with at least 0 code points",
2017
+ }),
2018
+ ).check(
2019
+ Schema.isMaxCodePoints(100).annotate({
2020
+ expected: "a string with at most 100 code points",
2021
+ }),
2022
+ ),
2023
+ ),
2024
+ }).annotate({ identifier: "PipeTargetSqsQueueParameters" });
2025
+
2026
+ interface PipeTargetHttpParameters {
2027
+ readonly PathParameterValues?: globalThis.ReadonlyArray<string>;
2028
+ readonly HeaderParameters?: HeaderParametersMap;
2029
+ readonly QueryStringParameters?: QueryStringParametersMap;
2030
+ }
2031
+
2032
+ const PipeTargetHttpParameters = Schema.Struct({
2033
+ PathParameterValues: Schema.optionalKey(
2034
+ Schema.Array(
2035
+ Schema.String.check(
2036
+ Schema.isPattern(
2037
+ new globalThis.RegExp(
2038
+ "^(?!\\s*$).+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
2039
+ "u",
2040
+ ),
2041
+ ).annotate({
2042
+ expected:
2043
+ "a string matching the RegExp ^(?!\\s*$).+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
2044
+ }),
2045
+ ),
2046
+ ),
2047
+ ),
2048
+ HeaderParameters: Schema.optionalKey(HeaderParametersMap),
2049
+ QueryStringParameters: Schema.optionalKey(QueryStringParametersMap),
2050
+ }).annotate({ identifier: "PipeTargetHttpParameters" });
2051
+
2052
+ interface PipeTargetRedshiftDataParameters {
2053
+ readonly SecretManagerArn?: string;
2054
+ readonly Database: string;
2055
+ readonly DbUser?: string;
2056
+ readonly StatementName?: string;
2057
+ readonly WithEvent?: boolean;
2058
+ readonly Sqls: globalThis.ReadonlyArray<string>;
2059
+ }
2060
+
2061
+ const PipeTargetRedshiftDataParameters = Schema.Struct({
2062
+ SecretManagerArn: Schema.optionalKey(
2063
+ Schema.String.annotate({
2064
+ description:
2065
+ "Optional SecretManager ARN which stores the database credentials",
2066
+ })
2067
+ .check(
2068
+ Schema.isMinLength(1).annotate({
2069
+ expected: "a value with a length of at least 1",
2070
+ }),
2071
+ )
2072
+ .check(
2073
+ Schema.isMaxCodePoints(1600).annotate({
2074
+ expected: "a string with at most 1600 code points",
2075
+ }),
2076
+ )
2077
+ .check(
2078
+ Schema.isPattern(
2079
+ new globalThis.RegExp(
2080
+ "^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
2081
+ "u",
2082
+ ),
2083
+ ).annotate({
2084
+ expected:
2085
+ "a string matching the RegExp ^(^arn:aws([a-z]|-)*:secretsmanager:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
2086
+ }),
2087
+ ),
2088
+ ),
2089
+ Database: Schema.String.annotate({ description: "Redshift Database" })
2090
+ .check(
2091
+ Schema.isMinLength(1).annotate({
2092
+ expected: "a value with a length of at least 1",
2093
+ }),
2094
+ )
2095
+ .check(
2096
+ Schema.isMaxCodePoints(64).annotate({
2097
+ expected: "a string with at most 64 code points",
2098
+ }),
2099
+ ),
2100
+ DbUser: Schema.optionalKey(
2101
+ Schema.String.annotate({ description: "Database user name" })
2102
+ .check(
2103
+ Schema.isMinLength(1).annotate({
2104
+ expected: "a value with a length of at least 1",
2105
+ }),
2106
+ )
2107
+ .check(
2108
+ Schema.isMaxCodePoints(128).annotate({
2109
+ expected: "a string with at most 128 code points",
2110
+ }),
2111
+ ),
2112
+ ),
2113
+ StatementName: Schema.optionalKey(
2114
+ Schema.String.annotate({
2115
+ description:
2116
+ "A name for Redshift DataAPI statement which can be used as filter of ListStatement.",
2117
+ })
2118
+ .check(
2119
+ Schema.isMinLength(1).annotate({
2120
+ expected: "a value with a length of at least 1",
2121
+ }),
2122
+ )
2123
+ .check(
2124
+ Schema.isMaxCodePoints(500).annotate({
2125
+ expected: "a string with at most 500 code points",
2126
+ }),
2127
+ ),
2128
+ ),
2129
+ WithEvent: Schema.optionalKey(Schema.Boolean),
2130
+ Sqls: Schema.Array(
2131
+ Schema.String.annotate({ description: "A single Redshift SQL" })
2132
+ .check(
2133
+ Schema.isMinLength(1).annotate({
2134
+ expected: "a value with a length of at least 1",
2135
+ }),
2136
+ )
2137
+ .check(
2138
+ Schema.isMaxCodePoints(100000).annotate({
2139
+ expected: "a string with at most 100000 code points",
2140
+ }),
2141
+ ),
2142
+ )
2143
+ .annotate({ description: "A list of SQLs." })
2144
+ .check(
2145
+ Schema.isMinLength(1).annotate({
2146
+ expected: "a value with a length of at least 1",
2147
+ }),
2148
+ )
2149
+ .check(
2150
+ Schema.isMaxLength(40).annotate({
2151
+ expected: "a value with a length of at most 40",
2152
+ }),
2153
+ ),
2154
+ }).annotate({ identifier: "PipeTargetRedshiftDataParameters" });
2155
+
2156
+ interface SageMakerPipelineParameter {
2157
+ readonly Name: string;
2158
+ readonly Value: string;
2159
+ }
2160
+
2161
+ const SageMakerPipelineParameter = Schema.Struct({
2162
+ Name: Schema.String.check(
2163
+ Schema.isMinLength(1).annotate({
2164
+ expected: "a value with a length of at least 1",
2165
+ }),
2166
+ )
2167
+ .check(
2168
+ Schema.isMaxCodePoints(256).annotate({
2169
+ expected: "a string with at most 256 code points",
2170
+ }),
2171
+ )
2172
+ .check(
2173
+ Schema.isPattern(
2174
+ new globalThis.RegExp(
2175
+ "^[a-zA-Z0-9](-*[a-zA-Z0-9])*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
2176
+ "u",
2177
+ ),
2178
+ ).annotate({
2179
+ expected:
2180
+ "a string matching the RegExp ^[a-zA-Z0-9](-*[a-zA-Z0-9])*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
2181
+ }),
2182
+ ),
2183
+ Value: Schema.String.check(
2184
+ Schema.isMinCodePoints(0).annotate({
2185
+ expected: "a string with at least 0 code points",
2186
+ }),
2187
+ ).check(
2188
+ Schema.isMaxCodePoints(1024).annotate({
2189
+ expected: "a string with at most 1024 code points",
2190
+ }),
2191
+ ),
2192
+ }).annotate({ identifier: "SageMakerPipelineParameter" });
2193
+
2194
+ interface PipeTargetSageMakerPipelineParameters {
2195
+ readonly PipelineParameterList?: globalThis.ReadonlyArray<SageMakerPipelineParameter>;
2196
+ }
2197
+
2198
+ const PipeTargetSageMakerPipelineParameters = Schema.Struct({
2199
+ PipelineParameterList: Schema.optionalKey(
2200
+ Schema.Array(SageMakerPipelineParameter)
2201
+ .check(
2202
+ Schema.isMinLength(0).annotate({
2203
+ expected: "a value with a length of at least 0",
2204
+ }),
2205
+ )
2206
+ .check(
2207
+ Schema.isMaxLength(200).annotate({
2208
+ expected: "a value with a length of at most 200",
2209
+ }),
2210
+ ),
2211
+ ),
2212
+ }).annotate({ identifier: "PipeTargetSageMakerPipelineParameters" });
2213
+
2214
+ interface PipeTargetEventBridgeEventBusParameters {
2215
+ readonly EndpointId?: string;
2216
+ readonly DetailType?: string;
2217
+ readonly Source?: string;
2218
+ readonly Resources?: globalThis.ReadonlyArray<string>;
2219
+ readonly Time?: string;
2220
+ }
2221
+
2222
+ const PipeTargetEventBridgeEventBusParameters = Schema.Struct({
2223
+ EndpointId: Schema.optionalKey(
2224
+ Schema.String.check(
2225
+ Schema.isMinLength(1).annotate({
2226
+ expected: "a value with a length of at least 1",
2227
+ }),
2228
+ )
2229
+ .check(
2230
+ Schema.isMaxCodePoints(50).annotate({
2231
+ expected: "a string with at most 50 code points",
2232
+ }),
2233
+ )
2234
+ .check(
2235
+ Schema.isPattern(
2236
+ new globalThis.RegExp("^[A-Za-z0-9\\-]+[\\.][A-Za-z0-9\\-]+$", "u"),
2237
+ ).annotate({
2238
+ expected:
2239
+ "a string matching the RegExp ^[A-Za-z0-9\\-]+[\\.][A-Za-z0-9\\-]+$",
2240
+ }),
2241
+ ),
2242
+ ),
2243
+ DetailType: Schema.optionalKey(
2244
+ Schema.String.check(
2245
+ Schema.isMinLength(1).annotate({
2246
+ expected: "a value with a length of at least 1",
2247
+ }),
2248
+ ).check(
2249
+ Schema.isMaxCodePoints(128).annotate({
2250
+ expected: "a string with at most 128 code points",
2251
+ }),
2252
+ ),
2253
+ ),
2254
+ Source: Schema.optionalKey(
2255
+ Schema.String.check(
2256
+ Schema.isMinLength(1).annotate({
2257
+ expected: "a value with a length of at least 1",
2258
+ }),
2259
+ )
2260
+ .check(
2261
+ Schema.isMaxCodePoints(256).annotate({
2262
+ expected: "a string with at most 256 code points",
2263
+ }),
2264
+ )
2265
+ .check(
2266
+ Schema.isPattern(
2267
+ new globalThis.RegExp(
2268
+ "(?=[/\\.\\-_A-Za-z0-9]+)((?!aws\\.).*)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)",
2269
+ "u",
2270
+ ),
2271
+ ).annotate({
2272
+ expected:
2273
+ "a string matching the RegExp (?=[/\\.\\-_A-Za-z0-9]+)((?!aws\\.).*)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)",
2274
+ }),
2275
+ ),
2276
+ ),
2277
+ Resources: Schema.optionalKey(
2278
+ Schema.Array(
2279
+ Schema.String.check(
2280
+ Schema.isMinLength(1).annotate({
2281
+ expected: "a value with a length of at least 1",
2282
+ }),
2283
+ )
2284
+ .check(
2285
+ Schema.isMaxCodePoints(1600).annotate({
2286
+ expected: "a string with at most 1600 code points",
2287
+ }),
2288
+ )
2289
+ .check(
2290
+ Schema.isPattern(
2291
+ new globalThis.RegExp(
2292
+ "^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
2293
+ "u",
2294
+ ),
2295
+ ).annotate({
2296
+ expected:
2297
+ "a string matching the RegExp ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
2298
+ }),
2299
+ ),
2300
+ )
2301
+ .check(
2302
+ Schema.isMinLength(0).annotate({
2303
+ expected: "a value with a length of at least 0",
2304
+ }),
2305
+ )
2306
+ .check(
2307
+ Schema.isMaxLength(10).annotate({
2308
+ expected: "a value with a length of at most 10",
2309
+ }),
2310
+ ),
2311
+ ),
2312
+ Time: Schema.optionalKey(
2313
+ Schema.String.check(
2314
+ Schema.isMinLength(1).annotate({
2315
+ expected: "a value with a length of at least 1",
2316
+ }),
2317
+ )
2318
+ .check(
2319
+ Schema.isMaxCodePoints(256).annotate({
2320
+ expected: "a string with at most 256 code points",
2321
+ }),
2322
+ )
2323
+ .check(
2324
+ Schema.isPattern(
2325
+ new globalThis.RegExp("^\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*$", "u"),
2326
+ ).annotate({
2327
+ expected:
2328
+ "a string matching the RegExp ^\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*$",
2329
+ }),
2330
+ ),
2331
+ ),
2332
+ }).annotate({ identifier: "PipeTargetEventBridgeEventBusParameters" });
2333
+
2334
+ interface PipeTargetCloudWatchLogsParameters {
2335
+ readonly LogStreamName?: string;
2336
+ readonly Timestamp?: string;
2337
+ }
2338
+
2339
+ const PipeTargetCloudWatchLogsParameters = Schema.Struct({
2340
+ LogStreamName: Schema.optionalKey(
2341
+ Schema.String.check(
2342
+ Schema.isMinLength(1).annotate({
2343
+ expected: "a value with a length of at least 1",
2344
+ }),
2345
+ ).check(
2346
+ Schema.isMaxCodePoints(256).annotate({
2347
+ expected: "a string with at most 256 code points",
2348
+ }),
2349
+ ),
2350
+ ),
2351
+ Timestamp: Schema.optionalKey(
2352
+ Schema.String.check(
2353
+ Schema.isMinLength(1).annotate({
2354
+ expected: "a value with a length of at least 1",
2355
+ }),
2356
+ )
2357
+ .check(
2358
+ Schema.isMaxCodePoints(256).annotate({
2359
+ expected: "a string with at most 256 code points",
2360
+ }),
2361
+ )
2362
+ .check(
2363
+ Schema.isPattern(
2364
+ new globalThis.RegExp("^\\$(\\.[\\w_-]+(\\[(\\d+|\\*)\\])*)*$", "u"),
2365
+ ).annotate({
2366
+ expected:
2367
+ "a string matching the RegExp ^\\$(\\.[\\w_-]+(\\[(\\d+|\\*)\\])*)*$",
2368
+ }),
2369
+ ),
2370
+ ),
2371
+ }).annotate({ identifier: "PipeTargetCloudWatchLogsParameters" });
2372
+
2373
+ type EpochTimeUnit =
2374
+ | "MILLISECONDS"
2375
+ | "SECONDS"
2376
+ | "MICROSECONDS"
2377
+ | "NANOSECONDS";
2378
+
2379
+ const EpochTimeUnit = Schema.Literals([
2380
+ "MILLISECONDS",
2381
+ "SECONDS",
2382
+ "MICROSECONDS",
2383
+ "NANOSECONDS",
2384
+ ]).annotate({ identifier: "EpochTimeUnit" });
2385
+
2386
+ type TimeFieldType = "EPOCH" | "TIMESTAMP_FORMAT";
2387
+
2388
+ const TimeFieldType = Schema.Literals(["EPOCH", "TIMESTAMP_FORMAT"]).annotate({
2389
+ identifier: "TimeFieldType",
2390
+ });
2391
+
2392
+ type DimensionValueType = "VARCHAR";
2393
+
2394
+ const DimensionValueType = Schema.Literal("VARCHAR").annotate({
2395
+ identifier: "DimensionValueType",
2396
+ });
2397
+
2398
+ interface DimensionMapping {
2399
+ readonly DimensionValue: string;
2400
+ readonly DimensionValueType: DimensionValueType;
2401
+ readonly DimensionName: string;
2402
+ }
2403
+
2404
+ const DimensionMapping = Schema.Struct({
2405
+ DimensionValue: Schema.String.check(
2406
+ Schema.isMinLength(1).annotate({
2407
+ expected: "a value with a length of at least 1",
2408
+ }),
2409
+ ).check(
2410
+ Schema.isMaxCodePoints(2048).annotate({
2411
+ expected: "a string with at most 2048 code points",
2412
+ }),
2413
+ ),
2414
+ DimensionValueType: DimensionValueType,
2415
+ DimensionName: Schema.String.check(
2416
+ Schema.isMinLength(1).annotate({
2417
+ expected: "a value with a length of at least 1",
2418
+ }),
2419
+ ).check(
2420
+ Schema.isMaxCodePoints(256).annotate({
2421
+ expected: "a string with at most 256 code points",
2422
+ }),
2423
+ ),
2424
+ }).annotate({ identifier: "DimensionMapping" });
2425
+
2426
+ type MeasureValueType =
2427
+ | "DOUBLE"
2428
+ | "BIGINT"
2429
+ | "VARCHAR"
2430
+ | "BOOLEAN"
2431
+ | "TIMESTAMP";
2432
+
2433
+ const MeasureValueType = Schema.Literals([
2434
+ "DOUBLE",
2435
+ "BIGINT",
2436
+ "VARCHAR",
2437
+ "BOOLEAN",
2438
+ "TIMESTAMP",
2439
+ ]).annotate({ identifier: "MeasureValueType" });
2440
+
2441
+ interface SingleMeasureMapping {
2442
+ readonly MeasureValue: string;
2443
+ readonly MeasureValueType: MeasureValueType;
2444
+ readonly MeasureName: string;
2445
+ }
2446
+
2447
+ const SingleMeasureMapping = Schema.Struct({
2448
+ MeasureValue: Schema.String.check(
2449
+ Schema.isMinLength(1).annotate({
2450
+ expected: "a value with a length of at least 1",
2451
+ }),
2452
+ ).check(
2453
+ Schema.isMaxCodePoints(2048).annotate({
2454
+ expected: "a string with at most 2048 code points",
2455
+ }),
2456
+ ),
2457
+ MeasureValueType: MeasureValueType,
2458
+ MeasureName: Schema.String.check(
2459
+ Schema.isMinLength(1).annotate({
2460
+ expected: "a value with a length of at least 1",
2461
+ }),
2462
+ ).check(
2463
+ Schema.isMaxCodePoints(1024).annotate({
2464
+ expected: "a string with at most 1024 code points",
2465
+ }),
2466
+ ),
2467
+ }).annotate({ identifier: "SingleMeasureMapping" });
2468
+
2469
+ interface MultiMeasureAttributeMapping {
2470
+ readonly MeasureValue: string;
2471
+ readonly MeasureValueType: MeasureValueType;
2472
+ readonly MultiMeasureAttributeName: string;
2473
+ }
2474
+
2475
+ const MultiMeasureAttributeMapping = Schema.Struct({
2476
+ MeasureValue: Schema.String.check(
2477
+ Schema.isMinLength(1).annotate({
2478
+ expected: "a value with a length of at least 1",
2479
+ }),
2480
+ ).check(
2481
+ Schema.isMaxCodePoints(2048).annotate({
2482
+ expected: "a string with at most 2048 code points",
2483
+ }),
2484
+ ),
2485
+ MeasureValueType: MeasureValueType,
2486
+ MultiMeasureAttributeName: Schema.String.check(
2487
+ Schema.isMinLength(1).annotate({
2488
+ expected: "a value with a length of at least 1",
2489
+ }),
2490
+ ).check(
2491
+ Schema.isMaxCodePoints(256).annotate({
2492
+ expected: "a string with at most 256 code points",
2493
+ }),
2494
+ ),
2495
+ }).annotate({ identifier: "MultiMeasureAttributeMapping" });
2496
+
2497
+ interface MultiMeasureMapping {
2498
+ readonly MultiMeasureName: string;
2499
+ readonly MultiMeasureAttributeMappings: globalThis.ReadonlyArray<MultiMeasureAttributeMapping>;
2500
+ }
2501
+
2502
+ const MultiMeasureMapping = Schema.Struct({
2503
+ MultiMeasureName: Schema.String.check(
2504
+ Schema.isMinLength(1).annotate({
2505
+ expected: "a value with a length of at least 1",
2506
+ }),
2507
+ ).check(
2508
+ Schema.isMaxCodePoints(256).annotate({
2509
+ expected: "a string with at most 256 code points",
2510
+ }),
2511
+ ),
2512
+ MultiMeasureAttributeMappings: Schema.Array(MultiMeasureAttributeMapping)
2513
+ .check(
2514
+ Schema.isMinLength(1).annotate({
2515
+ expected: "a value with a length of at least 1",
2516
+ }),
2517
+ )
2518
+ .check(
2519
+ Schema.isMaxLength(256).annotate({
2520
+ expected: "a value with a length of at most 256",
2521
+ }),
2522
+ ),
2523
+ }).annotate({ identifier: "MultiMeasureMapping" });
2524
+
2525
+ interface PipeTargetTimestreamParameters {
2526
+ readonly TimeValue: string;
2527
+ readonly EpochTimeUnit?: EpochTimeUnit;
2528
+ readonly TimeFieldType?: TimeFieldType;
2529
+ readonly TimestampFormat?: string;
2530
+ readonly VersionValue: string;
2531
+ readonly DimensionMappings: globalThis.ReadonlyArray<DimensionMapping>;
2532
+ readonly SingleMeasureMappings?: globalThis.ReadonlyArray<SingleMeasureMapping>;
2533
+ readonly MultiMeasureMappings?: globalThis.ReadonlyArray<MultiMeasureMapping>;
2534
+ }
2535
+
2536
+ const PipeTargetTimestreamParameters = Schema.Struct({
2537
+ TimeValue: Schema.String.check(
2538
+ Schema.isMinLength(1).annotate({
2539
+ expected: "a value with a length of at least 1",
2540
+ }),
2541
+ ).check(
2542
+ Schema.isMaxCodePoints(256).annotate({
2543
+ expected: "a string with at most 256 code points",
2544
+ }),
2545
+ ),
2546
+ EpochTimeUnit: Schema.optionalKey(EpochTimeUnit),
2547
+ TimeFieldType: Schema.optionalKey(TimeFieldType),
2548
+ TimestampFormat: Schema.optionalKey(
2549
+ Schema.String.check(
2550
+ Schema.isMinLength(1).annotate({
2551
+ expected: "a value with a length of at least 1",
2552
+ }),
2553
+ ).check(
2554
+ Schema.isMaxCodePoints(256).annotate({
2555
+ expected: "a string with at most 256 code points",
2556
+ }),
2557
+ ),
2558
+ ),
2559
+ VersionValue: Schema.String.check(
2560
+ Schema.isMinLength(1).annotate({
2561
+ expected: "a value with a length of at least 1",
2562
+ }),
2563
+ ).check(
2564
+ Schema.isMaxCodePoints(256).annotate({
2565
+ expected: "a string with at most 256 code points",
2566
+ }),
2567
+ ),
2568
+ DimensionMappings: Schema.Array(DimensionMapping)
2569
+ .check(
2570
+ Schema.isMinLength(1).annotate({
2571
+ expected: "a value with a length of at least 1",
2572
+ }),
2573
+ )
2574
+ .check(
2575
+ Schema.isMaxLength(128).annotate({
2576
+ expected: "a value with a length of at most 128",
2577
+ }),
2578
+ ),
2579
+ SingleMeasureMappings: Schema.optionalKey(
2580
+ Schema.Array(SingleMeasureMapping)
2581
+ .check(
2582
+ Schema.isMinLength(0).annotate({
2583
+ expected: "a value with a length of at least 0",
2584
+ }),
2585
+ )
2586
+ .check(
2587
+ Schema.isMaxLength(8192).annotate({
2588
+ expected: "a value with a length of at most 8192",
2589
+ }),
2590
+ ),
2591
+ ),
2592
+ MultiMeasureMappings: Schema.optionalKey(
2593
+ Schema.Array(MultiMeasureMapping)
2594
+ .check(
2595
+ Schema.isMinLength(0).annotate({
2596
+ expected: "a value with a length of at least 0",
2597
+ }),
2598
+ )
2599
+ .check(
2600
+ Schema.isMaxLength(1024).annotate({
2601
+ expected: "a value with a length of at most 1024",
2602
+ }),
2603
+ ),
2604
+ ),
2605
+ }).annotate({ identifier: "PipeTargetTimestreamParameters" });
2606
+
2607
+ interface PipeTargetParameters {
2608
+ readonly InputTemplate?: string;
2609
+ readonly LambdaFunctionParameters?: PipeTargetLambdaFunctionParameters;
2610
+ readonly StepFunctionStateMachineParameters?: PipeTargetStateMachineParameters;
2611
+ readonly KinesisStreamParameters?: PipeTargetKinesisStreamParameters;
2612
+ readonly EcsTaskParameters?: PipeTargetEcsTaskParameters;
2613
+ readonly BatchJobParameters?: PipeTargetBatchJobParameters;
2614
+ readonly SqsQueueParameters?: PipeTargetSqsQueueParameters;
2615
+ readonly HttpParameters?: PipeTargetHttpParameters;
2616
+ readonly RedshiftDataParameters?: PipeTargetRedshiftDataParameters;
2617
+ readonly SageMakerPipelineParameters?: PipeTargetSageMakerPipelineParameters;
2618
+ readonly EventBridgeEventBusParameters?: PipeTargetEventBridgeEventBusParameters;
2619
+ readonly CloudWatchLogsParameters?: PipeTargetCloudWatchLogsParameters;
2620
+ readonly TimestreamParameters?: PipeTargetTimestreamParameters;
2621
+ }
2622
+
2623
+ const PipeTargetParameters = Schema.Struct({
2624
+ InputTemplate: Schema.optionalKey(
2625
+ Schema.String.check(
2626
+ Schema.isMinCodePoints(0).annotate({
2627
+ expected: "a string with at least 0 code points",
2628
+ }),
2629
+ ).check(
2630
+ Schema.isMaxCodePoints(8192).annotate({
2631
+ expected: "a string with at most 8192 code points",
2632
+ }),
2633
+ ),
2634
+ ),
2635
+ LambdaFunctionParameters: Schema.optionalKey(
2636
+ PipeTargetLambdaFunctionParameters,
2637
+ ),
2638
+ StepFunctionStateMachineParameters: Schema.optionalKey(
2639
+ PipeTargetStateMachineParameters,
2640
+ ),
2641
+ KinesisStreamParameters: Schema.optionalKey(
2642
+ PipeTargetKinesisStreamParameters,
2643
+ ),
2644
+ EcsTaskParameters: Schema.optionalKey(PipeTargetEcsTaskParameters),
2645
+ BatchJobParameters: Schema.optionalKey(PipeTargetBatchJobParameters),
2646
+ SqsQueueParameters: Schema.optionalKey(PipeTargetSqsQueueParameters),
2647
+ HttpParameters: Schema.optionalKey(PipeTargetHttpParameters),
2648
+ RedshiftDataParameters: Schema.optionalKey(PipeTargetRedshiftDataParameters),
2649
+ SageMakerPipelineParameters: Schema.optionalKey(
2650
+ PipeTargetSageMakerPipelineParameters,
2651
+ ),
2652
+ EventBridgeEventBusParameters: Schema.optionalKey(
2653
+ PipeTargetEventBridgeEventBusParameters,
2654
+ ),
2655
+ CloudWatchLogsParameters: Schema.optionalKey(
2656
+ PipeTargetCloudWatchLogsParameters,
2657
+ ),
2658
+ TimestreamParameters: Schema.optionalKey(PipeTargetTimestreamParameters),
2659
+ }).annotate({ identifier: "PipeTargetParameters" });
2660
+
2661
+ type PipeState =
2662
+ | "RUNNING"
2663
+ | "STOPPED"
2664
+ | "CREATING"
2665
+ | "UPDATING"
2666
+ | "DELETING"
2667
+ | "STARTING"
2668
+ | "STOPPING"
2669
+ | "CREATE_FAILED"
2670
+ | "UPDATE_FAILED"
2671
+ | "START_FAILED"
2672
+ | "STOP_FAILED"
2673
+ | "DELETE_FAILED"
2674
+ | "CREATE_ROLLBACK_FAILED"
2675
+ | "DELETE_ROLLBACK_FAILED"
2676
+ | "UPDATE_ROLLBACK_FAILED";
2677
+
2678
+ const PipeState = Schema.Literals([
2679
+ "RUNNING",
2680
+ "STOPPED",
2681
+ "CREATING",
2682
+ "UPDATING",
2683
+ "DELETING",
2684
+ "STARTING",
2685
+ "STOPPING",
2686
+ "CREATE_FAILED",
2687
+ "UPDATE_FAILED",
2688
+ "START_FAILED",
2689
+ "STOP_FAILED",
2690
+ "DELETE_FAILED",
2691
+ "CREATE_ROLLBACK_FAILED",
2692
+ "DELETE_ROLLBACK_FAILED",
2693
+ "UPDATE_ROLLBACK_FAILED",
2694
+ ]).annotate({ identifier: "PipeState" });
2695
+
2696
+ interface DeadLetterConfig_2 {
2697
+ readonly Arn?: string;
2698
+ }
2699
+
2700
+ const DeadLetterConfig_2 = Schema.Struct({
2701
+ Arn: Schema.optionalKey(
2702
+ Schema.String.check(
2703
+ Schema.isMinLength(1).annotate({
2704
+ expected: "a value with a length of at least 1",
2705
+ }),
2706
+ )
2707
+ .check(
2708
+ Schema.isMaxCodePoints(1600).annotate({
2709
+ expected: "a string with at most 1600 code points",
2710
+ }),
2711
+ )
2712
+ .check(
2713
+ Schema.isPattern(
2714
+ new globalThis.RegExp(
2715
+ "^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
2716
+ "u",
2717
+ ),
2718
+ ).annotate({
2719
+ expected:
2720
+ "a string matching the RegExp ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
2721
+ }),
2722
+ ),
2723
+ ),
2724
+ }).annotate({ identifier: "DeadLetterConfig_2" });
2725
+
2726
+ interface PipeSourceKinesisStreamParameters_1 {
2727
+ readonly BatchSize?: number;
2728
+ readonly DeadLetterConfig?: DeadLetterConfig_2;
2729
+ readonly OnPartialBatchItemFailure?: OnPartialBatchItemFailureStreams;
2730
+ readonly MaximumBatchingWindowInSeconds?: number;
2731
+ readonly MaximumRecordAgeInSeconds?: number;
2732
+ readonly MaximumRetryAttempts?: number;
2733
+ readonly ParallelizationFactor?: number;
2734
+ readonly StartingPosition: KinesisStreamStartPosition;
2735
+ readonly StartingPositionTimestamp?: string;
2736
+ }
2737
+
2738
+ const PipeSourceKinesisStreamParameters_1 = Schema.Struct({
2739
+ BatchSize: Schema.optionalKey(
2740
+ Schema.Int.check(
2741
+ Schema.isGreaterThanOrEqualTo(1).annotate({
2742
+ expected: "a value greater than or equal to 1",
2743
+ }),
2744
+ ).check(
2745
+ Schema.isLessThanOrEqualTo(10000).annotate({
2746
+ expected: "a value less than or equal to 10000",
2747
+ }),
2748
+ ),
2749
+ ),
2750
+ DeadLetterConfig: Schema.optionalKey(DeadLetterConfig_2),
2751
+ OnPartialBatchItemFailure: Schema.optionalKey(
2752
+ OnPartialBatchItemFailureStreams,
2753
+ ),
2754
+ MaximumBatchingWindowInSeconds: Schema.optionalKey(
2755
+ Schema.Int.check(
2756
+ Schema.isGreaterThanOrEqualTo(0).annotate({
2757
+ expected: "a value greater than or equal to 0",
2758
+ }),
2759
+ ).check(
2760
+ Schema.isLessThanOrEqualTo(300).annotate({
2761
+ expected: "a value less than or equal to 300",
2762
+ }),
2763
+ ),
2764
+ ),
2765
+ MaximumRecordAgeInSeconds: Schema.optionalKey(
2766
+ Schema.Int.check(
2767
+ Schema.isGreaterThanOrEqualTo(-1).annotate({
2768
+ expected: "a value greater than or equal to -1",
2769
+ }),
2770
+ ).check(
2771
+ Schema.isLessThanOrEqualTo(604800).annotate({
2772
+ expected: "a value less than or equal to 604800",
2773
+ }),
2774
+ ),
2775
+ ),
2776
+ MaximumRetryAttempts: Schema.optionalKey(
2777
+ Schema.Int.check(
2778
+ Schema.isGreaterThanOrEqualTo(-1).annotate({
2779
+ expected: "a value greater than or equal to -1",
2780
+ }),
2781
+ ).check(
2782
+ Schema.isLessThanOrEqualTo(10000).annotate({
2783
+ expected: "a value less than or equal to 10000",
2784
+ }),
2785
+ ),
2786
+ ),
2787
+ ParallelizationFactor: Schema.optionalKey(
2788
+ Schema.Int.check(
2789
+ Schema.isGreaterThanOrEqualTo(1).annotate({
2790
+ expected: "a value greater than or equal to 1",
2791
+ }),
2792
+ ).check(
2793
+ Schema.isLessThanOrEqualTo(10).annotate({
2794
+ expected: "a value less than or equal to 10",
2795
+ }),
2796
+ ),
2797
+ ),
2798
+ StartingPosition: KinesisStreamStartPosition,
2799
+ StartingPositionTimestamp: Schema.optionalKey(
2800
+ Schema.String.annotate({ format: "date-time" }),
2801
+ ),
2802
+ }).annotate({ identifier: "PipeSourceKinesisStreamParameters_1" });
2803
+
2804
+ interface PipeSourceDynamoDBStreamParameters_1 {
2805
+ readonly BatchSize?: number;
2806
+ readonly DeadLetterConfig?: DeadLetterConfig_2;
2807
+ readonly OnPartialBatchItemFailure?: OnPartialBatchItemFailureStreams;
2808
+ readonly MaximumBatchingWindowInSeconds?: number;
2809
+ readonly MaximumRecordAgeInSeconds?: number;
2810
+ readonly MaximumRetryAttempts?: number;
2811
+ readonly ParallelizationFactor?: number;
2812
+ readonly StartingPosition: DynamoDBStreamStartPosition;
2813
+ }
2814
+
2815
+ const PipeSourceDynamoDBStreamParameters_1 = Schema.Struct({
2816
+ BatchSize: Schema.optionalKey(
2817
+ Schema.Int.check(
2818
+ Schema.isGreaterThanOrEqualTo(1).annotate({
2819
+ expected: "a value greater than or equal to 1",
2820
+ }),
2821
+ ).check(
2822
+ Schema.isLessThanOrEqualTo(10000).annotate({
2823
+ expected: "a value less than or equal to 10000",
2824
+ }),
2825
+ ),
2826
+ ),
2827
+ DeadLetterConfig: Schema.optionalKey(DeadLetterConfig_2),
2828
+ OnPartialBatchItemFailure: Schema.optionalKey(
2829
+ OnPartialBatchItemFailureStreams,
2830
+ ),
2831
+ MaximumBatchingWindowInSeconds: Schema.optionalKey(
2832
+ Schema.Int.check(
2833
+ Schema.isGreaterThanOrEqualTo(0).annotate({
2834
+ expected: "a value greater than or equal to 0",
2835
+ }),
2836
+ ).check(
2837
+ Schema.isLessThanOrEqualTo(300).annotate({
2838
+ expected: "a value less than or equal to 300",
2839
+ }),
2840
+ ),
2841
+ ),
2842
+ MaximumRecordAgeInSeconds: Schema.optionalKey(
2843
+ Schema.Int.check(
2844
+ Schema.isGreaterThanOrEqualTo(-1).annotate({
2845
+ expected: "a value greater than or equal to -1",
2846
+ }),
2847
+ ).check(
2848
+ Schema.isLessThanOrEqualTo(604800).annotate({
2849
+ expected: "a value less than or equal to 604800",
2850
+ }),
2851
+ ),
2852
+ ),
2853
+ MaximumRetryAttempts: Schema.optionalKey(
2854
+ Schema.Int.check(
2855
+ Schema.isGreaterThanOrEqualTo(-1).annotate({
2856
+ expected: "a value greater than or equal to -1",
2857
+ }),
2858
+ ).check(
2859
+ Schema.isLessThanOrEqualTo(10000).annotate({
2860
+ expected: "a value less than or equal to 10000",
2861
+ }),
2862
+ ),
2863
+ ),
2864
+ ParallelizationFactor: Schema.optionalKey(
2865
+ Schema.Int.check(
2866
+ Schema.isGreaterThanOrEqualTo(1).annotate({
2867
+ expected: "a value greater than or equal to 1",
2868
+ }),
2869
+ ).check(
2870
+ Schema.isLessThanOrEqualTo(10).annotate({
2871
+ expected: "a value less than or equal to 10",
2872
+ }),
2873
+ ),
2874
+ ),
2875
+ StartingPosition: DynamoDBStreamStartPosition,
2876
+ }).annotate({ identifier: "PipeSourceDynamoDBStreamParameters_1" });
2877
+
2878
+ interface PipeSourceParameters_1 {
2879
+ readonly FilterCriteria?: FilterCriteria;
2880
+ readonly KinesisStreamParameters?: PipeSourceKinesisStreamParameters_1;
2881
+ readonly DynamoDBStreamParameters?: PipeSourceDynamoDBStreamParameters_1;
2882
+ readonly SqsQueueParameters?: PipeSourceSqsQueueParameters;
2883
+ readonly ActiveMQBrokerParameters?: PipeSourceActiveMQBrokerParameters;
2884
+ readonly RabbitMQBrokerParameters?: PipeSourceRabbitMQBrokerParameters;
2885
+ readonly ManagedStreamingKafkaParameters?: PipeSourceManagedStreamingKafkaParameters;
2886
+ readonly SelfManagedKafkaParameters?: PipeSourceSelfManagedKafkaParameters;
2887
+ }
2888
+
2889
+ const PipeSourceParameters_1 = Schema.Struct({
2890
+ FilterCriteria: Schema.optionalKey(FilterCriteria),
2891
+ KinesisStreamParameters: Schema.optionalKey(
2892
+ PipeSourceKinesisStreamParameters_1,
2893
+ ),
2894
+ DynamoDBStreamParameters: Schema.optionalKey(
2895
+ PipeSourceDynamoDBStreamParameters_1,
2896
+ ),
2897
+ SqsQueueParameters: Schema.optionalKey(PipeSourceSqsQueueParameters),
2898
+ ActiveMQBrokerParameters: Schema.optionalKey(
2899
+ PipeSourceActiveMQBrokerParameters,
2900
+ ),
2901
+ RabbitMQBrokerParameters: Schema.optionalKey(
2902
+ PipeSourceRabbitMQBrokerParameters,
2903
+ ),
2904
+ ManagedStreamingKafkaParameters: Schema.optionalKey(
2905
+ PipeSourceManagedStreamingKafkaParameters,
2906
+ ),
2907
+ SelfManagedKafkaParameters: Schema.optionalKey(
2908
+ PipeSourceSelfManagedKafkaParameters,
2909
+ ),
2910
+ }).annotate({ identifier: "PipeSourceParameters_1" });
2911
+
2912
+ export interface AWSPipeProps {
2913
+ readonly Description?: string;
2914
+ readonly DesiredState?: RequestedPipeState;
2915
+ readonly Enrichment?:
2916
+ | ResourceEntity<{
2917
+ readonly provider: "aws";
2918
+ readonly service: "lambda";
2919
+ readonly resource: "function";
2920
+ }>
2921
+ | string;
2922
+ readonly EnrichmentParameters?: PipeEnrichmentParameters;
2923
+ readonly KmsKeyIdentifier?: string;
2924
+ readonly LogConfiguration?: PipeLogConfiguration;
2925
+ readonly Name?: string;
2926
+ readonly RoleArn:
2927
+ | ResourceEntity<{
2928
+ readonly provider: "aws";
2929
+ readonly service: "iam";
2930
+ readonly resource: "role";
2931
+ }>
2932
+ | string;
2933
+ readonly Source:
2934
+ | ResourceEntity<{
2935
+ readonly provider: "aws";
2936
+ readonly service: "sqs";
2937
+ readonly resource: "queue";
2938
+ }>
2939
+ | ResourceEntity<{
2940
+ readonly provider: "aws";
2941
+ readonly service: "dynamodb";
2942
+ readonly resource: "table";
2943
+ }>
2944
+ | ResourceEntity<{
2945
+ readonly provider: "aws";
2946
+ readonly service: "kinesis";
2947
+ readonly resource: "stream";
2948
+ }>
2949
+ | string;
2950
+ readonly SourceParameters?: PipeSourceParameters;
2951
+ readonly Tags?: TagMap;
2952
+ readonly Target:
2953
+ | ResourceEntity<{
2954
+ readonly provider: "aws";
2955
+ readonly service: "logs";
2956
+ readonly resource: "loggroup";
2957
+ }>
2958
+ | ResourceEntity<{
2959
+ readonly provider: "aws";
2960
+ readonly service: "lambda";
2961
+ readonly resource: "alias";
2962
+ }>
2963
+ | ResourceEntity<{
2964
+ readonly provider: "aws";
2965
+ readonly service: "lambda";
2966
+ readonly resource: "function";
2967
+ }>
2968
+ | ResourceEntity<{
2969
+ readonly provider: "aws";
2970
+ readonly service: "stepfunctions";
2971
+ readonly resource: "statemachine";
2972
+ }>
2973
+ | ResourceEntity<{
2974
+ readonly provider: "aws";
2975
+ readonly service: "events";
2976
+ readonly resource: "eventbus";
2977
+ }>
2978
+ | ResourceEntity<{
2979
+ readonly provider: "aws";
2980
+ readonly service: "sqs";
2981
+ readonly resource: "queue";
2982
+ }>
2983
+ | ResourceEntity<{
2984
+ readonly provider: "aws";
2985
+ readonly service: "sns";
2986
+ readonly resource: "topic";
2987
+ }>
2988
+ | string;
2989
+ readonly TargetParameters?: PipeTargetParameters;
2990
+ }
2991
+
2992
+ export const AWSPipeResourceSchema = ResourceSchemaAnnotationSchema.make({
2993
+ provider: "aws",
2994
+ service: "pipes",
2995
+ resource: "pipe",
2996
+ operation: "create",
2997
+ stateSecretOutputKeys: [],
2998
+ replacement: {
2999
+ order: "createBeforeDestroy",
3000
+ properties: [
3001
+ ["Name"],
3002
+ ["Source"],
3003
+ ["SourceParameters", "DynamoDBStreamParameters", "StartingPosition"],
3004
+ ["SourceParameters", "KinesisStreamParameters", "StartingPosition"],
3005
+ [
3006
+ "SourceParameters",
3007
+ "KinesisStreamParameters",
3008
+ "StartingPositionTimestamp",
3009
+ ],
3010
+ ["SourceParameters", "ActiveMQBrokerParameters", "QueueName"],
3011
+ ["SourceParameters", "RabbitMQBrokerParameters", "QueueName"],
3012
+ ["SourceParameters", "RabbitMQBrokerParameters", "VirtualHost"],
3013
+ ["SourceParameters", "ManagedStreamingKafkaParameters", "TopicName"],
3014
+ [
3015
+ "SourceParameters",
3016
+ "ManagedStreamingKafkaParameters",
3017
+ "StartingPosition",
3018
+ ],
3019
+ [
3020
+ "SourceParameters",
3021
+ "ManagedStreamingKafkaParameters",
3022
+ "ConsumerGroupID",
3023
+ ],
3024
+ ["SourceParameters", "SelfManagedKafkaParameters", "TopicName"],
3025
+ ["SourceParameters", "SelfManagedKafkaParameters", "StartingPosition"],
3026
+ [
3027
+ "SourceParameters",
3028
+ "SelfManagedKafkaParameters",
3029
+ "AdditionalBootstrapServers",
3030
+ ],
3031
+ ["SourceParameters", "SelfManagedKafkaParameters", "ConsumerGroupID"],
3032
+ ],
3033
+ },
3034
+ primaryIdentifier: ["/properties/Name"],
3035
+ });
3036
+
3037
+ export const AWSPipePropsSchema = annotateResourceSchema(
3038
+ Schema.Struct({
3039
+ Description: Schema.optionalKey(
3040
+ Schema.String.check(
3041
+ Schema.isMinCodePoints(0).annotate({
3042
+ expected: "a string with at least 0 code points",
3043
+ }),
3044
+ )
3045
+ .check(
3046
+ Schema.isMaxCodePoints(512).annotate({
3047
+ expected: "a string with at most 512 code points",
3048
+ }),
3049
+ )
3050
+ .check(
3051
+ Schema.isPattern(new globalThis.RegExp("^.*$", "u")).annotate({
3052
+ expected: "a string matching the RegExp ^.*$",
3053
+ }),
3054
+ ),
3055
+ ),
3056
+ DesiredState: Schema.optionalKey(RequestedPipeState),
3057
+ Enrichment: Schema.optionalKey(
3058
+ Schema.Union([
3059
+ Schema.Union([
3060
+ ResourceReferenceSchema(
3061
+ Schema.Struct({
3062
+ provider: Schema.Literal("aws"),
3063
+ service: Schema.Literal("lambda"),
3064
+ resource: Schema.Literal("function"),
3065
+ }),
3066
+ {
3067
+ value: null,
3068
+ outputs: [
3069
+ {
3070
+ source: ["Arn"],
3071
+ target: [],
3072
+ },
3073
+ ],
3074
+ },
3075
+ ).annotate({ expected: "ResourceEntity" }),
3076
+ ]),
3077
+ Schema.String.check(
3078
+ Schema.isMinCodePoints(0).annotate({
3079
+ expected: "a string with at least 0 code points",
3080
+ }),
3081
+ )
3082
+ .check(
3083
+ Schema.isMaxCodePoints(1600).annotate({
3084
+ expected: "a string with at most 1600 code points",
3085
+ }),
3086
+ )
3087
+ .check(
3088
+ Schema.isPattern(
3089
+ new globalThis.RegExp(
3090
+ "^$|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
3091
+ "u",
3092
+ ),
3093
+ ).annotate({
3094
+ expected:
3095
+ "a string matching the RegExp ^$|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
3096
+ }),
3097
+ ),
3098
+ ]),
3099
+ ),
3100
+ EnrichmentParameters: Schema.optionalKey(PipeEnrichmentParameters),
3101
+ KmsKeyIdentifier: Schema.optionalKey(
3102
+ Schema.String.check(
3103
+ Schema.isMinCodePoints(0).annotate({
3104
+ expected: "a string with at least 0 code points",
3105
+ }),
3106
+ ).check(
3107
+ Schema.isMaxCodePoints(2048).annotate({
3108
+ expected: "a string with at most 2048 code points",
3109
+ }),
3110
+ ),
3111
+ ),
3112
+ LogConfiguration: Schema.optionalKey(PipeLogConfiguration),
3113
+ Name: Schema.optionalKey(
3114
+ Schema.String.check(
3115
+ Schema.isMinLength(1).annotate({
3116
+ expected: "a value with a length of at least 1",
3117
+ }),
3118
+ )
3119
+ .check(
3120
+ Schema.isMaxCodePoints(64).annotate({
3121
+ expected: "a string with at most 64 code points",
3122
+ }),
3123
+ )
3124
+ .check(
3125
+ Schema.isPattern(
3126
+ new globalThis.RegExp("^[\\.\\-_A-Za-z0-9]+$", "u"),
3127
+ ).annotate({
3128
+ expected: "a string matching the RegExp ^[\\.\\-_A-Za-z0-9]+$",
3129
+ }),
3130
+ ),
3131
+ ),
3132
+ RoleArn: Schema.Union([
3133
+ Schema.Union([
3134
+ ResourceReferenceSchema(
3135
+ Schema.Struct({
3136
+ provider: Schema.Literal("aws"),
3137
+ service: Schema.Literal("iam"),
3138
+ resource: Schema.Literal("role"),
3139
+ }),
3140
+ {
3141
+ value: null,
3142
+ outputs: [
3143
+ {
3144
+ source: ["Arn"],
3145
+ target: [],
3146
+ },
3147
+ ],
3148
+ },
3149
+ ).annotate({ expected: "ResourceEntity" }),
3150
+ ]),
3151
+ Schema.String.check(
3152
+ Schema.isMinLength(1).annotate({
3153
+ expected: "a value with a length of at least 1",
3154
+ }),
3155
+ )
3156
+ .check(
3157
+ Schema.isMaxCodePoints(1600).annotate({
3158
+ expected: "a string with at most 1600 code points",
3159
+ }),
3160
+ )
3161
+ .check(
3162
+ Schema.isPattern(
3163
+ new globalThis.RegExp(
3164
+ "^arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role\\/?[a-zA-Z0-9+=,.@\\-_/]+$",
3165
+ "u",
3166
+ ),
3167
+ ).annotate({
3168
+ expected:
3169
+ "a string matching the RegExp ^arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role\\/?[a-zA-Z0-9+=,.@\\-_/]+$",
3170
+ }),
3171
+ ),
3172
+ ]),
3173
+ Source: Schema.Union([
3174
+ Schema.Union([
3175
+ ResourceReferenceSchema(
3176
+ Schema.Struct({
3177
+ provider: Schema.Literal("aws"),
3178
+ service: Schema.Literal("sqs"),
3179
+ resource: Schema.Literal("queue"),
3180
+ }),
3181
+ {
3182
+ value: null,
3183
+ outputs: [
3184
+ {
3185
+ source: ["Arn"],
3186
+ target: [],
3187
+ },
3188
+ ],
3189
+ },
3190
+ ).annotate({ expected: "ResourceEntity" }),
3191
+ ResourceReferenceSchema(
3192
+ Schema.Struct({
3193
+ provider: Schema.Literal("aws"),
3194
+ service: Schema.Literal("dynamodb"),
3195
+ resource: Schema.Literal("table"),
3196
+ }),
3197
+ {
3198
+ value: null,
3199
+ outputs: [
3200
+ {
3201
+ source: ["StreamArn"],
3202
+ target: [],
3203
+ },
3204
+ ],
3205
+ },
3206
+ ).annotate({ expected: "ResourceEntity" }),
3207
+ ResourceReferenceSchema(
3208
+ Schema.Struct({
3209
+ provider: Schema.Literal("aws"),
3210
+ service: Schema.Literal("kinesis"),
3211
+ resource: Schema.Literal("stream"),
3212
+ }),
3213
+ {
3214
+ value: null,
3215
+ outputs: [
3216
+ {
3217
+ source: ["Arn"],
3218
+ target: [],
3219
+ },
3220
+ ],
3221
+ },
3222
+ ).annotate({ expected: "ResourceEntity" }),
3223
+ ]),
3224
+ Schema.String.check(
3225
+ Schema.isMinLength(1).annotate({
3226
+ expected: "a value with a length of at least 1",
3227
+ }),
3228
+ )
3229
+ .check(
3230
+ Schema.isMaxCodePoints(1600).annotate({
3231
+ expected: "a string with at most 1600 code points",
3232
+ }),
3233
+ )
3234
+ .check(
3235
+ Schema.isPattern(
3236
+ new globalThis.RegExp(
3237
+ "^smk:\\/\\/(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
3238
+ "u",
3239
+ ),
3240
+ ).annotate({
3241
+ expected:
3242
+ "a string matching the RegExp ^smk:\\/\\/(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
3243
+ }),
3244
+ ),
3245
+ ]),
3246
+ SourceParameters: Schema.optionalKey(PipeSourceParameters),
3247
+ Tags: Schema.optionalKey(TagMap),
3248
+ Target: Schema.Union([
3249
+ Schema.Union([
3250
+ ResourceReferenceSchema(
3251
+ Schema.Struct({
3252
+ provider: Schema.Literal("aws"),
3253
+ service: Schema.Literal("logs"),
3254
+ resource: Schema.Literal("loggroup"),
3255
+ }),
3256
+ {
3257
+ value: null,
3258
+ outputs: [
3259
+ {
3260
+ source: ["Arn"],
3261
+ target: [],
3262
+ },
3263
+ ],
3264
+ },
3265
+ ).annotate({ expected: "ResourceEntity" }),
3266
+ ResourceReferenceSchema(
3267
+ Schema.Struct({
3268
+ provider: Schema.Literal("aws"),
3269
+ service: Schema.Literal("lambda"),
3270
+ resource: Schema.Literal("alias"),
3271
+ }),
3272
+ {
3273
+ value: null,
3274
+ outputs: [
3275
+ {
3276
+ source: ["Id"],
3277
+ target: [],
3278
+ },
3279
+ ],
3280
+ },
3281
+ ).annotate({ expected: "ResourceEntity" }),
3282
+ ResourceReferenceSchema(
3283
+ Schema.Struct({
3284
+ provider: Schema.Literal("aws"),
3285
+ service: Schema.Literal("lambda"),
3286
+ resource: Schema.Literal("function"),
3287
+ }),
3288
+ {
3289
+ value: null,
3290
+ outputs: [
3291
+ {
3292
+ source: ["Arn"],
3293
+ target: [],
3294
+ },
3295
+ ],
3296
+ },
3297
+ ).annotate({ expected: "ResourceEntity" }),
3298
+ ResourceReferenceSchema(
3299
+ Schema.Struct({
3300
+ provider: Schema.Literal("aws"),
3301
+ service: Schema.Literal("stepfunctions"),
3302
+ resource: Schema.Literal("statemachine"),
3303
+ }),
3304
+ {
3305
+ value: null,
3306
+ outputs: [
3307
+ {
3308
+ source: ["Arn"],
3309
+ target: [],
3310
+ },
3311
+ ],
3312
+ },
3313
+ ).annotate({ expected: "ResourceEntity" }),
3314
+ ResourceReferenceSchema(
3315
+ Schema.Struct({
3316
+ provider: Schema.Literal("aws"),
3317
+ service: Schema.Literal("events"),
3318
+ resource: Schema.Literal("eventbus"),
3319
+ }),
3320
+ {
3321
+ value: null,
3322
+ outputs: [
3323
+ {
3324
+ source: ["Arn"],
3325
+ target: [],
3326
+ },
3327
+ ],
3328
+ },
3329
+ ).annotate({ expected: "ResourceEntity" }),
3330
+ ResourceReferenceSchema(
3331
+ Schema.Struct({
3332
+ provider: Schema.Literal("aws"),
3333
+ service: Schema.Literal("sqs"),
3334
+ resource: Schema.Literal("queue"),
3335
+ }),
3336
+ {
3337
+ value: null,
3338
+ outputs: [
3339
+ {
3340
+ source: ["Arn"],
3341
+ target: [],
3342
+ },
3343
+ ],
3344
+ },
3345
+ ).annotate({ expected: "ResourceEntity" }),
3346
+ ResourceReferenceSchema(
3347
+ Schema.Struct({
3348
+ provider: Schema.Literal("aws"),
3349
+ service: Schema.Literal("sns"),
3350
+ resource: Schema.Literal("topic"),
3351
+ }),
3352
+ {
3353
+ value: null,
3354
+ outputs: [
3355
+ {
3356
+ source: ["TopicArn"],
3357
+ target: [],
3358
+ },
3359
+ ],
3360
+ },
3361
+ ).annotate({ expected: "ResourceEntity" }),
3362
+ ]),
3363
+ Schema.String.check(
3364
+ Schema.isMinLength(1).annotate({
3365
+ expected: "a value with a length of at least 1",
3366
+ }),
3367
+ )
3368
+ .check(
3369
+ Schema.isMaxCodePoints(1600).annotate({
3370
+ expected: "a string with at most 1600 code points",
3371
+ }),
3372
+ )
3373
+ .check(
3374
+ Schema.isPattern(
3375
+ new globalThis.RegExp(
3376
+ "^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
3377
+ "u",
3378
+ ),
3379
+ ).annotate({
3380
+ expected:
3381
+ "a string matching the RegExp ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
3382
+ }),
3383
+ ),
3384
+ ]),
3385
+ TargetParameters: Schema.optionalKey(PipeTargetParameters),
3386
+ }),
3387
+ AWSPipeResourceSchema,
3388
+ );
3389
+
3390
+ export interface AWSPipeOutputs {
3391
+ readonly Arn?: string;
3392
+ readonly CreationTime?: string;
3393
+ readonly CurrentState?: PipeState;
3394
+ readonly LastModifiedTime?: string;
3395
+ readonly StateReason?: string;
3396
+ readonly Name?: string;
3397
+ }
3398
+
3399
+ export const AWSPipeOutputsSchema = Schema.Struct({
3400
+ Arn: Schema.optionalKey(
3401
+ Schema.String.check(
3402
+ Schema.isMinLength(1).annotate({
3403
+ expected: "a value with a length of at least 1",
3404
+ }),
3405
+ )
3406
+ .check(
3407
+ Schema.isMaxCodePoints(1600).annotate({
3408
+ expected: "a string with at most 1600 code points",
3409
+ }),
3410
+ )
3411
+ .check(
3412
+ Schema.isPattern(
3413
+ new globalThis.RegExp(
3414
+ "^arn:aws([a-z]|-)*:([a-zA-Z0-9\\-]+):([a-z]|\\d|-)*:([0-9]{12})?:(.+)$",
3415
+ "u",
3416
+ ),
3417
+ ).annotate({
3418
+ expected:
3419
+ "a string matching the RegExp ^arn:aws([a-z]|-)*:([a-zA-Z0-9\\-]+):([a-z]|\\d|-)*:([0-9]{12})?:(.+)$",
3420
+ }),
3421
+ ),
3422
+ ),
3423
+ CreationTime: Schema.optionalKey(
3424
+ Schema.String.annotate({ format: "date-time" }),
3425
+ ),
3426
+ CurrentState: Schema.optionalKey(PipeState),
3427
+ LastModifiedTime: Schema.optionalKey(
3428
+ Schema.String.annotate({ format: "date-time" }),
3429
+ ),
3430
+ StateReason: Schema.optionalKey(
3431
+ Schema.String.check(
3432
+ Schema.isMinCodePoints(0).annotate({
3433
+ expected: "a string with at least 0 code points",
3434
+ }),
3435
+ )
3436
+ .check(
3437
+ Schema.isMaxCodePoints(512).annotate({
3438
+ expected: "a string with at most 512 code points",
3439
+ }),
3440
+ )
3441
+ .check(
3442
+ Schema.isPattern(new globalThis.RegExp("^.*$", "u")).annotate({
3443
+ expected: "a string matching the RegExp ^.*$",
3444
+ }),
3445
+ ),
3446
+ ),
3447
+ Name: Schema.optionalKey(
3448
+ Schema.String.check(
3449
+ Schema.isMinLength(1).annotate({
3450
+ expected: "a value with a length of at least 1",
3451
+ }),
3452
+ )
3453
+ .check(
3454
+ Schema.isMaxCodePoints(64).annotate({
3455
+ expected: "a string with at most 64 code points",
3456
+ }),
3457
+ )
3458
+ .check(
3459
+ Schema.isPattern(
3460
+ new globalThis.RegExp("^[\\.\\-_A-Za-z0-9]+$", "u"),
3461
+ ).annotate({
3462
+ expected: "a string matching the RegExp ^[\\.\\-_A-Za-z0-9]+$",
3463
+ }),
3464
+ ),
3465
+ ),
3466
+ });
3467
+
3468
+ export interface AWSPipeRequest {
3469
+ readonly Description?: string;
3470
+ readonly DesiredState?: RequestedPipeState;
3471
+ readonly Enrichment?: string;
3472
+ readonly EnrichmentParameters?: PipeEnrichmentParameters;
3473
+ readonly KmsKeyIdentifier?: string;
3474
+ readonly LogConfiguration?: PipeLogConfiguration;
3475
+ readonly Name?: string;
3476
+ readonly RoleArn: string;
3477
+ readonly Source: string;
3478
+ readonly SourceParameters?: PipeSourceParameters_1;
3479
+ readonly Tags?: TagMap;
3480
+ readonly Target: string;
3481
+ readonly TargetParameters?: PipeTargetParameters;
3482
+ }
3483
+
3484
+ export const AWSPipeRequestSchema = Schema.Struct({
3485
+ Description: Schema.optionalKey(
3486
+ Schema.String.check(
3487
+ Schema.isMinCodePoints(0).annotate({
3488
+ expected: "a string with at least 0 code points",
3489
+ }),
3490
+ )
3491
+ .check(
3492
+ Schema.isMaxCodePoints(512).annotate({
3493
+ expected: "a string with at most 512 code points",
3494
+ }),
3495
+ )
3496
+ .check(
3497
+ Schema.isPattern(new globalThis.RegExp("^.*$", "u")).annotate({
3498
+ expected: "a string matching the RegExp ^.*$",
3499
+ }),
3500
+ ),
3501
+ ),
3502
+ DesiredState: Schema.optionalKey(RequestedPipeState),
3503
+ Enrichment: Schema.optionalKey(
3504
+ Schema.String.check(
3505
+ Schema.isMinCodePoints(0).annotate({
3506
+ expected: "a string with at least 0 code points",
3507
+ }),
3508
+ )
3509
+ .check(
3510
+ Schema.isMaxCodePoints(1600).annotate({
3511
+ expected: "a string with at most 1600 code points",
3512
+ }),
3513
+ )
3514
+ .check(
3515
+ Schema.isPattern(
3516
+ new globalThis.RegExp(
3517
+ "^$|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
3518
+ "u",
3519
+ ),
3520
+ ).annotate({
3521
+ expected:
3522
+ "a string matching the RegExp ^$|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
3523
+ }),
3524
+ ),
3525
+ ),
3526
+ EnrichmentParameters: Schema.optionalKey(PipeEnrichmentParameters),
3527
+ KmsKeyIdentifier: Schema.optionalKey(
3528
+ Schema.String.check(
3529
+ Schema.isMinCodePoints(0).annotate({
3530
+ expected: "a string with at least 0 code points",
3531
+ }),
3532
+ ).check(
3533
+ Schema.isMaxCodePoints(2048).annotate({
3534
+ expected: "a string with at most 2048 code points",
3535
+ }),
3536
+ ),
3537
+ ),
3538
+ LogConfiguration: Schema.optionalKey(PipeLogConfiguration),
3539
+ Name: Schema.optionalKey(
3540
+ Schema.String.check(
3541
+ Schema.isMinLength(1).annotate({
3542
+ expected: "a value with a length of at least 1",
3543
+ }),
3544
+ )
3545
+ .check(
3546
+ Schema.isMaxCodePoints(64).annotate({
3547
+ expected: "a string with at most 64 code points",
3548
+ }),
3549
+ )
3550
+ .check(
3551
+ Schema.isPattern(
3552
+ new globalThis.RegExp("^[\\.\\-_A-Za-z0-9]+$", "u"),
3553
+ ).annotate({
3554
+ expected: "a string matching the RegExp ^[\\.\\-_A-Za-z0-9]+$",
3555
+ }),
3556
+ ),
3557
+ ),
3558
+ RoleArn: Schema.String.check(
3559
+ Schema.isMinLength(1).annotate({
3560
+ expected: "a value with a length of at least 1",
3561
+ }),
3562
+ )
3563
+ .check(
3564
+ Schema.isMaxCodePoints(1600).annotate({
3565
+ expected: "a string with at most 1600 code points",
3566
+ }),
3567
+ )
3568
+ .check(
3569
+ Schema.isPattern(
3570
+ new globalThis.RegExp(
3571
+ "^arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role\\/?[a-zA-Z0-9+=,.@\\-_/]+$",
3572
+ "u",
3573
+ ),
3574
+ ).annotate({
3575
+ expected:
3576
+ "a string matching the RegExp ^arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role\\/?[a-zA-Z0-9+=,.@\\-_/]+$",
3577
+ }),
3578
+ ),
3579
+ Source: Schema.String.check(
3580
+ Schema.isMinLength(1).annotate({
3581
+ expected: "a value with a length of at least 1",
3582
+ }),
3583
+ )
3584
+ .check(
3585
+ Schema.isMaxCodePoints(1600).annotate({
3586
+ expected: "a string with at most 1600 code points",
3587
+ }),
3588
+ )
3589
+ .check(
3590
+ Schema.isPattern(
3591
+ new globalThis.RegExp(
3592
+ "^smk:\\/\\/(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
3593
+ "u",
3594
+ ),
3595
+ ).annotate({
3596
+ expected:
3597
+ "a string matching the RegExp ^smk:\\/\\/(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
3598
+ }),
3599
+ ),
3600
+ SourceParameters: Schema.optionalKey(PipeSourceParameters_1),
3601
+ Tags: Schema.optionalKey(TagMap),
3602
+ Target: Schema.String.check(
3603
+ Schema.isMinLength(1).annotate({
3604
+ expected: "a value with a length of at least 1",
3605
+ }),
3606
+ )
3607
+ .check(
3608
+ Schema.isMaxCodePoints(1600).annotate({
3609
+ expected: "a string with at most 1600 code points",
3610
+ }),
3611
+ )
3612
+ .check(
3613
+ Schema.isPattern(
3614
+ new globalThis.RegExp(
3615
+ "^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
3616
+ "u",
3617
+ ),
3618
+ ).annotate({
3619
+ expected:
3620
+ "a string matching the RegExp ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$",
3621
+ }),
3622
+ ),
3623
+ TargetParameters: Schema.optionalKey(PipeTargetParameters),
3624
+ });
3625
+
3626
+ /**
3627
+ * The AWSPipeRelationshipIssues array lists inputs that can use several outputs
3628
+ * from one source type. Each input retains its provider value until a reviewed
3629
+ * mapping chooses an output.
3630
+ */
3631
+ export const AWSPipeRelationshipIssues = [];
3632
+
3633
+ export const AWSPipeResourceTypeSchema = Schema.Struct({
3634
+ provider: Schema.Literal("aws"),
3635
+ service: Schema.Literal("pipes"),
3636
+ resource: Schema.Literal("pipe"),
3637
+ });
3638
+
3639
+ /**
3640
+ * The AWSPipeResource class retains its owning stack across declarations.
3641
+ * Applied output properties are ordinary values maintained by the lifecycle.
3642
+ */
3643
+ export class AWSPipeResource<Props = AWSPipeProps> extends ResourceEntity<{
3644
+ readonly provider: "aws";
3645
+ readonly service: "pipes";
3646
+ readonly resource: "pipe";
3647
+ }> {
3648
+ constructor(
3649
+ key: ResourceKey,
3650
+ readonly props: Props,
3651
+ private readonly binding?: ResourceOutputBinding,
3652
+ ) {
3653
+ super({
3654
+ key,
3655
+ resourceType: {
3656
+ provider: "aws",
3657
+ service: "pipes",
3658
+ resource: "pipe",
3659
+ },
3660
+ });
3661
+ }
3662
+
3663
+ /**
3664
+ * Successful lifecycle writes update this value for declarations owned by the stack.
3665
+ * Reading an unavailable value throws ResourceOutputResolutionMissing.
3666
+ */
3667
+ get Arn(): Required<AWSPipeOutputs>["Arn"] {
3668
+ const value: Required<AWSPipeOutputs>["Arn"] = ResourceOutputBinding.value(
3669
+ this.binding,
3670
+ this.key,
3671
+ "Arn",
3672
+ Schema.requiredKey(AWSPipeOutputsSchema.fields.Arn),
3673
+ );
3674
+ return value;
3675
+ }
3676
+
3677
+ /**
3678
+ * Successful lifecycle writes update this value for declarations owned by the stack.
3679
+ * Reading an unavailable value throws ResourceOutputResolutionMissing.
3680
+ */
3681
+ get CreationTime(): Required<AWSPipeOutputs>["CreationTime"] {
3682
+ const value: Required<AWSPipeOutputs>["CreationTime"] =
3683
+ ResourceOutputBinding.value(
3684
+ this.binding,
3685
+ this.key,
3686
+ "CreationTime",
3687
+ Schema.requiredKey(AWSPipeOutputsSchema.fields.CreationTime),
3688
+ );
3689
+ return value;
3690
+ }
3691
+
3692
+ /**
3693
+ * Successful lifecycle writes update this value for declarations owned by the stack.
3694
+ * Reading an unavailable value throws ResourceOutputResolutionMissing.
3695
+ */
3696
+ get CurrentState(): Required<AWSPipeOutputs>["CurrentState"] {
3697
+ const value: Required<AWSPipeOutputs>["CurrentState"] =
3698
+ ResourceOutputBinding.value(
3699
+ this.binding,
3700
+ this.key,
3701
+ "CurrentState",
3702
+ Schema.requiredKey(AWSPipeOutputsSchema.fields.CurrentState),
3703
+ );
3704
+ return value;
3705
+ }
3706
+
3707
+ /**
3708
+ * Successful lifecycle writes update this value for declarations owned by the stack.
3709
+ * Reading an unavailable value throws ResourceOutputResolutionMissing.
3710
+ */
3711
+ get LastModifiedTime(): Required<AWSPipeOutputs>["LastModifiedTime"] {
3712
+ const value: Required<AWSPipeOutputs>["LastModifiedTime"] =
3713
+ ResourceOutputBinding.value(
3714
+ this.binding,
3715
+ this.key,
3716
+ "LastModifiedTime",
3717
+ Schema.requiredKey(AWSPipeOutputsSchema.fields.LastModifiedTime),
3718
+ );
3719
+ return value;
3720
+ }
3721
+
3722
+ /**
3723
+ * Successful lifecycle writes update this value for declarations owned by the stack.
3724
+ * Reading an unavailable value throws ResourceOutputResolutionMissing.
3725
+ */
3726
+ get StateReason(): Required<AWSPipeOutputs>["StateReason"] {
3727
+ const value: Required<AWSPipeOutputs>["StateReason"] =
3728
+ ResourceOutputBinding.value(
3729
+ this.binding,
3730
+ this.key,
3731
+ "StateReason",
3732
+ Schema.requiredKey(AWSPipeOutputsSchema.fields.StateReason),
3733
+ );
3734
+ return value;
3735
+ }
3736
+
3737
+ /**
3738
+ * Successful lifecycle writes update this value for declarations owned by the stack.
3739
+ * Reading an unavailable value throws ResourceOutputResolutionMissing.
3740
+ */
3741
+ get Name(): Required<AWSPipeOutputs>["Name"] {
3742
+ const value: Required<AWSPipeOutputs>["Name"] = ResourceOutputBinding.value(
3743
+ this.binding,
3744
+ this.key,
3745
+ "Name",
3746
+ Schema.requiredKey(AWSPipeOutputsSchema.fields.Name),
3747
+ );
3748
+ return value;
3749
+ }
3750
+ }
3751
+
3752
+ /**
3753
+ * Callers must validate properties before constructing the declaration.
3754
+ * Compatible resources can depend on it before apply supplies provider values.
3755
+ * Reading applied outputs requires a binding to the owning stack.
3756
+ */
3757
+ export function createAWSPipeDeclaration<Props>(
3758
+ key: ResourceKey,
3759
+ props: Props,
3760
+ binding?: ResourceOutputBinding,
3761
+ ): AWSPipeResource<Props> {
3762
+ const resource: AWSPipeResource<Props> = new AWSPipeResource<Props>(
3763
+ key,
3764
+ props,
3765
+ binding,
3766
+ );
3767
+
3768
+ return resource;
3769
+ }
3770
+
3771
+ /**
3772
+ * The AWSPipe resource factory registers a validated declaration in the
3773
+ * stack graph. Its outputs become available after apply saves the resource.
3774
+ */
3775
+ export const AWSPipe = Effect.fn("AWSPipe")(function* (input: {
3776
+ logicalId: string;
3777
+ props: AWSPipeProps;
3778
+ }) {
3779
+ const graph = yield* ResourceGraphBuilder;
3780
+
3781
+ const key: ResourceKey = { logicalId: input.logicalId };
3782
+
3783
+ const declaration = yield* graph.resource(key);
3784
+
3785
+ const props = yield* Schema.decodeEffect(AWSPipePropsSchema)(input.props);
3786
+
3787
+ yield* declaration.registerEntity(AWSPipeResourceTypeSchema, {
3788
+ propsSchema: AWSPipePropsSchema,
3789
+ requestSchema: AWSPipeRequestSchema,
3790
+ outputsSchema: AWSPipeOutputsSchema,
3791
+ props,
3792
+ });
3793
+
3794
+ const resource: AWSPipeResource = createAWSPipeDeclaration(
3795
+ key,
3796
+ props,
3797
+ declaration.outputs,
3798
+ );
3799
+
3800
+ return resource;
3801
+ });