@aws-sdk/client-outposts 3.554.0 → 3.556.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 (43) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +302 -1
  3. package/dist-es/Outposts.js +10 -0
  4. package/dist-es/commands/CancelCapacityTaskCommand.js +24 -0
  5. package/dist-es/commands/GetCapacityTaskCommand.js +24 -0
  6. package/dist-es/commands/GetOutpostSupportedInstanceTypesCommand.js +24 -0
  7. package/dist-es/commands/ListCapacityTasksCommand.js +24 -0
  8. package/dist-es/commands/StartCapacityTaskCommand.js +24 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +11 -0
  11. package/dist-es/pagination/GetOutpostSupportedInstanceTypesPaginator.js +4 -0
  12. package/dist-es/pagination/ListCapacityTasksPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +2 -0
  14. package/dist-es/protocols/Aws_restJson1.js +175 -1
  15. package/dist-types/Outposts.d.ts +36 -0
  16. package/dist-types/OutpostsClient.d.ts +7 -2
  17. package/dist-types/commands/CancelCapacityTaskCommand.d.ts +73 -0
  18. package/dist-types/commands/CreateOrderCommand.d.ts +1 -1
  19. package/dist-types/commands/GetCapacityTaskCommand.d.ts +89 -0
  20. package/dist-types/commands/GetOrderCommand.d.ts +1 -1
  21. package/dist-types/commands/GetOutpostSupportedInstanceTypesCommand.d.ts +82 -0
  22. package/dist-types/commands/ListCapacityTasksCommand.d.ts +90 -0
  23. package/dist-types/commands/StartCapacityTaskCommand.d.ts +99 -0
  24. package/dist-types/commands/index.d.ts +5 -0
  25. package/dist-types/models/models_0.d.ts +381 -8
  26. package/dist-types/pagination/GetOutpostSupportedInstanceTypesPaginator.d.ts +7 -0
  27. package/dist-types/pagination/ListCapacityTasksPaginator.d.ts +7 -0
  28. package/dist-types/pagination/index.d.ts +2 -0
  29. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  30. package/dist-types/ts3.4/Outposts.d.ts +86 -0
  31. package/dist-types/ts3.4/OutpostsClient.d.ts +30 -0
  32. package/dist-types/ts3.4/commands/CancelCapacityTaskCommand.d.ts +39 -0
  33. package/dist-types/ts3.4/commands/GetCapacityTaskCommand.d.ts +38 -0
  34. package/dist-types/ts3.4/commands/GetOutpostSupportedInstanceTypesCommand.d.ts +39 -0
  35. package/dist-types/ts3.4/commands/ListCapacityTasksCommand.d.ts +38 -0
  36. package/dist-types/ts3.4/commands/StartCapacityTaskCommand.d.ts +38 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +94 -3
  39. package/dist-types/ts3.4/pagination/GetOutpostSupportedInstanceTypesPaginator.d.ts +11 -0
  40. package/dist-types/ts3.4/pagination/ListCapacityTasksPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  43. package/package.json +4 -4
@@ -1,4 +1,8 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ CancelCapacityTaskCommandInput,
4
+ CancelCapacityTaskCommandOutput,
5
+ } from "./commands/CancelCapacityTaskCommand";
2
6
  import {
3
7
  CancelOrderCommandInput,
4
8
  CancelOrderCommandOutput,
@@ -23,6 +27,10 @@ import {
23
27
  DeleteSiteCommandInput,
24
28
  DeleteSiteCommandOutput,
25
29
  } from "./commands/DeleteSiteCommand";
30
+ import {
31
+ GetCapacityTaskCommandInput,
32
+ GetCapacityTaskCommandOutput,
33
+ } from "./commands/GetCapacityTaskCommand";
26
34
  import {
27
35
  GetCatalogItemCommandInput,
28
36
  GetCatalogItemCommandOutput,
@@ -43,6 +51,10 @@ import {
43
51
  GetOutpostInstanceTypesCommandInput,
44
52
  GetOutpostInstanceTypesCommandOutput,
45
53
  } from "./commands/GetOutpostInstanceTypesCommand";
54
+ import {
55
+ GetOutpostSupportedInstanceTypesCommandInput,
56
+ GetOutpostSupportedInstanceTypesCommandOutput,
57
+ } from "./commands/GetOutpostSupportedInstanceTypesCommand";
46
58
  import {
47
59
  GetSiteAddressCommandInput,
48
60
  GetSiteAddressCommandOutput,
@@ -55,6 +67,10 @@ import {
55
67
  ListAssetsCommandInput,
56
68
  ListAssetsCommandOutput,
57
69
  } from "./commands/ListAssetsCommand";
70
+ import {
71
+ ListCapacityTasksCommandInput,
72
+ ListCapacityTasksCommandOutput,
73
+ } from "./commands/ListCapacityTasksCommand";
58
74
  import {
59
75
  ListCatalogItemsCommandInput,
60
76
  ListCatalogItemsCommandOutput,
@@ -75,6 +91,10 @@ import {
75
91
  ListTagsForResourceCommandInput,
76
92
  ListTagsForResourceCommandOutput,
77
93
  } from "./commands/ListTagsForResourceCommand";
94
+ import {
95
+ StartCapacityTaskCommandInput,
96
+ StartCapacityTaskCommandOutput,
97
+ } from "./commands/StartCapacityTaskCommand";
78
98
  import {
79
99
  StartConnectionCommandInput,
80
100
  StartConnectionCommandOutput,
@@ -105,6 +125,19 @@ import {
105
125
  } from "./commands/UpdateSiteRackPhysicalPropertiesCommand";
106
126
  import { OutpostsClient } from "./OutpostsClient";
107
127
  export interface Outposts {
128
+ cancelCapacityTask(
129
+ args: CancelCapacityTaskCommandInput,
130
+ options?: __HttpHandlerOptions
131
+ ): Promise<CancelCapacityTaskCommandOutput>;
132
+ cancelCapacityTask(
133
+ args: CancelCapacityTaskCommandInput,
134
+ cb: (err: any, data?: CancelCapacityTaskCommandOutput) => void
135
+ ): void;
136
+ cancelCapacityTask(
137
+ args: CancelCapacityTaskCommandInput,
138
+ options: __HttpHandlerOptions,
139
+ cb: (err: any, data?: CancelCapacityTaskCommandOutput) => void
140
+ ): void;
108
141
  cancelOrder(
109
142
  args: CancelOrderCommandInput,
110
143
  options?: __HttpHandlerOptions
@@ -183,6 +216,19 @@ export interface Outposts {
183
216
  options: __HttpHandlerOptions,
184
217
  cb: (err: any, data?: DeleteSiteCommandOutput) => void
185
218
  ): void;
219
+ getCapacityTask(
220
+ args: GetCapacityTaskCommandInput,
221
+ options?: __HttpHandlerOptions
222
+ ): Promise<GetCapacityTaskCommandOutput>;
223
+ getCapacityTask(
224
+ args: GetCapacityTaskCommandInput,
225
+ cb: (err: any, data?: GetCapacityTaskCommandOutput) => void
226
+ ): void;
227
+ getCapacityTask(
228
+ args: GetCapacityTaskCommandInput,
229
+ options: __HttpHandlerOptions,
230
+ cb: (err: any, data?: GetCapacityTaskCommandOutput) => void
231
+ ): void;
186
232
  getCatalogItem(
187
233
  args: GetCatalogItemCommandInput,
188
234
  options?: __HttpHandlerOptions
@@ -248,6 +294,19 @@ export interface Outposts {
248
294
  options: __HttpHandlerOptions,
249
295
  cb: (err: any, data?: GetOutpostInstanceTypesCommandOutput) => void
250
296
  ): void;
297
+ getOutpostSupportedInstanceTypes(
298
+ args: GetOutpostSupportedInstanceTypesCommandInput,
299
+ options?: __HttpHandlerOptions
300
+ ): Promise<GetOutpostSupportedInstanceTypesCommandOutput>;
301
+ getOutpostSupportedInstanceTypes(
302
+ args: GetOutpostSupportedInstanceTypesCommandInput,
303
+ cb: (err: any, data?: GetOutpostSupportedInstanceTypesCommandOutput) => void
304
+ ): void;
305
+ getOutpostSupportedInstanceTypes(
306
+ args: GetOutpostSupportedInstanceTypesCommandInput,
307
+ options: __HttpHandlerOptions,
308
+ cb: (err: any, data?: GetOutpostSupportedInstanceTypesCommandOutput) => void
309
+ ): void;
251
310
  getSite(
252
311
  args: GetSiteCommandInput,
253
312
  options?: __HttpHandlerOptions
@@ -287,6 +346,20 @@ export interface Outposts {
287
346
  options: __HttpHandlerOptions,
288
347
  cb: (err: any, data?: ListAssetsCommandOutput) => void
289
348
  ): void;
349
+ listCapacityTasks(): Promise<ListCapacityTasksCommandOutput>;
350
+ listCapacityTasks(
351
+ args: ListCapacityTasksCommandInput,
352
+ options?: __HttpHandlerOptions
353
+ ): Promise<ListCapacityTasksCommandOutput>;
354
+ listCapacityTasks(
355
+ args: ListCapacityTasksCommandInput,
356
+ cb: (err: any, data?: ListCapacityTasksCommandOutput) => void
357
+ ): void;
358
+ listCapacityTasks(
359
+ args: ListCapacityTasksCommandInput,
360
+ options: __HttpHandlerOptions,
361
+ cb: (err: any, data?: ListCapacityTasksCommandOutput) => void
362
+ ): void;
290
363
  listCatalogItems(): Promise<ListCatalogItemsCommandOutput>;
291
364
  listCatalogItems(
292
365
  args: ListCatalogItemsCommandInput,
@@ -356,6 +429,19 @@ export interface Outposts {
356
429
  options: __HttpHandlerOptions,
357
430
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
358
431
  ): void;
432
+ startCapacityTask(
433
+ args: StartCapacityTaskCommandInput,
434
+ options?: __HttpHandlerOptions
435
+ ): Promise<StartCapacityTaskCommandOutput>;
436
+ startCapacityTask(
437
+ args: StartCapacityTaskCommandInput,
438
+ cb: (err: any, data?: StartCapacityTaskCommandOutput) => void
439
+ ): void;
440
+ startCapacityTask(
441
+ args: StartCapacityTaskCommandInput,
442
+ options: __HttpHandlerOptions,
443
+ cb: (err: any, data?: StartCapacityTaskCommandOutput) => void
444
+ ): void;
359
445
  startConnection(
360
446
  args: StartConnectionCommandInput,
361
447
  options?: __HttpHandlerOptions
@@ -45,6 +45,10 @@ import {
45
45
  HttpAuthSchemeInputConfig,
46
46
  HttpAuthSchemeResolvedConfig,
47
47
  } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ CancelCapacityTaskCommandInput,
50
+ CancelCapacityTaskCommandOutput,
51
+ } from "./commands/CancelCapacityTaskCommand";
48
52
  import {
49
53
  CancelOrderCommandInput,
50
54
  CancelOrderCommandOutput,
@@ -69,6 +73,10 @@ import {
69
73
  DeleteSiteCommandInput,
70
74
  DeleteSiteCommandOutput,
71
75
  } from "./commands/DeleteSiteCommand";
76
+ import {
77
+ GetCapacityTaskCommandInput,
78
+ GetCapacityTaskCommandOutput,
79
+ } from "./commands/GetCapacityTaskCommand";
72
80
  import {
73
81
  GetCatalogItemCommandInput,
74
82
  GetCatalogItemCommandOutput,
@@ -89,6 +97,10 @@ import {
89
97
  GetOutpostInstanceTypesCommandInput,
90
98
  GetOutpostInstanceTypesCommandOutput,
91
99
  } from "./commands/GetOutpostInstanceTypesCommand";
100
+ import {
101
+ GetOutpostSupportedInstanceTypesCommandInput,
102
+ GetOutpostSupportedInstanceTypesCommandOutput,
103
+ } from "./commands/GetOutpostSupportedInstanceTypesCommand";
92
104
  import {
93
105
  GetSiteAddressCommandInput,
94
106
  GetSiteAddressCommandOutput,
@@ -101,6 +113,10 @@ import {
101
113
  ListAssetsCommandInput,
102
114
  ListAssetsCommandOutput,
103
115
  } from "./commands/ListAssetsCommand";
116
+ import {
117
+ ListCapacityTasksCommandInput,
118
+ ListCapacityTasksCommandOutput,
119
+ } from "./commands/ListCapacityTasksCommand";
104
120
  import {
105
121
  ListCatalogItemsCommandInput,
106
122
  ListCatalogItemsCommandOutput,
@@ -121,6 +137,10 @@ import {
121
137
  ListTagsForResourceCommandInput,
122
138
  ListTagsForResourceCommandOutput,
123
139
  } from "./commands/ListTagsForResourceCommand";
140
+ import {
141
+ StartCapacityTaskCommandInput,
142
+ StartCapacityTaskCommandOutput,
143
+ } from "./commands/StartCapacityTaskCommand";
124
144
  import {
125
145
  StartConnectionCommandInput,
126
146
  StartConnectionCommandOutput,
@@ -157,25 +177,30 @@ import {
157
177
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
158
178
  export { __Client };
159
179
  export type ServiceInputTypes =
180
+ | CancelCapacityTaskCommandInput
160
181
  | CancelOrderCommandInput
161
182
  | CreateOrderCommandInput
162
183
  | CreateOutpostCommandInput
163
184
  | CreateSiteCommandInput
164
185
  | DeleteOutpostCommandInput
165
186
  | DeleteSiteCommandInput
187
+ | GetCapacityTaskCommandInput
166
188
  | GetCatalogItemCommandInput
167
189
  | GetConnectionCommandInput
168
190
  | GetOrderCommandInput
169
191
  | GetOutpostCommandInput
170
192
  | GetOutpostInstanceTypesCommandInput
193
+ | GetOutpostSupportedInstanceTypesCommandInput
171
194
  | GetSiteAddressCommandInput
172
195
  | GetSiteCommandInput
173
196
  | ListAssetsCommandInput
197
+ | ListCapacityTasksCommandInput
174
198
  | ListCatalogItemsCommandInput
175
199
  | ListOrdersCommandInput
176
200
  | ListOutpostsCommandInput
177
201
  | ListSitesCommandInput
178
202
  | ListTagsForResourceCommandInput
203
+ | StartCapacityTaskCommandInput
179
204
  | StartConnectionCommandInput
180
205
  | TagResourceCommandInput
181
206
  | UntagResourceCommandInput
@@ -184,25 +209,30 @@ export type ServiceInputTypes =
184
209
  | UpdateSiteCommandInput
185
210
  | UpdateSiteRackPhysicalPropertiesCommandInput;
186
211
  export type ServiceOutputTypes =
212
+ | CancelCapacityTaskCommandOutput
187
213
  | CancelOrderCommandOutput
188
214
  | CreateOrderCommandOutput
189
215
  | CreateOutpostCommandOutput
190
216
  | CreateSiteCommandOutput
191
217
  | DeleteOutpostCommandOutput
192
218
  | DeleteSiteCommandOutput
219
+ | GetCapacityTaskCommandOutput
193
220
  | GetCatalogItemCommandOutput
194
221
  | GetConnectionCommandOutput
195
222
  | GetOrderCommandOutput
196
223
  | GetOutpostCommandOutput
197
224
  | GetOutpostInstanceTypesCommandOutput
225
+ | GetOutpostSupportedInstanceTypesCommandOutput
198
226
  | GetSiteAddressCommandOutput
199
227
  | GetSiteCommandOutput
200
228
  | ListAssetsCommandOutput
229
+ | ListCapacityTasksCommandOutput
201
230
  | ListCatalogItemsCommandOutput
202
231
  | ListOrdersCommandOutput
203
232
  | ListOutpostsCommandOutput
204
233
  | ListSitesCommandOutput
205
234
  | ListTagsForResourceCommandOutput
235
+ | StartCapacityTaskCommandOutput
206
236
  | StartConnectionCommandOutput
207
237
  | TagResourceCommandOutput
208
238
  | UntagResourceCommandOutput
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CancelCapacityTaskInput,
5
+ CancelCapacityTaskOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ OutpostsClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../OutpostsClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface CancelCapacityTaskCommandInput
14
+ extends CancelCapacityTaskInput {}
15
+ export interface CancelCapacityTaskCommandOutput
16
+ extends CancelCapacityTaskOutput,
17
+ __MetadataBearer {}
18
+ declare const CancelCapacityTaskCommand_base: {
19
+ new (
20
+ input: CancelCapacityTaskCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ CancelCapacityTaskCommandInput,
23
+ CancelCapacityTaskCommandOutput,
24
+ OutpostsClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: CancelCapacityTaskCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ CancelCapacityTaskCommandInput,
32
+ CancelCapacityTaskCommandOutput,
33
+ OutpostsClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class CancelCapacityTaskCommand extends CancelCapacityTaskCommand_base {}
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetCapacityTaskInput,
5
+ GetCapacityTaskOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ OutpostsClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../OutpostsClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface GetCapacityTaskCommandInput extends GetCapacityTaskInput {}
14
+ export interface GetCapacityTaskCommandOutput
15
+ extends GetCapacityTaskOutput,
16
+ __MetadataBearer {}
17
+ declare const GetCapacityTaskCommand_base: {
18
+ new (
19
+ input: GetCapacityTaskCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ GetCapacityTaskCommandInput,
22
+ GetCapacityTaskCommandOutput,
23
+ OutpostsClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ new (
28
+ __0_0: GetCapacityTaskCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ GetCapacityTaskCommandInput,
31
+ GetCapacityTaskCommandOutput,
32
+ OutpostsClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
36
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ };
38
+ export declare class GetCapacityTaskCommand extends GetCapacityTaskCommand_base {}
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetOutpostSupportedInstanceTypesInput,
5
+ GetOutpostSupportedInstanceTypesOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ OutpostsClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../OutpostsClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface GetOutpostSupportedInstanceTypesCommandInput
14
+ extends GetOutpostSupportedInstanceTypesInput {}
15
+ export interface GetOutpostSupportedInstanceTypesCommandOutput
16
+ extends GetOutpostSupportedInstanceTypesOutput,
17
+ __MetadataBearer {}
18
+ declare const GetOutpostSupportedInstanceTypesCommand_base: {
19
+ new (
20
+ input: GetOutpostSupportedInstanceTypesCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetOutpostSupportedInstanceTypesCommandInput,
23
+ GetOutpostSupportedInstanceTypesCommandOutput,
24
+ OutpostsClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: GetOutpostSupportedInstanceTypesCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetOutpostSupportedInstanceTypesCommandInput,
32
+ GetOutpostSupportedInstanceTypesCommandOutput,
33
+ OutpostsClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GetOutpostSupportedInstanceTypesCommand extends GetOutpostSupportedInstanceTypesCommand_base {}
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListCapacityTasksInput,
5
+ ListCapacityTasksOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ OutpostsClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../OutpostsClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface ListCapacityTasksCommandInput extends ListCapacityTasksInput {}
14
+ export interface ListCapacityTasksCommandOutput
15
+ extends ListCapacityTasksOutput,
16
+ __MetadataBearer {}
17
+ declare const ListCapacityTasksCommand_base: {
18
+ new (
19
+ input: ListCapacityTasksCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ ListCapacityTasksCommandInput,
22
+ ListCapacityTasksCommandOutput,
23
+ OutpostsClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ new (
28
+ ...[input]: [] | [ListCapacityTasksCommandInput]
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ ListCapacityTasksCommandInput,
31
+ ListCapacityTasksCommandOutput,
32
+ OutpostsClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
36
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ };
38
+ export declare class ListCapacityTasksCommand extends ListCapacityTasksCommand_base {}
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ StartCapacityTaskInput,
5
+ StartCapacityTaskOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ OutpostsClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../OutpostsClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface StartCapacityTaskCommandInput extends StartCapacityTaskInput {}
14
+ export interface StartCapacityTaskCommandOutput
15
+ extends StartCapacityTaskOutput,
16
+ __MetadataBearer {}
17
+ declare const StartCapacityTaskCommand_base: {
18
+ new (
19
+ input: StartCapacityTaskCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ StartCapacityTaskCommandInput,
22
+ StartCapacityTaskCommandOutput,
23
+ OutpostsClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ new (
28
+ __0_0: StartCapacityTaskCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ StartCapacityTaskCommandInput,
31
+ StartCapacityTaskCommandOutput,
32
+ OutpostsClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
36
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ };
38
+ export declare class StartCapacityTaskCommand extends StartCapacityTaskCommand_base {}
@@ -1,22 +1,27 @@
1
+ export * from "./CancelCapacityTaskCommand";
1
2
  export * from "./CancelOrderCommand";
2
3
  export * from "./CreateOrderCommand";
3
4
  export * from "./CreateOutpostCommand";
4
5
  export * from "./CreateSiteCommand";
5
6
  export * from "./DeleteOutpostCommand";
6
7
  export * from "./DeleteSiteCommand";
8
+ export * from "./GetCapacityTaskCommand";
7
9
  export * from "./GetCatalogItemCommand";
8
10
  export * from "./GetConnectionCommand";
9
11
  export * from "./GetOrderCommand";
10
12
  export * from "./GetOutpostCommand";
11
13
  export * from "./GetOutpostInstanceTypesCommand";
14
+ export * from "./GetOutpostSupportedInstanceTypesCommand";
12
15
  export * from "./GetSiteAddressCommand";
13
16
  export * from "./GetSiteCommand";
14
17
  export * from "./ListAssetsCommand";
18
+ export * from "./ListCapacityTasksCommand";
15
19
  export * from "./ListCatalogItemsCommand";
16
20
  export * from "./ListOrdersCommand";
17
21
  export * from "./ListOutpostsCommand";
18
22
  export * from "./ListSitesCommand";
19
23
  export * from "./ListTagsForResourceCommand";
24
+ export * from "./StartCapacityTaskCommand";
20
25
  export * from "./StartConnectionCommand";
21
26
  export * from "./TagResourceCommand";
22
27
  export * from "./UntagResourceCommand";
@@ -58,10 +58,11 @@ export declare const AssetState: {
58
58
  readonly RETIRING: "RETIRING";
59
59
  };
60
60
  export type AssetState = (typeof AssetState)[keyof typeof AssetState];
61
- export interface CancelOrderInput {
62
- OrderId: string | undefined;
61
+ export interface CancelCapacityTaskInput {
62
+ CapacityTaskId: string | undefined;
63
+ OutpostIdentifier: string | undefined;
63
64
  }
64
- export interface CancelOrderOutput {}
65
+ export interface CancelCapacityTaskOutput {}
65
66
  export declare const ResourceType: {
66
67
  readonly ORDER: "ORDER";
67
68
  readonly OUTPOST: "OUTPOST";
@@ -97,6 +98,37 @@ export declare class ValidationException extends __BaseException {
97
98
  opts: __ExceptionOptionType<ValidationException, __BaseException>
98
99
  );
99
100
  }
101
+ export interface CancelOrderInput {
102
+ OrderId: string | undefined;
103
+ }
104
+ export interface CancelOrderOutput {}
105
+ export declare const CapacityTaskFailureType: {
106
+ readonly UNSUPPORTED_CAPACITY_CONFIGURATION: "UNSUPPORTED_CAPACITY_CONFIGURATION";
107
+ };
108
+ export type CapacityTaskFailureType =
109
+ (typeof CapacityTaskFailureType)[keyof typeof CapacityTaskFailureType];
110
+ export interface CapacityTaskFailure {
111
+ Reason: string | undefined;
112
+ Type?: CapacityTaskFailureType;
113
+ }
114
+ export declare const CapacityTaskStatus: {
115
+ readonly CANCELLED: "CANCELLED";
116
+ readonly COMPLETED: "COMPLETED";
117
+ readonly FAILED: "FAILED";
118
+ readonly IN_PROGRESS: "IN_PROGRESS";
119
+ readonly REQUESTED: "REQUESTED";
120
+ };
121
+ export type CapacityTaskStatus =
122
+ (typeof CapacityTaskStatus)[keyof typeof CapacityTaskStatus];
123
+ export interface CapacityTaskSummary {
124
+ CapacityTaskId?: string;
125
+ OutpostId?: string;
126
+ OrderId?: string;
127
+ CapacityTaskStatus?: CapacityTaskStatus;
128
+ CreationDate?: Date;
129
+ CompletionDate?: Date;
130
+ LastModifiedDate?: Date;
131
+ }
100
132
  export interface EC2Capacity {
101
133
  Family?: string;
102
134
  MaxSize?: string;
@@ -165,6 +197,7 @@ export interface LineItemAssetInformation {
165
197
  export declare const ShipmentCarrier: {
166
198
  readonly DBS: "DBS";
167
199
  readonly DHL: "DHL";
200
+ readonly EXPEDITORS: "EXPEDITORS";
168
201
  readonly FEDEX: "FEDEX";
169
202
  readonly UPS: "UPS";
170
203
  };
@@ -390,6 +423,26 @@ export interface DeleteSiteInput {
390
423
  SiteId: string | undefined;
391
424
  }
392
425
  export interface DeleteSiteOutput {}
426
+ export interface GetCapacityTaskInput {
427
+ CapacityTaskId: string | undefined;
428
+ OutpostIdentifier: string | undefined;
429
+ }
430
+ export interface InstanceTypeCapacity {
431
+ InstanceType: string | undefined;
432
+ Count: number | undefined;
433
+ }
434
+ export interface GetCapacityTaskOutput {
435
+ CapacityTaskId?: string;
436
+ OutpostId?: string;
437
+ OrderId?: string;
438
+ RequestedInstancePools?: InstanceTypeCapacity[];
439
+ DryRun?: boolean;
440
+ CapacityTaskStatus?: CapacityTaskStatus;
441
+ Failed?: CapacityTaskFailure;
442
+ CreationDate?: Date;
443
+ CompletionDate?: Date;
444
+ LastModifiedDate?: Date;
445
+ }
393
446
  export interface GetCatalogItemInput {
394
447
  CatalogItemId: string | undefined;
395
448
  }
@@ -429,6 +482,16 @@ export interface GetOutpostInstanceTypesOutput {
429
482
  OutpostId?: string;
430
483
  OutpostArn?: string;
431
484
  }
485
+ export interface GetOutpostSupportedInstanceTypesInput {
486
+ OutpostIdentifier: string | undefined;
487
+ OrderId: string | undefined;
488
+ MaxResults?: number;
489
+ NextToken?: string;
490
+ }
491
+ export interface GetOutpostSupportedInstanceTypesOutput {
492
+ InstanceTypes?: InstanceTypeItem[];
493
+ NextToken?: string;
494
+ }
432
495
  export interface GetSiteInput {
433
496
  SiteId: string | undefined;
434
497
  }
@@ -455,6 +518,16 @@ export interface ListAssetsOutput {
455
518
  Assets?: AssetInfo[];
456
519
  NextToken?: string;
457
520
  }
521
+ export interface ListCapacityTasksInput {
522
+ OutpostIdentifierFilter?: string;
523
+ MaxResults?: number;
524
+ NextToken?: string;
525
+ CapacityTaskStatusFilter?: CapacityTaskStatus[];
526
+ }
527
+ export interface ListCapacityTasksOutput {
528
+ CapacityTasks?: CapacityTaskSummary[];
529
+ NextToken?: string;
530
+ }
458
531
  export interface ListCatalogItemsInput {
459
532
  NextToken?: string;
460
533
  MaxResults?: number;
@@ -512,6 +585,24 @@ export interface ListTagsForResourceRequest {
512
585
  export interface ListTagsForResourceResponse {
513
586
  Tags?: Record<string, string>;
514
587
  }
588
+ export interface StartCapacityTaskInput {
589
+ OutpostIdentifier: string | undefined;
590
+ OrderId: string | undefined;
591
+ InstancePools: InstanceTypeCapacity[] | undefined;
592
+ DryRun?: boolean;
593
+ }
594
+ export interface StartCapacityTaskOutput {
595
+ CapacityTaskId?: string;
596
+ OutpostId?: string;
597
+ OrderId?: string;
598
+ RequestedInstancePools?: InstanceTypeCapacity[];
599
+ DryRun?: boolean;
600
+ CapacityTaskStatus?: CapacityTaskStatus;
601
+ Failed?: CapacityTaskFailure;
602
+ CreationDate?: Date;
603
+ CompletionDate?: Date;
604
+ LastModifiedDate?: Date;
605
+ }
515
606
  export interface StartConnectionRequest {
516
607
  DeviceSerialNumber?: string;
517
608
  AssetId: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetOutpostSupportedInstanceTypesCommandInput,
4
+ GetOutpostSupportedInstanceTypesCommandOutput,
5
+ } from "../commands/GetOutpostSupportedInstanceTypesCommand";
6
+ import { OutpostsPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetOutpostSupportedInstanceTypes: (
8
+ config: OutpostsPaginationConfiguration,
9
+ input: GetOutpostSupportedInstanceTypesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetOutpostSupportedInstanceTypesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListCapacityTasksCommandInput,
4
+ ListCapacityTasksCommandOutput,
5
+ } from "../commands/ListCapacityTasksCommand";
6
+ import { OutpostsPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListCapacityTasks: (
8
+ config: OutpostsPaginationConfiguration,
9
+ input: ListCapacityTasksCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListCapacityTasksCommandOutput>;
@@ -1,6 +1,8 @@
1
1
  export * from "./GetOutpostInstanceTypesPaginator";
2
+ export * from "./GetOutpostSupportedInstanceTypesPaginator";
2
3
  export * from "./Interfaces";
3
4
  export * from "./ListAssetsPaginator";
5
+ export * from "./ListCapacityTasksPaginator";
4
6
  export * from "./ListCatalogItemsPaginator";
5
7
  export * from "./ListOrdersPaginator";
6
8
  export * from "./ListOutpostsPaginator";