@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
@@ -7,25 +7,30 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { CancelCapacityTaskCommandInput, CancelCapacityTaskCommandOutput } from "./commands/CancelCapacityTaskCommand";
10
11
  import { CancelOrderCommandInput, CancelOrderCommandOutput } from "./commands/CancelOrderCommand";
11
12
  import { CreateOrderCommandInput, CreateOrderCommandOutput } from "./commands/CreateOrderCommand";
12
13
  import { CreateOutpostCommandInput, CreateOutpostCommandOutput } from "./commands/CreateOutpostCommand";
13
14
  import { CreateSiteCommandInput, CreateSiteCommandOutput } from "./commands/CreateSiteCommand";
14
15
  import { DeleteOutpostCommandInput, DeleteOutpostCommandOutput } from "./commands/DeleteOutpostCommand";
15
16
  import { DeleteSiteCommandInput, DeleteSiteCommandOutput } from "./commands/DeleteSiteCommand";
17
+ import { GetCapacityTaskCommandInput, GetCapacityTaskCommandOutput } from "./commands/GetCapacityTaskCommand";
16
18
  import { GetCatalogItemCommandInput, GetCatalogItemCommandOutput } from "./commands/GetCatalogItemCommand";
17
19
  import { GetConnectionCommandInput, GetConnectionCommandOutput } from "./commands/GetConnectionCommand";
18
20
  import { GetOrderCommandInput, GetOrderCommandOutput } from "./commands/GetOrderCommand";
19
21
  import { GetOutpostCommandInput, GetOutpostCommandOutput } from "./commands/GetOutpostCommand";
20
22
  import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput } from "./commands/GetOutpostInstanceTypesCommand";
23
+ import { GetOutpostSupportedInstanceTypesCommandInput, GetOutpostSupportedInstanceTypesCommandOutput } from "./commands/GetOutpostSupportedInstanceTypesCommand";
21
24
  import { GetSiteAddressCommandInput, GetSiteAddressCommandOutput } from "./commands/GetSiteAddressCommand";
22
25
  import { GetSiteCommandInput, GetSiteCommandOutput } from "./commands/GetSiteCommand";
23
26
  import { ListAssetsCommandInput, ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
27
+ import { ListCapacityTasksCommandInput, ListCapacityTasksCommandOutput } from "./commands/ListCapacityTasksCommand";
24
28
  import { ListCatalogItemsCommandInput, ListCatalogItemsCommandOutput } from "./commands/ListCatalogItemsCommand";
25
29
  import { ListOrdersCommandInput, ListOrdersCommandOutput } from "./commands/ListOrdersCommand";
26
30
  import { ListOutpostsCommandInput, ListOutpostsCommandOutput } from "./commands/ListOutpostsCommand";
27
31
  import { ListSitesCommandInput, ListSitesCommandOutput } from "./commands/ListSitesCommand";
28
32
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
33
+ import { StartCapacityTaskCommandInput, StartCapacityTaskCommandOutput } from "./commands/StartCapacityTaskCommand";
29
34
  import { StartConnectionCommandInput, StartConnectionCommandOutput } from "./commands/StartConnectionCommand";
30
35
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
31
36
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
@@ -39,11 +44,11 @@ export { __Client };
39
44
  /**
40
45
  * @public
41
46
  */
42
- export type ServiceInputTypes = CancelOrderCommandInput | CreateOrderCommandInput | CreateOutpostCommandInput | CreateSiteCommandInput | DeleteOutpostCommandInput | DeleteSiteCommandInput | GetCatalogItemCommandInput | GetConnectionCommandInput | GetOrderCommandInput | GetOutpostCommandInput | GetOutpostInstanceTypesCommandInput | GetSiteAddressCommandInput | GetSiteCommandInput | ListAssetsCommandInput | ListCatalogItemsCommandInput | ListOrdersCommandInput | ListOutpostsCommandInput | ListSitesCommandInput | ListTagsForResourceCommandInput | StartConnectionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOutpostCommandInput | UpdateSiteAddressCommandInput | UpdateSiteCommandInput | UpdateSiteRackPhysicalPropertiesCommandInput;
47
+ export type ServiceInputTypes = CancelCapacityTaskCommandInput | CancelOrderCommandInput | CreateOrderCommandInput | CreateOutpostCommandInput | CreateSiteCommandInput | DeleteOutpostCommandInput | DeleteSiteCommandInput | GetCapacityTaskCommandInput | GetCatalogItemCommandInput | GetConnectionCommandInput | GetOrderCommandInput | GetOutpostCommandInput | GetOutpostInstanceTypesCommandInput | GetOutpostSupportedInstanceTypesCommandInput | GetSiteAddressCommandInput | GetSiteCommandInput | ListAssetsCommandInput | ListCapacityTasksCommandInput | ListCatalogItemsCommandInput | ListOrdersCommandInput | ListOutpostsCommandInput | ListSitesCommandInput | ListTagsForResourceCommandInput | StartCapacityTaskCommandInput | StartConnectionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOutpostCommandInput | UpdateSiteAddressCommandInput | UpdateSiteCommandInput | UpdateSiteRackPhysicalPropertiesCommandInput;
43
48
  /**
44
49
  * @public
45
50
  */
46
- export type ServiceOutputTypes = CancelOrderCommandOutput | CreateOrderCommandOutput | CreateOutpostCommandOutput | CreateSiteCommandOutput | DeleteOutpostCommandOutput | DeleteSiteCommandOutput | GetCatalogItemCommandOutput | GetConnectionCommandOutput | GetOrderCommandOutput | GetOutpostCommandOutput | GetOutpostInstanceTypesCommandOutput | GetSiteAddressCommandOutput | GetSiteCommandOutput | ListAssetsCommandOutput | ListCatalogItemsCommandOutput | ListOrdersCommandOutput | ListOutpostsCommandOutput | ListSitesCommandOutput | ListTagsForResourceCommandOutput | StartConnectionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOutpostCommandOutput | UpdateSiteAddressCommandOutput | UpdateSiteCommandOutput | UpdateSiteRackPhysicalPropertiesCommandOutput;
51
+ export type ServiceOutputTypes = CancelCapacityTaskCommandOutput | CancelOrderCommandOutput | CreateOrderCommandOutput | CreateOutpostCommandOutput | CreateSiteCommandOutput | DeleteOutpostCommandOutput | DeleteSiteCommandOutput | GetCapacityTaskCommandOutput | GetCatalogItemCommandOutput | GetConnectionCommandOutput | GetOrderCommandOutput | GetOutpostCommandOutput | GetOutpostInstanceTypesCommandOutput | GetOutpostSupportedInstanceTypesCommandOutput | GetSiteAddressCommandOutput | GetSiteCommandOutput | ListAssetsCommandOutput | ListCapacityTasksCommandOutput | ListCatalogItemsCommandOutput | ListOrdersCommandOutput | ListOutpostsCommandOutput | ListSitesCommandOutput | ListTagsForResourceCommandOutput | StartCapacityTaskCommandOutput | StartConnectionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOutpostCommandOutput | UpdateSiteAddressCommandOutput | UpdateSiteCommandOutput | UpdateSiteRackPhysicalPropertiesCommandOutput;
47
52
  /**
48
53
  * @public
49
54
  */
@@ -0,0 +1,73 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CancelCapacityTaskInput, CancelCapacityTaskOutput } from "../models/models_0";
4
+ import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link CancelCapacityTaskCommand}.
13
+ */
14
+ export interface CancelCapacityTaskCommandInput extends CancelCapacityTaskInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link CancelCapacityTaskCommand}.
20
+ */
21
+ export interface CancelCapacityTaskCommandOutput extends CancelCapacityTaskOutput, __MetadataBearer {
22
+ }
23
+ declare const CancelCapacityTaskCommand_base: {
24
+ new (input: CancelCapacityTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CancelCapacityTaskCommandInput, CancelCapacityTaskCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CancelCapacityTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CancelCapacityTaskCommandInput, CancelCapacityTaskCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Cancels the capacity task.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { OutpostsClient, CancelCapacityTaskCommand } from "@aws-sdk/client-outposts"; // ES Modules import
34
+ * // const { OutpostsClient, CancelCapacityTaskCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
35
+ * const client = new OutpostsClient(config);
36
+ * const input = { // CancelCapacityTaskInput
37
+ * CapacityTaskId: "STRING_VALUE", // required
38
+ * OutpostIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new CancelCapacityTaskCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param CancelCapacityTaskCommandInput - {@link CancelCapacityTaskCommandInput}
47
+ * @returns {@link CancelCapacityTaskCommandOutput}
48
+ * @see {@link CancelCapacityTaskCommandInput} for command's `input` shape.
49
+ * @see {@link CancelCapacityTaskCommandOutput} for command's `response` shape.
50
+ * @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>You do not have permission to perform this operation.</p>
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <p>Updating or deleting this resource can cause an inconsistent state.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>An internal error has occurred.</p>
60
+ *
61
+ * @throws {@link NotFoundException} (client fault)
62
+ * <p>The specified request is not valid.</p>
63
+ *
64
+ * @throws {@link ValidationException} (client fault)
65
+ * <p>A parameter is not valid.</p>
66
+ *
67
+ * @throws {@link OutpostsServiceException}
68
+ * <p>Base exception class for all service exceptions from Outposts service.</p>
69
+ *
70
+ * @public
71
+ */
72
+ export declare class CancelCapacityTaskCommand extends CancelCapacityTaskCommand_base {
73
+ }
@@ -59,7 +59,7 @@ declare const CreateOrderCommand_base: {
59
59
  * // Status: "PREPARING" || "BUILDING" || "SHIPPED" || "DELIVERED" || "INSTALLING" || "INSTALLED" || "ERROR" || "CANCELLED" || "REPLACED",
60
60
  * // ShipmentInformation: { // ShipmentInformation
61
61
  * // ShipmentTrackingNumber: "STRING_VALUE",
62
- * // ShipmentCarrier: "DHL" || "DBS" || "FEDEX" || "UPS",
62
+ * // ShipmentCarrier: "DHL" || "DBS" || "FEDEX" || "UPS" || "EXPEDITORS",
63
63
  * // },
64
64
  * // AssetInformationList: [ // LineItemAssetInformationList
65
65
  * // { // LineItemAssetInformation
@@ -0,0 +1,89 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetCapacityTaskInput, GetCapacityTaskOutput } from "../models/models_0";
4
+ import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link GetCapacityTaskCommand}.
13
+ */
14
+ export interface GetCapacityTaskCommandInput extends GetCapacityTaskInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetCapacityTaskCommand}.
20
+ */
21
+ export interface GetCapacityTaskCommandOutput extends GetCapacityTaskOutput, __MetadataBearer {
22
+ }
23
+ declare const GetCapacityTaskCommand_base: {
24
+ new (input: GetCapacityTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetCapacityTaskCommandInput, GetCapacityTaskCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetCapacityTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetCapacityTaskCommandInput, GetCapacityTaskCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Gets details of the specified capacity task.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { OutpostsClient, GetCapacityTaskCommand } from "@aws-sdk/client-outposts"; // ES Modules import
34
+ * // const { OutpostsClient, GetCapacityTaskCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
35
+ * const client = new OutpostsClient(config);
36
+ * const input = { // GetCapacityTaskInput
37
+ * CapacityTaskId: "STRING_VALUE", // required
38
+ * OutpostIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetCapacityTaskCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetCapacityTaskOutput
43
+ * // CapacityTaskId: "STRING_VALUE",
44
+ * // OutpostId: "STRING_VALUE",
45
+ * // OrderId: "STRING_VALUE",
46
+ * // RequestedInstancePools: [ // RequestedInstancePools
47
+ * // { // InstanceTypeCapacity
48
+ * // InstanceType: "STRING_VALUE", // required
49
+ * // Count: Number("int"), // required
50
+ * // },
51
+ * // ],
52
+ * // DryRun: true || false,
53
+ * // CapacityTaskStatus: "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "CANCELLED",
54
+ * // Failed: { // CapacityTaskFailure
55
+ * // Reason: "STRING_VALUE", // required
56
+ * // Type: "UNSUPPORTED_CAPACITY_CONFIGURATION",
57
+ * // },
58
+ * // CreationDate: new Date("TIMESTAMP"),
59
+ * // CompletionDate: new Date("TIMESTAMP"),
60
+ * // LastModifiedDate: new Date("TIMESTAMP"),
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param GetCapacityTaskCommandInput - {@link GetCapacityTaskCommandInput}
66
+ * @returns {@link GetCapacityTaskCommandOutput}
67
+ * @see {@link GetCapacityTaskCommandInput} for command's `input` shape.
68
+ * @see {@link GetCapacityTaskCommandOutput} for command's `response` shape.
69
+ * @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>You do not have permission to perform this operation.</p>
73
+ *
74
+ * @throws {@link InternalServerException} (server fault)
75
+ * <p>An internal error has occurred.</p>
76
+ *
77
+ * @throws {@link NotFoundException} (client fault)
78
+ * <p>The specified request is not valid.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>A parameter is not valid.</p>
82
+ *
83
+ * @throws {@link OutpostsServiceException}
84
+ * <p>Base exception class for all service exceptions from Outposts service.</p>
85
+ *
86
+ * @public
87
+ */
88
+ export declare class GetCapacityTaskCommand extends GetCapacityTaskCommand_base {
89
+ }
@@ -51,7 +51,7 @@ declare const GetOrderCommand_base: {
51
51
  * // Status: "PREPARING" || "BUILDING" || "SHIPPED" || "DELIVERED" || "INSTALLING" || "INSTALLED" || "ERROR" || "CANCELLED" || "REPLACED",
52
52
  * // ShipmentInformation: { // ShipmentInformation
53
53
  * // ShipmentTrackingNumber: "STRING_VALUE",
54
- * // ShipmentCarrier: "DHL" || "DBS" || "FEDEX" || "UPS",
54
+ * // ShipmentCarrier: "DHL" || "DBS" || "FEDEX" || "UPS" || "EXPEDITORS",
55
55
  * // },
56
56
  * // AssetInformationList: [ // LineItemAssetInformationList
57
57
  * // { // LineItemAssetInformation
@@ -0,0 +1,82 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetOutpostSupportedInstanceTypesInput, GetOutpostSupportedInstanceTypesOutput } from "../models/models_0";
4
+ import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link GetOutpostSupportedInstanceTypesCommand}.
13
+ */
14
+ export interface GetOutpostSupportedInstanceTypesCommandInput extends GetOutpostSupportedInstanceTypesInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetOutpostSupportedInstanceTypesCommand}.
20
+ */
21
+ export interface GetOutpostSupportedInstanceTypesCommandOutput extends GetOutpostSupportedInstanceTypesOutput, __MetadataBearer {
22
+ }
23
+ declare const GetOutpostSupportedInstanceTypesCommand_base: {
24
+ new (input: GetOutpostSupportedInstanceTypesCommandInput): import("@smithy/smithy-client").CommandImpl<GetOutpostSupportedInstanceTypesCommandInput, GetOutpostSupportedInstanceTypesCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetOutpostSupportedInstanceTypesCommandInput): import("@smithy/smithy-client").CommandImpl<GetOutpostSupportedInstanceTypesCommandInput, GetOutpostSupportedInstanceTypesCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Gets the instance types that an
30
+ * Outpost can support in <code>InstanceTypeCapacity</code>. This will generally include instance types that
31
+ * are not currently configured and therefore cannot be launched with the current Outpost
32
+ * capacity configuration.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { OutpostsClient, GetOutpostSupportedInstanceTypesCommand } from "@aws-sdk/client-outposts"; // ES Modules import
37
+ * // const { OutpostsClient, GetOutpostSupportedInstanceTypesCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
38
+ * const client = new OutpostsClient(config);
39
+ * const input = { // GetOutpostSupportedInstanceTypesInput
40
+ * OutpostIdentifier: "STRING_VALUE", // required
41
+ * OrderId: "STRING_VALUE", // required
42
+ * MaxResults: Number("int"),
43
+ * NextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new GetOutpostSupportedInstanceTypesCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // GetOutpostSupportedInstanceTypesOutput
48
+ * // InstanceTypes: [ // InstanceTypeListDefinition
49
+ * // { // InstanceTypeItem
50
+ * // InstanceType: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // NextToken: "STRING_VALUE",
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param GetOutpostSupportedInstanceTypesCommandInput - {@link GetOutpostSupportedInstanceTypesCommandInput}
59
+ * @returns {@link GetOutpostSupportedInstanceTypesCommandOutput}
60
+ * @see {@link GetOutpostSupportedInstanceTypesCommandInput} for command's `input` shape.
61
+ * @see {@link GetOutpostSupportedInstanceTypesCommandOutput} for command's `response` shape.
62
+ * @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>You do not have permission to perform this operation.</p>
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * <p>An internal error has occurred.</p>
69
+ *
70
+ * @throws {@link NotFoundException} (client fault)
71
+ * <p>The specified request is not valid.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>A parameter is not valid.</p>
75
+ *
76
+ * @throws {@link OutpostsServiceException}
77
+ * <p>Base exception class for all service exceptions from Outposts service.</p>
78
+ *
79
+ * @public
80
+ */
81
+ export declare class GetOutpostSupportedInstanceTypesCommand extends GetOutpostSupportedInstanceTypesCommand_base {
82
+ }
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListCapacityTasksInput, ListCapacityTasksOutput } from "../models/models_0";
4
+ import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListCapacityTasksCommand}.
13
+ */
14
+ export interface ListCapacityTasksCommandInput extends ListCapacityTasksInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListCapacityTasksCommand}.
20
+ */
21
+ export interface ListCapacityTasksCommandOutput extends ListCapacityTasksOutput, __MetadataBearer {
22
+ }
23
+ declare const ListCapacityTasksCommand_base: {
24
+ new (input: ListCapacityTasksCommandInput): import("@smithy/smithy-client").CommandImpl<ListCapacityTasksCommandInput, ListCapacityTasksCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListCapacityTasksCommandInput]): import("@smithy/smithy-client").CommandImpl<ListCapacityTasksCommandInput, ListCapacityTasksCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Lists the capacity tasks for your Amazon Web Services account.</p>
30
+ * <p>Use filters to return specific results. If you specify multiple filters, the results include only the resources that match
31
+ * all of the specified filters. For a filter where you can specify multiple values, the results include
32
+ * items that match any of the values that you specify for the filter.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { OutpostsClient, ListCapacityTasksCommand } from "@aws-sdk/client-outposts"; // ES Modules import
37
+ * // const { OutpostsClient, ListCapacityTasksCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
38
+ * const client = new OutpostsClient(config);
39
+ * const input = { // ListCapacityTasksInput
40
+ * OutpostIdentifierFilter: "STRING_VALUE",
41
+ * MaxResults: Number("int"),
42
+ * NextToken: "STRING_VALUE",
43
+ * CapacityTaskStatusFilter: [ // CapacityTaskStatusList
44
+ * "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "CANCELLED",
45
+ * ],
46
+ * };
47
+ * const command = new ListCapacityTasksCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListCapacityTasksOutput
50
+ * // CapacityTasks: [ // CapacityTaskList
51
+ * // { // CapacityTaskSummary
52
+ * // CapacityTaskId: "STRING_VALUE",
53
+ * // OutpostId: "STRING_VALUE",
54
+ * // OrderId: "STRING_VALUE",
55
+ * // CapacityTaskStatus: "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "CANCELLED",
56
+ * // CreationDate: new Date("TIMESTAMP"),
57
+ * // CompletionDate: new Date("TIMESTAMP"),
58
+ * // LastModifiedDate: new Date("TIMESTAMP"),
59
+ * // },
60
+ * // ],
61
+ * // NextToken: "STRING_VALUE",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param ListCapacityTasksCommandInput - {@link ListCapacityTasksCommandInput}
67
+ * @returns {@link ListCapacityTasksCommandOutput}
68
+ * @see {@link ListCapacityTasksCommandInput} for command's `input` shape.
69
+ * @see {@link ListCapacityTasksCommandOutput} for command's `response` shape.
70
+ * @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>You do not have permission to perform this operation.</p>
74
+ *
75
+ * @throws {@link InternalServerException} (server fault)
76
+ * <p>An internal error has occurred.</p>
77
+ *
78
+ * @throws {@link NotFoundException} (client fault)
79
+ * <p>The specified request is not valid.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>A parameter is not valid.</p>
83
+ *
84
+ * @throws {@link OutpostsServiceException}
85
+ * <p>Base exception class for all service exceptions from Outposts service.</p>
86
+ *
87
+ * @public
88
+ */
89
+ export declare class ListCapacityTasksCommand extends ListCapacityTasksCommand_base {
90
+ }
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { StartCapacityTaskInput, StartCapacityTaskOutput } from "../models/models_0";
4
+ import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link StartCapacityTaskCommand}.
13
+ */
14
+ export interface StartCapacityTaskCommandInput extends StartCapacityTaskInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link StartCapacityTaskCommand}.
20
+ */
21
+ export interface StartCapacityTaskCommandOutput extends StartCapacityTaskOutput, __MetadataBearer {
22
+ }
23
+ declare const StartCapacityTaskCommand_base: {
24
+ new (input: StartCapacityTaskCommandInput): import("@smithy/smithy-client").CommandImpl<StartCapacityTaskCommandInput, StartCapacityTaskCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: StartCapacityTaskCommandInput): import("@smithy/smithy-client").CommandImpl<StartCapacityTaskCommandInput, StartCapacityTaskCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Starts the specified capacity task. You can have one active capacity task for an order.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { OutpostsClient, StartCapacityTaskCommand } from "@aws-sdk/client-outposts"; // ES Modules import
34
+ * // const { OutpostsClient, StartCapacityTaskCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
35
+ * const client = new OutpostsClient(config);
36
+ * const input = { // StartCapacityTaskInput
37
+ * OutpostIdentifier: "STRING_VALUE", // required
38
+ * OrderId: "STRING_VALUE", // required
39
+ * InstancePools: [ // RequestedInstancePools // required
40
+ * { // InstanceTypeCapacity
41
+ * InstanceType: "STRING_VALUE", // required
42
+ * Count: Number("int"), // required
43
+ * },
44
+ * ],
45
+ * DryRun: true || false,
46
+ * };
47
+ * const command = new StartCapacityTaskCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // StartCapacityTaskOutput
50
+ * // CapacityTaskId: "STRING_VALUE",
51
+ * // OutpostId: "STRING_VALUE",
52
+ * // OrderId: "STRING_VALUE",
53
+ * // RequestedInstancePools: [ // RequestedInstancePools
54
+ * // { // InstanceTypeCapacity
55
+ * // InstanceType: "STRING_VALUE", // required
56
+ * // Count: Number("int"), // required
57
+ * // },
58
+ * // ],
59
+ * // DryRun: true || false,
60
+ * // CapacityTaskStatus: "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "CANCELLED",
61
+ * // Failed: { // CapacityTaskFailure
62
+ * // Reason: "STRING_VALUE", // required
63
+ * // Type: "UNSUPPORTED_CAPACITY_CONFIGURATION",
64
+ * // },
65
+ * // CreationDate: new Date("TIMESTAMP"),
66
+ * // CompletionDate: new Date("TIMESTAMP"),
67
+ * // LastModifiedDate: new Date("TIMESTAMP"),
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param StartCapacityTaskCommandInput - {@link StartCapacityTaskCommandInput}
73
+ * @returns {@link StartCapacityTaskCommandOutput}
74
+ * @see {@link StartCapacityTaskCommandInput} for command's `input` shape.
75
+ * @see {@link StartCapacityTaskCommandOutput} for command's `response` shape.
76
+ * @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
77
+ *
78
+ * @throws {@link AccessDeniedException} (client fault)
79
+ * <p>You do not have permission to perform this operation.</p>
80
+ *
81
+ * @throws {@link ConflictException} (client fault)
82
+ * <p>Updating or deleting this resource can cause an inconsistent state.</p>
83
+ *
84
+ * @throws {@link InternalServerException} (server fault)
85
+ * <p>An internal error has occurred.</p>
86
+ *
87
+ * @throws {@link NotFoundException} (client fault)
88
+ * <p>The specified request is not valid.</p>
89
+ *
90
+ * @throws {@link ValidationException} (client fault)
91
+ * <p>A parameter is not valid.</p>
92
+ *
93
+ * @throws {@link OutpostsServiceException}
94
+ * <p>Base exception class for all service exceptions from Outposts service.</p>
95
+ *
96
+ * @public
97
+ */
98
+ export declare class StartCapacityTaskCommand extends StartCapacityTaskCommand_base {
99
+ }
@@ -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";