@aws-sdk/client-workspaces 3.46.0 → 3.47.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 +11 -0
- package/dist-cjs/endpoints.js +0 -12
- package/dist-cjs/models/models_0.js +4 -88
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/endpoints.js +0 -12
- package/dist-es/models/models_0.js +0 -56
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/WorkSpacesClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -84
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -56
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
18
|
|
|
8
19
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const regionHash = {
|
|
6
6
|
"us-east-1": {
|
|
7
7
|
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "workspaces.us-east-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
8
|
{
|
|
13
9
|
hostname: "workspaces-fips.us-east-1.amazonaws.com",
|
|
14
10
|
tags: ["fips"],
|
|
@@ -17,10 +13,6 @@ const regionHash = {
|
|
|
17
13
|
},
|
|
18
14
|
"us-gov-west-1": {
|
|
19
15
|
variants: [
|
|
20
|
-
{
|
|
21
|
-
hostname: "workspaces.us-gov-west-1.amazonaws.com",
|
|
22
|
-
tags: [],
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
hostname: "workspaces-fips.us-gov-west-1.amazonaws.com",
|
|
26
18
|
tags: ["fips"],
|
|
@@ -29,10 +21,6 @@ const regionHash = {
|
|
|
29
21
|
},
|
|
30
22
|
"us-west-2": {
|
|
31
23
|
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "workspaces.us-west-2.amazonaws.com",
|
|
34
|
-
tags: [],
|
|
35
|
-
},
|
|
36
24
|
{
|
|
37
25
|
hostname: "workspaces-fips.us-west-2.amazonaws.com",
|
|
38
26
|
tags: ["fips"],
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateWorkspaceImagePermissionResult = exports.UpdateWorkspaceImagePermissionRequest = exports.UpdateWorkspaceBundleResult = exports.UpdateWorkspaceBundleRequest = exports.UpdateRulesOfIpGroupResult = exports.UpdateRulesOfIpGroupRequest = exports.UpdateConnectionAliasPermissionResult = exports.UpdateConnectionAliasPermissionRequest = exports.TerminateWorkspacesResult = exports.TerminateWorkspacesRequest = exports.TerminateRequest = exports.StopWorkspacesResult = exports.StopWorkspacesRequest = exports.StopRequest = exports.StartWorkspacesResult = exports.StartWorkspacesRequest =
|
|
7
|
-
var AccessDeniedException;
|
|
8
|
-
(function (AccessDeniedException) {
|
|
9
|
-
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
10
|
-
...obj,
|
|
11
|
-
});
|
|
12
|
-
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
3
|
+
exports.CreateWorkspacesResult = exports.Workspace = exports.WorkspaceState = exports.ModificationState = exports.ModificationStateEnum = exports.ModificationResourceEnum = exports.FailedCreateWorkspaceRequest = exports.CreateWorkspacesRequest = exports.WorkspaceRequest = exports.WorkspaceProperties = exports.RunningMode = exports.CreateWorkspaceBundleResult = exports.CreateWorkspaceBundleRequest = exports.CreateUpdatedWorkspaceImageResult = exports.CreateUpdatedWorkspaceImageRequest = exports.CreateTagsResult = exports.CreateTagsRequest = exports.CreateIpGroupResult = exports.CreateIpGroupRequest = exports.CreateConnectionAliasResult = exports.CreateConnectionAliasRequest = exports.CopyWorkspaceImageResult = exports.CopyWorkspaceImageRequest = exports.Tag = exports.ConnectionState = exports.ConnectionAliasPermission = exports.ConnectionAlias = exports.ConnectionAliasState = exports.ConnectionAliasAssociation = exports.ClientPropertiesResult = exports.ClientProperties = exports.ReconnectEnum = exports.WorkspaceBundle = exports.UserStorage = exports.RootStorage = exports.ComputeType = exports.Compute = exports.AuthorizeIpRulesResult = exports.AuthorizeIpRulesRequest = exports.IpRuleItem = exports.AssociationStatus = exports.AssociateIpGroupsResult = exports.AssociateIpGroupsRequest = exports.AssociateConnectionAliasResult = exports.AssociateConnectionAliasRequest = exports.Application = exports.AccountModification = exports.DedicatedTenancyModificationStateEnum = exports.DedicatedTenancySupportResultEnum = exports.AccessPropertyValue = void 0;
|
|
4
|
+
exports.WorkspaceImage = exports.UpdateResult = exports.WorkspaceImageState = exports.WorkspaceImageRequiredTenancy = exports.OperatingSystem = exports.OperatingSystemType = exports.DescribeWorkspaceImagesRequest = exports.ImageType = exports.DescribeWorkspaceImagePermissionsResult = exports.ImagePermission = exports.DescribeWorkspaceImagePermissionsRequest = exports.DescribeWorkspaceDirectoriesResult = exports.WorkspaceDirectory = exports.WorkspaceAccessProperties = exports.Tenancy = exports.WorkspaceDirectoryState = exports.SelfservicePermissions = exports.WorkspaceDirectoryType = exports.DescribeWorkspaceDirectoriesRequest = exports.DescribeWorkspaceBundlesResult = exports.DescribeWorkspaceBundlesRequest = exports.DescribeTagsResult = exports.DescribeTagsRequest = exports.DescribeIpGroupsResult = exports.WorkspacesIpGroup = exports.DescribeIpGroupsRequest = exports.DescribeConnectionAliasPermissionsResult = exports.DescribeConnectionAliasPermissionsRequest = exports.DescribeConnectionAliasesResult = exports.DescribeConnectionAliasesRequest = exports.DescribeClientPropertiesResult = exports.DescribeClientPropertiesRequest = exports.DescribeAccountModificationsResult = exports.DescribeAccountModificationsRequest = exports.DescribeAccountResult = exports.DescribeAccountRequest = exports.DeregisterWorkspaceDirectoryResult = exports.DeregisterWorkspaceDirectoryRequest = exports.DeleteWorkspaceImageResult = exports.DeleteWorkspaceImageRequest = exports.DeleteWorkspaceBundleResult = exports.DeleteWorkspaceBundleRequest = exports.DeleteTagsResult = exports.DeleteTagsRequest = exports.DeleteIpGroupResult = exports.DeleteIpGroupRequest = exports.DeleteConnectionAliasResult = exports.DeleteConnectionAliasRequest = exports.DefaultWorkspaceCreationProperties = exports.DedicatedTenancySupportEnum = void 0;
|
|
5
|
+
exports.StartRequest = exports.RevokeIpRulesResult = exports.RevokeIpRulesRequest = exports.RestoreWorkspaceResult = exports.RestoreWorkspaceRequest = exports.RegisterWorkspaceDirectoryResult = exports.RegisterWorkspaceDirectoryRequest = exports.RebuildWorkspacesResult = exports.RebuildWorkspacesRequest = exports.RebuildRequest = exports.RebootWorkspacesResult = exports.RebootWorkspacesRequest = exports.RebootRequest = exports.ModifyWorkspaceStateResult = exports.ModifyWorkspaceStateRequest = exports.TargetWorkspaceState = exports.ModifyWorkspacePropertiesResult = exports.ModifyWorkspacePropertiesRequest = exports.ModifyWorkspaceCreationPropertiesResult = exports.ModifyWorkspaceCreationPropertiesRequest = exports.WorkspaceCreationProperties = exports.ModifyWorkspaceAccessPropertiesResult = exports.ModifyWorkspaceAccessPropertiesRequest = exports.ModifySelfservicePermissionsResult = exports.ModifySelfservicePermissionsRequest = exports.ModifyClientPropertiesResult = exports.ModifyClientPropertiesRequest = exports.ModifyAccountResult = exports.ModifyAccountRequest = exports.MigrateWorkspaceResult = exports.MigrateWorkspaceRequest = exports.ListAvailableManagementCidrRangesResult = exports.ListAvailableManagementCidrRangesRequest = exports.ImportWorkspaceImageResult = exports.ImportWorkspaceImageRequest = exports.WorkspaceImageIngestionProcess = exports.FailedWorkspaceChangeRequest = exports.DisassociateIpGroupsResult = exports.DisassociateIpGroupsRequest = exports.DisassociateConnectionAliasResult = exports.DisassociateConnectionAliasRequest = exports.DescribeWorkspaceSnapshotsResult = exports.Snapshot = exports.DescribeWorkspaceSnapshotsRequest = exports.DescribeWorkspacesConnectionStatusResult = exports.WorkspaceConnectionStatus = exports.DescribeWorkspacesConnectionStatusRequest = exports.DescribeWorkspacesResult = exports.DescribeWorkspacesRequest = exports.DescribeWorkspaceImagesResult = void 0;
|
|
6
|
+
exports.UpdateWorkspaceImagePermissionResult = exports.UpdateWorkspaceImagePermissionRequest = exports.UpdateWorkspaceBundleResult = exports.UpdateWorkspaceBundleRequest = exports.UpdateRulesOfIpGroupResult = exports.UpdateRulesOfIpGroupRequest = exports.UpdateConnectionAliasPermissionResult = exports.UpdateConnectionAliasPermissionRequest = exports.TerminateWorkspacesResult = exports.TerminateWorkspacesRequest = exports.TerminateRequest = exports.StopWorkspacesResult = exports.StopWorkspacesRequest = exports.StopRequest = exports.StartWorkspacesResult = exports.StartWorkspacesRequest = void 0;
|
|
13
7
|
var AccessPropertyValue;
|
|
14
8
|
(function (AccessPropertyValue) {
|
|
15
9
|
AccessPropertyValue["ALLOW"] = "ALLOW";
|
|
@@ -49,36 +43,6 @@ var AssociateConnectionAliasResult;
|
|
|
49
43
|
...obj,
|
|
50
44
|
});
|
|
51
45
|
})(AssociateConnectionAliasResult = exports.AssociateConnectionAliasResult || (exports.AssociateConnectionAliasResult = {}));
|
|
52
|
-
var InvalidParameterValuesException;
|
|
53
|
-
(function (InvalidParameterValuesException) {
|
|
54
|
-
InvalidParameterValuesException.filterSensitiveLog = (obj) => ({
|
|
55
|
-
...obj,
|
|
56
|
-
});
|
|
57
|
-
})(InvalidParameterValuesException = exports.InvalidParameterValuesException || (exports.InvalidParameterValuesException = {}));
|
|
58
|
-
var InvalidResourceStateException;
|
|
59
|
-
(function (InvalidResourceStateException) {
|
|
60
|
-
InvalidResourceStateException.filterSensitiveLog = (obj) => ({
|
|
61
|
-
...obj,
|
|
62
|
-
});
|
|
63
|
-
})(InvalidResourceStateException = exports.InvalidResourceStateException || (exports.InvalidResourceStateException = {}));
|
|
64
|
-
var OperationNotSupportedException;
|
|
65
|
-
(function (OperationNotSupportedException) {
|
|
66
|
-
OperationNotSupportedException.filterSensitiveLog = (obj) => ({
|
|
67
|
-
...obj,
|
|
68
|
-
});
|
|
69
|
-
})(OperationNotSupportedException = exports.OperationNotSupportedException || (exports.OperationNotSupportedException = {}));
|
|
70
|
-
var ResourceAssociatedException;
|
|
71
|
-
(function (ResourceAssociatedException) {
|
|
72
|
-
ResourceAssociatedException.filterSensitiveLog = (obj) => ({
|
|
73
|
-
...obj,
|
|
74
|
-
});
|
|
75
|
-
})(ResourceAssociatedException = exports.ResourceAssociatedException || (exports.ResourceAssociatedException = {}));
|
|
76
|
-
var ResourceNotFoundException;
|
|
77
|
-
(function (ResourceNotFoundException) {
|
|
78
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
79
|
-
...obj,
|
|
80
|
-
});
|
|
81
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
82
46
|
var AssociateIpGroupsRequest;
|
|
83
47
|
(function (AssociateIpGroupsRequest) {
|
|
84
48
|
AssociateIpGroupsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -91,12 +55,6 @@ var AssociateIpGroupsResult;
|
|
|
91
55
|
...obj,
|
|
92
56
|
});
|
|
93
57
|
})(AssociateIpGroupsResult = exports.AssociateIpGroupsResult || (exports.AssociateIpGroupsResult = {}));
|
|
94
|
-
var ResourceLimitExceededException;
|
|
95
|
-
(function (ResourceLimitExceededException) {
|
|
96
|
-
ResourceLimitExceededException.filterSensitiveLog = (obj) => ({
|
|
97
|
-
...obj,
|
|
98
|
-
});
|
|
99
|
-
})(ResourceLimitExceededException = exports.ResourceLimitExceededException || (exports.ResourceLimitExceededException = {}));
|
|
100
58
|
var AssociationStatus;
|
|
101
59
|
(function (AssociationStatus) {
|
|
102
60
|
AssociationStatus["ASSOCIATED_WITH_OWNER_ACCOUNT"] = "ASSOCIATED_WITH_OWNER_ACCOUNT";
|
|
@@ -222,18 +180,6 @@ var CopyWorkspaceImageResult;
|
|
|
222
180
|
...obj,
|
|
223
181
|
});
|
|
224
182
|
})(CopyWorkspaceImageResult = exports.CopyWorkspaceImageResult || (exports.CopyWorkspaceImageResult = {}));
|
|
225
|
-
var ResourceAlreadyExistsException;
|
|
226
|
-
(function (ResourceAlreadyExistsException) {
|
|
227
|
-
ResourceAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
228
|
-
...obj,
|
|
229
|
-
});
|
|
230
|
-
})(ResourceAlreadyExistsException = exports.ResourceAlreadyExistsException || (exports.ResourceAlreadyExistsException = {}));
|
|
231
|
-
var ResourceUnavailableException;
|
|
232
|
-
(function (ResourceUnavailableException) {
|
|
233
|
-
ResourceUnavailableException.filterSensitiveLog = (obj) => ({
|
|
234
|
-
...obj,
|
|
235
|
-
});
|
|
236
|
-
})(ResourceUnavailableException = exports.ResourceUnavailableException || (exports.ResourceUnavailableException = {}));
|
|
237
183
|
var CreateConnectionAliasRequest;
|
|
238
184
|
(function (CreateConnectionAliasRequest) {
|
|
239
185
|
CreateConnectionAliasRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -258,12 +204,6 @@ var CreateIpGroupResult;
|
|
|
258
204
|
...obj,
|
|
259
205
|
});
|
|
260
206
|
})(CreateIpGroupResult = exports.CreateIpGroupResult || (exports.CreateIpGroupResult = {}));
|
|
261
|
-
var ResourceCreationFailedException;
|
|
262
|
-
(function (ResourceCreationFailedException) {
|
|
263
|
-
ResourceCreationFailedException.filterSensitiveLog = (obj) => ({
|
|
264
|
-
...obj,
|
|
265
|
-
});
|
|
266
|
-
})(ResourceCreationFailedException = exports.ResourceCreationFailedException || (exports.ResourceCreationFailedException = {}));
|
|
267
207
|
var CreateTagsRequest;
|
|
268
208
|
(function (CreateTagsRequest) {
|
|
269
209
|
CreateTagsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -800,12 +740,6 @@ var MigrateWorkspaceResult;
|
|
|
800
740
|
...obj,
|
|
801
741
|
});
|
|
802
742
|
})(MigrateWorkspaceResult = exports.MigrateWorkspaceResult || (exports.MigrateWorkspaceResult = {}));
|
|
803
|
-
var OperationInProgressException;
|
|
804
|
-
(function (OperationInProgressException) {
|
|
805
|
-
OperationInProgressException.filterSensitiveLog = (obj) => ({
|
|
806
|
-
...obj,
|
|
807
|
-
});
|
|
808
|
-
})(OperationInProgressException = exports.OperationInProgressException || (exports.OperationInProgressException = {}));
|
|
809
743
|
var ModifyAccountRequest;
|
|
810
744
|
(function (ModifyAccountRequest) {
|
|
811
745
|
ModifyAccountRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -884,12 +818,6 @@ var ModifyWorkspacePropertiesResult;
|
|
|
884
818
|
...obj,
|
|
885
819
|
});
|
|
886
820
|
})(ModifyWorkspacePropertiesResult = exports.ModifyWorkspacePropertiesResult || (exports.ModifyWorkspacePropertiesResult = {}));
|
|
887
|
-
var UnsupportedWorkspaceConfigurationException;
|
|
888
|
-
(function (UnsupportedWorkspaceConfigurationException) {
|
|
889
|
-
UnsupportedWorkspaceConfigurationException.filterSensitiveLog = (obj) => ({
|
|
890
|
-
...obj,
|
|
891
|
-
});
|
|
892
|
-
})(UnsupportedWorkspaceConfigurationException = exports.UnsupportedWorkspaceConfigurationException || (exports.UnsupportedWorkspaceConfigurationException = {}));
|
|
893
821
|
var TargetWorkspaceState;
|
|
894
822
|
(function (TargetWorkspaceState) {
|
|
895
823
|
TargetWorkspaceState["ADMIN_MAINTENANCE"] = "ADMIN_MAINTENANCE";
|
|
@@ -955,18 +883,6 @@ var RegisterWorkspaceDirectoryResult;
|
|
|
955
883
|
...obj,
|
|
956
884
|
});
|
|
957
885
|
})(RegisterWorkspaceDirectoryResult = exports.RegisterWorkspaceDirectoryResult || (exports.RegisterWorkspaceDirectoryResult = {}));
|
|
958
|
-
var UnsupportedNetworkConfigurationException;
|
|
959
|
-
(function (UnsupportedNetworkConfigurationException) {
|
|
960
|
-
UnsupportedNetworkConfigurationException.filterSensitiveLog = (obj) => ({
|
|
961
|
-
...obj,
|
|
962
|
-
});
|
|
963
|
-
})(UnsupportedNetworkConfigurationException = exports.UnsupportedNetworkConfigurationException || (exports.UnsupportedNetworkConfigurationException = {}));
|
|
964
|
-
var WorkspacesDefaultRoleNotFoundException;
|
|
965
|
-
(function (WorkspacesDefaultRoleNotFoundException) {
|
|
966
|
-
WorkspacesDefaultRoleNotFoundException.filterSensitiveLog = (obj) => ({
|
|
967
|
-
...obj,
|
|
968
|
-
});
|
|
969
|
-
})(WorkspacesDefaultRoleNotFoundException = exports.WorkspacesDefaultRoleNotFoundException || (exports.WorkspacesDefaultRoleNotFoundException = {}));
|
|
970
886
|
var RestoreWorkspaceRequest;
|
|
971
887
|
(function (RestoreWorkspaceRequest) {
|
|
972
888
|
RestoreWorkspaceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
18
20
|
const getRuntimeConfig = (config) => {
|
|
19
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
20
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
21
25
|
return {
|
|
22
26
|
...clientSharedValues,
|
|
23
27
|
...config,
|
|
24
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
25
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
26
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
27
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
29
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
30
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
31
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
32
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
33
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
34
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
35
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
36
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"us-east-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "workspaces.us-east-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "workspaces-fips.us-east-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-gov-west-1": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "workspaces.us-gov-west-1.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "workspaces-fips.us-gov-west-1.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -27,10 +19,6 @@ var regionHash = {
|
|
|
27
19
|
},
|
|
28
20
|
"us-west-2": {
|
|
29
21
|
variants: [
|
|
30
|
-
{
|
|
31
|
-
hostname: "workspaces.us-west-2.amazonaws.com",
|
|
32
|
-
tags: [],
|
|
33
|
-
},
|
|
34
22
|
{
|
|
35
23
|
hostname: "workspaces-fips.us-west-2.amazonaws.com",
|
|
36
24
|
tags: ["fips"],
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
export var AccessDeniedException;
|
|
3
|
-
(function (AccessDeniedException) {
|
|
4
|
-
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
-
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
6
2
|
export var AccessPropertyValue;
|
|
7
3
|
(function (AccessPropertyValue) {
|
|
8
4
|
AccessPropertyValue["ALLOW"] = "ALLOW";
|
|
@@ -36,26 +32,6 @@ export var AssociateConnectionAliasResult;
|
|
|
36
32
|
(function (AssociateConnectionAliasResult) {
|
|
37
33
|
AssociateConnectionAliasResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
38
34
|
})(AssociateConnectionAliasResult || (AssociateConnectionAliasResult = {}));
|
|
39
|
-
export var InvalidParameterValuesException;
|
|
40
|
-
(function (InvalidParameterValuesException) {
|
|
41
|
-
InvalidParameterValuesException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
42
|
-
})(InvalidParameterValuesException || (InvalidParameterValuesException = {}));
|
|
43
|
-
export var InvalidResourceStateException;
|
|
44
|
-
(function (InvalidResourceStateException) {
|
|
45
|
-
InvalidResourceStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
46
|
-
})(InvalidResourceStateException || (InvalidResourceStateException = {}));
|
|
47
|
-
export var OperationNotSupportedException;
|
|
48
|
-
(function (OperationNotSupportedException) {
|
|
49
|
-
OperationNotSupportedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
50
|
-
})(OperationNotSupportedException || (OperationNotSupportedException = {}));
|
|
51
|
-
export var ResourceAssociatedException;
|
|
52
|
-
(function (ResourceAssociatedException) {
|
|
53
|
-
ResourceAssociatedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
54
|
-
})(ResourceAssociatedException || (ResourceAssociatedException = {}));
|
|
55
|
-
export var ResourceNotFoundException;
|
|
56
|
-
(function (ResourceNotFoundException) {
|
|
57
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
58
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
59
35
|
export var AssociateIpGroupsRequest;
|
|
60
36
|
(function (AssociateIpGroupsRequest) {
|
|
61
37
|
AssociateIpGroupsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -64,10 +40,6 @@ export var AssociateIpGroupsResult;
|
|
|
64
40
|
(function (AssociateIpGroupsResult) {
|
|
65
41
|
AssociateIpGroupsResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
66
42
|
})(AssociateIpGroupsResult || (AssociateIpGroupsResult = {}));
|
|
67
|
-
export var ResourceLimitExceededException;
|
|
68
|
-
(function (ResourceLimitExceededException) {
|
|
69
|
-
ResourceLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
70
|
-
})(ResourceLimitExceededException || (ResourceLimitExceededException = {}));
|
|
71
43
|
export var AssociationStatus;
|
|
72
44
|
(function (AssociationStatus) {
|
|
73
45
|
AssociationStatus["ASSOCIATED_WITH_OWNER_ACCOUNT"] = "ASSOCIATED_WITH_OWNER_ACCOUNT";
|
|
@@ -163,14 +135,6 @@ export var CopyWorkspaceImageResult;
|
|
|
163
135
|
(function (CopyWorkspaceImageResult) {
|
|
164
136
|
CopyWorkspaceImageResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
165
137
|
})(CopyWorkspaceImageResult || (CopyWorkspaceImageResult = {}));
|
|
166
|
-
export var ResourceAlreadyExistsException;
|
|
167
|
-
(function (ResourceAlreadyExistsException) {
|
|
168
|
-
ResourceAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
|
-
})(ResourceAlreadyExistsException || (ResourceAlreadyExistsException = {}));
|
|
170
|
-
export var ResourceUnavailableException;
|
|
171
|
-
(function (ResourceUnavailableException) {
|
|
172
|
-
ResourceUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
173
|
-
})(ResourceUnavailableException || (ResourceUnavailableException = {}));
|
|
174
138
|
export var CreateConnectionAliasRequest;
|
|
175
139
|
(function (CreateConnectionAliasRequest) {
|
|
176
140
|
CreateConnectionAliasRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -187,10 +151,6 @@ export var CreateIpGroupResult;
|
|
|
187
151
|
(function (CreateIpGroupResult) {
|
|
188
152
|
CreateIpGroupResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
153
|
})(CreateIpGroupResult || (CreateIpGroupResult = {}));
|
|
190
|
-
export var ResourceCreationFailedException;
|
|
191
|
-
(function (ResourceCreationFailedException) {
|
|
192
|
-
ResourceCreationFailedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
|
-
})(ResourceCreationFailedException || (ResourceCreationFailedException = {}));
|
|
194
154
|
export var CreateTagsRequest;
|
|
195
155
|
(function (CreateTagsRequest) {
|
|
196
156
|
CreateTagsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -577,10 +537,6 @@ export var MigrateWorkspaceResult;
|
|
|
577
537
|
(function (MigrateWorkspaceResult) {
|
|
578
538
|
MigrateWorkspaceResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
579
539
|
})(MigrateWorkspaceResult || (MigrateWorkspaceResult = {}));
|
|
580
|
-
export var OperationInProgressException;
|
|
581
|
-
(function (OperationInProgressException) {
|
|
582
|
-
OperationInProgressException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
583
|
-
})(OperationInProgressException || (OperationInProgressException = {}));
|
|
584
540
|
export var ModifyAccountRequest;
|
|
585
541
|
(function (ModifyAccountRequest) {
|
|
586
542
|
ModifyAccountRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -633,10 +589,6 @@ export var ModifyWorkspacePropertiesResult;
|
|
|
633
589
|
(function (ModifyWorkspacePropertiesResult) {
|
|
634
590
|
ModifyWorkspacePropertiesResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
635
591
|
})(ModifyWorkspacePropertiesResult || (ModifyWorkspacePropertiesResult = {}));
|
|
636
|
-
export var UnsupportedWorkspaceConfigurationException;
|
|
637
|
-
(function (UnsupportedWorkspaceConfigurationException) {
|
|
638
|
-
UnsupportedWorkspaceConfigurationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
639
|
-
})(UnsupportedWorkspaceConfigurationException || (UnsupportedWorkspaceConfigurationException = {}));
|
|
640
592
|
export var TargetWorkspaceState;
|
|
641
593
|
(function (TargetWorkspaceState) {
|
|
642
594
|
TargetWorkspaceState["ADMIN_MAINTENANCE"] = "ADMIN_MAINTENANCE";
|
|
@@ -682,14 +634,6 @@ export var RegisterWorkspaceDirectoryResult;
|
|
|
682
634
|
(function (RegisterWorkspaceDirectoryResult) {
|
|
683
635
|
RegisterWorkspaceDirectoryResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
684
636
|
})(RegisterWorkspaceDirectoryResult || (RegisterWorkspaceDirectoryResult = {}));
|
|
685
|
-
export var UnsupportedNetworkConfigurationException;
|
|
686
|
-
(function (UnsupportedNetworkConfigurationException) {
|
|
687
|
-
UnsupportedNetworkConfigurationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
688
|
-
})(UnsupportedNetworkConfigurationException || (UnsupportedNetworkConfigurationException = {}));
|
|
689
|
-
export var WorkspacesDefaultRoleNotFoundException;
|
|
690
|
-
(function (WorkspacesDefaultRoleNotFoundException) {
|
|
691
|
-
WorkspacesDefaultRoleNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
692
|
-
})(WorkspacesDefaultRoleNotFoundException || (WorkspacesDefaultRoleNotFoundException = {}));
|
|
693
637
|
export var RestoreWorkspaceRequest;
|
|
694
638
|
(function (RestoreWorkspaceRequest) {
|
|
695
639
|
RestoreWorkspaceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
17
|
export var getRuntimeConfig = function (config) {
|
|
16
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
17
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
19
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateConnectionAliasCommandInput, AssociateConnectionAliasCommandOutput } from "./commands/AssociateConnectionAliasCommand";
|
|
10
10
|
import { AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput } from "./commands/AssociateIpGroupsCommand";
|
|
@@ -162,6 +162,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
162
162
|
* @internal
|
|
163
163
|
*/
|
|
164
164
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
165
|
+
/**
|
|
166
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
167
|
+
*/
|
|
168
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
165
169
|
}
|
|
166
170
|
declare type WorkSpacesClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
167
171
|
/**
|
|
@@ -7,12 +7,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
7
7
|
$fault: "client";
|
|
8
8
|
message?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare namespace AccessDeniedException {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
|
-
}
|
|
16
10
|
export declare enum AccessPropertyValue {
|
|
17
11
|
ALLOW = "ALLOW",
|
|
18
12
|
DENY = "DENY"
|
|
@@ -108,12 +102,6 @@ export interface InvalidParameterValuesException extends __SmithyException, $Met
|
|
|
108
102
|
*/
|
|
109
103
|
message?: string;
|
|
110
104
|
}
|
|
111
|
-
export declare namespace InvalidParameterValuesException {
|
|
112
|
-
/**
|
|
113
|
-
* @internal
|
|
114
|
-
*/
|
|
115
|
-
const filterSensitiveLog: (obj: InvalidParameterValuesException) => any;
|
|
116
|
-
}
|
|
117
105
|
/**
|
|
118
106
|
* <p>The state of the resource is not valid for this operation.</p>
|
|
119
107
|
*/
|
|
@@ -122,12 +110,6 @@ export interface InvalidResourceStateException extends __SmithyException, $Metad
|
|
|
122
110
|
$fault: "client";
|
|
123
111
|
message?: string;
|
|
124
112
|
}
|
|
125
|
-
export declare namespace InvalidResourceStateException {
|
|
126
|
-
/**
|
|
127
|
-
* @internal
|
|
128
|
-
*/
|
|
129
|
-
const filterSensitiveLog: (obj: InvalidResourceStateException) => any;
|
|
130
|
-
}
|
|
131
113
|
/**
|
|
132
114
|
* <p>This operation is not supported.</p>
|
|
133
115
|
*/
|
|
@@ -136,12 +118,6 @@ export interface OperationNotSupportedException extends __SmithyException, $Meta
|
|
|
136
118
|
$fault: "client";
|
|
137
119
|
message?: string;
|
|
138
120
|
}
|
|
139
|
-
export declare namespace OperationNotSupportedException {
|
|
140
|
-
/**
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
143
|
-
const filterSensitiveLog: (obj: OperationNotSupportedException) => any;
|
|
144
|
-
}
|
|
145
121
|
/**
|
|
146
122
|
* <p>The resource is associated with a directory.</p>
|
|
147
123
|
*/
|
|
@@ -150,12 +126,6 @@ export interface ResourceAssociatedException extends __SmithyException, $Metadat
|
|
|
150
126
|
$fault: "client";
|
|
151
127
|
message?: string;
|
|
152
128
|
}
|
|
153
|
-
export declare namespace ResourceAssociatedException {
|
|
154
|
-
/**
|
|
155
|
-
* @internal
|
|
156
|
-
*/
|
|
157
|
-
const filterSensitiveLog: (obj: ResourceAssociatedException) => any;
|
|
158
|
-
}
|
|
159
129
|
/**
|
|
160
130
|
* <p>The resource could not be found.</p>
|
|
161
131
|
*/
|
|
@@ -171,12 +141,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
171
141
|
*/
|
|
172
142
|
ResourceId?: string;
|
|
173
143
|
}
|
|
174
|
-
export declare namespace ResourceNotFoundException {
|
|
175
|
-
/**
|
|
176
|
-
* @internal
|
|
177
|
-
*/
|
|
178
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
179
|
-
}
|
|
180
144
|
export interface AssociateIpGroupsRequest {
|
|
181
145
|
/**
|
|
182
146
|
* <p>The identifier of the directory.</p>
|
|
@@ -212,12 +176,6 @@ export interface ResourceLimitExceededException extends __SmithyException, $Meta
|
|
|
212
176
|
*/
|
|
213
177
|
message?: string;
|
|
214
178
|
}
|
|
215
|
-
export declare namespace ResourceLimitExceededException {
|
|
216
|
-
/**
|
|
217
|
-
* @internal
|
|
218
|
-
*/
|
|
219
|
-
const filterSensitiveLog: (obj: ResourceLimitExceededException) => any;
|
|
220
|
-
}
|
|
221
179
|
export declare enum AssociationStatus {
|
|
222
180
|
ASSOCIATED_WITH_OWNER_ACCOUNT = "ASSOCIATED_WITH_OWNER_ACCOUNT",
|
|
223
181
|
ASSOCIATED_WITH_SHARED_ACCOUNT = "ASSOCIATED_WITH_SHARED_ACCOUNT",
|
|
@@ -577,12 +535,6 @@ export interface ResourceAlreadyExistsException extends __SmithyException, $Meta
|
|
|
577
535
|
$fault: "client";
|
|
578
536
|
message?: string;
|
|
579
537
|
}
|
|
580
|
-
export declare namespace ResourceAlreadyExistsException {
|
|
581
|
-
/**
|
|
582
|
-
* @internal
|
|
583
|
-
*/
|
|
584
|
-
const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
|
|
585
|
-
}
|
|
586
538
|
/**
|
|
587
539
|
* <p>The specified resource is not available.</p>
|
|
588
540
|
*/
|
|
@@ -598,12 +550,6 @@ export interface ResourceUnavailableException extends __SmithyException, $Metada
|
|
|
598
550
|
*/
|
|
599
551
|
ResourceId?: string;
|
|
600
552
|
}
|
|
601
|
-
export declare namespace ResourceUnavailableException {
|
|
602
|
-
/**
|
|
603
|
-
* @internal
|
|
604
|
-
*/
|
|
605
|
-
const filterSensitiveLog: (obj: ResourceUnavailableException) => any;
|
|
606
|
-
}
|
|
607
553
|
export interface CreateConnectionAliasRequest {
|
|
608
554
|
/**
|
|
609
555
|
* <p>A connection string in the form of a fully qualified domain name (FQDN), such as <code>www.example.com</code>.</p>
|
|
@@ -682,12 +628,6 @@ export interface ResourceCreationFailedException extends __SmithyException, $Met
|
|
|
682
628
|
$fault: "client";
|
|
683
629
|
message?: string;
|
|
684
630
|
}
|
|
685
|
-
export declare namespace ResourceCreationFailedException {
|
|
686
|
-
/**
|
|
687
|
-
* @internal
|
|
688
|
-
*/
|
|
689
|
-
const filterSensitiveLog: (obj: ResourceCreationFailedException) => any;
|
|
690
|
-
}
|
|
691
631
|
export interface CreateTagsRequest {
|
|
692
632
|
/**
|
|
693
633
|
* <p>The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces,
|
|
@@ -2356,12 +2296,6 @@ export interface OperationInProgressException extends __SmithyException, $Metada
|
|
|
2356
2296
|
$fault: "client";
|
|
2357
2297
|
message?: string;
|
|
2358
2298
|
}
|
|
2359
|
-
export declare namespace OperationInProgressException {
|
|
2360
|
-
/**
|
|
2361
|
-
* @internal
|
|
2362
|
-
*/
|
|
2363
|
-
const filterSensitiveLog: (obj: OperationInProgressException) => any;
|
|
2364
|
-
}
|
|
2365
2299
|
export interface ModifyAccountRequest {
|
|
2366
2300
|
/**
|
|
2367
2301
|
* <p>The status of BYOL.</p>
|
|
@@ -2589,12 +2523,6 @@ export interface UnsupportedWorkspaceConfigurationException extends __SmithyExce
|
|
|
2589
2523
|
$fault: "client";
|
|
2590
2524
|
message?: string;
|
|
2591
2525
|
}
|
|
2592
|
-
export declare namespace UnsupportedWorkspaceConfigurationException {
|
|
2593
|
-
/**
|
|
2594
|
-
* @internal
|
|
2595
|
-
*/
|
|
2596
|
-
const filterSensitiveLog: (obj: UnsupportedWorkspaceConfigurationException) => any;
|
|
2597
|
-
}
|
|
2598
2526
|
export declare enum TargetWorkspaceState {
|
|
2599
2527
|
ADMIN_MAINTENANCE = "ADMIN_MAINTENANCE",
|
|
2600
2528
|
AVAILABLE = "AVAILABLE"
|
|
@@ -2764,12 +2692,6 @@ export interface UnsupportedNetworkConfigurationException extends __SmithyExcept
|
|
|
2764
2692
|
$fault: "client";
|
|
2765
2693
|
message?: string;
|
|
2766
2694
|
}
|
|
2767
|
-
export declare namespace UnsupportedNetworkConfigurationException {
|
|
2768
|
-
/**
|
|
2769
|
-
* @internal
|
|
2770
|
-
*/
|
|
2771
|
-
const filterSensitiveLog: (obj: UnsupportedNetworkConfigurationException) => any;
|
|
2772
|
-
}
|
|
2773
2695
|
/**
|
|
2774
2696
|
* <p>The workspaces_DefaultRole role could not be found. If this is the first time you are registering a directory, you
|
|
2775
2697
|
* will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role">Creating the workspaces_DefaultRole Role</a>.</p>
|
|
@@ -2779,12 +2701,6 @@ export interface WorkspacesDefaultRoleNotFoundException extends __SmithyExceptio
|
|
|
2779
2701
|
$fault: "client";
|
|
2780
2702
|
message?: string;
|
|
2781
2703
|
}
|
|
2782
|
-
export declare namespace WorkspacesDefaultRoleNotFoundException {
|
|
2783
|
-
/**
|
|
2784
|
-
* @internal
|
|
2785
|
-
*/
|
|
2786
|
-
const filterSensitiveLog: (obj: WorkspacesDefaultRoleNotFoundException) => any;
|
|
2787
|
-
}
|
|
2788
2704
|
export interface RestoreWorkspaceRequest {
|
|
2789
2705
|
/**
|
|
2790
2706
|
* <p>The identifier of the WorkSpace.</p>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { WorkSpacesClientConfig } from "./WorkSpacesClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { WorkSpacesClientConfig } from "./WorkSpacesClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateConnectionAliasCommandInput, AssociateConnectionAliasCommandOutput } from "./commands/AssociateConnectionAliasCommand";
|
|
10
10
|
import { AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput } from "./commands/AssociateIpGroupsCommand";
|
|
@@ -105,6 +105,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
105
105
|
regionInfoProvider?: RegionInfoProvider;
|
|
106
106
|
|
|
107
107
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
108
|
+
|
|
109
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
108
110
|
}
|
|
109
111
|
declare type WorkSpacesClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
110
112
|
|
|
@@ -5,10 +5,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
5
5
|
$fault: "client";
|
|
6
6
|
message?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare namespace AccessDeniedException {
|
|
9
|
-
|
|
10
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
11
|
-
}
|
|
12
8
|
export declare enum AccessPropertyValue {
|
|
13
9
|
ALLOW = "ALLOW",
|
|
14
10
|
DENY = "DENY"
|
|
@@ -70,40 +66,24 @@ export interface InvalidParameterValuesException extends __SmithyException, $Met
|
|
|
70
66
|
|
|
71
67
|
message?: string;
|
|
72
68
|
}
|
|
73
|
-
export declare namespace InvalidParameterValuesException {
|
|
74
|
-
|
|
75
|
-
const filterSensitiveLog: (obj: InvalidParameterValuesException) => any;
|
|
76
|
-
}
|
|
77
69
|
|
|
78
70
|
export interface InvalidResourceStateException extends __SmithyException, $MetadataBearer {
|
|
79
71
|
name: "InvalidResourceStateException";
|
|
80
72
|
$fault: "client";
|
|
81
73
|
message?: string;
|
|
82
74
|
}
|
|
83
|
-
export declare namespace InvalidResourceStateException {
|
|
84
|
-
|
|
85
|
-
const filterSensitiveLog: (obj: InvalidResourceStateException) => any;
|
|
86
|
-
}
|
|
87
75
|
|
|
88
76
|
export interface OperationNotSupportedException extends __SmithyException, $MetadataBearer {
|
|
89
77
|
name: "OperationNotSupportedException";
|
|
90
78
|
$fault: "client";
|
|
91
79
|
message?: string;
|
|
92
80
|
}
|
|
93
|
-
export declare namespace OperationNotSupportedException {
|
|
94
|
-
|
|
95
|
-
const filterSensitiveLog: (obj: OperationNotSupportedException) => any;
|
|
96
|
-
}
|
|
97
81
|
|
|
98
82
|
export interface ResourceAssociatedException extends __SmithyException, $MetadataBearer {
|
|
99
83
|
name: "ResourceAssociatedException";
|
|
100
84
|
$fault: "client";
|
|
101
85
|
message?: string;
|
|
102
86
|
}
|
|
103
|
-
export declare namespace ResourceAssociatedException {
|
|
104
|
-
|
|
105
|
-
const filterSensitiveLog: (obj: ResourceAssociatedException) => any;
|
|
106
|
-
}
|
|
107
87
|
|
|
108
88
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
109
89
|
name: "ResourceNotFoundException";
|
|
@@ -113,10 +93,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
113
93
|
|
|
114
94
|
ResourceId?: string;
|
|
115
95
|
}
|
|
116
|
-
export declare namespace ResourceNotFoundException {
|
|
117
|
-
|
|
118
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
119
|
-
}
|
|
120
96
|
export interface AssociateIpGroupsRequest {
|
|
121
97
|
|
|
122
98
|
DirectoryId: string | undefined;
|
|
@@ -140,10 +116,6 @@ export interface ResourceLimitExceededException extends __SmithyException, $Meta
|
|
|
140
116
|
|
|
141
117
|
message?: string;
|
|
142
118
|
}
|
|
143
|
-
export declare namespace ResourceLimitExceededException {
|
|
144
|
-
|
|
145
|
-
const filterSensitiveLog: (obj: ResourceLimitExceededException) => any;
|
|
146
|
-
}
|
|
147
119
|
export declare enum AssociationStatus {
|
|
148
120
|
ASSOCIATED_WITH_OWNER_ACCOUNT = "ASSOCIATED_WITH_OWNER_ACCOUNT",
|
|
149
121
|
ASSOCIATED_WITH_SHARED_ACCOUNT = "ASSOCIATED_WITH_SHARED_ACCOUNT",
|
|
@@ -359,10 +331,6 @@ export interface ResourceAlreadyExistsException extends __SmithyException, $Meta
|
|
|
359
331
|
$fault: "client";
|
|
360
332
|
message?: string;
|
|
361
333
|
}
|
|
362
|
-
export declare namespace ResourceAlreadyExistsException {
|
|
363
|
-
|
|
364
|
-
const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
|
|
365
|
-
}
|
|
366
334
|
|
|
367
335
|
export interface ResourceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
368
336
|
name: "ResourceUnavailableException";
|
|
@@ -372,10 +340,6 @@ export interface ResourceUnavailableException extends __SmithyException, $Metada
|
|
|
372
340
|
|
|
373
341
|
ResourceId?: string;
|
|
374
342
|
}
|
|
375
|
-
export declare namespace ResourceUnavailableException {
|
|
376
|
-
|
|
377
|
-
const filterSensitiveLog: (obj: ResourceUnavailableException) => any;
|
|
378
|
-
}
|
|
379
343
|
export interface CreateConnectionAliasRequest {
|
|
380
344
|
|
|
381
345
|
ConnectionString: string | undefined;
|
|
@@ -422,10 +386,6 @@ export interface ResourceCreationFailedException extends __SmithyException, $Met
|
|
|
422
386
|
$fault: "client";
|
|
423
387
|
message?: string;
|
|
424
388
|
}
|
|
425
|
-
export declare namespace ResourceCreationFailedException {
|
|
426
|
-
|
|
427
|
-
const filterSensitiveLog: (obj: ResourceCreationFailedException) => any;
|
|
428
|
-
}
|
|
429
389
|
export interface CreateTagsRequest {
|
|
430
390
|
|
|
431
391
|
ResourceId: string | undefined;
|
|
@@ -1376,10 +1336,6 @@ export interface OperationInProgressException extends __SmithyException, $Metada
|
|
|
1376
1336
|
$fault: "client";
|
|
1377
1337
|
message?: string;
|
|
1378
1338
|
}
|
|
1379
|
-
export declare namespace OperationInProgressException {
|
|
1380
|
-
|
|
1381
|
-
const filterSensitiveLog: (obj: OperationInProgressException) => any;
|
|
1382
|
-
}
|
|
1383
1339
|
export interface ModifyAccountRequest {
|
|
1384
1340
|
|
|
1385
1341
|
DedicatedTenancySupport?: DedicatedTenancySupportEnum | string;
|
|
@@ -1501,10 +1457,6 @@ export interface UnsupportedWorkspaceConfigurationException extends __SmithyExce
|
|
|
1501
1457
|
$fault: "client";
|
|
1502
1458
|
message?: string;
|
|
1503
1459
|
}
|
|
1504
|
-
export declare namespace UnsupportedWorkspaceConfigurationException {
|
|
1505
|
-
|
|
1506
|
-
const filterSensitiveLog: (obj: UnsupportedWorkspaceConfigurationException) => any;
|
|
1507
|
-
}
|
|
1508
1460
|
export declare enum TargetWorkspaceState {
|
|
1509
1461
|
ADMIN_MAINTENANCE = "ADMIN_MAINTENANCE",
|
|
1510
1462
|
AVAILABLE = "AVAILABLE"
|
|
@@ -1605,20 +1557,12 @@ export interface UnsupportedNetworkConfigurationException extends __SmithyExcept
|
|
|
1605
1557
|
$fault: "client";
|
|
1606
1558
|
message?: string;
|
|
1607
1559
|
}
|
|
1608
|
-
export declare namespace UnsupportedNetworkConfigurationException {
|
|
1609
|
-
|
|
1610
|
-
const filterSensitiveLog: (obj: UnsupportedNetworkConfigurationException) => any;
|
|
1611
|
-
}
|
|
1612
1560
|
|
|
1613
1561
|
export interface WorkspacesDefaultRoleNotFoundException extends __SmithyException, $MetadataBearer {
|
|
1614
1562
|
name: "WorkspacesDefaultRoleNotFoundException";
|
|
1615
1563
|
$fault: "client";
|
|
1616
1564
|
message?: string;
|
|
1617
1565
|
}
|
|
1618
|
-
export declare namespace WorkspacesDefaultRoleNotFoundException {
|
|
1619
|
-
|
|
1620
|
-
const filterSensitiveLog: (obj: WorkspacesDefaultRoleNotFoundException) => any;
|
|
1621
|
-
}
|
|
1622
1566
|
export interface RestoreWorkspaceRequest {
|
|
1623
1567
|
|
|
1624
1568
|
WorkspaceId: string | undefined;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { WorkSpacesClientConfig } from "./WorkSpacesClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { WorkSpacesClientConfig } from "./WorkSpacesClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workspaces",
|
|
3
3
|
"description": "AWS SDK for JavaScript Workspaces Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.47.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
13
|
-
"clean:dist": "rimraf ./dist-*",
|
|
14
|
-
"clean:docs": "rimraf ./docs"
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
15
13
|
},
|
|
16
14
|
"main": "./dist-cjs/index.js",
|
|
17
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +18,40 @@
|
|
|
20
18
|
"dependencies": {
|
|
21
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.0",
|
|
39
|
+
"@aws-sdk/types": "3.47.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
55
55
|
"@types/node": "^12.7.5"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|