airborne-server-sdk 0.9.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.
- package/dist-cjs/Airborne.js +51 -0
- package/dist-cjs/AirborneClient.js +47 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +49 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +21 -0
- package/dist-cjs/commands/CreateDimensionCommand.js +21 -0
- package/dist-cjs/commands/CreateFileCommand.js +21 -0
- package/dist-cjs/commands/CreateOrganisationCommand.js +21 -0
- package/dist-cjs/commands/CreatePackageCommand.js +21 -0
- package/dist-cjs/commands/CreateReleaseCommand.js +21 -0
- package/dist-cjs/commands/DeleteDimensionCommand.js +21 -0
- package/dist-cjs/commands/GetReleaseCommand.js +21 -0
- package/dist-cjs/commands/GetUserCommand.js +21 -0
- package/dist-cjs/commands/ListDimensionsCommand.js +21 -0
- package/dist-cjs/commands/ListFilesCommand.js +21 -0
- package/dist-cjs/commands/ListOrganisationsCommand.js +21 -0
- package/dist-cjs/commands/ListPackagesCommand.js +21 -0
- package/dist-cjs/commands/ListReleasesCommand.js +21 -0
- package/dist-cjs/commands/PostLoginCommand.js +21 -0
- package/dist-cjs/commands/RequestOrganisationCommand.js +21 -0
- package/dist-cjs/commands/ServeReleaseCommand.js +21 -0
- package/dist-cjs/commands/ServeReleaseV2Command.js +21 -0
- package/dist-cjs/commands/UpdateDimensionCommand.js +21 -0
- package/dist-cjs/commands/UploadFileCommand.js +22 -0
- package/dist-cjs/commands/index.js +23 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/AirborneServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +77 -0
- package/dist-cjs/protocols/Aws_restJson1.js +953 -0
- package/dist-cjs/runtimeConfig.browser.js +32 -0
- package/dist-cjs/runtimeConfig.js +38 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +33 -0
- package/dist-cjs/runtimeExtensions.js +12 -0
- package/dist-es/Airborne.js +47 -0
- package/dist-es/AirborneClient.js +43 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +43 -0
- package/dist-es/commands/CreateApplicationCommand.js +17 -0
- package/dist-es/commands/CreateDimensionCommand.js +17 -0
- package/dist-es/commands/CreateFileCommand.js +17 -0
- package/dist-es/commands/CreateOrganisationCommand.js +17 -0
- package/dist-es/commands/CreatePackageCommand.js +17 -0
- package/dist-es/commands/CreateReleaseCommand.js +17 -0
- package/dist-es/commands/DeleteDimensionCommand.js +17 -0
- package/dist-es/commands/GetReleaseCommand.js +17 -0
- package/dist-es/commands/GetUserCommand.js +17 -0
- package/dist-es/commands/ListDimensionsCommand.js +17 -0
- package/dist-es/commands/ListFilesCommand.js +17 -0
- package/dist-es/commands/ListOrganisationsCommand.js +17 -0
- package/dist-es/commands/ListPackagesCommand.js +17 -0
- package/dist-es/commands/ListReleasesCommand.js +17 -0
- package/dist-es/commands/PostLoginCommand.js +17 -0
- package/dist-es/commands/RequestOrganisationCommand.js +17 -0
- package/dist-es/commands/ServeReleaseCommand.js +17 -0
- package/dist-es/commands/ServeReleaseV2Command.js +17 -0
- package/dist-es/commands/UpdateDimensionCommand.js +17 -0
- package/dist-es/commands/UploadFileCommand.js +18 -0
- package/dist-es/commands/index.js +20 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/AirborneServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +68 -0
- package/dist-es/protocols/Aws_restJson1.js +910 -0
- package/dist-es/runtimeConfig.browser.js +27 -0
- package/dist-es/runtimeConfig.js +33 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +29 -0
- package/dist-es/runtimeExtensions.js +8 -0
- package/dist-types/Airborne.d.ts +152 -0
- package/dist-types/AirborneClient.d.ts +182 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +67 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +91 -0
- package/dist-types/commands/CreateDimensionCommand.d.ts +95 -0
- package/dist-types/commands/CreateFileCommand.d.ts +100 -0
- package/dist-types/commands/CreateOrganisationCommand.d.ts +98 -0
- package/dist-types/commands/CreatePackageCommand.d.ts +97 -0
- package/dist-types/commands/CreateReleaseCommand.d.ts +152 -0
- package/dist-types/commands/DeleteDimensionCommand.d.ts +86 -0
- package/dist-types/commands/GetReleaseCommand.d.ts +139 -0
- package/dist-types/commands/GetUserCommand.d.ts +108 -0
- package/dist-types/commands/ListDimensionsCommand.d.ts +100 -0
- package/dist-types/commands/ListFilesCommand.d.ts +108 -0
- package/dist-types/commands/ListOrganisationsCommand.d.ts +100 -0
- package/dist-types/commands/ListPackagesCommand.d.ts +102 -0
- package/dist-types/commands/ListReleasesCommand.d.ts +143 -0
- package/dist-types/commands/PostLoginCommand.d.ts +111 -0
- package/dist-types/commands/RequestOrganisationCommand.d.ts +92 -0
- package/dist-types/commands/ServeReleaseCommand.d.ts +103 -0
- package/dist-types/commands/ServeReleaseV2Command.d.ts +103 -0
- package/dist-types/commands/UpdateDimensionCommand.d.ts +95 -0
- package/dist-types/commands/UploadFileCommand.d.ts +101 -0
- package/dist-types/commands/index.d.ts +20 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +12 -0
- package/dist-types/models/AirborneServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +961 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +182 -0
- package/dist-types/runtimeConfig.browser.d.ts +44 -0
- package/dist-types/runtimeConfig.d.ts +44 -0
- package/dist-types/runtimeConfig.native.d.ts +43 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/package.json +81 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_UpdateDimensionCommand, se_UpdateDimensionCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class UpdateDimensionCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Airborne", "UpdateDimension", {})
|
|
12
|
+
.n("AirborneClient", "UpdateDimensionCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_UpdateDimensionCommand)
|
|
15
|
+
.de(de_UpdateDimensionCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UploadFileRequestFilterSensitiveLog, } from "../models/models_0";
|
|
2
|
+
import { de_UploadFileCommand, se_UploadFileCommand, } from "../protocols/Aws_restJson1";
|
|
3
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UploadFileCommand extends $Command.classBuilder()
|
|
7
|
+
.m(function (Command, cs, config, o) {
|
|
8
|
+
return [
|
|
9
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
10
|
+
];
|
|
11
|
+
})
|
|
12
|
+
.s("Airborne", "UploadFile", {})
|
|
13
|
+
.n("AirborneClient", "UploadFileCommand")
|
|
14
|
+
.f(UploadFileRequestFilterSensitiveLog, void 0)
|
|
15
|
+
.ser(se_UploadFileCommand)
|
|
16
|
+
.de(de_UploadFileCommand)
|
|
17
|
+
.build() {
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export * from "./CreateApplicationCommand";
|
|
2
|
+
export * from "./CreateDimensionCommand";
|
|
3
|
+
export * from "./CreateFileCommand";
|
|
4
|
+
export * from "./CreateOrganisationCommand";
|
|
5
|
+
export * from "./CreatePackageCommand";
|
|
6
|
+
export * from "./CreateReleaseCommand";
|
|
7
|
+
export * from "./DeleteDimensionCommand";
|
|
8
|
+
export * from "./GetReleaseCommand";
|
|
9
|
+
export * from "./GetUserCommand";
|
|
10
|
+
export * from "./ListDimensionsCommand";
|
|
11
|
+
export * from "./ListFilesCommand";
|
|
12
|
+
export * from "./ListOrganisationsCommand";
|
|
13
|
+
export * from "./ListPackagesCommand";
|
|
14
|
+
export * from "./ListReleasesCommand";
|
|
15
|
+
export * from "./PostLoginCommand";
|
|
16
|
+
export * from "./RequestOrganisationCommand";
|
|
17
|
+
export * from "./ServeReleaseCommand";
|
|
18
|
+
export * from "./ServeReleaseV2Command";
|
|
19
|
+
export * from "./UpdateDimensionCommand";
|
|
20
|
+
export * from "./UploadFileCommand";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException };
|
|
3
|
+
export class AirborneServiceException extends __ServiceException {
|
|
4
|
+
constructor(options) {
|
|
5
|
+
super(options);
|
|
6
|
+
Object.setPrototypeOf(this, AirborneServiceException.prototype);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { AirborneServiceException as __BaseException } from "./AirborneServiceException";
|
|
2
|
+
export class BadRequestError extends __BaseException {
|
|
3
|
+
name = "BadRequestError";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "BadRequestError",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, BadRequestError.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ForbiddenError extends __BaseException {
|
|
15
|
+
name = "ForbiddenError";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ForbiddenError",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ForbiddenError.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class InternalServerError extends __BaseException {
|
|
27
|
+
name = "InternalServerError";
|
|
28
|
+
$fault = "server";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "InternalServerError",
|
|
32
|
+
$fault: "server",
|
|
33
|
+
...opts
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class NotFoundError extends __BaseException {
|
|
39
|
+
name = "NotFoundError";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "NotFoundError",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, NotFoundError.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class Unauthorized extends __BaseException {
|
|
51
|
+
name = "Unauthorized";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "Unauthorized",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, Unauthorized.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export const DimensionType = {
|
|
63
|
+
COHORT: "cohort",
|
|
64
|
+
STANDARD: "standard",
|
|
65
|
+
};
|
|
66
|
+
export const UploadFileRequestFilterSensitiveLog = (obj) => ({
|
|
67
|
+
...obj,
|
|
68
|
+
});
|