@aws-sdk/client-workspaces 3.181.0 → 3.183.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/CHANGELOG.md +8 -0
- package/dist-es/WorkSpaces.js +254 -261
- package/dist-es/WorkSpacesClient.js +22 -28
- package/dist-es/commands/AssociateConnectionAliasCommand.js +21 -28
- package/dist-es/commands/AssociateIpGroupsCommand.js +21 -28
- package/dist-es/commands/AuthorizeIpRulesCommand.js +21 -28
- package/dist-es/commands/CopyWorkspaceImageCommand.js +21 -28
- package/dist-es/commands/CreateConnectClientAddInCommand.js +21 -28
- package/dist-es/commands/CreateConnectionAliasCommand.js +21 -28
- package/dist-es/commands/CreateIpGroupCommand.js +21 -28
- package/dist-es/commands/CreateTagsCommand.js +21 -28
- package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js +21 -28
- package/dist-es/commands/CreateWorkspaceBundleCommand.js +21 -28
- package/dist-es/commands/CreateWorkspaceImageCommand.js +21 -28
- package/dist-es/commands/CreateWorkspacesCommand.js +21 -28
- package/dist-es/commands/DeleteClientBrandingCommand.js +21 -28
- package/dist-es/commands/DeleteConnectClientAddInCommand.js +21 -28
- package/dist-es/commands/DeleteConnectionAliasCommand.js +21 -28
- package/dist-es/commands/DeleteIpGroupCommand.js +21 -28
- package/dist-es/commands/DeleteTagsCommand.js +21 -28
- package/dist-es/commands/DeleteWorkspaceBundleCommand.js +21 -28
- package/dist-es/commands/DeleteWorkspaceImageCommand.js +21 -28
- package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js +21 -28
- package/dist-es/commands/DescribeAccountCommand.js +21 -28
- package/dist-es/commands/DescribeAccountModificationsCommand.js +21 -28
- package/dist-es/commands/DescribeClientBrandingCommand.js +21 -28
- package/dist-es/commands/DescribeClientPropertiesCommand.js +21 -28
- package/dist-es/commands/DescribeConnectClientAddInsCommand.js +21 -28
- package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js +21 -28
- package/dist-es/commands/DescribeConnectionAliasesCommand.js +21 -28
- package/dist-es/commands/DescribeIpGroupsCommand.js +21 -28
- package/dist-es/commands/DescribeTagsCommand.js +21 -28
- package/dist-es/commands/DescribeWorkspaceBundlesCommand.js +21 -28
- package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js +21 -28
- package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js +21 -28
- package/dist-es/commands/DescribeWorkspaceImagesCommand.js +21 -28
- package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js +21 -28
- package/dist-es/commands/DescribeWorkspacesCommand.js +21 -28
- package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js +21 -28
- package/dist-es/commands/DisassociateConnectionAliasCommand.js +21 -28
- package/dist-es/commands/DisassociateIpGroupsCommand.js +21 -28
- package/dist-es/commands/ImportClientBrandingCommand.js +21 -28
- package/dist-es/commands/ImportWorkspaceImageCommand.js +21 -28
- package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js +21 -28
- package/dist-es/commands/MigrateWorkspaceCommand.js +21 -28
- package/dist-es/commands/ModifyAccountCommand.js +21 -28
- package/dist-es/commands/ModifyClientPropertiesCommand.js +21 -28
- package/dist-es/commands/ModifySamlPropertiesCommand.js +21 -28
- package/dist-es/commands/ModifySelfservicePermissionsCommand.js +21 -28
- package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js +21 -28
- package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js +21 -28
- package/dist-es/commands/ModifyWorkspacePropertiesCommand.js +21 -28
- package/dist-es/commands/ModifyWorkspaceStateCommand.js +21 -28
- package/dist-es/commands/RebootWorkspacesCommand.js +21 -28
- package/dist-es/commands/RebuildWorkspacesCommand.js +21 -28
- package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js +21 -28
- package/dist-es/commands/RestoreWorkspaceCommand.js +21 -28
- package/dist-es/commands/RevokeIpRulesCommand.js +21 -28
- package/dist-es/commands/StartWorkspacesCommand.js +21 -28
- package/dist-es/commands/StopWorkspacesCommand.js +21 -28
- package/dist-es/commands/TerminateWorkspacesCommand.js +21 -28
- package/dist-es/commands/UpdateConnectClientAddInCommand.js +21 -28
- package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js +21 -28
- package/dist-es/commands/UpdateRulesOfIpGroupCommand.js +21 -28
- package/dist-es/commands/UpdateWorkspaceBundleCommand.js +21 -28
- package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/WorkSpacesServiceException.js +5 -10
- package/dist-es/models/models_0.js +658 -325
- package/dist-es/pagination/DescribeWorkspaceBundlesPaginator.js +24 -67
- package/dist-es/pagination/DescribeWorkspaceDirectoriesPaginator.js +24 -67
- package/dist-es/pagination/DescribeWorkspacesPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +4119 -5250
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateConnectionAliasPermissionRequestFilterSensitiveLog, UpdateConnectionAliasPermissionResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1UpdateConnectionAliasPermissionCommand, serializeAws_json1_1UpdateConnectionAliasPermissionCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateConnectionAliasPermissionCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "WorkSpacesClient";
|
|
15
|
+
const commandName = "UpdateConnectionAliasPermissionCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateConnectionAliasPermissionRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateConnectionAliasPermissionResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateConnectionAliasPermissionCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_json1_1UpdateConnectionAliasPermissionCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1UpdateConnectionAliasPermissionCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateConnectionAliasPermissionCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateRulesOfIpGroupRequestFilterSensitiveLog, UpdateRulesOfIpGroupResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1UpdateRulesOfIpGroupCommand, serializeAws_json1_1UpdateRulesOfIpGroupCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateRulesOfIpGroupCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "WorkSpacesClient";
|
|
15
|
+
const commandName = "UpdateRulesOfIpGroupCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateRulesOfIpGroupRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateRulesOfIpGroupResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateRulesOfIpGroupCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_json1_1UpdateRulesOfIpGroupCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1UpdateRulesOfIpGroupCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateRulesOfIpGroupCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateWorkspaceBundleRequestFilterSensitiveLog, UpdateWorkspaceBundleResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1UpdateWorkspaceBundleCommand, serializeAws_json1_1UpdateWorkspaceBundleCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateWorkspaceBundleCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "WorkSpacesClient";
|
|
15
|
+
const commandName = "UpdateWorkspaceBundleCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateWorkspaceBundleRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateWorkspaceBundleResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateWorkspaceBundleCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_json1_1UpdateWorkspaceBundleCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1UpdateWorkspaceBundleCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateWorkspaceBundleCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateWorkspaceImagePermissionRequestFilterSensitiveLog, UpdateWorkspaceImagePermissionResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1UpdateWorkspaceImagePermissionCommand, serializeAws_json1_1UpdateWorkspaceImagePermissionCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateWorkspaceImagePermissionCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "WorkSpacesClient";
|
|
15
|
+
const commandName = "UpdateWorkspaceImagePermissionCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateWorkspaceImagePermissionRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateWorkspaceImagePermissionResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateWorkspaceImagePermissionCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_json1_1UpdateWorkspaceImagePermissionCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1UpdateWorkspaceImagePermissionCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateWorkspaceImagePermissionCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
2
|
+
const regionHash = {
|
|
4
3
|
"us-east-1": {
|
|
5
4
|
variants: [
|
|
6
5
|
{
|
|
@@ -26,7 +25,7 @@ var regionHash = {
|
|
|
26
25
|
],
|
|
27
26
|
},
|
|
28
27
|
};
|
|
29
|
-
|
|
28
|
+
const partitionHash = {
|
|
30
29
|
aws: {
|
|
31
30
|
regions: [
|
|
32
31
|
"af-south-1",
|
|
@@ -148,8 +147,9 @@ var partitionHash = {
|
|
|
148
147
|
],
|
|
149
148
|
},
|
|
150
149
|
};
|
|
151
|
-
export
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
150
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
151
|
+
...options,
|
|
152
|
+
signingService: "workspaces",
|
|
153
|
+
regionHash,
|
|
154
|
+
partitionHash,
|
|
155
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, WorkSpacesServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class WorkSpacesServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, WorkSpacesServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { WorkSpacesServiceException };
|
|
7
|
+
}
|