@remotion/lambda 3.0.0-lambda.414 → 3.0.0-lambda.424
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.
- package/.turbo/turbo-build.log +3 -3
- package/dist/admin/bundle-lambda.d.ts +0 -0
- package/dist/admin/bundle-lambda.d.ts.map +0 -0
- package/dist/admin/bundle-lambda.js +0 -0
- package/dist/admin/bundle-lambda.js.map +0 -0
- package/dist/admin/make-layer-public.d.ts +0 -0
- package/dist/admin/make-layer-public.d.ts.map +0 -0
- package/dist/admin/make-layer-public.js +0 -0
- package/dist/admin/make-layer-public.js.map +0 -0
- package/dist/api/bucket-exists.d.ts +0 -0
- package/dist/api/bucket-exists.d.ts.map +0 -0
- package/dist/api/bucket-exists.js +0 -0
- package/dist/api/bucket-exists.js.map +0 -0
- package/dist/api/clean-items.d.ts +0 -0
- package/dist/api/clean-items.d.ts.map +0 -0
- package/dist/api/clean-items.js +0 -0
- package/dist/api/clean-items.js.map +0 -0
- package/dist/api/create-bucket.d.ts +0 -0
- package/dist/api/create-bucket.d.ts.map +0 -0
- package/dist/api/create-bucket.js +0 -0
- package/dist/api/create-bucket.js.map +0 -0
- package/dist/api/create-function.d.ts +2 -1
- package/dist/api/create-function.d.ts.map +1 -1
- package/dist/api/create-function.js +4 -1
- package/dist/api/create-function.js.map +1 -1
- package/dist/api/delete-function.d.ts +0 -0
- package/dist/api/delete-function.d.ts.map +0 -0
- package/dist/api/delete-function.js +0 -0
- package/dist/api/delete-function.js.map +0 -0
- package/dist/api/delete-site.d.ts +0 -0
- package/dist/api/delete-site.d.ts.map +0 -0
- package/dist/api/delete-site.js +0 -0
- package/dist/api/delete-site.js.map +0 -0
- package/dist/api/deploy-function.d.ts +2 -0
- package/dist/api/deploy-function.d.ts.map +1 -1
- package/dist/api/deploy-function.js +15 -4
- package/dist/api/deploy-function.js.map +1 -1
- package/dist/api/deploy-site.d.ts +0 -0
- package/dist/api/deploy-site.d.ts.map +0 -0
- package/dist/api/deploy-site.js +0 -0
- package/dist/api/deploy-site.js.map +0 -0
- package/dist/api/download-media.d.ts +0 -0
- package/dist/api/download-media.d.ts.map +0 -0
- package/dist/api/download-media.js +0 -0
- package/dist/api/download-media.js.map +0 -0
- package/dist/api/enable-s3-website.d.ts +0 -0
- package/dist/api/enable-s3-website.d.ts.map +0 -0
- package/dist/api/enable-s3-website.js +0 -0
- package/dist/api/enable-s3-website.js.map +0 -0
- package/dist/api/estimate-price.d.ts +5 -1
- package/dist/api/estimate-price.d.ts.map +1 -1
- package/dist/api/estimate-price.js +21 -4
- package/dist/api/estimate-price.js.map +1 -1
- package/dist/api/get-aws-client.d.ts +0 -0
- package/dist/api/get-aws-client.d.ts.map +0 -0
- package/dist/api/get-aws-client.js +0 -0
- package/dist/api/get-aws-client.js.map +0 -0
- package/dist/api/get-buckets.d.ts +0 -0
- package/dist/api/get-buckets.d.ts.map +0 -0
- package/dist/api/get-buckets.js +0 -0
- package/dist/api/get-buckets.js.map +0 -0
- package/dist/api/get-function-info.d.ts +1 -0
- package/dist/api/get-function-info.d.ts.map +1 -1
- package/dist/api/get-function-info.js +3 -1
- package/dist/api/get-function-info.js.map +1 -1
- package/dist/api/get-functions.d.ts +0 -0
- package/dist/api/get-functions.d.ts.map +1 -1
- package/dist/api/get-functions.js +2 -0
- package/dist/api/get-functions.js.map +1 -1
- package/dist/api/get-or-create-bucket.d.ts +0 -0
- package/dist/api/get-or-create-bucket.d.ts.map +0 -0
- package/dist/api/get-or-create-bucket.js +0 -0
- package/dist/api/get-or-create-bucket.js.map +0 -0
- package/dist/api/get-regions.d.ts +0 -0
- package/dist/api/get-regions.d.ts.map +0 -0
- package/dist/api/get-regions.js +0 -0
- package/dist/api/get-regions.js.map +0 -0
- package/dist/api/get-render-progress.d.ts +0 -0
- package/dist/api/get-render-progress.d.ts.map +0 -0
- package/dist/api/get-render-progress.js +0 -0
- package/dist/api/get-render-progress.js.map +0 -0
- package/dist/api/get-sites.d.ts +0 -0
- package/dist/api/get-sites.d.ts.map +0 -0
- package/dist/api/get-sites.js +0 -0
- package/dist/api/get-sites.js.map +0 -0
- package/dist/api/iam-validation/role-permissions.d.ts +0 -0
- package/dist/api/iam-validation/role-permissions.d.ts.map +0 -0
- package/dist/api/iam-validation/role-permissions.js +0 -0
- package/dist/api/iam-validation/role-permissions.js.map +0 -0
- package/dist/api/iam-validation/simulate-rule.d.ts +0 -0
- package/dist/api/iam-validation/simulate-rule.d.ts.map +0 -0
- package/dist/api/iam-validation/simulate-rule.js +0 -0
- package/dist/api/iam-validation/simulate-rule.js.map +0 -0
- package/dist/api/iam-validation/simulate.d.ts +0 -0
- package/dist/api/iam-validation/simulate.d.ts.map +0 -0
- package/dist/api/iam-validation/simulate.js +0 -0
- package/dist/api/iam-validation/simulate.js.map +0 -0
- package/dist/api/iam-validation/suggested-policy.d.ts +0 -0
- package/dist/api/iam-validation/suggested-policy.d.ts.map +0 -0
- package/dist/api/iam-validation/suggested-policy.js +0 -0
- package/dist/api/iam-validation/suggested-policy.js.map +0 -0
- package/dist/api/iam-validation/user-permissions.d.ts +0 -0
- package/dist/api/iam-validation/user-permissions.d.ts.map +0 -0
- package/dist/api/iam-validation/user-permissions.js +0 -0
- package/dist/api/iam-validation/user-permissions.js.map +0 -0
- package/dist/api/mock-functions.d.ts +0 -0
- package/dist/api/mock-functions.d.ts.map +0 -0
- package/dist/api/mock-functions.js +0 -0
- package/dist/api/mock-functions.js.map +0 -0
- package/dist/api/presign-url.d.ts +0 -0
- package/dist/api/presign-url.d.ts.map +0 -0
- package/dist/api/presign-url.js +0 -0
- package/dist/api/presign-url.js.map +0 -0
- package/dist/api/render-media-on-lambda.d.ts +0 -0
- package/dist/api/render-media-on-lambda.d.ts.map +0 -0
- package/dist/api/render-media-on-lambda.js +0 -0
- package/dist/api/render-media-on-lambda.js.map +0 -0
- package/dist/api/render-still-on-lambda.d.ts +0 -0
- package/dist/api/render-still-on-lambda.d.ts.map +0 -0
- package/dist/api/render-still-on-lambda.js +0 -0
- package/dist/api/render-still-on-lambda.js.map +0 -0
- package/dist/api/upload-dir.d.ts +0 -0
- package/dist/api/upload-dir.d.ts.map +0 -0
- package/dist/api/upload-dir.js +0 -0
- package/dist/api/upload-dir.js.map +0 -0
- package/dist/cli/args.d.ts +1 -0
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +0 -0
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/commands/functions/deploy.d.ts +0 -0
- package/dist/cli/commands/functions/deploy.d.ts.map +1 -1
- package/dist/cli/commands/functions/deploy.js +8 -3
- package/dist/cli/commands/functions/deploy.js.map +1 -1
- package/dist/cli/commands/functions/index.d.ts +0 -0
- package/dist/cli/commands/functions/index.d.ts.map +0 -0
- package/dist/cli/commands/functions/index.js +0 -0
- package/dist/cli/commands/functions/index.js.map +0 -0
- package/dist/cli/commands/functions/ls.d.ts +0 -0
- package/dist/cli/commands/functions/ls.d.ts.map +1 -1
- package/dist/cli/commands/functions/ls.js +3 -0
- package/dist/cli/commands/functions/ls.js.map +1 -1
- package/dist/cli/commands/functions/rm.d.ts +0 -0
- package/dist/cli/commands/functions/rm.d.ts.map +0 -0
- package/dist/cli/commands/functions/rm.js +0 -0
- package/dist/cli/commands/functions/rm.js.map +0 -0
- package/dist/cli/commands/functions/rmall.d.ts +0 -0
- package/dist/cli/commands/functions/rmall.d.ts.map +0 -0
- package/dist/cli/commands/functions/rmall.js +0 -0
- package/dist/cli/commands/functions/rmall.js.map +0 -0
- package/dist/cli/commands/policies/policies.d.ts +0 -0
- package/dist/cli/commands/policies/policies.d.ts.map +0 -0
- package/dist/cli/commands/policies/policies.js +0 -0
- package/dist/cli/commands/policies/policies.js.map +0 -0
- package/dist/cli/commands/policies/role.d.ts +0 -0
- package/dist/cli/commands/policies/role.d.ts.map +0 -0
- package/dist/cli/commands/policies/role.js +0 -0
- package/dist/cli/commands/policies/role.js.map +0 -0
- package/dist/cli/commands/policies/user.d.ts +0 -0
- package/dist/cli/commands/policies/user.d.ts.map +0 -0
- package/dist/cli/commands/policies/user.js +0 -0
- package/dist/cli/commands/policies/user.js.map +0 -0
- package/dist/cli/commands/policies/validate.d.ts +0 -0
- package/dist/cli/commands/policies/validate.d.ts.map +0 -0
- package/dist/cli/commands/policies/validate.js +0 -0
- package/dist/cli/commands/policies/validate.js.map +0 -0
- package/dist/cli/commands/quotas/increase.d.ts +0 -0
- package/dist/cli/commands/quotas/increase.d.ts.map +0 -0
- package/dist/cli/commands/quotas/increase.js +0 -0
- package/dist/cli/commands/quotas/increase.js.map +0 -0
- package/dist/cli/commands/quotas/index.d.ts +0 -0
- package/dist/cli/commands/quotas/index.d.ts.map +0 -0
- package/dist/cli/commands/quotas/index.js +0 -0
- package/dist/cli/commands/quotas/index.js.map +0 -0
- package/dist/cli/commands/quotas/list.d.ts +0 -0
- package/dist/cli/commands/quotas/list.d.ts.map +0 -0
- package/dist/cli/commands/quotas/list.js +0 -0
- package/dist/cli/commands/quotas/list.js.map +0 -0
- package/dist/cli/commands/regions.d.ts +0 -0
- package/dist/cli/commands/regions.d.ts.map +0 -0
- package/dist/cli/commands/regions.js +0 -0
- package/dist/cli/commands/regions.js.map +0 -0
- package/dist/cli/commands/render/progress.d.ts +0 -0
- package/dist/cli/commands/render/progress.d.ts.map +0 -0
- package/dist/cli/commands/render/progress.js +0 -0
- package/dist/cli/commands/render/progress.js.map +0 -0
- package/dist/cli/commands/render/render.d.ts +0 -0
- package/dist/cli/commands/render/render.d.ts.map +1 -1
- package/dist/cli/commands/render/render.js +1 -1
- package/dist/cli/commands/render/render.js.map +1 -1
- package/dist/cli/commands/sites/create.d.ts +0 -0
- package/dist/cli/commands/sites/create.d.ts.map +0 -0
- package/dist/cli/commands/sites/create.js +0 -0
- package/dist/cli/commands/sites/create.js.map +0 -0
- package/dist/cli/commands/sites/index.d.ts +0 -0
- package/dist/cli/commands/sites/index.d.ts.map +0 -0
- package/dist/cli/commands/sites/index.js +0 -0
- package/dist/cli/commands/sites/index.js.map +0 -0
- package/dist/cli/commands/sites/ls.d.ts +0 -0
- package/dist/cli/commands/sites/ls.d.ts.map +0 -0
- package/dist/cli/commands/sites/ls.js +0 -0
- package/dist/cli/commands/sites/ls.js.map +0 -0
- package/dist/cli/commands/sites/rm.d.ts +0 -0
- package/dist/cli/commands/sites/rm.d.ts.map +0 -0
- package/dist/cli/commands/sites/rm.js +0 -0
- package/dist/cli/commands/sites/rm.js.map +0 -0
- package/dist/cli/commands/sites/rmall.d.ts +0 -0
- package/dist/cli/commands/sites/rmall.d.ts.map +0 -0
- package/dist/cli/commands/sites/rmall.js +0 -0
- package/dist/cli/commands/sites/rmall.js.map +0 -0
- package/dist/cli/commands/still.d.ts +0 -0
- package/dist/cli/commands/still.d.ts.map +0 -0
- package/dist/cli/commands/still.js +0 -0
- package/dist/cli/commands/still.js.map +0 -0
- package/dist/cli/get-aws-region.d.ts +0 -0
- package/dist/cli/get-aws-region.d.ts.map +0 -0
- package/dist/cli/get-aws-region.js +0 -0
- package/dist/cli/get-aws-region.js.map +0 -0
- package/dist/cli/help.d.ts +0 -0
- package/dist/cli/help.d.ts.map +0 -0
- package/dist/cli/help.js +0 -0
- package/dist/cli/help.js.map +0 -0
- package/dist/cli/helpers/confirm.d.ts +0 -0
- package/dist/cli/helpers/confirm.d.ts.map +0 -0
- package/dist/cli/helpers/confirm.js +0 -0
- package/dist/cli/helpers/confirm.js.map +0 -0
- package/dist/cli/helpers/date-string.d.ts +0 -0
- package/dist/cli/helpers/date-string.d.ts.map +0 -0
- package/dist/cli/helpers/date-string.js +0 -0
- package/dist/cli/helpers/date-string.js.map +0 -0
- package/dist/cli/helpers/find-function-name.d.ts +0 -0
- package/dist/cli/helpers/find-function-name.d.ts.map +0 -0
- package/dist/cli/helpers/find-function-name.js +0 -0
- package/dist/cli/helpers/find-function-name.js.map +0 -0
- package/dist/cli/helpers/format-bytes.d.ts +0 -0
- package/dist/cli/helpers/format-bytes.d.ts.map +0 -0
- package/dist/cli/helpers/format-bytes.js +0 -0
- package/dist/cli/helpers/format-bytes.js.map +0 -0
- package/dist/cli/helpers/get-cloudwatch-stream-url.d.ts +0 -0
- package/dist/cli/helpers/get-cloudwatch-stream-url.d.ts.map +0 -0
- package/dist/cli/helpers/get-cloudwatch-stream-url.js +0 -0
- package/dist/cli/helpers/get-cloudwatch-stream-url.js.map +0 -0
- package/dist/cli/helpers/progress-bar.d.ts +0 -0
- package/dist/cli/helpers/progress-bar.d.ts.map +0 -0
- package/dist/cli/helpers/progress-bar.js +0 -0
- package/dist/cli/helpers/progress-bar.js.map +0 -0
- package/dist/cli/helpers/quit.d.ts +0 -0
- package/dist/cli/helpers/quit.d.ts.map +0 -0
- package/dist/cli/helpers/quit.js +0 -0
- package/dist/cli/helpers/quit.js.map +0 -0
- package/dist/cli/helpers/yes-or-no.d.ts +0 -0
- package/dist/cli/helpers/yes-or-no.d.ts.map +0 -0
- package/dist/cli/helpers/yes-or-no.js +0 -0
- package/dist/cli/helpers/yes-or-no.js.map +0 -0
- package/dist/cli/index.d.ts +0 -0
- package/dist/cli/index.d.ts.map +0 -0
- package/dist/cli/index.js +0 -0
- package/dist/cli/index.js.map +0 -0
- package/dist/cli/is-cli.d.ts +0 -0
- package/dist/cli/is-cli.d.ts.map +0 -0
- package/dist/cli/is-cli.js +0 -0
- package/dist/cli/is-cli.js.map +0 -0
- package/dist/cli/log.d.ts +0 -0
- package/dist/cli/log.d.ts.map +0 -0
- package/dist/cli/log.js +0 -0
- package/dist/cli/log.js.map +0 -0
- package/dist/client.d.ts +0 -0
- package/dist/client.d.ts.map +0 -0
- package/dist/client.js +0 -0
- package/dist/client.js.map +0 -0
- package/dist/defaults.d.ts +0 -0
- package/dist/defaults.d.ts.map +0 -0
- package/dist/defaults.js +0 -0
- package/dist/defaults.js.map +0 -0
- package/dist/functions/chunk-optimization/can-use-optimization.d.ts +0 -0
- package/dist/functions/chunk-optimization/can-use-optimization.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/can-use-optimization.js +0 -0
- package/dist/functions/chunk-optimization/can-use-optimization.js.map +0 -0
- package/dist/functions/chunk-optimization/collect-data.d.ts +0 -0
- package/dist/functions/chunk-optimization/collect-data.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/collect-data.js +0 -0
- package/dist/functions/chunk-optimization/collect-data.js.map +0 -0
- package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.d.ts +1 -4
- package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.js +0 -0
- package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.js.map +0 -0
- package/dist/functions/chunk-optimization/get-profile-duration.d.ts +0 -0
- package/dist/functions/chunk-optimization/get-profile-duration.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/get-profile-duration.js +0 -0
- package/dist/functions/chunk-optimization/get-profile-duration.js.map +0 -0
- package/dist/functions/chunk-optimization/is-valid-profile.d.ts +0 -0
- package/dist/functions/chunk-optimization/is-valid-profile.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/is-valid-profile.js +0 -0
- package/dist/functions/chunk-optimization/is-valid-profile.js.map +0 -0
- package/dist/functions/chunk-optimization/optimize-invocation-order.d.ts +0 -0
- package/dist/functions/chunk-optimization/optimize-invocation-order.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/optimize-invocation-order.js +0 -0
- package/dist/functions/chunk-optimization/optimize-invocation-order.js.map +0 -0
- package/dist/functions/chunk-optimization/optimize-profile.d.ts +2 -8
- package/dist/functions/chunk-optimization/optimize-profile.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/optimize-profile.js +0 -0
- package/dist/functions/chunk-optimization/optimize-profile.js.map +0 -0
- package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts +1 -4
- package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/plan-frame-ranges.js +0 -0
- package/dist/functions/chunk-optimization/plan-frame-ranges.js.map +0 -0
- package/dist/functions/chunk-optimization/s3-optimization-file.d.ts +0 -0
- package/dist/functions/chunk-optimization/s3-optimization-file.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/s3-optimization-file.js +0 -0
- package/dist/functions/chunk-optimization/s3-optimization-file.js.map +0 -0
- package/dist/functions/chunk-optimization/simulate-frame-ranges.d.ts +1 -4
- package/dist/functions/chunk-optimization/simulate-frame-ranges.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/simulate-frame-ranges.js +0 -0
- package/dist/functions/chunk-optimization/simulate-frame-ranges.js.map +0 -0
- package/dist/functions/chunk-optimization/sort-by-duration.d.ts +0 -0
- package/dist/functions/chunk-optimization/sort-by-duration.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/sort-by-duration.js +0 -0
- package/dist/functions/chunk-optimization/sort-by-duration.js.map +0 -0
- package/dist/functions/chunk-optimization/types.d.ts +0 -0
- package/dist/functions/chunk-optimization/types.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/types.js +0 -0
- package/dist/functions/chunk-optimization/types.js.map +0 -0
- package/dist/functions/fire.d.ts +0 -0
- package/dist/functions/fire.d.ts.map +0 -0
- package/dist/functions/fire.js +0 -0
- package/dist/functions/fire.js.map +0 -0
- package/dist/functions/helpers/best-frames-per-lambda-param.d.ts +0 -0
- package/dist/functions/helpers/best-frames-per-lambda-param.d.ts.map +0 -0
- package/dist/functions/helpers/best-frames-per-lambda-param.js +0 -0
- package/dist/functions/helpers/best-frames-per-lambda-param.js.map +0 -0
- package/dist/functions/helpers/calculate-chunk-times.d.ts +0 -0
- package/dist/functions/helpers/calculate-chunk-times.d.ts.map +0 -0
- package/dist/functions/helpers/calculate-chunk-times.js +0 -0
- package/dist/functions/helpers/calculate-chunk-times.js.map +0 -0
- package/dist/functions/helpers/calculate-price-from-bucket.d.ts +5 -1
- package/dist/functions/helpers/calculate-price-from-bucket.d.ts.map +1 -1
- package/dist/functions/helpers/calculate-price-from-bucket.js +4 -1
- package/dist/functions/helpers/calculate-price-from-bucket.js.map +1 -1
- package/dist/functions/helpers/clean-tmpdir.d.ts +0 -0
- package/dist/functions/helpers/clean-tmpdir.d.ts.map +0 -0
- package/dist/functions/helpers/clean-tmpdir.js +0 -0
- package/dist/functions/helpers/clean-tmpdir.js.map +0 -0
- package/dist/functions/helpers/concat-videos.d.ts +0 -0
- package/dist/functions/helpers/concat-videos.d.ts.map +0 -0
- package/dist/functions/helpers/concat-videos.js +0 -0
- package/dist/functions/helpers/concat-videos.js.map +0 -0
- package/dist/functions/helpers/create-post-render-data.d.ts +0 -0
- package/dist/functions/helpers/create-post-render-data.d.ts.map +1 -1
- package/dist/functions/helpers/create-post-render-data.js +6 -0
- package/dist/functions/helpers/create-post-render-data.js.map +1 -1
- package/dist/functions/helpers/delete-chunks.d.ts +0 -0
- package/dist/functions/helpers/delete-chunks.d.ts.map +0 -0
- package/dist/functions/helpers/delete-chunks.js +0 -0
- package/dist/functions/helpers/delete-chunks.js.map +0 -0
- package/dist/functions/helpers/expected-out-name.d.ts +0 -0
- package/dist/functions/helpers/expected-out-name.d.ts.map +0 -0
- package/dist/functions/helpers/expected-out-name.js +0 -0
- package/dist/functions/helpers/expected-out-name.js.map +0 -0
- package/dist/functions/helpers/find-output-file-in-bucket.d.ts +0 -0
- package/dist/functions/helpers/find-output-file-in-bucket.d.ts.map +0 -0
- package/dist/functions/helpers/find-output-file-in-bucket.js +0 -0
- package/dist/functions/helpers/find-output-file-in-bucket.js.map +0 -0
- package/dist/functions/helpers/format-costs-info.d.ts +0 -0
- package/dist/functions/helpers/format-costs-info.d.ts.map +0 -0
- package/dist/functions/helpers/format-costs-info.js +0 -0
- package/dist/functions/helpers/format-costs-info.js.map +0 -0
- package/dist/functions/helpers/get-browser-instance.d.ts +0 -0
- package/dist/functions/helpers/get-browser-instance.d.ts.map +0 -0
- package/dist/functions/helpers/get-browser-instance.js +0 -0
- package/dist/functions/helpers/get-browser-instance.js.map +0 -0
- package/dist/functions/helpers/get-chromium-executable-path.d.ts +0 -0
- package/dist/functions/helpers/get-chromium-executable-path.d.ts.map +0 -0
- package/dist/functions/helpers/get-chromium-executable-path.js +0 -0
- package/dist/functions/helpers/get-chromium-executable-path.js.map +0 -0
- package/dist/functions/helpers/get-cleanup-progress.d.ts +0 -0
- package/dist/functions/helpers/get-cleanup-progress.d.ts.map +0 -0
- package/dist/functions/helpers/get-cleanup-progress.js +0 -0
- package/dist/functions/helpers/get-cleanup-progress.js.map +0 -0
- package/dist/functions/helpers/get-current-architecture.d.ts +3 -0
- package/dist/functions/helpers/get-current-architecture.d.ts.map +1 -0
- package/dist/functions/helpers/get-current-architecture.js +12 -0
- package/dist/functions/helpers/get-current-architecture.js.map +1 -0
- package/dist/functions/helpers/get-current-region.d.ts +0 -0
- package/dist/functions/helpers/get-current-region.d.ts.map +0 -0
- package/dist/functions/helpers/get-current-region.js +0 -0
- package/dist/functions/helpers/get-current-region.js.map +0 -0
- package/dist/functions/helpers/get-encoding-metadata.d.ts +0 -0
- package/dist/functions/helpers/get-encoding-metadata.d.ts.map +0 -0
- package/dist/functions/helpers/get-encoding-metadata.js +0 -0
- package/dist/functions/helpers/get-encoding-metadata.js.map +0 -0
- package/dist/functions/helpers/get-files-in-folder.d.ts +0 -0
- package/dist/functions/helpers/get-files-in-folder.d.ts.map +0 -0
- package/dist/functions/helpers/get-files-in-folder.js +0 -0
- package/dist/functions/helpers/get-files-in-folder.js.map +0 -0
- package/dist/functions/helpers/get-files-to-delete.d.ts +0 -0
- package/dist/functions/helpers/get-files-to-delete.d.ts.map +0 -0
- package/dist/functions/helpers/get-files-to-delete.js +0 -0
- package/dist/functions/helpers/get-files-to-delete.js.map +0 -0
- package/dist/functions/helpers/get-final-encoding-status.d.ts +0 -0
- package/dist/functions/helpers/get-final-encoding-status.d.ts.map +0 -0
- package/dist/functions/helpers/get-final-encoding-status.js +0 -0
- package/dist/functions/helpers/get-final-encoding-status.js.map +0 -0
- package/dist/functions/helpers/get-folder-size.d.ts +0 -0
- package/dist/functions/helpers/get-folder-size.d.ts.map +0 -0
- package/dist/functions/helpers/get-folder-size.js +0 -0
- package/dist/functions/helpers/get-folder-size.js.map +0 -0
- package/dist/functions/helpers/get-lambdas-invoked-stats.d.ts +0 -0
- package/dist/functions/helpers/get-lambdas-invoked-stats.d.ts.map +0 -0
- package/dist/functions/helpers/get-lambdas-invoked-stats.js +0 -0
- package/dist/functions/helpers/get-lambdas-invoked-stats.js.map +0 -0
- package/dist/functions/helpers/get-output-url-from-metadata.d.ts +0 -0
- package/dist/functions/helpers/get-output-url-from-metadata.d.ts.map +0 -0
- package/dist/functions/helpers/get-output-url-from-metadata.js +0 -0
- package/dist/functions/helpers/get-output-url-from-metadata.js.map +0 -0
- package/dist/functions/helpers/get-overall-progress.d.ts +0 -0
- package/dist/functions/helpers/get-overall-progress.d.ts.map +0 -0
- package/dist/functions/helpers/get-overall-progress.js +0 -0
- package/dist/functions/helpers/get-overall-progress.js.map +0 -0
- package/dist/functions/helpers/get-post-render-data.d.ts +0 -0
- package/dist/functions/helpers/get-post-render-data.d.ts.map +0 -0
- package/dist/functions/helpers/get-post-render-data.js +0 -0
- package/dist/functions/helpers/get-post-render-data.js.map +0 -0
- package/dist/functions/helpers/get-progress.d.ts +0 -0
- package/dist/functions/helpers/get-progress.d.ts.map +1 -1
- package/dist/functions/helpers/get-progress.js +15 -9
- package/dist/functions/helpers/get-progress.js.map +1 -1
- package/dist/functions/helpers/get-render-metadata.d.ts +0 -0
- package/dist/functions/helpers/get-render-metadata.d.ts.map +0 -0
- package/dist/functions/helpers/get-render-metadata.js +0 -0
- package/dist/functions/helpers/get-render-metadata.js.map +0 -0
- package/dist/functions/helpers/get-retry-stats.d.ts +0 -0
- package/dist/functions/helpers/get-retry-stats.d.ts.map +0 -0
- package/dist/functions/helpers/get-retry-stats.js +0 -0
- package/dist/functions/helpers/get-retry-stats.js.map +0 -0
- package/dist/functions/helpers/get-time-to-finish.d.ts +0 -0
- package/dist/functions/helpers/get-time-to-finish.d.ts.map +0 -0
- package/dist/functions/helpers/get-time-to-finish.js +0 -0
- package/dist/functions/helpers/get-time-to-finish.js.map +0 -0
- package/dist/functions/helpers/inspect-errors.d.ts +0 -0
- package/dist/functions/helpers/inspect-errors.d.ts.map +0 -0
- package/dist/functions/helpers/inspect-errors.js +0 -0
- package/dist/functions/helpers/inspect-errors.js.map +0 -0
- package/dist/functions/helpers/io.d.ts +0 -0
- package/dist/functions/helpers/io.d.ts.map +0 -0
- package/dist/functions/helpers/io.js +0 -0
- package/dist/functions/helpers/io.js.map +0 -0
- package/dist/functions/helpers/is-enosp-err.d.ts +0 -0
- package/dist/functions/helpers/is-enosp-err.d.ts.map +0 -0
- package/dist/functions/helpers/is-enosp-err.js +0 -0
- package/dist/functions/helpers/is-enosp-err.js.map +0 -0
- package/dist/functions/helpers/is-warm.d.ts +0 -0
- package/dist/functions/helpers/is-warm.d.ts.map +0 -0
- package/dist/functions/helpers/is-warm.js +0 -0
- package/dist/functions/helpers/is-warm.js.map +0 -0
- package/dist/functions/helpers/min-max.d.ts +0 -0
- package/dist/functions/helpers/min-max.d.ts.map +0 -0
- package/dist/functions/helpers/min-max.js +0 -0
- package/dist/functions/helpers/min-max.js.map +0 -0
- package/dist/functions/helpers/presign-url.d.ts +0 -0
- package/dist/functions/helpers/presign-url.d.ts.map +0 -0
- package/dist/functions/helpers/presign-url.js +0 -0
- package/dist/functions/helpers/presign-url.js.map +0 -0
- package/dist/functions/helpers/print-cloudwatch-helper.d.ts +0 -0
- package/dist/functions/helpers/print-cloudwatch-helper.d.ts.map +0 -0
- package/dist/functions/helpers/print-cloudwatch-helper.js +0 -0
- package/dist/functions/helpers/print-cloudwatch-helper.js.map +0 -0
- package/dist/functions/helpers/print-concurrency-curve.d.ts +0 -0
- package/dist/functions/helpers/print-concurrency-curve.d.ts.map +0 -0
- package/dist/functions/helpers/print-concurrency-curve.js +0 -0
- package/dist/functions/helpers/print-concurrency-curve.js.map +0 -0
- package/dist/functions/helpers/read-with-progress.d.ts +0 -0
- package/dist/functions/helpers/read-with-progress.d.ts.map +0 -0
- package/dist/functions/helpers/read-with-progress.js +0 -0
- package/dist/functions/helpers/read-with-progress.js.map +0 -0
- package/dist/functions/helpers/timer.d.ts +0 -0
- package/dist/functions/helpers/timer.d.ts.map +0 -0
- package/dist/functions/helpers/timer.js +0 -0
- package/dist/functions/helpers/timer.js.map +0 -0
- package/dist/functions/helpers/validate-composition.d.ts +0 -0
- package/dist/functions/helpers/validate-composition.d.ts.map +0 -0
- package/dist/functions/helpers/validate-composition.js +0 -0
- package/dist/functions/helpers/validate-composition.js.map +0 -0
- package/dist/functions/helpers/write-lambda-error.d.ts +0 -0
- package/dist/functions/helpers/write-lambda-error.d.ts.map +0 -0
- package/dist/functions/helpers/write-lambda-error.js +0 -0
- package/dist/functions/helpers/write-lambda-error.js.map +0 -0
- package/dist/functions/helpers/write-post-render-data.d.ts +0 -0
- package/dist/functions/helpers/write-post-render-data.d.ts.map +0 -0
- package/dist/functions/helpers/write-post-render-data.js +0 -0
- package/dist/functions/helpers/write-post-render-data.js.map +0 -0
- package/dist/functions/index.d.ts +0 -0
- package/dist/functions/index.d.ts.map +0 -0
- package/dist/functions/index.js +0 -0
- package/dist/functions/index.js.map +0 -0
- package/dist/functions/info.d.ts +0 -0
- package/dist/functions/info.d.ts.map +0 -0
- package/dist/functions/info.js +0 -0
- package/dist/functions/info.js.map +0 -0
- package/dist/functions/launch.d.ts +0 -0
- package/dist/functions/launch.d.ts.map +0 -0
- package/dist/functions/launch.js +0 -0
- package/dist/functions/launch.js.map +0 -0
- package/dist/functions/progress.d.ts +0 -0
- package/dist/functions/progress.d.ts.map +0 -0
- package/dist/functions/progress.js +0 -0
- package/dist/functions/progress.js.map +0 -0
- package/dist/functions/renderer.d.ts +0 -0
- package/dist/functions/renderer.d.ts.map +1 -1
- package/dist/functions/renderer.js +3 -0
- package/dist/functions/renderer.js.map +1 -1
- package/dist/functions/start.d.ts +0 -0
- package/dist/functions/start.d.ts.map +0 -0
- package/dist/functions/start.js +0 -0
- package/dist/functions/start.js.map +0 -0
- package/dist/functions/still.d.ts +0 -0
- package/dist/functions/still.d.ts.map +1 -1
- package/dist/functions/still.js +6 -0
- package/dist/functions/still.js.map +1 -1
- package/dist/index.d.ts +0 -0
- package/dist/index.d.ts.map +0 -0
- package/dist/index.js +0 -0
- package/dist/index.js.map +0 -0
- package/dist/internals.d.ts +0 -0
- package/dist/internals.d.ts.map +0 -0
- package/dist/internals.js +0 -0
- package/dist/internals.js.map +0 -0
- package/dist/pricing/aws-regions.d.ts +0 -0
- package/dist/pricing/aws-regions.d.ts.map +0 -0
- package/dist/pricing/aws-regions.js +0 -0
- package/dist/pricing/aws-regions.js.map +0 -0
- package/dist/pricing/price-per-1-s.d.ts +8 -0
- package/dist/pricing/price-per-1-s.d.ts.map +1 -1
- package/dist/pricing/price-per-1-s.js +82 -2
- package/dist/pricing/price-per-1-s.js.map +1 -1
- package/dist/regions.d.ts +0 -0
- package/dist/regions.d.ts.map +0 -0
- package/dist/regions.js +0 -0
- package/dist/regions.js.map +0 -0
- package/dist/shared/await.d.ts +0 -0
- package/dist/shared/await.d.ts.map +0 -0
- package/dist/shared/await.js +0 -0
- package/dist/shared/await.js.map +0 -0
- package/dist/shared/aws-clients.d.ts +0 -0
- package/dist/shared/aws-clients.d.ts.map +0 -0
- package/dist/shared/aws-clients.js +0 -0
- package/dist/shared/aws-clients.js.map +0 -0
- package/dist/shared/bundle-site.d.ts +0 -0
- package/dist/shared/bundle-site.d.ts.map +0 -0
- package/dist/shared/bundle-site.js +0 -0
- package/dist/shared/bundle-site.js.map +0 -0
- package/dist/shared/call-lambda.d.ts +0 -0
- package/dist/shared/call-lambda.d.ts.map +0 -0
- package/dist/shared/call-lambda.js +0 -0
- package/dist/shared/call-lambda.js.map +0 -0
- package/dist/shared/check-credentials.d.ts +0 -0
- package/dist/shared/check-credentials.d.ts.map +0 -0
- package/dist/shared/check-credentials.js +0 -0
- package/dist/shared/check-credentials.js.map +0 -0
- package/dist/shared/chunk.d.ts +0 -0
- package/dist/shared/chunk.d.ts.map +0 -0
- package/dist/shared/chunk.js +0 -0
- package/dist/shared/chunk.js.map +0 -0
- package/dist/shared/constants.d.ts +4 -1
- package/dist/shared/constants.d.ts.map +1 -1
- package/dist/shared/constants.js +5 -2
- package/dist/shared/constants.js.map +1 -1
- package/dist/shared/convert-to-serve-url.d.ts +0 -0
- package/dist/shared/convert-to-serve-url.d.ts.map +0 -0
- package/dist/shared/convert-to-serve-url.js +0 -0
- package/dist/shared/convert-to-serve-url.js.map +0 -0
- package/dist/shared/docs-url.d.ts +0 -0
- package/dist/shared/docs-url.d.ts.map +0 -0
- package/dist/shared/docs-url.js +0 -0
- package/dist/shared/docs-url.js.map +0 -0
- package/dist/shared/function-zip-path.d.ts +0 -0
- package/dist/shared/function-zip-path.d.ts.map +0 -0
- package/dist/shared/function-zip-path.js +0 -0
- package/dist/shared/function-zip-path.js.map +0 -0
- package/dist/shared/get-account-id.d.ts +0 -0
- package/dist/shared/get-account-id.d.ts.map +0 -0
- package/dist/shared/get-account-id.js +0 -0
- package/dist/shared/get-account-id.js.map +0 -0
- package/dist/shared/get-function-version.d.ts +0 -0
- package/dist/shared/get-function-version.d.ts.map +0 -0
- package/dist/shared/get-function-version.js +0 -0
- package/dist/shared/get-function-version.js.map +0 -0
- package/dist/shared/hosted-layers.d.ts +0 -0
- package/dist/shared/hosted-layers.d.ts.map +0 -0
- package/dist/shared/hosted-layers.js +0 -0
- package/dist/shared/hosted-layers.js.map +0 -0
- package/dist/shared/is-in-lambda.d.ts +0 -0
- package/dist/shared/is-in-lambda.d.ts.map +0 -0
- package/dist/shared/is-in-lambda.js +0 -0
- package/dist/shared/is-in-lambda.js.map +0 -0
- package/dist/shared/make-s3-url.d.ts +0 -0
- package/dist/shared/make-s3-url.d.ts.map +0 -0
- package/dist/shared/make-s3-url.js +0 -0
- package/dist/shared/make-s3-url.js.map +0 -0
- package/dist/shared/parse-lambda-initialized-key.d.ts +0 -0
- package/dist/shared/parse-lambda-initialized-key.d.ts.map +0 -0
- package/dist/shared/parse-lambda-initialized-key.js +0 -0
- package/dist/shared/parse-lambda-initialized-key.js.map +0 -0
- package/dist/shared/parse-lambda-timings-key.d.ts +0 -0
- package/dist/shared/parse-lambda-timings-key.d.ts.map +0 -0
- package/dist/shared/parse-lambda-timings-key.js +0 -0
- package/dist/shared/parse-lambda-timings-key.js.map +0 -0
- package/dist/shared/random-hash.d.ts +0 -0
- package/dist/shared/random-hash.d.ts.map +0 -0
- package/dist/shared/random-hash.js +0 -0
- package/dist/shared/random-hash.js.map +0 -0
- package/dist/shared/return-values.d.ts +0 -0
- package/dist/shared/return-values.d.ts.map +0 -0
- package/dist/shared/return-values.js +0 -0
- package/dist/shared/return-values.js.map +0 -0
- package/dist/shared/sleep.d.ts +0 -0
- package/dist/shared/sleep.d.ts.map +0 -0
- package/dist/shared/sleep.js +0 -0
- package/dist/shared/sleep.js.map +0 -0
- package/dist/shared/stream-to-string.d.ts +0 -0
- package/dist/shared/stream-to-string.d.ts.map +0 -0
- package/dist/shared/stream-to-string.js +0 -0
- package/dist/shared/stream-to-string.js.map +0 -0
- package/dist/shared/validate-architecture.d.ts +0 -0
- package/dist/shared/validate-architecture.d.ts.map +0 -0
- package/dist/shared/validate-architecture.js +0 -0
- package/dist/shared/validate-architecture.js.map +0 -0
- package/dist/shared/validate-aws-region.d.ts +0 -0
- package/dist/shared/validate-aws-region.d.ts.map +0 -0
- package/dist/shared/validate-aws-region.js +0 -0
- package/dist/shared/validate-aws-region.js.map +0 -0
- package/dist/shared/validate-bucketname.d.ts +0 -0
- package/dist/shared/validate-bucketname.d.ts.map +0 -0
- package/dist/shared/validate-bucketname.js +0 -0
- package/dist/shared/validate-bucketname.js.map +0 -0
- package/dist/shared/validate-disk-size-in-mb.d.ts +2 -0
- package/dist/shared/validate-disk-size-in-mb.d.ts.map +1 -0
- package/dist/shared/validate-disk-size-in-mb.js +24 -0
- package/dist/shared/validate-disk-size-in-mb.js.map +1 -0
- package/dist/shared/validate-frames-per-lambda.d.ts +0 -0
- package/dist/shared/validate-frames-per-lambda.d.ts.map +0 -0
- package/dist/shared/validate-frames-per-lambda.js +0 -0
- package/dist/shared/validate-frames-per-lambda.js.map +0 -0
- package/dist/shared/validate-memory-size.d.ts +0 -0
- package/dist/shared/validate-memory-size.d.ts.map +0 -0
- package/dist/shared/validate-memory-size.js +0 -0
- package/dist/shared/validate-memory-size.js.map +0 -0
- package/dist/shared/validate-outname.d.ts +0 -0
- package/dist/shared/validate-outname.d.ts.map +0 -0
- package/dist/shared/validate-outname.js +2 -2
- package/dist/shared/validate-outname.js.map +1 -1
- package/dist/shared/validate-presign-expiration.d.ts +0 -0
- package/dist/shared/validate-presign-expiration.d.ts.map +0 -0
- package/dist/shared/validate-presign-expiration.js +0 -0
- package/dist/shared/validate-presign-expiration.js.map +0 -0
- package/dist/shared/validate-privacy.d.ts +0 -0
- package/dist/shared/validate-privacy.d.ts.map +0 -0
- package/dist/shared/validate-privacy.js +0 -0
- package/dist/shared/validate-privacy.js.map +0 -0
- package/dist/shared/validate-retention-period.d.ts +0 -0
- package/dist/shared/validate-retention-period.d.ts.map +0 -0
- package/dist/shared/validate-retention-period.js +0 -0
- package/dist/shared/validate-retention-period.js.map +0 -0
- package/dist/shared/validate-retries.d.ts +0 -0
- package/dist/shared/validate-retries.d.ts.map +0 -0
- package/dist/shared/validate-retries.js +0 -0
- package/dist/shared/validate-retries.js.map +0 -0
- package/dist/shared/validate-serveurl.d.ts +0 -0
- package/dist/shared/validate-serveurl.d.ts.map +0 -0
- package/dist/shared/validate-serveurl.js +0 -0
- package/dist/shared/validate-serveurl.js.map +0 -0
- package/dist/shared/validate-site-name.d.ts +0 -0
- package/dist/shared/validate-site-name.d.ts.map +0 -0
- package/dist/shared/validate-site-name.js +0 -0
- package/dist/shared/validate-site-name.js.map +0 -0
- package/dist/shared/validate-timeout.d.ts +0 -0
- package/dist/shared/validate-timeout.d.ts.map +0 -0
- package/dist/shared/validate-timeout.js +0 -0
- package/dist/shared/validate-timeout.js.map +0 -0
- package/package.json +14 -14
- package/remotionlambda.zip +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
[33m@remotion/lambda:build: [0mcache hit, replaying output [
|
|
1
|
+
[33m@remotion/lambda:build: [0mcache hit, replaying output [2mba1a2b2edba5fdc0[0m
|
|
2
2
|
[33m@remotion/lambda:build: [0m
|
|
3
|
-
[33m@remotion/lambda:build: [0m> @remotion/lambda@2.6.
|
|
3
|
+
[33m@remotion/lambda:build: [0m> @remotion/lambda@2.6.12 build /Users/jonathanburger/remotion/packages/lambda
|
|
4
4
|
[33m@remotion/lambda:build: [0m> tsc -d && pnpm run buildlambda
|
|
5
5
|
[33m@remotion/lambda:build: [0m
|
|
6
6
|
[33m@remotion/lambda:build: [0m
|
|
7
|
-
[33m@remotion/lambda:build: [0m> @remotion/lambda@2.6.
|
|
7
|
+
[33m@remotion/lambda:build: [0m> @remotion/lambda@2.6.12 buildlambda /Users/jonathanburger/remotion/packages/lambda
|
|
8
8
|
[33m@remotion/lambda:build: [0m> ts-node src/admin/bundle-lambda.ts
|
|
9
9
|
[33m@remotion/lambda:build: [0m
|
|
10
10
|
[33m@remotion/lambda:build: [0mLambda bundled
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/api/clean-items.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AwsRegion } from '../pricing/aws-regions';
|
|
2
2
|
import { LambdaArchitecture } from '../shared/validate-architecture';
|
|
3
|
-
export declare const createFunction: ({ createCloudWatchLogGroup, region, zipFile, functionName, accountId, memorySizeInMb, timeoutInSeconds, alreadyCreated, retentionInDays, architecture, }: {
|
|
3
|
+
export declare const createFunction: ({ createCloudWatchLogGroup, region, zipFile, functionName, accountId, memorySizeInMb, timeoutInSeconds, alreadyCreated, retentionInDays, architecture, ephemerealStorageInMb, }: {
|
|
4
4
|
createCloudWatchLogGroup: boolean;
|
|
5
5
|
region: AwsRegion;
|
|
6
6
|
zipFile: string;
|
|
@@ -10,6 +10,7 @@ export declare const createFunction: ({ createCloudWatchLogGroup, region, zipFil
|
|
|
10
10
|
timeoutInSeconds: number;
|
|
11
11
|
alreadyCreated: boolean;
|
|
12
12
|
retentionInDays: number;
|
|
13
|
+
ephemerealStorageInMb: number;
|
|
13
14
|
architecture: LambdaArchitecture;
|
|
14
15
|
}) => Promise<{
|
|
15
16
|
FunctionName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-function.d.ts","sourceRoot":"","sources":["../../src/api/create-function.ts"],"names":[],"mappings":"AAUA,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAGjD,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AAGnE,eAAO,MAAM,cAAc;
|
|
1
|
+
{"version":3,"file":"create-function.d.ts","sourceRoot":"","sources":["../../src/api/create-function.ts"],"names":[],"mappings":"AAUA,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAGjD,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AAGnE,eAAO,MAAM,cAAc;8BAaA,OAAO;YACzB,SAAS;aACR,MAAM;kBACD,MAAM;eACT,MAAM;oBACD,MAAM;sBACJ,MAAM;oBACR,OAAO;qBACN,MAAM;2BACA,MAAM;kBACf,kBAAkB;;kBACN,MAAM;EAwDhC,CAAC"}
|
|
@@ -8,7 +8,7 @@ const defaults_1 = require("../defaults");
|
|
|
8
8
|
const aws_clients_1 = require("../shared/aws-clients");
|
|
9
9
|
const hosted_layers_1 = require("../shared/hosted-layers");
|
|
10
10
|
const suggested_policy_1 = require("./iam-validation/suggested-policy");
|
|
11
|
-
const createFunction = async ({ createCloudWatchLogGroup, region, zipFile, functionName, accountId, memorySizeInMb, timeoutInSeconds, alreadyCreated, retentionInDays, architecture, }) => {
|
|
11
|
+
const createFunction = async ({ createCloudWatchLogGroup, region, zipFile, functionName, accountId, memorySizeInMb, timeoutInSeconds, alreadyCreated, retentionInDays, architecture, ephemerealStorageInMb, }) => {
|
|
12
12
|
if (createCloudWatchLogGroup) {
|
|
13
13
|
try {
|
|
14
14
|
await (0, aws_clients_1.getCloudWatchLogsClient)(region).send(new client_cloudwatch_logs_1.CreateLogGroupCommand({
|
|
@@ -42,6 +42,9 @@ const createFunction = async ({ createCloudWatchLogGroup, region, zipFile, funct
|
|
|
42
42
|
Timeout: timeoutInSeconds,
|
|
43
43
|
Layers: hosted_layers_1.hostedLayers[architecture][region].map(({ layerArn, version }) => `${layerArn}:${version}`),
|
|
44
44
|
Architectures: [architecture],
|
|
45
|
+
EphemeralStorage: {
|
|
46
|
+
Size: ephemerealStorageInMb,
|
|
47
|
+
},
|
|
45
48
|
}));
|
|
46
49
|
await (0, aws_clients_1.getLambdaClient)(region).send(new client_lambda_1.PutFunctionEventInvokeConfigCommand({
|
|
47
50
|
MaximumRetryAttempts: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-function.js","sourceRoot":"","sources":["../../src/api/create-function.ts"],"names":[],"mappings":";;;AAAA,4EAGyC;AACzC,0DAGgC;AAChC,2BAAgC;AAChC,0CAA6C;AAE7C,uDAA+E;AAC/E,2DAAqD;AAErD,wEAA4D;AAErD,MAAM,cAAc,GAAG,KAAK,EAAE,EACpC,wBAAwB,EACxB,MAAM,EACN,OAAO,EACP,YAAY,EACZ,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,YAAY,
|
|
1
|
+
{"version":3,"file":"create-function.js","sourceRoot":"","sources":["../../src/api/create-function.ts"],"names":[],"mappings":";;;AAAA,4EAGyC;AACzC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,UAAU,EAAE,cAAc;QAC1B,OAAO,EAAE,gBAAgB;QACzB,MAAM,EAAE,4BAAY,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,CAC7C,CAAC,EAAC,QAAQ,EAAE,OAAO,EAAC,EAAE,EAAE,CAAC,GAAG,QAAQ,IAAI,OAAO,EAAE,CACjD;QACD,aAAa,EAAE,CAAC,YAAY,CAAC;QAC7B,gBAAgB,EAAE;YACjB,IAAI,EAAE,qBAAqB;SAC3B;KACD,CAAC,CACF,CAAC;IACF,MAAM,IAAA,6BAAe,EAAC,MAAM,CAAC,CAAC,IAAI,CACjC,IAAI,mDAAmC,CAAC;QACvC,oBAAoB,EAAE,CAAC;QACvB,YAAY;KACZ,CAAC,CACF,CAAC;IAEF,OAAO,EAAC,YAAY,EAAE,YAAsB,EAAC,CAAC;AAC/C,CAAC,CAAC;AAhFW,QAAA,cAAc,kBAgFzB"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/api/delete-site.js
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -7,6 +7,7 @@ export declare type DeployFunctionInput = {
|
|
|
7
7
|
timeoutInSeconds: number;
|
|
8
8
|
memorySizeInMb: number;
|
|
9
9
|
architecture: LambdaArchitecture;
|
|
10
|
+
diskSizeInMb?: number;
|
|
10
11
|
};
|
|
11
12
|
export declare type DeployFunctionOutput = {
|
|
12
13
|
functionName: string;
|
|
@@ -21,6 +22,7 @@ export declare type DeployFunctionOutput = {
|
|
|
21
22
|
* @param options.timeoutInSeconds After how many seconds the lambda function should be killed if it does not end itself.
|
|
22
23
|
* @param options.memorySizeInMb How much memory should be allocated to the Lambda function.
|
|
23
24
|
* @param options.architecture The architecture Lambda should run on. One of x86_64 and x64
|
|
25
|
+
* @param options.diskSizeInMb The amount of storage the function should be allocated. The higher, the longer videos you can render. Default 512.
|
|
24
26
|
* @returns {Promise<DeployFunctionOutput>} An object that contains the `functionName` property
|
|
25
27
|
*/
|
|
26
28
|
export declare const deployFunction: (options: DeployFunctionInput) => Promise<DeployFunctionOutput>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy-function.d.ts","sourceRoot":"","sources":["../../src/api/deploy-function.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"deploy-function.d.ts","sourceRoot":"","sources":["../../src/api/deploy-function.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AASjD,OAAO,EACN,kBAAkB,EAElB,MAAM,iCAAiC,CAAC;AAQzC,oBAAY,mBAAmB,GAAG;IACjC,wBAAwB,EAAE,OAAO,CAAC;IAClC,kCAAkC,CAAC,EAAE,MAAM,CAAC;IAC5C,MAAM,EAAE,SAAS,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,kBAAkB,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,YACjB,mBAAmB,KAC1B,QAAQ,oBAAoB,CAuD9B,CAAC"}
|
|
@@ -7,6 +7,7 @@ const function_zip_path_1 = require("../shared/function-zip-path");
|
|
|
7
7
|
const get_account_id_1 = require("../shared/get-account-id");
|
|
8
8
|
const validate_architecture_1 = require("../shared/validate-architecture");
|
|
9
9
|
const validate_aws_region_1 = require("../shared/validate-aws-region");
|
|
10
|
+
const validate_disk_size_in_mb_1 = require("../shared/validate-disk-size-in-mb");
|
|
10
11
|
const validate_memory_size_1 = require("../shared/validate-memory-size");
|
|
11
12
|
const validate_retention_period_1 = require("../shared/validate-retention-period");
|
|
12
13
|
const validate_timeout_1 = require("../shared/validate-timeout");
|
|
@@ -20,16 +21,24 @@ const create_function_1 = require("./create-function");
|
|
|
20
21
|
* @param options.timeoutInSeconds After how many seconds the lambda function should be killed if it does not end itself.
|
|
21
22
|
* @param options.memorySizeInMb How much memory should be allocated to the Lambda function.
|
|
22
23
|
* @param options.architecture The architecture Lambda should run on. One of x86_64 and x64
|
|
24
|
+
* @param options.diskSizeInMb The amount of storage the function should be allocated. The higher, the longer videos you can render. Default 512.
|
|
23
25
|
* @returns {Promise<DeployFunctionOutput>} An object that contains the `functionName` property
|
|
24
26
|
*/
|
|
25
27
|
const deployFunction = async (options) => {
|
|
26
|
-
var _a;
|
|
28
|
+
var _a, _b;
|
|
29
|
+
const diskSizeInMb = (_a = options.diskSizeInMb) !== null && _a !== void 0 ? _a : constants_1.DEFAULT_EPHEMERAL_STORAGE_IN_MB;
|
|
27
30
|
(0, validate_memory_size_1.validateMemorySize)(options.memorySizeInMb);
|
|
28
31
|
(0, validate_timeout_1.validateTimeout)(options.timeoutInSeconds);
|
|
29
32
|
(0, validate_aws_region_1.validateAwsRegion)(options.region);
|
|
30
33
|
(0, validate_retention_period_1.validateCloudWatchRetentionPeriod)(options.cloudWatchLogRetentionPeriodInDays);
|
|
31
34
|
(0, validate_architecture_1.validateArchitecture)(options.architecture);
|
|
32
|
-
|
|
35
|
+
(0, validate_disk_size_in_mb_1.validateDiskSizeInMb)(diskSizeInMb);
|
|
36
|
+
const fnNameRender = [
|
|
37
|
+
`${constants_1.RENDER_FN_PREFIX}${constants_1.CURRENT_VERSION}`,
|
|
38
|
+
`mem${options.memorySizeInMb}mb`,
|
|
39
|
+
`disk${diskSizeInMb}mb`,
|
|
40
|
+
`${options.timeoutInSeconds}sec`,
|
|
41
|
+
].join('-');
|
|
33
42
|
const accountId = await (0, get_account_id_1.getAccountId)({ region: options.region });
|
|
34
43
|
const fns = await (0, get_functions_1.getFunctions)({
|
|
35
44
|
compatibleOnly: true,
|
|
@@ -37,7 +46,8 @@ const deployFunction = async (options) => {
|
|
|
37
46
|
});
|
|
38
47
|
const alreadyDeployed = fns.find((f) => f.version === constants_1.CURRENT_VERSION &&
|
|
39
48
|
f.memorySizeInMb === options.memorySizeInMb &&
|
|
40
|
-
f.timeoutInSeconds === options.timeoutInSeconds
|
|
49
|
+
f.timeoutInSeconds === options.timeoutInSeconds &&
|
|
50
|
+
f.diskSizeInMb === diskSizeInMb);
|
|
41
51
|
const created = await (0, create_function_1.createFunction)({
|
|
42
52
|
createCloudWatchLogGroup: options.createCloudWatchLogGroup,
|
|
43
53
|
region: options.region,
|
|
@@ -46,9 +56,10 @@ const deployFunction = async (options) => {
|
|
|
46
56
|
accountId,
|
|
47
57
|
memorySizeInMb: options.memorySizeInMb,
|
|
48
58
|
timeoutInSeconds: options.timeoutInSeconds,
|
|
49
|
-
retentionInDays: (
|
|
59
|
+
retentionInDays: (_b = options.cloudWatchLogRetentionPeriodInDays) !== null && _b !== void 0 ? _b : constants_1.DEFAULT_CLOUDWATCH_RETENTION_PERIOD,
|
|
50
60
|
alreadyCreated: Boolean(alreadyDeployed),
|
|
51
61
|
architecture: options.architecture,
|
|
62
|
+
ephemerealStorageInMb: diskSizeInMb,
|
|
52
63
|
});
|
|
53
64
|
if (!created.FunctionName) {
|
|
54
65
|
throw new Error('Lambda was created but has no name');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy-function.js","sourceRoot":"","sources":["../../src/api/deploy-function.ts"],"names":[],"mappings":";;;AAAA,wDAAkD;AAElD,
|
|
1
|
+
{"version":3,"file":"deploy-function.js","sourceRoot":"","sources":["../../src/api/deploy-function.ts"],"names":[],"mappings":";;;AAAA,wDAAkD;AAElD,mDAK6B;AAC7B,mEAAyD;AACzD,6DAAsD;AACtD,2EAGyC;AACzC,uEAAgE;AAChE,iFAAwE;AACxE,yEAAkE;AAClE,mFAAsF;AACtF,iEAA2D;AAC3D,uDAAiD;AAiBjD;;;;;;;;;;;GAWG;AACI,MAA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AC,wBAAwB;QAC1D,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,OAAO,EAAE,gCAAY;QACrB,YAAY,EAAE,YAAY;QAC1B,SAAS;QACT,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,gBAAgB,EAAE,OAAO,CAAC,gBAAgB;QAC1C,eAAe,EACd,MAAA,OAAO,CAAC,kCAAkC,mCAC1C,+CAAmC;QACpC,cAAc,EAAE,OAAO,CAAC,eAAe,CAAC;QACxC,YAAY,EAAE,OAAO,CAAC,YAAY;QAClC,qBAAqB,EAAE,YAAY;KACnC,CAAC,CAAC;IAEH,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE;QAC1B,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;KACtD;IAED,OAAO;QACN,YAAY,EAAE,OAAO,CAAC,YAAY;QAClC,cAAc,EAAE,OAAO,CAAC,eAAe,CAAC;KACxC,CAAC;AACH,CAAC,CAAC;AAzDW,QAAA,cAAc,kBAyDzB"}
|
|
File without changes
|
|
File without changes
|
package/dist/api/deploy-site.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { AwsRegion } from '../pricing/aws-regions';
|
|
2
|
+
import { LambdaArchitecture } from '../shared/validate-architecture';
|
|
2
3
|
export declare type EstimatePriceInput = {
|
|
3
4
|
region: AwsRegion;
|
|
4
5
|
durationInMiliseconds: number;
|
|
5
6
|
memorySizeInMb: number;
|
|
7
|
+
diskSizeInMb: number;
|
|
8
|
+
architecture: LambdaArchitecture;
|
|
9
|
+
lambdasInvoked: number;
|
|
6
10
|
};
|
|
7
11
|
/**
|
|
8
12
|
*
|
|
@@ -10,5 +14,5 @@ export declare type EstimatePriceInput = {
|
|
|
10
14
|
* @link https://v3.remotion.dev/docs/lambda/estimateprice
|
|
11
15
|
* @returns {number} Price in USD
|
|
12
16
|
*/
|
|
13
|
-
export declare const estimatePrice: ({ region, durationInMiliseconds, memorySizeInMb, }: EstimatePriceInput) => number;
|
|
17
|
+
export declare const estimatePrice: ({ region, durationInMiliseconds, memorySizeInMb, diskSizeInMb, architecture, lambdasInvoked, }: EstimatePriceInput) => number;
|
|
14
18
|
//# sourceMappingURL=estimate-price.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"estimate-price.d.ts","sourceRoot":"","sources":["../../src/api/estimate-price.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"estimate-price.d.ts","sourceRoot":"","sources":["../../src/api/estimate-price.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EACN,kBAAkB,EAElB,MAAM,iCAAiC,CAAC;AAKzC,oBAAY,kBAAkB,GAAG;IAChC,MAAM,EAAE,SAAS,CAAC;IAClB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,kBAAkB,CAAC;IACjC,cAAc,EAAE,MAAM,CAAC;CACvB,CAAC;AACF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,mGAOvB,kBAAkB,KAAG,MA4DvB,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.estimatePrice = void 0;
|
|
4
|
+
const defaults_1 = require("../defaults");
|
|
4
5
|
const price_per_1_s_1 = require("../pricing/price-per-1-s");
|
|
6
|
+
const validate_architecture_1 = require("../shared/validate-architecture");
|
|
5
7
|
const validate_aws_region_1 = require("../shared/validate-aws-region");
|
|
8
|
+
const validate_disk_size_in_mb_1 = require("../shared/validate-disk-size-in-mb");
|
|
6
9
|
const validate_memory_size_1 = require("../shared/validate-memory-size");
|
|
7
10
|
/**
|
|
8
11
|
*
|
|
@@ -10,9 +13,11 @@ const validate_memory_size_1 = require("../shared/validate-memory-size");
|
|
|
10
13
|
* @link https://v3.remotion.dev/docs/lambda/estimateprice
|
|
11
14
|
* @returns {number} Price in USD
|
|
12
15
|
*/
|
|
13
|
-
const estimatePrice = ({ region, durationInMiliseconds, memorySizeInMb, }) => {
|
|
16
|
+
const estimatePrice = ({ region, durationInMiliseconds, memorySizeInMb, diskSizeInMb, architecture, lambdasInvoked, }) => {
|
|
14
17
|
(0, validate_memory_size_1.validateMemorySize)(memorySizeInMb);
|
|
15
18
|
(0, validate_aws_region_1.validateAwsRegion)(region);
|
|
19
|
+
(0, validate_architecture_1.validateArchitecture)(architecture);
|
|
20
|
+
(0, validate_disk_size_in_mb_1.validateDiskSizeInMb)(diskSizeInMb);
|
|
16
21
|
if (typeof durationInMiliseconds !== 'number') {
|
|
17
22
|
throw new TypeError(`Parameter 'durationInMiliseconds' must be a number but got ${typeof durationInMiliseconds}`);
|
|
18
23
|
}
|
|
@@ -25,10 +30,22 @@ const estimatePrice = ({ region, durationInMiliseconds, memorySizeInMb, }) => {
|
|
|
25
30
|
if (durationInMiliseconds < 0) {
|
|
26
31
|
throw new TypeError(`Parameter 'durationInMiliseconds' must be over 0 but it is ${durationInMiliseconds}.`);
|
|
27
32
|
}
|
|
28
|
-
const
|
|
33
|
+
const durationPrice = architecture === 'x86_64'
|
|
34
|
+
? price_per_1_s_1.pricing[region]['Lambda Duration'].price
|
|
35
|
+
: price_per_1_s_1.pricing[region]['Lambda Duration-ARM'].price;
|
|
36
|
+
// In GB-second
|
|
37
|
+
const timeCostDollars = Number(durationPrice) *
|
|
29
38
|
((memorySizeInMb * durationInMiliseconds) / 1000 / 1024);
|
|
30
|
-
const
|
|
31
|
-
|
|
39
|
+
const diskSizePrice = architecture === 'x86_64'
|
|
40
|
+
? price_per_1_s_1.pricing[region]['Lambda Storage-Duration'].price
|
|
41
|
+
: price_per_1_s_1.pricing[region]['Lambda Storage-Duration-ARM'].price;
|
|
42
|
+
const chargedDiskSize = Math.max(0, diskSizeInMb - defaults_1.MIN_EPHEMERAL_STORAGE_IN_MB);
|
|
43
|
+
// In GB-second
|
|
44
|
+
const diskSizeDollars = chargedDiskSize *
|
|
45
|
+
Number(diskSizePrice) *
|
|
46
|
+
(durationInMiliseconds / 1000 / 1024);
|
|
47
|
+
const invocationCost = Number(price_per_1_s_1.pricing[region]['Lambda Requests'].price) * lambdasInvoked;
|
|
48
|
+
return Number((timeCostDollars + diskSizeDollars + invocationCost).toFixed(5));
|
|
32
49
|
};
|
|
33
50
|
exports.estimatePrice = estimatePrice;
|
|
34
51
|
//# sourceMappingURL=estimate-price.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"estimate-price.js","sourceRoot":"","sources":["../../src/api/estimate-price.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"estimate-price.js","sourceRoot":"","sources":["../../src/api/estimate-price.ts"],"names":[],"mappings":";;;AAAA,0CAAwD;AAExD,4DAAiD;AACjD,2EAGyC;AACzC,uEAAgE;AAChE,iFAAwE;AACxE,yEAAkE;AAUlE;;;;;GAKG;AACI,MAAM,aAAa,GAAG,CAAC,EAC7B,MAAM,EACN,qBAAqB,EACrB,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,cAAc,GACM,EAAU,EAAE;IAChC,IAAA,yCAAkB,EAAC,cAAc,CAAC,CAAC;IACnC,IAAA,uCAAiB,EAAC,MAAM,CAAC,CAAC;IAC1B,IAAA,4CAAoB,EAAC,YAAY,CAAC,CAAC;IACnC,IAAA,+CAAoB,EAAC,YAAY,CAAC,CAAC;IACnC,IAAI,OAAO,qBAAqB,KAAK,QAAQ,EAAE;QAC9C,MAAM,IAAI,SAAS,CAClB,8DAA8D,OAAO,qBAAqB,EAAE,CAC5F,CAAC;KACF;IAED,IAAI,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,EAAE;QACxC,MAAM,IAAI,SAAS,CAClB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CAAC,CAAC,CAAC,CAC/D,CAAC;AACH,CAAC,CAAC;AAnEW,QAAA,aAAa,iBAmExB"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/api/get-buckets.js
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-function-info.d.ts","sourceRoot":"","sources":["../../src/api/get-function-info.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD,OAAO,
|
|
1
|
+
{"version":3,"file":"get-function-info.d.ts","sourceRoot":"","sources":["../../src/api/get-function-info.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAEN,cAAc,EACd,MAAM,qBAAqB,CAAC;AAI7B,oBAAY,YAAY,GAAG;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IAClC,MAAM,EAAE,SAAS,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,8BAGzB,oBAAoB,KAAG,QAAQ,YAAY,CAwB7C,CAAC"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getFunctionInfo = void 0;
|
|
4
4
|
const client_lambda_1 = require("@aws-sdk/client-lambda");
|
|
5
5
|
const aws_clients_1 = require("../shared/aws-clients");
|
|
6
|
+
const constants_1 = require("../shared/constants");
|
|
6
7
|
const get_function_version_1 = require("../shared/get-function-version");
|
|
7
8
|
const validate_aws_region_1 = require("../shared/validate-aws-region");
|
|
8
9
|
/**
|
|
@@ -13,7 +14,7 @@ const validate_aws_region_1 = require("../shared/validate-aws-region");
|
|
|
13
14
|
* @return {Promise<FunctionInfo>} Promise resolving to information about the function.
|
|
14
15
|
*/
|
|
15
16
|
const getFunctionInfo = async ({ region, functionName, }) => {
|
|
16
|
-
var _a, _b;
|
|
17
|
+
var _a, _b, _c, _d, _e;
|
|
17
18
|
(0, validate_aws_region_1.validateAwsRegion)(region);
|
|
18
19
|
const [functionInfo, version] = await Promise.all([
|
|
19
20
|
(0, aws_clients_1.getLambdaClient)(region).send(new client_lambda_1.GetFunctionCommand({
|
|
@@ -29,6 +30,7 @@ const getFunctionInfo = async ({ region, functionName, }) => {
|
|
|
29
30
|
timeoutInSeconds: (_a = functionInfo.Configuration) === null || _a === void 0 ? void 0 : _a.Timeout,
|
|
30
31
|
memorySizeInMb: (_b = functionInfo.Configuration) === null || _b === void 0 ? void 0 : _b.MemorySize,
|
|
31
32
|
version,
|
|
33
|
+
diskSizeInMb: (_e = (_d = (_c = functionInfo.Configuration) === null || _c === void 0 ? void 0 : _c.EphemeralStorage) === null || _d === void 0 ? void 0 : _d.Size) !== null && _e !== void 0 ? _e : constants_1.DEFAULT_EPHEMERAL_STORAGE_IN_MB,
|
|
32
34
|
};
|
|
33
35
|
};
|
|
34
36
|
exports.getFunctionInfo = getFunctionInfo;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-function-info.js","sourceRoot":"","sources":["../../src/api/get-function-info.ts"],"names":[],"mappings":";;;AAAA,0DAA0D;AAE1D,uDAAsD;
|
|
1
|
+
{"version":3,"file":"get-function-info.js","sourceRoot":"","sources":["../../src/api/get-function-info.ts"],"names":[],"mappings":";;;AAAA,0DAA0D;AAE1D,uDAAsD;AACtD,mDAG6B;AAC7B,yEAAkE;AAClE,uEAAgE;AAehE;;;;;;GAMG;AACI,MAAM,eAAe,GAAG,KAAK,EAAE,EACrC,MAAM,EACN,YAAY,GACU,EAAyB,EAAE;;IACjD,IAAA,uCAAiB,EAAC,MAAM,CAAC,CAAC;IAE1B,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACjD,IAAA,6BAAe,EAAC,MAAM,CAAC,CAAC,IAAI,CAC3B,IAAI,kCAAkB,CAAC;YACtB,YAAY,EAAE,YAAY;SAC1B,CAAC,CACF;QACD,IAAA,yCAAkB,EAAC;YAClB,YAAY;YACZ,MAAM;SACN,CAAC;KACF,CAAC,CAAC;IAEH,OAAO;QACN,YAAY;QACZ,gBAAgB,EAAE,MAAA,YAAY,CAAC,aAAa,0CAAE,OAAiB;QAC/D,cAAc,EAAE,MAAA,YAAY,CAAC,aAAa,0CAAE,UAAoB;QAChE,OAAO;QACP,YAAY,EACX,MAAA,MAAA,MAAA,YAAY,CAAC,aAAa,0CAAE,gBAAgB,0CAAE,IAAI,mCAClD,2CAA+B;KAChC,CAAC;AACH,CAAC,CAAC;AA3BW,QAAA,eAAe,mBA2B1B"}
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-functions.d.ts","sourceRoot":"","sources":["../../src/api/get-functions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"get-functions.d.ts","sourceRoot":"","sources":["../../src/api/get-functions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAQjD,OAAO,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC;AAEjD,oBAAY,iBAAiB,GAAG;IAC/B,MAAM,EAAE,SAAS,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;CACxB,CAAC;AAoCF;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,YACf,iBAAiB,KACxB,QAAQ,YAAY,EAAE,CA8CxB,CAAC"}
|
|
@@ -57,11 +57,13 @@ const getFunctions = async (options) => {
|
|
|
57
57
|
}
|
|
58
58
|
}));
|
|
59
59
|
const list = remotionLambdas.map((lambda, i) => {
|
|
60
|
+
var _a, _b;
|
|
60
61
|
return {
|
|
61
62
|
functionName: lambda.FunctionName,
|
|
62
63
|
version: configs[i],
|
|
63
64
|
memorySizeInMb: lambda.MemorySize,
|
|
64
65
|
timeoutInSeconds: lambda.Timeout,
|
|
66
|
+
diskSizeInMb: (_b = (_a = lambda.EphemeralStorage) === null || _a === void 0 ? void 0 : _a.Size) !== null && _b !== void 0 ? _b : constants_1.DEFAULT_EPHEMERAL_STORAGE_IN_MB,
|
|
65
67
|
};
|
|
66
68
|
});
|
|
67
69
|
if (!options.compatibleOnly) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-functions.js","sourceRoot":"","sources":["../../src/api/get-functions.ts"],"names":[],"mappings":";;;AAAA,0DAGgC;AAEhC,uDAAsD;AACtD,
|
|
1
|
+
{"version":3,"file":"get-functions.js","sourceRoot":"","sources":["../../src/api/get-functions.ts"],"names":[],"mappings":";;;AAAA,0DAGgC;AAEhC,uDAAsD;AACtD,mDAI6B;AAC7B,yEAAkE;AAQlE,MAAM,eAAe,GAAG,KAAK,EAAE,EAC9B,QAAQ,EACR,UAAU,EACV,MAAM,GAKN,EAAoC,EAAE;IACtC,MAAM,UAAU,GAA4B,CAAC,GAAG,QAAQ,CAAC,CAAC;IAC1D,MAAM,OAAO,GAAG,MAAM,IAAA,6BAAe,EAAC,MAAM,CAAC,CAAC,IAAI,CACjD,IAAI,oCAAoB,CAAC;QACxB,MAAM,EAAE,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,SAAS;KAC/B,CAAC,CACF,CAAC;IACF,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE;QACvB,OAAO,UAAU,CAAC;KAClB;IAED,KAAK,MAAM,MAAM,IAAI,OAAO,CAAC,SAAS,EAAE;QACvC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACxB;IAED,IAAI,OAAO,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,MAAM,CAAC,gBAAgB,0CAAE,IAAI,mCAAI,2CAA+B;SACjE,CAAC;IACH,CAAC,CAAC,CAAC;IACH,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE;QAC5B,OAAO,IAAI,CAAC;KACZ;IAED,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE;QACxB,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE;YAC5B,OAAO,IAAI,CAAC;SACZ;QAED,OAAO,CAAC,CAAC,OAAO,KAAK,2BAAe,CAAC;IACtC,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAhDW,QAAA,YAAY,gBAgDvB"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/api/get-regions.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/api/get-sites.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/api/get-sites.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/api/presign-url.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/api/upload-dir.d.ts
CHANGED
|
File without changes
|
|
File without changes
|