@aws-sdk/client-workspaces-instances 3.835.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +309 -0
- package/dist-cjs/WorkspacesInstances.js +37 -0
- package/dist-cjs/WorkspacesInstancesClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AssociateVolumeCommand.js +26 -0
- package/dist-cjs/commands/CreateVolumeCommand.js +27 -0
- package/dist-cjs/commands/CreateWorkspaceInstanceCommand.js +27 -0
- package/dist-cjs/commands/DeleteVolumeCommand.js +26 -0
- package/dist-cjs/commands/DeleteWorkspaceInstanceCommand.js +26 -0
- package/dist-cjs/commands/DisassociateVolumeCommand.js +26 -0
- package/dist-cjs/commands/GetWorkspaceInstanceCommand.js +26 -0
- package/dist-cjs/commands/ListInstanceTypesCommand.js +27 -0
- package/dist-cjs/commands/ListRegionsCommand.js +27 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/ListWorkspaceInstancesCommand.js +27 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/index.js +16 -0
- package/dist-cjs/endpoint/EndpointParameters.js +15 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/WorkspacesInstancesServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +329 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListInstanceTypesPaginator.js +7 -0
- package/dist-cjs/pagination/ListRegionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListWorkspaceInstancesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_0.js +486 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-es/WorkspacesInstances.js +33 -0
- package/dist-es/WorkspacesInstancesClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AssociateVolumeCommand.js +22 -0
- package/dist-es/commands/CreateVolumeCommand.js +23 -0
- package/dist-es/commands/CreateWorkspaceInstanceCommand.js +23 -0
- package/dist-es/commands/DeleteVolumeCommand.js +22 -0
- package/dist-es/commands/DeleteWorkspaceInstanceCommand.js +22 -0
- package/dist-es/commands/DisassociateVolumeCommand.js +22 -0
- package/dist-es/commands/GetWorkspaceInstanceCommand.js +22 -0
- package/dist-es/commands/ListInstanceTypesCommand.js +23 -0
- package/dist-es/commands/ListRegionsCommand.js +23 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/ListWorkspaceInstancesCommand.js +23 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/WorkspacesInstancesServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +305 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListInstanceTypesPaginator.js +4 -0
- package/dist-es/pagination/ListRegionsPaginator.js +4 -0
- package/dist-es/pagination/ListWorkspaceInstancesPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_0.js +457 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-types/WorkspacesInstances.d.ts +104 -0
- package/dist-types/WorkspacesInstancesClient.d.ts +200 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AssociateVolumeCommand.d.ts +90 -0
- package/dist-types/commands/CreateVolumeCommand.d.ts +109 -0
- package/dist-types/commands/CreateWorkspaceInstanceCommand.d.ts +273 -0
- package/dist-types/commands/DeleteVolumeCommand.d.ts +88 -0
- package/dist-types/commands/DeleteWorkspaceInstanceCommand.d.ts +88 -0
- package/dist-types/commands/DisassociateVolumeCommand.d.ts +91 -0
- package/dist-types/commands/GetWorkspaceInstanceCommand.d.ts +104 -0
- package/dist-types/commands/ListInstanceTypesCommand.d.ts +90 -0
- package/dist-types/commands/ListRegionsCommand.d.ts +90 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +92 -0
- package/dist-types/commands/ListWorkspaceInstancesCommand.d.ts +97 -0
- package/dist-types/commands/TagResourceCommand.d.ts +91 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/WorkspacesInstancesServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1787 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListInstanceTypesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRegionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkspaceInstancesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +119 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/WorkspacesInstances.d.ts +231 -0
- package/dist-types/ts3.4/WorkspacesInstancesClient.d.ts +200 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AssociateVolumeCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateWorkspaceInstanceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteVolumeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteWorkspaceInstanceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateVolumeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWorkspaceInstanceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListInstanceTypesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRegionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWorkspaceInstancesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/WorkspacesInstancesServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +558 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListInstanceTypesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRegionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkspaceInstancesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +161 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +101 -0
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListWorkspaceInstancesResponseFilterSensitiveLog = exports.ListWorkspaceInstancesRequestFilterSensitiveLog = exports.ListRegionsResponseFilterSensitiveLog = exports.ListRegionsRequestFilterSensitiveLog = exports.ListInstanceTypesResponseFilterSensitiveLog = exports.ListInstanceTypesRequestFilterSensitiveLog = exports.CreateWorkspaceInstanceRequestFilterSensitiveLog = exports.ManagedInstanceRequestFilterSensitiveLog = exports.InstanceNetworkInterfaceSpecificationFilterSensitiveLog = exports.PrivateIpAddressSpecificationFilterSensitiveLog = exports.InstanceIpv6AddressFilterSensitiveLog = exports.CreateVolumeRequestFilterSensitiveLog = exports.BlockDeviceMappingRequestFilterSensitiveLog = exports.EbsBlockDeviceFilterSensitiveLog = exports.ProvisionStateEnum = exports.DisassociateModeEnum = exports.HostnameTypeEnum = exports.TenancyEnum = exports.InterfaceTypeEnum = exports.InstanceMetadataTagsEnum = exports.HttpTokensEnum = exports.HttpProtocolIpv6Enum = exports.HttpEndpointEnum = exports.SpotInstanceTypeEnum = exports.InstanceInterruptionBehaviorEnum = exports.MarketTypeEnum = exports.ServiceQuotaExceededException = exports.ResourceTypeEnum = exports.CpuCreditsEnum = exports.CapacityReservationPreferenceEnum = exports.VolumeTypeEnum = exports.BandwidthWeightingEnum = exports.AutoRecoveryEnum = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AmdSevSnpEnum = exports.AccessDeniedException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
const WorkspacesInstancesServiceException_1 = require("./WorkspacesInstancesServiceException");
|
|
6
|
+
class AccessDeniedException extends WorkspacesInstancesServiceException_1.WorkspacesInstancesServiceException {
|
|
7
|
+
name = "AccessDeniedException";
|
|
8
|
+
$fault = "client";
|
|
9
|
+
Message;
|
|
10
|
+
constructor(opts) {
|
|
11
|
+
super({
|
|
12
|
+
name: "AccessDeniedException",
|
|
13
|
+
$fault: "client",
|
|
14
|
+
...opts,
|
|
15
|
+
});
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
this.Message = opts.Message;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
21
|
+
exports.AmdSevSnpEnum = {
|
|
22
|
+
DISABLED: "disabled",
|
|
23
|
+
ENABLED: "enabled",
|
|
24
|
+
};
|
|
25
|
+
class ConflictException extends WorkspacesInstancesServiceException_1.WorkspacesInstancesServiceException {
|
|
26
|
+
name = "ConflictException";
|
|
27
|
+
$fault = "client";
|
|
28
|
+
Message;
|
|
29
|
+
ResourceId;
|
|
30
|
+
ResourceType;
|
|
31
|
+
constructor(opts) {
|
|
32
|
+
super({
|
|
33
|
+
name: "ConflictException",
|
|
34
|
+
$fault: "client",
|
|
35
|
+
...opts,
|
|
36
|
+
});
|
|
37
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
38
|
+
this.Message = opts.Message;
|
|
39
|
+
this.ResourceId = opts.ResourceId;
|
|
40
|
+
this.ResourceType = opts.ResourceType;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.ConflictException = ConflictException;
|
|
44
|
+
class InternalServerException extends WorkspacesInstancesServiceException_1.WorkspacesInstancesServiceException {
|
|
45
|
+
name = "InternalServerException";
|
|
46
|
+
$fault = "server";
|
|
47
|
+
$retryable = {};
|
|
48
|
+
Message;
|
|
49
|
+
RetryAfterSeconds;
|
|
50
|
+
constructor(opts) {
|
|
51
|
+
super({
|
|
52
|
+
name: "InternalServerException",
|
|
53
|
+
$fault: "server",
|
|
54
|
+
...opts,
|
|
55
|
+
});
|
|
56
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
57
|
+
this.Message = opts.Message;
|
|
58
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.InternalServerException = InternalServerException;
|
|
62
|
+
class ResourceNotFoundException extends WorkspacesInstancesServiceException_1.WorkspacesInstancesServiceException {
|
|
63
|
+
name = "ResourceNotFoundException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
Message;
|
|
66
|
+
ResourceId;
|
|
67
|
+
ResourceType;
|
|
68
|
+
constructor(opts) {
|
|
69
|
+
super({
|
|
70
|
+
name: "ResourceNotFoundException",
|
|
71
|
+
$fault: "client",
|
|
72
|
+
...opts,
|
|
73
|
+
});
|
|
74
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
75
|
+
this.Message = opts.Message;
|
|
76
|
+
this.ResourceId = opts.ResourceId;
|
|
77
|
+
this.ResourceType = opts.ResourceType;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
81
|
+
class ThrottlingException extends WorkspacesInstancesServiceException_1.WorkspacesInstancesServiceException {
|
|
82
|
+
name = "ThrottlingException";
|
|
83
|
+
$fault = "client";
|
|
84
|
+
$retryable = {
|
|
85
|
+
throttling: true,
|
|
86
|
+
};
|
|
87
|
+
Message;
|
|
88
|
+
ServiceCode;
|
|
89
|
+
QuotaCode;
|
|
90
|
+
RetryAfterSeconds;
|
|
91
|
+
constructor(opts) {
|
|
92
|
+
super({
|
|
93
|
+
name: "ThrottlingException",
|
|
94
|
+
$fault: "client",
|
|
95
|
+
...opts,
|
|
96
|
+
});
|
|
97
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
98
|
+
this.Message = opts.Message;
|
|
99
|
+
this.ServiceCode = opts.ServiceCode;
|
|
100
|
+
this.QuotaCode = opts.QuotaCode;
|
|
101
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.ThrottlingException = ThrottlingException;
|
|
105
|
+
exports.ValidationExceptionReason = {
|
|
106
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
107
|
+
DEPENDENCY_FAILURE: "DEPENDENCY_FAILURE",
|
|
108
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
109
|
+
OTHER: "OTHER",
|
|
110
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
111
|
+
UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION",
|
|
112
|
+
};
|
|
113
|
+
class ValidationException extends WorkspacesInstancesServiceException_1.WorkspacesInstancesServiceException {
|
|
114
|
+
name = "ValidationException";
|
|
115
|
+
$fault = "client";
|
|
116
|
+
Message;
|
|
117
|
+
Reason;
|
|
118
|
+
FieldList;
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "ValidationException",
|
|
122
|
+
$fault: "client",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
126
|
+
this.Message = opts.Message;
|
|
127
|
+
this.Reason = opts.Reason;
|
|
128
|
+
this.FieldList = opts.FieldList;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
exports.ValidationException = ValidationException;
|
|
132
|
+
exports.AutoRecoveryEnum = {
|
|
133
|
+
DEFAULT: "default",
|
|
134
|
+
DISABLED: "disabled",
|
|
135
|
+
};
|
|
136
|
+
exports.BandwidthWeightingEnum = {
|
|
137
|
+
DEFAULT: "default",
|
|
138
|
+
EBS_1: "ebs-1",
|
|
139
|
+
VPC_1: "vpc-1",
|
|
140
|
+
};
|
|
141
|
+
exports.VolumeTypeEnum = {
|
|
142
|
+
GP2: "gp2",
|
|
143
|
+
GP3: "gp3",
|
|
144
|
+
IO1: "io1",
|
|
145
|
+
IO2: "io2",
|
|
146
|
+
SC1: "sc1",
|
|
147
|
+
ST1: "st1",
|
|
148
|
+
STANDARD: "standard",
|
|
149
|
+
};
|
|
150
|
+
exports.CapacityReservationPreferenceEnum = {
|
|
151
|
+
CAPACITY_RESERVATIONS_ONLY: "capacity-reservations-only",
|
|
152
|
+
NONE: "none",
|
|
153
|
+
OPEN: "open",
|
|
154
|
+
};
|
|
155
|
+
exports.CpuCreditsEnum = {
|
|
156
|
+
STANDARD: "standard",
|
|
157
|
+
UNLIMITED: "unlimited",
|
|
158
|
+
};
|
|
159
|
+
exports.ResourceTypeEnum = {
|
|
160
|
+
INSTANCE: "instance",
|
|
161
|
+
NETWORK_INTERFACE: "network-interface",
|
|
162
|
+
SPOT_INSTANCES_REQUEST: "spot-instances-request",
|
|
163
|
+
VOLUME: "volume",
|
|
164
|
+
};
|
|
165
|
+
class ServiceQuotaExceededException extends WorkspacesInstancesServiceException_1.WorkspacesInstancesServiceException {
|
|
166
|
+
name = "ServiceQuotaExceededException";
|
|
167
|
+
$fault = "client";
|
|
168
|
+
Message;
|
|
169
|
+
ResourceId;
|
|
170
|
+
ResourceType;
|
|
171
|
+
ServiceCode;
|
|
172
|
+
QuotaCode;
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "ServiceQuotaExceededException",
|
|
176
|
+
$fault: "client",
|
|
177
|
+
...opts,
|
|
178
|
+
});
|
|
179
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
180
|
+
this.Message = opts.Message;
|
|
181
|
+
this.ResourceId = opts.ResourceId;
|
|
182
|
+
this.ResourceType = opts.ResourceType;
|
|
183
|
+
this.ServiceCode = opts.ServiceCode;
|
|
184
|
+
this.QuotaCode = opts.QuotaCode;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
188
|
+
exports.MarketTypeEnum = {
|
|
189
|
+
CAPACITY_BLOCK: "capacity-block",
|
|
190
|
+
SPOT: "spot",
|
|
191
|
+
};
|
|
192
|
+
exports.InstanceInterruptionBehaviorEnum = {
|
|
193
|
+
HIBERNATE: "hibernate",
|
|
194
|
+
STOP: "stop",
|
|
195
|
+
};
|
|
196
|
+
exports.SpotInstanceTypeEnum = {
|
|
197
|
+
ONE_TIME: "one-time",
|
|
198
|
+
PERSISTENT: "persistent",
|
|
199
|
+
};
|
|
200
|
+
exports.HttpEndpointEnum = {
|
|
201
|
+
DISABLED: "disabled",
|
|
202
|
+
ENABLED: "enabled",
|
|
203
|
+
};
|
|
204
|
+
exports.HttpProtocolIpv6Enum = {
|
|
205
|
+
DISABLED: "disabled",
|
|
206
|
+
ENABLED: "enabled",
|
|
207
|
+
};
|
|
208
|
+
exports.HttpTokensEnum = {
|
|
209
|
+
OPTIONAL: "optional",
|
|
210
|
+
REQUIRED: "required",
|
|
211
|
+
};
|
|
212
|
+
exports.InstanceMetadataTagsEnum = {
|
|
213
|
+
DISABLED: "disabled",
|
|
214
|
+
ENABLED: "enabled",
|
|
215
|
+
};
|
|
216
|
+
exports.InterfaceTypeEnum = {
|
|
217
|
+
EFA: "efa",
|
|
218
|
+
EFA_ONLY: "efa-only",
|
|
219
|
+
INTERFACE: "interface",
|
|
220
|
+
};
|
|
221
|
+
exports.TenancyEnum = {
|
|
222
|
+
DEDICATED: "dedicated",
|
|
223
|
+
DEFAULT: "default",
|
|
224
|
+
HOST: "host",
|
|
225
|
+
};
|
|
226
|
+
exports.HostnameTypeEnum = {
|
|
227
|
+
IP_NAME: "ip-name",
|
|
228
|
+
RESOURCE_NAME: "resource-name",
|
|
229
|
+
};
|
|
230
|
+
exports.DisassociateModeEnum = {
|
|
231
|
+
FORCE: "FORCE",
|
|
232
|
+
NO_FORCE: "NO_FORCE",
|
|
233
|
+
};
|
|
234
|
+
exports.ProvisionStateEnum = {
|
|
235
|
+
ALLOCATED: "ALLOCATED",
|
|
236
|
+
ALLOCATING: "ALLOCATING",
|
|
237
|
+
DEALLOCATED: "DEALLOCATED",
|
|
238
|
+
DEALLOCATING: "DEALLOCATING",
|
|
239
|
+
ERROR_ALLOCATING: "ERROR_ALLOCATING",
|
|
240
|
+
ERROR_DEALLOCATING: "ERROR_DEALLOCATING",
|
|
241
|
+
};
|
|
242
|
+
const EbsBlockDeviceFilterSensitiveLog = (obj) => ({
|
|
243
|
+
...obj,
|
|
244
|
+
...(obj.KmsKeyId && { KmsKeyId: smithy_client_1.SENSITIVE_STRING }),
|
|
245
|
+
});
|
|
246
|
+
exports.EbsBlockDeviceFilterSensitiveLog = EbsBlockDeviceFilterSensitiveLog;
|
|
247
|
+
const BlockDeviceMappingRequestFilterSensitiveLog = (obj) => ({
|
|
248
|
+
...obj,
|
|
249
|
+
...(obj.Ebs && { Ebs: (0, exports.EbsBlockDeviceFilterSensitiveLog)(obj.Ebs) }),
|
|
250
|
+
});
|
|
251
|
+
exports.BlockDeviceMappingRequestFilterSensitiveLog = BlockDeviceMappingRequestFilterSensitiveLog;
|
|
252
|
+
const CreateVolumeRequestFilterSensitiveLog = (obj) => ({
|
|
253
|
+
...obj,
|
|
254
|
+
...(obj.ClientToken && { ClientToken: smithy_client_1.SENSITIVE_STRING }),
|
|
255
|
+
...(obj.KmsKeyId && { KmsKeyId: smithy_client_1.SENSITIVE_STRING }),
|
|
256
|
+
});
|
|
257
|
+
exports.CreateVolumeRequestFilterSensitiveLog = CreateVolumeRequestFilterSensitiveLog;
|
|
258
|
+
const InstanceIpv6AddressFilterSensitiveLog = (obj) => ({
|
|
259
|
+
...obj,
|
|
260
|
+
...(obj.Ipv6Address && { Ipv6Address: smithy_client_1.SENSITIVE_STRING }),
|
|
261
|
+
});
|
|
262
|
+
exports.InstanceIpv6AddressFilterSensitiveLog = InstanceIpv6AddressFilterSensitiveLog;
|
|
263
|
+
const PrivateIpAddressSpecificationFilterSensitiveLog = (obj) => ({
|
|
264
|
+
...obj,
|
|
265
|
+
...(obj.PrivateIpAddress && { PrivateIpAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
266
|
+
});
|
|
267
|
+
exports.PrivateIpAddressSpecificationFilterSensitiveLog = PrivateIpAddressSpecificationFilterSensitiveLog;
|
|
268
|
+
const InstanceNetworkInterfaceSpecificationFilterSensitiveLog = (obj) => ({
|
|
269
|
+
...obj,
|
|
270
|
+
...(obj.Ipv6Addresses && {
|
|
271
|
+
Ipv6Addresses: obj.Ipv6Addresses.map((item) => (0, exports.InstanceIpv6AddressFilterSensitiveLog)(item)),
|
|
272
|
+
}),
|
|
273
|
+
...(obj.PrivateIpAddress && { PrivateIpAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
274
|
+
...(obj.PrivateIpAddresses && {
|
|
275
|
+
PrivateIpAddresses: obj.PrivateIpAddresses.map((item) => (0, exports.PrivateIpAddressSpecificationFilterSensitiveLog)(item)),
|
|
276
|
+
}),
|
|
277
|
+
});
|
|
278
|
+
exports.InstanceNetworkInterfaceSpecificationFilterSensitiveLog = InstanceNetworkInterfaceSpecificationFilterSensitiveLog;
|
|
279
|
+
const ManagedInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
280
|
+
...obj,
|
|
281
|
+
...(obj.BlockDeviceMappings && {
|
|
282
|
+
BlockDeviceMappings: obj.BlockDeviceMappings.map((item) => (0, exports.BlockDeviceMappingRequestFilterSensitiveLog)(item)),
|
|
283
|
+
}),
|
|
284
|
+
...(obj.Ipv6Addresses && {
|
|
285
|
+
Ipv6Addresses: obj.Ipv6Addresses.map((item) => (0, exports.InstanceIpv6AddressFilterSensitiveLog)(item)),
|
|
286
|
+
}),
|
|
287
|
+
...(obj.NetworkInterfaces && {
|
|
288
|
+
NetworkInterfaces: obj.NetworkInterfaces.map((item) => (0, exports.InstanceNetworkInterfaceSpecificationFilterSensitiveLog)(item)),
|
|
289
|
+
}),
|
|
290
|
+
...(obj.PrivateIpAddress && { PrivateIpAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
291
|
+
...(obj.UserData && { UserData: smithy_client_1.SENSITIVE_STRING }),
|
|
292
|
+
});
|
|
293
|
+
exports.ManagedInstanceRequestFilterSensitiveLog = ManagedInstanceRequestFilterSensitiveLog;
|
|
294
|
+
const CreateWorkspaceInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
295
|
+
...obj,
|
|
296
|
+
...(obj.ClientToken && { ClientToken: smithy_client_1.SENSITIVE_STRING }),
|
|
297
|
+
...(obj.ManagedInstance && { ManagedInstance: (0, exports.ManagedInstanceRequestFilterSensitiveLog)(obj.ManagedInstance) }),
|
|
298
|
+
});
|
|
299
|
+
exports.CreateWorkspaceInstanceRequestFilterSensitiveLog = CreateWorkspaceInstanceRequestFilterSensitiveLog;
|
|
300
|
+
const ListInstanceTypesRequestFilterSensitiveLog = (obj) => ({
|
|
301
|
+
...obj,
|
|
302
|
+
...(obj.NextToken && { NextToken: smithy_client_1.SENSITIVE_STRING }),
|
|
303
|
+
});
|
|
304
|
+
exports.ListInstanceTypesRequestFilterSensitiveLog = ListInstanceTypesRequestFilterSensitiveLog;
|
|
305
|
+
const ListInstanceTypesResponseFilterSensitiveLog = (obj) => ({
|
|
306
|
+
...obj,
|
|
307
|
+
...(obj.NextToken && { NextToken: smithy_client_1.SENSITIVE_STRING }),
|
|
308
|
+
});
|
|
309
|
+
exports.ListInstanceTypesResponseFilterSensitiveLog = ListInstanceTypesResponseFilterSensitiveLog;
|
|
310
|
+
const ListRegionsRequestFilterSensitiveLog = (obj) => ({
|
|
311
|
+
...obj,
|
|
312
|
+
...(obj.NextToken && { NextToken: smithy_client_1.SENSITIVE_STRING }),
|
|
313
|
+
});
|
|
314
|
+
exports.ListRegionsRequestFilterSensitiveLog = ListRegionsRequestFilterSensitiveLog;
|
|
315
|
+
const ListRegionsResponseFilterSensitiveLog = (obj) => ({
|
|
316
|
+
...obj,
|
|
317
|
+
...(obj.NextToken && { NextToken: smithy_client_1.SENSITIVE_STRING }),
|
|
318
|
+
});
|
|
319
|
+
exports.ListRegionsResponseFilterSensitiveLog = ListRegionsResponseFilterSensitiveLog;
|
|
320
|
+
const ListWorkspaceInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
321
|
+
...obj,
|
|
322
|
+
...(obj.NextToken && { NextToken: smithy_client_1.SENSITIVE_STRING }),
|
|
323
|
+
});
|
|
324
|
+
exports.ListWorkspaceInstancesRequestFilterSensitiveLog = ListWorkspaceInstancesRequestFilterSensitiveLog;
|
|
325
|
+
const ListWorkspaceInstancesResponseFilterSensitiveLog = (obj) => ({
|
|
326
|
+
...obj,
|
|
327
|
+
...(obj.NextToken && { NextToken: smithy_client_1.SENSITIVE_STRING }),
|
|
328
|
+
});
|
|
329
|
+
exports.ListWorkspaceInstancesResponseFilterSensitiveLog = ListWorkspaceInstancesResponseFilterSensitiveLog;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListInstanceTypes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListInstanceTypesCommand_1 = require("../commands/ListInstanceTypesCommand");
|
|
6
|
+
const WorkspacesInstancesClient_1 = require("../WorkspacesInstancesClient");
|
|
7
|
+
exports.paginateListInstanceTypes = (0, core_1.createPaginator)(WorkspacesInstancesClient_1.WorkspacesInstancesClient, ListInstanceTypesCommand_1.ListInstanceTypesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListRegions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListRegionsCommand_1 = require("../commands/ListRegionsCommand");
|
|
6
|
+
const WorkspacesInstancesClient_1 = require("../WorkspacesInstancesClient");
|
|
7
|
+
exports.paginateListRegions = (0, core_1.createPaginator)(WorkspacesInstancesClient_1.WorkspacesInstancesClient, ListRegionsCommand_1.ListRegionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListWorkspaceInstances = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListWorkspaceInstancesCommand_1 = require("../commands/ListWorkspaceInstancesCommand");
|
|
6
|
+
const WorkspacesInstancesClient_1 = require("../WorkspacesInstancesClient");
|
|
7
|
+
exports.paginateListWorkspaceInstances = (0, core_1.createPaginator)(WorkspacesInstancesClient_1.WorkspacesInstancesClient, ListWorkspaceInstancesCommand_1.ListWorkspaceInstancesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListInstanceTypesPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListRegionsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListWorkspaceInstancesPaginator"), exports);
|