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,27 @@
1
+ import packageInfo from "../package.json";
2
+ import { Sha256 } from "@aws-crypto/sha256-browser";
3
+ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
4
+ import { FetchHttpHandler as RequestHandler, streamCollector, } from "@smithy/fetch-http-handler";
5
+ import { calculateBodyLength } from "@smithy/util-body-length-browser";
6
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE, } from "@smithy/util-retry";
7
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
8
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
10
+ export const getRuntimeConfig = (config) => {
11
+ const defaultsMode = resolveDefaultsModeConfig(config);
12
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
13
+ const clientSharedValues = getSharedRuntimeConfig(config);
14
+ return {
15
+ ...clientSharedValues,
16
+ ...config,
17
+ runtime: "browser",
18
+ defaultsMode,
19
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
20
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ clientVersion: packageInfo.version }),
21
+ maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
22
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
23
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
24
+ sha256: config?.sha256 ?? Sha256,
25
+ streamCollector: config?.streamCollector ?? streamCollector,
26
+ };
27
+ };
@@ -0,0 +1,33 @@
1
+ import packageInfo from "../package.json";
2
+ import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider, } from "@aws-sdk/util-user-agent-node";
3
+ import { Hash } from "@smithy/hash-node";
4
+ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/middleware-retry";
5
+ import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
6
+ import { NodeHttpHandler as RequestHandler, streamCollector, } from "@smithy/node-http-handler";
7
+ import { calculateBodyLength } from "@smithy/util-body-length-node";
8
+ import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
12
+ import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
13
+ export const getRuntimeConfig = (config) => {
14
+ emitWarningIfUnsupportedVersion(process.version);
15
+ const defaultsMode = resolveDefaultsModeConfig(config);
16
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
17
+ const clientSharedValues = getSharedRuntimeConfig(config);
18
+ const profileConfig = { profile: config?.profile };
19
+ return {
20
+ ...clientSharedValues,
21
+ ...config,
22
+ runtime: "node",
23
+ defaultsMode,
24
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
25
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ clientVersion: packageInfo.version }),
26
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
27
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
28
+ retryMode: config?.retryMode ?? loadNodeConfig({ ...NODE_RETRY_MODE_CONFIG_OPTIONS, default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, }, config),
29
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
30
+ streamCollector: config?.streamCollector ?? streamCollector,
31
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
32
+ };
33
+ };
@@ -0,0 +1,11 @@
1
+ import { Sha256 } from "@aws-crypto/sha256-js";
2
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
+ export const getRuntimeConfig = (config) => {
4
+ const browserDefaults = getBrowserRuntimeConfig(config);
5
+ return {
6
+ ...browserDefaults,
7
+ ...config,
8
+ runtime: "react-native",
9
+ sha256: config?.sha256 ?? Sha256,
10
+ };
11
+ };
@@ -0,0 +1,29 @@
1
+ import { defaultAirborneHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
2
+ import { HttpBearerAuthSigner, NoAuthSigner, } from "@smithy/core";
3
+ import { NoOpLogger } from "@smithy/smithy-client";
4
+ import { parseUrl } from "@smithy/url-parser";
5
+ import { fromBase64, toBase64, } from "@smithy/util-base64";
6
+ import { fromUtf8, toUtf8, } from "@smithy/util-utf8";
7
+ export const getRuntimeConfig = (config) => {
8
+ return {
9
+ apiVersion: "",
10
+ base64Decoder: config?.base64Decoder ?? fromBase64,
11
+ base64Encoder: config?.base64Encoder ?? toBase64,
12
+ disableHostPrefix: config?.disableHostPrefix ?? false,
13
+ extensions: config?.extensions ?? [],
14
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultAirborneHttpAuthSchemeProvider,
15
+ httpAuthSchemes: config?.httpAuthSchemes ?? [{
16
+ schemeId: "smithy.api#httpBearerAuth",
17
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth"),
18
+ signer: new HttpBearerAuthSigner(),
19
+ }, {
20
+ schemeId: "smithy.api#noAuth",
21
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
22
+ signer: new NoAuthSigner(),
23
+ }],
24
+ logger: config?.logger ?? new NoOpLogger(),
25
+ urlParser: config?.urlParser ?? parseUrl,
26
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
27
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
28
+ };
29
+ };
@@ -0,0 +1,8 @@
1
+ import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig, } from "./auth/httpAuthExtensionConfiguration";
2
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, } from "@smithy/protocol-http";
3
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, } from "@smithy/smithy-client";
4
+ export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
5
+ const extensionConfiguration = Object.assign(getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
6
+ extensions.forEach(extension => extension.configure(extensionConfiguration));
7
+ return Object.assign(runtimeConfig, resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
8
+ };
@@ -0,0 +1,152 @@
1
+ import { AirborneClient } from "./AirborneClient";
2
+ import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
3
+ import { CreateDimensionCommandInput, CreateDimensionCommandOutput } from "./commands/CreateDimensionCommand";
4
+ import { CreateFileCommandInput, CreateFileCommandOutput } from "./commands/CreateFileCommand";
5
+ import { CreateOrganisationCommandInput, CreateOrganisationCommandOutput } from "./commands/CreateOrganisationCommand";
6
+ import { CreatePackageCommandInput, CreatePackageCommandOutput } from "./commands/CreatePackageCommand";
7
+ import { CreateReleaseCommandInput, CreateReleaseCommandOutput } from "./commands/CreateReleaseCommand";
8
+ import { DeleteDimensionCommandInput, DeleteDimensionCommandOutput } from "./commands/DeleteDimensionCommand";
9
+ import { GetReleaseCommandInput, GetReleaseCommandOutput } from "./commands/GetReleaseCommand";
10
+ import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
11
+ import { ListDimensionsCommandInput, ListDimensionsCommandOutput } from "./commands/ListDimensionsCommand";
12
+ import { ListFilesCommandInput, ListFilesCommandOutput } from "./commands/ListFilesCommand";
13
+ import { ListOrganisationsCommandInput, ListOrganisationsCommandOutput } from "./commands/ListOrganisationsCommand";
14
+ import { ListPackagesCommandInput, ListPackagesCommandOutput } from "./commands/ListPackagesCommand";
15
+ import { ListReleasesCommandInput, ListReleasesCommandOutput } from "./commands/ListReleasesCommand";
16
+ import { PostLoginCommandInput, PostLoginCommandOutput } from "./commands/PostLoginCommand";
17
+ import { RequestOrganisationCommandInput, RequestOrganisationCommandOutput } from "./commands/RequestOrganisationCommand";
18
+ import { ServeReleaseCommandInput, ServeReleaseCommandOutput } from "./commands/ServeReleaseCommand";
19
+ import { ServeReleaseV2CommandInput, ServeReleaseV2CommandOutput } from "./commands/ServeReleaseV2Command";
20
+ import { UpdateDimensionCommandInput, UpdateDimensionCommandOutput } from "./commands/UpdateDimensionCommand";
21
+ import { UploadFileCommandInput, UploadFileCommandOutput } from "./commands/UploadFileCommand";
22
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
23
+ export interface Airborne {
24
+ /**
25
+ * @see {@link CreateApplicationCommand}
26
+ */
27
+ createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
28
+ createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
29
+ createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
30
+ /**
31
+ * @see {@link CreateDimensionCommand}
32
+ */
33
+ createDimension(args: CreateDimensionCommandInput, options?: __HttpHandlerOptions): Promise<CreateDimensionCommandOutput>;
34
+ createDimension(args: CreateDimensionCommandInput, cb: (err: any, data?: CreateDimensionCommandOutput) => void): void;
35
+ createDimension(args: CreateDimensionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDimensionCommandOutput) => void): void;
36
+ /**
37
+ * @see {@link CreateFileCommand}
38
+ */
39
+ createFile(args: CreateFileCommandInput, options?: __HttpHandlerOptions): Promise<CreateFileCommandOutput>;
40
+ createFile(args: CreateFileCommandInput, cb: (err: any, data?: CreateFileCommandOutput) => void): void;
41
+ createFile(args: CreateFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFileCommandOutput) => void): void;
42
+ /**
43
+ * @see {@link CreateOrganisationCommand}
44
+ */
45
+ createOrganisation(args: CreateOrganisationCommandInput, options?: __HttpHandlerOptions): Promise<CreateOrganisationCommandOutput>;
46
+ createOrganisation(args: CreateOrganisationCommandInput, cb: (err: any, data?: CreateOrganisationCommandOutput) => void): void;
47
+ createOrganisation(args: CreateOrganisationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOrganisationCommandOutput) => void): void;
48
+ /**
49
+ * @see {@link CreatePackageCommand}
50
+ */
51
+ createPackage(args: CreatePackageCommandInput, options?: __HttpHandlerOptions): Promise<CreatePackageCommandOutput>;
52
+ createPackage(args: CreatePackageCommandInput, cb: (err: any, data?: CreatePackageCommandOutput) => void): void;
53
+ createPackage(args: CreatePackageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePackageCommandOutput) => void): void;
54
+ /**
55
+ * @see {@link CreateReleaseCommand}
56
+ */
57
+ createRelease(args: CreateReleaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateReleaseCommandOutput>;
58
+ createRelease(args: CreateReleaseCommandInput, cb: (err: any, data?: CreateReleaseCommandOutput) => void): void;
59
+ createRelease(args: CreateReleaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateReleaseCommandOutput) => void): void;
60
+ /**
61
+ * @see {@link DeleteDimensionCommand}
62
+ */
63
+ deleteDimension(args: DeleteDimensionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDimensionCommandOutput>;
64
+ deleteDimension(args: DeleteDimensionCommandInput, cb: (err: any, data?: DeleteDimensionCommandOutput) => void): void;
65
+ deleteDimension(args: DeleteDimensionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDimensionCommandOutput) => void): void;
66
+ /**
67
+ * @see {@link GetReleaseCommand}
68
+ */
69
+ getRelease(args: GetReleaseCommandInput, options?: __HttpHandlerOptions): Promise<GetReleaseCommandOutput>;
70
+ getRelease(args: GetReleaseCommandInput, cb: (err: any, data?: GetReleaseCommandOutput) => void): void;
71
+ getRelease(args: GetReleaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReleaseCommandOutput) => void): void;
72
+ /**
73
+ * @see {@link GetUserCommand}
74
+ */
75
+ getUser(): Promise<GetUserCommandOutput>;
76
+ getUser(args: GetUserCommandInput, options?: __HttpHandlerOptions): Promise<GetUserCommandOutput>;
77
+ getUser(args: GetUserCommandInput, cb: (err: any, data?: GetUserCommandOutput) => void): void;
78
+ getUser(args: GetUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserCommandOutput) => void): void;
79
+ /**
80
+ * @see {@link ListDimensionsCommand}
81
+ */
82
+ listDimensions(args: ListDimensionsCommandInput, options?: __HttpHandlerOptions): Promise<ListDimensionsCommandOutput>;
83
+ listDimensions(args: ListDimensionsCommandInput, cb: (err: any, data?: ListDimensionsCommandOutput) => void): void;
84
+ listDimensions(args: ListDimensionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDimensionsCommandOutput) => void): void;
85
+ /**
86
+ * @see {@link ListFilesCommand}
87
+ */
88
+ listFiles(args: ListFilesCommandInput, options?: __HttpHandlerOptions): Promise<ListFilesCommandOutput>;
89
+ listFiles(args: ListFilesCommandInput, cb: (err: any, data?: ListFilesCommandOutput) => void): void;
90
+ listFiles(args: ListFilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFilesCommandOutput) => void): void;
91
+ /**
92
+ * @see {@link ListOrganisationsCommand}
93
+ */
94
+ listOrganisations(): Promise<ListOrganisationsCommandOutput>;
95
+ listOrganisations(args: ListOrganisationsCommandInput, options?: __HttpHandlerOptions): Promise<ListOrganisationsCommandOutput>;
96
+ listOrganisations(args: ListOrganisationsCommandInput, cb: (err: any, data?: ListOrganisationsCommandOutput) => void): void;
97
+ listOrganisations(args: ListOrganisationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOrganisationsCommandOutput) => void): void;
98
+ /**
99
+ * @see {@link ListPackagesCommand}
100
+ */
101
+ listPackages(args: ListPackagesCommandInput, options?: __HttpHandlerOptions): Promise<ListPackagesCommandOutput>;
102
+ listPackages(args: ListPackagesCommandInput, cb: (err: any, data?: ListPackagesCommandOutput) => void): void;
103
+ listPackages(args: ListPackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPackagesCommandOutput) => void): void;
104
+ /**
105
+ * @see {@link ListReleasesCommand}
106
+ */
107
+ listReleases(args: ListReleasesCommandInput, options?: __HttpHandlerOptions): Promise<ListReleasesCommandOutput>;
108
+ listReleases(args: ListReleasesCommandInput, cb: (err: any, data?: ListReleasesCommandOutput) => void): void;
109
+ listReleases(args: ListReleasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReleasesCommandOutput) => void): void;
110
+ /**
111
+ * @see {@link PostLoginCommand}
112
+ */
113
+ postLogin(args: PostLoginCommandInput, options?: __HttpHandlerOptions): Promise<PostLoginCommandOutput>;
114
+ postLogin(args: PostLoginCommandInput, cb: (err: any, data?: PostLoginCommandOutput) => void): void;
115
+ postLogin(args: PostLoginCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostLoginCommandOutput) => void): void;
116
+ /**
117
+ * @see {@link RequestOrganisationCommand}
118
+ */
119
+ requestOrganisation(args: RequestOrganisationCommandInput, options?: __HttpHandlerOptions): Promise<RequestOrganisationCommandOutput>;
120
+ requestOrganisation(args: RequestOrganisationCommandInput, cb: (err: any, data?: RequestOrganisationCommandOutput) => void): void;
121
+ requestOrganisation(args: RequestOrganisationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RequestOrganisationCommandOutput) => void): void;
122
+ /**
123
+ * @see {@link ServeReleaseCommand}
124
+ */
125
+ serveRelease(args: ServeReleaseCommandInput, options?: __HttpHandlerOptions): Promise<ServeReleaseCommandOutput>;
126
+ serveRelease(args: ServeReleaseCommandInput, cb: (err: any, data?: ServeReleaseCommandOutput) => void): void;
127
+ serveRelease(args: ServeReleaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ServeReleaseCommandOutput) => void): void;
128
+ /**
129
+ * @see {@link ServeReleaseV2Command}
130
+ */
131
+ serveReleaseV2(args: ServeReleaseV2CommandInput, options?: __HttpHandlerOptions): Promise<ServeReleaseV2CommandOutput>;
132
+ serveReleaseV2(args: ServeReleaseV2CommandInput, cb: (err: any, data?: ServeReleaseV2CommandOutput) => void): void;
133
+ serveReleaseV2(args: ServeReleaseV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ServeReleaseV2CommandOutput) => void): void;
134
+ /**
135
+ * @see {@link UpdateDimensionCommand}
136
+ */
137
+ updateDimension(args: UpdateDimensionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDimensionCommandOutput>;
138
+ updateDimension(args: UpdateDimensionCommandInput, cb: (err: any, data?: UpdateDimensionCommandOutput) => void): void;
139
+ updateDimension(args: UpdateDimensionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDimensionCommandOutput) => void): void;
140
+ /**
141
+ * @see {@link UploadFileCommand}
142
+ */
143
+ uploadFile(args: UploadFileCommandInput, options?: __HttpHandlerOptions): Promise<UploadFileCommandOutput>;
144
+ uploadFile(args: UploadFileCommandInput, cb: (err: any, data?: UploadFileCommandOutput) => void): void;
145
+ uploadFile(args: UploadFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UploadFileCommandOutput) => void): void;
146
+ }
147
+ /**
148
+ * Service for managing OTA updates and configurations
149
+ * @public
150
+ */
151
+ export declare class Airborne extends AirborneClient implements Airborne {
152
+ }
@@ -0,0 +1,182 @@
1
+ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
2
+ import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
3
+ import { CreateDimensionCommandInput, CreateDimensionCommandOutput } from "./commands/CreateDimensionCommand";
4
+ import { CreateFileCommandInput, CreateFileCommandOutput } from "./commands/CreateFileCommand";
5
+ import { CreateOrganisationCommandInput, CreateOrganisationCommandOutput } from "./commands/CreateOrganisationCommand";
6
+ import { CreatePackageCommandInput, CreatePackageCommandOutput } from "./commands/CreatePackageCommand";
7
+ import { CreateReleaseCommandInput, CreateReleaseCommandOutput } from "./commands/CreateReleaseCommand";
8
+ import { DeleteDimensionCommandInput, DeleteDimensionCommandOutput } from "./commands/DeleteDimensionCommand";
9
+ import { GetReleaseCommandInput, GetReleaseCommandOutput } from "./commands/GetReleaseCommand";
10
+ import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
11
+ import { ListDimensionsCommandInput, ListDimensionsCommandOutput } from "./commands/ListDimensionsCommand";
12
+ import { ListFilesCommandInput, ListFilesCommandOutput } from "./commands/ListFilesCommand";
13
+ import { ListOrganisationsCommandInput, ListOrganisationsCommandOutput } from "./commands/ListOrganisationsCommand";
14
+ import { ListPackagesCommandInput, ListPackagesCommandOutput } from "./commands/ListPackagesCommand";
15
+ import { ListReleasesCommandInput, ListReleasesCommandOutput } from "./commands/ListReleasesCommand";
16
+ import { PostLoginCommandInput, PostLoginCommandOutput } from "./commands/PostLoginCommand";
17
+ import { RequestOrganisationCommandInput, RequestOrganisationCommandOutput } from "./commands/RequestOrganisationCommand";
18
+ import { ServeReleaseCommandInput, ServeReleaseCommandOutput } from "./commands/ServeReleaseCommand";
19
+ import { ServeReleaseV2CommandInput, ServeReleaseV2CommandOutput } from "./commands/ServeReleaseV2Command";
20
+ import { UpdateDimensionCommandInput, UpdateDimensionCommandOutput } from "./commands/UpdateDimensionCommand";
21
+ import { UploadFileCommandInput, UploadFileCommandOutput } from "./commands/UploadFileCommand";
22
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
23
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
24
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
25
+ import { CustomEndpointsInputConfig, CustomEndpointsResolvedConfig } from "@smithy/config-resolver";
26
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
27
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
28
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
29
+ import { Provider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
30
+ export { __Client };
31
+ /**
32
+ * @public
33
+ */
34
+ export type ServiceInputTypes = CreateApplicationCommandInput | CreateDimensionCommandInput | CreateFileCommandInput | CreateOrganisationCommandInput | CreatePackageCommandInput | CreateReleaseCommandInput | DeleteDimensionCommandInput | GetReleaseCommandInput | GetUserCommandInput | ListDimensionsCommandInput | ListFilesCommandInput | ListOrganisationsCommandInput | ListPackagesCommandInput | ListReleasesCommandInput | PostLoginCommandInput | RequestOrganisationCommandInput | ServeReleaseCommandInput | ServeReleaseV2CommandInput | UpdateDimensionCommandInput | UploadFileCommandInput;
35
+ /**
36
+ * @public
37
+ */
38
+ export type ServiceOutputTypes = CreateApplicationCommandOutput | CreateDimensionCommandOutput | CreateFileCommandOutput | CreateOrganisationCommandOutput | CreatePackageCommandOutput | CreateReleaseCommandOutput | DeleteDimensionCommandOutput | GetReleaseCommandOutput | GetUserCommandOutput | ListDimensionsCommandOutput | ListFilesCommandOutput | ListOrganisationsCommandOutput | ListPackagesCommandOutput | ListReleasesCommandOutput | PostLoginCommandOutput | RequestOrganisationCommandOutput | ServeReleaseCommandOutput | ServeReleaseV2CommandOutput | UpdateDimensionCommandOutput | UploadFileCommandOutput;
39
+ /**
40
+ * @public
41
+ */
42
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
43
+ /**
44
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
45
+ */
46
+ requestHandler?: __HttpHandlerUserInput;
47
+ /**
48
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
49
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
50
+ * @internal
51
+ */
52
+ sha256?: __ChecksumConstructor | __HashConstructor;
53
+ /**
54
+ * The function that will be used to convert strings into HTTP endpoints.
55
+ * @internal
56
+ */
57
+ urlParser?: __UrlParser;
58
+ /**
59
+ * A function that can calculate the length of a request body.
60
+ * @internal
61
+ */
62
+ bodyLengthChecker?: __BodyLengthCalculator;
63
+ /**
64
+ * A function that converts a stream into an array of bytes.
65
+ * @internal
66
+ */
67
+ streamCollector?: __StreamCollector;
68
+ /**
69
+ * The function that will be used to convert a base64-encoded string to a byte array.
70
+ * @internal
71
+ */
72
+ base64Decoder?: __Decoder;
73
+ /**
74
+ * The function that will be used to convert binary data to a base64-encoded string.
75
+ * @internal
76
+ */
77
+ base64Encoder?: __Encoder;
78
+ /**
79
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
80
+ * @internal
81
+ */
82
+ utf8Decoder?: __Decoder;
83
+ /**
84
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
85
+ * @internal
86
+ */
87
+ utf8Encoder?: __Encoder;
88
+ /**
89
+ * The runtime environment.
90
+ * @internal
91
+ */
92
+ runtime?: string;
93
+ /**
94
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
95
+ * trait of an operation.
96
+ */
97
+ disableHostPrefix?: boolean;
98
+ /**
99
+ * Setting a client profile is similar to setting a value for the
100
+ * AWS_PROFILE environment variable. Setting a profile on a client
101
+ * in code only affects the single client instance, unlike AWS_PROFILE.
102
+ *
103
+ * When set, and only for environments where an AWS configuration
104
+ * file exists, fields configurable by this file will be retrieved
105
+ * from the specified profile within that file.
106
+ * Conflicting code configuration and environment variables will
107
+ * still have higher priority.
108
+ *
109
+ * For client credential resolution that involves checking the AWS
110
+ * configuration file, the client's profile (this value) will be
111
+ * used unless a different profile is set in the credential
112
+ * provider options.
113
+ *
114
+ */
115
+ profile?: string;
116
+ /**
117
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
118
+ * @internal
119
+ */
120
+ defaultUserAgentProvider?: Provider<__UserAgent>;
121
+ /**
122
+ * Value for how many times a request will be made at most in case of retry.
123
+ */
124
+ maxAttempts?: number | __Provider<number>;
125
+ /**
126
+ * Specifies which retry algorithm to use.
127
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
128
+ *
129
+ */
130
+ retryMode?: string | __Provider<string>;
131
+ /**
132
+ * Optional logger for logging debug/info/warn/error.
133
+ */
134
+ logger?: __Logger;
135
+ /**
136
+ * Optional extensions
137
+ */
138
+ extensions?: RuntimeExtension[];
139
+ /**
140
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
141
+ */
142
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
143
+ }
144
+ /**
145
+ * @public
146
+ */
147
+ export type AirborneClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & CustomEndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & HttpAuthSchemeInputConfig;
148
+ /**
149
+ * @public
150
+ *
151
+ * The configuration interface of AirborneClient class constructor that set the region, credentials and other options.
152
+ */
153
+ export interface AirborneClientConfig extends AirborneClientConfigType {
154
+ }
155
+ /**
156
+ * @public
157
+ */
158
+ export type AirborneClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & CustomEndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & HttpAuthSchemeResolvedConfig;
159
+ /**
160
+ * @public
161
+ *
162
+ * The resolved configuration interface of AirborneClient class. This is resolved and normalized from the {@link AirborneClientConfig | constructor configuration interface}.
163
+ */
164
+ export interface AirborneClientResolvedConfig extends AirborneClientResolvedConfigType {
165
+ }
166
+ /**
167
+ * Service for managing OTA updates and configurations
168
+ * @public
169
+ */
170
+ export declare class AirborneClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AirborneClientResolvedConfig> {
171
+ /**
172
+ * The resolved configuration of AirborneClient class. This is resolved and normalized from the {@link AirborneClientConfig | constructor configuration interface}.
173
+ */
174
+ readonly config: AirborneClientResolvedConfig;
175
+ constructor(...[configuration]: __CheckOptionalClientConfig<AirborneClientConfig>);
176
+ /**
177
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
178
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
179
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
180
+ */
181
+ destroy(): void;
182
+ }
@@ -0,0 +1,29 @@
1
+ import { AirborneHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
2
+ import { HttpAuthScheme, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: AirborneHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): AirborneHttpAuthSchemeProvider;
11
+ setToken(token: TokenIdentity | TokenIdentityProvider): void;
12
+ token(): TokenIdentity | TokenIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: AirborneHttpAuthSchemeProvider;
20
+ token: TokenIdentity | TokenIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,67 @@
1
+ import { AirborneClientResolvedConfig } from "../AirborneClient";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface AirborneHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
7
+ }
8
+ /**
9
+ * @internal
10
+ */
11
+ export interface AirborneHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<AirborneClientResolvedConfig, HandlerExecutionContext, AirborneHttpAuthSchemeParameters, object> {
12
+ }
13
+ /**
14
+ * @internal
15
+ */
16
+ export declare const defaultAirborneHttpAuthSchemeParametersProvider: (config: AirborneClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<AirborneHttpAuthSchemeParameters>;
17
+ /**
18
+ * @internal
19
+ */
20
+ export interface AirborneHttpAuthSchemeProvider extends HttpAuthSchemeProvider<AirborneHttpAuthSchemeParameters> {
21
+ }
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const defaultAirborneHttpAuthSchemeProvider: AirborneHttpAuthSchemeProvider;
26
+ /**
27
+ * @internal
28
+ */
29
+ export interface HttpAuthSchemeInputConfig {
30
+ /**
31
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
32
+ * @internal
33
+ */
34
+ httpAuthSchemes?: HttpAuthScheme[];
35
+ /**
36
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
37
+ * @internal
38
+ */
39
+ httpAuthSchemeProvider?: AirborneHttpAuthSchemeProvider;
40
+ /**
41
+ * The token used to authenticate requests.
42
+ */
43
+ token?: TokenIdentity | TokenIdentityProvider;
44
+ }
45
+ /**
46
+ * @internal
47
+ */
48
+ export interface HttpAuthSchemeResolvedConfig {
49
+ /**
50
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
51
+ * @internal
52
+ */
53
+ readonly httpAuthSchemes: HttpAuthScheme[];
54
+ /**
55
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
56
+ * @internal
57
+ */
58
+ readonly httpAuthSchemeProvider: AirborneHttpAuthSchemeProvider;
59
+ /**
60
+ * The token used to authenticate requests.
61
+ */
62
+ readonly token?: TokenIdentityProvider;
63
+ }
64
+ /**
65
+ * @internal
66
+ */
67
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,91 @@
1
+ import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
2
+ import { Application, CreateApplicationRequest } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateApplicationCommand}.
14
+ */
15
+ export interface CreateApplicationCommandInput extends CreateApplicationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateApplicationCommand}.
21
+ */
22
+ export interface CreateApplicationCommandOutput extends Application, __MetadataBearer {
23
+ }
24
+ declare const CreateApplicationCommand_base: {
25
+ new (input: CreateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Create application request operation
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AirborneClient, CreateApplicationCommand } from "airborne-server-sdk"; // ES Modules import
35
+ * // const { AirborneClient, CreateApplicationCommand } = require("airborne-server-sdk"); // CommonJS import
36
+ * const client = new AirborneClient(config);
37
+ * const input = { // CreateApplicationRequest
38
+ * application: "STRING_VALUE", // required
39
+ * organisation: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new CreateApplicationCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // Application
44
+ * // application: "STRING_VALUE", // required
45
+ * // organisation: "STRING_VALUE", // required
46
+ * // access: [ // StringList // required
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param CreateApplicationCommandInput - {@link CreateApplicationCommandInput}
54
+ * @returns {@link CreateApplicationCommandOutput}
55
+ * @see {@link CreateApplicationCommandInput} for command's `input` shape.
56
+ * @see {@link CreateApplicationCommandOutput} for command's `response` shape.
57
+ * @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
58
+ *
59
+ * @throws {@link Unauthorized} (client fault)
60
+ * Unauthorized error
61
+ *
62
+ * @throws {@link BadRequestError} (client fault)
63
+ * Bad request error
64
+ *
65
+ * @throws {@link NotFoundError} (client fault)
66
+ * Not found error
67
+ *
68
+ * @throws {@link InternalServerError} (server fault)
69
+ * Internal server error
70
+ *
71
+ * @throws {@link ForbiddenError} (client fault)
72
+ *
73
+ * @throws {@link AirborneServiceException}
74
+ * <p>Base exception class for all service exceptions from Airborne service.</p>
75
+ *
76
+ *
77
+ * @public
78
+ */
79
+ export declare class CreateApplicationCommand extends CreateApplicationCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: CreateApplicationRequest;
84
+ output: Application;
85
+ };
86
+ sdk: {
87
+ input: CreateApplicationCommandInput;
88
+ output: CreateApplicationCommandOutput;
89
+ };
90
+ };
91
+ }