@aws-sdk/client-workspaces-instances 3.1151.0 → 3.1153.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/README.md +7 -0
- package/dist-cjs/index.js +59 -3
- package/dist-es/WorkspacesInstances.js +2 -0
- package/dist-es/commands/ModifyVolumeCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/errors.js +19 -0
- package/dist-es/schemas/schemas_0.js +30 -3
- package/dist-types/WorkspacesInstances.d.ts +7 -0
- package/dist-types/WorkspacesInstancesClient.d.ts +3 -2
- package/dist-types/commands/ModifyVolumeCommand.d.ts +104 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/errors.d.ts +28 -0
- package/dist-types/models/models_0.d.ts +67 -0
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/WorkspacesInstances.d.ts +17 -0
- package/dist-types/ts3.4/WorkspacesInstancesClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +15 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -297,6 +297,13 @@ ListWorkspaceInstances
|
|
|
297
297
|
</details>
|
|
298
298
|
<details>
|
|
299
299
|
<summary>
|
|
300
|
+
ModifyVolume
|
|
301
|
+
</summary>
|
|
302
|
+
|
|
303
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces-instances/command/ModifyVolumeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-instances/Interface/ModifyVolumeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-instances/Interface/ModifyVolumeCommandOutput/)
|
|
304
|
+
</details>
|
|
305
|
+
<details>
|
|
306
|
+
<summary>
|
|
300
307
|
TagResource
|
|
301
308
|
</summary>
|
|
302
309
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -67,7 +67,7 @@ const commonParams = {
|
|
|
67
67
|
Region: { type: "builtInParams", name: "region" },
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
var version = "3.
|
|
70
|
+
var version = "3.1152.0";
|
|
71
71
|
var packageInfo = {
|
|
72
72
|
version: version};
|
|
73
73
|
|
|
@@ -257,6 +257,25 @@ class ServiceQuotaExceededException extends WorkspacesInstancesServiceException
|
|
|
257
257
|
this.QuotaCode = opts.QuotaCode;
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
+
class VolumeModificationRateExceededException extends WorkspacesInstancesServiceException {
|
|
261
|
+
static shapeId = "com.amazonaws.workspacesinstances#VolumeModificationRateExceededException";
|
|
262
|
+
name = "VolumeModificationRateExceededException";
|
|
263
|
+
$fault = "client";
|
|
264
|
+
Message;
|
|
265
|
+
ResourceId;
|
|
266
|
+
ResourceType;
|
|
267
|
+
constructor(opts) {
|
|
268
|
+
super({
|
|
269
|
+
name: "VolumeModificationRateExceededException",
|
|
270
|
+
$fault: "client",
|
|
271
|
+
...opts,
|
|
272
|
+
});
|
|
273
|
+
Object.setPrototypeOf(this, VolumeModificationRateExceededException.prototype);
|
|
274
|
+
this.Message = opts.Message;
|
|
275
|
+
this.ResourceId = opts.ResourceId;
|
|
276
|
+
this.ResourceType = opts.ResourceType;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
260
279
|
|
|
261
280
|
const _A = "Arn";
|
|
262
281
|
const _ACIA = "AssociateCarrierIpAddress";
|
|
@@ -412,6 +431,9 @@ const _MOe = "MetadataOptions";
|
|
|
412
431
|
const _MP = "MaxPrice";
|
|
413
432
|
const _MR = "MaxResults";
|
|
414
433
|
const _MT = "MarketType";
|
|
434
|
+
const _MV = "ModifyVolume";
|
|
435
|
+
const _MVR = "ModifyVolumeRequest";
|
|
436
|
+
const _MVRo = "ModifyVolumeResponse";
|
|
415
437
|
const _Mo = "Monitoring";
|
|
416
438
|
const _N = "Name";
|
|
417
439
|
const _NCI = "NetworkCardIndex";
|
|
@@ -462,6 +484,7 @@ const _SQEE = "ServiceQuotaExceededException";
|
|
|
462
484
|
const _T = "Throughput";
|
|
463
485
|
const _TE = "ThrottlingException";
|
|
464
486
|
const _TET = "TcpEstablishedTimeout";
|
|
487
|
+
const _TI = "TargetIops";
|
|
465
488
|
const _TK = "TagKeys";
|
|
466
489
|
const _TL = "TagList";
|
|
467
490
|
const _TPC = "ThreadsPerCore";
|
|
@@ -469,7 +492,10 @@ const _TR = "TagResource";
|
|
|
469
492
|
const _TRR = "TagResourceRequest";
|
|
470
493
|
const _TRRa = "TagResourceResponse";
|
|
471
494
|
const _TS = "TagSpecifications";
|
|
472
|
-
const _TSa = "
|
|
495
|
+
const _TSa = "TargetSize";
|
|
496
|
+
const _TSag = "TagSpecification";
|
|
497
|
+
const _TT = "TargetThroughput";
|
|
498
|
+
const _TVT = "TargetVolumeType";
|
|
473
499
|
const _Ta = "Tags";
|
|
474
500
|
const _Tag = "Tag";
|
|
475
501
|
const _Te = "Tenancy";
|
|
@@ -484,6 +510,7 @@ const _VE = "ValidationException";
|
|
|
484
510
|
const _VEF = "ValidationExceptionField";
|
|
485
511
|
const _VEFL = "ValidationExceptionFieldList";
|
|
486
512
|
const _VI = "VolumeId";
|
|
513
|
+
const _VMREE = "VolumeModificationRateExceededException";
|
|
487
514
|
const _VN = "VirtualName";
|
|
488
515
|
const _VS = "VolumeSize";
|
|
489
516
|
const _VT = "VolumeType";
|
|
@@ -546,6 +573,12 @@ var ValidationException$ = [-3, n0, _VE,
|
|
|
546
573
|
[0, 0, () => ValidationExceptionFieldList], 2
|
|
547
574
|
];
|
|
548
575
|
n0_registry.registerError(ValidationException$, ValidationException);
|
|
576
|
+
var VolumeModificationRateExceededException$ = [-3, n0, _VMREE,
|
|
577
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
578
|
+
[_M, _RI, _RT],
|
|
579
|
+
[0, 0, 0], 3
|
|
580
|
+
];
|
|
581
|
+
n0_registry.registerError(VolumeModificationRateExceededException$, VolumeModificationRateExceededException);
|
|
549
582
|
const errorTypeRegistries = [
|
|
550
583
|
_s_registry,
|
|
551
584
|
n0_registry,
|
|
@@ -801,6 +834,16 @@ var ManagedInstanceRequest$ = [3, n0, _MIR,
|
|
|
801
834
|
[_BDM, _CRS, _CO, _CS, _DAS, _EO, _EPI, _EOn, _HO, _IIP, _IIm, _IMO, _ITn, _IApv, _IAC, _KI, _KN, _LS, _MO, _MOe, _Mo, _NI, _NPO, _P, _PDNO, _PIA, _RIa, _SGI, _SG, _SIu, _TS, _UD],
|
|
802
835
|
[[() => BlockDeviceMappings, 0], () => CapacityReservationSpecification$, () => CpuOptionsRequest$, () => CreditSpecificationRequest$, 2, 2, 2, () => EnclaveOptionsRequest$, () => HibernationOptionsRequest$, () => IamInstanceProfileSpecification$, 0, () => InstanceMarketOptionsRequest$, 0, [() => Ipv6Addresses, 0], 1, 0, 0, () => LicenseSpecifications, () => InstanceMaintenanceOptionsRequest$, () => InstanceMetadataOptionsRequest$, () => RunInstancesMonitoringEnabled$, [() => NetworkInterfaces, 0], () => InstanceNetworkPerformanceOptionsRequest$, () => Placement$, () => PrivateDnsNameOptionsRequest$, [() => Ipv4Address, 0], 0, 64 | 0, 64 | 0, 0, () => TagSpecifications, [() => UserData, 0]]
|
|
803
836
|
];
|
|
837
|
+
var ModifyVolumeRequest$ = [3, n0, _MVR,
|
|
838
|
+
0,
|
|
839
|
+
[_VI, _SIGB, _VT, _I, _T, _CT],
|
|
840
|
+
[0, 1, 0, 1, 1, [() => ClientToken, 4]], 1
|
|
841
|
+
];
|
|
842
|
+
var ModifyVolumeResponse$ = [3, n0, _MVRo,
|
|
843
|
+
0,
|
|
844
|
+
[_VI, _TSa, _TVT, _TI, _TT],
|
|
845
|
+
[0, 1, 0, 1, 1]
|
|
846
|
+
];
|
|
804
847
|
var Placement$ = [3, n0, _P,
|
|
805
848
|
0,
|
|
806
849
|
[_Af, _AZ, _GI, _GN, _HI, _HRGA, _PN, _Te],
|
|
@@ -851,7 +894,7 @@ var TagResourceResponse$ = [3, n0, _TRRa,
|
|
|
851
894
|
[],
|
|
852
895
|
[]
|
|
853
896
|
];
|
|
854
|
-
var TagSpecification$ = [3, n0,
|
|
897
|
+
var TagSpecification$ = [3, n0, _TSag,
|
|
855
898
|
0,
|
|
856
899
|
[_RT, _Ta],
|
|
857
900
|
[0, () => TagList]
|
|
@@ -966,6 +1009,9 @@ var ListTagsForResource$ = [9, n0, _LTFR,
|
|
|
966
1009
|
var ListWorkspaceInstances$ = [9, n0, _LWI,
|
|
967
1010
|
0, () => ListWorkspaceInstancesRequest$, () => ListWorkspaceInstancesResponse$
|
|
968
1011
|
];
|
|
1012
|
+
var ModifyVolume$ = [9, n0, _MV,
|
|
1013
|
+
2, () => ModifyVolumeRequest$, () => ModifyVolumeResponse$
|
|
1014
|
+
];
|
|
969
1015
|
var TagResource$ = [9, n0, _TR,
|
|
970
1016
|
0, () => TagResourceRequest$, () => TagResourceResponse$
|
|
971
1017
|
];
|
|
@@ -1156,6 +1202,9 @@ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResourc
|
|
|
1156
1202
|
class ListWorkspaceInstancesCommand extends command(_ep0, _mw0, "ListWorkspaceInstances", ListWorkspaceInstances$) {
|
|
1157
1203
|
}
|
|
1158
1204
|
|
|
1205
|
+
class ModifyVolumeCommand extends command(_ep0, _mw0, "ModifyVolume", ModifyVolume$) {
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1159
1208
|
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1160
1209
|
}
|
|
1161
1210
|
|
|
@@ -1180,6 +1229,7 @@ const commands = {
|
|
|
1180
1229
|
ListRegionsCommand,
|
|
1181
1230
|
ListTagsForResourceCommand,
|
|
1182
1231
|
ListWorkspaceInstancesCommand,
|
|
1232
|
+
ModifyVolumeCommand,
|
|
1183
1233
|
TagResourceCommand,
|
|
1184
1234
|
UntagResourceCommand,
|
|
1185
1235
|
};
|
|
@@ -1406,6 +1456,10 @@ exports.ListWorkspaceInstancesRequest$ = ListWorkspaceInstancesRequest$;
|
|
|
1406
1456
|
exports.ListWorkspaceInstancesResponse$ = ListWorkspaceInstancesResponse$;
|
|
1407
1457
|
exports.ManagedInstanceRequest$ = ManagedInstanceRequest$;
|
|
1408
1458
|
exports.MarketTypeEnum = MarketTypeEnum;
|
|
1459
|
+
exports.ModifyVolume$ = ModifyVolume$;
|
|
1460
|
+
exports.ModifyVolumeCommand = ModifyVolumeCommand;
|
|
1461
|
+
exports.ModifyVolumeRequest$ = ModifyVolumeRequest$;
|
|
1462
|
+
exports.ModifyVolumeResponse$ = ModifyVolumeResponse$;
|
|
1409
1463
|
exports.NestedVirtualizationEnum = NestedVirtualizationEnum;
|
|
1410
1464
|
exports.Placement$ = Placement$;
|
|
1411
1465
|
exports.PlatformTypeEnum = PlatformTypeEnum;
|
|
@@ -1439,6 +1493,8 @@ exports.ValidationException = ValidationException;
|
|
|
1439
1493
|
exports.ValidationException$ = ValidationException$;
|
|
1440
1494
|
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
1441
1495
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1496
|
+
exports.VolumeModificationRateExceededException = VolumeModificationRateExceededException;
|
|
1497
|
+
exports.VolumeModificationRateExceededException$ = VolumeModificationRateExceededException$;
|
|
1442
1498
|
exports.VolumeTypeEnum = VolumeTypeEnum;
|
|
1443
1499
|
exports.WorkspaceInstance$ = WorkspaceInstance$;
|
|
1444
1500
|
exports.WorkspaceInstanceError$ = WorkspaceInstanceError$;
|
|
@@ -10,6 +10,7 @@ import { ListInstanceTypesCommand, } from "./commands/ListInstanceTypesCommand";
|
|
|
10
10
|
import { ListRegionsCommand, } from "./commands/ListRegionsCommand";
|
|
11
11
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
12
12
|
import { ListWorkspaceInstancesCommand, } from "./commands/ListWorkspaceInstancesCommand";
|
|
13
|
+
import { ModifyVolumeCommand, } from "./commands/ModifyVolumeCommand";
|
|
13
14
|
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
14
15
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
15
16
|
import { paginateListInstanceTypes } from "./pagination/ListInstanceTypesPaginator";
|
|
@@ -28,6 +29,7 @@ const commands = {
|
|
|
28
29
|
ListRegionsCommand,
|
|
29
30
|
ListTagsForResourceCommand,
|
|
30
31
|
ListWorkspaceInstancesCommand,
|
|
32
|
+
ModifyVolumeCommand,
|
|
31
33
|
TagResourceCommand,
|
|
32
34
|
UntagResourceCommand,
|
|
33
35
|
};
|
|
@@ -9,5 +9,6 @@ export * from "./ListInstanceTypesCommand";
|
|
|
9
9
|
export * from "./ListRegionsCommand";
|
|
10
10
|
export * from "./ListTagsForResourceCommand";
|
|
11
11
|
export * from "./ListWorkspaceInstancesCommand";
|
|
12
|
+
export * from "./ModifyVolumeCommand";
|
|
12
13
|
export * from "./TagResourceCommand";
|
|
13
14
|
export * from "./UntagResourceCommand";
|
package/dist-es/models/errors.js
CHANGED
|
@@ -136,3 +136,22 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
136
136
|
this.QuotaCode = opts.QuotaCode;
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
+
export class VolumeModificationRateExceededException extends __BaseException {
|
|
140
|
+
static shapeId = "com.amazonaws.workspacesinstances#VolumeModificationRateExceededException";
|
|
141
|
+
name = "VolumeModificationRateExceededException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
Message;
|
|
144
|
+
ResourceId;
|
|
145
|
+
ResourceType;
|
|
146
|
+
constructor(opts) {
|
|
147
|
+
super({
|
|
148
|
+
name: "VolumeModificationRateExceededException",
|
|
149
|
+
$fault: "client",
|
|
150
|
+
...opts,
|
|
151
|
+
});
|
|
152
|
+
Object.setPrototypeOf(this, VolumeModificationRateExceededException.prototype);
|
|
153
|
+
this.Message = opts.Message;
|
|
154
|
+
this.ResourceId = opts.ResourceId;
|
|
155
|
+
this.ResourceType = opts.ResourceType;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -152,6 +152,9 @@ const _MOe = "MetadataOptions";
|
|
|
152
152
|
const _MP = "MaxPrice";
|
|
153
153
|
const _MR = "MaxResults";
|
|
154
154
|
const _MT = "MarketType";
|
|
155
|
+
const _MV = "ModifyVolume";
|
|
156
|
+
const _MVR = "ModifyVolumeRequest";
|
|
157
|
+
const _MVRo = "ModifyVolumeResponse";
|
|
155
158
|
const _Mo = "Monitoring";
|
|
156
159
|
const _N = "Name";
|
|
157
160
|
const _NCI = "NetworkCardIndex";
|
|
@@ -202,6 +205,7 @@ const _SQEE = "ServiceQuotaExceededException";
|
|
|
202
205
|
const _T = "Throughput";
|
|
203
206
|
const _TE = "ThrottlingException";
|
|
204
207
|
const _TET = "TcpEstablishedTimeout";
|
|
208
|
+
const _TI = "TargetIops";
|
|
205
209
|
const _TK = "TagKeys";
|
|
206
210
|
const _TL = "TagList";
|
|
207
211
|
const _TPC = "ThreadsPerCore";
|
|
@@ -209,7 +213,10 @@ const _TR = "TagResource";
|
|
|
209
213
|
const _TRR = "TagResourceRequest";
|
|
210
214
|
const _TRRa = "TagResourceResponse";
|
|
211
215
|
const _TS = "TagSpecifications";
|
|
212
|
-
const _TSa = "
|
|
216
|
+
const _TSa = "TargetSize";
|
|
217
|
+
const _TSag = "TagSpecification";
|
|
218
|
+
const _TT = "TargetThroughput";
|
|
219
|
+
const _TVT = "TargetVolumeType";
|
|
213
220
|
const _Ta = "Tags";
|
|
214
221
|
const _Tag = "Tag";
|
|
215
222
|
const _Te = "Tenancy";
|
|
@@ -224,6 +231,7 @@ const _VE = "ValidationException";
|
|
|
224
231
|
const _VEF = "ValidationExceptionField";
|
|
225
232
|
const _VEFL = "ValidationExceptionFieldList";
|
|
226
233
|
const _VI = "VolumeId";
|
|
234
|
+
const _VMREE = "VolumeModificationRateExceededException";
|
|
227
235
|
const _VN = "VirtualName";
|
|
228
236
|
const _VS = "VolumeSize";
|
|
229
237
|
const _VT = "VolumeType";
|
|
@@ -241,7 +249,7 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.workspacesinstances";
|
|
|
241
249
|
const _se = "server";
|
|
242
250
|
const n0 = "com.amazonaws.workspacesinstances";
|
|
243
251
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
244
|
-
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
252
|
+
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, VolumeModificationRateExceededException, } from "../models/errors";
|
|
245
253
|
import { WorkspacesInstancesServiceException } from "../models/WorkspacesInstancesServiceException";
|
|
246
254
|
const _s_registry = new TypeRegistry(_s);
|
|
247
255
|
export var WorkspacesInstancesServiceException$ = [-3, _s, "WorkspacesInstancesServiceException", 0, [], []];
|
|
@@ -289,6 +297,12 @@ export var ValidationException$ = [-3, n0, _VE,
|
|
|
289
297
|
[0, 0, () => ValidationExceptionFieldList], 2
|
|
290
298
|
];
|
|
291
299
|
n0_registry.registerError(ValidationException$, ValidationException);
|
|
300
|
+
export var VolumeModificationRateExceededException$ = [-3, n0, _VMREE,
|
|
301
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
302
|
+
[_M, _RI, _RT],
|
|
303
|
+
[0, 0, 0], 3
|
|
304
|
+
];
|
|
305
|
+
n0_registry.registerError(VolumeModificationRateExceededException$, VolumeModificationRateExceededException);
|
|
292
306
|
export const errorTypeRegistries = [
|
|
293
307
|
_s_registry,
|
|
294
308
|
n0_registry,
|
|
@@ -544,6 +558,16 @@ export var ManagedInstanceRequest$ = [3, n0, _MIR,
|
|
|
544
558
|
[_BDM, _CRS, _CO, _CS, _DAS, _EO, _EPI, _EOn, _HO, _IIP, _IIm, _IMO, _ITn, _IApv, _IAC, _KI, _KN, _LS, _MO, _MOe, _Mo, _NI, _NPO, _P, _PDNO, _PIA, _RIa, _SGI, _SG, _SIu, _TS, _UD],
|
|
545
559
|
[[() => BlockDeviceMappings, 0], () => CapacityReservationSpecification$, () => CpuOptionsRequest$, () => CreditSpecificationRequest$, 2, 2, 2, () => EnclaveOptionsRequest$, () => HibernationOptionsRequest$, () => IamInstanceProfileSpecification$, 0, () => InstanceMarketOptionsRequest$, 0, [() => Ipv6Addresses, 0], 1, 0, 0, () => LicenseSpecifications, () => InstanceMaintenanceOptionsRequest$, () => InstanceMetadataOptionsRequest$, () => RunInstancesMonitoringEnabled$, [() => NetworkInterfaces, 0], () => InstanceNetworkPerformanceOptionsRequest$, () => Placement$, () => PrivateDnsNameOptionsRequest$, [() => Ipv4Address, 0], 0, 64 | 0, 64 | 0, 0, () => TagSpecifications, [() => UserData, 0]]
|
|
546
560
|
];
|
|
561
|
+
export var ModifyVolumeRequest$ = [3, n0, _MVR,
|
|
562
|
+
0,
|
|
563
|
+
[_VI, _SIGB, _VT, _I, _T, _CT],
|
|
564
|
+
[0, 1, 0, 1, 1, [() => ClientToken, 4]], 1
|
|
565
|
+
];
|
|
566
|
+
export var ModifyVolumeResponse$ = [3, n0, _MVRo,
|
|
567
|
+
0,
|
|
568
|
+
[_VI, _TSa, _TVT, _TI, _TT],
|
|
569
|
+
[0, 1, 0, 1, 1]
|
|
570
|
+
];
|
|
547
571
|
export var Placement$ = [3, n0, _P,
|
|
548
572
|
0,
|
|
549
573
|
[_Af, _AZ, _GI, _GN, _HI, _HRGA, _PN, _Te],
|
|
@@ -594,7 +618,7 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
|
|
|
594
618
|
[],
|
|
595
619
|
[]
|
|
596
620
|
];
|
|
597
|
-
export var TagSpecification$ = [3, n0,
|
|
621
|
+
export var TagSpecification$ = [3, n0, _TSag,
|
|
598
622
|
0,
|
|
599
623
|
[_RT, _Ta],
|
|
600
624
|
[0, () => TagList]
|
|
@@ -713,6 +737,9 @@ export var ListTagsForResource$ = [9, n0, _LTFR,
|
|
|
713
737
|
export var ListWorkspaceInstances$ = [9, n0, _LWI,
|
|
714
738
|
0, () => ListWorkspaceInstancesRequest$, () => ListWorkspaceInstancesResponse$
|
|
715
739
|
];
|
|
740
|
+
export var ModifyVolume$ = [9, n0, _MV,
|
|
741
|
+
2, () => ModifyVolumeRequest$, () => ModifyVolumeResponse$
|
|
742
|
+
];
|
|
716
743
|
export var TagResource$ = [9, n0, _TR,
|
|
717
744
|
0, () => TagResourceRequest$, () => TagResourceResponse$
|
|
718
745
|
];
|
|
@@ -10,6 +10,7 @@ import { type ListInstanceTypesCommandInput, type ListInstanceTypesCommandOutput
|
|
|
10
10
|
import { type ListRegionsCommandInput, type ListRegionsCommandOutput } from "./commands/ListRegionsCommand";
|
|
11
11
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
12
12
|
import { type ListWorkspaceInstancesCommandInput, type ListWorkspaceInstancesCommandOutput } from "./commands/ListWorkspaceInstancesCommand";
|
|
13
|
+
import { type ModifyVolumeCommandInput, type ModifyVolumeCommandOutput } from "./commands/ModifyVolumeCommand";
|
|
13
14
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
14
15
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
15
16
|
import { WorkspacesInstancesClient } from "./WorkspacesInstancesClient";
|
|
@@ -89,6 +90,12 @@ export interface WorkspacesInstances {
|
|
|
89
90
|
listWorkspaceInstances(args: ListWorkspaceInstancesCommandInput, options?: WorkspacesInstancesRequestOptions): Promise<ListWorkspaceInstancesCommandOutput>;
|
|
90
91
|
listWorkspaceInstances(args: ListWorkspaceInstancesCommandInput, cb: (err: any, data?: ListWorkspaceInstancesCommandOutput) => void): void;
|
|
91
92
|
listWorkspaceInstances(args: ListWorkspaceInstancesCommandInput, options: WorkspacesInstancesRequestOptions, cb: (err: any, data?: ListWorkspaceInstancesCommandOutput) => void): void;
|
|
93
|
+
/**
|
|
94
|
+
* @see {@link ModifyVolumeCommand}
|
|
95
|
+
*/
|
|
96
|
+
modifyVolume(args: ModifyVolumeCommandInput, options?: WorkspacesInstancesRequestOptions): Promise<ModifyVolumeCommandOutput>;
|
|
97
|
+
modifyVolume(args: ModifyVolumeCommandInput, cb: (err: any, data?: ModifyVolumeCommandOutput) => void): void;
|
|
98
|
+
modifyVolume(args: ModifyVolumeCommandInput, options: WorkspacesInstancesRequestOptions, cb: (err: any, data?: ModifyVolumeCommandOutput) => void): void;
|
|
92
99
|
/**
|
|
93
100
|
* @see {@link TagResourceCommand}
|
|
94
101
|
*/
|
|
@@ -17,6 +17,7 @@ import type { ListInstanceTypesCommandInput, ListInstanceTypesCommandOutput } fr
|
|
|
17
17
|
import type { ListRegionsCommandInput, ListRegionsCommandOutput } from "./commands/ListRegionsCommand";
|
|
18
18
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
19
19
|
import type { ListWorkspaceInstancesCommandInput, ListWorkspaceInstancesCommandOutput } from "./commands/ListWorkspaceInstancesCommand";
|
|
20
|
+
import type { ModifyVolumeCommandInput, ModifyVolumeCommandOutput } from "./commands/ModifyVolumeCommand";
|
|
20
21
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
21
22
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
22
23
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -25,11 +26,11 @@ export { __Client };
|
|
|
25
26
|
/**
|
|
26
27
|
* @public
|
|
27
28
|
*/
|
|
28
|
-
export type ServiceInputTypes = AssociateVolumeCommandInput | CreateVolumeCommandInput | CreateWorkspaceInstanceCommandInput | DeleteVolumeCommandInput | DeleteWorkspaceInstanceCommandInput | DisassociateVolumeCommandInput | GetWorkspaceInstanceCommandInput | ListInstanceTypesCommandInput | ListRegionsCommandInput | ListTagsForResourceCommandInput | ListWorkspaceInstancesCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
29
|
+
export type ServiceInputTypes = AssociateVolumeCommandInput | CreateVolumeCommandInput | CreateWorkspaceInstanceCommandInput | DeleteVolumeCommandInput | DeleteWorkspaceInstanceCommandInput | DisassociateVolumeCommandInput | GetWorkspaceInstanceCommandInput | ListInstanceTypesCommandInput | ListRegionsCommandInput | ListTagsForResourceCommandInput | ListWorkspaceInstancesCommandInput | ModifyVolumeCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
29
30
|
/**
|
|
30
31
|
* @public
|
|
31
32
|
*/
|
|
32
|
-
export type ServiceOutputTypes = AssociateVolumeCommandOutput | CreateVolumeCommandOutput | CreateWorkspaceInstanceCommandOutput | DeleteVolumeCommandOutput | DeleteWorkspaceInstanceCommandOutput | DisassociateVolumeCommandOutput | GetWorkspaceInstanceCommandOutput | ListInstanceTypesCommandOutput | ListRegionsCommandOutput | ListTagsForResourceCommandOutput | ListWorkspaceInstancesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
33
|
+
export type ServiceOutputTypes = AssociateVolumeCommandOutput | CreateVolumeCommandOutput | CreateWorkspaceInstanceCommandOutput | DeleteVolumeCommandOutput | DeleteWorkspaceInstanceCommandOutput | DisassociateVolumeCommandOutput | GetWorkspaceInstanceCommandOutput | ListInstanceTypesCommandOutput | ListRegionsCommandOutput | ListTagsForResourceCommandOutput | ListWorkspaceInstancesCommandOutput | ModifyVolumeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
33
34
|
/**
|
|
34
35
|
* @public
|
|
35
36
|
*/
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ModifyVolumeRequest, ModifyVolumeResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ModifyVolumeCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ModifyVolumeCommandInput extends ModifyVolumeRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ModifyVolumeCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ModifyVolumeCommandOutput extends ModifyVolumeResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ModifyVolumeCommand_base: {
|
|
22
|
+
new (input: ModifyVolumeCommandInput): import("@smithy/core/client").CommandImpl<ModifyVolumeCommandInput, ModifyVolumeCommandOutput, import("..").WorkspacesInstancesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ModifyVolumeCommandInput): import("@smithy/core/client").CommandImpl<ModifyVolumeCommandInput, ModifyVolumeCommandOutput, import("..").WorkspacesInstancesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Modifies the size, volume type, IOPS (input/output operations per second), or throughput of a volume. When you modify a volume, you must specify at least one of these parameters. You can modify a volume only after any previous modification for that volume has finished.</p> <p>To track the progress of a modification, use the Amazon EC2 <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVolumesModifications.html">DescribeVolumesModifications</a> operation. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-modifications.html">Monitor the progress of Amazon EBS volume modifications</a> in the <i>Amazon EBS User Guide</i>.</p> <p>After you increase the size of a volume, you must extend the partition and file system to use the new storage capacity. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html">Extend the file system after resizing an Amazon EBS volume</a> in the <i>Amazon EBS User Guide</i>, which covers both <a href="https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html#extend-linux">Linux</a> and <a href="https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html#extend-windows">Windows</a> instances.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WorkspacesInstancesClient, ModifyVolumeCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import
|
|
32
|
+
* // const { WorkspacesInstancesClient, ModifyVolumeCommand } = require("@aws-sdk/client-workspaces-instances"); // CommonJS import
|
|
33
|
+
* // import type { WorkspacesInstancesClientConfig } from "@aws-sdk/client-workspaces-instances";
|
|
34
|
+
* const config = {}; // type is WorkspacesInstancesClientConfig
|
|
35
|
+
* const client = new WorkspacesInstancesClient(config);
|
|
36
|
+
* const input = { // ModifyVolumeRequest
|
|
37
|
+
* VolumeId: "STRING_VALUE", // required
|
|
38
|
+
* SizeInGB: Number("int"),
|
|
39
|
+
* VolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
|
|
40
|
+
* Iops: Number("int"),
|
|
41
|
+
* Throughput: Number("int"),
|
|
42
|
+
* ClientToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ModifyVolumeCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ModifyVolumeResponse
|
|
47
|
+
* // VolumeId: "STRING_VALUE",
|
|
48
|
+
* // TargetSize: Number("int"),
|
|
49
|
+
* // TargetVolumeType: "standard" || "io1" || "io2" || "gp2" || "sc1" || "st1" || "gp3",
|
|
50
|
+
* // TargetIops: Number("int"),
|
|
51
|
+
* // TargetThroughput: Number("int"),
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ModifyVolumeCommandInput - {@link ModifyVolumeCommandInput}
|
|
57
|
+
* @returns {@link ModifyVolumeCommandOutput}
|
|
58
|
+
* @see {@link ModifyVolumeCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ModifyVolumeCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link WorkspacesInstancesClientResolvedConfig | config} for WorkspacesInstancesClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>Indicates insufficient permissions to perform the requested action.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConflictException} (client fault)
|
|
66
|
+
* <p>Signals a conflict with the current state of the resource.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p>Indicates an unexpected server-side error occurred.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>Indicates the requested resource could not be found.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
75
|
+
* <p>Indicates that a service quota has been exceeded.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* <p>Indicates the request rate has exceeded limits.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>Indicates invalid input parameters in the request.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link VolumeModificationRateExceededException} (client fault)
|
|
84
|
+
* <p>The volume has a previous modification that is still in progress, or has reached the limit of four modifications in a rolling 24-hour period. Wait for the current modification to finish, or wait until the time indicated in the error message, and then retry 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 ModifyVolumeCommand extends ModifyVolumeCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: ModifyVolumeRequest;
|
|
97
|
+
output: ModifyVolumeResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: ModifyVolumeCommandInput;
|
|
101
|
+
output: ModifyVolumeCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -9,5 +9,6 @@ export * from "./ListInstanceTypesCommand";
|
|
|
9
9
|
export * from "./ListRegionsCommand";
|
|
10
10
|
export * from "./ListTagsForResourceCommand";
|
|
11
11
|
export * from "./ListWorkspaceInstancesCommand";
|
|
12
|
+
export * from "./ModifyVolumeCommand";
|
|
12
13
|
export * from "./TagResourceCommand";
|
|
13
14
|
export * from "./UntagResourceCommand";
|
|
@@ -202,3 +202,31 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
202
202
|
*/
|
|
203
203
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
204
204
|
}
|
|
205
|
+
/**
|
|
206
|
+
* <p>The volume has a previous modification that is still in progress, or has reached the limit of four modifications in a rolling 24-hour period. Wait for the current modification to finish, or wait until the time indicated in the error message, and then retry the request.</p>
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
export declare class VolumeModificationRateExceededException extends __BaseException {
|
|
210
|
+
static readonly shapeId: string;
|
|
211
|
+
readonly name: "VolumeModificationRateExceededException";
|
|
212
|
+
readonly $fault: "client";
|
|
213
|
+
/**
|
|
214
|
+
* <p>Specifies the reason that the modification request was rejected.</p>
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
Message: string | undefined;
|
|
218
|
+
/**
|
|
219
|
+
* <p>Specifies the identifier of the volume for which the modification request was rejected.</p>
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
ResourceId: string | undefined;
|
|
223
|
+
/**
|
|
224
|
+
* <p>Specifies the type of the resource for which the modification request was rejected.</p>
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
ResourceType: string | undefined;
|
|
228
|
+
/**
|
|
229
|
+
* @internal
|
|
230
|
+
*/
|
|
231
|
+
constructor(opts: __ExceptionOptionType<VolumeModificationRateExceededException, __BaseException>);
|
|
232
|
+
}
|
|
@@ -1310,6 +1310,73 @@ export interface ListWorkspaceInstancesResponse {
|
|
|
1310
1310
|
*/
|
|
1311
1311
|
NextToken?: string | undefined;
|
|
1312
1312
|
}
|
|
1313
|
+
/**
|
|
1314
|
+
* <p>Contains the parameters for modifying a volume, including the target size, volume type, IOPS, or throughput.</p>
|
|
1315
|
+
* @public
|
|
1316
|
+
*/
|
|
1317
|
+
export interface ModifyVolumeRequest {
|
|
1318
|
+
/**
|
|
1319
|
+
* <p>Specifies the identifier of the volume to modify.</p>
|
|
1320
|
+
* @public
|
|
1321
|
+
*/
|
|
1322
|
+
VolumeId: string | undefined;
|
|
1323
|
+
/**
|
|
1324
|
+
* <p>Specifies the target size of the volume, in GiB. The target size must be greater than or equal to the current size of the volume. If you don't specify a size, the current size is retained.</p>
|
|
1325
|
+
* @public
|
|
1326
|
+
*/
|
|
1327
|
+
SizeInGB?: number | undefined;
|
|
1328
|
+
/**
|
|
1329
|
+
* <p>Specifies the target Amazon Elastic Block Store (Amazon EBS) volume type. If you don't specify a volume type, the current volume type is retained.</p>
|
|
1330
|
+
* @public
|
|
1331
|
+
*/
|
|
1332
|
+
VolumeType?: VolumeTypeEnum | undefined;
|
|
1333
|
+
/**
|
|
1334
|
+
* <p>Specifies the target IOPS rate of the volume. This parameter is valid only for <code>gp3</code>, <code>io1</code>, and <code>io2</code> volumes. If you don't specify IOPS and keep the same volume type, the current IOPS rate is retained.</p>
|
|
1335
|
+
* @public
|
|
1336
|
+
*/
|
|
1337
|
+
Iops?: number | undefined;
|
|
1338
|
+
/**
|
|
1339
|
+
* <p>Specifies the target throughput of the volume, in MiB/s. This parameter is valid only for <code>gp3</code> volumes. If you don't specify throughput and the volume remains <code>gp3</code>, the current throughput is retained.</p>
|
|
1340
|
+
* @public
|
|
1341
|
+
*/
|
|
1342
|
+
Throughput?: number | undefined;
|
|
1343
|
+
/**
|
|
1344
|
+
* <p>Unique token to ensure idempotent volume modification, preventing duplicate volume modifications.</p>
|
|
1345
|
+
* @public
|
|
1346
|
+
*/
|
|
1347
|
+
ClientToken?: string | undefined;
|
|
1348
|
+
}
|
|
1349
|
+
/**
|
|
1350
|
+
* <p>Contains the target configuration of the volume after the modification, including the size, volume type, IOPS, and throughput where applicable.</p>
|
|
1351
|
+
* @public
|
|
1352
|
+
*/
|
|
1353
|
+
export interface ModifyVolumeResponse {
|
|
1354
|
+
/**
|
|
1355
|
+
* <p>Specifies the identifier of the modified volume.</p>
|
|
1356
|
+
* @public
|
|
1357
|
+
*/
|
|
1358
|
+
VolumeId?: string | undefined;
|
|
1359
|
+
/**
|
|
1360
|
+
* <p>Specifies the target size of the volume, in GiB.</p>
|
|
1361
|
+
* @public
|
|
1362
|
+
*/
|
|
1363
|
+
TargetSize?: number | undefined;
|
|
1364
|
+
/**
|
|
1365
|
+
* <p>Specifies the target Amazon EBS volume type.</p>
|
|
1366
|
+
* @public
|
|
1367
|
+
*/
|
|
1368
|
+
TargetVolumeType?: VolumeTypeEnum | undefined;
|
|
1369
|
+
/**
|
|
1370
|
+
* <p>Specifies the target IOPS rate of the volume.</p>
|
|
1371
|
+
* @public
|
|
1372
|
+
*/
|
|
1373
|
+
TargetIops?: number | undefined;
|
|
1374
|
+
/**
|
|
1375
|
+
* <p>Specifies the target throughput of the volume, in MiB/s.</p>
|
|
1376
|
+
* @public
|
|
1377
|
+
*/
|
|
1378
|
+
TargetThroughput?: number | undefined;
|
|
1379
|
+
}
|
|
1313
1380
|
/**
|
|
1314
1381
|
* <p>Specifies tags to add to a WorkSpace Instance.</p>
|
|
1315
1382
|
* @public
|
|
@@ -8,6 +8,7 @@ export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
|
8
8
|
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
9
9
|
export declare var ThrottlingException$: StaticErrorSchema;
|
|
10
10
|
export declare var ValidationException$: StaticErrorSchema;
|
|
11
|
+
export declare var VolumeModificationRateExceededException$: StaticErrorSchema;
|
|
11
12
|
/**
|
|
12
13
|
* TypeRegistry instances containing modeled errors.
|
|
13
14
|
* @internal
|
|
@@ -63,6 +64,8 @@ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
|
63
64
|
export declare var ListWorkspaceInstancesRequest$: StaticStructureSchema;
|
|
64
65
|
export declare var ListWorkspaceInstancesResponse$: StaticStructureSchema;
|
|
65
66
|
export declare var ManagedInstanceRequest$: StaticStructureSchema;
|
|
67
|
+
export declare var ModifyVolumeRequest$: StaticStructureSchema;
|
|
68
|
+
export declare var ModifyVolumeResponse$: StaticStructureSchema;
|
|
66
69
|
export declare var Placement$: StaticStructureSchema;
|
|
67
70
|
export declare var PrivateDnsNameOptionsRequest$: StaticStructureSchema;
|
|
68
71
|
export declare var PrivateIpAddressSpecification$: StaticStructureSchema;
|
|
@@ -90,5 +93,6 @@ export declare var ListInstanceTypes$: StaticOperationSchema;
|
|
|
90
93
|
export declare var ListRegions$: StaticOperationSchema;
|
|
91
94
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
92
95
|
export declare var ListWorkspaceInstances$: StaticOperationSchema;
|
|
96
|
+
export declare var ModifyVolume$: StaticOperationSchema;
|
|
93
97
|
export declare var TagResource$: StaticOperationSchema;
|
|
94
98
|
export declare var UntagResource$: StaticOperationSchema;
|
|
@@ -45,6 +45,10 @@ import {
|
|
|
45
45
|
ListWorkspaceInstancesCommandInput,
|
|
46
46
|
ListWorkspaceInstancesCommandOutput,
|
|
47
47
|
} from "./commands/ListWorkspaceInstancesCommand";
|
|
48
|
+
import {
|
|
49
|
+
ModifyVolumeCommandInput,
|
|
50
|
+
ModifyVolumeCommandOutput,
|
|
51
|
+
} from "./commands/ModifyVolumeCommand";
|
|
48
52
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
49
53
|
import {
|
|
50
54
|
UntagResourceCommandInput,
|
|
@@ -201,6 +205,19 @@ export interface WorkspacesInstances {
|
|
|
201
205
|
options: WorkspacesInstancesRequestOptions,
|
|
202
206
|
cb: (err: any, data?: ListWorkspaceInstancesCommandOutput) => void,
|
|
203
207
|
): void;
|
|
208
|
+
modifyVolume(
|
|
209
|
+
args: ModifyVolumeCommandInput,
|
|
210
|
+
options?: WorkspacesInstancesRequestOptions,
|
|
211
|
+
): Promise<ModifyVolumeCommandOutput>;
|
|
212
|
+
modifyVolume(
|
|
213
|
+
args: ModifyVolumeCommandInput,
|
|
214
|
+
cb: (err: any, data?: ModifyVolumeCommandOutput) => void,
|
|
215
|
+
): void;
|
|
216
|
+
modifyVolume(
|
|
217
|
+
args: ModifyVolumeCommandInput,
|
|
218
|
+
options: WorkspacesInstancesRequestOptions,
|
|
219
|
+
cb: (err: any, data?: ModifyVolumeCommandOutput) => void,
|
|
220
|
+
): void;
|
|
204
221
|
tagResource(
|
|
205
222
|
args: TagResourceCommandInput,
|
|
206
223
|
options?: WorkspacesInstancesRequestOptions,
|
|
@@ -74,6 +74,10 @@ import {
|
|
|
74
74
|
ListWorkspaceInstancesCommandInput,
|
|
75
75
|
ListWorkspaceInstancesCommandOutput,
|
|
76
76
|
} from "./commands/ListWorkspaceInstancesCommand";
|
|
77
|
+
import {
|
|
78
|
+
ModifyVolumeCommandInput,
|
|
79
|
+
ModifyVolumeCommandOutput,
|
|
80
|
+
} from "./commands/ModifyVolumeCommand";
|
|
77
81
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
78
82
|
import {
|
|
79
83
|
UntagResourceCommandInput,
|
|
@@ -98,6 +102,7 @@ export type ServiceInputTypes =
|
|
|
98
102
|
| ListRegionsCommandInput
|
|
99
103
|
| ListTagsForResourceCommandInput
|
|
100
104
|
| ListWorkspaceInstancesCommandInput
|
|
105
|
+
| ModifyVolumeCommandInput
|
|
101
106
|
| TagResourceCommandInput
|
|
102
107
|
| UntagResourceCommandInput;
|
|
103
108
|
export type ServiceOutputTypes =
|
|
@@ -112,6 +117,7 @@ export type ServiceOutputTypes =
|
|
|
112
117
|
| ListRegionsCommandOutput
|
|
113
118
|
| ListTagsForResourceCommandOutput
|
|
114
119
|
| ListWorkspaceInstancesCommandOutput
|
|
120
|
+
| ModifyVolumeCommandOutput
|
|
115
121
|
| TagResourceCommandOutput
|
|
116
122
|
| UntagResourceCommandOutput;
|
|
117
123
|
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { ModifyVolumeRequest, ModifyVolumeResponse } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface ModifyVolumeCommandInput extends ModifyVolumeRequest {}
|
|
5
|
+
export interface ModifyVolumeCommandOutput extends ModifyVolumeResponse, __MetadataBearer {}
|
|
6
|
+
declare const ModifyVolumeCommand_base: {
|
|
7
|
+
new (
|
|
8
|
+
input: ModifyVolumeCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
|
+
ModifyVolumeCommandInput,
|
|
11
|
+
ModifyVolumeCommandOutput,
|
|
12
|
+
import("..").WorkspacesInstancesClientResolvedConfig,
|
|
13
|
+
import("..").ServiceInputTypes,
|
|
14
|
+
import("..").ServiceOutputTypes
|
|
15
|
+
>;
|
|
16
|
+
new (
|
|
17
|
+
input: ModifyVolumeCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
ModifyVolumeCommandInput,
|
|
20
|
+
ModifyVolumeCommandOutput,
|
|
21
|
+
import("..").WorkspacesInstancesClientResolvedConfig,
|
|
22
|
+
import("..").ServiceInputTypes,
|
|
23
|
+
import("..").ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
export declare class ModifyVolumeCommand extends ModifyVolumeCommand_base {
|
|
28
|
+
protected static __types: {
|
|
29
|
+
api: {
|
|
30
|
+
input: ModifyVolumeRequest;
|
|
31
|
+
output: ModifyVolumeResponse;
|
|
32
|
+
};
|
|
33
|
+
sdk: {
|
|
34
|
+
input: ModifyVolumeCommandInput;
|
|
35
|
+
output: ModifyVolumeCommandOutput;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -9,5 +9,6 @@ export * from "./ListInstanceTypesCommand";
|
|
|
9
9
|
export * from "./ListRegionsCommand";
|
|
10
10
|
export * from "./ListTagsForResourceCommand";
|
|
11
11
|
export * from "./ListWorkspaceInstancesCommand";
|
|
12
|
+
export * from "./ModifyVolumeCommand";
|
|
12
13
|
export * from "./TagResourceCommand";
|
|
13
14
|
export * from "./UntagResourceCommand";
|
|
@@ -69,3 +69,14 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
69
69
|
QuotaCode: string | undefined;
|
|
70
70
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
71
71
|
}
|
|
72
|
+
export declare class VolumeModificationRateExceededException extends __BaseException {
|
|
73
|
+
static readonly shapeId: string;
|
|
74
|
+
readonly name: "VolumeModificationRateExceededException";
|
|
75
|
+
readonly $fault: "client";
|
|
76
|
+
Message: string | undefined;
|
|
77
|
+
ResourceId: string | undefined;
|
|
78
|
+
ResourceType: string | undefined;
|
|
79
|
+
constructor(
|
|
80
|
+
opts: __ExceptionOptionType<VolumeModificationRateExceededException, __BaseException>,
|
|
81
|
+
);
|
|
82
|
+
}
|
|
@@ -330,6 +330,21 @@ export interface ListWorkspaceInstancesResponse {
|
|
|
330
330
|
WorkspaceInstances: WorkspaceInstance[] | undefined;
|
|
331
331
|
NextToken?: string | undefined;
|
|
332
332
|
}
|
|
333
|
+
export interface ModifyVolumeRequest {
|
|
334
|
+
VolumeId: string | undefined;
|
|
335
|
+
SizeInGB?: number | undefined;
|
|
336
|
+
VolumeType?: VolumeTypeEnum | undefined;
|
|
337
|
+
Iops?: number | undefined;
|
|
338
|
+
Throughput?: number | undefined;
|
|
339
|
+
ClientToken?: string | undefined;
|
|
340
|
+
}
|
|
341
|
+
export interface ModifyVolumeResponse {
|
|
342
|
+
VolumeId?: string | undefined;
|
|
343
|
+
TargetSize?: number | undefined;
|
|
344
|
+
TargetVolumeType?: VolumeTypeEnum | undefined;
|
|
345
|
+
TargetIops?: number | undefined;
|
|
346
|
+
TargetThroughput?: number | undefined;
|
|
347
|
+
}
|
|
333
348
|
export interface TagResourceRequest {
|
|
334
349
|
WorkspaceInstanceId: string | undefined;
|
|
335
350
|
Tags: Tag[] | undefined;
|
|
@@ -8,6 +8,7 @@ export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
|
8
8
|
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
9
9
|
export declare var ThrottlingException$: StaticErrorSchema;
|
|
10
10
|
export declare var ValidationException$: StaticErrorSchema;
|
|
11
|
+
export declare var VolumeModificationRateExceededException$: StaticErrorSchema;
|
|
11
12
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
12
13
|
export declare var AssociateVolumeRequest$: StaticStructureSchema;
|
|
13
14
|
export declare var AssociateVolumeResponse$: StaticStructureSchema;
|
|
@@ -58,6 +59,8 @@ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
|
58
59
|
export declare var ListWorkspaceInstancesRequest$: StaticStructureSchema;
|
|
59
60
|
export declare var ListWorkspaceInstancesResponse$: StaticStructureSchema;
|
|
60
61
|
export declare var ManagedInstanceRequest$: StaticStructureSchema;
|
|
62
|
+
export declare var ModifyVolumeRequest$: StaticStructureSchema;
|
|
63
|
+
export declare var ModifyVolumeResponse$: StaticStructureSchema;
|
|
61
64
|
export declare var Placement$: StaticStructureSchema;
|
|
62
65
|
export declare var PrivateDnsNameOptionsRequest$: StaticStructureSchema;
|
|
63
66
|
export declare var PrivateIpAddressSpecification$: StaticStructureSchema;
|
|
@@ -85,5 +88,6 @@ export declare var ListInstanceTypes$: StaticOperationSchema;
|
|
|
85
88
|
export declare var ListRegions$: StaticOperationSchema;
|
|
86
89
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
87
90
|
export declare var ListWorkspaceInstances$: StaticOperationSchema;
|
|
91
|
+
export declare var ModifyVolume$: StaticOperationSchema;
|
|
88
92
|
export declare var TagResource$: StaticOperationSchema;
|
|
89
93
|
export declare var UntagResource$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workspaces-instances",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1153.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Workspaces Instances Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-workspaces-instances",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.4",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.87",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.
|
|
52
|
+
"@smithy/core": "^3.36.0",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|