@aws-sdk/client-workspaces 3.29.0 → 3.33.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 +32 -0
- package/dist/cjs/WorkSpacesClient.js +13 -13
- package/dist/cjs/WorkSpacesClient.js.map +1 -1
- package/dist/cjs/commands/AssociateConnectionAliasCommand.js +3 -3
- package/dist/cjs/commands/AssociateConnectionAliasCommand.js.map +1 -1
- package/dist/cjs/commands/AssociateIpGroupsCommand.js +3 -3
- package/dist/cjs/commands/AssociateIpGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/AuthorizeIpRulesCommand.js +3 -3
- package/dist/cjs/commands/AuthorizeIpRulesCommand.js.map +1 -1
- package/dist/cjs/commands/CopyWorkspaceImageCommand.js +3 -3
- package/dist/cjs/commands/CopyWorkspaceImageCommand.js.map +1 -1
- package/dist/cjs/commands/CreateConnectionAliasCommand.js +3 -3
- package/dist/cjs/commands/CreateConnectionAliasCommand.js.map +1 -1
- package/dist/cjs/commands/CreateIpGroupCommand.js +3 -3
- package/dist/cjs/commands/CreateIpGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateTagsCommand.js +3 -3
- package/dist/cjs/commands/CreateTagsCommand.js.map +1 -1
- package/dist/cjs/commands/CreateWorkspaceBundleCommand.js +3 -3
- package/dist/cjs/commands/CreateWorkspaceBundleCommand.js.map +1 -1
- package/dist/cjs/commands/CreateWorkspacesCommand.js +3 -3
- package/dist/cjs/commands/CreateWorkspacesCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteConnectionAliasCommand.js +3 -3
- package/dist/cjs/commands/DeleteConnectionAliasCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteIpGroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteIpGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteTagsCommand.js +3 -3
- package/dist/cjs/commands/DeleteTagsCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteWorkspaceBundleCommand.js +3 -3
- package/dist/cjs/commands/DeleteWorkspaceBundleCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteWorkspaceImageCommand.js +3 -3
- package/dist/cjs/commands/DeleteWorkspaceImageCommand.js.map +1 -1
- package/dist/cjs/commands/DeregisterWorkspaceDirectoryCommand.js +3 -3
- package/dist/cjs/commands/DeregisterWorkspaceDirectoryCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeAccountCommand.js +3 -3
- package/dist/cjs/commands/DescribeAccountCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeAccountModificationsCommand.js +3 -3
- package/dist/cjs/commands/DescribeAccountModificationsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeClientPropertiesCommand.js +3 -3
- package/dist/cjs/commands/DescribeClientPropertiesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeConnectionAliasPermissionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeConnectionAliasPermissionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeConnectionAliasesCommand.js +3 -3
- package/dist/cjs/commands/DescribeConnectionAliasesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeIpGroupsCommand.js +3 -3
- package/dist/cjs/commands/DescribeIpGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTagsCommand.js +3 -3
- package/dist/cjs/commands/DescribeTagsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeWorkspaceBundlesCommand.js +3 -3
- package/dist/cjs/commands/DescribeWorkspaceBundlesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeWorkspaceDirectoriesCommand.js +3 -3
- package/dist/cjs/commands/DescribeWorkspaceDirectoriesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeWorkspaceImagePermissionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeWorkspaceImagePermissionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeWorkspaceImagesCommand.js +3 -3
- package/dist/cjs/commands/DescribeWorkspaceImagesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeWorkspaceSnapshotsCommand.js +3 -3
- package/dist/cjs/commands/DescribeWorkspaceSnapshotsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeWorkspacesCommand.js +3 -3
- package/dist/cjs/commands/DescribeWorkspacesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeWorkspacesConnectionStatusCommand.js +3 -3
- package/dist/cjs/commands/DescribeWorkspacesConnectionStatusCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateConnectionAliasCommand.js +3 -3
- package/dist/cjs/commands/DisassociateConnectionAliasCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateIpGroupsCommand.js +3 -3
- package/dist/cjs/commands/DisassociateIpGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/ImportWorkspaceImageCommand.js +3 -3
- package/dist/cjs/commands/ImportWorkspaceImageCommand.js.map +1 -1
- package/dist/cjs/commands/ListAvailableManagementCidrRangesCommand.js +3 -3
- package/dist/cjs/commands/ListAvailableManagementCidrRangesCommand.js.map +1 -1
- package/dist/cjs/commands/MigrateWorkspaceCommand.js +3 -3
- package/dist/cjs/commands/MigrateWorkspaceCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyAccountCommand.js +3 -3
- package/dist/cjs/commands/ModifyAccountCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyClientPropertiesCommand.js +3 -3
- package/dist/cjs/commands/ModifyClientPropertiesCommand.js.map +1 -1
- package/dist/cjs/commands/ModifySelfservicePermissionsCommand.js +3 -3
- package/dist/cjs/commands/ModifySelfservicePermissionsCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js +3 -3
- package/dist/cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js +3 -3
- package/dist/cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyWorkspacePropertiesCommand.js +3 -3
- package/dist/cjs/commands/ModifyWorkspacePropertiesCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyWorkspaceStateCommand.js +3 -3
- package/dist/cjs/commands/ModifyWorkspaceStateCommand.js.map +1 -1
- package/dist/cjs/commands/RebootWorkspacesCommand.js +3 -3
- package/dist/cjs/commands/RebootWorkspacesCommand.js.map +1 -1
- package/dist/cjs/commands/RebuildWorkspacesCommand.js +3 -3
- package/dist/cjs/commands/RebuildWorkspacesCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterWorkspaceDirectoryCommand.js +3 -3
- package/dist/cjs/commands/RegisterWorkspaceDirectoryCommand.js.map +1 -1
- package/dist/cjs/commands/RestoreWorkspaceCommand.js +3 -3
- package/dist/cjs/commands/RestoreWorkspaceCommand.js.map +1 -1
- package/dist/cjs/commands/RevokeIpRulesCommand.js +3 -3
- package/dist/cjs/commands/RevokeIpRulesCommand.js.map +1 -1
- package/dist/cjs/commands/StartWorkspacesCommand.js +3 -3
- package/dist/cjs/commands/StartWorkspacesCommand.js.map +1 -1
- package/dist/cjs/commands/StopWorkspacesCommand.js +3 -3
- package/dist/cjs/commands/StopWorkspacesCommand.js.map +1 -1
- package/dist/cjs/commands/TerminateWorkspacesCommand.js +3 -3
- package/dist/cjs/commands/TerminateWorkspacesCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateConnectionAliasPermissionCommand.js +3 -3
- package/dist/cjs/commands/UpdateConnectionAliasPermissionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateRulesOfIpGroupCommand.js +3 -3
- package/dist/cjs/commands/UpdateRulesOfIpGroupCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateWorkspaceBundleCommand.js +3 -3
- package/dist/cjs/commands/UpdateWorkspaceBundleCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateWorkspaceImagePermissionCommand.js +3 -3
- package/dist/cjs/commands/UpdateWorkspaceImagePermissionCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +60 -60
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +155 -153
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/DescribeWorkspaceBundlesPaginator.js +4 -4
- package/dist/es/pagination/DescribeWorkspaceBundlesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeWorkspaceDirectoriesPaginator.js +4 -4
- package/dist/es/pagination/DescribeWorkspaceDirectoriesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeWorkspacesPaginator.js +4 -4
- package/dist/es/pagination/DescribeWorkspacesPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +10 -8
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +12 -7
- package/tsconfig.json +1 -2
|
@@ -4969,18 +4969,18 @@ const serializeAws_json1_1WorkspaceRequestList = (input, context) => {
|
|
|
4969
4969
|
};
|
|
4970
4970
|
const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
4971
4971
|
return {
|
|
4972
|
-
message:
|
|
4972
|
+
message: smithy_client_1.expectString(output.message),
|
|
4973
4973
|
};
|
|
4974
4974
|
};
|
|
4975
4975
|
const deserializeAws_json1_1AccountModification = (output, context) => {
|
|
4976
4976
|
return {
|
|
4977
|
-
DedicatedTenancyManagementCidrRange:
|
|
4978
|
-
DedicatedTenancySupport:
|
|
4979
|
-
ErrorCode:
|
|
4980
|
-
ErrorMessage:
|
|
4981
|
-
ModificationState:
|
|
4977
|
+
DedicatedTenancyManagementCidrRange: smithy_client_1.expectString(output.DedicatedTenancyManagementCidrRange),
|
|
4978
|
+
DedicatedTenancySupport: smithy_client_1.expectString(output.DedicatedTenancySupport),
|
|
4979
|
+
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
4980
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
4981
|
+
ModificationState: smithy_client_1.expectString(output.ModificationState),
|
|
4982
4982
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
4983
|
-
?
|
|
4983
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
4984
4984
|
: undefined,
|
|
4985
4985
|
};
|
|
4986
4986
|
};
|
|
@@ -4996,7 +4996,7 @@ const deserializeAws_json1_1AccountModificationList = (output, context) => {
|
|
|
4996
4996
|
};
|
|
4997
4997
|
const deserializeAws_json1_1AssociateConnectionAliasResult = (output, context) => {
|
|
4998
4998
|
return {
|
|
4999
|
-
ConnectionIdentifier:
|
|
4999
|
+
ConnectionIdentifier: smithy_client_1.expectString(output.ConnectionIdentifier),
|
|
5000
5000
|
};
|
|
5001
5001
|
};
|
|
5002
5002
|
const deserializeAws_json1_1AssociateIpGroupsResult = (output, context) => {
|
|
@@ -5017,7 +5017,7 @@ const deserializeAws_json1_1BundleList = (output, context) => {
|
|
|
5017
5017
|
};
|
|
5018
5018
|
const deserializeAws_json1_1ClientProperties = (output, context) => {
|
|
5019
5019
|
return {
|
|
5020
|
-
ReconnectEnabled:
|
|
5020
|
+
ReconnectEnabled: smithy_client_1.expectString(output.ReconnectEnabled),
|
|
5021
5021
|
};
|
|
5022
5022
|
};
|
|
5023
5023
|
const deserializeAws_json1_1ClientPropertiesList = (output, context) => {
|
|
@@ -5035,31 +5035,31 @@ const deserializeAws_json1_1ClientPropertiesResult = (output, context) => {
|
|
|
5035
5035
|
ClientProperties: output.ClientProperties !== undefined && output.ClientProperties !== null
|
|
5036
5036
|
? deserializeAws_json1_1ClientProperties(output.ClientProperties, context)
|
|
5037
5037
|
: undefined,
|
|
5038
|
-
ResourceId:
|
|
5038
|
+
ResourceId: smithy_client_1.expectString(output.ResourceId),
|
|
5039
5039
|
};
|
|
5040
5040
|
};
|
|
5041
5041
|
const deserializeAws_json1_1ComputeType = (output, context) => {
|
|
5042
5042
|
return {
|
|
5043
|
-
Name:
|
|
5043
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5044
5044
|
};
|
|
5045
5045
|
};
|
|
5046
5046
|
const deserializeAws_json1_1ConnectionAlias = (output, context) => {
|
|
5047
5047
|
return {
|
|
5048
|
-
AliasId:
|
|
5048
|
+
AliasId: smithy_client_1.expectString(output.AliasId),
|
|
5049
5049
|
Associations: output.Associations !== undefined && output.Associations !== null
|
|
5050
5050
|
? deserializeAws_json1_1ConnectionAliasAssociationList(output.Associations, context)
|
|
5051
5051
|
: undefined,
|
|
5052
|
-
ConnectionString:
|
|
5053
|
-
OwnerAccountId:
|
|
5054
|
-
State:
|
|
5052
|
+
ConnectionString: smithy_client_1.expectString(output.ConnectionString),
|
|
5053
|
+
OwnerAccountId: smithy_client_1.expectString(output.OwnerAccountId),
|
|
5054
|
+
State: smithy_client_1.expectString(output.State),
|
|
5055
5055
|
};
|
|
5056
5056
|
};
|
|
5057
5057
|
const deserializeAws_json1_1ConnectionAliasAssociation = (output, context) => {
|
|
5058
5058
|
return {
|
|
5059
|
-
AssociatedAccountId:
|
|
5060
|
-
AssociationStatus:
|
|
5061
|
-
ConnectionIdentifier:
|
|
5062
|
-
ResourceId:
|
|
5059
|
+
AssociatedAccountId: smithy_client_1.expectString(output.AssociatedAccountId),
|
|
5060
|
+
AssociationStatus: smithy_client_1.expectString(output.AssociationStatus),
|
|
5061
|
+
ConnectionIdentifier: smithy_client_1.expectString(output.ConnectionIdentifier),
|
|
5062
|
+
ResourceId: smithy_client_1.expectString(output.ResourceId),
|
|
5063
5063
|
};
|
|
5064
5064
|
};
|
|
5065
5065
|
const deserializeAws_json1_1ConnectionAliasAssociationList = (output, context) => {
|
|
@@ -5084,8 +5084,8 @@ const deserializeAws_json1_1ConnectionAliasList = (output, context) => {
|
|
|
5084
5084
|
};
|
|
5085
5085
|
const deserializeAws_json1_1ConnectionAliasPermission = (output, context) => {
|
|
5086
5086
|
return {
|
|
5087
|
-
AllowAssociation:
|
|
5088
|
-
SharedAccountId:
|
|
5087
|
+
AllowAssociation: smithy_client_1.expectBoolean(output.AllowAssociation),
|
|
5088
|
+
SharedAccountId: smithy_client_1.expectString(output.SharedAccountId),
|
|
5089
5089
|
};
|
|
5090
5090
|
};
|
|
5091
5091
|
const deserializeAws_json1_1ConnectionAliasPermissions = (output, context) => {
|
|
@@ -5100,17 +5100,17 @@ const deserializeAws_json1_1ConnectionAliasPermissions = (output, context) => {
|
|
|
5100
5100
|
};
|
|
5101
5101
|
const deserializeAws_json1_1CopyWorkspaceImageResult = (output, context) => {
|
|
5102
5102
|
return {
|
|
5103
|
-
ImageId:
|
|
5103
|
+
ImageId: smithy_client_1.expectString(output.ImageId),
|
|
5104
5104
|
};
|
|
5105
5105
|
};
|
|
5106
5106
|
const deserializeAws_json1_1CreateConnectionAliasResult = (output, context) => {
|
|
5107
5107
|
return {
|
|
5108
|
-
AliasId:
|
|
5108
|
+
AliasId: smithy_client_1.expectString(output.AliasId),
|
|
5109
5109
|
};
|
|
5110
5110
|
};
|
|
5111
5111
|
const deserializeAws_json1_1CreateIpGroupResult = (output, context) => {
|
|
5112
5112
|
return {
|
|
5113
|
-
GroupId:
|
|
5113
|
+
GroupId: smithy_client_1.expectString(output.GroupId),
|
|
5114
5114
|
};
|
|
5115
5115
|
};
|
|
5116
5116
|
const deserializeAws_json1_1CreateTagsResult = (output, context) => {
|
|
@@ -5140,17 +5140,17 @@ const deserializeAws_json1_1DedicatedTenancyCidrRangeList = (output, context) =>
|
|
|
5140
5140
|
if (entry === null) {
|
|
5141
5141
|
return null;
|
|
5142
5142
|
}
|
|
5143
|
-
return
|
|
5143
|
+
return smithy_client_1.expectString(entry);
|
|
5144
5144
|
});
|
|
5145
5145
|
};
|
|
5146
5146
|
const deserializeAws_json1_1DefaultWorkspaceCreationProperties = (output, context) => {
|
|
5147
5147
|
return {
|
|
5148
|
-
CustomSecurityGroupId:
|
|
5149
|
-
DefaultOu:
|
|
5150
|
-
EnableInternetAccess:
|
|
5151
|
-
EnableMaintenanceMode:
|
|
5152
|
-
EnableWorkDocs:
|
|
5153
|
-
UserEnabledAsLocalAdministrator:
|
|
5148
|
+
CustomSecurityGroupId: smithy_client_1.expectString(output.CustomSecurityGroupId),
|
|
5149
|
+
DefaultOu: smithy_client_1.expectString(output.DefaultOu),
|
|
5150
|
+
EnableInternetAccess: smithy_client_1.expectBoolean(output.EnableInternetAccess),
|
|
5151
|
+
EnableMaintenanceMode: smithy_client_1.expectBoolean(output.EnableMaintenanceMode),
|
|
5152
|
+
EnableWorkDocs: smithy_client_1.expectBoolean(output.EnableWorkDocs),
|
|
5153
|
+
UserEnabledAsLocalAdministrator: smithy_client_1.expectBoolean(output.UserEnabledAsLocalAdministrator),
|
|
5154
5154
|
};
|
|
5155
5155
|
};
|
|
5156
5156
|
const deserializeAws_json1_1DeleteConnectionAliasResult = (output, context) => {
|
|
@@ -5176,13 +5176,13 @@ const deserializeAws_json1_1DescribeAccountModificationsResult = (output, contex
|
|
|
5176
5176
|
AccountModifications: output.AccountModifications !== undefined && output.AccountModifications !== null
|
|
5177
5177
|
? deserializeAws_json1_1AccountModificationList(output.AccountModifications, context)
|
|
5178
5178
|
: undefined,
|
|
5179
|
-
NextToken:
|
|
5179
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5180
5180
|
};
|
|
5181
5181
|
};
|
|
5182
5182
|
const deserializeAws_json1_1DescribeAccountResult = (output, context) => {
|
|
5183
5183
|
return {
|
|
5184
|
-
DedicatedTenancyManagementCidrRange:
|
|
5185
|
-
DedicatedTenancySupport:
|
|
5184
|
+
DedicatedTenancyManagementCidrRange: smithy_client_1.expectString(output.DedicatedTenancyManagementCidrRange),
|
|
5185
|
+
DedicatedTenancySupport: smithy_client_1.expectString(output.DedicatedTenancySupport),
|
|
5186
5186
|
};
|
|
5187
5187
|
};
|
|
5188
5188
|
const deserializeAws_json1_1DescribeClientPropertiesResult = (output, context) => {
|
|
@@ -5197,21 +5197,21 @@ const deserializeAws_json1_1DescribeConnectionAliasesResult = (output, context)
|
|
|
5197
5197
|
ConnectionAliases: output.ConnectionAliases !== undefined && output.ConnectionAliases !== null
|
|
5198
5198
|
? deserializeAws_json1_1ConnectionAliasList(output.ConnectionAliases, context)
|
|
5199
5199
|
: undefined,
|
|
5200
|
-
NextToken:
|
|
5200
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5201
5201
|
};
|
|
5202
5202
|
};
|
|
5203
5203
|
const deserializeAws_json1_1DescribeConnectionAliasPermissionsResult = (output, context) => {
|
|
5204
5204
|
return {
|
|
5205
|
-
AliasId:
|
|
5205
|
+
AliasId: smithy_client_1.expectString(output.AliasId),
|
|
5206
5206
|
ConnectionAliasPermissions: output.ConnectionAliasPermissions !== undefined && output.ConnectionAliasPermissions !== null
|
|
5207
5207
|
? deserializeAws_json1_1ConnectionAliasPermissions(output.ConnectionAliasPermissions, context)
|
|
5208
5208
|
: undefined,
|
|
5209
|
-
NextToken:
|
|
5209
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5210
5210
|
};
|
|
5211
5211
|
};
|
|
5212
5212
|
const deserializeAws_json1_1DescribeIpGroupsResult = (output, context) => {
|
|
5213
5213
|
return {
|
|
5214
|
-
NextToken:
|
|
5214
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5215
5215
|
Result: output.Result !== undefined && output.Result !== null
|
|
5216
5216
|
? deserializeAws_json1_1WorkspacesIpGroupsList(output.Result, context)
|
|
5217
5217
|
: undefined,
|
|
@@ -5229,7 +5229,7 @@ const deserializeAws_json1_1DescribeWorkspaceBundlesResult = (output, context) =
|
|
|
5229
5229
|
Bundles: output.Bundles !== undefined && output.Bundles !== null
|
|
5230
5230
|
? deserializeAws_json1_1BundleList(output.Bundles, context)
|
|
5231
5231
|
: undefined,
|
|
5232
|
-
NextToken:
|
|
5232
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5233
5233
|
};
|
|
5234
5234
|
};
|
|
5235
5235
|
const deserializeAws_json1_1DescribeWorkspaceDirectoriesResult = (output, context) => {
|
|
@@ -5237,16 +5237,16 @@ const deserializeAws_json1_1DescribeWorkspaceDirectoriesResult = (output, contex
|
|
|
5237
5237
|
Directories: output.Directories !== undefined && output.Directories !== null
|
|
5238
5238
|
? deserializeAws_json1_1DirectoryList(output.Directories, context)
|
|
5239
5239
|
: undefined,
|
|
5240
|
-
NextToken:
|
|
5240
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5241
5241
|
};
|
|
5242
5242
|
};
|
|
5243
5243
|
const deserializeAws_json1_1DescribeWorkspaceImagePermissionsResult = (output, context) => {
|
|
5244
5244
|
return {
|
|
5245
|
-
ImageId:
|
|
5245
|
+
ImageId: smithy_client_1.expectString(output.ImageId),
|
|
5246
5246
|
ImagePermissions: output.ImagePermissions !== undefined && output.ImagePermissions !== null
|
|
5247
5247
|
? deserializeAws_json1_1ImagePermissions(output.ImagePermissions, context)
|
|
5248
5248
|
: undefined,
|
|
5249
|
-
NextToken:
|
|
5249
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5250
5250
|
};
|
|
5251
5251
|
};
|
|
5252
5252
|
const deserializeAws_json1_1DescribeWorkspaceImagesResult = (output, context) => {
|
|
@@ -5254,12 +5254,12 @@ const deserializeAws_json1_1DescribeWorkspaceImagesResult = (output, context) =>
|
|
|
5254
5254
|
Images: output.Images !== undefined && output.Images !== null
|
|
5255
5255
|
? deserializeAws_json1_1WorkspaceImageList(output.Images, context)
|
|
5256
5256
|
: undefined,
|
|
5257
|
-
NextToken:
|
|
5257
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5258
5258
|
};
|
|
5259
5259
|
};
|
|
5260
5260
|
const deserializeAws_json1_1DescribeWorkspacesConnectionStatusResult = (output, context) => {
|
|
5261
5261
|
return {
|
|
5262
|
-
NextToken:
|
|
5262
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5263
5263
|
WorkspacesConnectionStatus: output.WorkspacesConnectionStatus !== undefined && output.WorkspacesConnectionStatus !== null
|
|
5264
5264
|
? deserializeAws_json1_1WorkspaceConnectionStatusList(output.WorkspacesConnectionStatus, context)
|
|
5265
5265
|
: undefined,
|
|
@@ -5277,7 +5277,7 @@ const deserializeAws_json1_1DescribeWorkspaceSnapshotsResult = (output, context)
|
|
|
5277
5277
|
};
|
|
5278
5278
|
const deserializeAws_json1_1DescribeWorkspacesResult = (output, context) => {
|
|
5279
5279
|
return {
|
|
5280
|
-
NextToken:
|
|
5280
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5281
5281
|
Workspaces: output.Workspaces !== undefined && output.Workspaces !== null
|
|
5282
5282
|
? deserializeAws_json1_1WorkspaceList(output.Workspaces, context)
|
|
5283
5283
|
: undefined,
|
|
@@ -5306,13 +5306,13 @@ const deserializeAws_json1_1DnsIpAddresses = (output, context) => {
|
|
|
5306
5306
|
if (entry === null) {
|
|
5307
5307
|
return null;
|
|
5308
5308
|
}
|
|
5309
|
-
return
|
|
5309
|
+
return smithy_client_1.expectString(entry);
|
|
5310
5310
|
});
|
|
5311
5311
|
};
|
|
5312
5312
|
const deserializeAws_json1_1FailedCreateWorkspaceRequest = (output, context) => {
|
|
5313
5313
|
return {
|
|
5314
|
-
ErrorCode:
|
|
5315
|
-
ErrorMessage:
|
|
5314
|
+
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
5315
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
5316
5316
|
WorkspaceRequest: output.WorkspaceRequest !== undefined && output.WorkspaceRequest !== null
|
|
5317
5317
|
? deserializeAws_json1_1WorkspaceRequest(output.WorkspaceRequest, context)
|
|
5318
5318
|
: undefined,
|
|
@@ -5380,14 +5380,14 @@ const deserializeAws_json1_1FailedTerminateWorkspaceRequests = (output, context)
|
|
|
5380
5380
|
};
|
|
5381
5381
|
const deserializeAws_json1_1FailedWorkspaceChangeRequest = (output, context) => {
|
|
5382
5382
|
return {
|
|
5383
|
-
ErrorCode:
|
|
5384
|
-
ErrorMessage:
|
|
5385
|
-
WorkspaceId:
|
|
5383
|
+
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
5384
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
5385
|
+
WorkspaceId: smithy_client_1.expectString(output.WorkspaceId),
|
|
5386
5386
|
};
|
|
5387
5387
|
};
|
|
5388
5388
|
const deserializeAws_json1_1ImagePermission = (output, context) => {
|
|
5389
5389
|
return {
|
|
5390
|
-
SharedAccountId:
|
|
5390
|
+
SharedAccountId: smithy_client_1.expectString(output.SharedAccountId),
|
|
5391
5391
|
};
|
|
5392
5392
|
};
|
|
5393
5393
|
const deserializeAws_json1_1ImagePermissions = (output, context) => {
|
|
@@ -5402,17 +5402,17 @@ const deserializeAws_json1_1ImagePermissions = (output, context) => {
|
|
|
5402
5402
|
};
|
|
5403
5403
|
const deserializeAws_json1_1ImportWorkspaceImageResult = (output, context) => {
|
|
5404
5404
|
return {
|
|
5405
|
-
ImageId:
|
|
5405
|
+
ImageId: smithy_client_1.expectString(output.ImageId),
|
|
5406
5406
|
};
|
|
5407
5407
|
};
|
|
5408
5408
|
const deserializeAws_json1_1InvalidParameterValuesException = (output, context) => {
|
|
5409
5409
|
return {
|
|
5410
|
-
message:
|
|
5410
|
+
message: smithy_client_1.expectString(output.message),
|
|
5411
5411
|
};
|
|
5412
5412
|
};
|
|
5413
5413
|
const deserializeAws_json1_1InvalidResourceStateException = (output, context) => {
|
|
5414
5414
|
return {
|
|
5415
|
-
message:
|
|
5415
|
+
message: smithy_client_1.expectString(output.message),
|
|
5416
5416
|
};
|
|
5417
5417
|
};
|
|
5418
5418
|
const deserializeAws_json1_1IpGroupIdList = (output, context) => {
|
|
@@ -5422,13 +5422,13 @@ const deserializeAws_json1_1IpGroupIdList = (output, context) => {
|
|
|
5422
5422
|
if (entry === null) {
|
|
5423
5423
|
return null;
|
|
5424
5424
|
}
|
|
5425
|
-
return
|
|
5425
|
+
return smithy_client_1.expectString(entry);
|
|
5426
5426
|
});
|
|
5427
5427
|
};
|
|
5428
5428
|
const deserializeAws_json1_1IpRuleItem = (output, context) => {
|
|
5429
5429
|
return {
|
|
5430
|
-
ipRule:
|
|
5431
|
-
ruleDesc:
|
|
5430
|
+
ipRule: smithy_client_1.expectString(output.ipRule),
|
|
5431
|
+
ruleDesc: smithy_client_1.expectString(output.ruleDesc),
|
|
5432
5432
|
};
|
|
5433
5433
|
};
|
|
5434
5434
|
const deserializeAws_json1_1IpRuleList = (output, context) => {
|
|
@@ -5446,19 +5446,19 @@ const deserializeAws_json1_1ListAvailableManagementCidrRangesResult = (output, c
|
|
|
5446
5446
|
ManagementCidrRanges: output.ManagementCidrRanges !== undefined && output.ManagementCidrRanges !== null
|
|
5447
5447
|
? deserializeAws_json1_1DedicatedTenancyCidrRangeList(output.ManagementCidrRanges, context)
|
|
5448
5448
|
: undefined,
|
|
5449
|
-
NextToken:
|
|
5449
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5450
5450
|
};
|
|
5451
5451
|
};
|
|
5452
5452
|
const deserializeAws_json1_1MigrateWorkspaceResult = (output, context) => {
|
|
5453
5453
|
return {
|
|
5454
|
-
SourceWorkspaceId:
|
|
5455
|
-
TargetWorkspaceId:
|
|
5454
|
+
SourceWorkspaceId: smithy_client_1.expectString(output.SourceWorkspaceId),
|
|
5455
|
+
TargetWorkspaceId: smithy_client_1.expectString(output.TargetWorkspaceId),
|
|
5456
5456
|
};
|
|
5457
5457
|
};
|
|
5458
5458
|
const deserializeAws_json1_1ModificationState = (output, context) => {
|
|
5459
5459
|
return {
|
|
5460
|
-
Resource:
|
|
5461
|
-
State:
|
|
5460
|
+
Resource: smithy_client_1.expectString(output.Resource),
|
|
5461
|
+
State: smithy_client_1.expectString(output.State),
|
|
5462
5462
|
};
|
|
5463
5463
|
};
|
|
5464
5464
|
const deserializeAws_json1_1ModificationStateList = (output, context) => {
|
|
@@ -5494,17 +5494,17 @@ const deserializeAws_json1_1ModifyWorkspaceStateResult = (output, context) => {
|
|
|
5494
5494
|
};
|
|
5495
5495
|
const deserializeAws_json1_1OperatingSystem = (output, context) => {
|
|
5496
5496
|
return {
|
|
5497
|
-
Type:
|
|
5497
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
5498
5498
|
};
|
|
5499
5499
|
};
|
|
5500
5500
|
const deserializeAws_json1_1OperationInProgressException = (output, context) => {
|
|
5501
5501
|
return {
|
|
5502
|
-
message:
|
|
5502
|
+
message: smithy_client_1.expectString(output.message),
|
|
5503
5503
|
};
|
|
5504
5504
|
};
|
|
5505
5505
|
const deserializeAws_json1_1OperationNotSupportedException = (output, context) => {
|
|
5506
5506
|
return {
|
|
5507
|
-
message:
|
|
5507
|
+
message: smithy_client_1.expectString(output.message),
|
|
5508
5508
|
};
|
|
5509
5509
|
};
|
|
5510
5510
|
const deserializeAws_json1_1RebootWorkspacesResult = (output, context) => {
|
|
@@ -5526,34 +5526,34 @@ const deserializeAws_json1_1RegisterWorkspaceDirectoryResult = (output, context)
|
|
|
5526
5526
|
};
|
|
5527
5527
|
const deserializeAws_json1_1ResourceAlreadyExistsException = (output, context) => {
|
|
5528
5528
|
return {
|
|
5529
|
-
message:
|
|
5529
|
+
message: smithy_client_1.expectString(output.message),
|
|
5530
5530
|
};
|
|
5531
5531
|
};
|
|
5532
5532
|
const deserializeAws_json1_1ResourceAssociatedException = (output, context) => {
|
|
5533
5533
|
return {
|
|
5534
|
-
message:
|
|
5534
|
+
message: smithy_client_1.expectString(output.message),
|
|
5535
5535
|
};
|
|
5536
5536
|
};
|
|
5537
5537
|
const deserializeAws_json1_1ResourceCreationFailedException = (output, context) => {
|
|
5538
5538
|
return {
|
|
5539
|
-
message:
|
|
5539
|
+
message: smithy_client_1.expectString(output.message),
|
|
5540
5540
|
};
|
|
5541
5541
|
};
|
|
5542
5542
|
const deserializeAws_json1_1ResourceLimitExceededException = (output, context) => {
|
|
5543
5543
|
return {
|
|
5544
|
-
message:
|
|
5544
|
+
message: smithy_client_1.expectString(output.message),
|
|
5545
5545
|
};
|
|
5546
5546
|
};
|
|
5547
5547
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
5548
5548
|
return {
|
|
5549
|
-
ResourceId:
|
|
5550
|
-
message:
|
|
5549
|
+
ResourceId: smithy_client_1.expectString(output.ResourceId),
|
|
5550
|
+
message: smithy_client_1.expectString(output.message),
|
|
5551
5551
|
};
|
|
5552
5552
|
};
|
|
5553
5553
|
const deserializeAws_json1_1ResourceUnavailableException = (output, context) => {
|
|
5554
5554
|
return {
|
|
5555
|
-
ResourceId:
|
|
5556
|
-
message:
|
|
5555
|
+
ResourceId: smithy_client_1.expectString(output.ResourceId),
|
|
5556
|
+
message: smithy_client_1.expectString(output.message),
|
|
5557
5557
|
};
|
|
5558
5558
|
};
|
|
5559
5559
|
const deserializeAws_json1_1RestoreWorkspaceResult = (output, context) => {
|
|
@@ -5564,22 +5564,22 @@ const deserializeAws_json1_1RevokeIpRulesResult = (output, context) => {
|
|
|
5564
5564
|
};
|
|
5565
5565
|
const deserializeAws_json1_1RootStorage = (output, context) => {
|
|
5566
5566
|
return {
|
|
5567
|
-
Capacity:
|
|
5567
|
+
Capacity: smithy_client_1.expectString(output.Capacity),
|
|
5568
5568
|
};
|
|
5569
5569
|
};
|
|
5570
5570
|
const deserializeAws_json1_1SelfservicePermissions = (output, context) => {
|
|
5571
5571
|
return {
|
|
5572
|
-
ChangeComputeType:
|
|
5573
|
-
IncreaseVolumeSize:
|
|
5574
|
-
RebuildWorkspace:
|
|
5575
|
-
RestartWorkspace:
|
|
5576
|
-
SwitchRunningMode:
|
|
5572
|
+
ChangeComputeType: smithy_client_1.expectString(output.ChangeComputeType),
|
|
5573
|
+
IncreaseVolumeSize: smithy_client_1.expectString(output.IncreaseVolumeSize),
|
|
5574
|
+
RebuildWorkspace: smithy_client_1.expectString(output.RebuildWorkspace),
|
|
5575
|
+
RestartWorkspace: smithy_client_1.expectString(output.RestartWorkspace),
|
|
5576
|
+
SwitchRunningMode: smithy_client_1.expectString(output.SwitchRunningMode),
|
|
5577
5577
|
};
|
|
5578
5578
|
};
|
|
5579
5579
|
const deserializeAws_json1_1Snapshot = (output, context) => {
|
|
5580
5580
|
return {
|
|
5581
5581
|
SnapshotTime: output.SnapshotTime !== undefined && output.SnapshotTime !== null
|
|
5582
|
-
?
|
|
5582
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SnapshotTime)))
|
|
5583
5583
|
: undefined,
|
|
5584
5584
|
};
|
|
5585
5585
|
};
|
|
@@ -5614,13 +5614,13 @@ const deserializeAws_json1_1SubnetIds = (output, context) => {
|
|
|
5614
5614
|
if (entry === null) {
|
|
5615
5615
|
return null;
|
|
5616
5616
|
}
|
|
5617
|
-
return
|
|
5617
|
+
return smithy_client_1.expectString(entry);
|
|
5618
5618
|
});
|
|
5619
5619
|
};
|
|
5620
5620
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
5621
5621
|
return {
|
|
5622
|
-
Key:
|
|
5623
|
-
Value:
|
|
5622
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
5623
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
5624
5624
|
};
|
|
5625
5625
|
};
|
|
5626
5626
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -5642,12 +5642,12 @@ const deserializeAws_json1_1TerminateWorkspacesResult = (output, context) => {
|
|
|
5642
5642
|
};
|
|
5643
5643
|
const deserializeAws_json1_1UnsupportedNetworkConfigurationException = (output, context) => {
|
|
5644
5644
|
return {
|
|
5645
|
-
message:
|
|
5645
|
+
message: smithy_client_1.expectString(output.message),
|
|
5646
5646
|
};
|
|
5647
5647
|
};
|
|
5648
5648
|
const deserializeAws_json1_1UnsupportedWorkspaceConfigurationException = (output, context) => {
|
|
5649
5649
|
return {
|
|
5650
|
-
message:
|
|
5650
|
+
message: smithy_client_1.expectString(output.message),
|
|
5651
5651
|
};
|
|
5652
5652
|
};
|
|
5653
5653
|
const deserializeAws_json1_1UpdateConnectionAliasPermissionResult = (output, context) => {
|
|
@@ -5664,27 +5664,27 @@ const deserializeAws_json1_1UpdateWorkspaceImagePermissionResult = (output, cont
|
|
|
5664
5664
|
};
|
|
5665
5665
|
const deserializeAws_json1_1UserStorage = (output, context) => {
|
|
5666
5666
|
return {
|
|
5667
|
-
Capacity:
|
|
5667
|
+
Capacity: smithy_client_1.expectString(output.Capacity),
|
|
5668
5668
|
};
|
|
5669
5669
|
};
|
|
5670
5670
|
const deserializeAws_json1_1Workspace = (output, context) => {
|
|
5671
5671
|
return {
|
|
5672
|
-
BundleId:
|
|
5673
|
-
ComputerName:
|
|
5674
|
-
DirectoryId:
|
|
5675
|
-
ErrorCode:
|
|
5676
|
-
ErrorMessage:
|
|
5677
|
-
IpAddress:
|
|
5672
|
+
BundleId: smithy_client_1.expectString(output.BundleId),
|
|
5673
|
+
ComputerName: smithy_client_1.expectString(output.ComputerName),
|
|
5674
|
+
DirectoryId: smithy_client_1.expectString(output.DirectoryId),
|
|
5675
|
+
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
5676
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
5677
|
+
IpAddress: smithy_client_1.expectString(output.IpAddress),
|
|
5678
5678
|
ModificationStates: output.ModificationStates !== undefined && output.ModificationStates !== null
|
|
5679
5679
|
? deserializeAws_json1_1ModificationStateList(output.ModificationStates, context)
|
|
5680
5680
|
: undefined,
|
|
5681
|
-
RootVolumeEncryptionEnabled:
|
|
5682
|
-
State:
|
|
5683
|
-
SubnetId:
|
|
5684
|
-
UserName:
|
|
5685
|
-
UserVolumeEncryptionEnabled:
|
|
5686
|
-
VolumeEncryptionKey:
|
|
5687
|
-
WorkspaceId:
|
|
5681
|
+
RootVolumeEncryptionEnabled: smithy_client_1.expectBoolean(output.RootVolumeEncryptionEnabled),
|
|
5682
|
+
State: smithy_client_1.expectString(output.State),
|
|
5683
|
+
SubnetId: smithy_client_1.expectString(output.SubnetId),
|
|
5684
|
+
UserName: smithy_client_1.expectString(output.UserName),
|
|
5685
|
+
UserVolumeEncryptionEnabled: smithy_client_1.expectBoolean(output.UserVolumeEncryptionEnabled),
|
|
5686
|
+
VolumeEncryptionKey: smithy_client_1.expectString(output.VolumeEncryptionKey),
|
|
5687
|
+
WorkspaceId: smithy_client_1.expectString(output.WorkspaceId),
|
|
5688
5688
|
WorkspaceProperties: output.WorkspaceProperties !== undefined && output.WorkspaceProperties !== null
|
|
5689
5689
|
? deserializeAws_json1_1WorkspaceProperties(output.WorkspaceProperties, context)
|
|
5690
5690
|
: undefined,
|
|
@@ -5692,32 +5692,32 @@ const deserializeAws_json1_1Workspace = (output, context) => {
|
|
|
5692
5692
|
};
|
|
5693
5693
|
const deserializeAws_json1_1WorkspaceAccessProperties = (output, context) => {
|
|
5694
5694
|
return {
|
|
5695
|
-
DeviceTypeAndroid:
|
|
5696
|
-
DeviceTypeChromeOs:
|
|
5697
|
-
DeviceTypeIos:
|
|
5698
|
-
DeviceTypeLinux:
|
|
5699
|
-
DeviceTypeOsx:
|
|
5700
|
-
DeviceTypeWeb:
|
|
5701
|
-
DeviceTypeWindows:
|
|
5702
|
-
DeviceTypeZeroClient:
|
|
5695
|
+
DeviceTypeAndroid: smithy_client_1.expectString(output.DeviceTypeAndroid),
|
|
5696
|
+
DeviceTypeChromeOs: smithy_client_1.expectString(output.DeviceTypeChromeOs),
|
|
5697
|
+
DeviceTypeIos: smithy_client_1.expectString(output.DeviceTypeIos),
|
|
5698
|
+
DeviceTypeLinux: smithy_client_1.expectString(output.DeviceTypeLinux),
|
|
5699
|
+
DeviceTypeOsx: smithy_client_1.expectString(output.DeviceTypeOsx),
|
|
5700
|
+
DeviceTypeWeb: smithy_client_1.expectString(output.DeviceTypeWeb),
|
|
5701
|
+
DeviceTypeWindows: smithy_client_1.expectString(output.DeviceTypeWindows),
|
|
5702
|
+
DeviceTypeZeroClient: smithy_client_1.expectString(output.DeviceTypeZeroClient),
|
|
5703
5703
|
};
|
|
5704
5704
|
};
|
|
5705
5705
|
const deserializeAws_json1_1WorkspaceBundle = (output, context) => {
|
|
5706
5706
|
return {
|
|
5707
|
-
BundleId:
|
|
5707
|
+
BundleId: smithy_client_1.expectString(output.BundleId),
|
|
5708
5708
|
ComputeType: output.ComputeType !== undefined && output.ComputeType !== null
|
|
5709
5709
|
? deserializeAws_json1_1ComputeType(output.ComputeType, context)
|
|
5710
5710
|
: undefined,
|
|
5711
5711
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
5712
|
-
?
|
|
5712
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
5713
5713
|
: undefined,
|
|
5714
|
-
Description:
|
|
5715
|
-
ImageId:
|
|
5714
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
5715
|
+
ImageId: smithy_client_1.expectString(output.ImageId),
|
|
5716
5716
|
LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
|
|
5717
|
-
?
|
|
5717
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
|
|
5718
5718
|
: undefined,
|
|
5719
|
-
Name:
|
|
5720
|
-
Owner:
|
|
5719
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5720
|
+
Owner: smithy_client_1.expectString(output.Owner),
|
|
5721
5721
|
RootStorage: output.RootStorage !== undefined && output.RootStorage !== null
|
|
5722
5722
|
? deserializeAws_json1_1RootStorage(output.RootStorage, context)
|
|
5723
5723
|
: undefined,
|
|
@@ -5728,14 +5728,14 @@ const deserializeAws_json1_1WorkspaceBundle = (output, context) => {
|
|
|
5728
5728
|
};
|
|
5729
5729
|
const deserializeAws_json1_1WorkspaceConnectionStatus = (output, context) => {
|
|
5730
5730
|
return {
|
|
5731
|
-
ConnectionState:
|
|
5731
|
+
ConnectionState: smithy_client_1.expectString(output.ConnectionState),
|
|
5732
5732
|
ConnectionStateCheckTimestamp: output.ConnectionStateCheckTimestamp !== undefined && output.ConnectionStateCheckTimestamp !== null
|
|
5733
|
-
?
|
|
5733
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ConnectionStateCheckTimestamp)))
|
|
5734
5734
|
: undefined,
|
|
5735
5735
|
LastKnownUserConnectionTimestamp: output.LastKnownUserConnectionTimestamp !== undefined && output.LastKnownUserConnectionTimestamp !== null
|
|
5736
|
-
?
|
|
5736
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastKnownUserConnectionTimestamp)))
|
|
5737
5737
|
: undefined,
|
|
5738
|
-
WorkspaceId:
|
|
5738
|
+
WorkspaceId: smithy_client_1.expectString(output.WorkspaceId),
|
|
5739
5739
|
};
|
|
5740
5740
|
};
|
|
5741
5741
|
const deserializeAws_json1_1WorkspaceConnectionStatusList = (output, context) => {
|
|
@@ -5750,31 +5750,31 @@ const deserializeAws_json1_1WorkspaceConnectionStatusList = (output, context) =>
|
|
|
5750
5750
|
};
|
|
5751
5751
|
const deserializeAws_json1_1WorkspaceDirectory = (output, context) => {
|
|
5752
5752
|
return {
|
|
5753
|
-
Alias:
|
|
5754
|
-
CustomerUserName:
|
|
5755
|
-
DirectoryId:
|
|
5756
|
-
DirectoryName:
|
|
5757
|
-
DirectoryType:
|
|
5753
|
+
Alias: smithy_client_1.expectString(output.Alias),
|
|
5754
|
+
CustomerUserName: smithy_client_1.expectString(output.CustomerUserName),
|
|
5755
|
+
DirectoryId: smithy_client_1.expectString(output.DirectoryId),
|
|
5756
|
+
DirectoryName: smithy_client_1.expectString(output.DirectoryName),
|
|
5757
|
+
DirectoryType: smithy_client_1.expectString(output.DirectoryType),
|
|
5758
5758
|
DnsIpAddresses: output.DnsIpAddresses !== undefined && output.DnsIpAddresses !== null
|
|
5759
5759
|
? deserializeAws_json1_1DnsIpAddresses(output.DnsIpAddresses, context)
|
|
5760
5760
|
: undefined,
|
|
5761
|
-
IamRoleId:
|
|
5762
|
-
RegistrationCode:
|
|
5761
|
+
IamRoleId: smithy_client_1.expectString(output.IamRoleId),
|
|
5762
|
+
RegistrationCode: smithy_client_1.expectString(output.RegistrationCode),
|
|
5763
5763
|
SelfservicePermissions: output.SelfservicePermissions !== undefined && output.SelfservicePermissions !== null
|
|
5764
5764
|
? deserializeAws_json1_1SelfservicePermissions(output.SelfservicePermissions, context)
|
|
5765
5765
|
: undefined,
|
|
5766
|
-
State:
|
|
5766
|
+
State: smithy_client_1.expectString(output.State),
|
|
5767
5767
|
SubnetIds: output.SubnetIds !== undefined && output.SubnetIds !== null
|
|
5768
5768
|
? deserializeAws_json1_1SubnetIds(output.SubnetIds, context)
|
|
5769
5769
|
: undefined,
|
|
5770
|
-
Tenancy:
|
|
5770
|
+
Tenancy: smithy_client_1.expectString(output.Tenancy),
|
|
5771
5771
|
WorkspaceAccessProperties: output.WorkspaceAccessProperties !== undefined && output.WorkspaceAccessProperties !== null
|
|
5772
5772
|
? deserializeAws_json1_1WorkspaceAccessProperties(output.WorkspaceAccessProperties, context)
|
|
5773
5773
|
: undefined,
|
|
5774
5774
|
WorkspaceCreationProperties: output.WorkspaceCreationProperties !== undefined && output.WorkspaceCreationProperties !== null
|
|
5775
5775
|
? deserializeAws_json1_1DefaultWorkspaceCreationProperties(output.WorkspaceCreationProperties, context)
|
|
5776
5776
|
: undefined,
|
|
5777
|
-
WorkspaceSecurityGroupId:
|
|
5777
|
+
WorkspaceSecurityGroupId: smithy_client_1.expectString(output.WorkspaceSecurityGroupId),
|
|
5778
5778
|
ipGroupIds: output.ipGroupIds !== undefined && output.ipGroupIds !== null
|
|
5779
5779
|
? deserializeAws_json1_1IpGroupIdList(output.ipGroupIds, context)
|
|
5780
5780
|
: undefined,
|
|
@@ -5782,18 +5782,20 @@ const deserializeAws_json1_1WorkspaceDirectory = (output, context) => {
|
|
|
5782
5782
|
};
|
|
5783
5783
|
const deserializeAws_json1_1WorkspaceImage = (output, context) => {
|
|
5784
5784
|
return {
|
|
5785
|
-
Created: output.Created !== undefined && output.Created !== null
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
|
|
5785
|
+
Created: output.Created !== undefined && output.Created !== null
|
|
5786
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Created)))
|
|
5787
|
+
: undefined,
|
|
5788
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
5789
|
+
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
5790
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
5791
|
+
ImageId: smithy_client_1.expectString(output.ImageId),
|
|
5792
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5791
5793
|
OperatingSystem: output.OperatingSystem !== undefined && output.OperatingSystem !== null
|
|
5792
5794
|
? deserializeAws_json1_1OperatingSystem(output.OperatingSystem, context)
|
|
5793
5795
|
: undefined,
|
|
5794
|
-
OwnerAccountId:
|
|
5795
|
-
RequiredTenancy:
|
|
5796
|
-
State:
|
|
5796
|
+
OwnerAccountId: smithy_client_1.expectString(output.OwnerAccountId),
|
|
5797
|
+
RequiredTenancy: smithy_client_1.expectString(output.RequiredTenancy),
|
|
5798
|
+
State: smithy_client_1.expectString(output.State),
|
|
5797
5799
|
};
|
|
5798
5800
|
};
|
|
5799
5801
|
const deserializeAws_json1_1WorkspaceImageList = (output, context) => {
|
|
@@ -5818,24 +5820,24 @@ const deserializeAws_json1_1WorkspaceList = (output, context) => {
|
|
|
5818
5820
|
};
|
|
5819
5821
|
const deserializeAws_json1_1WorkspaceProperties = (output, context) => {
|
|
5820
5822
|
return {
|
|
5821
|
-
ComputeTypeName:
|
|
5822
|
-
RootVolumeSizeGib:
|
|
5823
|
-
RunningMode:
|
|
5824
|
-
RunningModeAutoStopTimeoutInMinutes:
|
|
5825
|
-
UserVolumeSizeGib:
|
|
5823
|
+
ComputeTypeName: smithy_client_1.expectString(output.ComputeTypeName),
|
|
5824
|
+
RootVolumeSizeGib: smithy_client_1.expectInt32(output.RootVolumeSizeGib),
|
|
5825
|
+
RunningMode: smithy_client_1.expectString(output.RunningMode),
|
|
5826
|
+
RunningModeAutoStopTimeoutInMinutes: smithy_client_1.expectInt32(output.RunningModeAutoStopTimeoutInMinutes),
|
|
5827
|
+
UserVolumeSizeGib: smithy_client_1.expectInt32(output.UserVolumeSizeGib),
|
|
5826
5828
|
};
|
|
5827
5829
|
};
|
|
5828
5830
|
const deserializeAws_json1_1WorkspaceRequest = (output, context) => {
|
|
5829
5831
|
return {
|
|
5830
|
-
BundleId:
|
|
5831
|
-
DirectoryId:
|
|
5832
|
-
RootVolumeEncryptionEnabled:
|
|
5832
|
+
BundleId: smithy_client_1.expectString(output.BundleId),
|
|
5833
|
+
DirectoryId: smithy_client_1.expectString(output.DirectoryId),
|
|
5834
|
+
RootVolumeEncryptionEnabled: smithy_client_1.expectBoolean(output.RootVolumeEncryptionEnabled),
|
|
5833
5835
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
5834
5836
|
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
5835
5837
|
: undefined,
|
|
5836
|
-
UserName:
|
|
5837
|
-
UserVolumeEncryptionEnabled:
|
|
5838
|
-
VolumeEncryptionKey:
|
|
5838
|
+
UserName: smithy_client_1.expectString(output.UserName),
|
|
5839
|
+
UserVolumeEncryptionEnabled: smithy_client_1.expectBoolean(output.UserVolumeEncryptionEnabled),
|
|
5840
|
+
VolumeEncryptionKey: smithy_client_1.expectString(output.VolumeEncryptionKey),
|
|
5839
5841
|
WorkspaceProperties: output.WorkspaceProperties !== undefined && output.WorkspaceProperties !== null
|
|
5840
5842
|
? deserializeAws_json1_1WorkspaceProperties(output.WorkspaceProperties, context)
|
|
5841
5843
|
: undefined,
|
|
@@ -5843,14 +5845,14 @@ const deserializeAws_json1_1WorkspaceRequest = (output, context) => {
|
|
|
5843
5845
|
};
|
|
5844
5846
|
const deserializeAws_json1_1WorkspacesDefaultRoleNotFoundException = (output, context) => {
|
|
5845
5847
|
return {
|
|
5846
|
-
message:
|
|
5848
|
+
message: smithy_client_1.expectString(output.message),
|
|
5847
5849
|
};
|
|
5848
5850
|
};
|
|
5849
5851
|
const deserializeAws_json1_1WorkspacesIpGroup = (output, context) => {
|
|
5850
5852
|
return {
|
|
5851
|
-
groupDesc:
|
|
5852
|
-
groupId:
|
|
5853
|
-
groupName:
|
|
5853
|
+
groupDesc: smithy_client_1.expectString(output.groupDesc),
|
|
5854
|
+
groupId: smithy_client_1.expectString(output.groupId),
|
|
5855
|
+
groupName: smithy_client_1.expectString(output.groupName),
|
|
5854
5856
|
userRules: output.userRules !== undefined && output.userRules !== null
|
|
5855
5857
|
? deserializeAws_json1_1IpRuleList(output.userRules, context)
|
|
5856
5858
|
: undefined,
|