@aws-sdk/client-workspaces 3.830.0 → 3.838.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +44 -2
- package/dist-es/models/models_0.js +18 -4
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +13 -1
- package/dist-types/commands/DescribeWorkspaceDirectoriesCommand.d.ts +11 -0
- package/dist-types/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +20 -0
- package/dist-types/commands/ModifyWorkspaceStateCommand.d.ts +1 -1
- package/dist-types/commands/RebootWorkspacesCommand.d.ts +1 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +71 -53
- package/dist-types/models/models_1.d.ts +53 -0
- package/dist-types/ts3.4/commands/ModifyWorkspaceStateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RebootWorkspacesCommand.d.ts +4 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/dist-types/ts3.4/models/models_0.d.ts +29 -17
- package/dist-types/ts3.4/models/models_1.d.ts +17 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __export(index_exports, {
|
|
|
27
27
|
AGAPreferredProtocolForWorkSpace: () => AGAPreferredProtocolForWorkSpace,
|
|
28
28
|
AcceptAccountLinkInvitationCommand: () => AcceptAccountLinkInvitationCommand,
|
|
29
29
|
AccessDeniedException: () => AccessDeniedException,
|
|
30
|
+
AccessEndpointType: () => AccessEndpointType,
|
|
30
31
|
AccessPropertyValue: () => AccessPropertyValue,
|
|
31
32
|
AccountLinkStatusEnum: () => AccountLinkStatusEnum,
|
|
32
33
|
Application: () => Application,
|
|
@@ -116,6 +117,8 @@ __export(index_exports, {
|
|
|
116
117
|
ImportWorkspaceImageCommand: () => ImportWorkspaceImageCommand,
|
|
117
118
|
IncompatibleApplicationsException: () => IncompatibleApplicationsException,
|
|
118
119
|
InternalServerException: () => InternalServerException,
|
|
120
|
+
InternetFallbackProtocol: () => InternetFallbackProtocol,
|
|
121
|
+
InvalidParameterCombinationException: () => InvalidParameterCombinationException,
|
|
119
122
|
InvalidParameterValuesException: () => InvalidParameterValuesException,
|
|
120
123
|
InvalidResourceStateException: () => InvalidResourceStateException,
|
|
121
124
|
ListAccountLinksCommand: () => ListAccountLinksCommand,
|
|
@@ -485,6 +488,12 @@ var ValidationException = class _ValidationException extends WorkSpacesServiceEx
|
|
|
485
488
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
486
489
|
}
|
|
487
490
|
};
|
|
491
|
+
var AccessEndpointType = {
|
|
492
|
+
STREAMING_WSP: "STREAMING_WSP"
|
|
493
|
+
};
|
|
494
|
+
var InternetFallbackProtocol = {
|
|
495
|
+
PCOIP: "PCOIP"
|
|
496
|
+
};
|
|
488
497
|
var AccessPropertyValue = {
|
|
489
498
|
ALLOW: "ALLOW",
|
|
490
499
|
DENY: "DENY"
|
|
@@ -1159,6 +1168,24 @@ var WorkspaceImageIngestionProcess = {
|
|
|
1159
1168
|
BYOL_REGULAR_BYOP: "BYOL_REGULAR_BYOP",
|
|
1160
1169
|
BYOL_REGULAR_WSP: "BYOL_REGULAR_WSP"
|
|
1161
1170
|
};
|
|
1171
|
+
var InvalidParameterCombinationException = class _InvalidParameterCombinationException extends WorkSpacesServiceException {
|
|
1172
|
+
static {
|
|
1173
|
+
__name(this, "InvalidParameterCombinationException");
|
|
1174
|
+
}
|
|
1175
|
+
name = "InvalidParameterCombinationException";
|
|
1176
|
+
$fault = "client";
|
|
1177
|
+
/**
|
|
1178
|
+
* @internal
|
|
1179
|
+
*/
|
|
1180
|
+
constructor(opts) {
|
|
1181
|
+
super({
|
|
1182
|
+
name: "InvalidParameterCombinationException",
|
|
1183
|
+
$fault: "client",
|
|
1184
|
+
...opts
|
|
1185
|
+
});
|
|
1186
|
+
Object.setPrototypeOf(this, _InvalidParameterCombinationException.prototype);
|
|
1187
|
+
}
|
|
1188
|
+
};
|
|
1162
1189
|
var OperationInProgressException = class _OperationInProgressException extends WorkSpacesServiceException {
|
|
1163
1190
|
static {
|
|
1164
1191
|
__name(this, "OperationInProgressException");
|
|
@@ -1195,12 +1222,12 @@ var UnsupportedWorkspaceConfigurationException = class _UnsupportedWorkspaceConf
|
|
|
1195
1222
|
Object.setPrototypeOf(this, _UnsupportedWorkspaceConfigurationException.prototype);
|
|
1196
1223
|
}
|
|
1197
1224
|
};
|
|
1225
|
+
|
|
1226
|
+
// src/models/models_1.ts
|
|
1198
1227
|
var TargetWorkspaceState = {
|
|
1199
1228
|
ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE",
|
|
1200
1229
|
AVAILABLE: "AVAILABLE"
|
|
1201
1230
|
};
|
|
1202
|
-
|
|
1203
|
-
// src/models/models_1.ts
|
|
1204
1231
|
var UnsupportedNetworkConfigurationException = class _UnsupportedNetworkConfigurationException extends WorkSpacesServiceException {
|
|
1205
1232
|
static {
|
|
1206
1233
|
__name(this, "UnsupportedNetworkConfigurationException");
|
|
@@ -2994,6 +3021,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2994
3021
|
case "OperationInProgressException":
|
|
2995
3022
|
case "com.amazonaws.workspaces#OperationInProgressException":
|
|
2996
3023
|
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
|
3024
|
+
case "InvalidParameterCombinationException":
|
|
3025
|
+
case "com.amazonaws.workspaces#InvalidParameterCombinationException":
|
|
3026
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
2997
3027
|
case "UnsupportedWorkspaceConfigurationException":
|
|
2998
3028
|
case "com.amazonaws.workspaces#UnsupportedWorkspaceConfigurationException":
|
|
2999
3029
|
throw await de_UnsupportedWorkspaceConfigurationExceptionRes(parsedOutput, context);
|
|
@@ -3066,6 +3096,15 @@ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput,
|
|
|
3066
3096
|
});
|
|
3067
3097
|
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3068
3098
|
}, "de_InternalServerExceptionRes");
|
|
3099
|
+
var de_InvalidParameterCombinationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3100
|
+
const body = parsedOutput.body;
|
|
3101
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3102
|
+
const exception = new InvalidParameterCombinationException({
|
|
3103
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3104
|
+
...deserialized
|
|
3105
|
+
});
|
|
3106
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3107
|
+
}, "de_InvalidParameterCombinationExceptionRes");
|
|
3069
3108
|
var de_InvalidParameterValuesExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3070
3109
|
const body = parsedOutput.body;
|
|
3071
3110
|
const deserialized = (0, import_smithy_client._json)(body);
|
|
@@ -5227,6 +5266,8 @@ var paginateListAccountLinks = (0, import_core.createPaginator)(WorkSpacesClient
|
|
|
5227
5266
|
InternalServerException,
|
|
5228
5267
|
ResourceNotFoundException,
|
|
5229
5268
|
ValidationException,
|
|
5269
|
+
AccessEndpointType,
|
|
5270
|
+
InternetFallbackProtocol,
|
|
5230
5271
|
AccessPropertyValue,
|
|
5231
5272
|
DedicatedTenancySupportResultEnum,
|
|
5232
5273
|
DedicatedTenancyModificationStateEnum,
|
|
@@ -5305,6 +5346,7 @@ var paginateListAccountLinks = (0, import_core.createPaginator)(WorkSpacesClient
|
|
|
5305
5346
|
DescribeWorkspacesPoolsFilterOperator,
|
|
5306
5347
|
SessionConnectionState,
|
|
5307
5348
|
WorkspaceImageIngestionProcess,
|
|
5349
|
+
InvalidParameterCombinationException,
|
|
5308
5350
|
OperationInProgressException,
|
|
5309
5351
|
UnsupportedWorkspaceConfigurationException,
|
|
5310
5352
|
TargetWorkspaceState,
|
|
@@ -68,6 +68,12 @@ export class ValidationException extends __BaseException {
|
|
|
68
68
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
+
export const AccessEndpointType = {
|
|
72
|
+
STREAMING_WSP: "STREAMING_WSP",
|
|
73
|
+
};
|
|
74
|
+
export const InternetFallbackProtocol = {
|
|
75
|
+
PCOIP: "PCOIP",
|
|
76
|
+
};
|
|
71
77
|
export const AccessPropertyValue = {
|
|
72
78
|
ALLOW: "ALLOW",
|
|
73
79
|
DENY: "DENY",
|
|
@@ -652,6 +658,18 @@ export const WorkspaceImageIngestionProcess = {
|
|
|
652
658
|
BYOL_REGULAR_BYOP: "BYOL_REGULAR_BYOP",
|
|
653
659
|
BYOL_REGULAR_WSP: "BYOL_REGULAR_WSP",
|
|
654
660
|
};
|
|
661
|
+
export class InvalidParameterCombinationException extends __BaseException {
|
|
662
|
+
name = "InvalidParameterCombinationException";
|
|
663
|
+
$fault = "client";
|
|
664
|
+
constructor(opts) {
|
|
665
|
+
super({
|
|
666
|
+
name: "InvalidParameterCombinationException",
|
|
667
|
+
$fault: "client",
|
|
668
|
+
...opts,
|
|
669
|
+
});
|
|
670
|
+
Object.setPrototypeOf(this, InvalidParameterCombinationException.prototype);
|
|
671
|
+
}
|
|
672
|
+
}
|
|
655
673
|
export class OperationInProgressException extends __BaseException {
|
|
656
674
|
name = "OperationInProgressException";
|
|
657
675
|
$fault = "client";
|
|
@@ -676,7 +694,3 @@ export class UnsupportedWorkspaceConfigurationException extends __BaseException
|
|
|
676
694
|
Object.setPrototypeOf(this, UnsupportedWorkspaceConfigurationException.prototype);
|
|
677
695
|
}
|
|
678
696
|
}
|
|
679
|
-
export const TargetWorkspaceState = {
|
|
680
|
-
ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE",
|
|
681
|
-
AVAILABLE: "AVAILABLE",
|
|
682
|
-
};
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
|
|
2
|
+
export const TargetWorkspaceState = {
|
|
3
|
+
ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE",
|
|
4
|
+
AVAILABLE: "AVAILABLE",
|
|
5
|
+
};
|
|
2
6
|
export class UnsupportedNetworkConfigurationException extends __BaseException {
|
|
3
7
|
name = "UnsupportedNetworkConfigurationException";
|
|
4
8
|
$fault = "client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { AccessDeniedException, ApplicationNotSupportedException, ComputeNotCompatibleException, ConflictException, IncompatibleApplicationsException, InternalServerException, InvalidParameterValuesException, InvalidResourceStateException, OperatingSystemNotCompatibleException, OperationInProgressException, OperationNotSupportedException, ResourceAlreadyExistsException, ResourceAssociatedException, ResourceCreationFailedException, ResourceInUseException, ResourceLimitExceededException, ResourceNotFoundException, ResourceUnavailableException, UnsupportedWorkspaceConfigurationException, ValidationException, } from "../models/models_0";
|
|
4
|
+
import { AccessDeniedException, ApplicationNotSupportedException, ComputeNotCompatibleException, ConflictException, IncompatibleApplicationsException, InternalServerException, InvalidParameterCombinationException, InvalidParameterValuesException, InvalidResourceStateException, OperatingSystemNotCompatibleException, OperationInProgressException, OperationNotSupportedException, ResourceAlreadyExistsException, ResourceAssociatedException, ResourceCreationFailedException, ResourceInUseException, ResourceLimitExceededException, ResourceNotFoundException, ResourceUnavailableException, UnsupportedWorkspaceConfigurationException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { UnsupportedNetworkConfigurationException, WorkspacesDefaultRoleNotFoundException, } from "../models/models_1";
|
|
6
6
|
import { WorkSpacesServiceException as __BaseException } from "../models/WorkSpacesServiceException";
|
|
7
7
|
export const se_AcceptAccountLinkInvitationCommand = async (input, context) => {
|
|
@@ -1759,6 +1759,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1759
1759
|
case "OperationInProgressException":
|
|
1760
1760
|
case "com.amazonaws.workspaces#OperationInProgressException":
|
|
1761
1761
|
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
|
1762
|
+
case "InvalidParameterCombinationException":
|
|
1763
|
+
case "com.amazonaws.workspaces#InvalidParameterCombinationException":
|
|
1764
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1762
1765
|
case "UnsupportedWorkspaceConfigurationException":
|
|
1763
1766
|
case "com.amazonaws.workspaces#UnsupportedWorkspaceConfigurationException":
|
|
1764
1767
|
throw await de_UnsupportedWorkspaceConfigurationExceptionRes(parsedOutput, context);
|
|
@@ -1831,6 +1834,15 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
1831
1834
|
});
|
|
1832
1835
|
return __decorateServiceException(exception, body);
|
|
1833
1836
|
};
|
|
1837
|
+
const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context) => {
|
|
1838
|
+
const body = parsedOutput.body;
|
|
1839
|
+
const deserialized = _json(body);
|
|
1840
|
+
const exception = new InvalidParameterCombinationException({
|
|
1841
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1842
|
+
...deserialized,
|
|
1843
|
+
});
|
|
1844
|
+
return __decorateServiceException(exception, body);
|
|
1845
|
+
};
|
|
1834
1846
|
const de_InvalidParameterValuesExceptionRes = async (parsedOutput, context) => {
|
|
1835
1847
|
const body = parsedOutput.body;
|
|
1836
1848
|
const deserialized = _json(body);
|
|
@@ -93,6 +93,17 @@ declare const DescribeWorkspaceDirectoriesCommand_base: {
|
|
|
93
93
|
* // DeviceTypeZeroClient: "ALLOW" || "DENY",
|
|
94
94
|
* // DeviceTypeLinux: "ALLOW" || "DENY",
|
|
95
95
|
* // DeviceTypeWorkSpacesThinClient: "ALLOW" || "DENY",
|
|
96
|
+
* // AccessEndpointConfig: { // AccessEndpointConfig
|
|
97
|
+
* // AccessEndpoints: [ // AccessEndpointList // required
|
|
98
|
+
* // { // AccessEndpoint
|
|
99
|
+
* // AccessEndpointType: "STREAMING_WSP",
|
|
100
|
+
* // VpcEndpointId: "STRING_VALUE",
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // InternetFallbackProtocols: [ // InternetFallbackProtocolList
|
|
104
|
+
* // "PCOIP",
|
|
105
|
+
* // ],
|
|
106
|
+
* // },
|
|
96
107
|
* // },
|
|
97
108
|
* // Tenancy: "DEDICATED" || "SHARED",
|
|
98
109
|
* // SelfservicePermissions: { // SelfservicePermissions
|
|
@@ -48,6 +48,17 @@ declare const ModifyWorkspaceAccessPropertiesCommand_base: {
|
|
|
48
48
|
* DeviceTypeZeroClient: "ALLOW" || "DENY",
|
|
49
49
|
* DeviceTypeLinux: "ALLOW" || "DENY",
|
|
50
50
|
* DeviceTypeWorkSpacesThinClient: "ALLOW" || "DENY",
|
|
51
|
+
* AccessEndpointConfig: { // AccessEndpointConfig
|
|
52
|
+
* AccessEndpoints: [ // AccessEndpointList // required
|
|
53
|
+
* { // AccessEndpoint
|
|
54
|
+
* AccessEndpointType: "STREAMING_WSP",
|
|
55
|
+
* VpcEndpointId: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* InternetFallbackProtocols: [ // InternetFallbackProtocolList
|
|
59
|
+
* "PCOIP",
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
51
62
|
* },
|
|
52
63
|
* };
|
|
53
64
|
* const command = new ModifyWorkspaceAccessPropertiesCommand(input);
|
|
@@ -65,6 +76,15 @@ declare const ModifyWorkspaceAccessPropertiesCommand_base: {
|
|
|
65
76
|
* @throws {@link AccessDeniedException} (client fault)
|
|
66
77
|
* <p>The user is not authorized to access a resource.</p>
|
|
67
78
|
*
|
|
79
|
+
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
80
|
+
* <p>Two or more of the selected parameter values cannot be used together.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InvalidParameterValuesException} (client fault)
|
|
83
|
+
* <p>One or more parameter values are not valid.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link OperationNotSupportedException} (client fault)
|
|
86
|
+
* <p>This operation is not supported.</p>
|
|
87
|
+
*
|
|
68
88
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
89
|
* <p>The resource could not be found.</p>
|
|
70
90
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ModifyWorkspaceStateRequest, ModifyWorkspaceStateResult } from "../models/
|
|
3
|
+
import { ModifyWorkspaceStateRequest, ModifyWorkspaceStateResult } from "../models/models_1";
|
|
4
4
|
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { RebootWorkspacesRequest } from "../models/
|
|
4
|
-
import { RebootWorkspacesResult } from "../models/models_1";
|
|
3
|
+
import { RebootWorkspacesRequest, RebootWorkspacesResult } from "../models/models_1";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -8,7 +8,7 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
-
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
11
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
@@ -132,6 +132,60 @@ export declare class ValidationException extends __BaseException {
|
|
|
132
132
|
*/
|
|
133
133
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
134
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
* @enum
|
|
138
|
+
*/
|
|
139
|
+
export declare const AccessEndpointType: {
|
|
140
|
+
readonly STREAMING_WSP: "STREAMING_WSP";
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
export type AccessEndpointType = (typeof AccessEndpointType)[keyof typeof AccessEndpointType];
|
|
146
|
+
/**
|
|
147
|
+
* <p>Describes the access type and endpoint for a WorkSpace.</p>
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export interface AccessEndpoint {
|
|
151
|
+
/**
|
|
152
|
+
* <p>Indicates the type of access endpoint.</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
AccessEndpointType?: AccessEndpointType | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* <p>Indicates the VPC endpoint to use for access.</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
VpcEndpointId?: string | undefined;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
* @enum
|
|
165
|
+
*/
|
|
166
|
+
export declare const InternetFallbackProtocol: {
|
|
167
|
+
readonly PCOIP: "PCOIP";
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
export type InternetFallbackProtocol = (typeof InternetFallbackProtocol)[keyof typeof InternetFallbackProtocol];
|
|
173
|
+
/**
|
|
174
|
+
* <p>Describes the access endpoint configuration for a WorkSpace.</p>
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export interface AccessEndpointConfig {
|
|
178
|
+
/**
|
|
179
|
+
* <p>Indicates a list of access endpoints associated with this directory.</p>
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
AccessEndpoints: AccessEndpoint[] | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* <p>Indicates a list of protocols that fallback to using the public Internet when streaming over a VPC endpoint is not available.</p>
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
InternetFallbackProtocols?: InternetFallbackProtocol[] | undefined;
|
|
188
|
+
}
|
|
135
189
|
/**
|
|
136
190
|
* @public
|
|
137
191
|
* @enum
|
|
@@ -4287,6 +4341,11 @@ export interface WorkspaceAccessProperties {
|
|
|
4287
4341
|
* @public
|
|
4288
4342
|
*/
|
|
4289
4343
|
DeviceTypeWorkSpacesThinClient?: AccessPropertyValue | undefined;
|
|
4344
|
+
/**
|
|
4345
|
+
* <p>Specifies the configuration for accessing the WorkSpace.</p>
|
|
4346
|
+
* @public
|
|
4347
|
+
*/
|
|
4348
|
+
AccessEndpointConfig?: AccessEndpointConfig | undefined;
|
|
4290
4349
|
}
|
|
4291
4350
|
/**
|
|
4292
4351
|
* @public
|
|
@@ -5492,6 +5551,18 @@ export interface ImportWorkspaceImageResult {
|
|
|
5492
5551
|
*/
|
|
5493
5552
|
ImageId?: string | undefined;
|
|
5494
5553
|
}
|
|
5554
|
+
/**
|
|
5555
|
+
* <p>Two or more of the selected parameter values cannot be used together.</p>
|
|
5556
|
+
* @public
|
|
5557
|
+
*/
|
|
5558
|
+
export declare class InvalidParameterCombinationException extends __BaseException {
|
|
5559
|
+
readonly name: "InvalidParameterCombinationException";
|
|
5560
|
+
readonly $fault: "client";
|
|
5561
|
+
/**
|
|
5562
|
+
* @internal
|
|
5563
|
+
*/
|
|
5564
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
|
|
5565
|
+
}
|
|
5495
5566
|
/**
|
|
5496
5567
|
* @public
|
|
5497
5568
|
*/
|
|
@@ -5912,56 +5983,3 @@ export declare class UnsupportedWorkspaceConfigurationException extends __BaseEx
|
|
|
5912
5983
|
*/
|
|
5913
5984
|
constructor(opts: __ExceptionOptionType<UnsupportedWorkspaceConfigurationException, __BaseException>);
|
|
5914
5985
|
}
|
|
5915
|
-
/**
|
|
5916
|
-
* @public
|
|
5917
|
-
* @enum
|
|
5918
|
-
*/
|
|
5919
|
-
export declare const TargetWorkspaceState: {
|
|
5920
|
-
readonly ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE";
|
|
5921
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
5922
|
-
};
|
|
5923
|
-
/**
|
|
5924
|
-
* @public
|
|
5925
|
-
*/
|
|
5926
|
-
export type TargetWorkspaceState = (typeof TargetWorkspaceState)[keyof typeof TargetWorkspaceState];
|
|
5927
|
-
/**
|
|
5928
|
-
* @public
|
|
5929
|
-
*/
|
|
5930
|
-
export interface ModifyWorkspaceStateRequest {
|
|
5931
|
-
/**
|
|
5932
|
-
* <p>The identifier of the WorkSpace.</p>
|
|
5933
|
-
* @public
|
|
5934
|
-
*/
|
|
5935
|
-
WorkspaceId: string | undefined;
|
|
5936
|
-
/**
|
|
5937
|
-
* <p>The WorkSpace state.</p>
|
|
5938
|
-
* @public
|
|
5939
|
-
*/
|
|
5940
|
-
WorkspaceState: TargetWorkspaceState | undefined;
|
|
5941
|
-
}
|
|
5942
|
-
/**
|
|
5943
|
-
* @public
|
|
5944
|
-
*/
|
|
5945
|
-
export interface ModifyWorkspaceStateResult {
|
|
5946
|
-
}
|
|
5947
|
-
/**
|
|
5948
|
-
* <p>Describes the information used to reboot a WorkSpace.</p>
|
|
5949
|
-
* @public
|
|
5950
|
-
*/
|
|
5951
|
-
export interface RebootRequest {
|
|
5952
|
-
/**
|
|
5953
|
-
* <p>The identifier of the WorkSpace.</p>
|
|
5954
|
-
* @public
|
|
5955
|
-
*/
|
|
5956
|
-
WorkspaceId: string | undefined;
|
|
5957
|
-
}
|
|
5958
|
-
/**
|
|
5959
|
-
* @public
|
|
5960
|
-
*/
|
|
5961
|
-
export interface RebootWorkspacesRequest {
|
|
5962
|
-
/**
|
|
5963
|
-
* <p>The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.</p>
|
|
5964
|
-
* @public
|
|
5965
|
-
*/
|
|
5966
|
-
RebootWorkspaceRequests: RebootRequest[] | undefined;
|
|
5967
|
-
}
|
|
@@ -1,6 +1,59 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { AccountLink, ActiveDirectoryConfig, ApplicationSettingsRequest, Capacity, ConnectionAliasPermission, FailedWorkspaceChangeRequest, IpRuleItem, MicrosoftEntraConfig, PoolsRunningMode, Tag, Tenancy, TimeoutSettings, UserIdentityType, WorkspaceDirectoryState, WorkspacesPool, WorkspaceType } from "./models_0";
|
|
3
3
|
import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* @enum
|
|
7
|
+
*/
|
|
8
|
+
export declare const TargetWorkspaceState: {
|
|
9
|
+
readonly ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE";
|
|
10
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type TargetWorkspaceState = (typeof TargetWorkspaceState)[keyof typeof TargetWorkspaceState];
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export interface ModifyWorkspaceStateRequest {
|
|
20
|
+
/**
|
|
21
|
+
* <p>The identifier of the WorkSpace.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
WorkspaceId: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* <p>The WorkSpace state.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
WorkspaceState: TargetWorkspaceState | undefined;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export interface ModifyWorkspaceStateResult {
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* <p>Describes the information used to reboot a WorkSpace.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export interface RebootRequest {
|
|
41
|
+
/**
|
|
42
|
+
* <p>The identifier of the WorkSpace.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
WorkspaceId: string | undefined;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export interface RebootWorkspacesRequest {
|
|
51
|
+
/**
|
|
52
|
+
* <p>The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
RebootWorkspaceRequests: RebootRequest[] | undefined;
|
|
56
|
+
}
|
|
4
57
|
/**
|
|
5
58
|
* @public
|
|
6
59
|
*/
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
RebootWorkspacesRequest,
|
|
5
|
+
RebootWorkspacesResult,
|
|
6
|
+
} from "../models/models_1";
|
|
5
7
|
import {
|
|
6
8
|
ServiceInputTypes,
|
|
7
9
|
ServiceOutputTypes,
|
|
@@ -16,7 +16,10 @@ export interface ClientInputEndpointParameters {
|
|
|
16
16
|
| EndpointV2
|
|
17
17
|
| Provider<EndpointV2>;
|
|
18
18
|
}
|
|
19
|
-
export type ClientResolvedEndpointParameters =
|
|
19
|
+
export type ClientResolvedEndpointParameters = Pick<
|
|
20
|
+
ClientInputEndpointParameters,
|
|
21
|
+
Exclude<keyof ClientInputEndpointParameters, "endpoint">
|
|
22
|
+
> & {
|
|
20
23
|
defaultSigningName: string;
|
|
21
24
|
};
|
|
22
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
@@ -56,6 +56,24 @@ export declare class ValidationException extends __BaseException {
|
|
|
56
56
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
57
57
|
);
|
|
58
58
|
}
|
|
59
|
+
export declare const AccessEndpointType: {
|
|
60
|
+
readonly STREAMING_WSP: "STREAMING_WSP";
|
|
61
|
+
};
|
|
62
|
+
export type AccessEndpointType =
|
|
63
|
+
(typeof AccessEndpointType)[keyof typeof AccessEndpointType];
|
|
64
|
+
export interface AccessEndpoint {
|
|
65
|
+
AccessEndpointType?: AccessEndpointType | undefined;
|
|
66
|
+
VpcEndpointId?: string | undefined;
|
|
67
|
+
}
|
|
68
|
+
export declare const InternetFallbackProtocol: {
|
|
69
|
+
readonly PCOIP: "PCOIP";
|
|
70
|
+
};
|
|
71
|
+
export type InternetFallbackProtocol =
|
|
72
|
+
(typeof InternetFallbackProtocol)[keyof typeof InternetFallbackProtocol];
|
|
73
|
+
export interface AccessEndpointConfig {
|
|
74
|
+
AccessEndpoints: AccessEndpoint[] | undefined;
|
|
75
|
+
InternetFallbackProtocols?: InternetFallbackProtocol[] | undefined;
|
|
76
|
+
}
|
|
59
77
|
export declare const AccessPropertyValue: {
|
|
60
78
|
readonly ALLOW: "ALLOW";
|
|
61
79
|
readonly DENY: "DENY";
|
|
@@ -1290,6 +1308,7 @@ export interface WorkspaceAccessProperties {
|
|
|
1290
1308
|
DeviceTypeZeroClient?: AccessPropertyValue | undefined;
|
|
1291
1309
|
DeviceTypeLinux?: AccessPropertyValue | undefined;
|
|
1292
1310
|
DeviceTypeWorkSpacesThinClient?: AccessPropertyValue | undefined;
|
|
1311
|
+
AccessEndpointConfig?: AccessEndpointConfig | undefined;
|
|
1293
1312
|
}
|
|
1294
1313
|
export declare const WorkspaceType: {
|
|
1295
1314
|
readonly PERSONAL: "PERSONAL";
|
|
@@ -1605,6 +1624,16 @@ export interface ImportWorkspaceImageRequest {
|
|
|
1605
1624
|
export interface ImportWorkspaceImageResult {
|
|
1606
1625
|
ImageId?: string | undefined;
|
|
1607
1626
|
}
|
|
1627
|
+
export declare class InvalidParameterCombinationException extends __BaseException {
|
|
1628
|
+
readonly name: "InvalidParameterCombinationException";
|
|
1629
|
+
readonly $fault: "client";
|
|
1630
|
+
constructor(
|
|
1631
|
+
opts: __ExceptionOptionType<
|
|
1632
|
+
InvalidParameterCombinationException,
|
|
1633
|
+
__BaseException
|
|
1634
|
+
>
|
|
1635
|
+
);
|
|
1636
|
+
}
|
|
1608
1637
|
export interface ListAccountLinksRequest {
|
|
1609
1638
|
LinkStatusFilter?: AccountLinkStatusEnum[] | undefined;
|
|
1610
1639
|
NextToken?: string | undefined;
|
|
@@ -1709,20 +1738,3 @@ export declare class UnsupportedWorkspaceConfigurationException extends __BaseEx
|
|
|
1709
1738
|
>
|
|
1710
1739
|
);
|
|
1711
1740
|
}
|
|
1712
|
-
export declare const TargetWorkspaceState: {
|
|
1713
|
-
readonly ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE";
|
|
1714
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
1715
|
-
};
|
|
1716
|
-
export type TargetWorkspaceState =
|
|
1717
|
-
(typeof TargetWorkspaceState)[keyof typeof TargetWorkspaceState];
|
|
1718
|
-
export interface ModifyWorkspaceStateRequest {
|
|
1719
|
-
WorkspaceId: string | undefined;
|
|
1720
|
-
WorkspaceState: TargetWorkspaceState | undefined;
|
|
1721
|
-
}
|
|
1722
|
-
export interface ModifyWorkspaceStateResult {}
|
|
1723
|
-
export interface RebootRequest {
|
|
1724
|
-
WorkspaceId: string | undefined;
|
|
1725
|
-
}
|
|
1726
|
-
export interface RebootWorkspacesRequest {
|
|
1727
|
-
RebootWorkspaceRequests: RebootRequest[] | undefined;
|
|
1728
|
-
}
|
|
@@ -18,6 +18,23 @@ import {
|
|
|
18
18
|
WorkspaceType,
|
|
19
19
|
} from "./models_0";
|
|
20
20
|
import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
|
|
21
|
+
export declare const TargetWorkspaceState: {
|
|
22
|
+
readonly ADMIN_MAINTENANCE: "ADMIN_MAINTENANCE";
|
|
23
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
24
|
+
};
|
|
25
|
+
export type TargetWorkspaceState =
|
|
26
|
+
(typeof TargetWorkspaceState)[keyof typeof TargetWorkspaceState];
|
|
27
|
+
export interface ModifyWorkspaceStateRequest {
|
|
28
|
+
WorkspaceId: string | undefined;
|
|
29
|
+
WorkspaceState: TargetWorkspaceState | undefined;
|
|
30
|
+
}
|
|
31
|
+
export interface ModifyWorkspaceStateResult {}
|
|
32
|
+
export interface RebootRequest {
|
|
33
|
+
WorkspaceId: string | undefined;
|
|
34
|
+
}
|
|
35
|
+
export interface RebootWorkspacesRequest {
|
|
36
|
+
RebootWorkspaceRequests: RebootRequest[] | undefined;
|
|
37
|
+
}
|
|
21
38
|
export interface RebootWorkspacesResult {
|
|
22
39
|
FailedRequests?: FailedWorkspaceChangeRequest[] | undefined;
|
|
23
40
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.838.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-workspaces",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.835.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.835.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.821.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.835.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
30
30
|
"@aws-sdk/types": "3.821.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.828.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.835.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
35
|
"@smithy/core": "^3.5.3",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.4",
|
|
37
37
|
"@smithy/hash-node": "^4.0.4",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.13",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.8",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.4",
|
|
44
44
|
"@smithy/node-config-provider": "^4.1.3",
|
|
45
45
|
"@smithy/node-http-handler": "^4.0.6",
|
|
46
46
|
"@smithy/protocol-http": "^5.1.2",
|
|
47
|
-
"@smithy/smithy-client": "^4.4.
|
|
47
|
+
"@smithy/smithy-client": "^4.4.4",
|
|
48
48
|
"@smithy/types": "^4.3.1",
|
|
49
49
|
"@smithy/url-parser": "^4.0.4",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.20",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.20",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.6",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.4",
|
|
57
|
-
"@smithy/util-retry": "^4.0.
|
|
57
|
+
"@smithy/util-retry": "^4.0.6",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|