@aws-sdk/client-workspaces-instances 3.1076.0 → 3.1078.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 +24 -135
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateVolumeCommand.js +2 -14
- package/dist-es/commands/CreateVolumeCommand.js +2 -14
- package/dist-es/commands/CreateWorkspaceInstanceCommand.js +2 -14
- package/dist-es/commands/DeleteVolumeCommand.js +2 -14
- package/dist-es/commands/DeleteWorkspaceInstanceCommand.js +2 -14
- package/dist-es/commands/DisassociateVolumeCommand.js +2 -14
- package/dist-es/commands/GetWorkspaceInstanceCommand.js +2 -14
- package/dist-es/commands/ListInstanceTypesCommand.js +2 -14
- package/dist-es/commands/ListRegionsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListWorkspaceInstancesCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssociateVolumeCommand.d.ts +3 -8
- package/dist-types/commands/CreateVolumeCommand.d.ts +3 -8
- package/dist-types/commands/CreateWorkspaceInstanceCommand.d.ts +3 -8
- package/dist-types/commands/DeleteVolumeCommand.d.ts +3 -8
- package/dist-types/commands/DeleteWorkspaceInstanceCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateVolumeCommand.d.ts +3 -8
- package/dist-types/commands/GetWorkspaceInstanceCommand.d.ts +3 -8
- package/dist-types/commands/ListInstanceTypesCommand.d.ts +3 -8
- package/dist-types/commands/ListRegionsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListWorkspaceInstancesCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AssociateVolumeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateWorkspaceInstanceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteVolumeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteWorkspaceInstanceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateVolumeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetWorkspaceInstanceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListInstanceTypesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRegionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWorkspaceInstancesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultWorkspacesInstancesHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -65,7 +67,7 @@ const commonParams = {
|
|
|
65
67
|
Region: { type: "builtInParams", name: "region" },
|
|
66
68
|
};
|
|
67
69
|
|
|
68
|
-
var version = "3.
|
|
70
|
+
var version = "3.1077.0";
|
|
69
71
|
var packageInfo = {
|
|
70
72
|
version: version};
|
|
71
73
|
|
|
@@ -987,6 +989,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
987
989
|
serviceTarget: "EUCMIFrontendAPIService",
|
|
988
990
|
},
|
|
989
991
|
serviceId: config?.serviceId ?? "Workspaces Instances",
|
|
992
|
+
sha256: config?.sha256 ?? Sha256,
|
|
990
993
|
urlParser: config?.urlParser ?? parseUrl,
|
|
991
994
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
992
995
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1020,7 +1023,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1020
1023
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1021
1024
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1022
1025
|
}, config),
|
|
1023
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1024
1026
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1025
1027
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1026
1028
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1108,160 +1110,47 @@ class WorkspacesInstancesClient extends Client {
|
|
|
1108
1110
|
}
|
|
1109
1111
|
}
|
|
1110
1112
|
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
})
|
|
1117
|
-
.s("EUCMIFrontendAPIService", "AssociateVolume", {})
|
|
1118
|
-
.n("WorkspacesInstancesClient", "AssociateVolumeCommand")
|
|
1119
|
-
.sc(AssociateVolume$)
|
|
1120
|
-
.build() {
|
|
1113
|
+
const command = makeBuilder(commonParams, "EUCMIFrontendAPIService", "WorkspacesInstancesClient", getEndpointPlugin);
|
|
1114
|
+
const _ep0 = {};
|
|
1115
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
1116
|
+
|
|
1117
|
+
class AssociateVolumeCommand extends command(_ep0, _mw0, "AssociateVolume", AssociateVolume$) {
|
|
1121
1118
|
}
|
|
1122
1119
|
|
|
1123
|
-
class CreateVolumeCommand extends
|
|
1124
|
-
.classBuilder()
|
|
1125
|
-
.ep(commonParams)
|
|
1126
|
-
.m(function (Command, cs, config, o) {
|
|
1127
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1128
|
-
})
|
|
1129
|
-
.s("EUCMIFrontendAPIService", "CreateVolume", {})
|
|
1130
|
-
.n("WorkspacesInstancesClient", "CreateVolumeCommand")
|
|
1131
|
-
.sc(CreateVolume$)
|
|
1132
|
-
.build() {
|
|
1120
|
+
class CreateVolumeCommand extends command(_ep0, _mw0, "CreateVolume", CreateVolume$) {
|
|
1133
1121
|
}
|
|
1134
1122
|
|
|
1135
|
-
class CreateWorkspaceInstanceCommand extends
|
|
1136
|
-
.classBuilder()
|
|
1137
|
-
.ep(commonParams)
|
|
1138
|
-
.m(function (Command, cs, config, o) {
|
|
1139
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1140
|
-
})
|
|
1141
|
-
.s("EUCMIFrontendAPIService", "CreateWorkspaceInstance", {})
|
|
1142
|
-
.n("WorkspacesInstancesClient", "CreateWorkspaceInstanceCommand")
|
|
1143
|
-
.sc(CreateWorkspaceInstance$)
|
|
1144
|
-
.build() {
|
|
1123
|
+
class CreateWorkspaceInstanceCommand extends command(_ep0, _mw0, "CreateWorkspaceInstance", CreateWorkspaceInstance$) {
|
|
1145
1124
|
}
|
|
1146
1125
|
|
|
1147
|
-
class DeleteVolumeCommand extends
|
|
1148
|
-
.classBuilder()
|
|
1149
|
-
.ep(commonParams)
|
|
1150
|
-
.m(function (Command, cs, config, o) {
|
|
1151
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1152
|
-
})
|
|
1153
|
-
.s("EUCMIFrontendAPIService", "DeleteVolume", {})
|
|
1154
|
-
.n("WorkspacesInstancesClient", "DeleteVolumeCommand")
|
|
1155
|
-
.sc(DeleteVolume$)
|
|
1156
|
-
.build() {
|
|
1126
|
+
class DeleteVolumeCommand extends command(_ep0, _mw0, "DeleteVolume", DeleteVolume$) {
|
|
1157
1127
|
}
|
|
1158
1128
|
|
|
1159
|
-
class DeleteWorkspaceInstanceCommand extends
|
|
1160
|
-
.classBuilder()
|
|
1161
|
-
.ep(commonParams)
|
|
1162
|
-
.m(function (Command, cs, config, o) {
|
|
1163
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1164
|
-
})
|
|
1165
|
-
.s("EUCMIFrontendAPIService", "DeleteWorkspaceInstance", {})
|
|
1166
|
-
.n("WorkspacesInstancesClient", "DeleteWorkspaceInstanceCommand")
|
|
1167
|
-
.sc(DeleteWorkspaceInstance$)
|
|
1168
|
-
.build() {
|
|
1129
|
+
class DeleteWorkspaceInstanceCommand extends command(_ep0, _mw0, "DeleteWorkspaceInstance", DeleteWorkspaceInstance$) {
|
|
1169
1130
|
}
|
|
1170
1131
|
|
|
1171
|
-
class DisassociateVolumeCommand extends
|
|
1172
|
-
.classBuilder()
|
|
1173
|
-
.ep(commonParams)
|
|
1174
|
-
.m(function (Command, cs, config, o) {
|
|
1175
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1176
|
-
})
|
|
1177
|
-
.s("EUCMIFrontendAPIService", "DisassociateVolume", {})
|
|
1178
|
-
.n("WorkspacesInstancesClient", "DisassociateVolumeCommand")
|
|
1179
|
-
.sc(DisassociateVolume$)
|
|
1180
|
-
.build() {
|
|
1132
|
+
class DisassociateVolumeCommand extends command(_ep0, _mw0, "DisassociateVolume", DisassociateVolume$) {
|
|
1181
1133
|
}
|
|
1182
1134
|
|
|
1183
|
-
class GetWorkspaceInstanceCommand extends
|
|
1184
|
-
.classBuilder()
|
|
1185
|
-
.ep(commonParams)
|
|
1186
|
-
.m(function (Command, cs, config, o) {
|
|
1187
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1188
|
-
})
|
|
1189
|
-
.s("EUCMIFrontendAPIService", "GetWorkspaceInstance", {})
|
|
1190
|
-
.n("WorkspacesInstancesClient", "GetWorkspaceInstanceCommand")
|
|
1191
|
-
.sc(GetWorkspaceInstance$)
|
|
1192
|
-
.build() {
|
|
1135
|
+
class GetWorkspaceInstanceCommand extends command(_ep0, _mw0, "GetWorkspaceInstance", GetWorkspaceInstance$) {
|
|
1193
1136
|
}
|
|
1194
1137
|
|
|
1195
|
-
class ListInstanceTypesCommand extends
|
|
1196
|
-
.classBuilder()
|
|
1197
|
-
.ep(commonParams)
|
|
1198
|
-
.m(function (Command, cs, config, o) {
|
|
1199
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1200
|
-
})
|
|
1201
|
-
.s("EUCMIFrontendAPIService", "ListInstanceTypes", {})
|
|
1202
|
-
.n("WorkspacesInstancesClient", "ListInstanceTypesCommand")
|
|
1203
|
-
.sc(ListInstanceTypes$)
|
|
1204
|
-
.build() {
|
|
1138
|
+
class ListInstanceTypesCommand extends command(_ep0, _mw0, "ListInstanceTypes", ListInstanceTypes$) {
|
|
1205
1139
|
}
|
|
1206
1140
|
|
|
1207
|
-
class ListRegionsCommand extends
|
|
1208
|
-
.classBuilder()
|
|
1209
|
-
.ep(commonParams)
|
|
1210
|
-
.m(function (Command, cs, config, o) {
|
|
1211
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1212
|
-
})
|
|
1213
|
-
.s("EUCMIFrontendAPIService", "ListRegions", {})
|
|
1214
|
-
.n("WorkspacesInstancesClient", "ListRegionsCommand")
|
|
1215
|
-
.sc(ListRegions$)
|
|
1216
|
-
.build() {
|
|
1141
|
+
class ListRegionsCommand extends command(_ep0, _mw0, "ListRegions", ListRegions$) {
|
|
1217
1142
|
}
|
|
1218
1143
|
|
|
1219
|
-
class ListTagsForResourceCommand extends
|
|
1220
|
-
.classBuilder()
|
|
1221
|
-
.ep(commonParams)
|
|
1222
|
-
.m(function (Command, cs, config, o) {
|
|
1223
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1224
|
-
})
|
|
1225
|
-
.s("EUCMIFrontendAPIService", "ListTagsForResource", {})
|
|
1226
|
-
.n("WorkspacesInstancesClient", "ListTagsForResourceCommand")
|
|
1227
|
-
.sc(ListTagsForResource$)
|
|
1228
|
-
.build() {
|
|
1144
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1229
1145
|
}
|
|
1230
1146
|
|
|
1231
|
-
class ListWorkspaceInstancesCommand extends
|
|
1232
|
-
.classBuilder()
|
|
1233
|
-
.ep(commonParams)
|
|
1234
|
-
.m(function (Command, cs, config, o) {
|
|
1235
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1236
|
-
})
|
|
1237
|
-
.s("EUCMIFrontendAPIService", "ListWorkspaceInstances", {})
|
|
1238
|
-
.n("WorkspacesInstancesClient", "ListWorkspaceInstancesCommand")
|
|
1239
|
-
.sc(ListWorkspaceInstances$)
|
|
1240
|
-
.build() {
|
|
1147
|
+
class ListWorkspaceInstancesCommand extends command(_ep0, _mw0, "ListWorkspaceInstances", ListWorkspaceInstances$) {
|
|
1241
1148
|
}
|
|
1242
1149
|
|
|
1243
|
-
class TagResourceCommand extends
|
|
1244
|
-
.classBuilder()
|
|
1245
|
-
.ep(commonParams)
|
|
1246
|
-
.m(function (Command, cs, config, o) {
|
|
1247
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1248
|
-
})
|
|
1249
|
-
.s("EUCMIFrontendAPIService", "TagResource", {})
|
|
1250
|
-
.n("WorkspacesInstancesClient", "TagResourceCommand")
|
|
1251
|
-
.sc(TagResource$)
|
|
1252
|
-
.build() {
|
|
1150
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1253
1151
|
}
|
|
1254
1152
|
|
|
1255
|
-
class UntagResourceCommand extends
|
|
1256
|
-
.classBuilder()
|
|
1257
|
-
.ep(commonParams)
|
|
1258
|
-
.m(function (Command, cs, config, o) {
|
|
1259
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1260
|
-
})
|
|
1261
|
-
.s("EUCMIFrontendAPIService", "UntagResource", {})
|
|
1262
|
-
.n("WorkspacesInstancesClient", "UntagResourceCommand")
|
|
1263
|
-
.sc(UntagResource$)
|
|
1264
|
-
.build() {
|
|
1153
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1265
1154
|
}
|
|
1266
1155
|
|
|
1267
1156
|
const paginateListInstanceTypes = createPaginator(WorkspacesInstancesClient, ListInstanceTypesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "EUCMIFrontendAPIService", "WorkspacesInstancesClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { AssociateVolume$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AssociateVolumeCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("EUCMIFrontendAPIService", "AssociateVolume", {})
|
|
13
|
-
.n("WorkspacesInstancesClient", "AssociateVolumeCommand")
|
|
14
|
-
.sc(AssociateVolume$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AssociateVolumeCommand extends command(_ep0, _mw0, "AssociateVolume", AssociateVolume$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateVolume$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateVolumeCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("EUCMIFrontendAPIService", "CreateVolume", {})
|
|
13
|
-
.n("WorkspacesInstancesClient", "CreateVolumeCommand")
|
|
14
|
-
.sc(CreateVolume$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateVolumeCommand extends command(_ep0, _mw0, "CreateVolume", CreateVolume$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateWorkspaceInstance$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateWorkspaceInstanceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("EUCMIFrontendAPIService", "CreateWorkspaceInstance", {})
|
|
13
|
-
.n("WorkspacesInstancesClient", "CreateWorkspaceInstanceCommand")
|
|
14
|
-
.sc(CreateWorkspaceInstance$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateWorkspaceInstanceCommand extends command(_ep0, _mw0, "CreateWorkspaceInstance", CreateWorkspaceInstance$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteVolume$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteVolumeCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("EUCMIFrontendAPIService", "DeleteVolume", {})
|
|
13
|
-
.n("WorkspacesInstancesClient", "DeleteVolumeCommand")
|
|
14
|
-
.sc(DeleteVolume$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteVolumeCommand extends command(_ep0, _mw0, "DeleteVolume", DeleteVolume$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteWorkspaceInstance$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteWorkspaceInstanceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("EUCMIFrontendAPIService", "DeleteWorkspaceInstance", {})
|
|
13
|
-
.n("WorkspacesInstancesClient", "DeleteWorkspaceInstanceCommand")
|
|
14
|
-
.sc(DeleteWorkspaceInstance$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteWorkspaceInstanceCommand extends command(_ep0, _mw0, "DeleteWorkspaceInstance", DeleteWorkspaceInstance$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DisassociateVolume$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DisassociateVolumeCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("EUCMIFrontendAPIService", "DisassociateVolume", {})
|
|
13
|
-
.n("WorkspacesInstancesClient", "DisassociateVolumeCommand")
|
|
14
|
-
.sc(DisassociateVolume$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DisassociateVolumeCommand extends command(_ep0, _mw0, "DisassociateVolume", DisassociateVolume$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetWorkspaceInstance$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetWorkspaceInstanceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("EUCMIFrontendAPIService", "GetWorkspaceInstance", {})
|
|
13
|
-
.n("WorkspacesInstancesClient", "GetWorkspaceInstanceCommand")
|
|
14
|
-
.sc(GetWorkspaceInstance$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetWorkspaceInstanceCommand extends command(_ep0, _mw0, "GetWorkspaceInstance", GetWorkspaceInstance$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListInstanceTypes$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListInstanceTypesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("EUCMIFrontendAPIService", "ListInstanceTypes", {})
|
|
13
|
-
.n("WorkspacesInstancesClient", "ListInstanceTypesCommand")
|
|
14
|
-
.sc(ListInstanceTypes$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListInstanceTypesCommand extends command(_ep0, _mw0, "ListInstanceTypes", ListInstanceTypes$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListRegions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListRegionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("EUCMIFrontendAPIService", "ListRegions", {})
|
|
13
|
-
.n("WorkspacesInstancesClient", "ListRegionsCommand")
|
|
14
|
-
.sc(ListRegions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListRegionsCommand extends command(_ep0, _mw0, "ListRegions", ListRegions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("EUCMIFrontendAPIService", "ListTagsForResource", {})
|
|
13
|
-
.n("WorkspacesInstancesClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListWorkspaceInstances$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListWorkspaceInstancesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("EUCMIFrontendAPIService", "ListWorkspaceInstances", {})
|
|
13
|
-
.n("WorkspacesInstancesClient", "ListWorkspaceInstancesCommand")
|
|
14
|
-
.sc(ListWorkspaceInstances$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListWorkspaceInstancesCommand extends command(_ep0, _mw0, "ListWorkspaceInstances", ListWorkspaceInstances$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("EUCMIFrontendAPIService", "TagResource", {})
|
|
13
|
-
.n("WorkspacesInstancesClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("EUCMIFrontendAPIService", "UntagResource", {})
|
|
13
|
-
.n("WorkspacesInstancesClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./WorkspacesInstancesClient";
|
|
2
2
|
export * from "./WorkspacesInstances";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "EUCMIFrontendAPIService",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "Workspaces Instances",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WorkspacesInstancesClientResolvedConfig } from "./WorkspacesInstancesClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { AssociateVolumeRequest, AssociateVolumeResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WorkspacesInstancesClientResolvedConfig } from "../WorkspacesInstancesClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AssociateVolumeCommandInput extends AssociateVolumeRequest {
|
|
|
22
19
|
export interface AssociateVolumeCommandOutput extends AssociateVolumeResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AssociateVolumeCommand_base: {
|
|
25
|
-
new (input: AssociateVolumeCommandInput): import("@smithy/core/client").CommandImpl<AssociateVolumeCommandInput, AssociateVolumeCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AssociateVolumeCommandInput): import("@smithy/core/client").CommandImpl<AssociateVolumeCommandInput, AssociateVolumeCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AssociateVolumeCommandInput): import("@smithy/core/client").CommandImpl<AssociateVolumeCommandInput, AssociateVolumeCommandOutput, import("..").WorkspacesInstancesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssociateVolumeCommandInput): import("@smithy/core/client").CommandImpl<AssociateVolumeCommandInput, AssociateVolumeCommandOutput, import("..").WorkspacesInstancesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Attaches a volume to a WorkSpace Instance.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateVolumeRequest, CreateVolumeResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WorkspacesInstancesClientResolvedConfig } from "../WorkspacesInstancesClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateVolumeCommandInput extends CreateVolumeRequest {
|
|
|
22
19
|
export interface CreateVolumeCommandOutput extends CreateVolumeResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateVolumeCommand_base: {
|
|
25
|
-
new (input: CreateVolumeCommandInput): import("@smithy/core/client").CommandImpl<CreateVolumeCommandInput, CreateVolumeCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateVolumeCommandInput): import("@smithy/core/client").CommandImpl<CreateVolumeCommandInput, CreateVolumeCommandOutput, WorkspacesInstancesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateVolumeCommandInput): import("@smithy/core/client").CommandImpl<CreateVolumeCommandInput, CreateVolumeCommandOutput, import("..").WorkspacesInstancesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateVolumeCommandInput): import("@smithy/core/client").CommandImpl<CreateVolumeCommandInput, CreateVolumeCommandOutput, import("..").WorkspacesInstancesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a new volume for WorkSpace Instances.</p>
|