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.
Files changed (109) hide show
  1. package/dist-cjs/Airborne.js +51 -0
  2. package/dist-cjs/AirborneClient.js +47 -0
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +49 -0
  5. package/dist-cjs/commands/CreateApplicationCommand.js +21 -0
  6. package/dist-cjs/commands/CreateDimensionCommand.js +21 -0
  7. package/dist-cjs/commands/CreateFileCommand.js +21 -0
  8. package/dist-cjs/commands/CreateOrganisationCommand.js +21 -0
  9. package/dist-cjs/commands/CreatePackageCommand.js +21 -0
  10. package/dist-cjs/commands/CreateReleaseCommand.js +21 -0
  11. package/dist-cjs/commands/DeleteDimensionCommand.js +21 -0
  12. package/dist-cjs/commands/GetReleaseCommand.js +21 -0
  13. package/dist-cjs/commands/GetUserCommand.js +21 -0
  14. package/dist-cjs/commands/ListDimensionsCommand.js +21 -0
  15. package/dist-cjs/commands/ListFilesCommand.js +21 -0
  16. package/dist-cjs/commands/ListOrganisationsCommand.js +21 -0
  17. package/dist-cjs/commands/ListPackagesCommand.js +21 -0
  18. package/dist-cjs/commands/ListReleasesCommand.js +21 -0
  19. package/dist-cjs/commands/PostLoginCommand.js +21 -0
  20. package/dist-cjs/commands/RequestOrganisationCommand.js +21 -0
  21. package/dist-cjs/commands/ServeReleaseCommand.js +21 -0
  22. package/dist-cjs/commands/ServeReleaseV2Command.js +21 -0
  23. package/dist-cjs/commands/UpdateDimensionCommand.js +21 -0
  24. package/dist-cjs/commands/UploadFileCommand.js +22 -0
  25. package/dist-cjs/commands/index.js +23 -0
  26. package/dist-cjs/extensionConfiguration.js +2 -0
  27. package/dist-cjs/index.js +10 -0
  28. package/dist-cjs/models/AirborneServiceException.js +12 -0
  29. package/dist-cjs/models/index.js +4 -0
  30. package/dist-cjs/models/models_0.js +77 -0
  31. package/dist-cjs/protocols/Aws_restJson1.js +953 -0
  32. package/dist-cjs/runtimeConfig.browser.js +32 -0
  33. package/dist-cjs/runtimeConfig.js +38 -0
  34. package/dist-cjs/runtimeConfig.native.js +15 -0
  35. package/dist-cjs/runtimeConfig.shared.js +33 -0
  36. package/dist-cjs/runtimeExtensions.js +12 -0
  37. package/dist-es/Airborne.js +47 -0
  38. package/dist-es/AirborneClient.js +43 -0
  39. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  40. package/dist-es/auth/httpAuthSchemeProvider.js +43 -0
  41. package/dist-es/commands/CreateApplicationCommand.js +17 -0
  42. package/dist-es/commands/CreateDimensionCommand.js +17 -0
  43. package/dist-es/commands/CreateFileCommand.js +17 -0
  44. package/dist-es/commands/CreateOrganisationCommand.js +17 -0
  45. package/dist-es/commands/CreatePackageCommand.js +17 -0
  46. package/dist-es/commands/CreateReleaseCommand.js +17 -0
  47. package/dist-es/commands/DeleteDimensionCommand.js +17 -0
  48. package/dist-es/commands/GetReleaseCommand.js +17 -0
  49. package/dist-es/commands/GetUserCommand.js +17 -0
  50. package/dist-es/commands/ListDimensionsCommand.js +17 -0
  51. package/dist-es/commands/ListFilesCommand.js +17 -0
  52. package/dist-es/commands/ListOrganisationsCommand.js +17 -0
  53. package/dist-es/commands/ListPackagesCommand.js +17 -0
  54. package/dist-es/commands/ListReleasesCommand.js +17 -0
  55. package/dist-es/commands/PostLoginCommand.js +17 -0
  56. package/dist-es/commands/RequestOrganisationCommand.js +17 -0
  57. package/dist-es/commands/ServeReleaseCommand.js +17 -0
  58. package/dist-es/commands/ServeReleaseV2Command.js +17 -0
  59. package/dist-es/commands/UpdateDimensionCommand.js +17 -0
  60. package/dist-es/commands/UploadFileCommand.js +18 -0
  61. package/dist-es/commands/index.js +20 -0
  62. package/dist-es/extensionConfiguration.js +1 -0
  63. package/dist-es/index.js +5 -0
  64. package/dist-es/models/AirborneServiceException.js +8 -0
  65. package/dist-es/models/index.js +1 -0
  66. package/dist-es/models/models_0.js +68 -0
  67. package/dist-es/protocols/Aws_restJson1.js +910 -0
  68. package/dist-es/runtimeConfig.browser.js +27 -0
  69. package/dist-es/runtimeConfig.js +33 -0
  70. package/dist-es/runtimeConfig.native.js +11 -0
  71. package/dist-es/runtimeConfig.shared.js +29 -0
  72. package/dist-es/runtimeExtensions.js +8 -0
  73. package/dist-types/Airborne.d.ts +152 -0
  74. package/dist-types/AirborneClient.d.ts +182 -0
  75. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  76. package/dist-types/auth/httpAuthSchemeProvider.d.ts +67 -0
  77. package/dist-types/commands/CreateApplicationCommand.d.ts +91 -0
  78. package/dist-types/commands/CreateDimensionCommand.d.ts +95 -0
  79. package/dist-types/commands/CreateFileCommand.d.ts +100 -0
  80. package/dist-types/commands/CreateOrganisationCommand.d.ts +98 -0
  81. package/dist-types/commands/CreatePackageCommand.d.ts +97 -0
  82. package/dist-types/commands/CreateReleaseCommand.d.ts +152 -0
  83. package/dist-types/commands/DeleteDimensionCommand.d.ts +86 -0
  84. package/dist-types/commands/GetReleaseCommand.d.ts +139 -0
  85. package/dist-types/commands/GetUserCommand.d.ts +108 -0
  86. package/dist-types/commands/ListDimensionsCommand.d.ts +100 -0
  87. package/dist-types/commands/ListFilesCommand.d.ts +108 -0
  88. package/dist-types/commands/ListOrganisationsCommand.d.ts +100 -0
  89. package/dist-types/commands/ListPackagesCommand.d.ts +102 -0
  90. package/dist-types/commands/ListReleasesCommand.d.ts +143 -0
  91. package/dist-types/commands/PostLoginCommand.d.ts +111 -0
  92. package/dist-types/commands/RequestOrganisationCommand.d.ts +92 -0
  93. package/dist-types/commands/ServeReleaseCommand.d.ts +103 -0
  94. package/dist-types/commands/ServeReleaseV2Command.d.ts +103 -0
  95. package/dist-types/commands/UpdateDimensionCommand.d.ts +95 -0
  96. package/dist-types/commands/UploadFileCommand.d.ts +101 -0
  97. package/dist-types/commands/index.d.ts +20 -0
  98. package/dist-types/extensionConfiguration.d.ts +8 -0
  99. package/dist-types/index.d.ts +12 -0
  100. package/dist-types/models/AirborneServiceException.d.ts +14 -0
  101. package/dist-types/models/index.d.ts +1 -0
  102. package/dist-types/models/models_0.d.ts +961 -0
  103. package/dist-types/protocols/Aws_restJson1.d.ts +182 -0
  104. package/dist-types/runtimeConfig.browser.d.ts +44 -0
  105. package/dist-types/runtimeConfig.d.ts +44 -0
  106. package/dist-types/runtimeConfig.native.d.ts +43 -0
  107. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  108. package/dist-types/runtimeExtensions.d.ts +17 -0
  109. 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 {};
@@ -0,0 +1,5 @@
1
+ export * from "./AirborneClient";
2
+ export * from "./Airborne";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export { AirborneServiceException } from "./models/AirborneServiceException";
@@ -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
+ });