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,143 @@
|
|
|
1
|
+
import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
|
|
2
|
+
import { ListReleasesRequest, ListReleasesResponse } 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 ListReleasesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListReleasesCommandInput extends ListReleasesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListReleasesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListReleasesCommandOutput extends ListReleasesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListReleasesCommand_base: {
|
|
25
|
+
new (input: ListReleasesCommandInput): import("@smithy/smithy-client").CommandImpl<ListReleasesCommandInput, ListReleasesCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListReleasesCommandInput): import("@smithy/smithy-client").CommandImpl<ListReleasesCommandInput, ListReleasesCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* List Releases 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, ListReleasesCommand } from "airborne-server-sdk"; // ES Modules import
|
|
35
|
+
* // const { AirborneClient, ListReleasesCommand } = require("airborne-server-sdk"); // CommonJS import
|
|
36
|
+
* const client = new AirborneClient(config);
|
|
37
|
+
* const input = { // ListReleasesRequest
|
|
38
|
+
* dimension: "STRING_VALUE",
|
|
39
|
+
* organisation: "STRING_VALUE", // required
|
|
40
|
+
* application: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListReleasesCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListReleasesResponse
|
|
45
|
+
* // releases: [ // GetReleaseResponseList // required
|
|
46
|
+
* // { // GetReleaseResponse
|
|
47
|
+
* // id: "STRING_VALUE",
|
|
48
|
+
* // created_at: "STRING_VALUE",
|
|
49
|
+
* // config: { // GetReleaseConfig
|
|
50
|
+
* // version: "STRING_VALUE", // required
|
|
51
|
+
* // release_config_timeout: Number("int"), // required
|
|
52
|
+
* // boot_timeout: Number("int"), // required
|
|
53
|
+
* // properties: { // ConfigProperties
|
|
54
|
+
* // tenant_info: "DOCUMENT_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // },
|
|
57
|
+
* // package: { // ServePackage
|
|
58
|
+
* // name: "STRING_VALUE",
|
|
59
|
+
* // version: "STRING_VALUE",
|
|
60
|
+
* // index: { // ServeFile
|
|
61
|
+
* // file_path: "STRING_VALUE",
|
|
62
|
+
* // url: "STRING_VALUE",
|
|
63
|
+
* // checksum: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // properties: "DOCUMENT_VALUE",
|
|
66
|
+
* // important: [ // ServeFileList
|
|
67
|
+
* // {
|
|
68
|
+
* // file_path: "STRING_VALUE",
|
|
69
|
+
* // url: "STRING_VALUE",
|
|
70
|
+
* // checksum: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // lazy: [
|
|
74
|
+
* // {
|
|
75
|
+
* // file_path: "STRING_VALUE",
|
|
76
|
+
* // url: "STRING_VALUE",
|
|
77
|
+
* // checksum: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // },
|
|
81
|
+
* // resources: [
|
|
82
|
+
* // {
|
|
83
|
+
* // file_path: "STRING_VALUE",
|
|
84
|
+
* // url: "STRING_VALUE",
|
|
85
|
+
* // checksum: "STRING_VALUE",
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // experiment: { // ReleaseExperiment
|
|
89
|
+
* // experiment_id: "STRING_VALUE",
|
|
90
|
+
* // package_version: Number("int"),
|
|
91
|
+
* // config_version: "STRING_VALUE",
|
|
92
|
+
* // created_at: "STRING_VALUE",
|
|
93
|
+
* // traffic_percentage: Number("int"),
|
|
94
|
+
* // status: "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // dimensions: { // DimensionsMap
|
|
97
|
+
* // "<keys>": "DOCUMENT_VALUE",
|
|
98
|
+
* // },
|
|
99
|
+
* // },
|
|
100
|
+
* // ],
|
|
101
|
+
* // };
|
|
102
|
+
*
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* @param ListReleasesCommandInput - {@link ListReleasesCommandInput}
|
|
106
|
+
* @returns {@link ListReleasesCommandOutput}
|
|
107
|
+
* @see {@link ListReleasesCommandInput} for command's `input` shape.
|
|
108
|
+
* @see {@link ListReleasesCommandOutput} for command's `response` shape.
|
|
109
|
+
* @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link Unauthorized} (client fault)
|
|
112
|
+
* Unauthorized error
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link BadRequestError} (client fault)
|
|
115
|
+
* Bad request error
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link NotFoundError} (client fault)
|
|
118
|
+
* Not found error
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link InternalServerError} (server fault)
|
|
121
|
+
* Internal server error
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link AirborneServiceException}
|
|
126
|
+
* <p>Base exception class for all service exceptions from Airborne service.</p>
|
|
127
|
+
*
|
|
128
|
+
*
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export declare class ListReleasesCommand extends ListReleasesCommand_base {
|
|
132
|
+
/** @internal type navigation helper, not in runtime. */
|
|
133
|
+
protected static __types: {
|
|
134
|
+
api: {
|
|
135
|
+
input: ListReleasesRequest;
|
|
136
|
+
output: ListReleasesResponse;
|
|
137
|
+
};
|
|
138
|
+
sdk: {
|
|
139
|
+
input: ListReleasesCommandInput;
|
|
140
|
+
output: ListReleasesCommandOutput;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
|
|
2
|
+
import { User, UserCredentials } 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 PostLoginCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PostLoginCommandInput extends UserCredentials {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PostLoginCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PostLoginCommandOutput extends User, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PostLoginCommand_base: {
|
|
25
|
+
new (input: PostLoginCommandInput): import("@smithy/smithy-client").CommandImpl<PostLoginCommandInput, PostLoginCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PostLoginCommandInput): import("@smithy/smithy-client").CommandImpl<PostLoginCommandInput, PostLoginCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Login 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, PostLoginCommand } from "airborne-server-sdk"; // ES Modules import
|
|
35
|
+
* // const { AirborneClient, PostLoginCommand } = require("airborne-server-sdk"); // CommonJS import
|
|
36
|
+
* const client = new AirborneClient(config);
|
|
37
|
+
* const input = { // UserCredentials
|
|
38
|
+
* client_id: "STRING_VALUE", // required
|
|
39
|
+
* client_secret: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new PostLoginCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // User
|
|
44
|
+
* // user_id: "STRING_VALUE", // required
|
|
45
|
+
* // organisations: [ // Organisations // required
|
|
46
|
+
* // { // Organisation
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // applications: [ // Applications // required
|
|
49
|
+
* // { // Application
|
|
50
|
+
* // application: "STRING_VALUE", // required
|
|
51
|
+
* // organisation: "STRING_VALUE", // required
|
|
52
|
+
* // access: [ // StringList // required
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // access: [ // required
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // user_token: { // UserToken
|
|
63
|
+
* // access_token: "STRING_VALUE", // required
|
|
64
|
+
* // token_type: "STRING_VALUE", // required
|
|
65
|
+
* // expires_in: Number("long"), // required
|
|
66
|
+
* // refresh_token: "STRING_VALUE", // required
|
|
67
|
+
* // refresh_expires_in: Number("long"), // required
|
|
68
|
+
* // },
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param PostLoginCommandInput - {@link PostLoginCommandInput}
|
|
74
|
+
* @returns {@link PostLoginCommandOutput}
|
|
75
|
+
* @see {@link PostLoginCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link PostLoginCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link Unauthorized} (client fault)
|
|
80
|
+
* Unauthorized error
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link BadRequestError} (client fault)
|
|
83
|
+
* Bad request error
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link NotFoundError} (client fault)
|
|
86
|
+
* Not found error
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InternalServerError} (server fault)
|
|
89
|
+
* Internal server error
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link AirborneServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from Airborne service.</p>
|
|
95
|
+
*
|
|
96
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class PostLoginCommand extends PostLoginCommand_base {
|
|
100
|
+
/** @internal type navigation helper, not in runtime. */
|
|
101
|
+
protected static __types: {
|
|
102
|
+
api: {
|
|
103
|
+
input: UserCredentials;
|
|
104
|
+
output: User;
|
|
105
|
+
};
|
|
106
|
+
sdk: {
|
|
107
|
+
input: PostLoginCommandInput;
|
|
108
|
+
output: PostLoginCommandOutput;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
|
|
2
|
+
import { RequestOrganisationRequest, RequestOrganisationResponse } 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 RequestOrganisationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RequestOrganisationCommandInput extends RequestOrganisationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RequestOrganisationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RequestOrganisationCommandOutput extends RequestOrganisationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RequestOrganisationCommand_base: {
|
|
25
|
+
new (input: RequestOrganisationCommandInput): import("@smithy/smithy-client").CommandImpl<RequestOrganisationCommandInput, RequestOrganisationCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: RequestOrganisationCommandInput): import("@smithy/smithy-client").CommandImpl<RequestOrganisationCommandInput, RequestOrganisationCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Request 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, RequestOrganisationCommand } from "airborne-server-sdk"; // ES Modules import
|
|
35
|
+
* // const { AirborneClient, RequestOrganisationCommand } = require("airborne-server-sdk"); // CommonJS import
|
|
36
|
+
* const client = new AirborneClient(config);
|
|
37
|
+
* const input = { // RequestOrganisationRequest
|
|
38
|
+
* organisation_name: "STRING_VALUE", // required
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
|
+
* email: "STRING_VALUE", // required
|
|
41
|
+
* phone: "STRING_VALUE", // required
|
|
42
|
+
* app_store_link: "STRING_VALUE", // required
|
|
43
|
+
* play_store_link: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new RequestOrganisationCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // RequestOrganisationResponse
|
|
48
|
+
* // organisation_name: "STRING_VALUE", // required
|
|
49
|
+
* // message: "STRING_VALUE", // required
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param RequestOrganisationCommandInput - {@link RequestOrganisationCommandInput}
|
|
55
|
+
* @returns {@link RequestOrganisationCommandOutput}
|
|
56
|
+
* @see {@link RequestOrganisationCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link RequestOrganisationCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link Unauthorized} (client fault)
|
|
61
|
+
* Unauthorized error
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link BadRequestError} (client fault)
|
|
64
|
+
* Bad request error
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link NotFoundError} (client fault)
|
|
67
|
+
* Not found error
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerError} (server fault)
|
|
70
|
+
* Internal server error
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AirborneServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Airborne service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class RequestOrganisationCommand extends RequestOrganisationCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: RequestOrganisationRequest;
|
|
85
|
+
output: RequestOrganisationResponse;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: RequestOrganisationCommandInput;
|
|
89
|
+
output: RequestOrganisationCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
|
|
2
|
+
import { GetServeReleaseInput, ReleaseConfig } 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 ServeReleaseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ServeReleaseCommandInput extends GetServeReleaseInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ServeReleaseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ServeReleaseCommandOutput extends ReleaseConfig, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ServeReleaseCommand_base: {
|
|
25
|
+
new (input: ServeReleaseCommandInput): import("@smithy/smithy-client").CommandImpl<ServeReleaseCommandInput, ServeReleaseCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ServeReleaseCommandInput): import("@smithy/smithy-client").CommandImpl<ServeReleaseCommandInput, ServeReleaseCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Get 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, ServeReleaseCommand } from "airborne-server-sdk"; // ES Modules import
|
|
35
|
+
* // const { AirborneClient, ServeReleaseCommand } = require("airborne-server-sdk"); // CommonJS import
|
|
36
|
+
* const client = new AirborneClient(config);
|
|
37
|
+
* const input = { // GetServeReleaseInput
|
|
38
|
+
* organisation: "STRING_VALUE", // required
|
|
39
|
+
* application: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ServeReleaseCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ReleaseConfig
|
|
44
|
+
* // config: { // GetReleaseConfig
|
|
45
|
+
* // version: "STRING_VALUE", // required
|
|
46
|
+
* // release_config_timeout: Number("int"), // required
|
|
47
|
+
* // boot_timeout: Number("int"), // required
|
|
48
|
+
* // properties: { // ConfigProperties
|
|
49
|
+
* // tenant_info: "DOCUMENT_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // },
|
|
52
|
+
* // package: { // Package
|
|
53
|
+
* // tag: "STRING_VALUE",
|
|
54
|
+
* // version: Number("int"), // required
|
|
55
|
+
* // index: "STRING_VALUE", // required
|
|
56
|
+
* // files: [ // StringList // required
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // resources: "DOCUMENT_VALUE", // required
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ServeReleaseCommandInput - {@link ServeReleaseCommandInput}
|
|
66
|
+
* @returns {@link ServeReleaseCommandOutput}
|
|
67
|
+
* @see {@link ServeReleaseCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ServeReleaseCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
|
|
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 Unauthorized} (client fault)
|
|
78
|
+
* Unauthorized error
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link BadRequestError} (client fault)
|
|
81
|
+
* Bad request error
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link AirborneServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from Airborne service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ServeReleaseCommand extends ServeReleaseCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: GetServeReleaseInput;
|
|
96
|
+
output: ReleaseConfig;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: ServeReleaseCommandInput;
|
|
100
|
+
output: ServeReleaseCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
|
|
2
|
+
import { GetServeReleaseInput, ReleaseConfig } 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 ServeReleaseV2Command}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ServeReleaseV2CommandInput extends GetServeReleaseInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ServeReleaseV2Command}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ServeReleaseV2CommandOutput extends ReleaseConfig, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ServeReleaseV2Command_base: {
|
|
25
|
+
new (input: ServeReleaseV2CommandInput): import("@smithy/smithy-client").CommandImpl<ServeReleaseV2CommandInput, ServeReleaseV2CommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ServeReleaseV2CommandInput): import("@smithy/smithy-client").CommandImpl<ServeReleaseV2CommandInput, ServeReleaseV2CommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Get release v2 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, ServeReleaseV2Command } from "airborne-server-sdk"; // ES Modules import
|
|
35
|
+
* // const { AirborneClient, ServeReleaseV2Command } = require("airborne-server-sdk"); // CommonJS import
|
|
36
|
+
* const client = new AirborneClient(config);
|
|
37
|
+
* const input = { // GetServeReleaseInput
|
|
38
|
+
* organisation: "STRING_VALUE", // required
|
|
39
|
+
* application: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ServeReleaseV2Command(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ReleaseConfig
|
|
44
|
+
* // config: { // GetReleaseConfig
|
|
45
|
+
* // version: "STRING_VALUE", // required
|
|
46
|
+
* // release_config_timeout: Number("int"), // required
|
|
47
|
+
* // boot_timeout: Number("int"), // required
|
|
48
|
+
* // properties: { // ConfigProperties
|
|
49
|
+
* // tenant_info: "DOCUMENT_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // },
|
|
52
|
+
* // package: { // Package
|
|
53
|
+
* // tag: "STRING_VALUE",
|
|
54
|
+
* // version: Number("int"), // required
|
|
55
|
+
* // index: "STRING_VALUE", // required
|
|
56
|
+
* // files: [ // StringList // required
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // resources: "DOCUMENT_VALUE", // required
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ServeReleaseV2CommandInput - {@link ServeReleaseV2CommandInput}
|
|
66
|
+
* @returns {@link ServeReleaseV2CommandOutput}
|
|
67
|
+
* @see {@link ServeReleaseV2CommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ServeReleaseV2CommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
|
|
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 Unauthorized} (client fault)
|
|
78
|
+
* Unauthorized error
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link BadRequestError} (client fault)
|
|
81
|
+
* Bad request error
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link AirborneServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from Airborne service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ServeReleaseV2Command extends ServeReleaseV2Command_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: GetServeReleaseInput;
|
|
96
|
+
output: ReleaseConfig;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: ServeReleaseV2CommandInput;
|
|
100
|
+
output: ServeReleaseV2CommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
|
|
2
|
+
import { DimensionResponse, UpdateDimensionRequest } 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 UpdateDimensionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateDimensionCommandInput extends UpdateDimensionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateDimensionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateDimensionCommandOutput extends DimensionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateDimensionCommand_base: {
|
|
25
|
+
new (input: UpdateDimensionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDimensionCommandInput, UpdateDimensionCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateDimensionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDimensionCommandInput, UpdateDimensionCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Update 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, UpdateDimensionCommand } from "airborne-server-sdk"; // ES Modules import
|
|
35
|
+
* // const { AirborneClient, UpdateDimensionCommand } = require("airborne-server-sdk"); // CommonJS import
|
|
36
|
+
* const client = new AirborneClient(config);
|
|
37
|
+
* const input = { // UpdateDimensionRequest
|
|
38
|
+
* dimension: "STRING_VALUE", // required
|
|
39
|
+
* change_reason: "STRING_VALUE", // required
|
|
40
|
+
* position: Number("int"), // required
|
|
41
|
+
* organisation: "STRING_VALUE", // required
|
|
42
|
+
* application: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new UpdateDimensionCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // DimensionResponse
|
|
47
|
+
* // dimension: "STRING_VALUE", // required
|
|
48
|
+
* // description: "DOCUMENT_VALUE", // required
|
|
49
|
+
* // position: Number("int"), // required
|
|
50
|
+
* // schema: "DOCUMENT_VALUE",
|
|
51
|
+
* // change_reason: "STRING_VALUE", // required
|
|
52
|
+
* // mandatory: true || false,
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param UpdateDimensionCommandInput - {@link UpdateDimensionCommandInput}
|
|
58
|
+
* @returns {@link UpdateDimensionCommandOutput}
|
|
59
|
+
* @see {@link UpdateDimensionCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link UpdateDimensionCommandOutput} 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 UpdateDimensionCommand extends UpdateDimensionCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: UpdateDimensionRequest;
|
|
88
|
+
output: DimensionResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: UpdateDimensionCommandInput;
|
|
92
|
+
output: UpdateDimensionCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|