@aws-sdk/client-outposts 3.687.0 → 3.691.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 (37) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +145 -6
  3. package/dist-es/Outposts.js +4 -0
  4. package/dist-es/commands/ListAssetInstancesCommand.js +22 -0
  5. package/dist-es/commands/ListBlockingInstancesForCapacityTaskCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +18 -0
  8. package/dist-es/pagination/ListAssetInstancesPaginator.js +4 -0
  9. package/dist-es/pagination/ListBlockingInstancesForCapacityTaskPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +2 -0
  11. package/dist-es/protocols/Aws_restJson1.js +72 -1
  12. package/dist-types/Outposts.d.ts +14 -0
  13. package/dist-types/OutpostsClient.d.ts +4 -2
  14. package/dist-types/commands/GetCapacityTaskCommand.d.ts +14 -2
  15. package/dist-types/commands/GetOutpostSupportedInstanceTypesCommand.d.ts +4 -5
  16. package/dist-types/commands/ListAssetInstancesCommand.d.ts +107 -0
  17. package/dist-types/commands/ListAssetsCommand.d.ts +7 -0
  18. package/dist-types/commands/ListBlockingInstancesForCapacityTaskCommand.d.ts +95 -0
  19. package/dist-types/commands/ListCapacityTasksCommand.d.ts +2 -2
  20. package/dist-types/commands/StartCapacityTaskCommand.d.ts +28 -4
  21. package/dist-types/commands/index.d.ts +2 -0
  22. package/dist-types/models/models_0.d.ts +540 -236
  23. package/dist-types/pagination/ListAssetInstancesPaginator.d.ts +7 -0
  24. package/dist-types/pagination/ListBlockingInstancesForCapacityTaskPaginator.d.ts +7 -0
  25. package/dist-types/pagination/index.d.ts +2 -0
  26. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  27. package/dist-types/ts3.4/Outposts.d.ts +40 -0
  28. package/dist-types/ts3.4/OutpostsClient.d.ts +12 -0
  29. package/dist-types/ts3.4/commands/ListAssetInstancesCommand.d.ts +51 -0
  30. package/dist-types/ts3.4/commands/ListBlockingInstancesForCapacityTaskCommand.d.ts +51 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +304 -230
  33. package/dist-types/ts3.4/pagination/ListAssetInstancesPaginator.d.ts +11 -0
  34. package/dist-types/ts3.4/pagination/ListBlockingInstancesForCapacityTaskPaginator.d.ts +11 -0
  35. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  36. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  37. package/package.json +7 -7
@@ -15,7 +15,9 @@ import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutp
15
15
  import { GetOutpostSupportedInstanceTypesCommandInput, GetOutpostSupportedInstanceTypesCommandOutput } from "./commands/GetOutpostSupportedInstanceTypesCommand";
16
16
  import { GetSiteAddressCommandInput, GetSiteAddressCommandOutput } from "./commands/GetSiteAddressCommand";
17
17
  import { GetSiteCommandInput, GetSiteCommandOutput } from "./commands/GetSiteCommand";
18
+ import { ListAssetInstancesCommandInput, ListAssetInstancesCommandOutput } from "./commands/ListAssetInstancesCommand";
18
19
  import { ListAssetsCommandInput, ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
20
+ import { ListBlockingInstancesForCapacityTaskCommandInput, ListBlockingInstancesForCapacityTaskCommandOutput } from "./commands/ListBlockingInstancesForCapacityTaskCommand";
19
21
  import { ListCapacityTasksCommandInput, ListCapacityTasksCommandOutput } from "./commands/ListCapacityTasksCommand";
20
22
  import { ListCatalogItemsCommandInput, ListCatalogItemsCommandOutput } from "./commands/ListCatalogItemsCommand";
21
23
  import { ListOrdersCommandInput, ListOrdersCommandOutput } from "./commands/ListOrdersCommand";
@@ -128,12 +130,24 @@ export interface Outposts {
128
130
  getSiteAddress(args: GetSiteAddressCommandInput, options?: __HttpHandlerOptions): Promise<GetSiteAddressCommandOutput>;
129
131
  getSiteAddress(args: GetSiteAddressCommandInput, cb: (err: any, data?: GetSiteAddressCommandOutput) => void): void;
130
132
  getSiteAddress(args: GetSiteAddressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSiteAddressCommandOutput) => void): void;
133
+ /**
134
+ * @see {@link ListAssetInstancesCommand}
135
+ */
136
+ listAssetInstances(args: ListAssetInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListAssetInstancesCommandOutput>;
137
+ listAssetInstances(args: ListAssetInstancesCommandInput, cb: (err: any, data?: ListAssetInstancesCommandOutput) => void): void;
138
+ listAssetInstances(args: ListAssetInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssetInstancesCommandOutput) => void): void;
131
139
  /**
132
140
  * @see {@link ListAssetsCommand}
133
141
  */
134
142
  listAssets(args: ListAssetsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssetsCommandOutput>;
135
143
  listAssets(args: ListAssetsCommandInput, cb: (err: any, data?: ListAssetsCommandOutput) => void): void;
136
144
  listAssets(args: ListAssetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssetsCommandOutput) => void): void;
145
+ /**
146
+ * @see {@link ListBlockingInstancesForCapacityTaskCommand}
147
+ */
148
+ listBlockingInstancesForCapacityTask(args: ListBlockingInstancesForCapacityTaskCommandInput, options?: __HttpHandlerOptions): Promise<ListBlockingInstancesForCapacityTaskCommandOutput>;
149
+ listBlockingInstancesForCapacityTask(args: ListBlockingInstancesForCapacityTaskCommandInput, cb: (err: any, data?: ListBlockingInstancesForCapacityTaskCommandOutput) => void): void;
150
+ listBlockingInstancesForCapacityTask(args: ListBlockingInstancesForCapacityTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBlockingInstancesForCapacityTaskCommandOutput) => void): void;
137
151
  /**
138
152
  * @see {@link ListCapacityTasksCommand}
139
153
  */
@@ -23,7 +23,9 @@ import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutp
23
23
  import { GetOutpostSupportedInstanceTypesCommandInput, GetOutpostSupportedInstanceTypesCommandOutput } from "./commands/GetOutpostSupportedInstanceTypesCommand";
24
24
  import { GetSiteAddressCommandInput, GetSiteAddressCommandOutput } from "./commands/GetSiteAddressCommand";
25
25
  import { GetSiteCommandInput, GetSiteCommandOutput } from "./commands/GetSiteCommand";
26
+ import { ListAssetInstancesCommandInput, ListAssetInstancesCommandOutput } from "./commands/ListAssetInstancesCommand";
26
27
  import { ListAssetsCommandInput, ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
28
+ import { ListBlockingInstancesForCapacityTaskCommandInput, ListBlockingInstancesForCapacityTaskCommandOutput } from "./commands/ListBlockingInstancesForCapacityTaskCommand";
27
29
  import { ListCapacityTasksCommandInput, ListCapacityTasksCommandOutput } from "./commands/ListCapacityTasksCommand";
28
30
  import { ListCatalogItemsCommandInput, ListCatalogItemsCommandOutput } from "./commands/ListCatalogItemsCommand";
29
31
  import { ListOrdersCommandInput, ListOrdersCommandOutput } from "./commands/ListOrdersCommand";
@@ -44,11 +46,11 @@ export { __Client };
44
46
  /**
45
47
  * @public
46
48
  */
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;
49
+ export type ServiceInputTypes = CancelCapacityTaskCommandInput | CancelOrderCommandInput | CreateOrderCommandInput | CreateOutpostCommandInput | CreateSiteCommandInput | DeleteOutpostCommandInput | DeleteSiteCommandInput | GetCapacityTaskCommandInput | GetCatalogItemCommandInput | GetConnectionCommandInput | GetOrderCommandInput | GetOutpostCommandInput | GetOutpostInstanceTypesCommandInput | GetOutpostSupportedInstanceTypesCommandInput | GetSiteAddressCommandInput | GetSiteCommandInput | ListAssetInstancesCommandInput | ListAssetsCommandInput | ListBlockingInstancesForCapacityTaskCommandInput | ListCapacityTasksCommandInput | ListCatalogItemsCommandInput | ListOrdersCommandInput | ListOutpostsCommandInput | ListSitesCommandInput | ListTagsForResourceCommandInput | StartCapacityTaskCommandInput | StartConnectionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOutpostCommandInput | UpdateSiteAddressCommandInput | UpdateSiteCommandInput | UpdateSiteRackPhysicalPropertiesCommandInput;
48
50
  /**
49
51
  * @public
50
52
  */
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;
53
+ export type ServiceOutputTypes = CancelCapacityTaskCommandOutput | CancelOrderCommandOutput | CreateOrderCommandOutput | CreateOutpostCommandOutput | CreateSiteCommandOutput | DeleteOutpostCommandOutput | DeleteSiteCommandOutput | GetCapacityTaskCommandOutput | GetCatalogItemCommandOutput | GetConnectionCommandOutput | GetOrderCommandOutput | GetOutpostCommandOutput | GetOutpostInstanceTypesCommandOutput | GetOutpostSupportedInstanceTypesCommandOutput | GetSiteAddressCommandOutput | GetSiteCommandOutput | ListAssetInstancesCommandOutput | ListAssetsCommandOutput | ListBlockingInstancesForCapacityTaskCommandOutput | ListCapacityTasksCommandOutput | ListCatalogItemsCommandOutput | ListOrdersCommandOutput | ListOutpostsCommandOutput | ListSitesCommandOutput | ListTagsForResourceCommandOutput | StartCapacityTaskCommandOutput | StartConnectionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOutpostCommandOutput | UpdateSiteAddressCommandOutput | UpdateSiteCommandOutput | UpdateSiteRackPhysicalPropertiesCommandOutput;
52
54
  /**
53
55
  * @public
54
56
  */
@@ -50,15 +50,27 @@ declare const GetCapacityTaskCommand_base: {
50
50
  * // Count: Number("int"), // required
51
51
  * // },
52
52
  * // ],
53
+ * // InstancesToExclude: { // InstancesToExclude
54
+ * // Instances: [ // InstanceIdList
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // AccountIds: [ // AccountIdList
58
+ * // "STRING_VALUE",
59
+ * // ],
60
+ * // Services: [ // AWSServiceNameList
61
+ * // "AWS" || "EC2" || "ELASTICACHE" || "ELB" || "RDS" || "ROUTE53",
62
+ * // ],
63
+ * // },
53
64
  * // DryRun: true || false,
54
- * // CapacityTaskStatus: "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "CANCELLED",
65
+ * // CapacityTaskStatus: "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "WAITING_FOR_EVACUATION" || "CANCELLATION_IN_PROGRESS" || "CANCELLED",
55
66
  * // Failed: { // CapacityTaskFailure
56
67
  * // Reason: "STRING_VALUE", // required
57
- * // Type: "UNSUPPORTED_CAPACITY_CONFIGURATION",
68
+ * // Type: "UNSUPPORTED_CAPACITY_CONFIGURATION" || "UNEXPECTED_ASSET_STATE" || "BLOCKING_INSTANCES_NOT_EVACUATED" || "INTERNAL_SERVER_ERROR" || "RESOURCE_NOT_FOUND",
58
69
  * // },
59
70
  * // CreationDate: new Date("TIMESTAMP"),
60
71
  * // CompletionDate: new Date("TIMESTAMP"),
61
72
  * // LastModifiedDate: new Date("TIMESTAMP"),
73
+ * // TaskActionOnBlockingInstances: "WAIT_FOR_EVACUATION" || "FAIL_TASK",
62
74
  * // };
63
75
  *
64
76
  * ```
@@ -27,10 +27,9 @@ declare const GetOutpostSupportedInstanceTypesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Gets the instance types that an
31
- * Outpost can support in <code>InstanceTypeCapacity</code>. This will generally include instance types that
32
- * are not currently configured and therefore cannot be launched with the current Outpost
33
- * capacity configuration.</p>
30
+ * <p>Gets the instance types that an Outpost can support in <code>InstanceTypeCapacity</code>.
31
+ * This will generally include instance types that are not currently configured and therefore
32
+ * cannot be launched with the current Outpost capacity configuration.</p>
34
33
  * @example
35
34
  * Use a bare-bones client and the command you need to make an API call.
36
35
  * ```javascript
@@ -39,7 +38,7 @@ declare const GetOutpostSupportedInstanceTypesCommand_base: {
39
38
  * const client = new OutpostsClient(config);
40
39
  * const input = { // GetOutpostSupportedInstanceTypesInput
41
40
  * OutpostIdentifier: "STRING_VALUE", // required
42
- * OrderId: "STRING_VALUE", // required
41
+ * OrderId: "STRING_VALUE",
43
42
  * MaxResults: Number("int"),
44
43
  * NextToken: "STRING_VALUE",
45
44
  * };
@@ -0,0 +1,107 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListAssetInstancesInput, ListAssetInstancesOutput } from "../models/models_0";
4
+ import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAssetInstancesCommand}.
14
+ */
15
+ export interface ListAssetInstancesCommandInput extends ListAssetInstancesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAssetInstancesCommand}.
21
+ */
22
+ export interface ListAssetInstancesCommandOutput extends ListAssetInstancesOutput, __MetadataBearer {
23
+ }
24
+ declare const ListAssetInstancesCommand_base: {
25
+ new (input: ListAssetInstancesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAssetInstancesCommandInput, ListAssetInstancesCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListAssetInstancesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAssetInstancesCommandInput, ListAssetInstancesCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>A list of Amazon EC2 instances, belonging to all accounts, running on the specified Outpost.
31
+ * Does not include Amazon EBS or Amazon S3 instances.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { OutpostsClient, ListAssetInstancesCommand } from "@aws-sdk/client-outposts"; // ES Modules import
36
+ * // const { OutpostsClient, ListAssetInstancesCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
37
+ * const client = new OutpostsClient(config);
38
+ * const input = { // ListAssetInstancesInput
39
+ * OutpostIdentifier: "STRING_VALUE", // required
40
+ * AssetIdFilter: [ // AssetIdList
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * InstanceTypeFilter: [ // OutpostInstanceTypeList
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * AccountIdFilter: [ // AccountIdList
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * AwsServiceFilter: [ // AWSServiceNameList
50
+ * "AWS" || "EC2" || "ELASTICACHE" || "ELB" || "RDS" || "ROUTE53",
51
+ * ],
52
+ * MaxResults: Number("int"),
53
+ * NextToken: "STRING_VALUE",
54
+ * };
55
+ * const command = new ListAssetInstancesCommand(input);
56
+ * const response = await client.send(command);
57
+ * // { // ListAssetInstancesOutput
58
+ * // AssetInstances: [ // AssetInstanceList
59
+ * // { // AssetInstance
60
+ * // InstanceId: "STRING_VALUE",
61
+ * // InstanceType: "STRING_VALUE",
62
+ * // AssetId: "STRING_VALUE",
63
+ * // AccountId: "STRING_VALUE",
64
+ * // AwsServiceName: "AWS" || "EC2" || "ELASTICACHE" || "ELB" || "RDS" || "ROUTE53",
65
+ * // },
66
+ * // ],
67
+ * // NextToken: "STRING_VALUE",
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param ListAssetInstancesCommandInput - {@link ListAssetInstancesCommandInput}
73
+ * @returns {@link ListAssetInstancesCommandOutput}
74
+ * @see {@link ListAssetInstancesCommandInput} for command's `input` shape.
75
+ * @see {@link ListAssetInstancesCommandOutput} 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 InternalServerException} (server fault)
82
+ * <p>An internal error has occurred.</p>
83
+ *
84
+ * @throws {@link NotFoundException} (client fault)
85
+ * <p>The specified request is not valid.</p>
86
+ *
87
+ * @throws {@link ValidationException} (client fault)
88
+ * <p>A parameter is not valid.</p>
89
+ *
90
+ * @throws {@link OutpostsServiceException}
91
+ * <p>Base exception class for all service exceptions from Outposts service.</p>
92
+ *
93
+ * @public
94
+ */
95
+ export declare class ListAssetInstancesCommand extends ListAssetInstancesCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: ListAssetInstancesInput;
100
+ output: ListAssetInstancesOutput;
101
+ };
102
+ sdk: {
103
+ input: ListAssetInstancesCommandInput;
104
+ output: ListAssetInstancesCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -62,6 +62,13 @@ declare const ListAssetsCommand_base: {
62
62
  * // InstanceFamilies: [ // InstanceFamilies
63
63
  * // "STRING_VALUE",
64
64
  * // ],
65
+ * // InstanceTypeCapacities: [ // AssetInstanceCapacityList
66
+ * // { // AssetInstanceTypeCapacity
67
+ * // InstanceType: "STRING_VALUE", // required
68
+ * // Count: Number("int"), // required
69
+ * // },
70
+ * // ],
71
+ * // MaxVcpus: Number("int"),
65
72
  * // },
66
73
  * // AssetLocation: { // AssetLocation
67
74
  * // RackElevation: Number("float"),
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListBlockingInstancesForCapacityTaskInput, ListBlockingInstancesForCapacityTaskOutput } from "../models/models_0";
4
+ import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListBlockingInstancesForCapacityTaskCommand}.
14
+ */
15
+ export interface ListBlockingInstancesForCapacityTaskCommandInput extends ListBlockingInstancesForCapacityTaskInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListBlockingInstancesForCapacityTaskCommand}.
21
+ */
22
+ export interface ListBlockingInstancesForCapacityTaskCommandOutput extends ListBlockingInstancesForCapacityTaskOutput, __MetadataBearer {
23
+ }
24
+ declare const ListBlockingInstancesForCapacityTaskCommand_base: {
25
+ new (input: ListBlockingInstancesForCapacityTaskCommandInput): import("@smithy/smithy-client").CommandImpl<ListBlockingInstancesForCapacityTaskCommandInput, ListBlockingInstancesForCapacityTaskCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListBlockingInstancesForCapacityTaskCommandInput): import("@smithy/smithy-client").CommandImpl<ListBlockingInstancesForCapacityTaskCommandInput, ListBlockingInstancesForCapacityTaskCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>A list of Amazon EC2 instances running on the Outpost and belonging to the account that
31
+ * initiated the capacity task. Use this list to specify the instances you cannot stop to free up
32
+ * capacity to run the capacity task.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { OutpostsClient, ListBlockingInstancesForCapacityTaskCommand } from "@aws-sdk/client-outposts"; // ES Modules import
37
+ * // const { OutpostsClient, ListBlockingInstancesForCapacityTaskCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
38
+ * const client = new OutpostsClient(config);
39
+ * const input = { // ListBlockingInstancesForCapacityTaskInput
40
+ * OutpostIdentifier: "STRING_VALUE", // required
41
+ * CapacityTaskId: "STRING_VALUE", // required
42
+ * MaxResults: Number("int"),
43
+ * NextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListBlockingInstancesForCapacityTaskCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListBlockingInstancesForCapacityTaskOutput
48
+ * // BlockingInstances: [ // BlockingInstancesList
49
+ * // { // BlockingInstance
50
+ * // InstanceId: "STRING_VALUE",
51
+ * // AccountId: "STRING_VALUE",
52
+ * // AwsServiceName: "AWS" || "EC2" || "ELASTICACHE" || "ELB" || "RDS" || "ROUTE53",
53
+ * // },
54
+ * // ],
55
+ * // NextToken: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListBlockingInstancesForCapacityTaskCommandInput - {@link ListBlockingInstancesForCapacityTaskCommandInput}
61
+ * @returns {@link ListBlockingInstancesForCapacityTaskCommandOutput}
62
+ * @see {@link ListBlockingInstancesForCapacityTaskCommandInput} for command's `input` shape.
63
+ * @see {@link ListBlockingInstancesForCapacityTaskCommandOutput} for command's `response` shape.
64
+ * @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You do not have permission to perform this operation.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>An internal error has occurred.</p>
71
+ *
72
+ * @throws {@link NotFoundException} (client fault)
73
+ * <p>The specified request is not valid.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>A parameter is not valid.</p>
77
+ *
78
+ * @throws {@link OutpostsServiceException}
79
+ * <p>Base exception class for all service exceptions from Outposts service.</p>
80
+ *
81
+ * @public
82
+ */
83
+ export declare class ListBlockingInstancesForCapacityTaskCommand extends ListBlockingInstancesForCapacityTaskCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: ListBlockingInstancesForCapacityTaskInput;
88
+ output: ListBlockingInstancesForCapacityTaskOutput;
89
+ };
90
+ sdk: {
91
+ input: ListBlockingInstancesForCapacityTaskCommandInput;
92
+ output: ListBlockingInstancesForCapacityTaskCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -42,7 +42,7 @@ declare const ListCapacityTasksCommand_base: {
42
42
  * MaxResults: Number("int"),
43
43
  * NextToken: "STRING_VALUE",
44
44
  * CapacityTaskStatusFilter: [ // CapacityTaskStatusList
45
- * "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "CANCELLED",
45
+ * "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "WAITING_FOR_EVACUATION" || "CANCELLATION_IN_PROGRESS" || "CANCELLED",
46
46
  * ],
47
47
  * };
48
48
  * const command = new ListCapacityTasksCommand(input);
@@ -53,7 +53,7 @@ declare const ListCapacityTasksCommand_base: {
53
53
  * // CapacityTaskId: "STRING_VALUE",
54
54
  * // OutpostId: "STRING_VALUE",
55
55
  * // OrderId: "STRING_VALUE",
56
- * // CapacityTaskStatus: "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "CANCELLED",
56
+ * // CapacityTaskStatus: "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "WAITING_FOR_EVACUATION" || "CANCELLATION_IN_PROGRESS" || "CANCELLED",
57
57
  * // CreationDate: new Date("TIMESTAMP"),
58
58
  * // CompletionDate: new Date("TIMESTAMP"),
59
59
  * // LastModifiedDate: new Date("TIMESTAMP"),
@@ -27,7 +27,7 @@ declare const StartCapacityTaskCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Starts the specified capacity task. You can have one active capacity task for an order.</p>
30
+ * <p>Starts the specified capacity task. You can have one active capacity task per order or Outpost.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -36,14 +36,26 @@ declare const StartCapacityTaskCommand_base: {
36
36
  * const client = new OutpostsClient(config);
37
37
  * const input = { // StartCapacityTaskInput
38
38
  * OutpostIdentifier: "STRING_VALUE", // required
39
- * OrderId: "STRING_VALUE", // required
39
+ * OrderId: "STRING_VALUE",
40
40
  * InstancePools: [ // RequestedInstancePools // required
41
41
  * { // InstanceTypeCapacity
42
42
  * InstanceType: "STRING_VALUE", // required
43
43
  * Count: Number("int"), // required
44
44
  * },
45
45
  * ],
46
+ * InstancesToExclude: { // InstancesToExclude
47
+ * Instances: [ // InstanceIdList
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * AccountIds: [ // AccountIdList
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * Services: [ // AWSServiceNameList
54
+ * "AWS" || "EC2" || "ELASTICACHE" || "ELB" || "RDS" || "ROUTE53",
55
+ * ],
56
+ * },
46
57
  * DryRun: true || false,
58
+ * TaskActionOnBlockingInstances: "WAIT_FOR_EVACUATION" || "FAIL_TASK",
47
59
  * };
48
60
  * const command = new StartCapacityTaskCommand(input);
49
61
  * const response = await client.send(command);
@@ -57,15 +69,27 @@ declare const StartCapacityTaskCommand_base: {
57
69
  * // Count: Number("int"), // required
58
70
  * // },
59
71
  * // ],
72
+ * // InstancesToExclude: { // InstancesToExclude
73
+ * // Instances: [ // InstanceIdList
74
+ * // "STRING_VALUE",
75
+ * // ],
76
+ * // AccountIds: [ // AccountIdList
77
+ * // "STRING_VALUE",
78
+ * // ],
79
+ * // Services: [ // AWSServiceNameList
80
+ * // "AWS" || "EC2" || "ELASTICACHE" || "ELB" || "RDS" || "ROUTE53",
81
+ * // ],
82
+ * // },
60
83
  * // DryRun: true || false,
61
- * // CapacityTaskStatus: "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "CANCELLED",
84
+ * // CapacityTaskStatus: "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "WAITING_FOR_EVACUATION" || "CANCELLATION_IN_PROGRESS" || "CANCELLED",
62
85
  * // Failed: { // CapacityTaskFailure
63
86
  * // Reason: "STRING_VALUE", // required
64
- * // Type: "UNSUPPORTED_CAPACITY_CONFIGURATION",
87
+ * // Type: "UNSUPPORTED_CAPACITY_CONFIGURATION" || "UNEXPECTED_ASSET_STATE" || "BLOCKING_INSTANCES_NOT_EVACUATED" || "INTERNAL_SERVER_ERROR" || "RESOURCE_NOT_FOUND",
65
88
  * // },
66
89
  * // CreationDate: new Date("TIMESTAMP"),
67
90
  * // CompletionDate: new Date("TIMESTAMP"),
68
91
  * // LastModifiedDate: new Date("TIMESTAMP"),
92
+ * // TaskActionOnBlockingInstances: "WAIT_FOR_EVACUATION" || "FAIL_TASK",
69
93
  * // };
70
94
  *
71
95
  * ```
@@ -14,7 +14,9 @@ export * from "./GetOutpostInstanceTypesCommand";
14
14
  export * from "./GetOutpostSupportedInstanceTypesCommand";
15
15
  export * from "./GetSiteAddressCommand";
16
16
  export * from "./GetSiteCommand";
17
+ export * from "./ListAssetInstancesCommand";
17
18
  export * from "./ListAssetsCommand";
19
+ export * from "./ListBlockingInstancesForCapacityTaskCommand";
18
20
  export * from "./ListCapacityTasksCommand";
19
21
  export * from "./ListCatalogItemsCommand";
20
22
  export * from "./ListOrdersCommand";