@aws-sdk/client-workspaces-instances 3.835.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +309 -0
- package/dist-cjs/WorkspacesInstances.js +37 -0
- package/dist-cjs/WorkspacesInstancesClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AssociateVolumeCommand.js +26 -0
- package/dist-cjs/commands/CreateVolumeCommand.js +27 -0
- package/dist-cjs/commands/CreateWorkspaceInstanceCommand.js +27 -0
- package/dist-cjs/commands/DeleteVolumeCommand.js +26 -0
- package/dist-cjs/commands/DeleteWorkspaceInstanceCommand.js +26 -0
- package/dist-cjs/commands/DisassociateVolumeCommand.js +26 -0
- package/dist-cjs/commands/GetWorkspaceInstanceCommand.js +26 -0
- package/dist-cjs/commands/ListInstanceTypesCommand.js +27 -0
- package/dist-cjs/commands/ListRegionsCommand.js +27 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/ListWorkspaceInstancesCommand.js +27 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/index.js +16 -0
- package/dist-cjs/endpoint/EndpointParameters.js +15 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/WorkspacesInstancesServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +329 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListInstanceTypesPaginator.js +7 -0
- package/dist-cjs/pagination/ListRegionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListWorkspaceInstancesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_0.js +486 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-es/WorkspacesInstances.js +33 -0
- package/dist-es/WorkspacesInstancesClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AssociateVolumeCommand.js +22 -0
- package/dist-es/commands/CreateVolumeCommand.js +23 -0
- package/dist-es/commands/CreateWorkspaceInstanceCommand.js +23 -0
- package/dist-es/commands/DeleteVolumeCommand.js +22 -0
- package/dist-es/commands/DeleteWorkspaceInstanceCommand.js +22 -0
- package/dist-es/commands/DisassociateVolumeCommand.js +22 -0
- package/dist-es/commands/GetWorkspaceInstanceCommand.js +22 -0
- package/dist-es/commands/ListInstanceTypesCommand.js +23 -0
- package/dist-es/commands/ListRegionsCommand.js +23 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/ListWorkspaceInstancesCommand.js +23 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/WorkspacesInstancesServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +305 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListInstanceTypesPaginator.js +4 -0
- package/dist-es/pagination/ListRegionsPaginator.js +4 -0
- package/dist-es/pagination/ListWorkspaceInstancesPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_0.js +457 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-types/WorkspacesInstances.d.ts +104 -0
- package/dist-types/WorkspacesInstancesClient.d.ts +200 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AssociateVolumeCommand.d.ts +90 -0
- package/dist-types/commands/CreateVolumeCommand.d.ts +109 -0
- package/dist-types/commands/CreateWorkspaceInstanceCommand.d.ts +273 -0
- package/dist-types/commands/DeleteVolumeCommand.d.ts +88 -0
- package/dist-types/commands/DeleteWorkspaceInstanceCommand.d.ts +88 -0
- package/dist-types/commands/DisassociateVolumeCommand.d.ts +91 -0
- package/dist-types/commands/GetWorkspaceInstanceCommand.d.ts +104 -0
- package/dist-types/commands/ListInstanceTypesCommand.d.ts +90 -0
- package/dist-types/commands/ListRegionsCommand.d.ts +90 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +92 -0
- package/dist-types/commands/ListWorkspaceInstancesCommand.d.ts +97 -0
- package/dist-types/commands/TagResourceCommand.d.ts +91 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/WorkspacesInstancesServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1787 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListInstanceTypesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRegionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkspaceInstancesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +119 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/WorkspacesInstances.d.ts +231 -0
- package/dist-types/ts3.4/WorkspacesInstancesClient.d.ts +200 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AssociateVolumeCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateWorkspaceInstanceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteVolumeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteWorkspaceInstanceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateVolumeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWorkspaceInstanceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListInstanceTypesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRegionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWorkspaceInstancesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/WorkspacesInstancesServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +558 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListInstanceTypesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRegionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkspaceInstancesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +161 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +101 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListInstanceTypesRequest, ListInstanceTypesResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkspacesInstancesClientResolvedConfig } from "../WorkspacesInstancesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListInstanceTypesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListInstanceTypesCommandInput extends ListInstanceTypesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListInstanceTypesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListInstanceTypesCommandOutput extends ListInstanceTypesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListInstanceTypesCommand_base: {
|
|
25
|
+
new (input: ListInstanceTypesCommandInput): import("@smithy/smithy-client").CommandImpl<ListInstanceTypesCommandInput, ListInstanceTypesCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListInstanceTypesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListInstanceTypesCommandInput, ListInstanceTypesCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves a list of instance types supported by Amazon WorkSpaces Instances, enabling precise workspace infrastructure configuration.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WorkspacesInstancesClient, ListInstanceTypesCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import
|
|
35
|
+
* // const { WorkspacesInstancesClient, ListInstanceTypesCommand } = require("@aws-sdk/client-workspaces-instances"); // CommonJS import
|
|
36
|
+
* const client = new WorkspacesInstancesClient(config);
|
|
37
|
+
* const input = { // ListInstanceTypesRequest
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListInstanceTypesCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListInstanceTypesResponse
|
|
44
|
+
* // InstanceTypes: [ // InstanceTypes // required
|
|
45
|
+
* // { // InstanceTypeInfo
|
|
46
|
+
* // InstanceType: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // NextToken: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param ListInstanceTypesCommandInput - {@link ListInstanceTypesCommandInput}
|
|
55
|
+
* @returns {@link ListInstanceTypesCommandOutput}
|
|
56
|
+
* @see {@link ListInstanceTypesCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link ListInstanceTypesCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link WorkspacesInstancesClientResolvedConfig | config} for WorkspacesInstancesClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>Indicates insufficient permissions to perform the requested action.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>Indicates an unexpected server-side error occurred.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>Indicates the request rate has exceeded limits.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>Indicates invalid input parameters in the request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link WorkspacesInstancesServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from WorkspacesInstances service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class ListInstanceTypesCommand extends ListInstanceTypesCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: ListInstanceTypesRequest;
|
|
83
|
+
output: ListInstanceTypesResponse;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: ListInstanceTypesCommandInput;
|
|
87
|
+
output: ListInstanceTypesCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListRegionsRequest, ListRegionsResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkspacesInstancesClientResolvedConfig } from "../WorkspacesInstancesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListRegionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListRegionsCommandInput extends ListRegionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListRegionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListRegionsCommandOutput extends ListRegionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListRegionsCommand_base: {
|
|
25
|
+
new (input: ListRegionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRegionsCommandInput, ListRegionsCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListRegionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRegionsCommandInput, ListRegionsCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves a list of AWS regions supported by Amazon WorkSpaces Instances, enabling region discovery for workspace deployments.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WorkspacesInstancesClient, ListRegionsCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import
|
|
35
|
+
* // const { WorkspacesInstancesClient, ListRegionsCommand } = require("@aws-sdk/client-workspaces-instances"); // CommonJS import
|
|
36
|
+
* const client = new WorkspacesInstancesClient(config);
|
|
37
|
+
* const input = { // ListRegionsRequest
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListRegionsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListRegionsResponse
|
|
44
|
+
* // Regions: [ // RegionList // required
|
|
45
|
+
* // { // Region
|
|
46
|
+
* // RegionName: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // NextToken: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param ListRegionsCommandInput - {@link ListRegionsCommandInput}
|
|
55
|
+
* @returns {@link ListRegionsCommandOutput}
|
|
56
|
+
* @see {@link ListRegionsCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link ListRegionsCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link WorkspacesInstancesClientResolvedConfig | config} for WorkspacesInstancesClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>Indicates insufficient permissions to perform the requested action.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>Indicates an unexpected server-side error occurred.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>Indicates the request rate has exceeded limits.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>Indicates invalid input parameters in the request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link WorkspacesInstancesServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from WorkspacesInstances service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class ListRegionsCommand extends ListRegionsCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: ListRegionsRequest;
|
|
83
|
+
output: ListRegionsResponse;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: ListRegionsCommandInput;
|
|
87
|
+
output: ListRegionsCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkspacesInstancesClientResolvedConfig } from "../WorkspacesInstancesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTagsForResourceCommand_base: {
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves tags for a WorkSpace Instance.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WorkspacesInstancesClient, ListTagsForResourceCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import
|
|
35
|
+
* // const { WorkspacesInstancesClient, ListTagsForResourceCommand } = require("@aws-sdk/client-workspaces-instances"); // CommonJS import
|
|
36
|
+
* const client = new WorkspacesInstancesClient(config);
|
|
37
|
+
* const input = { // ListTagsForResourceRequest
|
|
38
|
+
* WorkspaceInstanceId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListTagsForResourceResponse
|
|
43
|
+
* // Tags: [ // TagList
|
|
44
|
+
* // { // Tag
|
|
45
|
+
* // Key: "STRING_VALUE",
|
|
46
|
+
* // Value: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
54
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
55
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link WorkspacesInstancesClientResolvedConfig | config} for WorkspacesInstancesClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>Indicates insufficient permissions to perform the requested action.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>Indicates an unexpected server-side error occurred.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>Indicates the requested resource could not be found.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>Indicates the request rate has exceeded limits.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>Indicates invalid input parameters in the request.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link WorkspacesInstancesServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from WorkspacesInstances service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: ListTagsForResourceRequest;
|
|
85
|
+
output: ListTagsForResourceResponse;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: ListTagsForResourceCommandInput;
|
|
89
|
+
output: ListTagsForResourceCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListWorkspaceInstancesRequest, ListWorkspaceInstancesResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkspacesInstancesClientResolvedConfig } from "../WorkspacesInstancesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListWorkspaceInstancesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListWorkspaceInstancesCommandInput extends ListWorkspaceInstancesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListWorkspaceInstancesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListWorkspaceInstancesCommandOutput extends ListWorkspaceInstancesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListWorkspaceInstancesCommand_base: {
|
|
25
|
+
new (input: ListWorkspaceInstancesCommandInput): import("@smithy/smithy-client").CommandImpl<ListWorkspaceInstancesCommandInput, ListWorkspaceInstancesCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListWorkspaceInstancesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListWorkspaceInstancesCommandInput, ListWorkspaceInstancesCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves a collection of WorkSpaces Instances based on specified filters.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WorkspacesInstancesClient, ListWorkspaceInstancesCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import
|
|
35
|
+
* // const { WorkspacesInstancesClient, ListWorkspaceInstancesCommand } = require("@aws-sdk/client-workspaces-instances"); // CommonJS import
|
|
36
|
+
* const client = new WorkspacesInstancesClient(config);
|
|
37
|
+
* const input = { // ListWorkspaceInstancesRequest
|
|
38
|
+
* ProvisionStates: [ // ProvisionStates
|
|
39
|
+
* "ALLOCATING" || "ALLOCATED" || "DEALLOCATING" || "DEALLOCATED" || "ERROR_ALLOCATING" || "ERROR_DEALLOCATING",
|
|
40
|
+
* ],
|
|
41
|
+
* MaxResults: Number("int"),
|
|
42
|
+
* NextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListWorkspaceInstancesCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListWorkspaceInstancesResponse
|
|
47
|
+
* // WorkspaceInstances: [ // WorkspaceInstances // required
|
|
48
|
+
* // { // WorkspaceInstance
|
|
49
|
+
* // ProvisionState: "ALLOCATING" || "ALLOCATED" || "DEALLOCATING" || "DEALLOCATED" || "ERROR_ALLOCATING" || "ERROR_DEALLOCATING",
|
|
50
|
+
* // WorkspaceInstanceId: "STRING_VALUE",
|
|
51
|
+
* // EC2ManagedInstance: { // EC2ManagedInstance
|
|
52
|
+
* // InstanceId: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // NextToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param ListWorkspaceInstancesCommandInput - {@link ListWorkspaceInstancesCommandInput}
|
|
62
|
+
* @returns {@link ListWorkspaceInstancesCommandOutput}
|
|
63
|
+
* @see {@link ListWorkspaceInstancesCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link ListWorkspaceInstancesCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link WorkspacesInstancesClientResolvedConfig | config} for WorkspacesInstancesClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>Indicates insufficient permissions to perform the requested action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>Indicates an unexpected server-side error occurred.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>Indicates the request rate has exceeded limits.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>Indicates invalid input parameters in the request.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link WorkspacesInstancesServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from WorkspacesInstances service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class ListWorkspaceInstancesCommand extends ListWorkspaceInstancesCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: ListWorkspaceInstancesRequest;
|
|
90
|
+
output: ListWorkspaceInstancesResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: ListWorkspaceInstancesCommandInput;
|
|
94
|
+
output: ListWorkspaceInstancesCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkspacesInstancesClientResolvedConfig } from "../WorkspacesInstancesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Adds tags to a WorkSpace Instance.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WorkspacesInstancesClient, TagResourceCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import
|
|
35
|
+
* // const { WorkspacesInstancesClient, TagResourceCommand } = require("@aws-sdk/client-workspaces-instances"); // CommonJS import
|
|
36
|
+
* const client = new WorkspacesInstancesClient(config);
|
|
37
|
+
* const input = { // TagResourceRequest
|
|
38
|
+
* WorkspaceInstanceId: "STRING_VALUE", // required
|
|
39
|
+
* Tags: [ // TagList // required
|
|
40
|
+
* { // Tag
|
|
41
|
+
* Key: "STRING_VALUE",
|
|
42
|
+
* Value: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
46
|
+
* const command = new TagResourceCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
53
|
+
* @returns {@link TagResourceCommandOutput}
|
|
54
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link WorkspacesInstancesClientResolvedConfig | config} for WorkspacesInstancesClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>Indicates insufficient permissions to perform the requested action.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>Indicates an unexpected server-side error occurred.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* <p>Indicates the requested resource could not be found.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>Indicates the request rate has exceeded limits.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>Indicates invalid input parameters in the request.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link WorkspacesInstancesServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from WorkspacesInstances service.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: TagResourceRequest;
|
|
84
|
+
output: {};
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: TagResourceCommandInput;
|
|
88
|
+
output: TagResourceCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkspacesInstancesClientResolvedConfig } from "../WorkspacesInstancesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UntagResourceCommand_base: {
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Removes tags from a WorkSpace Instance.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WorkspacesInstancesClient, UntagResourceCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import
|
|
35
|
+
* // const { WorkspacesInstancesClient, UntagResourceCommand } = require("@aws-sdk/client-workspaces-instances"); // CommonJS import
|
|
36
|
+
* const client = new WorkspacesInstancesClient(config);
|
|
37
|
+
* const input = { // UntagResourceRequest
|
|
38
|
+
* WorkspaceInstanceId: "STRING_VALUE", // required
|
|
39
|
+
* TagKeys: [ // TagKeyList // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UntagResourceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
50
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
51
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link WorkspacesInstancesClientResolvedConfig | config} for WorkspacesInstancesClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>Indicates insufficient permissions to perform the requested action.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>Indicates an unexpected server-side error occurred.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>Indicates the requested resource could not be found.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>Indicates the request rate has exceeded limits.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>Indicates invalid input parameters in the request.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link WorkspacesInstancesServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from WorkspacesInstances service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: UntagResourceRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: UntagResourceCommandInput;
|
|
85
|
+
output: UntagResourceCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./AssociateVolumeCommand";
|
|
2
|
+
export * from "./CreateVolumeCommand";
|
|
3
|
+
export * from "./CreateWorkspaceInstanceCommand";
|
|
4
|
+
export * from "./DeleteVolumeCommand";
|
|
5
|
+
export * from "./DeleteWorkspaceInstanceCommand";
|
|
6
|
+
export * from "./DisassociateVolumeCommand";
|
|
7
|
+
export * from "./GetWorkspaceInstanceCommand";
|
|
8
|
+
export * from "./ListInstanceTypesCommand";
|
|
9
|
+
export * from "./ListRegionsCommand";
|
|
10
|
+
export * from "./ListTagsForResourceCommand";
|
|
11
|
+
export * from "./ListWorkspaceInstancesCommand";
|
|
12
|
+
export * from "./TagResourceCommand";
|
|
13
|
+
export * from "./UntagResourceCommand";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
7
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
}
|
|
10
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
11
|
+
defaultSigningName: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
14
|
+
export declare const commonParams: {
|
|
15
|
+
readonly UseFIPS: {
|
|
16
|
+
readonly type: "builtInParams";
|
|
17
|
+
readonly name: "useFipsEndpoint";
|
|
18
|
+
};
|
|
19
|
+
readonly Endpoint: {
|
|
20
|
+
readonly type: "builtInParams";
|
|
21
|
+
readonly name: "endpoint";
|
|
22
|
+
};
|
|
23
|
+
readonly Region: {
|
|
24
|
+
readonly type: "builtInParams";
|
|
25
|
+
readonly name: "region";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
29
|
+
UseFIPS?: boolean | undefined;
|
|
30
|
+
Endpoint?: string | undefined;
|
|
31
|
+
Region?: string | undefined;
|
|
32
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface WorkspacesInstancesExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <p>Amazon WorkSpaces Instances provides an API framework for managing virtual workspace environments across multiple AWS regions, enabling programmatic creation and configuration of desktop infrastructure.</p>
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
export * from "./WorkspacesInstancesClient";
|
|
7
|
+
export * from "./WorkspacesInstances";
|
|
8
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
+
export type { WorkspacesInstancesExtensionConfiguration } from "./extensionConfiguration";
|
|
11
|
+
export * from "./commands";
|
|
12
|
+
export * from "./pagination";
|
|
13
|
+
export * from "./models";
|
|
14
|
+
export { WorkspacesInstancesServiceException } from "./models/WorkspacesInstancesServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from WorkspacesInstances service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class WorkspacesInstancesServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|