@aws-sdk/client-workspaces-instances 3.927.0 → 3.929.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 +807 -653
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/WorkspacesInstancesClient.js +2 -0
- package/dist-es/commands/AssociateVolumeCommand.js +3 -9
- package/dist-es/commands/CreateVolumeCommand.js +3 -10
- package/dist-es/commands/CreateWorkspaceInstanceCommand.js +3 -10
- package/dist-es/commands/DeleteVolumeCommand.js +3 -9
- package/dist-es/commands/DeleteWorkspaceInstanceCommand.js +3 -9
- package/dist-es/commands/DisassociateVolumeCommand.js +3 -9
- package/dist-es/commands/GetWorkspaceInstanceCommand.js +3 -9
- package/dist-es/commands/ListInstanceTypesCommand.js +3 -10
- package/dist-es/commands/ListRegionsCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListWorkspaceInstancesCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -75
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +763 -0
- package/dist-types/WorkspacesInstancesClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -56
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +110 -0
- package/dist-types/ts3.4/WorkspacesInstancesClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -42
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +116 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_0.js +0 -457
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -119
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -161
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ??
|
|
30
|
+
new protocols_1.AwsJson1_0Protocol({
|
|
31
|
+
defaultNamespace: "com.amazonaws.workspacesinstances",
|
|
32
|
+
serviceTarget: "EUCMIFrontendAPIService",
|
|
33
|
+
awsQueryCompatible: false,
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "Workspaces Instances",
|
|
29
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class WorkspacesInstancesClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { AssociateVolume } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AssociateVolumeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("EUCMIFrontendAPIService", "AssociateVolume", {})
|
|
17
13
|
.n("WorkspacesInstancesClient", "AssociateVolumeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AssociateVolumeCommand)
|
|
20
|
-
.de(de_AssociateVolumeCommand)
|
|
14
|
+
.sc(AssociateVolume)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateVolumeCommand, se_CreateVolumeCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { CreateVolume } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateVolumeCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("EUCMIFrontendAPIService", "CreateVolume", {})
|
|
18
13
|
.n("WorkspacesInstancesClient", "CreateVolumeCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateVolumeCommand)
|
|
21
|
-
.de(de_CreateVolumeCommand)
|
|
14
|
+
.sc(CreateVolume)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateWorkspaceInstanceCommand, se_CreateWorkspaceInstanceCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { CreateWorkspaceInstance } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateWorkspaceInstanceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("EUCMIFrontendAPIService", "CreateWorkspaceInstance", {})
|
|
18
13
|
.n("WorkspacesInstancesClient", "CreateWorkspaceInstanceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateWorkspaceInstanceCommand)
|
|
21
|
-
.de(de_CreateWorkspaceInstanceCommand)
|
|
14
|
+
.sc(CreateWorkspaceInstance)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteVolume } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteVolumeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("EUCMIFrontendAPIService", "DeleteVolume", {})
|
|
17
13
|
.n("WorkspacesInstancesClient", "DeleteVolumeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteVolumeCommand)
|
|
20
|
-
.de(de_DeleteVolumeCommand)
|
|
14
|
+
.sc(DeleteVolume)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteWorkspaceInstance } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteWorkspaceInstanceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("EUCMIFrontendAPIService", "DeleteWorkspaceInstance", {})
|
|
17
13
|
.n("WorkspacesInstancesClient", "DeleteWorkspaceInstanceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteWorkspaceInstanceCommand)
|
|
20
|
-
.de(de_DeleteWorkspaceInstanceCommand)
|
|
14
|
+
.sc(DeleteWorkspaceInstance)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DisassociateVolume } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DisassociateVolumeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("EUCMIFrontendAPIService", "DisassociateVolume", {})
|
|
17
13
|
.n("WorkspacesInstancesClient", "DisassociateVolumeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DisassociateVolumeCommand)
|
|
20
|
-
.de(de_DisassociateVolumeCommand)
|
|
14
|
+
.sc(DisassociateVolume)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetWorkspaceInstance } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetWorkspaceInstanceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("EUCMIFrontendAPIService", "GetWorkspaceInstance", {})
|
|
17
13
|
.n("WorkspacesInstancesClient", "GetWorkspaceInstanceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetWorkspaceInstanceCommand)
|
|
20
|
-
.de(de_GetWorkspaceInstanceCommand)
|
|
14
|
+
.sc(GetWorkspaceInstance)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ListInstanceTypesCommand, se_ListInstanceTypesCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { ListInstanceTypes } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListInstanceTypesCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("EUCMIFrontendAPIService", "ListInstanceTypes", {})
|
|
18
13
|
.n("WorkspacesInstancesClient", "ListInstanceTypesCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListInstanceTypesCommand)
|
|
21
|
-
.de(de_ListInstanceTypesCommand)
|
|
14
|
+
.sc(ListInstanceTypes)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ListRegionsCommand, se_ListRegionsCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { ListRegions } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListRegionsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("EUCMIFrontendAPIService", "ListRegions", {})
|
|
18
13
|
.n("WorkspacesInstancesClient", "ListRegionsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListRegionsCommand)
|
|
21
|
-
.de(de_ListRegionsCommand)
|
|
14
|
+
.sc(ListRegions)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTagsForResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("EUCMIFrontendAPIService", "ListTagsForResource", {})
|
|
17
13
|
.n("WorkspacesInstancesClient", "ListTagsForResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTagsForResourceCommand)
|
|
20
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ListWorkspaceInstancesCommand, se_ListWorkspaceInstancesCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { ListWorkspaceInstances } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListWorkspaceInstancesCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("EUCMIFrontendAPIService", "ListWorkspaceInstances", {})
|
|
18
13
|
.n("WorkspacesInstancesClient", "ListWorkspaceInstancesCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListWorkspaceInstancesCommand)
|
|
21
|
-
.de(de_ListWorkspaceInstancesCommand)
|
|
14
|
+
.sc(ListWorkspaceInstances)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("EUCMIFrontendAPIService", "TagResource", {})
|
|
17
13
|
.n("WorkspacesInstancesClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("EUCMIFrontendAPIService", "UntagResource", {})
|
|
17
13
|
.n("WorkspacesInstancesClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { WorkspacesInstancesServiceException as __BaseException } from "./WorkspacesInstancesServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -229,77 +228,3 @@ export const ProvisionStateEnum = {
|
|
|
229
228
|
ERROR_ALLOCATING: "ERROR_ALLOCATING",
|
|
230
229
|
ERROR_DEALLOCATING: "ERROR_DEALLOCATING",
|
|
231
230
|
};
|
|
232
|
-
export const EbsBlockDeviceFilterSensitiveLog = (obj) => ({
|
|
233
|
-
...obj,
|
|
234
|
-
...(obj.KmsKeyId && { KmsKeyId: SENSITIVE_STRING }),
|
|
235
|
-
});
|
|
236
|
-
export const BlockDeviceMappingRequestFilterSensitiveLog = (obj) => ({
|
|
237
|
-
...obj,
|
|
238
|
-
...(obj.Ebs && { Ebs: EbsBlockDeviceFilterSensitiveLog(obj.Ebs) }),
|
|
239
|
-
});
|
|
240
|
-
export const CreateVolumeRequestFilterSensitiveLog = (obj) => ({
|
|
241
|
-
...obj,
|
|
242
|
-
...(obj.ClientToken && { ClientToken: SENSITIVE_STRING }),
|
|
243
|
-
...(obj.KmsKeyId && { KmsKeyId: SENSITIVE_STRING }),
|
|
244
|
-
});
|
|
245
|
-
export const InstanceIpv6AddressFilterSensitiveLog = (obj) => ({
|
|
246
|
-
...obj,
|
|
247
|
-
...(obj.Ipv6Address && { Ipv6Address: SENSITIVE_STRING }),
|
|
248
|
-
});
|
|
249
|
-
export const PrivateIpAddressSpecificationFilterSensitiveLog = (obj) => ({
|
|
250
|
-
...obj,
|
|
251
|
-
...(obj.PrivateIpAddress && { PrivateIpAddress: SENSITIVE_STRING }),
|
|
252
|
-
});
|
|
253
|
-
export const InstanceNetworkInterfaceSpecificationFilterSensitiveLog = (obj) => ({
|
|
254
|
-
...obj,
|
|
255
|
-
...(obj.Ipv6Addresses && {
|
|
256
|
-
Ipv6Addresses: obj.Ipv6Addresses.map((item) => InstanceIpv6AddressFilterSensitiveLog(item)),
|
|
257
|
-
}),
|
|
258
|
-
...(obj.PrivateIpAddress && { PrivateIpAddress: SENSITIVE_STRING }),
|
|
259
|
-
...(obj.PrivateIpAddresses && {
|
|
260
|
-
PrivateIpAddresses: obj.PrivateIpAddresses.map((item) => PrivateIpAddressSpecificationFilterSensitiveLog(item)),
|
|
261
|
-
}),
|
|
262
|
-
});
|
|
263
|
-
export const ManagedInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
264
|
-
...obj,
|
|
265
|
-
...(obj.BlockDeviceMappings && {
|
|
266
|
-
BlockDeviceMappings: obj.BlockDeviceMappings.map((item) => BlockDeviceMappingRequestFilterSensitiveLog(item)),
|
|
267
|
-
}),
|
|
268
|
-
...(obj.Ipv6Addresses && {
|
|
269
|
-
Ipv6Addresses: obj.Ipv6Addresses.map((item) => InstanceIpv6AddressFilterSensitiveLog(item)),
|
|
270
|
-
}),
|
|
271
|
-
...(obj.NetworkInterfaces && {
|
|
272
|
-
NetworkInterfaces: obj.NetworkInterfaces.map((item) => InstanceNetworkInterfaceSpecificationFilterSensitiveLog(item)),
|
|
273
|
-
}),
|
|
274
|
-
...(obj.PrivateIpAddress && { PrivateIpAddress: SENSITIVE_STRING }),
|
|
275
|
-
...(obj.UserData && { UserData: SENSITIVE_STRING }),
|
|
276
|
-
});
|
|
277
|
-
export const CreateWorkspaceInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
278
|
-
...obj,
|
|
279
|
-
...(obj.ClientToken && { ClientToken: SENSITIVE_STRING }),
|
|
280
|
-
...(obj.ManagedInstance && { ManagedInstance: ManagedInstanceRequestFilterSensitiveLog(obj.ManagedInstance) }),
|
|
281
|
-
});
|
|
282
|
-
export const ListInstanceTypesRequestFilterSensitiveLog = (obj) => ({
|
|
283
|
-
...obj,
|
|
284
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
285
|
-
});
|
|
286
|
-
export const ListInstanceTypesResponseFilterSensitiveLog = (obj) => ({
|
|
287
|
-
...obj,
|
|
288
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
289
|
-
});
|
|
290
|
-
export const ListRegionsRequestFilterSensitiveLog = (obj) => ({
|
|
291
|
-
...obj,
|
|
292
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
293
|
-
});
|
|
294
|
-
export const ListRegionsResponseFilterSensitiveLog = (obj) => ({
|
|
295
|
-
...obj,
|
|
296
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
297
|
-
});
|
|
298
|
-
export const ListWorkspaceInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
299
|
-
...obj,
|
|
300
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
301
|
-
});
|
|
302
|
-
export const ListWorkspaceInstancesResponseFilterSensitiveLog = (obj) => ({
|
|
303
|
-
...obj,
|
|
304
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
305
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_0Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.workspacesinstances",
|
|
29
|
+
serviceTarget: "EUCMIFrontendAPIService",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "Workspaces Instances",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|