@aws-sdk/client-workspaces-instances 3.901.0 → 3.906.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 +1140 -1393
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -1,1437 +1,1184 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
ConflictException: () => ConflictException,
|
|
32
|
-
CpuCreditsEnum: () => CpuCreditsEnum,
|
|
33
|
-
CreateVolumeCommand: () => CreateVolumeCommand,
|
|
34
|
-
CreateVolumeRequestFilterSensitiveLog: () => CreateVolumeRequestFilterSensitiveLog,
|
|
35
|
-
CreateWorkspaceInstanceCommand: () => CreateWorkspaceInstanceCommand,
|
|
36
|
-
CreateWorkspaceInstanceRequestFilterSensitiveLog: () => CreateWorkspaceInstanceRequestFilterSensitiveLog,
|
|
37
|
-
DeleteVolumeCommand: () => DeleteVolumeCommand,
|
|
38
|
-
DeleteWorkspaceInstanceCommand: () => DeleteWorkspaceInstanceCommand,
|
|
39
|
-
DisassociateModeEnum: () => DisassociateModeEnum,
|
|
40
|
-
DisassociateVolumeCommand: () => DisassociateVolumeCommand,
|
|
41
|
-
EbsBlockDeviceFilterSensitiveLog: () => EbsBlockDeviceFilterSensitiveLog,
|
|
42
|
-
GetWorkspaceInstanceCommand: () => GetWorkspaceInstanceCommand,
|
|
43
|
-
HostnameTypeEnum: () => HostnameTypeEnum,
|
|
44
|
-
HttpEndpointEnum: () => HttpEndpointEnum,
|
|
45
|
-
HttpProtocolIpv6Enum: () => HttpProtocolIpv6Enum,
|
|
46
|
-
HttpTokensEnum: () => HttpTokensEnum,
|
|
47
|
-
InstanceInterruptionBehaviorEnum: () => InstanceInterruptionBehaviorEnum,
|
|
48
|
-
InstanceIpv6AddressFilterSensitiveLog: () => InstanceIpv6AddressFilterSensitiveLog,
|
|
49
|
-
InstanceMetadataTagsEnum: () => InstanceMetadataTagsEnum,
|
|
50
|
-
InstanceNetworkInterfaceSpecificationFilterSensitiveLog: () => InstanceNetworkInterfaceSpecificationFilterSensitiveLog,
|
|
51
|
-
InterfaceTypeEnum: () => InterfaceTypeEnum,
|
|
52
|
-
InternalServerException: () => InternalServerException,
|
|
53
|
-
ListInstanceTypesCommand: () => ListInstanceTypesCommand,
|
|
54
|
-
ListInstanceTypesRequestFilterSensitiveLog: () => ListInstanceTypesRequestFilterSensitiveLog,
|
|
55
|
-
ListInstanceTypesResponseFilterSensitiveLog: () => ListInstanceTypesResponseFilterSensitiveLog,
|
|
56
|
-
ListRegionsCommand: () => ListRegionsCommand,
|
|
57
|
-
ListRegionsRequestFilterSensitiveLog: () => ListRegionsRequestFilterSensitiveLog,
|
|
58
|
-
ListRegionsResponseFilterSensitiveLog: () => ListRegionsResponseFilterSensitiveLog,
|
|
59
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
60
|
-
ListWorkspaceInstancesCommand: () => ListWorkspaceInstancesCommand,
|
|
61
|
-
ListWorkspaceInstancesRequestFilterSensitiveLog: () => ListWorkspaceInstancesRequestFilterSensitiveLog,
|
|
62
|
-
ListWorkspaceInstancesResponseFilterSensitiveLog: () => ListWorkspaceInstancesResponseFilterSensitiveLog,
|
|
63
|
-
ManagedInstanceRequestFilterSensitiveLog: () => ManagedInstanceRequestFilterSensitiveLog,
|
|
64
|
-
MarketTypeEnum: () => MarketTypeEnum,
|
|
65
|
-
PrivateIpAddressSpecificationFilterSensitiveLog: () => PrivateIpAddressSpecificationFilterSensitiveLog,
|
|
66
|
-
ProvisionStateEnum: () => ProvisionStateEnum,
|
|
67
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
68
|
-
ResourceTypeEnum: () => ResourceTypeEnum,
|
|
69
|
-
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
70
|
-
SpotInstanceTypeEnum: () => SpotInstanceTypeEnum,
|
|
71
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
72
|
-
TenancyEnum: () => TenancyEnum,
|
|
73
|
-
ThrottlingException: () => ThrottlingException,
|
|
74
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
75
|
-
ValidationException: () => ValidationException,
|
|
76
|
-
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
77
|
-
VolumeTypeEnum: () => VolumeTypeEnum,
|
|
78
|
-
WorkspacesInstances: () => WorkspacesInstances,
|
|
79
|
-
WorkspacesInstancesClient: () => WorkspacesInstancesClient,
|
|
80
|
-
WorkspacesInstancesServiceException: () => WorkspacesInstancesServiceException,
|
|
81
|
-
__Client: () => import_smithy_client.Client,
|
|
82
|
-
paginateListInstanceTypes: () => paginateListInstanceTypes,
|
|
83
|
-
paginateListRegions: () => paginateListRegions,
|
|
84
|
-
paginateListWorkspaceInstances: () => paginateListWorkspaceInstances
|
|
85
|
-
});
|
|
86
|
-
module.exports = __toCommonJS(index_exports);
|
|
87
|
-
|
|
88
|
-
// src/WorkspacesInstancesClient.ts
|
|
89
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
90
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
91
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
92
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
93
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
94
|
-
var import_core = require("@smithy/core");
|
|
95
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
96
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
97
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
98
|
-
|
|
99
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
100
|
-
|
|
101
|
-
// src/endpoint/EndpointParameters.ts
|
|
102
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
103
|
-
return Object.assign(options, {
|
|
104
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
105
|
-
defaultSigningName: "workspaces-instances"
|
|
106
|
-
});
|
|
107
|
-
}, "resolveClientEndpointParameters");
|
|
108
|
-
var commonParams = {
|
|
109
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
110
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
111
|
-
Region: { type: "builtInParams", name: "region" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
var uuid = require('@smithy/uuid');
|
|
20
|
+
|
|
21
|
+
const resolveClientEndpointParameters = (options) => {
|
|
22
|
+
return Object.assign(options, {
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "workspaces-instances",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
112
31
|
};
|
|
113
32
|
|
|
114
|
-
|
|
115
|
-
|
|
33
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
34
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
35
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
36
|
+
let _credentials = runtimeConfig.credentials;
|
|
37
|
+
return {
|
|
38
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
39
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
40
|
+
if (index === -1) {
|
|
41
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
httpAuthSchemes() {
|
|
48
|
+
return _httpAuthSchemes;
|
|
49
|
+
},
|
|
50
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
51
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
52
|
+
},
|
|
53
|
+
httpAuthSchemeProvider() {
|
|
54
|
+
return _httpAuthSchemeProvider;
|
|
55
|
+
},
|
|
56
|
+
setCredentials(credentials) {
|
|
57
|
+
_credentials = credentials;
|
|
58
|
+
},
|
|
59
|
+
credentials() {
|
|
60
|
+
return _credentials;
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
65
|
+
return {
|
|
66
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
67
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
68
|
+
credentials: config.credentials(),
|
|
69
|
+
};
|
|
70
|
+
};
|
|
116
71
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
72
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
73
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
74
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
75
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
76
|
+
};
|
|
121
77
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
78
|
+
class WorkspacesInstancesClient extends smithyClient.Client {
|
|
79
|
+
config;
|
|
80
|
+
constructor(...[configuration]) {
|
|
81
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
82
|
+
super(_config_0);
|
|
83
|
+
this.initConfig = _config_0;
|
|
84
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
85
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
86
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
87
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
88
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
89
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
90
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
91
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
92
|
+
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
94
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
100
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultWorkspacesInstancesHttpAuthSchemeParametersProvider,
|
|
101
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
102
|
+
"aws.auth#sigv4": config.credentials,
|
|
103
|
+
}),
|
|
104
|
+
}));
|
|
105
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
106
|
+
}
|
|
107
|
+
destroy() {
|
|
108
|
+
super.destroy();
|
|
150
109
|
}
|
|
151
|
-
|
|
152
|
-
}, "getHttpAuthExtensionConfiguration");
|
|
153
|
-
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
154
|
-
return {
|
|
155
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
156
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
157
|
-
credentials: config.credentials()
|
|
158
|
-
};
|
|
159
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
110
|
+
}
|
|
160
111
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
168
|
-
);
|
|
169
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
170
|
-
return Object.assign(
|
|
171
|
-
runtimeConfig,
|
|
172
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
173
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
174
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
175
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
176
|
-
);
|
|
177
|
-
}, "resolveRuntimeExtensions");
|
|
112
|
+
class WorkspacesInstancesServiceException extends smithyClient.ServiceException {
|
|
113
|
+
constructor(options) {
|
|
114
|
+
super(options);
|
|
115
|
+
Object.setPrototypeOf(this, WorkspacesInstancesServiceException.prototype);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
178
118
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
197
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
198
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
199
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
200
|
-
this.config = _config_8;
|
|
201
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
202
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
203
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
204
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
205
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
206
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
207
|
-
this.middlewareStack.use(
|
|
208
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
209
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultWorkspacesInstancesHttpAuthSchemeParametersProvider,
|
|
210
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
211
|
-
"aws.auth#sigv4": config.credentials
|
|
212
|
-
}), "identityProviderConfigProvider")
|
|
213
|
-
})
|
|
214
|
-
);
|
|
215
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
219
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
220
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
221
|
-
*/
|
|
222
|
-
destroy() {
|
|
223
|
-
super.destroy();
|
|
224
|
-
}
|
|
119
|
+
class AccessDeniedException extends WorkspacesInstancesServiceException {
|
|
120
|
+
name = "AccessDeniedException";
|
|
121
|
+
$fault = "client";
|
|
122
|
+
Message;
|
|
123
|
+
constructor(opts) {
|
|
124
|
+
super({
|
|
125
|
+
name: "AccessDeniedException",
|
|
126
|
+
$fault: "client",
|
|
127
|
+
...opts,
|
|
128
|
+
});
|
|
129
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
|
+
this.Message = opts.Message;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
const AmdSevSnpEnum = {
|
|
134
|
+
DISABLED: "disabled",
|
|
135
|
+
ENABLED: "enabled",
|
|
225
136
|
};
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
137
|
+
class ConflictException extends WorkspacesInstancesServiceException {
|
|
138
|
+
name = "ConflictException";
|
|
139
|
+
$fault = "client";
|
|
140
|
+
Message;
|
|
141
|
+
ResourceId;
|
|
142
|
+
ResourceType;
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "ConflictException",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
150
|
+
this.Message = opts.Message;
|
|
151
|
+
this.ResourceId = opts.ResourceId;
|
|
152
|
+
this.ResourceType = opts.ResourceType;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
class InternalServerException extends WorkspacesInstancesServiceException {
|
|
156
|
+
name = "InternalServerException";
|
|
157
|
+
$fault = "server";
|
|
158
|
+
$retryable = {};
|
|
159
|
+
Message;
|
|
160
|
+
RetryAfterSeconds;
|
|
161
|
+
constructor(opts) {
|
|
162
|
+
super({
|
|
163
|
+
name: "InternalServerException",
|
|
164
|
+
$fault: "server",
|
|
165
|
+
...opts,
|
|
166
|
+
});
|
|
167
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
168
|
+
this.Message = opts.Message;
|
|
169
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
class ResourceNotFoundException extends WorkspacesInstancesServiceException {
|
|
173
|
+
name = "ResourceNotFoundException";
|
|
174
|
+
$fault = "client";
|
|
175
|
+
Message;
|
|
176
|
+
ResourceId;
|
|
177
|
+
ResourceType;
|
|
178
|
+
constructor(opts) {
|
|
179
|
+
super({
|
|
180
|
+
name: "ResourceNotFoundException",
|
|
181
|
+
$fault: "client",
|
|
182
|
+
...opts,
|
|
183
|
+
});
|
|
184
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
185
|
+
this.Message = opts.Message;
|
|
186
|
+
this.ResourceId = opts.ResourceId;
|
|
187
|
+
this.ResourceType = opts.ResourceType;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
class ThrottlingException extends WorkspacesInstancesServiceException {
|
|
191
|
+
name = "ThrottlingException";
|
|
192
|
+
$fault = "client";
|
|
193
|
+
$retryable = {
|
|
194
|
+
throttling: true,
|
|
195
|
+
};
|
|
196
|
+
Message;
|
|
197
|
+
ServiceCode;
|
|
198
|
+
QuotaCode;
|
|
199
|
+
RetryAfterSeconds;
|
|
200
|
+
constructor(opts) {
|
|
201
|
+
super({
|
|
202
|
+
name: "ThrottlingException",
|
|
203
|
+
$fault: "client",
|
|
204
|
+
...opts,
|
|
205
|
+
});
|
|
206
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
207
|
+
this.Message = opts.Message;
|
|
208
|
+
this.ServiceCode = opts.ServiceCode;
|
|
209
|
+
this.QuotaCode = opts.QuotaCode;
|
|
210
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
const ValidationExceptionReason = {
|
|
214
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
215
|
+
DEPENDENCY_FAILURE: "DEPENDENCY_FAILURE",
|
|
216
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
217
|
+
OTHER: "OTHER",
|
|
218
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
219
|
+
UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION",
|
|
220
|
+
};
|
|
221
|
+
class ValidationException extends WorkspacesInstancesServiceException {
|
|
222
|
+
name = "ValidationException";
|
|
223
|
+
$fault = "client";
|
|
224
|
+
Message;
|
|
225
|
+
Reason;
|
|
226
|
+
FieldList;
|
|
227
|
+
constructor(opts) {
|
|
228
|
+
super({
|
|
229
|
+
name: "ValidationException",
|
|
230
|
+
$fault: "client",
|
|
231
|
+
...opts,
|
|
232
|
+
});
|
|
233
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
234
|
+
this.Message = opts.Message;
|
|
235
|
+
this.Reason = opts.Reason;
|
|
236
|
+
this.FieldList = opts.FieldList;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
const AutoRecoveryEnum = {
|
|
240
|
+
DEFAULT: "default",
|
|
241
|
+
DISABLED: "disabled",
|
|
242
|
+
};
|
|
243
|
+
const BandwidthWeightingEnum = {
|
|
244
|
+
DEFAULT: "default",
|
|
245
|
+
EBS_1: "ebs-1",
|
|
246
|
+
VPC_1: "vpc-1",
|
|
247
|
+
};
|
|
248
|
+
const VolumeTypeEnum = {
|
|
249
|
+
GP2: "gp2",
|
|
250
|
+
GP3: "gp3",
|
|
251
|
+
IO1: "io1",
|
|
252
|
+
IO2: "io2",
|
|
253
|
+
SC1: "sc1",
|
|
254
|
+
ST1: "st1",
|
|
255
|
+
STANDARD: "standard",
|
|
256
|
+
};
|
|
257
|
+
const CapacityReservationPreferenceEnum = {
|
|
258
|
+
CAPACITY_RESERVATIONS_ONLY: "capacity-reservations-only",
|
|
259
|
+
NONE: "none",
|
|
260
|
+
OPEN: "open",
|
|
261
|
+
};
|
|
262
|
+
const CpuCreditsEnum = {
|
|
263
|
+
STANDARD: "standard",
|
|
264
|
+
UNLIMITED: "unlimited",
|
|
265
|
+
};
|
|
266
|
+
const ResourceTypeEnum = {
|
|
267
|
+
INSTANCE: "instance",
|
|
268
|
+
NETWORK_INTERFACE: "network-interface",
|
|
269
|
+
SPOT_INSTANCES_REQUEST: "spot-instances-request",
|
|
270
|
+
VOLUME: "volume",
|
|
271
|
+
};
|
|
272
|
+
class ServiceQuotaExceededException extends WorkspacesInstancesServiceException {
|
|
273
|
+
name = "ServiceQuotaExceededException";
|
|
274
|
+
$fault = "client";
|
|
275
|
+
Message;
|
|
276
|
+
ResourceId;
|
|
277
|
+
ResourceType;
|
|
278
|
+
ServiceCode;
|
|
279
|
+
QuotaCode;
|
|
280
|
+
constructor(opts) {
|
|
281
|
+
super({
|
|
282
|
+
name: "ServiceQuotaExceededException",
|
|
283
|
+
$fault: "client",
|
|
284
|
+
...opts,
|
|
285
|
+
});
|
|
286
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
287
|
+
this.Message = opts.Message;
|
|
288
|
+
this.ResourceId = opts.ResourceId;
|
|
289
|
+
this.ResourceType = opts.ResourceType;
|
|
290
|
+
this.ServiceCode = opts.ServiceCode;
|
|
291
|
+
this.QuotaCode = opts.QuotaCode;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
const MarketTypeEnum = {
|
|
295
|
+
CAPACITY_BLOCK: "capacity-block",
|
|
296
|
+
SPOT: "spot",
|
|
297
|
+
};
|
|
298
|
+
const InstanceInterruptionBehaviorEnum = {
|
|
299
|
+
HIBERNATE: "hibernate",
|
|
300
|
+
STOP: "stop",
|
|
257
301
|
};
|
|
302
|
+
const SpotInstanceTypeEnum = {
|
|
303
|
+
ONE_TIME: "one-time",
|
|
304
|
+
PERSISTENT: "persistent",
|
|
305
|
+
};
|
|
306
|
+
const HttpEndpointEnum = {
|
|
307
|
+
DISABLED: "disabled",
|
|
308
|
+
ENABLED: "enabled",
|
|
309
|
+
};
|
|
310
|
+
const HttpProtocolIpv6Enum = {
|
|
311
|
+
DISABLED: "disabled",
|
|
312
|
+
ENABLED: "enabled",
|
|
313
|
+
};
|
|
314
|
+
const HttpTokensEnum = {
|
|
315
|
+
OPTIONAL: "optional",
|
|
316
|
+
REQUIRED: "required",
|
|
317
|
+
};
|
|
318
|
+
const InstanceMetadataTagsEnum = {
|
|
319
|
+
DISABLED: "disabled",
|
|
320
|
+
ENABLED: "enabled",
|
|
321
|
+
};
|
|
322
|
+
const InterfaceTypeEnum = {
|
|
323
|
+
EFA: "efa",
|
|
324
|
+
EFA_ONLY: "efa-only",
|
|
325
|
+
INTERFACE: "interface",
|
|
326
|
+
};
|
|
327
|
+
const TenancyEnum = {
|
|
328
|
+
DEDICATED: "dedicated",
|
|
329
|
+
DEFAULT: "default",
|
|
330
|
+
HOST: "host",
|
|
331
|
+
};
|
|
332
|
+
const HostnameTypeEnum = {
|
|
333
|
+
IP_NAME: "ip-name",
|
|
334
|
+
RESOURCE_NAME: "resource-name",
|
|
335
|
+
};
|
|
336
|
+
const DisassociateModeEnum = {
|
|
337
|
+
FORCE: "FORCE",
|
|
338
|
+
NO_FORCE: "NO_FORCE",
|
|
339
|
+
};
|
|
340
|
+
const ProvisionStateEnum = {
|
|
341
|
+
ALLOCATED: "ALLOCATED",
|
|
342
|
+
ALLOCATING: "ALLOCATING",
|
|
343
|
+
DEALLOCATED: "DEALLOCATED",
|
|
344
|
+
DEALLOCATING: "DEALLOCATING",
|
|
345
|
+
ERROR_ALLOCATING: "ERROR_ALLOCATING",
|
|
346
|
+
ERROR_DEALLOCATING: "ERROR_DEALLOCATING",
|
|
347
|
+
};
|
|
348
|
+
const EbsBlockDeviceFilterSensitiveLog = (obj) => ({
|
|
349
|
+
...obj,
|
|
350
|
+
...(obj.KmsKeyId && { KmsKeyId: smithyClient.SENSITIVE_STRING }),
|
|
351
|
+
});
|
|
352
|
+
const BlockDeviceMappingRequestFilterSensitiveLog = (obj) => ({
|
|
353
|
+
...obj,
|
|
354
|
+
...(obj.Ebs && { Ebs: EbsBlockDeviceFilterSensitiveLog(obj.Ebs) }),
|
|
355
|
+
});
|
|
356
|
+
const CreateVolumeRequestFilterSensitiveLog = (obj) => ({
|
|
357
|
+
...obj,
|
|
358
|
+
...(obj.ClientToken && { ClientToken: smithyClient.SENSITIVE_STRING }),
|
|
359
|
+
...(obj.KmsKeyId && { KmsKeyId: smithyClient.SENSITIVE_STRING }),
|
|
360
|
+
});
|
|
361
|
+
const InstanceIpv6AddressFilterSensitiveLog = (obj) => ({
|
|
362
|
+
...obj,
|
|
363
|
+
...(obj.Ipv6Address && { Ipv6Address: smithyClient.SENSITIVE_STRING }),
|
|
364
|
+
});
|
|
365
|
+
const PrivateIpAddressSpecificationFilterSensitiveLog = (obj) => ({
|
|
366
|
+
...obj,
|
|
367
|
+
...(obj.PrivateIpAddress && { PrivateIpAddress: smithyClient.SENSITIVE_STRING }),
|
|
368
|
+
});
|
|
369
|
+
const InstanceNetworkInterfaceSpecificationFilterSensitiveLog = (obj) => ({
|
|
370
|
+
...obj,
|
|
371
|
+
...(obj.Ipv6Addresses && {
|
|
372
|
+
Ipv6Addresses: obj.Ipv6Addresses.map((item) => InstanceIpv6AddressFilterSensitiveLog(item)),
|
|
373
|
+
}),
|
|
374
|
+
...(obj.PrivateIpAddress && { PrivateIpAddress: smithyClient.SENSITIVE_STRING }),
|
|
375
|
+
...(obj.PrivateIpAddresses && {
|
|
376
|
+
PrivateIpAddresses: obj.PrivateIpAddresses.map((item) => PrivateIpAddressSpecificationFilterSensitiveLog(item)),
|
|
377
|
+
}),
|
|
378
|
+
});
|
|
379
|
+
const ManagedInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
380
|
+
...obj,
|
|
381
|
+
...(obj.BlockDeviceMappings && {
|
|
382
|
+
BlockDeviceMappings: obj.BlockDeviceMappings.map((item) => BlockDeviceMappingRequestFilterSensitiveLog(item)),
|
|
383
|
+
}),
|
|
384
|
+
...(obj.Ipv6Addresses && {
|
|
385
|
+
Ipv6Addresses: obj.Ipv6Addresses.map((item) => InstanceIpv6AddressFilterSensitiveLog(item)),
|
|
386
|
+
}),
|
|
387
|
+
...(obj.NetworkInterfaces && {
|
|
388
|
+
NetworkInterfaces: obj.NetworkInterfaces.map((item) => InstanceNetworkInterfaceSpecificationFilterSensitiveLog(item)),
|
|
389
|
+
}),
|
|
390
|
+
...(obj.PrivateIpAddress && { PrivateIpAddress: smithyClient.SENSITIVE_STRING }),
|
|
391
|
+
...(obj.UserData && { UserData: smithyClient.SENSITIVE_STRING }),
|
|
392
|
+
});
|
|
393
|
+
const CreateWorkspaceInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
394
|
+
...obj,
|
|
395
|
+
...(obj.ClientToken && { ClientToken: smithyClient.SENSITIVE_STRING }),
|
|
396
|
+
...(obj.ManagedInstance && { ManagedInstance: ManagedInstanceRequestFilterSensitiveLog(obj.ManagedInstance) }),
|
|
397
|
+
});
|
|
398
|
+
const ListInstanceTypesRequestFilterSensitiveLog = (obj) => ({
|
|
399
|
+
...obj,
|
|
400
|
+
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
401
|
+
});
|
|
402
|
+
const ListInstanceTypesResponseFilterSensitiveLog = (obj) => ({
|
|
403
|
+
...obj,
|
|
404
|
+
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
405
|
+
});
|
|
406
|
+
const ListRegionsRequestFilterSensitiveLog = (obj) => ({
|
|
407
|
+
...obj,
|
|
408
|
+
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
409
|
+
});
|
|
410
|
+
const ListRegionsResponseFilterSensitiveLog = (obj) => ({
|
|
411
|
+
...obj,
|
|
412
|
+
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
413
|
+
});
|
|
414
|
+
const ListWorkspaceInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
415
|
+
...obj,
|
|
416
|
+
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
417
|
+
});
|
|
418
|
+
const ListWorkspaceInstancesResponseFilterSensitiveLog = (obj) => ({
|
|
419
|
+
...obj,
|
|
420
|
+
...(obj.NextToken && { NextToken: smithyClient.SENSITIVE_STRING }),
|
|
421
|
+
});
|
|
258
422
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
423
|
+
const se_AssociateVolumeCommand = async (input, context) => {
|
|
424
|
+
const headers = sharedHeaders("AssociateVolume");
|
|
425
|
+
let body;
|
|
426
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
427
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
428
|
+
};
|
|
429
|
+
const se_CreateVolumeCommand = async (input, context) => {
|
|
430
|
+
const headers = sharedHeaders("CreateVolume");
|
|
431
|
+
let body;
|
|
432
|
+
body = JSON.stringify(se_CreateVolumeRequest(input));
|
|
433
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
434
|
+
};
|
|
435
|
+
const se_CreateWorkspaceInstanceCommand = async (input, context) => {
|
|
436
|
+
const headers = sharedHeaders("CreateWorkspaceInstance");
|
|
437
|
+
let body;
|
|
438
|
+
body = JSON.stringify(se_CreateWorkspaceInstanceRequest(input));
|
|
439
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
440
|
+
};
|
|
441
|
+
const se_DeleteVolumeCommand = async (input, context) => {
|
|
442
|
+
const headers = sharedHeaders("DeleteVolume");
|
|
443
|
+
let body;
|
|
444
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
445
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
446
|
+
};
|
|
447
|
+
const se_DeleteWorkspaceInstanceCommand = async (input, context) => {
|
|
448
|
+
const headers = sharedHeaders("DeleteWorkspaceInstance");
|
|
449
|
+
let body;
|
|
450
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
451
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
452
|
+
};
|
|
453
|
+
const se_DisassociateVolumeCommand = async (input, context) => {
|
|
454
|
+
const headers = sharedHeaders("DisassociateVolume");
|
|
455
|
+
let body;
|
|
456
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
457
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
458
|
+
};
|
|
459
|
+
const se_GetWorkspaceInstanceCommand = async (input, context) => {
|
|
460
|
+
const headers = sharedHeaders("GetWorkspaceInstance");
|
|
461
|
+
let body;
|
|
462
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
463
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
464
|
+
};
|
|
465
|
+
const se_ListInstanceTypesCommand = async (input, context) => {
|
|
466
|
+
const headers = sharedHeaders("ListInstanceTypes");
|
|
467
|
+
let body;
|
|
468
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
469
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
470
|
+
};
|
|
471
|
+
const se_ListRegionsCommand = async (input, context) => {
|
|
472
|
+
const headers = sharedHeaders("ListRegions");
|
|
473
|
+
let body;
|
|
474
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
475
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
476
|
+
};
|
|
477
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
478
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
479
|
+
let body;
|
|
480
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
481
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
482
|
+
};
|
|
483
|
+
const se_ListWorkspaceInstancesCommand = async (input, context) => {
|
|
484
|
+
const headers = sharedHeaders("ListWorkspaceInstances");
|
|
485
|
+
let body;
|
|
486
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
487
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
488
|
+
};
|
|
489
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
490
|
+
const headers = sharedHeaders("TagResource");
|
|
491
|
+
let body;
|
|
492
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
493
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
494
|
+
};
|
|
495
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
496
|
+
const headers = sharedHeaders("UntagResource");
|
|
497
|
+
let body;
|
|
498
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
499
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
500
|
+
};
|
|
501
|
+
const de_AssociateVolumeCommand = async (output, context) => {
|
|
502
|
+
if (output.statusCode >= 300) {
|
|
503
|
+
return de_CommandError(output, context);
|
|
504
|
+
}
|
|
505
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
506
|
+
let contents = {};
|
|
507
|
+
contents = smithyClient._json(data);
|
|
508
|
+
const response = {
|
|
509
|
+
$metadata: deserializeMetadata(output),
|
|
510
|
+
...contents,
|
|
511
|
+
};
|
|
512
|
+
return response;
|
|
513
|
+
};
|
|
514
|
+
const de_CreateVolumeCommand = async (output, context) => {
|
|
515
|
+
if (output.statusCode >= 300) {
|
|
516
|
+
return de_CommandError(output, context);
|
|
517
|
+
}
|
|
518
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
519
|
+
let contents = {};
|
|
520
|
+
contents = smithyClient._json(data);
|
|
521
|
+
const response = {
|
|
522
|
+
$metadata: deserializeMetadata(output),
|
|
523
|
+
...contents,
|
|
524
|
+
};
|
|
525
|
+
return response;
|
|
526
|
+
};
|
|
527
|
+
const de_CreateWorkspaceInstanceCommand = async (output, context) => {
|
|
528
|
+
if (output.statusCode >= 300) {
|
|
529
|
+
return de_CommandError(output, context);
|
|
530
|
+
}
|
|
531
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
532
|
+
let contents = {};
|
|
533
|
+
contents = smithyClient._json(data);
|
|
534
|
+
const response = {
|
|
535
|
+
$metadata: deserializeMetadata(output),
|
|
536
|
+
...contents,
|
|
537
|
+
};
|
|
538
|
+
return response;
|
|
539
|
+
};
|
|
540
|
+
const de_DeleteVolumeCommand = async (output, context) => {
|
|
541
|
+
if (output.statusCode >= 300) {
|
|
542
|
+
return de_CommandError(output, context);
|
|
543
|
+
}
|
|
544
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
545
|
+
let contents = {};
|
|
546
|
+
contents = smithyClient._json(data);
|
|
547
|
+
const response = {
|
|
548
|
+
$metadata: deserializeMetadata(output),
|
|
549
|
+
...contents,
|
|
550
|
+
};
|
|
551
|
+
return response;
|
|
552
|
+
};
|
|
553
|
+
const de_DeleteWorkspaceInstanceCommand = async (output, context) => {
|
|
554
|
+
if (output.statusCode >= 300) {
|
|
555
|
+
return de_CommandError(output, context);
|
|
556
|
+
}
|
|
557
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
558
|
+
let contents = {};
|
|
559
|
+
contents = smithyClient._json(data);
|
|
560
|
+
const response = {
|
|
561
|
+
$metadata: deserializeMetadata(output),
|
|
562
|
+
...contents,
|
|
563
|
+
};
|
|
564
|
+
return response;
|
|
565
|
+
};
|
|
566
|
+
const de_DisassociateVolumeCommand = async (output, context) => {
|
|
567
|
+
if (output.statusCode >= 300) {
|
|
568
|
+
return de_CommandError(output, context);
|
|
569
|
+
}
|
|
570
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
571
|
+
let contents = {};
|
|
572
|
+
contents = smithyClient._json(data);
|
|
573
|
+
const response = {
|
|
574
|
+
$metadata: deserializeMetadata(output),
|
|
575
|
+
...contents,
|
|
576
|
+
};
|
|
577
|
+
return response;
|
|
578
|
+
};
|
|
579
|
+
const de_GetWorkspaceInstanceCommand = async (output, context) => {
|
|
580
|
+
if (output.statusCode >= 300) {
|
|
581
|
+
return de_CommandError(output, context);
|
|
582
|
+
}
|
|
583
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
584
|
+
let contents = {};
|
|
585
|
+
contents = smithyClient._json(data);
|
|
586
|
+
const response = {
|
|
587
|
+
$metadata: deserializeMetadata(output),
|
|
588
|
+
...contents,
|
|
589
|
+
};
|
|
590
|
+
return response;
|
|
591
|
+
};
|
|
592
|
+
const de_ListInstanceTypesCommand = async (output, context) => {
|
|
593
|
+
if (output.statusCode >= 300) {
|
|
594
|
+
return de_CommandError(output, context);
|
|
595
|
+
}
|
|
596
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
597
|
+
let contents = {};
|
|
598
|
+
contents = smithyClient._json(data);
|
|
599
|
+
const response = {
|
|
600
|
+
$metadata: deserializeMetadata(output),
|
|
601
|
+
...contents,
|
|
602
|
+
};
|
|
603
|
+
return response;
|
|
604
|
+
};
|
|
605
|
+
const de_ListRegionsCommand = async (output, context) => {
|
|
606
|
+
if (output.statusCode >= 300) {
|
|
607
|
+
return de_CommandError(output, context);
|
|
608
|
+
}
|
|
609
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
610
|
+
let contents = {};
|
|
611
|
+
contents = smithyClient._json(data);
|
|
612
|
+
const response = {
|
|
613
|
+
$metadata: deserializeMetadata(output),
|
|
614
|
+
...contents,
|
|
615
|
+
};
|
|
616
|
+
return response;
|
|
617
|
+
};
|
|
618
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
619
|
+
if (output.statusCode >= 300) {
|
|
620
|
+
return de_CommandError(output, context);
|
|
621
|
+
}
|
|
622
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
623
|
+
let contents = {};
|
|
624
|
+
contents = smithyClient._json(data);
|
|
625
|
+
const response = {
|
|
626
|
+
$metadata: deserializeMetadata(output),
|
|
627
|
+
...contents,
|
|
628
|
+
};
|
|
629
|
+
return response;
|
|
630
|
+
};
|
|
631
|
+
const de_ListWorkspaceInstancesCommand = async (output, context) => {
|
|
632
|
+
if (output.statusCode >= 300) {
|
|
633
|
+
return de_CommandError(output, context);
|
|
634
|
+
}
|
|
635
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
636
|
+
let contents = {};
|
|
637
|
+
contents = smithyClient._json(data);
|
|
638
|
+
const response = {
|
|
639
|
+
$metadata: deserializeMetadata(output),
|
|
640
|
+
...contents,
|
|
641
|
+
};
|
|
642
|
+
return response;
|
|
643
|
+
};
|
|
644
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
645
|
+
if (output.statusCode >= 300) {
|
|
646
|
+
return de_CommandError(output, context);
|
|
647
|
+
}
|
|
648
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
649
|
+
let contents = {};
|
|
650
|
+
contents = smithyClient._json(data);
|
|
651
|
+
const response = {
|
|
652
|
+
$metadata: deserializeMetadata(output),
|
|
653
|
+
...contents,
|
|
654
|
+
};
|
|
655
|
+
return response;
|
|
656
|
+
};
|
|
657
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
658
|
+
if (output.statusCode >= 300) {
|
|
659
|
+
return de_CommandError(output, context);
|
|
660
|
+
}
|
|
661
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
662
|
+
let contents = {};
|
|
663
|
+
contents = smithyClient._json(data);
|
|
664
|
+
const response = {
|
|
665
|
+
$metadata: deserializeMetadata(output),
|
|
666
|
+
...contents,
|
|
667
|
+
};
|
|
668
|
+
return response;
|
|
669
|
+
};
|
|
670
|
+
const de_CommandError = async (output, context) => {
|
|
671
|
+
const parsedOutput = {
|
|
672
|
+
...output,
|
|
673
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
674
|
+
};
|
|
675
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
676
|
+
switch (errorCode) {
|
|
677
|
+
case "AccessDeniedException":
|
|
678
|
+
case "com.amazonaws.workspacesinstances#AccessDeniedException":
|
|
679
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
680
|
+
case "ConflictException":
|
|
681
|
+
case "com.amazonaws.workspacesinstances#ConflictException":
|
|
682
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
683
|
+
case "InternalServerException":
|
|
684
|
+
case "com.amazonaws.workspacesinstances#InternalServerException":
|
|
685
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
686
|
+
case "ResourceNotFoundException":
|
|
687
|
+
case "com.amazonaws.workspacesinstances#ResourceNotFoundException":
|
|
688
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
689
|
+
case "ThrottlingException":
|
|
690
|
+
case "com.amazonaws.workspacesinstances#ThrottlingException":
|
|
691
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
692
|
+
case "ValidationException":
|
|
693
|
+
case "com.amazonaws.workspacesinstances#ValidationException":
|
|
694
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
695
|
+
case "ServiceQuotaExceededException":
|
|
696
|
+
case "com.amazonaws.workspacesinstances#ServiceQuotaExceededException":
|
|
697
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
698
|
+
default:
|
|
699
|
+
const parsedBody = parsedOutput.body;
|
|
700
|
+
return throwDefaultError({
|
|
701
|
+
output,
|
|
702
|
+
parsedBody,
|
|
703
|
+
errorCode,
|
|
704
|
+
});
|
|
705
|
+
}
|
|
706
|
+
};
|
|
707
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
708
|
+
const body = parsedOutput.body;
|
|
709
|
+
const deserialized = smithyClient._json(body);
|
|
710
|
+
const exception = new AccessDeniedException({
|
|
711
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
712
|
+
...deserialized,
|
|
349
713
|
});
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
}
|
|
359
|
-
name = "ResourceNotFoundException";
|
|
360
|
-
$fault = "client";
|
|
361
|
-
/**
|
|
362
|
-
* <p>Details about the missing resource.</p>
|
|
363
|
-
* @public
|
|
364
|
-
*/
|
|
365
|
-
Message;
|
|
366
|
-
/**
|
|
367
|
-
* <p>Identifier of the resource that was not found.</p>
|
|
368
|
-
* @public
|
|
369
|
-
*/
|
|
370
|
-
ResourceId;
|
|
371
|
-
/**
|
|
372
|
-
* <p>Type of the resource that was not found.</p>
|
|
373
|
-
* @public
|
|
374
|
-
*/
|
|
375
|
-
ResourceType;
|
|
376
|
-
/**
|
|
377
|
-
* @internal
|
|
378
|
-
*/
|
|
379
|
-
constructor(opts) {
|
|
380
|
-
super({
|
|
381
|
-
name: "ResourceNotFoundException",
|
|
382
|
-
$fault: "client",
|
|
383
|
-
...opts
|
|
714
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
715
|
+
};
|
|
716
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
717
|
+
const body = parsedOutput.body;
|
|
718
|
+
const deserialized = smithyClient._json(body);
|
|
719
|
+
const exception = new ConflictException({
|
|
720
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
721
|
+
...deserialized,
|
|
384
722
|
});
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
__name(this, "ThrottlingException");
|
|
394
|
-
}
|
|
395
|
-
name = "ThrottlingException";
|
|
396
|
-
$fault = "client";
|
|
397
|
-
$retryable = {
|
|
398
|
-
throttling: true
|
|
399
|
-
};
|
|
400
|
-
/**
|
|
401
|
-
* <p>Description of the throttling event.</p>
|
|
402
|
-
* @public
|
|
403
|
-
*/
|
|
404
|
-
Message;
|
|
405
|
-
/**
|
|
406
|
-
* <p>Code identifying the service experiencing throttling.</p>
|
|
407
|
-
* @public
|
|
408
|
-
*/
|
|
409
|
-
ServiceCode;
|
|
410
|
-
/**
|
|
411
|
-
* <p>Specific code for the throttling quota.</p>
|
|
412
|
-
* @public
|
|
413
|
-
*/
|
|
414
|
-
QuotaCode;
|
|
415
|
-
/**
|
|
416
|
-
* <p>Recommended wait time before retrying the request.</p>
|
|
417
|
-
* @public
|
|
418
|
-
*/
|
|
419
|
-
RetryAfterSeconds;
|
|
420
|
-
/**
|
|
421
|
-
* @internal
|
|
422
|
-
*/
|
|
423
|
-
constructor(opts) {
|
|
424
|
-
super({
|
|
425
|
-
name: "ThrottlingException",
|
|
426
|
-
$fault: "client",
|
|
427
|
-
...opts
|
|
723
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
724
|
+
};
|
|
725
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
726
|
+
const body = parsedOutput.body;
|
|
727
|
+
const deserialized = smithyClient._json(body);
|
|
728
|
+
const exception = new InternalServerException({
|
|
729
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
730
|
+
...deserialized,
|
|
428
731
|
});
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
CANNOT_PARSE: "CANNOT_PARSE",
|
|
438
|
-
DEPENDENCY_FAILURE: "DEPENDENCY_FAILURE",
|
|
439
|
-
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
440
|
-
OTHER: "OTHER",
|
|
441
|
-
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
442
|
-
UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION"
|
|
443
|
-
};
|
|
444
|
-
var ValidationException = class _ValidationException extends WorkspacesInstancesServiceException {
|
|
445
|
-
static {
|
|
446
|
-
__name(this, "ValidationException");
|
|
447
|
-
}
|
|
448
|
-
name = "ValidationException";
|
|
449
|
-
$fault = "client";
|
|
450
|
-
/**
|
|
451
|
-
* <p>Overall description of validation failures.</p>
|
|
452
|
-
* @public
|
|
453
|
-
*/
|
|
454
|
-
Message;
|
|
455
|
-
/**
|
|
456
|
-
* <p>Specific reason for the validation failure.</p>
|
|
457
|
-
* @public
|
|
458
|
-
*/
|
|
459
|
-
Reason;
|
|
460
|
-
/**
|
|
461
|
-
* <p>List of fields that failed validation.</p>
|
|
462
|
-
* @public
|
|
463
|
-
*/
|
|
464
|
-
FieldList;
|
|
465
|
-
/**
|
|
466
|
-
* @internal
|
|
467
|
-
*/
|
|
468
|
-
constructor(opts) {
|
|
469
|
-
super({
|
|
470
|
-
name: "ValidationException",
|
|
471
|
-
$fault: "client",
|
|
472
|
-
...opts
|
|
732
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
733
|
+
};
|
|
734
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
735
|
+
const body = parsedOutput.body;
|
|
736
|
+
const deserialized = smithyClient._json(body);
|
|
737
|
+
const exception = new ResourceNotFoundException({
|
|
738
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
739
|
+
...deserialized,
|
|
473
740
|
});
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
DISABLED: "disabled"
|
|
483
|
-
};
|
|
484
|
-
var BandwidthWeightingEnum = {
|
|
485
|
-
DEFAULT: "default",
|
|
486
|
-
EBS_1: "ebs-1",
|
|
487
|
-
VPC_1: "vpc-1"
|
|
488
|
-
};
|
|
489
|
-
var VolumeTypeEnum = {
|
|
490
|
-
GP2: "gp2",
|
|
491
|
-
GP3: "gp3",
|
|
492
|
-
IO1: "io1",
|
|
493
|
-
IO2: "io2",
|
|
494
|
-
SC1: "sc1",
|
|
495
|
-
ST1: "st1",
|
|
496
|
-
STANDARD: "standard"
|
|
497
|
-
};
|
|
498
|
-
var CapacityReservationPreferenceEnum = {
|
|
499
|
-
CAPACITY_RESERVATIONS_ONLY: "capacity-reservations-only",
|
|
500
|
-
NONE: "none",
|
|
501
|
-
OPEN: "open"
|
|
502
|
-
};
|
|
503
|
-
var CpuCreditsEnum = {
|
|
504
|
-
STANDARD: "standard",
|
|
505
|
-
UNLIMITED: "unlimited"
|
|
506
|
-
};
|
|
507
|
-
var ResourceTypeEnum = {
|
|
508
|
-
INSTANCE: "instance",
|
|
509
|
-
NETWORK_INTERFACE: "network-interface",
|
|
510
|
-
SPOT_INSTANCES_REQUEST: "spot-instances-request",
|
|
511
|
-
VOLUME: "volume"
|
|
512
|
-
};
|
|
513
|
-
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends WorkspacesInstancesServiceException {
|
|
514
|
-
static {
|
|
515
|
-
__name(this, "ServiceQuotaExceededException");
|
|
516
|
-
}
|
|
517
|
-
name = "ServiceQuotaExceededException";
|
|
518
|
-
$fault = "client";
|
|
519
|
-
/**
|
|
520
|
-
* <p>Description of the quota limitation.</p>
|
|
521
|
-
* @public
|
|
522
|
-
*/
|
|
523
|
-
Message;
|
|
524
|
-
/**
|
|
525
|
-
* <p>Identifier of the resource related to the quota.</p>
|
|
526
|
-
* @public
|
|
527
|
-
*/
|
|
528
|
-
ResourceId;
|
|
529
|
-
/**
|
|
530
|
-
* <p>Type of resource related to the quota.</p>
|
|
531
|
-
* @public
|
|
532
|
-
*/
|
|
533
|
-
ResourceType;
|
|
534
|
-
/**
|
|
535
|
-
* <p>Code identifying the service with the quota limitation.</p>
|
|
536
|
-
* @public
|
|
537
|
-
*/
|
|
538
|
-
ServiceCode;
|
|
539
|
-
/**
|
|
540
|
-
* <p>Specific code for the exceeded quota.</p>
|
|
541
|
-
* @public
|
|
542
|
-
*/
|
|
543
|
-
QuotaCode;
|
|
544
|
-
/**
|
|
545
|
-
* @internal
|
|
546
|
-
*/
|
|
547
|
-
constructor(opts) {
|
|
548
|
-
super({
|
|
549
|
-
name: "ServiceQuotaExceededException",
|
|
550
|
-
$fault: "client",
|
|
551
|
-
...opts
|
|
741
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
742
|
+
};
|
|
743
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
744
|
+
const body = parsedOutput.body;
|
|
745
|
+
const deserialized = smithyClient._json(body);
|
|
746
|
+
const exception = new ServiceQuotaExceededException({
|
|
747
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
748
|
+
...deserialized,
|
|
552
749
|
});
|
|
553
|
-
|
|
554
|
-
this.Message = opts.Message;
|
|
555
|
-
this.ResourceId = opts.ResourceId;
|
|
556
|
-
this.ResourceType = opts.ResourceType;
|
|
557
|
-
this.ServiceCode = opts.ServiceCode;
|
|
558
|
-
this.QuotaCode = opts.QuotaCode;
|
|
559
|
-
}
|
|
560
|
-
};
|
|
561
|
-
var MarketTypeEnum = {
|
|
562
|
-
CAPACITY_BLOCK: "capacity-block",
|
|
563
|
-
SPOT: "spot"
|
|
564
|
-
};
|
|
565
|
-
var InstanceInterruptionBehaviorEnum = {
|
|
566
|
-
HIBERNATE: "hibernate",
|
|
567
|
-
STOP: "stop"
|
|
568
|
-
};
|
|
569
|
-
var SpotInstanceTypeEnum = {
|
|
570
|
-
ONE_TIME: "one-time",
|
|
571
|
-
PERSISTENT: "persistent"
|
|
572
|
-
};
|
|
573
|
-
var HttpEndpointEnum = {
|
|
574
|
-
DISABLED: "disabled",
|
|
575
|
-
ENABLED: "enabled"
|
|
576
|
-
};
|
|
577
|
-
var HttpProtocolIpv6Enum = {
|
|
578
|
-
DISABLED: "disabled",
|
|
579
|
-
ENABLED: "enabled"
|
|
580
|
-
};
|
|
581
|
-
var HttpTokensEnum = {
|
|
582
|
-
OPTIONAL: "optional",
|
|
583
|
-
REQUIRED: "required"
|
|
584
|
-
};
|
|
585
|
-
var InstanceMetadataTagsEnum = {
|
|
586
|
-
DISABLED: "disabled",
|
|
587
|
-
ENABLED: "enabled"
|
|
588
|
-
};
|
|
589
|
-
var InterfaceTypeEnum = {
|
|
590
|
-
EFA: "efa",
|
|
591
|
-
EFA_ONLY: "efa-only",
|
|
592
|
-
INTERFACE: "interface"
|
|
593
|
-
};
|
|
594
|
-
var TenancyEnum = {
|
|
595
|
-
DEDICATED: "dedicated",
|
|
596
|
-
DEFAULT: "default",
|
|
597
|
-
HOST: "host"
|
|
598
|
-
};
|
|
599
|
-
var HostnameTypeEnum = {
|
|
600
|
-
IP_NAME: "ip-name",
|
|
601
|
-
RESOURCE_NAME: "resource-name"
|
|
602
|
-
};
|
|
603
|
-
var DisassociateModeEnum = {
|
|
604
|
-
FORCE: "FORCE",
|
|
605
|
-
NO_FORCE: "NO_FORCE"
|
|
606
|
-
};
|
|
607
|
-
var ProvisionStateEnum = {
|
|
608
|
-
ALLOCATED: "ALLOCATED",
|
|
609
|
-
ALLOCATING: "ALLOCATING",
|
|
610
|
-
DEALLOCATED: "DEALLOCATED",
|
|
611
|
-
DEALLOCATING: "DEALLOCATING",
|
|
612
|
-
ERROR_ALLOCATING: "ERROR_ALLOCATING",
|
|
613
|
-
ERROR_DEALLOCATING: "ERROR_DEALLOCATING"
|
|
614
|
-
};
|
|
615
|
-
var EbsBlockDeviceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
616
|
-
...obj,
|
|
617
|
-
...obj.KmsKeyId && { KmsKeyId: import_smithy_client.SENSITIVE_STRING }
|
|
618
|
-
}), "EbsBlockDeviceFilterSensitiveLog");
|
|
619
|
-
var BlockDeviceMappingRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
620
|
-
...obj,
|
|
621
|
-
...obj.Ebs && { Ebs: EbsBlockDeviceFilterSensitiveLog(obj.Ebs) }
|
|
622
|
-
}), "BlockDeviceMappingRequestFilterSensitiveLog");
|
|
623
|
-
var CreateVolumeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
624
|
-
...obj,
|
|
625
|
-
...obj.ClientToken && { ClientToken: import_smithy_client.SENSITIVE_STRING },
|
|
626
|
-
...obj.KmsKeyId && { KmsKeyId: import_smithy_client.SENSITIVE_STRING }
|
|
627
|
-
}), "CreateVolumeRequestFilterSensitiveLog");
|
|
628
|
-
var InstanceIpv6AddressFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
629
|
-
...obj,
|
|
630
|
-
...obj.Ipv6Address && { Ipv6Address: import_smithy_client.SENSITIVE_STRING }
|
|
631
|
-
}), "InstanceIpv6AddressFilterSensitiveLog");
|
|
632
|
-
var PrivateIpAddressSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
633
|
-
...obj,
|
|
634
|
-
...obj.PrivateIpAddress && { PrivateIpAddress: import_smithy_client.SENSITIVE_STRING }
|
|
635
|
-
}), "PrivateIpAddressSpecificationFilterSensitiveLog");
|
|
636
|
-
var InstanceNetworkInterfaceSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
637
|
-
...obj,
|
|
638
|
-
...obj.Ipv6Addresses && {
|
|
639
|
-
Ipv6Addresses: obj.Ipv6Addresses.map((item) => InstanceIpv6AddressFilterSensitiveLog(item))
|
|
640
|
-
},
|
|
641
|
-
...obj.PrivateIpAddress && { PrivateIpAddress: import_smithy_client.SENSITIVE_STRING },
|
|
642
|
-
...obj.PrivateIpAddresses && {
|
|
643
|
-
PrivateIpAddresses: obj.PrivateIpAddresses.map((item) => PrivateIpAddressSpecificationFilterSensitiveLog(item))
|
|
644
|
-
}
|
|
645
|
-
}), "InstanceNetworkInterfaceSpecificationFilterSensitiveLog");
|
|
646
|
-
var ManagedInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
647
|
-
...obj,
|
|
648
|
-
...obj.BlockDeviceMappings && {
|
|
649
|
-
BlockDeviceMappings: obj.BlockDeviceMappings.map((item) => BlockDeviceMappingRequestFilterSensitiveLog(item))
|
|
650
|
-
},
|
|
651
|
-
...obj.Ipv6Addresses && {
|
|
652
|
-
Ipv6Addresses: obj.Ipv6Addresses.map((item) => InstanceIpv6AddressFilterSensitiveLog(item))
|
|
653
|
-
},
|
|
654
|
-
...obj.NetworkInterfaces && {
|
|
655
|
-
NetworkInterfaces: obj.NetworkInterfaces.map(
|
|
656
|
-
(item) => InstanceNetworkInterfaceSpecificationFilterSensitiveLog(item)
|
|
657
|
-
)
|
|
658
|
-
},
|
|
659
|
-
...obj.PrivateIpAddress && { PrivateIpAddress: import_smithy_client.SENSITIVE_STRING },
|
|
660
|
-
...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING }
|
|
661
|
-
}), "ManagedInstanceRequestFilterSensitiveLog");
|
|
662
|
-
var CreateWorkspaceInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
663
|
-
...obj,
|
|
664
|
-
...obj.ClientToken && { ClientToken: import_smithy_client.SENSITIVE_STRING },
|
|
665
|
-
...obj.ManagedInstance && { ManagedInstance: ManagedInstanceRequestFilterSensitiveLog(obj.ManagedInstance) }
|
|
666
|
-
}), "CreateWorkspaceInstanceRequestFilterSensitiveLog");
|
|
667
|
-
var ListInstanceTypesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
668
|
-
...obj,
|
|
669
|
-
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
670
|
-
}), "ListInstanceTypesRequestFilterSensitiveLog");
|
|
671
|
-
var ListInstanceTypesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
672
|
-
...obj,
|
|
673
|
-
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
674
|
-
}), "ListInstanceTypesResponseFilterSensitiveLog");
|
|
675
|
-
var ListRegionsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
676
|
-
...obj,
|
|
677
|
-
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
678
|
-
}), "ListRegionsRequestFilterSensitiveLog");
|
|
679
|
-
var ListRegionsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
680
|
-
...obj,
|
|
681
|
-
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
682
|
-
}), "ListRegionsResponseFilterSensitiveLog");
|
|
683
|
-
var ListWorkspaceInstancesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
684
|
-
...obj,
|
|
685
|
-
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
686
|
-
}), "ListWorkspaceInstancesRequestFilterSensitiveLog");
|
|
687
|
-
var ListWorkspaceInstancesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
688
|
-
...obj,
|
|
689
|
-
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
690
|
-
}), "ListWorkspaceInstancesResponseFilterSensitiveLog");
|
|
691
|
-
|
|
692
|
-
// src/protocols/Aws_json1_0.ts
|
|
693
|
-
var se_AssociateVolumeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
694
|
-
const headers = sharedHeaders("AssociateVolume");
|
|
695
|
-
let body;
|
|
696
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
697
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
698
|
-
}, "se_AssociateVolumeCommand");
|
|
699
|
-
var se_CreateVolumeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
700
|
-
const headers = sharedHeaders("CreateVolume");
|
|
701
|
-
let body;
|
|
702
|
-
body = JSON.stringify(se_CreateVolumeRequest(input, context));
|
|
703
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
704
|
-
}, "se_CreateVolumeCommand");
|
|
705
|
-
var se_CreateWorkspaceInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
706
|
-
const headers = sharedHeaders("CreateWorkspaceInstance");
|
|
707
|
-
let body;
|
|
708
|
-
body = JSON.stringify(se_CreateWorkspaceInstanceRequest(input, context));
|
|
709
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
710
|
-
}, "se_CreateWorkspaceInstanceCommand");
|
|
711
|
-
var se_DeleteVolumeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
712
|
-
const headers = sharedHeaders("DeleteVolume");
|
|
713
|
-
let body;
|
|
714
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
715
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
716
|
-
}, "se_DeleteVolumeCommand");
|
|
717
|
-
var se_DeleteWorkspaceInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
718
|
-
const headers = sharedHeaders("DeleteWorkspaceInstance");
|
|
719
|
-
let body;
|
|
720
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
721
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
722
|
-
}, "se_DeleteWorkspaceInstanceCommand");
|
|
723
|
-
var se_DisassociateVolumeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
724
|
-
const headers = sharedHeaders("DisassociateVolume");
|
|
725
|
-
let body;
|
|
726
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
727
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
728
|
-
}, "se_DisassociateVolumeCommand");
|
|
729
|
-
var se_GetWorkspaceInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
730
|
-
const headers = sharedHeaders("GetWorkspaceInstance");
|
|
731
|
-
let body;
|
|
732
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
733
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
734
|
-
}, "se_GetWorkspaceInstanceCommand");
|
|
735
|
-
var se_ListInstanceTypesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
736
|
-
const headers = sharedHeaders("ListInstanceTypes");
|
|
737
|
-
let body;
|
|
738
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
739
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
740
|
-
}, "se_ListInstanceTypesCommand");
|
|
741
|
-
var se_ListRegionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
742
|
-
const headers = sharedHeaders("ListRegions");
|
|
743
|
-
let body;
|
|
744
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
745
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
746
|
-
}, "se_ListRegionsCommand");
|
|
747
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
748
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
749
|
-
let body;
|
|
750
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
751
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
752
|
-
}, "se_ListTagsForResourceCommand");
|
|
753
|
-
var se_ListWorkspaceInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
754
|
-
const headers = sharedHeaders("ListWorkspaceInstances");
|
|
755
|
-
let body;
|
|
756
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
757
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
758
|
-
}, "se_ListWorkspaceInstancesCommand");
|
|
759
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
760
|
-
const headers = sharedHeaders("TagResource");
|
|
761
|
-
let body;
|
|
762
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
763
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
764
|
-
}, "se_TagResourceCommand");
|
|
765
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
766
|
-
const headers = sharedHeaders("UntagResource");
|
|
767
|
-
let body;
|
|
768
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
769
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
770
|
-
}, "se_UntagResourceCommand");
|
|
771
|
-
var de_AssociateVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
772
|
-
if (output.statusCode >= 300) {
|
|
773
|
-
return de_CommandError(output, context);
|
|
774
|
-
}
|
|
775
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
776
|
-
let contents = {};
|
|
777
|
-
contents = (0, import_smithy_client._json)(data);
|
|
778
|
-
const response = {
|
|
779
|
-
$metadata: deserializeMetadata(output),
|
|
780
|
-
...contents
|
|
781
|
-
};
|
|
782
|
-
return response;
|
|
783
|
-
}, "de_AssociateVolumeCommand");
|
|
784
|
-
var de_CreateVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
785
|
-
if (output.statusCode >= 300) {
|
|
786
|
-
return de_CommandError(output, context);
|
|
787
|
-
}
|
|
788
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
789
|
-
let contents = {};
|
|
790
|
-
contents = (0, import_smithy_client._json)(data);
|
|
791
|
-
const response = {
|
|
792
|
-
$metadata: deserializeMetadata(output),
|
|
793
|
-
...contents
|
|
794
|
-
};
|
|
795
|
-
return response;
|
|
796
|
-
}, "de_CreateVolumeCommand");
|
|
797
|
-
var de_CreateWorkspaceInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
798
|
-
if (output.statusCode >= 300) {
|
|
799
|
-
return de_CommandError(output, context);
|
|
800
|
-
}
|
|
801
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
802
|
-
let contents = {};
|
|
803
|
-
contents = (0, import_smithy_client._json)(data);
|
|
804
|
-
const response = {
|
|
805
|
-
$metadata: deserializeMetadata(output),
|
|
806
|
-
...contents
|
|
807
|
-
};
|
|
808
|
-
return response;
|
|
809
|
-
}, "de_CreateWorkspaceInstanceCommand");
|
|
810
|
-
var de_DeleteVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
811
|
-
if (output.statusCode >= 300) {
|
|
812
|
-
return de_CommandError(output, context);
|
|
813
|
-
}
|
|
814
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
815
|
-
let contents = {};
|
|
816
|
-
contents = (0, import_smithy_client._json)(data);
|
|
817
|
-
const response = {
|
|
818
|
-
$metadata: deserializeMetadata(output),
|
|
819
|
-
...contents
|
|
820
|
-
};
|
|
821
|
-
return response;
|
|
822
|
-
}, "de_DeleteVolumeCommand");
|
|
823
|
-
var de_DeleteWorkspaceInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
824
|
-
if (output.statusCode >= 300) {
|
|
825
|
-
return de_CommandError(output, context);
|
|
826
|
-
}
|
|
827
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
828
|
-
let contents = {};
|
|
829
|
-
contents = (0, import_smithy_client._json)(data);
|
|
830
|
-
const response = {
|
|
831
|
-
$metadata: deserializeMetadata(output),
|
|
832
|
-
...contents
|
|
833
|
-
};
|
|
834
|
-
return response;
|
|
835
|
-
}, "de_DeleteWorkspaceInstanceCommand");
|
|
836
|
-
var de_DisassociateVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
837
|
-
if (output.statusCode >= 300) {
|
|
838
|
-
return de_CommandError(output, context);
|
|
839
|
-
}
|
|
840
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
841
|
-
let contents = {};
|
|
842
|
-
contents = (0, import_smithy_client._json)(data);
|
|
843
|
-
const response = {
|
|
844
|
-
$metadata: deserializeMetadata(output),
|
|
845
|
-
...contents
|
|
846
|
-
};
|
|
847
|
-
return response;
|
|
848
|
-
}, "de_DisassociateVolumeCommand");
|
|
849
|
-
var de_GetWorkspaceInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
850
|
-
if (output.statusCode >= 300) {
|
|
851
|
-
return de_CommandError(output, context);
|
|
852
|
-
}
|
|
853
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
854
|
-
let contents = {};
|
|
855
|
-
contents = (0, import_smithy_client._json)(data);
|
|
856
|
-
const response = {
|
|
857
|
-
$metadata: deserializeMetadata(output),
|
|
858
|
-
...contents
|
|
859
|
-
};
|
|
860
|
-
return response;
|
|
861
|
-
}, "de_GetWorkspaceInstanceCommand");
|
|
862
|
-
var de_ListInstanceTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
863
|
-
if (output.statusCode >= 300) {
|
|
864
|
-
return de_CommandError(output, context);
|
|
865
|
-
}
|
|
866
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
867
|
-
let contents = {};
|
|
868
|
-
contents = (0, import_smithy_client._json)(data);
|
|
869
|
-
const response = {
|
|
870
|
-
$metadata: deserializeMetadata(output),
|
|
871
|
-
...contents
|
|
872
|
-
};
|
|
873
|
-
return response;
|
|
874
|
-
}, "de_ListInstanceTypesCommand");
|
|
875
|
-
var de_ListRegionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
876
|
-
if (output.statusCode >= 300) {
|
|
877
|
-
return de_CommandError(output, context);
|
|
878
|
-
}
|
|
879
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
880
|
-
let contents = {};
|
|
881
|
-
contents = (0, import_smithy_client._json)(data);
|
|
882
|
-
const response = {
|
|
883
|
-
$metadata: deserializeMetadata(output),
|
|
884
|
-
...contents
|
|
885
|
-
};
|
|
886
|
-
return response;
|
|
887
|
-
}, "de_ListRegionsCommand");
|
|
888
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
889
|
-
if (output.statusCode >= 300) {
|
|
890
|
-
return de_CommandError(output, context);
|
|
891
|
-
}
|
|
892
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
893
|
-
let contents = {};
|
|
894
|
-
contents = (0, import_smithy_client._json)(data);
|
|
895
|
-
const response = {
|
|
896
|
-
$metadata: deserializeMetadata(output),
|
|
897
|
-
...contents
|
|
898
|
-
};
|
|
899
|
-
return response;
|
|
900
|
-
}, "de_ListTagsForResourceCommand");
|
|
901
|
-
var de_ListWorkspaceInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
902
|
-
if (output.statusCode >= 300) {
|
|
903
|
-
return de_CommandError(output, context);
|
|
904
|
-
}
|
|
905
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
906
|
-
let contents = {};
|
|
907
|
-
contents = (0, import_smithy_client._json)(data);
|
|
908
|
-
const response = {
|
|
909
|
-
$metadata: deserializeMetadata(output),
|
|
910
|
-
...contents
|
|
911
|
-
};
|
|
912
|
-
return response;
|
|
913
|
-
}, "de_ListWorkspaceInstancesCommand");
|
|
914
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
915
|
-
if (output.statusCode >= 300) {
|
|
916
|
-
return de_CommandError(output, context);
|
|
917
|
-
}
|
|
918
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
919
|
-
let contents = {};
|
|
920
|
-
contents = (0, import_smithy_client._json)(data);
|
|
921
|
-
const response = {
|
|
922
|
-
$metadata: deserializeMetadata(output),
|
|
923
|
-
...contents
|
|
924
|
-
};
|
|
925
|
-
return response;
|
|
926
|
-
}, "de_TagResourceCommand");
|
|
927
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
928
|
-
if (output.statusCode >= 300) {
|
|
929
|
-
return de_CommandError(output, context);
|
|
930
|
-
}
|
|
931
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
932
|
-
let contents = {};
|
|
933
|
-
contents = (0, import_smithy_client._json)(data);
|
|
934
|
-
const response = {
|
|
935
|
-
$metadata: deserializeMetadata(output),
|
|
936
|
-
...contents
|
|
937
|
-
};
|
|
938
|
-
return response;
|
|
939
|
-
}, "de_UntagResourceCommand");
|
|
940
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
941
|
-
const parsedOutput = {
|
|
942
|
-
...output,
|
|
943
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
944
|
-
};
|
|
945
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
946
|
-
switch (errorCode) {
|
|
947
|
-
case "AccessDeniedException":
|
|
948
|
-
case "com.amazonaws.workspacesinstances#AccessDeniedException":
|
|
949
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
950
|
-
case "ConflictException":
|
|
951
|
-
case "com.amazonaws.workspacesinstances#ConflictException":
|
|
952
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
953
|
-
case "InternalServerException":
|
|
954
|
-
case "com.amazonaws.workspacesinstances#InternalServerException":
|
|
955
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
956
|
-
case "ResourceNotFoundException":
|
|
957
|
-
case "com.amazonaws.workspacesinstances#ResourceNotFoundException":
|
|
958
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
959
|
-
case "ThrottlingException":
|
|
960
|
-
case "com.amazonaws.workspacesinstances#ThrottlingException":
|
|
961
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
962
|
-
case "ValidationException":
|
|
963
|
-
case "com.amazonaws.workspacesinstances#ValidationException":
|
|
964
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
965
|
-
case "ServiceQuotaExceededException":
|
|
966
|
-
case "com.amazonaws.workspacesinstances#ServiceQuotaExceededException":
|
|
967
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
968
|
-
default:
|
|
969
|
-
const parsedBody = parsedOutput.body;
|
|
970
|
-
return throwDefaultError({
|
|
971
|
-
output,
|
|
972
|
-
parsedBody,
|
|
973
|
-
errorCode
|
|
974
|
-
});
|
|
975
|
-
}
|
|
976
|
-
}, "de_CommandError");
|
|
977
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
978
|
-
const body = parsedOutput.body;
|
|
979
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
980
|
-
const exception = new AccessDeniedException({
|
|
981
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
982
|
-
...deserialized
|
|
983
|
-
});
|
|
984
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
985
|
-
}, "de_AccessDeniedExceptionRes");
|
|
986
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
987
|
-
const body = parsedOutput.body;
|
|
988
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
989
|
-
const exception = new ConflictException({
|
|
990
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
991
|
-
...deserialized
|
|
992
|
-
});
|
|
993
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
994
|
-
}, "de_ConflictExceptionRes");
|
|
995
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
996
|
-
const body = parsedOutput.body;
|
|
997
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
998
|
-
const exception = new InternalServerException({
|
|
999
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1000
|
-
...deserialized
|
|
1001
|
-
});
|
|
1002
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1003
|
-
}, "de_InternalServerExceptionRes");
|
|
1004
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1005
|
-
const body = parsedOutput.body;
|
|
1006
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1007
|
-
const exception = new ResourceNotFoundException({
|
|
1008
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1009
|
-
...deserialized
|
|
1010
|
-
});
|
|
1011
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1012
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1013
|
-
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1014
|
-
const body = parsedOutput.body;
|
|
1015
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1016
|
-
const exception = new ServiceQuotaExceededException({
|
|
1017
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1018
|
-
...deserialized
|
|
1019
|
-
});
|
|
1020
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1021
|
-
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1022
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1023
|
-
const body = parsedOutput.body;
|
|
1024
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1025
|
-
const exception = new ThrottlingException({
|
|
1026
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1027
|
-
...deserialized
|
|
1028
|
-
});
|
|
1029
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1030
|
-
}, "de_ThrottlingExceptionRes");
|
|
1031
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1032
|
-
const body = parsedOutput.body;
|
|
1033
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1034
|
-
const exception = new ValidationException({
|
|
1035
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1036
|
-
...deserialized
|
|
1037
|
-
});
|
|
1038
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1039
|
-
}, "de_ValidationExceptionRes");
|
|
1040
|
-
var se_CreateVolumeRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1041
|
-
return (0, import_smithy_client.take)(input, {
|
|
1042
|
-
AvailabilityZone: [],
|
|
1043
|
-
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1044
|
-
Encrypted: [],
|
|
1045
|
-
Iops: [],
|
|
1046
|
-
KmsKeyId: [],
|
|
1047
|
-
SizeInGB: [],
|
|
1048
|
-
SnapshotId: [],
|
|
1049
|
-
TagSpecifications: import_smithy_client._json,
|
|
1050
|
-
Throughput: [],
|
|
1051
|
-
VolumeType: []
|
|
1052
|
-
});
|
|
1053
|
-
}, "se_CreateVolumeRequest");
|
|
1054
|
-
var se_CreateWorkspaceInstanceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1055
|
-
return (0, import_smithy_client.take)(input, {
|
|
1056
|
-
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1057
|
-
ManagedInstance: /* @__PURE__ */ __name((_) => se_ManagedInstanceRequest(_, context), "ManagedInstance"),
|
|
1058
|
-
Tags: import_smithy_client._json
|
|
1059
|
-
});
|
|
1060
|
-
}, "se_CreateWorkspaceInstanceRequest");
|
|
1061
|
-
var se_InstanceMarketOptionsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1062
|
-
return (0, import_smithy_client.take)(input, {
|
|
1063
|
-
MarketType: [],
|
|
1064
|
-
SpotOptions: /* @__PURE__ */ __name((_) => se_SpotMarketOptions(_, context), "SpotOptions")
|
|
1065
|
-
});
|
|
1066
|
-
}, "se_InstanceMarketOptionsRequest");
|
|
1067
|
-
var se_ManagedInstanceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1068
|
-
return (0, import_smithy_client.take)(input, {
|
|
1069
|
-
BlockDeviceMappings: import_smithy_client._json,
|
|
1070
|
-
CapacityReservationSpecification: import_smithy_client._json,
|
|
1071
|
-
CpuOptions: import_smithy_client._json,
|
|
1072
|
-
CreditSpecification: import_smithy_client._json,
|
|
1073
|
-
DisableApiStop: [],
|
|
1074
|
-
EbsOptimized: [],
|
|
1075
|
-
EnablePrimaryIpv6: [],
|
|
1076
|
-
EnclaveOptions: import_smithy_client._json,
|
|
1077
|
-
HibernationOptions: import_smithy_client._json,
|
|
1078
|
-
IamInstanceProfile: import_smithy_client._json,
|
|
1079
|
-
ImageId: [],
|
|
1080
|
-
InstanceMarketOptions: /* @__PURE__ */ __name((_) => se_InstanceMarketOptionsRequest(_, context), "InstanceMarketOptions"),
|
|
1081
|
-
InstanceType: [],
|
|
1082
|
-
Ipv6AddressCount: [],
|
|
1083
|
-
Ipv6Addresses: import_smithy_client._json,
|
|
1084
|
-
KernelId: [],
|
|
1085
|
-
KeyName: [],
|
|
1086
|
-
LicenseSpecifications: import_smithy_client._json,
|
|
1087
|
-
MaintenanceOptions: import_smithy_client._json,
|
|
1088
|
-
MetadataOptions: import_smithy_client._json,
|
|
1089
|
-
Monitoring: import_smithy_client._json,
|
|
1090
|
-
NetworkInterfaces: import_smithy_client._json,
|
|
1091
|
-
NetworkPerformanceOptions: import_smithy_client._json,
|
|
1092
|
-
Placement: import_smithy_client._json,
|
|
1093
|
-
PrivateDnsNameOptions: import_smithy_client._json,
|
|
1094
|
-
PrivateIpAddress: [],
|
|
1095
|
-
RamdiskId: [],
|
|
1096
|
-
SecurityGroupIds: import_smithy_client._json,
|
|
1097
|
-
SecurityGroups: import_smithy_client._json,
|
|
1098
|
-
SubnetId: [],
|
|
1099
|
-
TagSpecifications: import_smithy_client._json,
|
|
1100
|
-
UserData: []
|
|
1101
|
-
});
|
|
1102
|
-
}, "se_ManagedInstanceRequest");
|
|
1103
|
-
var se_SpotMarketOptions = /* @__PURE__ */ __name((input, context) => {
|
|
1104
|
-
return (0, import_smithy_client.take)(input, {
|
|
1105
|
-
BlockDurationMinutes: [],
|
|
1106
|
-
InstanceInterruptionBehavior: [],
|
|
1107
|
-
MaxPrice: [],
|
|
1108
|
-
SpotInstanceType: [],
|
|
1109
|
-
ValidUntilUtc: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "ValidUntilUtc")
|
|
1110
|
-
});
|
|
1111
|
-
}, "se_SpotMarketOptions");
|
|
1112
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1113
|
-
httpStatusCode: output.statusCode,
|
|
1114
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1115
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1116
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1117
|
-
}), "deserializeMetadata");
|
|
1118
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(WorkspacesInstancesServiceException);
|
|
1119
|
-
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1120
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1121
|
-
const contents = {
|
|
1122
|
-
protocol,
|
|
1123
|
-
hostname,
|
|
1124
|
-
port,
|
|
1125
|
-
method: "POST",
|
|
1126
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1127
|
-
headers
|
|
1128
|
-
};
|
|
1129
|
-
if (resolvedHostname !== void 0) {
|
|
1130
|
-
contents.hostname = resolvedHostname;
|
|
1131
|
-
}
|
|
1132
|
-
if (body !== void 0) {
|
|
1133
|
-
contents.body = body;
|
|
1134
|
-
}
|
|
1135
|
-
return new import_protocol_http.HttpRequest(contents);
|
|
1136
|
-
}, "buildHttpRpcRequest");
|
|
1137
|
-
function sharedHeaders(operation) {
|
|
1138
|
-
return {
|
|
1139
|
-
"content-type": "application/x-amz-json-1.0",
|
|
1140
|
-
"x-amz-target": `EUCMIFrontendAPIService.${operation}`
|
|
1141
|
-
};
|
|
1142
|
-
}
|
|
1143
|
-
__name(sharedHeaders, "sharedHeaders");
|
|
1144
|
-
|
|
1145
|
-
// src/commands/AssociateVolumeCommand.ts
|
|
1146
|
-
var AssociateVolumeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1147
|
-
return [
|
|
1148
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1149
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1150
|
-
];
|
|
1151
|
-
}).s("EUCMIFrontendAPIService", "AssociateVolume", {}).n("WorkspacesInstancesClient", "AssociateVolumeCommand").f(void 0, void 0).ser(se_AssociateVolumeCommand).de(de_AssociateVolumeCommand).build() {
|
|
1152
|
-
static {
|
|
1153
|
-
__name(this, "AssociateVolumeCommand");
|
|
1154
|
-
}
|
|
750
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1155
751
|
};
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1165
|
-
];
|
|
1166
|
-
}).s("EUCMIFrontendAPIService", "CreateVolume", {}).n("WorkspacesInstancesClient", "CreateVolumeCommand").f(CreateVolumeRequestFilterSensitiveLog, void 0).ser(se_CreateVolumeCommand).de(de_CreateVolumeCommand).build() {
|
|
1167
|
-
static {
|
|
1168
|
-
__name(this, "CreateVolumeCommand");
|
|
1169
|
-
}
|
|
752
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
753
|
+
const body = parsedOutput.body;
|
|
754
|
+
const deserialized = smithyClient._json(body);
|
|
755
|
+
const exception = new ThrottlingException({
|
|
756
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
757
|
+
...deserialized,
|
|
758
|
+
});
|
|
759
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1170
760
|
};
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1180
|
-
];
|
|
1181
|
-
}).s("EUCMIFrontendAPIService", "CreateWorkspaceInstance", {}).n("WorkspacesInstancesClient", "CreateWorkspaceInstanceCommand").f(CreateWorkspaceInstanceRequestFilterSensitiveLog, void 0).ser(se_CreateWorkspaceInstanceCommand).de(de_CreateWorkspaceInstanceCommand).build() {
|
|
1182
|
-
static {
|
|
1183
|
-
__name(this, "CreateWorkspaceInstanceCommand");
|
|
1184
|
-
}
|
|
761
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
762
|
+
const body = parsedOutput.body;
|
|
763
|
+
const deserialized = smithyClient._json(body);
|
|
764
|
+
const exception = new ValidationException({
|
|
765
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
766
|
+
...deserialized,
|
|
767
|
+
});
|
|
768
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1185
769
|
};
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
}
|
|
770
|
+
const se_CreateVolumeRequest = (input, context) => {
|
|
771
|
+
return smithyClient.take(input, {
|
|
772
|
+
AvailabilityZone: [],
|
|
773
|
+
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
774
|
+
Encrypted: [],
|
|
775
|
+
Iops: [],
|
|
776
|
+
KmsKeyId: [],
|
|
777
|
+
SizeInGB: [],
|
|
778
|
+
SnapshotId: [],
|
|
779
|
+
TagSpecifications: smithyClient._json,
|
|
780
|
+
Throughput: [],
|
|
781
|
+
VolumeType: [],
|
|
782
|
+
});
|
|
1200
783
|
};
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
return [
|
|
1208
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1209
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1210
|
-
];
|
|
1211
|
-
}).s("EUCMIFrontendAPIService", "DeleteWorkspaceInstance", {}).n("WorkspacesInstancesClient", "DeleteWorkspaceInstanceCommand").f(void 0, void 0).ser(se_DeleteWorkspaceInstanceCommand).de(de_DeleteWorkspaceInstanceCommand).build() {
|
|
1212
|
-
static {
|
|
1213
|
-
__name(this, "DeleteWorkspaceInstanceCommand");
|
|
1214
|
-
}
|
|
784
|
+
const se_CreateWorkspaceInstanceRequest = (input, context) => {
|
|
785
|
+
return smithyClient.take(input, {
|
|
786
|
+
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
787
|
+
ManagedInstance: (_) => se_ManagedInstanceRequest(_),
|
|
788
|
+
Tags: smithyClient._json,
|
|
789
|
+
});
|
|
1215
790
|
};
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
var DisassociateVolumeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1222
|
-
return [
|
|
1223
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1224
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1225
|
-
];
|
|
1226
|
-
}).s("EUCMIFrontendAPIService", "DisassociateVolume", {}).n("WorkspacesInstancesClient", "DisassociateVolumeCommand").f(void 0, void 0).ser(se_DisassociateVolumeCommand).de(de_DisassociateVolumeCommand).build() {
|
|
1227
|
-
static {
|
|
1228
|
-
__name(this, "DisassociateVolumeCommand");
|
|
1229
|
-
}
|
|
791
|
+
const se_InstanceMarketOptionsRequest = (input, context) => {
|
|
792
|
+
return smithyClient.take(input, {
|
|
793
|
+
MarketType: [],
|
|
794
|
+
SpotOptions: (_) => se_SpotMarketOptions(_),
|
|
795
|
+
});
|
|
1230
796
|
};
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
797
|
+
const se_ManagedInstanceRequest = (input, context) => {
|
|
798
|
+
return smithyClient.take(input, {
|
|
799
|
+
BlockDeviceMappings: smithyClient._json,
|
|
800
|
+
CapacityReservationSpecification: smithyClient._json,
|
|
801
|
+
CpuOptions: smithyClient._json,
|
|
802
|
+
CreditSpecification: smithyClient._json,
|
|
803
|
+
DisableApiStop: [],
|
|
804
|
+
EbsOptimized: [],
|
|
805
|
+
EnablePrimaryIpv6: [],
|
|
806
|
+
EnclaveOptions: smithyClient._json,
|
|
807
|
+
HibernationOptions: smithyClient._json,
|
|
808
|
+
IamInstanceProfile: smithyClient._json,
|
|
809
|
+
ImageId: [],
|
|
810
|
+
InstanceMarketOptions: (_) => se_InstanceMarketOptionsRequest(_),
|
|
811
|
+
InstanceType: [],
|
|
812
|
+
Ipv6AddressCount: [],
|
|
813
|
+
Ipv6Addresses: smithyClient._json,
|
|
814
|
+
KernelId: [],
|
|
815
|
+
KeyName: [],
|
|
816
|
+
LicenseSpecifications: smithyClient._json,
|
|
817
|
+
MaintenanceOptions: smithyClient._json,
|
|
818
|
+
MetadataOptions: smithyClient._json,
|
|
819
|
+
Monitoring: smithyClient._json,
|
|
820
|
+
NetworkInterfaces: smithyClient._json,
|
|
821
|
+
NetworkPerformanceOptions: smithyClient._json,
|
|
822
|
+
Placement: smithyClient._json,
|
|
823
|
+
PrivateDnsNameOptions: smithyClient._json,
|
|
824
|
+
PrivateIpAddress: [],
|
|
825
|
+
RamdiskId: [],
|
|
826
|
+
SecurityGroupIds: smithyClient._json,
|
|
827
|
+
SecurityGroups: smithyClient._json,
|
|
828
|
+
SubnetId: [],
|
|
829
|
+
TagSpecifications: smithyClient._json,
|
|
830
|
+
UserData: [],
|
|
831
|
+
});
|
|
1245
832
|
};
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1255
|
-
];
|
|
1256
|
-
}).s("EUCMIFrontendAPIService", "ListInstanceTypes", {}).n("WorkspacesInstancesClient", "ListInstanceTypesCommand").f(ListInstanceTypesRequestFilterSensitiveLog, ListInstanceTypesResponseFilterSensitiveLog).ser(se_ListInstanceTypesCommand).de(de_ListInstanceTypesCommand).build() {
|
|
1257
|
-
static {
|
|
1258
|
-
__name(this, "ListInstanceTypesCommand");
|
|
1259
|
-
}
|
|
833
|
+
const se_SpotMarketOptions = (input, context) => {
|
|
834
|
+
return smithyClient.take(input, {
|
|
835
|
+
BlockDurationMinutes: [],
|
|
836
|
+
InstanceInterruptionBehavior: [],
|
|
837
|
+
MaxPrice: [],
|
|
838
|
+
SpotInstanceType: [],
|
|
839
|
+
ValidUntilUtc: (_) => _.getTime() / 1_000,
|
|
840
|
+
});
|
|
1260
841
|
};
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
842
|
+
const deserializeMetadata = (output) => ({
|
|
843
|
+
httpStatusCode: output.statusCode,
|
|
844
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
845
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
846
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
847
|
+
});
|
|
848
|
+
const throwDefaultError = smithyClient.withBaseException(WorkspacesInstancesServiceException);
|
|
849
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
850
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
851
|
+
const contents = {
|
|
852
|
+
protocol,
|
|
853
|
+
hostname,
|
|
854
|
+
port,
|
|
855
|
+
method: "POST",
|
|
856
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
857
|
+
headers,
|
|
858
|
+
};
|
|
859
|
+
if (body !== undefined) {
|
|
860
|
+
contents.body = body;
|
|
861
|
+
}
|
|
862
|
+
return new protocolHttp.HttpRequest(contents);
|
|
1275
863
|
};
|
|
864
|
+
function sharedHeaders(operation) {
|
|
865
|
+
return {
|
|
866
|
+
"content-type": "application/x-amz-json-1.0",
|
|
867
|
+
"x-amz-target": `EUCMIFrontendAPIService.${operation}`,
|
|
868
|
+
};
|
|
869
|
+
}
|
|
1276
870
|
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
871
|
+
class AssociateVolumeCommand extends smithyClient.Command
|
|
872
|
+
.classBuilder()
|
|
873
|
+
.ep(commonParams)
|
|
874
|
+
.m(function (Command, cs, config, o) {
|
|
875
|
+
return [
|
|
876
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
877
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
878
|
+
];
|
|
879
|
+
})
|
|
880
|
+
.s("EUCMIFrontendAPIService", "AssociateVolume", {})
|
|
881
|
+
.n("WorkspacesInstancesClient", "AssociateVolumeCommand")
|
|
882
|
+
.f(void 0, void 0)
|
|
883
|
+
.ser(se_AssociateVolumeCommand)
|
|
884
|
+
.de(de_AssociateVolumeCommand)
|
|
885
|
+
.build() {
|
|
886
|
+
}
|
|
1280
887
|
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
(
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
}
|
|
888
|
+
class CreateVolumeCommand extends smithyClient.Command
|
|
889
|
+
.classBuilder()
|
|
890
|
+
.ep(commonParams)
|
|
891
|
+
.m(function (Command, cs, config, o) {
|
|
892
|
+
return [
|
|
893
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
894
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
895
|
+
];
|
|
896
|
+
})
|
|
897
|
+
.s("EUCMIFrontendAPIService", "CreateVolume", {})
|
|
898
|
+
.n("WorkspacesInstancesClient", "CreateVolumeCommand")
|
|
899
|
+
.f(CreateVolumeRequestFilterSensitiveLog, void 0)
|
|
900
|
+
.ser(se_CreateVolumeCommand)
|
|
901
|
+
.de(de_CreateVolumeCommand)
|
|
902
|
+
.build() {
|
|
903
|
+
}
|
|
1291
904
|
|
|
1292
|
-
|
|
905
|
+
class CreateWorkspaceInstanceCommand extends smithyClient.Command
|
|
906
|
+
.classBuilder()
|
|
907
|
+
.ep(commonParams)
|
|
908
|
+
.m(function (Command, cs, config, o) {
|
|
909
|
+
return [
|
|
910
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
911
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
912
|
+
];
|
|
913
|
+
})
|
|
914
|
+
.s("EUCMIFrontendAPIService", "CreateWorkspaceInstance", {})
|
|
915
|
+
.n("WorkspacesInstancesClient", "CreateWorkspaceInstanceCommand")
|
|
916
|
+
.f(CreateWorkspaceInstanceRequestFilterSensitiveLog, void 0)
|
|
917
|
+
.ser(se_CreateWorkspaceInstanceCommand)
|
|
918
|
+
.de(de_CreateWorkspaceInstanceCommand)
|
|
919
|
+
.build() {
|
|
920
|
+
}
|
|
1293
921
|
|
|
922
|
+
class DeleteVolumeCommand extends smithyClient.Command
|
|
923
|
+
.classBuilder()
|
|
924
|
+
.ep(commonParams)
|
|
925
|
+
.m(function (Command, cs, config, o) {
|
|
926
|
+
return [
|
|
927
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
928
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
929
|
+
];
|
|
930
|
+
})
|
|
931
|
+
.s("EUCMIFrontendAPIService", "DeleteVolume", {})
|
|
932
|
+
.n("WorkspacesInstancesClient", "DeleteVolumeCommand")
|
|
933
|
+
.f(void 0, void 0)
|
|
934
|
+
.ser(se_DeleteVolumeCommand)
|
|
935
|
+
.de(de_DeleteVolumeCommand)
|
|
936
|
+
.build() {
|
|
937
|
+
}
|
|
1294
938
|
|
|
939
|
+
class DeleteWorkspaceInstanceCommand extends smithyClient.Command
|
|
940
|
+
.classBuilder()
|
|
941
|
+
.ep(commonParams)
|
|
942
|
+
.m(function (Command, cs, config, o) {
|
|
943
|
+
return [
|
|
944
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
945
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
946
|
+
];
|
|
947
|
+
})
|
|
948
|
+
.s("EUCMIFrontendAPIService", "DeleteWorkspaceInstance", {})
|
|
949
|
+
.n("WorkspacesInstancesClient", "DeleteWorkspaceInstanceCommand")
|
|
950
|
+
.f(void 0, void 0)
|
|
951
|
+
.ser(se_DeleteWorkspaceInstanceCommand)
|
|
952
|
+
.de(de_DeleteWorkspaceInstanceCommand)
|
|
953
|
+
.build() {
|
|
954
|
+
}
|
|
1295
955
|
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
(
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
}
|
|
956
|
+
class DisassociateVolumeCommand extends smithyClient.Command
|
|
957
|
+
.classBuilder()
|
|
958
|
+
.ep(commonParams)
|
|
959
|
+
.m(function (Command, cs, config, o) {
|
|
960
|
+
return [
|
|
961
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
962
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
963
|
+
];
|
|
964
|
+
})
|
|
965
|
+
.s("EUCMIFrontendAPIService", "DisassociateVolume", {})
|
|
966
|
+
.n("WorkspacesInstancesClient", "DisassociateVolumeCommand")
|
|
967
|
+
.f(void 0, void 0)
|
|
968
|
+
.ser(se_DisassociateVolumeCommand)
|
|
969
|
+
.de(de_DisassociateVolumeCommand)
|
|
970
|
+
.build() {
|
|
971
|
+
}
|
|
1306
972
|
|
|
1307
|
-
|
|
973
|
+
class GetWorkspaceInstanceCommand extends smithyClient.Command
|
|
974
|
+
.classBuilder()
|
|
975
|
+
.ep(commonParams)
|
|
976
|
+
.m(function (Command, cs, config, o) {
|
|
977
|
+
return [
|
|
978
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
979
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
980
|
+
];
|
|
981
|
+
})
|
|
982
|
+
.s("EUCMIFrontendAPIService", "GetWorkspaceInstance", {})
|
|
983
|
+
.n("WorkspacesInstancesClient", "GetWorkspaceInstanceCommand")
|
|
984
|
+
.f(void 0, void 0)
|
|
985
|
+
.ser(se_GetWorkspaceInstanceCommand)
|
|
986
|
+
.de(de_GetWorkspaceInstanceCommand)
|
|
987
|
+
.build() {
|
|
988
|
+
}
|
|
1308
989
|
|
|
990
|
+
class ListInstanceTypesCommand extends smithyClient.Command
|
|
991
|
+
.classBuilder()
|
|
992
|
+
.ep(commonParams)
|
|
993
|
+
.m(function (Command, cs, config, o) {
|
|
994
|
+
return [
|
|
995
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
996
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
997
|
+
];
|
|
998
|
+
})
|
|
999
|
+
.s("EUCMIFrontendAPIService", "ListInstanceTypes", {})
|
|
1000
|
+
.n("WorkspacesInstancesClient", "ListInstanceTypesCommand")
|
|
1001
|
+
.f(ListInstanceTypesRequestFilterSensitiveLog, ListInstanceTypesResponseFilterSensitiveLog)
|
|
1002
|
+
.ser(se_ListInstanceTypesCommand)
|
|
1003
|
+
.de(de_ListInstanceTypesCommand)
|
|
1004
|
+
.build() {
|
|
1005
|
+
}
|
|
1309
1006
|
|
|
1007
|
+
class ListRegionsCommand extends smithyClient.Command
|
|
1008
|
+
.classBuilder()
|
|
1009
|
+
.ep(commonParams)
|
|
1010
|
+
.m(function (Command, cs, config, o) {
|
|
1011
|
+
return [
|
|
1012
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1013
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1014
|
+
];
|
|
1015
|
+
})
|
|
1016
|
+
.s("EUCMIFrontendAPIService", "ListRegions", {})
|
|
1017
|
+
.n("WorkspacesInstancesClient", "ListRegionsCommand")
|
|
1018
|
+
.f(ListRegionsRequestFilterSensitiveLog, ListRegionsResponseFilterSensitiveLog)
|
|
1019
|
+
.ser(se_ListRegionsCommand)
|
|
1020
|
+
.de(de_ListRegionsCommand)
|
|
1021
|
+
.build() {
|
|
1022
|
+
}
|
|
1310
1023
|
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
(
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
}
|
|
1024
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1025
|
+
.classBuilder()
|
|
1026
|
+
.ep(commonParams)
|
|
1027
|
+
.m(function (Command, cs, config, o) {
|
|
1028
|
+
return [
|
|
1029
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1030
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1031
|
+
];
|
|
1032
|
+
})
|
|
1033
|
+
.s("EUCMIFrontendAPIService", "ListTagsForResource", {})
|
|
1034
|
+
.n("WorkspacesInstancesClient", "ListTagsForResourceCommand")
|
|
1035
|
+
.f(void 0, void 0)
|
|
1036
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1037
|
+
.de(de_ListTagsForResourceCommand)
|
|
1038
|
+
.build() {
|
|
1039
|
+
}
|
|
1321
1040
|
|
|
1322
|
-
|
|
1041
|
+
class ListWorkspaceInstancesCommand extends smithyClient.Command
|
|
1042
|
+
.classBuilder()
|
|
1043
|
+
.ep(commonParams)
|
|
1044
|
+
.m(function (Command, cs, config, o) {
|
|
1045
|
+
return [
|
|
1046
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1047
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1048
|
+
];
|
|
1049
|
+
})
|
|
1050
|
+
.s("EUCMIFrontendAPIService", "ListWorkspaceInstances", {})
|
|
1051
|
+
.n("WorkspacesInstancesClient", "ListWorkspaceInstancesCommand")
|
|
1052
|
+
.f(ListWorkspaceInstancesRequestFilterSensitiveLog, ListWorkspaceInstancesResponseFilterSensitiveLog)
|
|
1053
|
+
.ser(se_ListWorkspaceInstancesCommand)
|
|
1054
|
+
.de(de_ListWorkspaceInstancesCommand)
|
|
1055
|
+
.build() {
|
|
1056
|
+
}
|
|
1323
1057
|
|
|
1058
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1059
|
+
.classBuilder()
|
|
1060
|
+
.ep(commonParams)
|
|
1061
|
+
.m(function (Command, cs, config, o) {
|
|
1062
|
+
return [
|
|
1063
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1064
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1065
|
+
];
|
|
1066
|
+
})
|
|
1067
|
+
.s("EUCMIFrontendAPIService", "TagResource", {})
|
|
1068
|
+
.n("WorkspacesInstancesClient", "TagResourceCommand")
|
|
1069
|
+
.f(void 0, void 0)
|
|
1070
|
+
.ser(se_TagResourceCommand)
|
|
1071
|
+
.de(de_TagResourceCommand)
|
|
1072
|
+
.build() {
|
|
1073
|
+
}
|
|
1324
1074
|
|
|
1075
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1076
|
+
.classBuilder()
|
|
1077
|
+
.ep(commonParams)
|
|
1078
|
+
.m(function (Command, cs, config, o) {
|
|
1079
|
+
return [
|
|
1080
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1081
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1082
|
+
];
|
|
1083
|
+
})
|
|
1084
|
+
.s("EUCMIFrontendAPIService", "UntagResource", {})
|
|
1085
|
+
.n("WorkspacesInstancesClient", "UntagResourceCommand")
|
|
1086
|
+
.f(void 0, void 0)
|
|
1087
|
+
.ser(se_UntagResourceCommand)
|
|
1088
|
+
.de(de_UntagResourceCommand)
|
|
1089
|
+
.build() {
|
|
1090
|
+
}
|
|
1325
1091
|
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1092
|
+
const commands = {
|
|
1093
|
+
AssociateVolumeCommand,
|
|
1094
|
+
CreateVolumeCommand,
|
|
1095
|
+
CreateWorkspaceInstanceCommand,
|
|
1096
|
+
DeleteVolumeCommand,
|
|
1097
|
+
DeleteWorkspaceInstanceCommand,
|
|
1098
|
+
DisassociateVolumeCommand,
|
|
1099
|
+
GetWorkspaceInstanceCommand,
|
|
1100
|
+
ListInstanceTypesCommand,
|
|
1101
|
+
ListRegionsCommand,
|
|
1102
|
+
ListTagsForResourceCommand,
|
|
1103
|
+
ListWorkspaceInstancesCommand,
|
|
1104
|
+
TagResourceCommand,
|
|
1105
|
+
UntagResourceCommand,
|
|
1335
1106
|
};
|
|
1107
|
+
class WorkspacesInstances extends WorkspacesInstancesClient {
|
|
1108
|
+
}
|
|
1109
|
+
smithyClient.createAggregatedClient(commands, WorkspacesInstances);
|
|
1336
1110
|
|
|
1337
|
-
|
|
1338
|
-
var commands = {
|
|
1339
|
-
AssociateVolumeCommand,
|
|
1340
|
-
CreateVolumeCommand,
|
|
1341
|
-
CreateWorkspaceInstanceCommand,
|
|
1342
|
-
DeleteVolumeCommand,
|
|
1343
|
-
DeleteWorkspaceInstanceCommand,
|
|
1344
|
-
DisassociateVolumeCommand,
|
|
1345
|
-
GetWorkspaceInstanceCommand,
|
|
1346
|
-
ListInstanceTypesCommand,
|
|
1347
|
-
ListRegionsCommand,
|
|
1348
|
-
ListTagsForResourceCommand,
|
|
1349
|
-
ListWorkspaceInstancesCommand,
|
|
1350
|
-
TagResourceCommand,
|
|
1351
|
-
UntagResourceCommand
|
|
1352
|
-
};
|
|
1353
|
-
var WorkspacesInstances = class extends WorkspacesInstancesClient {
|
|
1354
|
-
static {
|
|
1355
|
-
__name(this, "WorkspacesInstances");
|
|
1356
|
-
}
|
|
1357
|
-
};
|
|
1358
|
-
(0, import_smithy_client.createAggregatedClient)(commands, WorkspacesInstances);
|
|
1359
|
-
|
|
1360
|
-
// src/pagination/ListInstanceTypesPaginator.ts
|
|
1361
|
-
|
|
1362
|
-
var paginateListInstanceTypes = (0, import_core.createPaginator)(WorkspacesInstancesClient, ListInstanceTypesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1363
|
-
|
|
1364
|
-
// src/pagination/ListRegionsPaginator.ts
|
|
1365
|
-
|
|
1366
|
-
var paginateListRegions = (0, import_core.createPaginator)(WorkspacesInstancesClient, ListRegionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1111
|
+
const paginateListInstanceTypes = core.createPaginator(WorkspacesInstancesClient, ListInstanceTypesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1367
1112
|
|
|
1368
|
-
|
|
1113
|
+
const paginateListRegions = core.createPaginator(WorkspacesInstancesClient, ListRegionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1369
1114
|
|
|
1370
|
-
|
|
1371
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1115
|
+
const paginateListWorkspaceInstances = core.createPaginator(WorkspacesInstancesClient, ListWorkspaceInstancesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1372
1116
|
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
WorkspacesInstancesClient,
|
|
1377
|
-
WorkspacesInstances,
|
|
1378
|
-
$Command,
|
|
1379
|
-
AssociateVolumeCommand,
|
|
1380
|
-
CreateVolumeCommand,
|
|
1381
|
-
CreateWorkspaceInstanceCommand,
|
|
1382
|
-
DeleteVolumeCommand,
|
|
1383
|
-
DeleteWorkspaceInstanceCommand,
|
|
1384
|
-
DisassociateVolumeCommand,
|
|
1385
|
-
GetWorkspaceInstanceCommand,
|
|
1386
|
-
ListInstanceTypesCommand,
|
|
1387
|
-
ListRegionsCommand,
|
|
1388
|
-
ListTagsForResourceCommand,
|
|
1389
|
-
ListWorkspaceInstancesCommand,
|
|
1390
|
-
TagResourceCommand,
|
|
1391
|
-
UntagResourceCommand,
|
|
1392
|
-
paginateListInstanceTypes,
|
|
1393
|
-
paginateListRegions,
|
|
1394
|
-
paginateListWorkspaceInstances,
|
|
1395
|
-
AccessDeniedException,
|
|
1396
|
-
AmdSevSnpEnum,
|
|
1397
|
-
ConflictException,
|
|
1398
|
-
InternalServerException,
|
|
1399
|
-
ResourceNotFoundException,
|
|
1400
|
-
ThrottlingException,
|
|
1401
|
-
ValidationExceptionReason,
|
|
1402
|
-
ValidationException,
|
|
1403
|
-
AutoRecoveryEnum,
|
|
1404
|
-
BandwidthWeightingEnum,
|
|
1405
|
-
VolumeTypeEnum,
|
|
1406
|
-
CapacityReservationPreferenceEnum,
|
|
1407
|
-
CpuCreditsEnum,
|
|
1408
|
-
ResourceTypeEnum,
|
|
1409
|
-
ServiceQuotaExceededException,
|
|
1410
|
-
MarketTypeEnum,
|
|
1411
|
-
InstanceInterruptionBehaviorEnum,
|
|
1412
|
-
SpotInstanceTypeEnum,
|
|
1413
|
-
HttpEndpointEnum,
|
|
1414
|
-
HttpProtocolIpv6Enum,
|
|
1415
|
-
HttpTokensEnum,
|
|
1416
|
-
InstanceMetadataTagsEnum,
|
|
1417
|
-
InterfaceTypeEnum,
|
|
1418
|
-
TenancyEnum,
|
|
1419
|
-
HostnameTypeEnum,
|
|
1420
|
-
DisassociateModeEnum,
|
|
1421
|
-
ProvisionStateEnum,
|
|
1422
|
-
EbsBlockDeviceFilterSensitiveLog,
|
|
1423
|
-
BlockDeviceMappingRequestFilterSensitiveLog,
|
|
1424
|
-
CreateVolumeRequestFilterSensitiveLog,
|
|
1425
|
-
InstanceIpv6AddressFilterSensitiveLog,
|
|
1426
|
-
PrivateIpAddressSpecificationFilterSensitiveLog,
|
|
1427
|
-
InstanceNetworkInterfaceSpecificationFilterSensitiveLog,
|
|
1428
|
-
ManagedInstanceRequestFilterSensitiveLog,
|
|
1429
|
-
CreateWorkspaceInstanceRequestFilterSensitiveLog,
|
|
1430
|
-
ListInstanceTypesRequestFilterSensitiveLog,
|
|
1431
|
-
ListInstanceTypesResponseFilterSensitiveLog,
|
|
1432
|
-
ListRegionsRequestFilterSensitiveLog,
|
|
1433
|
-
ListRegionsResponseFilterSensitiveLog,
|
|
1434
|
-
ListWorkspaceInstancesRequestFilterSensitiveLog,
|
|
1435
|
-
ListWorkspaceInstancesResponseFilterSensitiveLog
|
|
1117
|
+
Object.defineProperty(exports, "$Command", {
|
|
1118
|
+
enumerable: true,
|
|
1119
|
+
get: function () { return smithyClient.Command; }
|
|
1436
1120
|
});
|
|
1437
|
-
|
|
1121
|
+
Object.defineProperty(exports, "__Client", {
|
|
1122
|
+
enumerable: true,
|
|
1123
|
+
get: function () { return smithyClient.Client; }
|
|
1124
|
+
});
|
|
1125
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1126
|
+
exports.AmdSevSnpEnum = AmdSevSnpEnum;
|
|
1127
|
+
exports.AssociateVolumeCommand = AssociateVolumeCommand;
|
|
1128
|
+
exports.AutoRecoveryEnum = AutoRecoveryEnum;
|
|
1129
|
+
exports.BandwidthWeightingEnum = BandwidthWeightingEnum;
|
|
1130
|
+
exports.BlockDeviceMappingRequestFilterSensitiveLog = BlockDeviceMappingRequestFilterSensitiveLog;
|
|
1131
|
+
exports.CapacityReservationPreferenceEnum = CapacityReservationPreferenceEnum;
|
|
1132
|
+
exports.ConflictException = ConflictException;
|
|
1133
|
+
exports.CpuCreditsEnum = CpuCreditsEnum;
|
|
1134
|
+
exports.CreateVolumeCommand = CreateVolumeCommand;
|
|
1135
|
+
exports.CreateVolumeRequestFilterSensitiveLog = CreateVolumeRequestFilterSensitiveLog;
|
|
1136
|
+
exports.CreateWorkspaceInstanceCommand = CreateWorkspaceInstanceCommand;
|
|
1137
|
+
exports.CreateWorkspaceInstanceRequestFilterSensitiveLog = CreateWorkspaceInstanceRequestFilterSensitiveLog;
|
|
1138
|
+
exports.DeleteVolumeCommand = DeleteVolumeCommand;
|
|
1139
|
+
exports.DeleteWorkspaceInstanceCommand = DeleteWorkspaceInstanceCommand;
|
|
1140
|
+
exports.DisassociateModeEnum = DisassociateModeEnum;
|
|
1141
|
+
exports.DisassociateVolumeCommand = DisassociateVolumeCommand;
|
|
1142
|
+
exports.EbsBlockDeviceFilterSensitiveLog = EbsBlockDeviceFilterSensitiveLog;
|
|
1143
|
+
exports.GetWorkspaceInstanceCommand = GetWorkspaceInstanceCommand;
|
|
1144
|
+
exports.HostnameTypeEnum = HostnameTypeEnum;
|
|
1145
|
+
exports.HttpEndpointEnum = HttpEndpointEnum;
|
|
1146
|
+
exports.HttpProtocolIpv6Enum = HttpProtocolIpv6Enum;
|
|
1147
|
+
exports.HttpTokensEnum = HttpTokensEnum;
|
|
1148
|
+
exports.InstanceInterruptionBehaviorEnum = InstanceInterruptionBehaviorEnum;
|
|
1149
|
+
exports.InstanceIpv6AddressFilterSensitiveLog = InstanceIpv6AddressFilterSensitiveLog;
|
|
1150
|
+
exports.InstanceMetadataTagsEnum = InstanceMetadataTagsEnum;
|
|
1151
|
+
exports.InstanceNetworkInterfaceSpecificationFilterSensitiveLog = InstanceNetworkInterfaceSpecificationFilterSensitiveLog;
|
|
1152
|
+
exports.InterfaceTypeEnum = InterfaceTypeEnum;
|
|
1153
|
+
exports.InternalServerException = InternalServerException;
|
|
1154
|
+
exports.ListInstanceTypesCommand = ListInstanceTypesCommand;
|
|
1155
|
+
exports.ListInstanceTypesRequestFilterSensitiveLog = ListInstanceTypesRequestFilterSensitiveLog;
|
|
1156
|
+
exports.ListInstanceTypesResponseFilterSensitiveLog = ListInstanceTypesResponseFilterSensitiveLog;
|
|
1157
|
+
exports.ListRegionsCommand = ListRegionsCommand;
|
|
1158
|
+
exports.ListRegionsRequestFilterSensitiveLog = ListRegionsRequestFilterSensitiveLog;
|
|
1159
|
+
exports.ListRegionsResponseFilterSensitiveLog = ListRegionsResponseFilterSensitiveLog;
|
|
1160
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1161
|
+
exports.ListWorkspaceInstancesCommand = ListWorkspaceInstancesCommand;
|
|
1162
|
+
exports.ListWorkspaceInstancesRequestFilterSensitiveLog = ListWorkspaceInstancesRequestFilterSensitiveLog;
|
|
1163
|
+
exports.ListWorkspaceInstancesResponseFilterSensitiveLog = ListWorkspaceInstancesResponseFilterSensitiveLog;
|
|
1164
|
+
exports.ManagedInstanceRequestFilterSensitiveLog = ManagedInstanceRequestFilterSensitiveLog;
|
|
1165
|
+
exports.MarketTypeEnum = MarketTypeEnum;
|
|
1166
|
+
exports.PrivateIpAddressSpecificationFilterSensitiveLog = PrivateIpAddressSpecificationFilterSensitiveLog;
|
|
1167
|
+
exports.ProvisionStateEnum = ProvisionStateEnum;
|
|
1168
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1169
|
+
exports.ResourceTypeEnum = ResourceTypeEnum;
|
|
1170
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1171
|
+
exports.SpotInstanceTypeEnum = SpotInstanceTypeEnum;
|
|
1172
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1173
|
+
exports.TenancyEnum = TenancyEnum;
|
|
1174
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1175
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1176
|
+
exports.ValidationException = ValidationException;
|
|
1177
|
+
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1178
|
+
exports.VolumeTypeEnum = VolumeTypeEnum;
|
|
1179
|
+
exports.WorkspacesInstances = WorkspacesInstances;
|
|
1180
|
+
exports.WorkspacesInstancesClient = WorkspacesInstancesClient;
|
|
1181
|
+
exports.WorkspacesInstancesServiceException = WorkspacesInstancesServiceException;
|
|
1182
|
+
exports.paginateListInstanceTypes = paginateListInstanceTypes;
|
|
1183
|
+
exports.paginateListRegions = paginateListRegions;
|
|
1184
|
+
exports.paginateListWorkspaceInstances = paginateListWorkspaceInstances;
|