@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,273 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateWorkspaceInstanceRequest, CreateWorkspaceInstanceResponse } 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 CreateWorkspaceInstanceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateWorkspaceInstanceCommandInput extends CreateWorkspaceInstanceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateWorkspaceInstanceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateWorkspaceInstanceCommandOutput extends CreateWorkspaceInstanceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateWorkspaceInstanceCommand_base: {
|
|
25
|
+
new (input: CreateWorkspaceInstanceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkspaceInstanceCommandInput, CreateWorkspaceInstanceCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateWorkspaceInstanceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkspaceInstanceCommandInput, CreateWorkspaceInstanceCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Launches a new WorkSpace Instance with specified configuration parameters, enabling programmatic workspace deployment.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WorkspacesInstancesClient, CreateWorkspaceInstanceCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import
|
|
35
|
+
* // const { WorkspacesInstancesClient, CreateWorkspaceInstanceCommand } = require("@aws-sdk/client-workspaces-instances"); // CommonJS import
|
|
36
|
+
* const client = new WorkspacesInstancesClient(config);
|
|
37
|
+
* const input = { // CreateWorkspaceInstanceRequest
|
|
38
|
+
* ClientToken: "STRING_VALUE",
|
|
39
|
+
* Tags: [ // TagList
|
|
40
|
+
* { // Tag
|
|
41
|
+
* Key: "STRING_VALUE",
|
|
42
|
+
* Value: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* ManagedInstance: { // ManagedInstanceRequest
|
|
46
|
+
* BlockDeviceMappings: [ // BlockDeviceMappings
|
|
47
|
+
* { // BlockDeviceMappingRequest
|
|
48
|
+
* DeviceName: "STRING_VALUE",
|
|
49
|
+
* Ebs: { // EbsBlockDevice
|
|
50
|
+
* VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
|
|
51
|
+
* Encrypted: true || false,
|
|
52
|
+
* KmsKeyId: "STRING_VALUE",
|
|
53
|
+
* Iops: Number("int"),
|
|
54
|
+
* Throughput: Number("int"),
|
|
55
|
+
* VolumeSize: Number("int"),
|
|
56
|
+
* },
|
|
57
|
+
* NoDevice: "STRING_VALUE",
|
|
58
|
+
* VirtualName: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* CapacityReservationSpecification: { // CapacityReservationSpecification
|
|
62
|
+
* CapacityReservationPreference: "capacity-reservations-only" || "open" || "none",
|
|
63
|
+
* CapacityReservationTarget: { // CapacityReservationTarget
|
|
64
|
+
* CapacityReservationId: "STRING_VALUE",
|
|
65
|
+
* CapacityReservationResourceGroupArn: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* CpuOptions: { // CpuOptionsRequest
|
|
69
|
+
* AmdSevSnp: "enabled" || "disabled",
|
|
70
|
+
* CoreCount: Number("int"),
|
|
71
|
+
* ThreadsPerCore: Number("int"),
|
|
72
|
+
* },
|
|
73
|
+
* CreditSpecification: { // CreditSpecificationRequest
|
|
74
|
+
* CpuCredits: "standard" || "unlimited",
|
|
75
|
+
* },
|
|
76
|
+
* DisableApiStop: true || false,
|
|
77
|
+
* EbsOptimized: true || false,
|
|
78
|
+
* EnablePrimaryIpv6: true || false,
|
|
79
|
+
* EnclaveOptions: { // EnclaveOptionsRequest
|
|
80
|
+
* Enabled: true || false,
|
|
81
|
+
* },
|
|
82
|
+
* HibernationOptions: { // HibernationOptionsRequest
|
|
83
|
+
* Configured: true || false,
|
|
84
|
+
* },
|
|
85
|
+
* IamInstanceProfile: { // IamInstanceProfileSpecification
|
|
86
|
+
* Arn: "STRING_VALUE",
|
|
87
|
+
* Name: "STRING_VALUE",
|
|
88
|
+
* },
|
|
89
|
+
* ImageId: "STRING_VALUE",
|
|
90
|
+
* InstanceMarketOptions: { // InstanceMarketOptionsRequest
|
|
91
|
+
* MarketType: "spot" || "capacity-block",
|
|
92
|
+
* SpotOptions: { // SpotMarketOptions
|
|
93
|
+
* BlockDurationMinutes: Number("int"),
|
|
94
|
+
* InstanceInterruptionBehavior: "hibernate" || "stop",
|
|
95
|
+
* MaxPrice: "STRING_VALUE",
|
|
96
|
+
* SpotInstanceType: "one-time" || "persistent",
|
|
97
|
+
* ValidUntilUtc: new Date("TIMESTAMP"),
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* InstanceType: "STRING_VALUE",
|
|
101
|
+
* Ipv6Addresses: [ // Ipv6Addresses
|
|
102
|
+
* { // InstanceIpv6Address
|
|
103
|
+
* Ipv6Address: "STRING_VALUE",
|
|
104
|
+
* IsPrimaryIpv6: true || false,
|
|
105
|
+
* },
|
|
106
|
+
* ],
|
|
107
|
+
* Ipv6AddressCount: Number("int"),
|
|
108
|
+
* KernelId: "STRING_VALUE",
|
|
109
|
+
* KeyName: "STRING_VALUE",
|
|
110
|
+
* LicenseSpecifications: [ // LicenseSpecifications
|
|
111
|
+
* { // LicenseConfigurationRequest
|
|
112
|
+
* LicenseConfigurationArn: "STRING_VALUE",
|
|
113
|
+
* },
|
|
114
|
+
* ],
|
|
115
|
+
* MaintenanceOptions: { // InstanceMaintenanceOptionsRequest
|
|
116
|
+
* AutoRecovery: "disabled" || "default",
|
|
117
|
+
* },
|
|
118
|
+
* MetadataOptions: { // InstanceMetadataOptionsRequest
|
|
119
|
+
* HttpEndpoint: "enabled" || "disabled",
|
|
120
|
+
* HttpProtocolIpv6: "enabled" || "disabled",
|
|
121
|
+
* HttpPutResponseHopLimit: Number("int"),
|
|
122
|
+
* HttpTokens: "optional" || "required",
|
|
123
|
+
* InstanceMetadataTags: "enabled" || "disabled",
|
|
124
|
+
* },
|
|
125
|
+
* Monitoring: { // RunInstancesMonitoringEnabled
|
|
126
|
+
* Enabled: true || false,
|
|
127
|
+
* },
|
|
128
|
+
* NetworkInterfaces: [ // NetworkInterfaces
|
|
129
|
+
* { // InstanceNetworkInterfaceSpecification
|
|
130
|
+
* AssociateCarrierIpAddress: true || false,
|
|
131
|
+
* AssociatePublicIpAddress: true || false,
|
|
132
|
+
* ConnectionTrackingSpecification: { // ConnectionTrackingSpecificationRequest
|
|
133
|
+
* TcpEstablishedTimeout: Number("int"),
|
|
134
|
+
* UdpStreamTimeout: Number("int"),
|
|
135
|
+
* UdpTimeout: Number("int"),
|
|
136
|
+
* },
|
|
137
|
+
* Description: "STRING_VALUE",
|
|
138
|
+
* DeviceIndex: Number("int"),
|
|
139
|
+
* EnaSrdSpecification: { // EnaSrdSpecificationRequest
|
|
140
|
+
* EnaSrdEnabled: true || false,
|
|
141
|
+
* EnaSrdUdpSpecification: { // EnaSrdUdpSpecificationRequest
|
|
142
|
+
* EnaSrdUdpEnabled: true || false,
|
|
143
|
+
* },
|
|
144
|
+
* },
|
|
145
|
+
* InterfaceType: "interface" || "efa" || "efa-only",
|
|
146
|
+
* Ipv4Prefixes: [ // Ipv4Prefixes
|
|
147
|
+
* { // Ipv4PrefixSpecificationRequest
|
|
148
|
+
* Ipv4Prefix: "STRING_VALUE",
|
|
149
|
+
* },
|
|
150
|
+
* ],
|
|
151
|
+
* Ipv4PrefixCount: Number("int"),
|
|
152
|
+
* Ipv6AddressCount: Number("int"),
|
|
153
|
+
* Ipv6Addresses: [
|
|
154
|
+
* {
|
|
155
|
+
* Ipv6Address: "STRING_VALUE",
|
|
156
|
+
* IsPrimaryIpv6: true || false,
|
|
157
|
+
* },
|
|
158
|
+
* ],
|
|
159
|
+
* Ipv6Prefixes: [ // Ipv6Prefixes
|
|
160
|
+
* { // Ipv6PrefixSpecificationRequest
|
|
161
|
+
* Ipv6Prefix: "STRING_VALUE",
|
|
162
|
+
* },
|
|
163
|
+
* ],
|
|
164
|
+
* Ipv6PrefixCount: Number("int"),
|
|
165
|
+
* NetworkCardIndex: Number("int"),
|
|
166
|
+
* NetworkInterfaceId: "STRING_VALUE",
|
|
167
|
+
* PrimaryIpv6: true || false,
|
|
168
|
+
* PrivateIpAddress: "STRING_VALUE",
|
|
169
|
+
* PrivateIpAddresses: [ // PrivateIpAddresses
|
|
170
|
+
* { // PrivateIpAddressSpecification
|
|
171
|
+
* Primary: true || false,
|
|
172
|
+
* PrivateIpAddress: "STRING_VALUE",
|
|
173
|
+
* },
|
|
174
|
+
* ],
|
|
175
|
+
* SecondaryPrivateIpAddressCount: Number("int"),
|
|
176
|
+
* Groups: [ // SecurityGroupIds
|
|
177
|
+
* "STRING_VALUE",
|
|
178
|
+
* ],
|
|
179
|
+
* SubnetId: "STRING_VALUE",
|
|
180
|
+
* },
|
|
181
|
+
* ],
|
|
182
|
+
* NetworkPerformanceOptions: { // InstanceNetworkPerformanceOptionsRequest
|
|
183
|
+
* BandwidthWeighting: "default" || "vpc-1" || "ebs-1",
|
|
184
|
+
* },
|
|
185
|
+
* Placement: { // Placement
|
|
186
|
+
* Affinity: "STRING_VALUE",
|
|
187
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
188
|
+
* GroupId: "STRING_VALUE",
|
|
189
|
+
* GroupName: "STRING_VALUE",
|
|
190
|
+
* HostId: "STRING_VALUE",
|
|
191
|
+
* HostResourceGroupArn: "STRING_VALUE",
|
|
192
|
+
* PartitionNumber: Number("int"),
|
|
193
|
+
* Tenancy: "default" || "dedicated" || "host",
|
|
194
|
+
* },
|
|
195
|
+
* PrivateDnsNameOptions: { // PrivateDnsNameOptionsRequest
|
|
196
|
+
* HostnameType: "ip-name" || "resource-name",
|
|
197
|
+
* EnableResourceNameDnsARecord: true || false,
|
|
198
|
+
* EnableResourceNameDnsAAAARecord: true || false,
|
|
199
|
+
* },
|
|
200
|
+
* PrivateIpAddress: "STRING_VALUE",
|
|
201
|
+
* RamdiskId: "STRING_VALUE",
|
|
202
|
+
* SecurityGroupIds: [
|
|
203
|
+
* "STRING_VALUE",
|
|
204
|
+
* ],
|
|
205
|
+
* SecurityGroups: [ // SecurityGroupNames
|
|
206
|
+
* "STRING_VALUE",
|
|
207
|
+
* ],
|
|
208
|
+
* SubnetId: "STRING_VALUE",
|
|
209
|
+
* TagSpecifications: [ // TagSpecifications
|
|
210
|
+
* { // TagSpecification
|
|
211
|
+
* ResourceType: "instance" || "volume" || "spot-instances-request" || "network-interface",
|
|
212
|
+
* Tags: [
|
|
213
|
+
* {
|
|
214
|
+
* Key: "STRING_VALUE",
|
|
215
|
+
* Value: "STRING_VALUE",
|
|
216
|
+
* },
|
|
217
|
+
* ],
|
|
218
|
+
* },
|
|
219
|
+
* ],
|
|
220
|
+
* UserData: "STRING_VALUE",
|
|
221
|
+
* },
|
|
222
|
+
* };
|
|
223
|
+
* const command = new CreateWorkspaceInstanceCommand(input);
|
|
224
|
+
* const response = await client.send(command);
|
|
225
|
+
* // { // CreateWorkspaceInstanceResponse
|
|
226
|
+
* // WorkspaceInstanceId: "STRING_VALUE",
|
|
227
|
+
* // };
|
|
228
|
+
*
|
|
229
|
+
* ```
|
|
230
|
+
*
|
|
231
|
+
* @param CreateWorkspaceInstanceCommandInput - {@link CreateWorkspaceInstanceCommandInput}
|
|
232
|
+
* @returns {@link CreateWorkspaceInstanceCommandOutput}
|
|
233
|
+
* @see {@link CreateWorkspaceInstanceCommandInput} for command's `input` shape.
|
|
234
|
+
* @see {@link CreateWorkspaceInstanceCommandOutput} for command's `response` shape.
|
|
235
|
+
* @see {@link WorkspacesInstancesClientResolvedConfig | config} for WorkspacesInstancesClient's `config` shape.
|
|
236
|
+
*
|
|
237
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
238
|
+
* <p>Indicates insufficient permissions to perform the requested action.</p>
|
|
239
|
+
*
|
|
240
|
+
* @throws {@link ConflictException} (client fault)
|
|
241
|
+
* <p>Signals a conflict with the current state of the resource.</p>
|
|
242
|
+
*
|
|
243
|
+
* @throws {@link InternalServerException} (server fault)
|
|
244
|
+
* <p>Indicates an unexpected server-side error occurred.</p>
|
|
245
|
+
*
|
|
246
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
247
|
+
* <p>Indicates that a service quota has been exceeded.</p>
|
|
248
|
+
*
|
|
249
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
250
|
+
* <p>Indicates the request rate has exceeded limits.</p>
|
|
251
|
+
*
|
|
252
|
+
* @throws {@link ValidationException} (client fault)
|
|
253
|
+
* <p>Indicates invalid input parameters in the request.</p>
|
|
254
|
+
*
|
|
255
|
+
* @throws {@link WorkspacesInstancesServiceException}
|
|
256
|
+
* <p>Base exception class for all service exceptions from WorkspacesInstances service.</p>
|
|
257
|
+
*
|
|
258
|
+
*
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
export declare class CreateWorkspaceInstanceCommand extends CreateWorkspaceInstanceCommand_base {
|
|
262
|
+
/** @internal type navigation helper, not in runtime. */
|
|
263
|
+
protected static __types: {
|
|
264
|
+
api: {
|
|
265
|
+
input: CreateWorkspaceInstanceRequest;
|
|
266
|
+
output: CreateWorkspaceInstanceResponse;
|
|
267
|
+
};
|
|
268
|
+
sdk: {
|
|
269
|
+
input: CreateWorkspaceInstanceCommandInput;
|
|
270
|
+
output: CreateWorkspaceInstanceCommandOutput;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteVolumeRequest, DeleteVolumeResponse } 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 DeleteVolumeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteVolumeCommandInput extends DeleteVolumeRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteVolumeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteVolumeCommandOutput extends DeleteVolumeResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteVolumeCommand_base: {
|
|
25
|
+
new (input: DeleteVolumeCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteVolumeCommandInput, DeleteVolumeCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteVolumeCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteVolumeCommandInput, DeleteVolumeCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a specified volume.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WorkspacesInstancesClient, DeleteVolumeCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import
|
|
35
|
+
* // const { WorkspacesInstancesClient, DeleteVolumeCommand } = require("@aws-sdk/client-workspaces-instances"); // CommonJS import
|
|
36
|
+
* const client = new WorkspacesInstancesClient(config);
|
|
37
|
+
* const input = { // DeleteVolumeRequest
|
|
38
|
+
* VolumeId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteVolumeCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteVolumeCommandInput - {@link DeleteVolumeCommandInput}
|
|
47
|
+
* @returns {@link DeleteVolumeCommandOutput}
|
|
48
|
+
* @see {@link DeleteVolumeCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteVolumeCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link WorkspacesInstancesClientResolvedConfig | config} for WorkspacesInstancesClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>Indicates insufficient permissions to perform the requested action.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>Signals a conflict with the current state of the resource.</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 DeleteVolumeCommand extends DeleteVolumeCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: DeleteVolumeRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DeleteVolumeCommandInput;
|
|
85
|
+
output: DeleteVolumeCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteWorkspaceInstanceRequest, DeleteWorkspaceInstanceResponse } 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 DeleteWorkspaceInstanceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteWorkspaceInstanceCommandInput extends DeleteWorkspaceInstanceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteWorkspaceInstanceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteWorkspaceInstanceCommandOutput extends DeleteWorkspaceInstanceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteWorkspaceInstanceCommand_base: {
|
|
25
|
+
new (input: DeleteWorkspaceInstanceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWorkspaceInstanceCommandInput, DeleteWorkspaceInstanceCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteWorkspaceInstanceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWorkspaceInstanceCommandInput, DeleteWorkspaceInstanceCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the specified WorkSpace</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WorkspacesInstancesClient, DeleteWorkspaceInstanceCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import
|
|
35
|
+
* // const { WorkspacesInstancesClient, DeleteWorkspaceInstanceCommand } = require("@aws-sdk/client-workspaces-instances"); // CommonJS import
|
|
36
|
+
* const client = new WorkspacesInstancesClient(config);
|
|
37
|
+
* const input = { // DeleteWorkspaceInstanceRequest
|
|
38
|
+
* WorkspaceInstanceId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteWorkspaceInstanceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteWorkspaceInstanceCommandInput - {@link DeleteWorkspaceInstanceCommandInput}
|
|
47
|
+
* @returns {@link DeleteWorkspaceInstanceCommandOutput}
|
|
48
|
+
* @see {@link DeleteWorkspaceInstanceCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteWorkspaceInstanceCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link WorkspacesInstancesClientResolvedConfig | config} for WorkspacesInstancesClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>Indicates insufficient permissions to perform the requested action.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>Signals a conflict with the current state of the resource.</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 DeleteWorkspaceInstanceCommand extends DeleteWorkspaceInstanceCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: DeleteWorkspaceInstanceRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DeleteWorkspaceInstanceCommandInput;
|
|
85
|
+
output: DeleteWorkspaceInstanceCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DisassociateVolumeRequest, DisassociateVolumeResponse } 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 DisassociateVolumeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateVolumeCommandInput extends DisassociateVolumeRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateVolumeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateVolumeCommandOutput extends DisassociateVolumeResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisassociateVolumeCommand_base: {
|
|
25
|
+
new (input: DisassociateVolumeCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateVolumeCommandInput, DisassociateVolumeCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DisassociateVolumeCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateVolumeCommandInput, DisassociateVolumeCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Detaches a volume 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, DisassociateVolumeCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import
|
|
35
|
+
* // const { WorkspacesInstancesClient, DisassociateVolumeCommand } = require("@aws-sdk/client-workspaces-instances"); // CommonJS import
|
|
36
|
+
* const client = new WorkspacesInstancesClient(config);
|
|
37
|
+
* const input = { // DisassociateVolumeRequest
|
|
38
|
+
* WorkspaceInstanceId: "STRING_VALUE", // required
|
|
39
|
+
* VolumeId: "STRING_VALUE", // required
|
|
40
|
+
* Device: "STRING_VALUE",
|
|
41
|
+
* DisassociateMode: "FORCE" || "NO_FORCE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DisassociateVolumeCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DisassociateVolumeCommandInput - {@link DisassociateVolumeCommandInput}
|
|
50
|
+
* @returns {@link DisassociateVolumeCommandOutput}
|
|
51
|
+
* @see {@link DisassociateVolumeCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DisassociateVolumeCommandOutput} 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 ConflictException} (client fault)
|
|
59
|
+
* <p>Signals a conflict with the current state of the resource.</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 DisassociateVolumeCommand extends DisassociateVolumeCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: DisassociateVolumeRequest;
|
|
84
|
+
output: {};
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: DisassociateVolumeCommandInput;
|
|
88
|
+
output: DisassociateVolumeCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetWorkspaceInstanceRequest, GetWorkspaceInstanceResponse } 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 GetWorkspaceInstanceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetWorkspaceInstanceCommandInput extends GetWorkspaceInstanceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetWorkspaceInstanceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetWorkspaceInstanceCommandOutput extends GetWorkspaceInstanceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetWorkspaceInstanceCommand_base: {
|
|
25
|
+
new (input: GetWorkspaceInstanceCommandInput): import("@smithy/smithy-client").CommandImpl<GetWorkspaceInstanceCommandInput, GetWorkspaceInstanceCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetWorkspaceInstanceCommandInput): import("@smithy/smithy-client").CommandImpl<GetWorkspaceInstanceCommandInput, GetWorkspaceInstanceCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves detailed information about a specific 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, GetWorkspaceInstanceCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import
|
|
35
|
+
* // const { WorkspacesInstancesClient, GetWorkspaceInstanceCommand } = require("@aws-sdk/client-workspaces-instances"); // CommonJS import
|
|
36
|
+
* const client = new WorkspacesInstancesClient(config);
|
|
37
|
+
* const input = { // GetWorkspaceInstanceRequest
|
|
38
|
+
* WorkspaceInstanceId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetWorkspaceInstanceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetWorkspaceInstanceResponse
|
|
43
|
+
* // WorkspaceInstanceErrors: [ // WorkspaceInstanceErrors
|
|
44
|
+
* // { // WorkspaceInstanceError
|
|
45
|
+
* // ErrorCode: "STRING_VALUE",
|
|
46
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // EC2InstanceErrors: [ // EC2InstanceErrors
|
|
50
|
+
* // { // EC2InstanceError
|
|
51
|
+
* // EC2ErrorCode: "STRING_VALUE",
|
|
52
|
+
* // EC2ExceptionType: "STRING_VALUE",
|
|
53
|
+
* // EC2ErrorMessage: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // ProvisionState: "ALLOCATING" || "ALLOCATED" || "DEALLOCATING" || "DEALLOCATED" || "ERROR_ALLOCATING" || "ERROR_DEALLOCATING",
|
|
57
|
+
* // WorkspaceInstanceId: "STRING_VALUE",
|
|
58
|
+
* // EC2ManagedInstance: { // EC2ManagedInstance
|
|
59
|
+
* // InstanceId: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param GetWorkspaceInstanceCommandInput - {@link GetWorkspaceInstanceCommandInput}
|
|
66
|
+
* @returns {@link GetWorkspaceInstanceCommandOutput}
|
|
67
|
+
* @see {@link GetWorkspaceInstanceCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link GetWorkspaceInstanceCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link WorkspacesInstancesClientResolvedConfig | config} for WorkspacesInstancesClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>Indicates insufficient permissions to perform the requested action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>Indicates an unexpected server-side error occurred.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>Indicates the requested resource could not be found.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* <p>Indicates the request rate has exceeded limits.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>Indicates invalid input parameters in the request.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link WorkspacesInstancesServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from WorkspacesInstances service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class GetWorkspaceInstanceCommand extends GetWorkspaceInstanceCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: GetWorkspaceInstanceRequest;
|
|
97
|
+
output: GetWorkspaceInstanceResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: GetWorkspaceInstanceCommandInput;
|
|
101
|
+
output: GetWorkspaceInstanceCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|