@aws-sdk/client-workspaces-instances 3.934.0 → 3.936.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.
@@ -0,0 +1,76 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ValidationExceptionReason } from "./enums";
3
+ import { ValidationExceptionField } from "./models_0";
4
+ import { WorkspacesInstancesServiceException as __BaseException } from "./WorkspacesInstancesServiceException";
5
+ export declare class AccessDeniedException extends __BaseException {
6
+ readonly name: "AccessDeniedException";
7
+ readonly $fault: "client";
8
+ Message: string | undefined;
9
+ constructor(
10
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
11
+ );
12
+ }
13
+ export declare class ConflictException extends __BaseException {
14
+ readonly name: "ConflictException";
15
+ readonly $fault: "client";
16
+ Message: string | undefined;
17
+ ResourceId: string | undefined;
18
+ ResourceType: string | undefined;
19
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
20
+ }
21
+ export declare class InternalServerException extends __BaseException {
22
+ readonly name: "InternalServerException";
23
+ readonly $fault: "server";
24
+ $retryable: {};
25
+ Message: string | undefined;
26
+ RetryAfterSeconds?: number | undefined;
27
+ constructor(
28
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
29
+ );
30
+ }
31
+ export declare class ResourceNotFoundException extends __BaseException {
32
+ readonly name: "ResourceNotFoundException";
33
+ readonly $fault: "client";
34
+ Message: string | undefined;
35
+ ResourceId: string | undefined;
36
+ ResourceType: string | undefined;
37
+ constructor(
38
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
39
+ );
40
+ }
41
+ export declare class ThrottlingException extends __BaseException {
42
+ readonly name: "ThrottlingException";
43
+ readonly $fault: "client";
44
+ $retryable: {
45
+ throttling: boolean;
46
+ };
47
+ Message: string | undefined;
48
+ ServiceCode?: string | undefined;
49
+ QuotaCode?: string | undefined;
50
+ RetryAfterSeconds?: number | undefined;
51
+ constructor(
52
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
53
+ );
54
+ }
55
+ export declare class ValidationException extends __BaseException {
56
+ readonly name: "ValidationException";
57
+ readonly $fault: "client";
58
+ Message: string | undefined;
59
+ Reason: ValidationExceptionReason | undefined;
60
+ FieldList?: ValidationExceptionField[] | undefined;
61
+ constructor(
62
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
63
+ );
64
+ }
65
+ export declare class ServiceQuotaExceededException extends __BaseException {
66
+ readonly name: "ServiceQuotaExceededException";
67
+ readonly $fault: "client";
68
+ Message: string | undefined;
69
+ ResourceId: string | undefined;
70
+ ResourceType: string | undefined;
71
+ ServiceCode: string | undefined;
72
+ QuotaCode: string | undefined;
73
+ constructor(
74
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
75
+ );
76
+ }
@@ -1,115 +1,35 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { WorkspacesInstancesServiceException as __BaseException } from "./WorkspacesInstancesServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- Message: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
11
- export declare const AmdSevSnpEnum: {
12
- readonly DISABLED: "disabled";
13
- readonly ENABLED: "enabled";
14
- };
15
- export type AmdSevSnpEnum = (typeof AmdSevSnpEnum)[keyof typeof AmdSevSnpEnum];
1
+ import {
2
+ AmdSevSnpEnum,
3
+ AutoRecoveryEnum,
4
+ BandwidthWeightingEnum,
5
+ CapacityReservationPreferenceEnum,
6
+ CpuCreditsEnum,
7
+ DisassociateModeEnum,
8
+ HostnameTypeEnum,
9
+ HttpEndpointEnum,
10
+ HttpProtocolIpv6Enum,
11
+ HttpTokensEnum,
12
+ InstanceInterruptionBehaviorEnum,
13
+ InstanceMetadataTagsEnum,
14
+ InterfaceTypeEnum,
15
+ MarketTypeEnum,
16
+ ProvisionStateEnum,
17
+ ResourceTypeEnum,
18
+ SpotInstanceTypeEnum,
19
+ TenancyEnum,
20
+ VolumeTypeEnum,
21
+ } from "./enums";
16
22
  export interface AssociateVolumeRequest {
17
23
  WorkspaceInstanceId: string | undefined;
18
24
  VolumeId: string | undefined;
19
25
  Device: string | undefined;
20
26
  }
21
27
  export interface AssociateVolumeResponse {}
22
- export declare class ConflictException extends __BaseException {
23
- readonly name: "ConflictException";
24
- readonly $fault: "client";
25
- Message: string | undefined;
26
- ResourceId: string | undefined;
27
- ResourceType: string | undefined;
28
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
29
- }
30
- export declare class InternalServerException extends __BaseException {
31
- readonly name: "InternalServerException";
32
- readonly $fault: "server";
33
- $retryable: {};
34
- Message: string | undefined;
35
- RetryAfterSeconds?: number | undefined;
36
- constructor(
37
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
38
- );
39
- }
40
- export declare class ResourceNotFoundException extends __BaseException {
41
- readonly name: "ResourceNotFoundException";
42
- readonly $fault: "client";
43
- Message: string | undefined;
44
- ResourceId: string | undefined;
45
- ResourceType: string | undefined;
46
- constructor(
47
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
48
- );
49
- }
50
- export declare class ThrottlingException extends __BaseException {
51
- readonly name: "ThrottlingException";
52
- readonly $fault: "client";
53
- $retryable: {
54
- throttling: boolean;
55
- };
56
- Message: string | undefined;
57
- ServiceCode?: string | undefined;
58
- QuotaCode?: string | undefined;
59
- RetryAfterSeconds?: number | undefined;
60
- constructor(
61
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
62
- );
63
- }
64
28
  export interface ValidationExceptionField {
65
29
  Name: string | undefined;
66
30
  Reason: string | undefined;
67
31
  Message: string | undefined;
68
32
  }
69
- export declare const ValidationExceptionReason: {
70
- readonly CANNOT_PARSE: "CANNOT_PARSE";
71
- readonly DEPENDENCY_FAILURE: "DEPENDENCY_FAILURE";
72
- readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
73
- readonly OTHER: "OTHER";
74
- readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
75
- readonly UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION";
76
- };
77
- export type ValidationExceptionReason =
78
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
79
- export declare class ValidationException extends __BaseException {
80
- readonly name: "ValidationException";
81
- readonly $fault: "client";
82
- Message: string | undefined;
83
- Reason: ValidationExceptionReason | undefined;
84
- FieldList?: ValidationExceptionField[] | undefined;
85
- constructor(
86
- opts: __ExceptionOptionType<ValidationException, __BaseException>
87
- );
88
- }
89
- export declare const AutoRecoveryEnum: {
90
- readonly DEFAULT: "default";
91
- readonly DISABLED: "disabled";
92
- };
93
- export type AutoRecoveryEnum =
94
- (typeof AutoRecoveryEnum)[keyof typeof AutoRecoveryEnum];
95
- export declare const BandwidthWeightingEnum: {
96
- readonly DEFAULT: "default";
97
- readonly EBS_1: "ebs-1";
98
- readonly VPC_1: "vpc-1";
99
- };
100
- export type BandwidthWeightingEnum =
101
- (typeof BandwidthWeightingEnum)[keyof typeof BandwidthWeightingEnum];
102
- export declare const VolumeTypeEnum: {
103
- readonly GP2: "gp2";
104
- readonly GP3: "gp3";
105
- readonly IO1: "io1";
106
- readonly IO2: "io2";
107
- readonly SC1: "sc1";
108
- readonly ST1: "st1";
109
- readonly STANDARD: "standard";
110
- };
111
- export type VolumeTypeEnum =
112
- (typeof VolumeTypeEnum)[keyof typeof VolumeTypeEnum];
113
33
  export interface EbsBlockDevice {
114
34
  VolumeType?: VolumeTypeEnum | undefined;
115
35
  Encrypted?: boolean | undefined;
@@ -124,13 +44,6 @@ export interface BlockDeviceMappingRequest {
124
44
  NoDevice?: string | undefined;
125
45
  VirtualName?: string | undefined;
126
46
  }
127
- export declare const CapacityReservationPreferenceEnum: {
128
- readonly CAPACITY_RESERVATIONS_ONLY: "capacity-reservations-only";
129
- readonly NONE: "none";
130
- readonly OPEN: "open";
131
- };
132
- export type CapacityReservationPreferenceEnum =
133
- (typeof CapacityReservationPreferenceEnum)[keyof typeof CapacityReservationPreferenceEnum];
134
47
  export interface CapacityReservationTarget {
135
48
  CapacityReservationId?: string | undefined;
136
49
  CapacityReservationResourceGroupArn?: string | undefined;
@@ -144,25 +57,11 @@ export interface ConnectionTrackingSpecificationRequest {
144
57
  UdpStreamTimeout?: number | undefined;
145
58
  UdpTimeout?: number | undefined;
146
59
  }
147
- export declare const CpuCreditsEnum: {
148
- readonly STANDARD: "standard";
149
- readonly UNLIMITED: "unlimited";
150
- };
151
- export type CpuCreditsEnum =
152
- (typeof CpuCreditsEnum)[keyof typeof CpuCreditsEnum];
153
60
  export interface CpuOptionsRequest {
154
61
  AmdSevSnp?: AmdSevSnpEnum | undefined;
155
62
  CoreCount?: number | undefined;
156
63
  ThreadsPerCore?: number | undefined;
157
64
  }
158
- export declare const ResourceTypeEnum: {
159
- readonly INSTANCE: "instance";
160
- readonly NETWORK_INTERFACE: "network-interface";
161
- readonly SPOT_INSTANCES_REQUEST: "spot-instances-request";
162
- readonly VOLUME: "volume";
163
- };
164
- export type ResourceTypeEnum =
165
- (typeof ResourceTypeEnum)[keyof typeof ResourceTypeEnum];
166
65
  export interface Tag {
167
66
  Key?: string | undefined;
168
67
  Value?: string | undefined;
@@ -186,18 +85,6 @@ export interface CreateVolumeRequest {
186
85
  export interface CreateVolumeResponse {
187
86
  VolumeId?: string | undefined;
188
87
  }
189
- export declare class ServiceQuotaExceededException extends __BaseException {
190
- readonly name: "ServiceQuotaExceededException";
191
- readonly $fault: "client";
192
- Message: string | undefined;
193
- ResourceId: string | undefined;
194
- ResourceType: string | undefined;
195
- ServiceCode: string | undefined;
196
- QuotaCode: string | undefined;
197
- constructor(
198
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
199
- );
200
- }
201
88
  export interface CreditSpecificationRequest {
202
89
  CpuCredits?: CpuCreditsEnum | undefined;
203
90
  }
@@ -211,24 +98,6 @@ export interface IamInstanceProfileSpecification {
211
98
  Arn?: string | undefined;
212
99
  Name?: string | undefined;
213
100
  }
214
- export declare const MarketTypeEnum: {
215
- readonly CAPACITY_BLOCK: "capacity-block";
216
- readonly SPOT: "spot";
217
- };
218
- export type MarketTypeEnum =
219
- (typeof MarketTypeEnum)[keyof typeof MarketTypeEnum];
220
- export declare const InstanceInterruptionBehaviorEnum: {
221
- readonly HIBERNATE: "hibernate";
222
- readonly STOP: "stop";
223
- };
224
- export type InstanceInterruptionBehaviorEnum =
225
- (typeof InstanceInterruptionBehaviorEnum)[keyof typeof InstanceInterruptionBehaviorEnum];
226
- export declare const SpotInstanceTypeEnum: {
227
- readonly ONE_TIME: "one-time";
228
- readonly PERSISTENT: "persistent";
229
- };
230
- export type SpotInstanceTypeEnum =
231
- (typeof SpotInstanceTypeEnum)[keyof typeof SpotInstanceTypeEnum];
232
101
  export interface SpotMarketOptions {
233
102
  BlockDurationMinutes?: number | undefined;
234
103
  InstanceInterruptionBehavior?: InstanceInterruptionBehaviorEnum | undefined;
@@ -250,30 +119,6 @@ export interface LicenseConfigurationRequest {
250
119
  export interface InstanceMaintenanceOptionsRequest {
251
120
  AutoRecovery?: AutoRecoveryEnum | undefined;
252
121
  }
253
- export declare const HttpEndpointEnum: {
254
- readonly DISABLED: "disabled";
255
- readonly ENABLED: "enabled";
256
- };
257
- export type HttpEndpointEnum =
258
- (typeof HttpEndpointEnum)[keyof typeof HttpEndpointEnum];
259
- export declare const HttpProtocolIpv6Enum: {
260
- readonly DISABLED: "disabled";
261
- readonly ENABLED: "enabled";
262
- };
263
- export type HttpProtocolIpv6Enum =
264
- (typeof HttpProtocolIpv6Enum)[keyof typeof HttpProtocolIpv6Enum];
265
- export declare const HttpTokensEnum: {
266
- readonly OPTIONAL: "optional";
267
- readonly REQUIRED: "required";
268
- };
269
- export type HttpTokensEnum =
270
- (typeof HttpTokensEnum)[keyof typeof HttpTokensEnum];
271
- export declare const InstanceMetadataTagsEnum: {
272
- readonly DISABLED: "disabled";
273
- readonly ENABLED: "enabled";
274
- };
275
- export type InstanceMetadataTagsEnum =
276
- (typeof InstanceMetadataTagsEnum)[keyof typeof InstanceMetadataTagsEnum];
277
122
  export interface InstanceMetadataOptionsRequest {
278
123
  HttpEndpoint?: HttpEndpointEnum | undefined;
279
124
  HttpProtocolIpv6?: HttpProtocolIpv6Enum | undefined;
@@ -291,13 +136,6 @@ export interface EnaSrdSpecificationRequest {
291
136
  EnaSrdEnabled?: boolean | undefined;
292
137
  EnaSrdUdpSpecification?: EnaSrdUdpSpecificationRequest | undefined;
293
138
  }
294
- export declare const InterfaceTypeEnum: {
295
- readonly EFA: "efa";
296
- readonly EFA_ONLY: "efa-only";
297
- readonly INTERFACE: "interface";
298
- };
299
- export type InterfaceTypeEnum =
300
- (typeof InterfaceTypeEnum)[keyof typeof InterfaceTypeEnum];
301
139
  export interface Ipv4PrefixSpecificationRequest {
302
140
  Ipv4Prefix?: string | undefined;
303
141
  }
@@ -336,12 +174,6 @@ export interface InstanceNetworkInterfaceSpecification {
336
174
  export interface InstanceNetworkPerformanceOptionsRequest {
337
175
  BandwidthWeighting?: BandwidthWeightingEnum | undefined;
338
176
  }
339
- export declare const TenancyEnum: {
340
- readonly DEDICATED: "dedicated";
341
- readonly DEFAULT: "default";
342
- readonly HOST: "host";
343
- };
344
- export type TenancyEnum = (typeof TenancyEnum)[keyof typeof TenancyEnum];
345
177
  export interface Placement {
346
178
  Affinity?: string | undefined;
347
179
  AvailabilityZone?: string | undefined;
@@ -352,12 +184,6 @@ export interface Placement {
352
184
  PartitionNumber?: number | undefined;
353
185
  Tenancy?: TenancyEnum | undefined;
354
186
  }
355
- export declare const HostnameTypeEnum: {
356
- readonly IP_NAME: "ip-name";
357
- readonly RESOURCE_NAME: "resource-name";
358
- };
359
- export type HostnameTypeEnum =
360
- (typeof HostnameTypeEnum)[keyof typeof HostnameTypeEnum];
361
187
  export interface PrivateDnsNameOptionsRequest {
362
188
  HostnameType?: HostnameTypeEnum | undefined;
363
189
  EnableResourceNameDnsARecord?: boolean | undefined;
@@ -417,12 +243,6 @@ export interface DeleteWorkspaceInstanceRequest {
417
243
  WorkspaceInstanceId: string | undefined;
418
244
  }
419
245
  export interface DeleteWorkspaceInstanceResponse {}
420
- export declare const DisassociateModeEnum: {
421
- readonly FORCE: "FORCE";
422
- readonly NO_FORCE: "NO_FORCE";
423
- };
424
- export type DisassociateModeEnum =
425
- (typeof DisassociateModeEnum)[keyof typeof DisassociateModeEnum];
426
246
  export interface DisassociateVolumeRequest {
427
247
  WorkspaceInstanceId: string | undefined;
428
248
  VolumeId: string | undefined;
@@ -441,16 +261,6 @@ export interface EC2ManagedInstance {
441
261
  export interface GetWorkspaceInstanceRequest {
442
262
  WorkspaceInstanceId: string | undefined;
443
263
  }
444
- export declare const ProvisionStateEnum: {
445
- readonly ALLOCATED: "ALLOCATED";
446
- readonly ALLOCATING: "ALLOCATING";
447
- readonly DEALLOCATED: "DEALLOCATED";
448
- readonly DEALLOCATING: "DEALLOCATING";
449
- readonly ERROR_ALLOCATING: "ERROR_ALLOCATING";
450
- readonly ERROR_DEALLOCATING: "ERROR_DEALLOCATING";
451
- };
452
- export type ProvisionStateEnum =
453
- (typeof ProvisionStateEnum)[keyof typeof ProvisionStateEnum];
454
264
  export interface WorkspaceInstanceError {
455
265
  ErrorCode?: string | undefined;
456
266
  ErrorMessage?: string | undefined;
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.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-workspaces-instances",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";