@remotion/lambda-client 4.0.508 → 4.0.510

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.
@@ -1,5 +1,5 @@
1
1
  export declare const makeS3ServeUrl: ({ bucketName, subFolder, region, }: {
2
2
  bucketName: string;
3
3
  subFolder: string;
4
- region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2";
4
+ region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2";
5
5
  }) => string;
@@ -1,37 +1,14 @@
1
1
  import type { AwsRegion } from './regions';
2
+ type Price = {
3
+ rateCode?: string;
4
+ price: string;
5
+ };
2
6
  export declare const pricing: {
3
7
  [key in AwsRegion]: {
4
- 'Lambda Duration': {
5
- rateCode: string;
6
- price: string;
7
- };
8
- 'Lambda Duration-Provisioned': {
9
- rateCode: string;
10
- price: string;
11
- };
12
- 'Lambda Provisioned-Concurrency': {
13
- rateCode: string;
14
- price: string;
15
- };
16
- 'Lambda Requests': {
17
- rateCode: string;
18
- price: string;
19
- };
20
- 'Lambda Duration-ARM': {
21
- rateCode: string;
22
- price: string;
23
- };
24
- 'Lambda Requests-ARM': {
25
- rateCode: string;
26
- price: string;
27
- };
28
- 'Lambda Storage-Duration': {
29
- rateCode: string;
30
- price: string;
31
- };
32
- 'Lambda Storage-Duration-ARM': {
33
- rateCode: string;
34
- price: string;
35
- };
8
+ 'Lambda Requests': Price;
9
+ 'Lambda Duration-ARM': Price;
10
+ 'Lambda Storage-Duration-ARM': Price;
11
+ [key: string]: Price;
36
12
  };
37
13
  };
14
+ export {};
@@ -1,3 +1,3 @@
1
1
  export declare const DEFAULT_AWS_REGIONS: readonly ["eu-central-1", "eu-west-1", "eu-west-2", "eu-west-3", "eu-north-1", "us-east-1", "us-east-2", "us-west-1", "us-west-2", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ca-central-1", "sa-east-1"];
2
- export declare const AWS_REGIONS: readonly ["eu-central-1", "eu-central-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-south-1", "eu-north-1", "us-east-1", "us-east-2", "us-west-1", "us-west-2", "af-south-1", "ap-south-1", "ap-east-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-southeast-4", "ap-southeast-5", "ca-central-1", "sa-east-1"];
2
+ export declare const AWS_REGIONS: readonly ["eu-central-1", "eu-central-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-south-1", "eu-north-1", "us-east-1", "us-east-2", "us-west-1", "us-west-2", "af-south-1", "ap-south-1", "ap-east-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-southeast-4", "ap-southeast-5", "ca-central-1", "cn-north-1", "cn-northwest-1", "sa-east-1"];
3
3
  export type AwsRegion = (typeof AWS_REGIONS)[number];
@@ -75,5 +75,7 @@ var AWS_REGIONS = [
75
75
  "ap-southeast-4",
76
76
  "ap-southeast-5",
77
77
  "ca-central-1",
78
+ "cn-north-1",
79
+ "cn-northwest-1",
78
80
  "sa-east-1"
79
81
  ];
@@ -1,3 +1,3 @@
1
1
  export declare const parseBucketName: (name: string) => {
2
- region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | null;
2
+ region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | null;
3
3
  };