@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.
Files changed (151) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +309 -0
  3. package/dist-cjs/WorkspacesInstances.js +37 -0
  4. package/dist-cjs/WorkspacesInstancesClient.js +52 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AssociateVolumeCommand.js +26 -0
  8. package/dist-cjs/commands/CreateVolumeCommand.js +27 -0
  9. package/dist-cjs/commands/CreateWorkspaceInstanceCommand.js +27 -0
  10. package/dist-cjs/commands/DeleteVolumeCommand.js +26 -0
  11. package/dist-cjs/commands/DeleteWorkspaceInstanceCommand.js +26 -0
  12. package/dist-cjs/commands/DisassociateVolumeCommand.js +26 -0
  13. package/dist-cjs/commands/GetWorkspaceInstanceCommand.js +26 -0
  14. package/dist-cjs/commands/ListInstanceTypesCommand.js +27 -0
  15. package/dist-cjs/commands/ListRegionsCommand.js +27 -0
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  17. package/dist-cjs/commands/ListWorkspaceInstancesCommand.js +27 -0
  18. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  19. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  20. package/dist-cjs/commands/index.js +16 -0
  21. package/dist-cjs/endpoint/EndpointParameters.js +15 -0
  22. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  23. package/dist-cjs/endpoint/ruleset.js +7 -0
  24. package/dist-cjs/extensionConfiguration.js +2 -0
  25. package/dist-cjs/index.js +11 -0
  26. package/dist-cjs/models/WorkspacesInstancesServiceException.js +12 -0
  27. package/dist-cjs/models/index.js +4 -0
  28. package/dist-cjs/models/models_0.js +329 -0
  29. package/dist-cjs/pagination/Interfaces.js +2 -0
  30. package/dist-cjs/pagination/ListInstanceTypesPaginator.js +7 -0
  31. package/dist-cjs/pagination/ListRegionsPaginator.js +7 -0
  32. package/dist-cjs/pagination/ListWorkspaceInstancesPaginator.js +7 -0
  33. package/dist-cjs/pagination/index.js +7 -0
  34. package/dist-cjs/protocols/Aws_json1_0.js +486 -0
  35. package/dist-cjs/runtimeConfig.browser.js +39 -0
  36. package/dist-cjs/runtimeConfig.js +56 -0
  37. package/dist-cjs/runtimeConfig.native.js +15 -0
  38. package/dist-cjs/runtimeConfig.shared.js +34 -0
  39. package/dist-cjs/runtimeExtensions.js +13 -0
  40. package/dist-es/WorkspacesInstances.js +33 -0
  41. package/dist-es/WorkspacesInstancesClient.js +48 -0
  42. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  43. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  44. package/dist-es/commands/AssociateVolumeCommand.js +22 -0
  45. package/dist-es/commands/CreateVolumeCommand.js +23 -0
  46. package/dist-es/commands/CreateWorkspaceInstanceCommand.js +23 -0
  47. package/dist-es/commands/DeleteVolumeCommand.js +22 -0
  48. package/dist-es/commands/DeleteWorkspaceInstanceCommand.js +22 -0
  49. package/dist-es/commands/DisassociateVolumeCommand.js +22 -0
  50. package/dist-es/commands/GetWorkspaceInstanceCommand.js +22 -0
  51. package/dist-es/commands/ListInstanceTypesCommand.js +23 -0
  52. package/dist-es/commands/ListRegionsCommand.js +23 -0
  53. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  54. package/dist-es/commands/ListWorkspaceInstancesCommand.js +23 -0
  55. package/dist-es/commands/TagResourceCommand.js +22 -0
  56. package/dist-es/commands/UntagResourceCommand.js +22 -0
  57. package/dist-es/commands/index.js +13 -0
  58. package/dist-es/endpoint/EndpointParameters.js +11 -0
  59. package/dist-es/endpoint/endpointResolver.js +14 -0
  60. package/dist-es/endpoint/ruleset.js +4 -0
  61. package/dist-es/extensionConfiguration.js +1 -0
  62. package/dist-es/index.js +6 -0
  63. package/dist-es/models/WorkspacesInstancesServiceException.js +8 -0
  64. package/dist-es/models/index.js +1 -0
  65. package/dist-es/models/models_0.js +305 -0
  66. package/dist-es/pagination/Interfaces.js +1 -0
  67. package/dist-es/pagination/ListInstanceTypesPaginator.js +4 -0
  68. package/dist-es/pagination/ListRegionsPaginator.js +4 -0
  69. package/dist-es/pagination/ListWorkspaceInstancesPaginator.js +4 -0
  70. package/dist-es/pagination/index.js +4 -0
  71. package/dist-es/protocols/Aws_json1_0.js +457 -0
  72. package/dist-es/runtimeConfig.browser.js +34 -0
  73. package/dist-es/runtimeConfig.js +51 -0
  74. package/dist-es/runtimeConfig.native.js +11 -0
  75. package/dist-es/runtimeConfig.shared.js +30 -0
  76. package/dist-es/runtimeExtensions.js +9 -0
  77. package/dist-types/WorkspacesInstances.d.ts +104 -0
  78. package/dist-types/WorkspacesInstancesClient.d.ts +200 -0
  79. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  80. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  81. package/dist-types/commands/AssociateVolumeCommand.d.ts +90 -0
  82. package/dist-types/commands/CreateVolumeCommand.d.ts +109 -0
  83. package/dist-types/commands/CreateWorkspaceInstanceCommand.d.ts +273 -0
  84. package/dist-types/commands/DeleteVolumeCommand.d.ts +88 -0
  85. package/dist-types/commands/DeleteWorkspaceInstanceCommand.d.ts +88 -0
  86. package/dist-types/commands/DisassociateVolumeCommand.d.ts +91 -0
  87. package/dist-types/commands/GetWorkspaceInstanceCommand.d.ts +104 -0
  88. package/dist-types/commands/ListInstanceTypesCommand.d.ts +90 -0
  89. package/dist-types/commands/ListRegionsCommand.d.ts +90 -0
  90. package/dist-types/commands/ListTagsForResourceCommand.d.ts +92 -0
  91. package/dist-types/commands/ListWorkspaceInstancesCommand.d.ts +97 -0
  92. package/dist-types/commands/TagResourceCommand.d.ts +91 -0
  93. package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
  94. package/dist-types/commands/index.d.ts +13 -0
  95. package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
  96. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  97. package/dist-types/endpoint/ruleset.d.ts +2 -0
  98. package/dist-types/extensionConfiguration.d.ts +9 -0
  99. package/dist-types/index.d.ts +14 -0
  100. package/dist-types/models/WorkspacesInstancesServiceException.d.ts +14 -0
  101. package/dist-types/models/index.d.ts +1 -0
  102. package/dist-types/models/models_0.d.ts +1787 -0
  103. package/dist-types/pagination/Interfaces.d.ts +8 -0
  104. package/dist-types/pagination/ListInstanceTypesPaginator.d.ts +7 -0
  105. package/dist-types/pagination/ListRegionsPaginator.d.ts +7 -0
  106. package/dist-types/pagination/ListWorkspaceInstancesPaginator.d.ts +7 -0
  107. package/dist-types/pagination/index.d.ts +4 -0
  108. package/dist-types/protocols/Aws_json1_0.d.ts +119 -0
  109. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  110. package/dist-types/runtimeConfig.d.ts +50 -0
  111. package/dist-types/runtimeConfig.native.d.ts +49 -0
  112. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  113. package/dist-types/runtimeExtensions.d.ts +17 -0
  114. package/dist-types/ts3.4/WorkspacesInstances.d.ts +231 -0
  115. package/dist-types/ts3.4/WorkspacesInstancesClient.d.ts +200 -0
  116. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  117. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  118. package/dist-types/ts3.4/commands/AssociateVolumeCommand.d.ts +50 -0
  119. package/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +47 -0
  120. package/dist-types/ts3.4/commands/CreateWorkspaceInstanceCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/DeleteVolumeCommand.d.ts +47 -0
  122. package/dist-types/ts3.4/commands/DeleteWorkspaceInstanceCommand.d.ts +51 -0
  123. package/dist-types/ts3.4/commands/DisassociateVolumeCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/GetWorkspaceInstanceCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/ListInstanceTypesCommand.d.ts +51 -0
  126. package/dist-types/ts3.4/commands/ListRegionsCommand.d.ts +47 -0
  127. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/ListWorkspaceInstancesCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  130. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  131. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  132. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  133. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  134. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  135. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  136. package/dist-types/ts3.4/index.d.ts +9 -0
  137. package/dist-types/ts3.4/models/WorkspacesInstancesServiceException.d.ts +9 -0
  138. package/dist-types/ts3.4/models/index.d.ts +1 -0
  139. package/dist-types/ts3.4/models/models_0.d.ts +558 -0
  140. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  141. package/dist-types/ts3.4/pagination/ListInstanceTypesPaginator.d.ts +11 -0
  142. package/dist-types/ts3.4/pagination/ListRegionsPaginator.d.ts +11 -0
  143. package/dist-types/ts3.4/pagination/ListWorkspaceInstancesPaginator.d.ts +11 -0
  144. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  145. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +161 -0
  146. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  147. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  148. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  149. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  150. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  151. 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
+ }