@aws-sdk/client-workspaces-instances 3.970.0 → 3.972.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/dist-cjs/index.js CHANGED
@@ -257,9 +257,11 @@ const _AVR = "AssociateVolumeRequest";
257
257
  const _AVRs = "AssociateVolumeResponse";
258
258
  const _AZ = "AvailabilityZone";
259
259
  const _Af = "Affinity";
260
+ const _BC = "BillingConfiguration";
260
261
  const _BDM = "BlockDeviceMappings";
261
262
  const _BDMR = "BlockDeviceMappingRequest";
262
263
  const _BDMl = "BlockDurationMinutes";
264
+ const _BM = "BillingMode";
263
265
  const _BW = "BandwidthWeighting";
264
266
  const _C = "Configured";
265
267
  const _CC = "CoreCount";
@@ -343,6 +345,7 @@ const _IA = "Ipv4Address";
343
345
  const _IAC = "Ipv6AddressCount";
344
346
  const _IAp = "Ipv6Address";
345
347
  const _IApv = "Ipv6Addresses";
348
+ const _ICF = "InstanceConfigurationFilter";
346
349
  const _II = "InstanceId";
347
350
  const _IIA = "InstanceIpv6Address";
348
351
  const _IIB = "InstanceInterruptionBehavior";
@@ -415,6 +418,7 @@ const _PIAr = "PrivateIpAddresses";
415
418
  const _PN = "PartitionNumber";
416
419
  const _PS = "ProvisionState";
417
420
  const _PSr = "ProvisionStates";
421
+ const _PT = "PlatformType";
418
422
  const _Pr = "Primary";
419
423
  const _QC = "QuotaCode";
420
424
  const _R = "Regions";
@@ -433,6 +437,8 @@ const _SC = "ServiceCode";
433
437
  const _SG = "SecurityGroups";
434
438
  const _SGI = "SecurityGroupIds";
435
439
  const _SI = "SnapshotId";
440
+ const _SIC = "SupportedInstanceConfigurations";
441
+ const _SICu = "SupportedInstanceConfiguration";
436
442
  const _SIGB = "SizeInGB";
437
443
  const _SIT = "SpotInstanceType";
438
444
  const _SIu = "SubnetId";
@@ -503,6 +509,11 @@ var AssociateVolumeResponse$ = [3, n0, _AVRs,
503
509
  [],
504
510
  []
505
511
  ];
512
+ var BillingConfiguration$ = [3, n0, _BC,
513
+ 0,
514
+ [_BM],
515
+ [0], 1
516
+ ];
506
517
  var BlockDeviceMappingRequest$ = [3, n0, _BDMR,
507
518
  0,
508
519
  [_DN, _E, _ND, _VN],
@@ -546,8 +557,8 @@ var CreateVolumeResponse$ = [3, n0, _CVRr,
546
557
  ];
547
558
  var CreateWorkspaceInstanceRequest$ = [3, n0, _CWIR,
548
559
  0,
549
- [_MI, _CT, _Ta],
550
- [[() => ManagedInstanceRequest$, 0], [() => ClientToken, 4], () => TagList], 1
560
+ [_MI, _CT, _Ta, _BC],
561
+ [[() => ManagedInstanceRequest$, 0], [() => ClientToken, 4], () => TagList, () => BillingConfiguration$], 1
551
562
  ];
552
563
  var CreateWorkspaceInstanceResponse$ = [3, n0, _CWIRr,
553
564
  0,
@@ -626,8 +637,8 @@ var GetWorkspaceInstanceRequest$ = [3, n0, _GWIR,
626
637
  ];
627
638
  var GetWorkspaceInstanceResponse$ = [3, n0, _GWIRe,
628
639
  0,
629
- [_WIE, _ECIEn, _PS, _WII, _ECMI],
630
- [() => WorkspaceInstanceErrors, () => EC2InstanceErrors, 0, 0, () => EC2ManagedInstance$]
640
+ [_WIE, _ECIEn, _PS, _WII, _ECMI, _BC],
641
+ [() => WorkspaceInstanceErrors, () => EC2InstanceErrors, 0, 0, () => EC2ManagedInstance$, () => BillingConfiguration$]
631
642
  ];
632
643
  var HibernationOptionsRequest$ = [3, n0, _HOR,
633
644
  0,
@@ -639,6 +650,11 @@ var IamInstanceProfileSpecification$ = [3, n0, _IIPS,
639
650
  [_A, _N],
640
651
  [0, 0]
641
652
  ];
653
+ var InstanceConfigurationFilter$ = [3, n0, _ICF,
654
+ 0,
655
+ [_BM, _PT, _Te],
656
+ [0, 0, 0], 3
657
+ ];
642
658
  var InstanceIpv6Address$ = [3, n0, _IIA,
643
659
  0,
644
660
  [_IAp, _IPI],
@@ -671,8 +687,8 @@ var InstanceNetworkPerformanceOptionsRequest$ = [3, n0, _INPOR,
671
687
  ];
672
688
  var InstanceTypeInfo$ = [3, n0, _ITI,
673
689
  0,
674
- [_ITn],
675
- [0]
690
+ [_ITn, _SIC],
691
+ [0, () => SupportedInstanceConfigurations]
676
692
  ];
677
693
  var InternalServerException$ = [-3, n0, _ISE,
678
694
  { [_e]: _s, [_hE]: 500 },
@@ -697,8 +713,8 @@ var LicenseConfigurationRequest$ = [3, n0, _LCR,
697
713
  ];
698
714
  var ListInstanceTypesRequest$ = [3, n0, _LITR,
699
715
  0,
700
- [_MR, _NT],
701
- [1, [() => NextToken, 0]]
716
+ [_MR, _NT, _ICF],
717
+ [1, [() => NextToken, 0], () => InstanceConfigurationFilter$]
702
718
  ];
703
719
  var ListInstanceTypesResponse$ = [3, n0, _LITRi,
704
720
  0,
@@ -782,6 +798,11 @@ var SpotMarketOptions$ = [3, n0, _SMO,
782
798
  [_BDMl, _IIB, _MP, _SIT, _VUU],
783
799
  [1, 0, 0, 0, 4]
784
800
  ];
801
+ var SupportedInstanceConfiguration$ = [3, n0, _SICu,
802
+ 0,
803
+ [_BM, _PT, _Te],
804
+ [0, 0, 0]
805
+ ];
785
806
  var Tag$ = [3, n0, _Tag,
786
807
  0,
787
808
  [_K, _V],
@@ -875,6 +896,9 @@ var PrivateIpAddresses = [1, n0, _PIAr,
875
896
  var RegionList = [1, n0, _RL,
876
897
  0, () => Region$
877
898
  ];
899
+ var SupportedInstanceConfigurations = [1, n0, _SIC,
900
+ 0, () => SupportedInstanceConfiguration$
901
+ ];
878
902
  var TagList = [1, n0, _TL,
879
903
  0, () => Tag$
880
904
  ];
@@ -1132,6 +1156,10 @@ const BandwidthWeightingEnum = {
1132
1156
  EBS_1: "ebs-1",
1133
1157
  VPC_1: "vpc-1",
1134
1158
  };
1159
+ const BillingMode = {
1160
+ HOURLY: "HOURLY",
1161
+ MONTHLY: "MONTHLY",
1162
+ };
1135
1163
  const VolumeTypeEnum = {
1136
1164
  GP2: "gp2",
1137
1165
  GP3: "gp3",
@@ -1210,6 +1238,19 @@ const ProvisionStateEnum = {
1210
1238
  ERROR_ALLOCATING: "ERROR_ALLOCATING",
1211
1239
  ERROR_DEALLOCATING: "ERROR_DEALLOCATING",
1212
1240
  };
1241
+ const PlatformTypeEnum = {
1242
+ LINUX_BYOL: "Red Hat BYOL Linux",
1243
+ LINUX_UNIX: "Linux/UNIX",
1244
+ RHEL: "Red Hat Enterprise Linux",
1245
+ SUSE: "SUSE Linux",
1246
+ UBUNTU_PRO: "Ubuntu Pro Linux",
1247
+ WINDOWS: "Windows",
1248
+ WINDOWS_BYOL: "Windows BYOL",
1249
+ };
1250
+ const InstanceConfigurationTenancyEnum = {
1251
+ DEDICATED: "DEDICATED",
1252
+ SHARED: "SHARED",
1253
+ };
1213
1254
 
1214
1255
  Object.defineProperty(exports, "$Command", {
1215
1256
  enumerable: true,
@@ -1228,6 +1269,8 @@ exports.AssociateVolumeRequest$ = AssociateVolumeRequest$;
1228
1269
  exports.AssociateVolumeResponse$ = AssociateVolumeResponse$;
1229
1270
  exports.AutoRecoveryEnum = AutoRecoveryEnum;
1230
1271
  exports.BandwidthWeightingEnum = BandwidthWeightingEnum;
1272
+ exports.BillingConfiguration$ = BillingConfiguration$;
1273
+ exports.BillingMode = BillingMode;
1231
1274
  exports.BlockDeviceMappingRequest$ = BlockDeviceMappingRequest$;
1232
1275
  exports.CapacityReservationPreferenceEnum = CapacityReservationPreferenceEnum;
1233
1276
  exports.CapacityReservationSpecification$ = CapacityReservationSpecification$;
@@ -1275,6 +1318,8 @@ exports.HttpEndpointEnum = HttpEndpointEnum;
1275
1318
  exports.HttpProtocolIpv6Enum = HttpProtocolIpv6Enum;
1276
1319
  exports.HttpTokensEnum = HttpTokensEnum;
1277
1320
  exports.IamInstanceProfileSpecification$ = IamInstanceProfileSpecification$;
1321
+ exports.InstanceConfigurationFilter$ = InstanceConfigurationFilter$;
1322
+ exports.InstanceConfigurationTenancyEnum = InstanceConfigurationTenancyEnum;
1278
1323
  exports.InstanceInterruptionBehaviorEnum = InstanceInterruptionBehaviorEnum;
1279
1324
  exports.InstanceIpv6Address$ = InstanceIpv6Address$;
1280
1325
  exports.InstanceMaintenanceOptionsRequest$ = InstanceMaintenanceOptionsRequest$;
@@ -1309,6 +1354,7 @@ exports.ListWorkspaceInstancesResponse$ = ListWorkspaceInstancesResponse$;
1309
1354
  exports.ManagedInstanceRequest$ = ManagedInstanceRequest$;
1310
1355
  exports.MarketTypeEnum = MarketTypeEnum;
1311
1356
  exports.Placement$ = Placement$;
1357
+ exports.PlatformTypeEnum = PlatformTypeEnum;
1312
1358
  exports.PrivateDnsNameOptionsRequest$ = PrivateDnsNameOptionsRequest$;
1313
1359
  exports.PrivateIpAddressSpecification$ = PrivateIpAddressSpecification$;
1314
1360
  exports.ProvisionStateEnum = ProvisionStateEnum;
@@ -1321,6 +1367,7 @@ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1321
1367
  exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1322
1368
  exports.SpotInstanceTypeEnum = SpotInstanceTypeEnum;
1323
1369
  exports.SpotMarketOptions$ = SpotMarketOptions$;
1370
+ exports.SupportedInstanceConfiguration$ = SupportedInstanceConfiguration$;
1324
1371
  exports.Tag$ = Tag$;
1325
1372
  exports.TagResource$ = TagResource$;
1326
1373
  exports.TagResourceCommand = TagResourceCommand;
@@ -19,6 +19,10 @@ export const BandwidthWeightingEnum = {
19
19
  EBS_1: "ebs-1",
20
20
  VPC_1: "vpc-1",
21
21
  };
22
+ export const BillingMode = {
23
+ HOURLY: "HOURLY",
24
+ MONTHLY: "MONTHLY",
25
+ };
22
26
  export const VolumeTypeEnum = {
23
27
  GP2: "gp2",
24
28
  GP3: "gp3",
@@ -97,3 +101,16 @@ export const ProvisionStateEnum = {
97
101
  ERROR_ALLOCATING: "ERROR_ALLOCATING",
98
102
  ERROR_DEALLOCATING: "ERROR_DEALLOCATING",
99
103
  };
104
+ export const PlatformTypeEnum = {
105
+ LINUX_BYOL: "Red Hat BYOL Linux",
106
+ LINUX_UNIX: "Linux/UNIX",
107
+ RHEL: "Red Hat Enterprise Linux",
108
+ SUSE: "SUSE Linux",
109
+ UBUNTU_PRO: "Ubuntu Pro Linux",
110
+ WINDOWS: "Windows",
111
+ WINDOWS_BYOL: "Windows BYOL",
112
+ };
113
+ export const InstanceConfigurationTenancyEnum = {
114
+ DEDICATED: "DEDICATED",
115
+ SHARED: "SHARED",
116
+ };
@@ -9,9 +9,11 @@ const _AVR = "AssociateVolumeRequest";
9
9
  const _AVRs = "AssociateVolumeResponse";
10
10
  const _AZ = "AvailabilityZone";
11
11
  const _Af = "Affinity";
12
+ const _BC = "BillingConfiguration";
12
13
  const _BDM = "BlockDeviceMappings";
13
14
  const _BDMR = "BlockDeviceMappingRequest";
14
15
  const _BDMl = "BlockDurationMinutes";
16
+ const _BM = "BillingMode";
15
17
  const _BW = "BandwidthWeighting";
16
18
  const _C = "Configured";
17
19
  const _CC = "CoreCount";
@@ -95,6 +97,7 @@ const _IA = "Ipv4Address";
95
97
  const _IAC = "Ipv6AddressCount";
96
98
  const _IAp = "Ipv6Address";
97
99
  const _IApv = "Ipv6Addresses";
100
+ const _ICF = "InstanceConfigurationFilter";
98
101
  const _II = "InstanceId";
99
102
  const _IIA = "InstanceIpv6Address";
100
103
  const _IIB = "InstanceInterruptionBehavior";
@@ -167,6 +170,7 @@ const _PIAr = "PrivateIpAddresses";
167
170
  const _PN = "PartitionNumber";
168
171
  const _PS = "ProvisionState";
169
172
  const _PSr = "ProvisionStates";
173
+ const _PT = "PlatformType";
170
174
  const _Pr = "Primary";
171
175
  const _QC = "QuotaCode";
172
176
  const _R = "Regions";
@@ -185,6 +189,8 @@ const _SC = "ServiceCode";
185
189
  const _SG = "SecurityGroups";
186
190
  const _SGI = "SecurityGroupIds";
187
191
  const _SI = "SnapshotId";
192
+ const _SIC = "SupportedInstanceConfigurations";
193
+ const _SICu = "SupportedInstanceConfiguration";
188
194
  const _SIGB = "SizeInGB";
189
195
  const _SIT = "SpotInstanceType";
190
196
  const _SIu = "SubnetId";
@@ -258,6 +264,11 @@ export var AssociateVolumeResponse$ = [3, n0, _AVRs,
258
264
  [],
259
265
  []
260
266
  ];
267
+ export var BillingConfiguration$ = [3, n0, _BC,
268
+ 0,
269
+ [_BM],
270
+ [0], 1
271
+ ];
261
272
  export var BlockDeviceMappingRequest$ = [3, n0, _BDMR,
262
273
  0,
263
274
  [_DN, _E, _ND, _VN],
@@ -301,8 +312,8 @@ export var CreateVolumeResponse$ = [3, n0, _CVRr,
301
312
  ];
302
313
  export var CreateWorkspaceInstanceRequest$ = [3, n0, _CWIR,
303
314
  0,
304
- [_MI, _CT, _Ta],
305
- [[() => ManagedInstanceRequest$, 0], [() => ClientToken, 4], () => TagList], 1
315
+ [_MI, _CT, _Ta, _BC],
316
+ [[() => ManagedInstanceRequest$, 0], [() => ClientToken, 4], () => TagList, () => BillingConfiguration$], 1
306
317
  ];
307
318
  export var CreateWorkspaceInstanceResponse$ = [3, n0, _CWIRr,
308
319
  0,
@@ -381,8 +392,8 @@ export var GetWorkspaceInstanceRequest$ = [3, n0, _GWIR,
381
392
  ];
382
393
  export var GetWorkspaceInstanceResponse$ = [3, n0, _GWIRe,
383
394
  0,
384
- [_WIE, _ECIEn, _PS, _WII, _ECMI],
385
- [() => WorkspaceInstanceErrors, () => EC2InstanceErrors, 0, 0, () => EC2ManagedInstance$]
395
+ [_WIE, _ECIEn, _PS, _WII, _ECMI, _BC],
396
+ [() => WorkspaceInstanceErrors, () => EC2InstanceErrors, 0, 0, () => EC2ManagedInstance$, () => BillingConfiguration$]
386
397
  ];
387
398
  export var HibernationOptionsRequest$ = [3, n0, _HOR,
388
399
  0,
@@ -394,6 +405,11 @@ export var IamInstanceProfileSpecification$ = [3, n0, _IIPS,
394
405
  [_A, _N],
395
406
  [0, 0]
396
407
  ];
408
+ export var InstanceConfigurationFilter$ = [3, n0, _ICF,
409
+ 0,
410
+ [_BM, _PT, _Te],
411
+ [0, 0, 0], 3
412
+ ];
397
413
  export var InstanceIpv6Address$ = [3, n0, _IIA,
398
414
  0,
399
415
  [_IAp, _IPI],
@@ -426,8 +442,8 @@ export var InstanceNetworkPerformanceOptionsRequest$ = [3, n0, _INPOR,
426
442
  ];
427
443
  export var InstanceTypeInfo$ = [3, n0, _ITI,
428
444
  0,
429
- [_ITn],
430
- [0]
445
+ [_ITn, _SIC],
446
+ [0, () => SupportedInstanceConfigurations]
431
447
  ];
432
448
  export var InternalServerException$ = [-3, n0, _ISE,
433
449
  { [_e]: _s, [_hE]: 500 },
@@ -452,8 +468,8 @@ export var LicenseConfigurationRequest$ = [3, n0, _LCR,
452
468
  ];
453
469
  export var ListInstanceTypesRequest$ = [3, n0, _LITR,
454
470
  0,
455
- [_MR, _NT],
456
- [1, [() => NextToken, 0]]
471
+ [_MR, _NT, _ICF],
472
+ [1, [() => NextToken, 0], () => InstanceConfigurationFilter$]
457
473
  ];
458
474
  export var ListInstanceTypesResponse$ = [3, n0, _LITRi,
459
475
  0,
@@ -537,6 +553,11 @@ export var SpotMarketOptions$ = [3, n0, _SMO,
537
553
  [_BDMl, _IIB, _MP, _SIT, _VUU],
538
554
  [1, 0, 0, 0, 4]
539
555
  ];
556
+ export var SupportedInstanceConfiguration$ = [3, n0, _SICu,
557
+ 0,
558
+ [_BM, _PT, _Te],
559
+ [0, 0, 0]
560
+ ];
540
561
  export var Tag$ = [3, n0, _Tag,
541
562
  0,
542
563
  [_K, _V],
@@ -633,6 +654,9 @@ var RegionList = [1, n0, _RL,
633
654
  ];
634
655
  var SecurityGroupIds = 64 | 0;
635
656
  var SecurityGroupNames = 64 | 0;
657
+ var SupportedInstanceConfigurations = [1, n0, _SIC,
658
+ 0, () => SupportedInstanceConfiguration$
659
+ ];
636
660
  var TagKeyList = 64 | 0;
637
661
  var TagList = [1, n0, _TL,
638
662
  0, () => Tag$
@@ -221,6 +221,9 @@ declare const CreateWorkspaceInstanceCommand_base: {
221
221
  * ],
222
222
  * UserData: "STRING_VALUE",
223
223
  * },
224
+ * BillingConfiguration: { // BillingConfiguration
225
+ * BillingMode: "MONTHLY" || "HOURLY", // required
226
+ * },
224
227
  * };
225
228
  * const command = new CreateWorkspaceInstanceCommand(input);
226
229
  * const response = await client.send(command);
@@ -27,7 +27,7 @@ declare const DeleteWorkspaceInstanceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes the specified WorkSpace</p>
30
+ * <p>Deletes the specified WorkSpace</p> <important> <p>Usage of this API will result in deletion of the resource in question.</p> </important>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -60,6 +60,9 @@ declare const GetWorkspaceInstanceCommand_base: {
60
60
  * // EC2ManagedInstance: { // EC2ManagedInstance
61
61
  * // InstanceId: "STRING_VALUE",
62
62
  * // },
63
+ * // BillingConfiguration: { // BillingConfiguration
64
+ * // BillingMode: "MONTHLY" || "HOURLY", // required
65
+ * // },
63
66
  * // };
64
67
  *
65
68
  * ```
@@ -39,6 +39,11 @@ declare const ListInstanceTypesCommand_base: {
39
39
  * const input = { // ListInstanceTypesRequest
40
40
  * MaxResults: Number("int"),
41
41
  * NextToken: "STRING_VALUE",
42
+ * InstanceConfigurationFilter: { // InstanceConfigurationFilter
43
+ * BillingMode: "MONTHLY" || "HOURLY", // required
44
+ * PlatformType: "Windows" || "Windows BYOL" || "Linux/UNIX" || "Ubuntu Pro Linux" || "Red Hat Enterprise Linux" || "Red Hat BYOL Linux" || "SUSE Linux", // required
45
+ * Tenancy: "SHARED" || "DEDICATED", // required
46
+ * },
42
47
  * };
43
48
  * const command = new ListInstanceTypesCommand(input);
44
49
  * const response = await client.send(command);
@@ -46,6 +51,13 @@ declare const ListInstanceTypesCommand_base: {
46
51
  * // InstanceTypes: [ // InstanceTypes // required
47
52
  * // { // InstanceTypeInfo
48
53
  * // InstanceType: "STRING_VALUE",
54
+ * // SupportedInstanceConfigurations: [ // SupportedInstanceConfigurations
55
+ * // { // SupportedInstanceConfiguration
56
+ * // BillingMode: "MONTHLY" || "HOURLY",
57
+ * // PlatformType: "Windows" || "Windows BYOL" || "Linux/UNIX" || "Ubuntu Pro Linux" || "Red Hat Enterprise Linux" || "Red Hat BYOL Linux" || "SUSE Linux",
58
+ * // Tenancy: "SHARED" || "DEDICATED",
59
+ * // },
60
+ * // ],
49
61
  * // },
50
62
  * // ],
51
63
  * // NextToken: "STRING_VALUE",
@@ -51,6 +51,18 @@ export declare const BandwidthWeightingEnum: {
51
51
  * @public
52
52
  */
53
53
  export type BandwidthWeightingEnum = (typeof BandwidthWeightingEnum)[keyof typeof BandwidthWeightingEnum];
54
+ /**
55
+ * @public
56
+ * @enum
57
+ */
58
+ export declare const BillingMode: {
59
+ readonly HOURLY: "HOURLY";
60
+ readonly MONTHLY: "MONTHLY";
61
+ };
62
+ /**
63
+ * @public
64
+ */
65
+ export type BillingMode = (typeof BillingMode)[keyof typeof BillingMode];
54
66
  /**
55
67
  * @public
56
68
  * @enum
@@ -257,3 +269,32 @@ export declare const ProvisionStateEnum: {
257
269
  * @public
258
270
  */
259
271
  export type ProvisionStateEnum = (typeof ProvisionStateEnum)[keyof typeof ProvisionStateEnum];
272
+ /**
273
+ * @public
274
+ * @enum
275
+ */
276
+ export declare const PlatformTypeEnum: {
277
+ readonly LINUX_BYOL: "Red Hat BYOL Linux";
278
+ readonly LINUX_UNIX: "Linux/UNIX";
279
+ readonly RHEL: "Red Hat Enterprise Linux";
280
+ readonly SUSE: "SUSE Linux";
281
+ readonly UBUNTU_PRO: "Ubuntu Pro Linux";
282
+ readonly WINDOWS: "Windows";
283
+ readonly WINDOWS_BYOL: "Windows BYOL";
284
+ };
285
+ /**
286
+ * @public
287
+ */
288
+ export type PlatformTypeEnum = (typeof PlatformTypeEnum)[keyof typeof PlatformTypeEnum];
289
+ /**
290
+ * @public
291
+ * @enum
292
+ */
293
+ export declare const InstanceConfigurationTenancyEnum: {
294
+ readonly DEDICATED: "DEDICATED";
295
+ readonly SHARED: "SHARED";
296
+ };
297
+ /**
298
+ * @public
299
+ */
300
+ export type InstanceConfigurationTenancyEnum = (typeof InstanceConfigurationTenancyEnum)[keyof typeof InstanceConfigurationTenancyEnum];
@@ -1,4 +1,4 @@
1
- import { AmdSevSnpEnum, AutoRecoveryEnum, BandwidthWeightingEnum, CapacityReservationPreferenceEnum, CpuCreditsEnum, DisassociateModeEnum, HostnameTypeEnum, HttpEndpointEnum, HttpProtocolIpv6Enum, HttpTokensEnum, InstanceInterruptionBehaviorEnum, InstanceMetadataTagsEnum, InterfaceTypeEnum, MarketTypeEnum, ProvisionStateEnum, ResourceTypeEnum, SpotInstanceTypeEnum, TenancyEnum, VolumeTypeEnum } from "./enums";
1
+ import { AmdSevSnpEnum, AutoRecoveryEnum, BandwidthWeightingEnum, BillingMode, CapacityReservationPreferenceEnum, CpuCreditsEnum, DisassociateModeEnum, HostnameTypeEnum, HttpEndpointEnum, HttpProtocolIpv6Enum, HttpTokensEnum, InstanceConfigurationTenancyEnum, InstanceInterruptionBehaviorEnum, InstanceMetadataTagsEnum, InterfaceTypeEnum, MarketTypeEnum, PlatformTypeEnum, ProvisionStateEnum, ResourceTypeEnum, SpotInstanceTypeEnum, TenancyEnum, VolumeTypeEnum } from "./enums";
2
2
  /**
3
3
  * <p>Specifies volume attachment parameters.</p>
4
4
  * @public
@@ -47,6 +47,17 @@ export interface ValidationExceptionField {
47
47
  */
48
48
  Message: string | undefined;
49
49
  }
50
+ /**
51
+ * <p>Defines billing configuration settings for WorkSpace Instances, containing the billing mode selection.</p>
52
+ * @public
53
+ */
54
+ export interface BillingConfiguration {
55
+ /**
56
+ * <p>Specifies the billing mode for WorkSpace Instances. MONTHLY provides fixed monthly rates for predictable budgeting, while HOURLY enables pay-per-second billing for actual usage.</p>
57
+ * @public
58
+ */
59
+ BillingMode: BillingMode | undefined;
60
+ }
50
61
  /**
51
62
  * <p>Defines configuration for an Elastic Block Store volume.</p>
52
63
  * @public
@@ -898,6 +909,11 @@ export interface CreateWorkspaceInstanceRequest {
898
909
  * @public
899
910
  */
900
911
  ManagedInstance: ManagedInstanceRequest | undefined;
912
+ /**
913
+ * <p>Optional billing configuration for the WorkSpace Instance. Allows customers to specify their preferred billing mode when creating a new instance. Defaults to hourly billing if not specified.</p>
914
+ * @public
915
+ */
916
+ BillingConfiguration?: BillingConfiguration | undefined;
901
917
  }
902
918
  /**
903
919
  * <p>Returns the unique identifier for the newly created WorkSpaces Instance.</p>
@@ -1065,6 +1081,32 @@ export interface GetWorkspaceInstanceResponse {
1065
1081
  * @public
1066
1082
  */
1067
1083
  EC2ManagedInstance?: EC2ManagedInstance | undefined;
1084
+ /**
1085
+ * <p>Returns the current billing configuration for the WorkSpace Instance, indicating the active billing mode.</p>
1086
+ * @public
1087
+ */
1088
+ BillingConfiguration?: BillingConfiguration | undefined;
1089
+ }
1090
+ /**
1091
+ * <p>Defines filtering criteria for WorkSpace Instance type searches. Combines multiple filter conditions including billing mode, platform type, and tenancy to help customers find instance types that meet their specific requirements.</p>
1092
+ * @public
1093
+ */
1094
+ export interface InstanceConfigurationFilter {
1095
+ /**
1096
+ * <p>Filters WorkSpace Instance types based on supported billing modes. Allows customers to search for instance types that support their preferred billing model, such as HOURLY or MONTHLY billing.</p>
1097
+ * @public
1098
+ */
1099
+ BillingMode: BillingMode | undefined;
1100
+ /**
1101
+ * <p>Filters WorkSpace Instance types by operating system platform. Allows customers to find instances that support their desired OS, such as Windows, Linux/UNIX, Ubuntu Pro, RHEL, or SUSE.</p>
1102
+ * @public
1103
+ */
1104
+ PlatformType: PlatformTypeEnum | undefined;
1105
+ /**
1106
+ * <p>Filters WorkSpace Instance types by tenancy model. Allows customers to find instances that match their tenancy requirements, such as SHARED or DEDICATED.</p>
1107
+ * @public
1108
+ */
1109
+ Tenancy: InstanceConfigurationTenancyEnum | undefined;
1068
1110
  }
1069
1111
  /**
1070
1112
  * <p>Defines input parameters for retrieving supported WorkSpaces Instances instance types.</p>
@@ -1081,6 +1123,32 @@ export interface ListInstanceTypesRequest {
1081
1123
  * @public
1082
1124
  */
1083
1125
  NextToken?: string | undefined;
1126
+ /**
1127
+ * <p>Optional filter to narrow instance type results based on configuration requirements. Only returns instance types that support the specified combination of tenancy, platform type, and billing mode.</p>
1128
+ * @public
1129
+ */
1130
+ InstanceConfigurationFilter?: InstanceConfigurationFilter | undefined;
1131
+ }
1132
+ /**
1133
+ * <p>Represents a single valid configuration combination that an instance type supports, combining tenancy, platform type, and billing mode into one complete configuration specification.</p>
1134
+ * @public
1135
+ */
1136
+ export interface SupportedInstanceConfiguration {
1137
+ /**
1138
+ * <p>Specifies the billing mode supported in this configuration combination.</p>
1139
+ * @public
1140
+ */
1141
+ BillingMode?: BillingMode | undefined;
1142
+ /**
1143
+ * <p>Specifies the operating system platform supported in this configuration combination.</p>
1144
+ * @public
1145
+ */
1146
+ PlatformType?: PlatformTypeEnum | undefined;
1147
+ /**
1148
+ * <p>Specifies the tenancy model supported in this configuration combination.</p>
1149
+ * @public
1150
+ */
1151
+ Tenancy?: InstanceConfigurationTenancyEnum | undefined;
1084
1152
  }
1085
1153
  /**
1086
1154
  * <p>Provides details about a specific WorkSpace Instance type.</p>
@@ -1092,6 +1160,11 @@ export interface InstanceTypeInfo {
1092
1160
  * @public
1093
1161
  */
1094
1162
  InstanceType?: string | undefined;
1163
+ /**
1164
+ * <p>Lists all valid combinations of tenancy, platform type, and billing mode supported for the specific WorkSpace Instance type. Contains the complete set of configuration options available for this instance type.</p>
1165
+ * @public
1166
+ */
1167
+ SupportedInstanceConfigurations?: SupportedInstanceConfiguration[] | undefined;
1095
1168
  }
1096
1169
  /**
1097
1170
  * <p>Contains the list of instance types supported by WorkSpaces Instances.</p>
@@ -2,6 +2,7 @@ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema }
2
2
  export declare var AccessDeniedException$: StaticErrorSchema;
3
3
  export declare var AssociateVolumeRequest$: StaticStructureSchema;
4
4
  export declare var AssociateVolumeResponse$: StaticStructureSchema;
5
+ export declare var BillingConfiguration$: StaticStructureSchema;
5
6
  export declare var BlockDeviceMappingRequest$: StaticStructureSchema;
6
7
  export declare var CapacityReservationSpecification$: StaticStructureSchema;
7
8
  export declare var CapacityReservationTarget$: StaticStructureSchema;
@@ -29,6 +30,7 @@ export declare var GetWorkspaceInstanceRequest$: StaticStructureSchema;
29
30
  export declare var GetWorkspaceInstanceResponse$: StaticStructureSchema;
30
31
  export declare var HibernationOptionsRequest$: StaticStructureSchema;
31
32
  export declare var IamInstanceProfileSpecification$: StaticStructureSchema;
33
+ export declare var InstanceConfigurationFilter$: StaticStructureSchema;
32
34
  export declare var InstanceIpv6Address$: StaticStructureSchema;
33
35
  export declare var InstanceMaintenanceOptionsRequest$: StaticStructureSchema;
34
36
  export declare var InstanceMarketOptionsRequest$: StaticStructureSchema;
@@ -57,6 +59,7 @@ export declare var ResourceNotFoundException$: StaticErrorSchema;
57
59
  export declare var RunInstancesMonitoringEnabled$: StaticStructureSchema;
58
60
  export declare var ServiceQuotaExceededException$: StaticErrorSchema;
59
61
  export declare var SpotMarketOptions$: StaticStructureSchema;
62
+ export declare var SupportedInstanceConfiguration$: StaticStructureSchema;
60
63
  export declare var Tag$: StaticStructureSchema;
61
64
  export declare var TagResourceRequest$: StaticStructureSchema;
62
65
  export declare var TagResourceResponse$: StaticStructureSchema;
@@ -26,6 +26,11 @@ export declare const BandwidthWeightingEnum: {
26
26
  };
27
27
  export type BandwidthWeightingEnum =
28
28
  (typeof BandwidthWeightingEnum)[keyof typeof BandwidthWeightingEnum];
29
+ export declare const BillingMode: {
30
+ readonly HOURLY: "HOURLY";
31
+ readonly MONTHLY: "MONTHLY";
32
+ };
33
+ export type BillingMode = (typeof BillingMode)[keyof typeof BillingMode];
29
34
  export declare const VolumeTypeEnum: {
30
35
  readonly GP2: "gp2";
31
36
  readonly GP3: "gp3";
@@ -135,3 +140,20 @@ export declare const ProvisionStateEnum: {
135
140
  };
136
141
  export type ProvisionStateEnum =
137
142
  (typeof ProvisionStateEnum)[keyof typeof ProvisionStateEnum];
143
+ export declare const PlatformTypeEnum: {
144
+ readonly LINUX_BYOL: "Red Hat BYOL Linux";
145
+ readonly LINUX_UNIX: "Linux/UNIX";
146
+ readonly RHEL: "Red Hat Enterprise Linux";
147
+ readonly SUSE: "SUSE Linux";
148
+ readonly UBUNTU_PRO: "Ubuntu Pro Linux";
149
+ readonly WINDOWS: "Windows";
150
+ readonly WINDOWS_BYOL: "Windows BYOL";
151
+ };
152
+ export type PlatformTypeEnum =
153
+ (typeof PlatformTypeEnum)[keyof typeof PlatformTypeEnum];
154
+ export declare const InstanceConfigurationTenancyEnum: {
155
+ readonly DEDICATED: "DEDICATED";
156
+ readonly SHARED: "SHARED";
157
+ };
158
+ export type InstanceConfigurationTenancyEnum =
159
+ (typeof InstanceConfigurationTenancyEnum)[keyof typeof InstanceConfigurationTenancyEnum];
@@ -2,6 +2,7 @@ import {
2
2
  AmdSevSnpEnum,
3
3
  AutoRecoveryEnum,
4
4
  BandwidthWeightingEnum,
5
+ BillingMode,
5
6
  CapacityReservationPreferenceEnum,
6
7
  CpuCreditsEnum,
7
8
  DisassociateModeEnum,
@@ -9,10 +10,12 @@ import {
9
10
  HttpEndpointEnum,
10
11
  HttpProtocolIpv6Enum,
11
12
  HttpTokensEnum,
13
+ InstanceConfigurationTenancyEnum,
12
14
  InstanceInterruptionBehaviorEnum,
13
15
  InstanceMetadataTagsEnum,
14
16
  InterfaceTypeEnum,
15
17
  MarketTypeEnum,
18
+ PlatformTypeEnum,
16
19
  ProvisionStateEnum,
17
20
  ResourceTypeEnum,
18
21
  SpotInstanceTypeEnum,
@@ -30,6 +33,9 @@ export interface ValidationExceptionField {
30
33
  Reason: string | undefined;
31
34
  Message: string | undefined;
32
35
  }
36
+ export interface BillingConfiguration {
37
+ BillingMode: BillingMode | undefined;
38
+ }
33
39
  export interface EbsBlockDevice {
34
40
  VolumeType?: VolumeTypeEnum | undefined;
35
41
  Encrypted?: boolean | undefined;
@@ -231,6 +237,7 @@ export interface CreateWorkspaceInstanceRequest {
231
237
  ClientToken?: string | undefined;
232
238
  Tags?: Tag[] | undefined;
233
239
  ManagedInstance: ManagedInstanceRequest | undefined;
240
+ BillingConfiguration?: BillingConfiguration | undefined;
234
241
  }
235
242
  export interface CreateWorkspaceInstanceResponse {
236
243
  WorkspaceInstanceId?: string | undefined;
@@ -271,13 +278,28 @@ export interface GetWorkspaceInstanceResponse {
271
278
  ProvisionState?: ProvisionStateEnum | undefined;
272
279
  WorkspaceInstanceId?: string | undefined;
273
280
  EC2ManagedInstance?: EC2ManagedInstance | undefined;
281
+ BillingConfiguration?: BillingConfiguration | undefined;
282
+ }
283
+ export interface InstanceConfigurationFilter {
284
+ BillingMode: BillingMode | undefined;
285
+ PlatformType: PlatformTypeEnum | undefined;
286
+ Tenancy: InstanceConfigurationTenancyEnum | undefined;
274
287
  }
275
288
  export interface ListInstanceTypesRequest {
276
289
  MaxResults?: number | undefined;
277
290
  NextToken?: string | undefined;
291
+ InstanceConfigurationFilter?: InstanceConfigurationFilter | undefined;
292
+ }
293
+ export interface SupportedInstanceConfiguration {
294
+ BillingMode?: BillingMode | undefined;
295
+ PlatformType?: PlatformTypeEnum | undefined;
296
+ Tenancy?: InstanceConfigurationTenancyEnum | undefined;
278
297
  }
279
298
  export interface InstanceTypeInfo {
280
299
  InstanceType?: string | undefined;
300
+ SupportedInstanceConfigurations?:
301
+ | SupportedInstanceConfiguration[]
302
+ | undefined;
281
303
  }
282
304
  export interface ListInstanceTypesResponse {
283
305
  InstanceTypes: InstanceTypeInfo[] | undefined;
@@ -6,6 +6,7 @@ import {
6
6
  export declare var AccessDeniedException$: StaticErrorSchema;
7
7
  export declare var AssociateVolumeRequest$: StaticStructureSchema;
8
8
  export declare var AssociateVolumeResponse$: StaticStructureSchema;
9
+ export declare var BillingConfiguration$: StaticStructureSchema;
9
10
  export declare var BlockDeviceMappingRequest$: StaticStructureSchema;
10
11
  export declare var CapacityReservationSpecification$: StaticStructureSchema;
11
12
  export declare var CapacityReservationTarget$: StaticStructureSchema;
@@ -33,6 +34,7 @@ export declare var GetWorkspaceInstanceRequest$: StaticStructureSchema;
33
34
  export declare var GetWorkspaceInstanceResponse$: StaticStructureSchema;
34
35
  export declare var HibernationOptionsRequest$: StaticStructureSchema;
35
36
  export declare var IamInstanceProfileSpecification$: StaticStructureSchema;
37
+ export declare var InstanceConfigurationFilter$: StaticStructureSchema;
36
38
  export declare var InstanceIpv6Address$: StaticStructureSchema;
37
39
  export declare var InstanceMaintenanceOptionsRequest$: StaticStructureSchema;
38
40
  export declare var InstanceMarketOptionsRequest$: StaticStructureSchema;
@@ -61,6 +63,7 @@ export declare var ResourceNotFoundException$: StaticErrorSchema;
61
63
  export declare var RunInstancesMonitoringEnabled$: StaticStructureSchema;
62
64
  export declare var ServiceQuotaExceededException$: StaticErrorSchema;
63
65
  export declare var SpotMarketOptions$: StaticStructureSchema;
66
+ export declare var SupportedInstanceConfiguration$: StaticStructureSchema;
64
67
  export declare var Tag$: StaticStructureSchema;
65
68
  export declare var TagResourceRequest$: StaticStructureSchema;
66
69
  export declare var TagResourceResponse$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workspaces-instances",
3
3
  "description": "AWS SDK for JavaScript Workspaces Instances Client for Node.js, Browser and React Native",
4
- "version": "3.970.0",
4
+ "version": "3.972.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-workspaces-instances",
@@ -9,7 +9,7 @@
9
9
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
13
13
  "extract:docs": "api-extractor run --local",
14
14
  "generate:client": "node ../../scripts/generate-clients/single-service --solo workspaces-instances",
15
15
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.970.0",
25
- "@aws-sdk/credential-provider-node": "3.970.0",
26
- "@aws-sdk/middleware-host-header": "3.969.0",
27
- "@aws-sdk/middleware-logger": "3.969.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.969.0",
29
- "@aws-sdk/middleware-user-agent": "3.970.0",
30
- "@aws-sdk/region-config-resolver": "3.969.0",
31
- "@aws-sdk/types": "3.969.0",
32
- "@aws-sdk/util-endpoints": "3.970.0",
33
- "@aws-sdk/util-user-agent-browser": "3.969.0",
34
- "@aws-sdk/util-user-agent-node": "3.970.0",
24
+ "@aws-sdk/core": "3.972.0",
25
+ "@aws-sdk/credential-provider-node": "3.972.0",
26
+ "@aws-sdk/middleware-host-header": "3.972.0",
27
+ "@aws-sdk/middleware-logger": "3.972.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.972.0",
29
+ "@aws-sdk/middleware-user-agent": "3.972.0",
30
+ "@aws-sdk/region-config-resolver": "3.972.0",
31
+ "@aws-sdk/types": "3.972.0",
32
+ "@aws-sdk/util-endpoints": "3.972.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.972.0",
34
+ "@aws-sdk/util-user-agent-node": "3.972.0",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
36
  "@smithy/core": "^3.20.6",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
@@ -64,7 +64,7 @@
64
64
  "@types/node": "^20.14.8",
65
65
  "concurrently": "7.0.0",
66
66
  "downlevel-dts": "0.10.1",
67
- "rimraf": "5.0.10",
67
+ "premove": "4.0.0",
68
68
  "typescript": "~5.8.3"
69
69
  },
70
70
  "engines": {