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,95 @@
1
+ import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
2
+ import { CreateDimensionRequest, CreateDimensionResponse } 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 CreateDimensionCommand}.
14
+ */
15
+ export interface CreateDimensionCommandInput extends CreateDimensionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateDimensionCommand}.
21
+ */
22
+ export interface CreateDimensionCommandOutput extends CreateDimensionResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateDimensionCommand_base: {
25
+ new (input: CreateDimensionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDimensionCommandInput, CreateDimensionCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateDimensionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDimensionCommandInput, CreateDimensionCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Create dimension 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, CreateDimensionCommand } from "airborne-server-sdk"; // ES Modules import
35
+ * // const { AirborneClient, CreateDimensionCommand } = require("airborne-server-sdk"); // CommonJS import
36
+ * const client = new AirborneClient(config);
37
+ * const input = { // CreateDimensionRequest
38
+ * dimension: "STRING_VALUE", // required
39
+ * description: "STRING_VALUE", // required
40
+ * dimension_type: "standard" || "cohort", // required
41
+ * depends_on: "STRING_VALUE",
42
+ * organisation: "STRING_VALUE", // required
43
+ * application: "STRING_VALUE", // required
44
+ * };
45
+ * const command = new CreateDimensionCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // CreateDimensionResponse
48
+ * // dimension: "STRING_VALUE", // required
49
+ * // description: "DOCUMENT_VALUE", // required
50
+ * // position: Number("int"), // required
51
+ * // schema: "DOCUMENT_VALUE",
52
+ * // change_reason: "STRING_VALUE", // required
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param CreateDimensionCommandInput - {@link CreateDimensionCommandInput}
58
+ * @returns {@link CreateDimensionCommandOutput}
59
+ * @see {@link CreateDimensionCommandInput} for command's `input` shape.
60
+ * @see {@link CreateDimensionCommandOutput} for command's `response` shape.
61
+ * @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
62
+ *
63
+ * @throws {@link BadRequestError} (client fault)
64
+ * Bad request error
65
+ *
66
+ * @throws {@link Unauthorized} (client fault)
67
+ * Unauthorized error
68
+ *
69
+ * @throws {@link NotFoundError} (client fault)
70
+ * Not found error
71
+ *
72
+ * @throws {@link InternalServerError} (server fault)
73
+ * Internal server error
74
+ *
75
+ * @throws {@link ForbiddenError} (client fault)
76
+ *
77
+ * @throws {@link AirborneServiceException}
78
+ * <p>Base exception class for all service exceptions from Airborne service.</p>
79
+ *
80
+ *
81
+ * @public
82
+ */
83
+ export declare class CreateDimensionCommand extends CreateDimensionCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: CreateDimensionRequest;
88
+ output: CreateDimensionResponse;
89
+ };
90
+ sdk: {
91
+ input: CreateDimensionCommandInput;
92
+ output: CreateDimensionCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -0,0 +1,100 @@
1
+ import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
2
+ import { CreateFileRequest, CreateFileResponse } 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 CreateFileCommand}.
14
+ */
15
+ export interface CreateFileCommandInput extends CreateFileRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateFileCommand}.
21
+ */
22
+ export interface CreateFileCommandOutput extends CreateFileResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateFileCommand_base: {
25
+ new (input: CreateFileCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFileCommandInput, CreateFileCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateFileCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFileCommandInput, CreateFileCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Create file 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, CreateFileCommand } from "airborne-server-sdk"; // ES Modules import
35
+ * // const { AirborneClient, CreateFileCommand } = require("airborne-server-sdk"); // CommonJS import
36
+ * const client = new AirborneClient(config);
37
+ * const input = { // CreateFileRequest
38
+ * file_path: "STRING_VALUE", // required
39
+ * url: "STRING_VALUE", // required
40
+ * tag: "STRING_VALUE",
41
+ * metadata: "DOCUMENT_VALUE",
42
+ * organisation: "STRING_VALUE", // required
43
+ * application: "STRING_VALUE", // required
44
+ * };
45
+ * const command = new CreateFileCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // CreateFileResponse
48
+ * // id: "STRING_VALUE", // required
49
+ * // file_path: "STRING_VALUE", // required
50
+ * // url: "STRING_VALUE", // required
51
+ * // version: Number("int"), // required
52
+ * // tag: "STRING_VALUE",
53
+ * // size: Number("int"), // required
54
+ * // checksum: "STRING_VALUE", // required
55
+ * // metadata: "DOCUMENT_VALUE", // required
56
+ * // status: "STRING_VALUE", // required
57
+ * // created_at: "STRING_VALUE", // required
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param CreateFileCommandInput - {@link CreateFileCommandInput}
63
+ * @returns {@link CreateFileCommandOutput}
64
+ * @see {@link CreateFileCommandInput} for command's `input` shape.
65
+ * @see {@link CreateFileCommandOutput} for command's `response` shape.
66
+ * @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
67
+ *
68
+ * @throws {@link Unauthorized} (client fault)
69
+ * Unauthorized error
70
+ *
71
+ * @throws {@link BadRequestError} (client fault)
72
+ * Bad request error
73
+ *
74
+ * @throws {@link NotFoundError} (client fault)
75
+ * Not found error
76
+ *
77
+ * @throws {@link InternalServerError} (server fault)
78
+ * Internal server error
79
+ *
80
+ * @throws {@link ForbiddenError} (client fault)
81
+ *
82
+ * @throws {@link AirborneServiceException}
83
+ * <p>Base exception class for all service exceptions from Airborne service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class CreateFileCommand extends CreateFileCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: CreateFileRequest;
93
+ output: CreateFileResponse;
94
+ };
95
+ sdk: {
96
+ input: CreateFileCommandInput;
97
+ output: CreateFileCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,98 @@
1
+ import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
2
+ import { CreateOrganisationRequest, Organisation } 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 CreateOrganisationCommand}.
14
+ */
15
+ export interface CreateOrganisationCommandInput extends CreateOrganisationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateOrganisationCommand}.
21
+ */
22
+ export interface CreateOrganisationCommandOutput extends Organisation, __MetadataBearer {
23
+ }
24
+ declare const CreateOrganisationCommand_base: {
25
+ new (input: CreateOrganisationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOrganisationCommandInput, CreateOrganisationCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateOrganisationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOrganisationCommandInput, CreateOrganisationCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Create organisation 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, CreateOrganisationCommand } from "airborne-server-sdk"; // ES Modules import
35
+ * // const { AirborneClient, CreateOrganisationCommand } = require("airborne-server-sdk"); // CommonJS import
36
+ * const client = new AirborneClient(config);
37
+ * const input = { // CreateOrganisationRequest
38
+ * name: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new CreateOrganisationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // Organisation
43
+ * // name: "STRING_VALUE", // required
44
+ * // applications: [ // Applications // required
45
+ * // { // Application
46
+ * // application: "STRING_VALUE", // required
47
+ * // organisation: "STRING_VALUE", // required
48
+ * // access: [ // StringList // required
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // },
52
+ * // ],
53
+ * // access: [ // required
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param CreateOrganisationCommandInput - {@link CreateOrganisationCommandInput}
61
+ * @returns {@link CreateOrganisationCommandOutput}
62
+ * @see {@link CreateOrganisationCommandInput} for command's `input` shape.
63
+ * @see {@link CreateOrganisationCommandOutput} for command's `response` shape.
64
+ * @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
65
+ *
66
+ * @throws {@link Unauthorized} (client fault)
67
+ * Unauthorized error
68
+ *
69
+ * @throws {@link BadRequestError} (client fault)
70
+ * Bad request error
71
+ *
72
+ * @throws {@link NotFoundError} (client fault)
73
+ * Not found error
74
+ *
75
+ * @throws {@link InternalServerError} (server fault)
76
+ * Internal server error
77
+ *
78
+ * @throws {@link ForbiddenError} (client fault)
79
+ *
80
+ * @throws {@link AirborneServiceException}
81
+ * <p>Base exception class for all service exceptions from Airborne service.</p>
82
+ *
83
+ *
84
+ * @public
85
+ */
86
+ export declare class CreateOrganisationCommand extends CreateOrganisationCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: CreateOrganisationRequest;
91
+ output: Organisation;
92
+ };
93
+ sdk: {
94
+ input: CreateOrganisationCommandInput;
95
+ output: CreateOrganisationCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -0,0 +1,97 @@
1
+ import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
2
+ import { CreatePackageRequest, Package } 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 CreatePackageCommand}.
14
+ */
15
+ export interface CreatePackageCommandInput extends CreatePackageRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreatePackageCommand}.
21
+ */
22
+ export interface CreatePackageCommandOutput extends Package, __MetadataBearer {
23
+ }
24
+ declare const CreatePackageCommand_base: {
25
+ new (input: CreatePackageCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePackageCommandInput, CreatePackageCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreatePackageCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePackageCommandInput, CreatePackageCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Create package 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, CreatePackageCommand } from "airborne-server-sdk"; // ES Modules import
35
+ * // const { AirborneClient, CreatePackageCommand } = require("airborne-server-sdk"); // CommonJS import
36
+ * const client = new AirborneClient(config);
37
+ * const input = { // CreatePackageRequest
38
+ * index: "STRING_VALUE", // required
39
+ * tag: "STRING_VALUE",
40
+ * files: [ // StringList // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * organisation: "STRING_VALUE", // required
44
+ * application: "STRING_VALUE", // required
45
+ * };
46
+ * const command = new CreatePackageCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // Package
49
+ * // tag: "STRING_VALUE",
50
+ * // version: Number("int"), // required
51
+ * // index: "STRING_VALUE", // required
52
+ * // files: [ // StringList // required
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param CreatePackageCommandInput - {@link CreatePackageCommandInput}
60
+ * @returns {@link CreatePackageCommandOutput}
61
+ * @see {@link CreatePackageCommandInput} for command's `input` shape.
62
+ * @see {@link CreatePackageCommandOutput} for command's `response` shape.
63
+ * @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
64
+ *
65
+ * @throws {@link Unauthorized} (client fault)
66
+ * Unauthorized error
67
+ *
68
+ * @throws {@link BadRequestError} (client fault)
69
+ * Bad request error
70
+ *
71
+ * @throws {@link NotFoundError} (client fault)
72
+ * Not found error
73
+ *
74
+ * @throws {@link InternalServerError} (server fault)
75
+ * Internal server error
76
+ *
77
+ * @throws {@link ForbiddenError} (client fault)
78
+ *
79
+ * @throws {@link AirborneServiceException}
80
+ * <p>Base exception class for all service exceptions from Airborne service.</p>
81
+ *
82
+ *
83
+ * @public
84
+ */
85
+ export declare class CreatePackageCommand extends CreatePackageCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: CreatePackageRequest;
90
+ output: Package;
91
+ };
92
+ sdk: {
93
+ input: CreatePackageCommandInput;
94
+ output: CreatePackageCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,152 @@
1
+ import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
2
+ import { CreateReleaseRequest, CreateReleaseResponse } 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 CreateReleaseCommand}.
14
+ */
15
+ export interface CreateReleaseCommandInput extends CreateReleaseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateReleaseCommand}.
21
+ */
22
+ export interface CreateReleaseCommandOutput extends CreateReleaseResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateReleaseCommand_base: {
25
+ new (input: CreateReleaseCommandInput): import("@smithy/smithy-client").CommandImpl<CreateReleaseCommandInput, CreateReleaseCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateReleaseCommandInput): import("@smithy/smithy-client").CommandImpl<CreateReleaseCommandInput, CreateReleaseCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Create release 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, CreateReleaseCommand } from "airborne-server-sdk"; // ES Modules import
35
+ * // const { AirborneClient, CreateReleaseCommand } = require("airborne-server-sdk"); // CommonJS import
36
+ * const client = new AirborneClient(config);
37
+ * const input = { // CreateReleaseRequest
38
+ * config: { // CreateReleaseRequestConfig
39
+ * release_config_timeout: Number("int"), // required
40
+ * boot_timeout: Number("int"), // required
41
+ * properties: "DOCUMENT_VALUE", // required
42
+ * },
43
+ * package_id: "STRING_VALUE",
44
+ * package: { // CreateReleaseRequestPackage
45
+ * properties: "DOCUMENT_VALUE",
46
+ * important: [ // StringList
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * lazy: [
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * },
53
+ * dimensions: { // DimensionsMap
54
+ * "<keys>": "DOCUMENT_VALUE",
55
+ * },
56
+ * resources: [
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * organisation: "STRING_VALUE", // required
60
+ * application: "STRING_VALUE", // required
61
+ * };
62
+ * const command = new CreateReleaseCommand(input);
63
+ * const response = await client.send(command);
64
+ * // { // CreateReleaseResponse
65
+ * // id: "STRING_VALUE", // required
66
+ * // created_at: "STRING_VALUE", // required
67
+ * // config: { // GetReleaseConfig
68
+ * // version: "STRING_VALUE", // required
69
+ * // release_config_timeout: Number("int"), // required
70
+ * // boot_timeout: Number("int"), // required
71
+ * // properties: { // ConfigProperties
72
+ * // tenant_info: "DOCUMENT_VALUE", // required
73
+ * // },
74
+ * // },
75
+ * // package: { // ServePackage
76
+ * // name: "STRING_VALUE",
77
+ * // version: "STRING_VALUE",
78
+ * // index: { // ServeFile
79
+ * // file_path: "STRING_VALUE",
80
+ * // url: "STRING_VALUE",
81
+ * // checksum: "STRING_VALUE",
82
+ * // },
83
+ * // properties: "DOCUMENT_VALUE",
84
+ * // important: [ // ServeFileList
85
+ * // {
86
+ * // file_path: "STRING_VALUE",
87
+ * // url: "STRING_VALUE",
88
+ * // checksum: "STRING_VALUE",
89
+ * // },
90
+ * // ],
91
+ * // lazy: [
92
+ * // {
93
+ * // file_path: "STRING_VALUE",
94
+ * // url: "STRING_VALUE",
95
+ * // checksum: "STRING_VALUE",
96
+ * // },
97
+ * // ],
98
+ * // },
99
+ * // experiment: { // ReleaseExperiment
100
+ * // experiment_id: "STRING_VALUE",
101
+ * // package_version: Number("int"),
102
+ * // config_version: "STRING_VALUE",
103
+ * // created_at: "STRING_VALUE",
104
+ * // traffic_percentage: Number("int"),
105
+ * // status: "STRING_VALUE",
106
+ * // },
107
+ * // dimensions: { // DimensionsMap // required
108
+ * // "<keys>": "DOCUMENT_VALUE",
109
+ * // },
110
+ * // };
111
+ *
112
+ * ```
113
+ *
114
+ * @param CreateReleaseCommandInput - {@link CreateReleaseCommandInput}
115
+ * @returns {@link CreateReleaseCommandOutput}
116
+ * @see {@link CreateReleaseCommandInput} for command's `input` shape.
117
+ * @see {@link CreateReleaseCommandOutput} for command's `response` shape.
118
+ * @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
119
+ *
120
+ * @throws {@link Unauthorized} (client fault)
121
+ * Unauthorized error
122
+ *
123
+ * @throws {@link BadRequestError} (client fault)
124
+ * Bad request error
125
+ *
126
+ * @throws {@link NotFoundError} (client fault)
127
+ * Not found error
128
+ *
129
+ * @throws {@link InternalServerError} (server fault)
130
+ * Internal server error
131
+ *
132
+ * @throws {@link ForbiddenError} (client fault)
133
+ *
134
+ * @throws {@link AirborneServiceException}
135
+ * <p>Base exception class for all service exceptions from Airborne service.</p>
136
+ *
137
+ *
138
+ * @public
139
+ */
140
+ export declare class CreateReleaseCommand extends CreateReleaseCommand_base {
141
+ /** @internal type navigation helper, not in runtime. */
142
+ protected static __types: {
143
+ api: {
144
+ input: CreateReleaseRequest;
145
+ output: CreateReleaseResponse;
146
+ };
147
+ sdk: {
148
+ input: CreateReleaseCommandInput;
149
+ output: CreateReleaseCommandOutput;
150
+ };
151
+ };
152
+ }
@@ -0,0 +1,86 @@
1
+ import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
2
+ import { DeleteDimensionRequest } 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 DeleteDimensionCommand}.
14
+ */
15
+ export interface DeleteDimensionCommandInput extends DeleteDimensionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteDimensionCommand}.
21
+ */
22
+ export interface DeleteDimensionCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteDimensionCommand_base: {
25
+ new (input: DeleteDimensionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDimensionCommandInput, DeleteDimensionCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteDimensionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDimensionCommandInput, DeleteDimensionCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Delete dimension 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, DeleteDimensionCommand } from "airborne-server-sdk"; // ES Modules import
35
+ * // const { AirborneClient, DeleteDimensionCommand } = require("airborne-server-sdk"); // CommonJS import
36
+ * const client = new AirborneClient(config);
37
+ * const input = { // DeleteDimensionRequest
38
+ * dimension: "STRING_VALUE", // required
39
+ * organisation: "STRING_VALUE", // required
40
+ * application: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteDimensionCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteDimensionCommandInput - {@link DeleteDimensionCommandInput}
49
+ * @returns {@link DeleteDimensionCommandOutput}
50
+ * @see {@link DeleteDimensionCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteDimensionCommandOutput} for command's `response` shape.
52
+ * @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
53
+ *
54
+ * @throws {@link BadRequestError} (client fault)
55
+ * Bad request error
56
+ *
57
+ * @throws {@link Unauthorized} (client fault)
58
+ * Unauthorized error
59
+ *
60
+ * @throws {@link NotFoundError} (client fault)
61
+ * Not found error
62
+ *
63
+ * @throws {@link InternalServerError} (server fault)
64
+ * Internal server error
65
+ *
66
+ * @throws {@link ForbiddenError} (client fault)
67
+ *
68
+ * @throws {@link AirborneServiceException}
69
+ * <p>Base exception class for all service exceptions from Airborne service.</p>
70
+ *
71
+ *
72
+ * @public
73
+ */
74
+ export declare class DeleteDimensionCommand extends DeleteDimensionCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: DeleteDimensionRequest;
79
+ output: {};
80
+ };
81
+ sdk: {
82
+ input: DeleteDimensionCommandInput;
83
+ output: DeleteDimensionCommandOutput;
84
+ };
85
+ };
86
+ }