@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.
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { WorkspacesInstancesExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/enums";
14
+ export * from "./models/errors";
15
+ export type * from "./models/models_0";
14
16
  export { WorkspacesInstancesServiceException } from "./models/WorkspacesInstancesServiceException";
@@ -0,0 +1,259 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AmdSevSnpEnum: {
6
+ readonly DISABLED: "disabled";
7
+ readonly ENABLED: "enabled";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type AmdSevSnpEnum = (typeof AmdSevSnpEnum)[keyof typeof AmdSevSnpEnum];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const ValidationExceptionReason: {
18
+ readonly CANNOT_PARSE: "CANNOT_PARSE";
19
+ readonly DEPENDENCY_FAILURE: "DEPENDENCY_FAILURE";
20
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
21
+ readonly OTHER: "OTHER";
22
+ readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
23
+ readonly UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION";
24
+ };
25
+ /**
26
+ * @public
27
+ */
28
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
29
+ /**
30
+ * @public
31
+ * @enum
32
+ */
33
+ export declare const AutoRecoveryEnum: {
34
+ readonly DEFAULT: "default";
35
+ readonly DISABLED: "disabled";
36
+ };
37
+ /**
38
+ * @public
39
+ */
40
+ export type AutoRecoveryEnum = (typeof AutoRecoveryEnum)[keyof typeof AutoRecoveryEnum];
41
+ /**
42
+ * @public
43
+ * @enum
44
+ */
45
+ export declare const BandwidthWeightingEnum: {
46
+ readonly DEFAULT: "default";
47
+ readonly EBS_1: "ebs-1";
48
+ readonly VPC_1: "vpc-1";
49
+ };
50
+ /**
51
+ * @public
52
+ */
53
+ export type BandwidthWeightingEnum = (typeof BandwidthWeightingEnum)[keyof typeof BandwidthWeightingEnum];
54
+ /**
55
+ * @public
56
+ * @enum
57
+ */
58
+ export declare const VolumeTypeEnum: {
59
+ readonly GP2: "gp2";
60
+ readonly GP3: "gp3";
61
+ readonly IO1: "io1";
62
+ readonly IO2: "io2";
63
+ readonly SC1: "sc1";
64
+ readonly ST1: "st1";
65
+ readonly STANDARD: "standard";
66
+ };
67
+ /**
68
+ * @public
69
+ */
70
+ export type VolumeTypeEnum = (typeof VolumeTypeEnum)[keyof typeof VolumeTypeEnum];
71
+ /**
72
+ * @public
73
+ * @enum
74
+ */
75
+ export declare const CapacityReservationPreferenceEnum: {
76
+ readonly CAPACITY_RESERVATIONS_ONLY: "capacity-reservations-only";
77
+ readonly NONE: "none";
78
+ readonly OPEN: "open";
79
+ };
80
+ /**
81
+ * @public
82
+ */
83
+ export type CapacityReservationPreferenceEnum = (typeof CapacityReservationPreferenceEnum)[keyof typeof CapacityReservationPreferenceEnum];
84
+ /**
85
+ * @public
86
+ * @enum
87
+ */
88
+ export declare const CpuCreditsEnum: {
89
+ readonly STANDARD: "standard";
90
+ readonly UNLIMITED: "unlimited";
91
+ };
92
+ /**
93
+ * @public
94
+ */
95
+ export type CpuCreditsEnum = (typeof CpuCreditsEnum)[keyof typeof CpuCreditsEnum];
96
+ /**
97
+ * @public
98
+ * @enum
99
+ */
100
+ export declare const ResourceTypeEnum: {
101
+ readonly INSTANCE: "instance";
102
+ readonly NETWORK_INTERFACE: "network-interface";
103
+ readonly SPOT_INSTANCES_REQUEST: "spot-instances-request";
104
+ readonly VOLUME: "volume";
105
+ };
106
+ /**
107
+ * @public
108
+ */
109
+ export type ResourceTypeEnum = (typeof ResourceTypeEnum)[keyof typeof ResourceTypeEnum];
110
+ /**
111
+ * @public
112
+ * @enum
113
+ */
114
+ export declare const MarketTypeEnum: {
115
+ readonly CAPACITY_BLOCK: "capacity-block";
116
+ readonly SPOT: "spot";
117
+ };
118
+ /**
119
+ * @public
120
+ */
121
+ export type MarketTypeEnum = (typeof MarketTypeEnum)[keyof typeof MarketTypeEnum];
122
+ /**
123
+ * @public
124
+ * @enum
125
+ */
126
+ export declare const InstanceInterruptionBehaviorEnum: {
127
+ readonly HIBERNATE: "hibernate";
128
+ readonly STOP: "stop";
129
+ };
130
+ /**
131
+ * @public
132
+ */
133
+ export type InstanceInterruptionBehaviorEnum = (typeof InstanceInterruptionBehaviorEnum)[keyof typeof InstanceInterruptionBehaviorEnum];
134
+ /**
135
+ * @public
136
+ * @enum
137
+ */
138
+ export declare const SpotInstanceTypeEnum: {
139
+ readonly ONE_TIME: "one-time";
140
+ readonly PERSISTENT: "persistent";
141
+ };
142
+ /**
143
+ * @public
144
+ */
145
+ export type SpotInstanceTypeEnum = (typeof SpotInstanceTypeEnum)[keyof typeof SpotInstanceTypeEnum];
146
+ /**
147
+ * @public
148
+ * @enum
149
+ */
150
+ export declare const HttpEndpointEnum: {
151
+ readonly DISABLED: "disabled";
152
+ readonly ENABLED: "enabled";
153
+ };
154
+ /**
155
+ * @public
156
+ */
157
+ export type HttpEndpointEnum = (typeof HttpEndpointEnum)[keyof typeof HttpEndpointEnum];
158
+ /**
159
+ * @public
160
+ * @enum
161
+ */
162
+ export declare const HttpProtocolIpv6Enum: {
163
+ readonly DISABLED: "disabled";
164
+ readonly ENABLED: "enabled";
165
+ };
166
+ /**
167
+ * @public
168
+ */
169
+ export type HttpProtocolIpv6Enum = (typeof HttpProtocolIpv6Enum)[keyof typeof HttpProtocolIpv6Enum];
170
+ /**
171
+ * @public
172
+ * @enum
173
+ */
174
+ export declare const HttpTokensEnum: {
175
+ readonly OPTIONAL: "optional";
176
+ readonly REQUIRED: "required";
177
+ };
178
+ /**
179
+ * @public
180
+ */
181
+ export type HttpTokensEnum = (typeof HttpTokensEnum)[keyof typeof HttpTokensEnum];
182
+ /**
183
+ * @public
184
+ * @enum
185
+ */
186
+ export declare const InstanceMetadataTagsEnum: {
187
+ readonly DISABLED: "disabled";
188
+ readonly ENABLED: "enabled";
189
+ };
190
+ /**
191
+ * @public
192
+ */
193
+ export type InstanceMetadataTagsEnum = (typeof InstanceMetadataTagsEnum)[keyof typeof InstanceMetadataTagsEnum];
194
+ /**
195
+ * @public
196
+ * @enum
197
+ */
198
+ export declare const InterfaceTypeEnum: {
199
+ readonly EFA: "efa";
200
+ readonly EFA_ONLY: "efa-only";
201
+ readonly INTERFACE: "interface";
202
+ };
203
+ /**
204
+ * @public
205
+ */
206
+ export type InterfaceTypeEnum = (typeof InterfaceTypeEnum)[keyof typeof InterfaceTypeEnum];
207
+ /**
208
+ * @public
209
+ * @enum
210
+ */
211
+ export declare const TenancyEnum: {
212
+ readonly DEDICATED: "dedicated";
213
+ readonly DEFAULT: "default";
214
+ readonly HOST: "host";
215
+ };
216
+ /**
217
+ * @public
218
+ */
219
+ export type TenancyEnum = (typeof TenancyEnum)[keyof typeof TenancyEnum];
220
+ /**
221
+ * @public
222
+ * @enum
223
+ */
224
+ export declare const HostnameTypeEnum: {
225
+ readonly IP_NAME: "ip-name";
226
+ readonly RESOURCE_NAME: "resource-name";
227
+ };
228
+ /**
229
+ * @public
230
+ */
231
+ export type HostnameTypeEnum = (typeof HostnameTypeEnum)[keyof typeof HostnameTypeEnum];
232
+ /**
233
+ * @public
234
+ * @enum
235
+ */
236
+ export declare const DisassociateModeEnum: {
237
+ readonly FORCE: "FORCE";
238
+ readonly NO_FORCE: "NO_FORCE";
239
+ };
240
+ /**
241
+ * @public
242
+ */
243
+ export type DisassociateModeEnum = (typeof DisassociateModeEnum)[keyof typeof DisassociateModeEnum];
244
+ /**
245
+ * @public
246
+ * @enum
247
+ */
248
+ export declare const ProvisionStateEnum: {
249
+ readonly ALLOCATED: "ALLOCATED";
250
+ readonly ALLOCATING: "ALLOCATING";
251
+ readonly DEALLOCATED: "DEALLOCATED";
252
+ readonly DEALLOCATING: "DEALLOCATING";
253
+ readonly ERROR_ALLOCATING: "ERROR_ALLOCATING";
254
+ readonly ERROR_DEALLOCATING: "ERROR_DEALLOCATING";
255
+ };
256
+ /**
257
+ * @public
258
+ */
259
+ export type ProvisionStateEnum = (typeof ProvisionStateEnum)[keyof typeof ProvisionStateEnum];
@@ -0,0 +1,197 @@
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
+ /**
6
+ * <p>Indicates insufficient permissions to perform the requested action.</p>
7
+ * @public
8
+ */
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ readonly name: "AccessDeniedException";
11
+ readonly $fault: "client";
12
+ /**
13
+ * <p>Detailed explanation of the access denial.</p>
14
+ * @public
15
+ */
16
+ Message: string | undefined;
17
+ /**
18
+ * @internal
19
+ */
20
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
21
+ }
22
+ /**
23
+ * <p>Signals a conflict with the current state of the resource.</p>
24
+ * @public
25
+ */
26
+ export declare class ConflictException extends __BaseException {
27
+ readonly name: "ConflictException";
28
+ readonly $fault: "client";
29
+ /**
30
+ * <p>Description of the conflict encountered.</p>
31
+ * @public
32
+ */
33
+ Message: string | undefined;
34
+ /**
35
+ * <p>Identifier of the conflicting resource.</p>
36
+ * @public
37
+ */
38
+ ResourceId: string | undefined;
39
+ /**
40
+ * <p>Type of the conflicting resource.</p>
41
+ * @public
42
+ */
43
+ ResourceType: string | undefined;
44
+ /**
45
+ * @internal
46
+ */
47
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
48
+ }
49
+ /**
50
+ * <p>Indicates an unexpected server-side error occurred.</p>
51
+ * @public
52
+ */
53
+ export declare class InternalServerException extends __BaseException {
54
+ readonly name: "InternalServerException";
55
+ readonly $fault: "server";
56
+ $retryable: {};
57
+ /**
58
+ * <p>Description of the internal server error.</p>
59
+ * @public
60
+ */
61
+ Message: string | undefined;
62
+ /**
63
+ * <p>Recommended wait time before retrying the request.</p>
64
+ * @public
65
+ */
66
+ RetryAfterSeconds?: number | undefined;
67
+ /**
68
+ * @internal
69
+ */
70
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
71
+ }
72
+ /**
73
+ * <p>Indicates the requested resource could not be found.</p>
74
+ * @public
75
+ */
76
+ export declare class ResourceNotFoundException extends __BaseException {
77
+ readonly name: "ResourceNotFoundException";
78
+ readonly $fault: "client";
79
+ /**
80
+ * <p>Details about the missing resource.</p>
81
+ * @public
82
+ */
83
+ Message: string | undefined;
84
+ /**
85
+ * <p>Identifier of the resource that was not found.</p>
86
+ * @public
87
+ */
88
+ ResourceId: string | undefined;
89
+ /**
90
+ * <p>Type of the resource that was not found.</p>
91
+ * @public
92
+ */
93
+ ResourceType: string | undefined;
94
+ /**
95
+ * @internal
96
+ */
97
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
98
+ }
99
+ /**
100
+ * <p>Indicates the request rate has exceeded limits.</p>
101
+ * @public
102
+ */
103
+ export declare class ThrottlingException extends __BaseException {
104
+ readonly name: "ThrottlingException";
105
+ readonly $fault: "client";
106
+ $retryable: {
107
+ throttling: boolean;
108
+ };
109
+ /**
110
+ * <p>Description of the throttling event.</p>
111
+ * @public
112
+ */
113
+ Message: string | undefined;
114
+ /**
115
+ * <p>Code identifying the service experiencing throttling.</p>
116
+ * @public
117
+ */
118
+ ServiceCode?: string | undefined;
119
+ /**
120
+ * <p>Specific code for the throttling quota.</p>
121
+ * @public
122
+ */
123
+ QuotaCode?: string | undefined;
124
+ /**
125
+ * <p>Recommended wait time before retrying the request.</p>
126
+ * @public
127
+ */
128
+ RetryAfterSeconds?: number | undefined;
129
+ /**
130
+ * @internal
131
+ */
132
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
133
+ }
134
+ /**
135
+ * <p>Indicates invalid input parameters in the request.</p>
136
+ * @public
137
+ */
138
+ export declare class ValidationException extends __BaseException {
139
+ readonly name: "ValidationException";
140
+ readonly $fault: "client";
141
+ /**
142
+ * <p>Overall description of validation failures.</p>
143
+ * @public
144
+ */
145
+ Message: string | undefined;
146
+ /**
147
+ * <p>Specific reason for the validation failure.</p>
148
+ * @public
149
+ */
150
+ Reason: ValidationExceptionReason | undefined;
151
+ /**
152
+ * <p>List of fields that failed validation.</p>
153
+ * @public
154
+ */
155
+ FieldList?: ValidationExceptionField[] | undefined;
156
+ /**
157
+ * @internal
158
+ */
159
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
160
+ }
161
+ /**
162
+ * <p>Indicates that a service quota has been exceeded.</p>
163
+ * @public
164
+ */
165
+ export declare class ServiceQuotaExceededException extends __BaseException {
166
+ readonly name: "ServiceQuotaExceededException";
167
+ readonly $fault: "client";
168
+ /**
169
+ * <p>Description of the quota limitation.</p>
170
+ * @public
171
+ */
172
+ Message: string | undefined;
173
+ /**
174
+ * <p>Identifier of the resource related to the quota.</p>
175
+ * @public
176
+ */
177
+ ResourceId: string | undefined;
178
+ /**
179
+ * <p>Type of resource related to the quota.</p>
180
+ * @public
181
+ */
182
+ ResourceType: string | undefined;
183
+ /**
184
+ * <p>Code identifying the service with the quota limitation.</p>
185
+ * @public
186
+ */
187
+ ServiceCode: string | undefined;
188
+ /**
189
+ * <p>Specific code for the exceeded quota.</p>
190
+ * @public
191
+ */
192
+ QuotaCode: string | undefined;
193
+ /**
194
+ * @internal
195
+ */
196
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
197
+ }