@hot-updater/aws 0.36.6 → 1.0.0-rc.0

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,9 +1,23 @@
1
1
  import { RunInitOptions } from "@hot-updater/cli-tools";
2
+ import { ApiKeyModel } from "@hot-updater/plugin-core";
2
3
 
3
4
  //#region iac/index.d.ts
5
+ declare const prepareDynamoDBDeployment: (input: {
6
+ readonly credentials: {
7
+ readonly accessKeyId: string;
8
+ readonly secretAccessKey: string;
9
+ readonly sessionToken?: string;
10
+ };
11
+ readonly region: string;
12
+ readonly tableName: string;
13
+ }) => Promise<void>;
14
+ declare const prepareDynamoDBApiKey: (input: {
15
+ readonly apiKeys: ApiKeyModel;
16
+ readonly existingApiKey?: string;
17
+ }) => Promise<string>;
4
18
  declare const runInit: ({
5
19
  build,
6
20
  envFile
7
21
  }: RunInitOptions) => Promise<void>;
8
22
  //#endregion
9
- export { runInit };
23
+ export { prepareDynamoDBApiKey, prepareDynamoDBDeployment, runInit };
@@ -1,9 +1,23 @@
1
1
  import { RunInitOptions } from "@hot-updater/cli-tools";
2
+ import { ApiKeyModel } from "@hot-updater/plugin-core";
2
3
 
3
4
  //#region iac/index.d.ts
5
+ declare const prepareDynamoDBDeployment: (input: {
6
+ readonly credentials: {
7
+ readonly accessKeyId: string;
8
+ readonly secretAccessKey: string;
9
+ readonly sessionToken?: string;
10
+ };
11
+ readonly region: string;
12
+ readonly tableName: string;
13
+ }) => Promise<void>;
14
+ declare const prepareDynamoDBApiKey: (input: {
15
+ readonly apiKeys: ApiKeyModel;
16
+ readonly existingApiKey?: string;
17
+ }) => Promise<string>;
4
18
  declare const runInit: ({
5
19
  build,
6
20
  envFile
7
21
  }: RunInitOptions) => Promise<void>;
8
22
  //#endregion
9
- export { runInit };
23
+ export { prepareDynamoDBApiKey, prepareDynamoDBDeployment, runInit };