@aws-sdk/client-workspaces 3.762.0 → 3.772.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/README.md +8 -0
- package/dist-cjs/index.js +100 -57
- package/dist-es/WorkSpaces.js +2 -0
- package/dist-es/commands/ModifyEndpointEncryptionModeCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +19 -0
- package/dist-types/WorkSpaces.d.ts +7 -0
- package/dist-types/WorkSpacesClient.d.ts +3 -2
- package/dist-types/commands/CopyWorkspaceImageCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWorkspaceDirectoriesCommand.d.ts +1 -0
- package/dist-types/commands/ModifyEndpointEncryptionModeCommand.d.ts +80 -0
- package/dist-types/commands/RebuildWorkspacesCommand.d.ts +1 -1
- package/dist-types/commands/TerminateWorkspacesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWorkspaceImagePermissionCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +41 -32
- package/dist-types/models/models_1.d.ts +31 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/WorkSpaces.d.ts +17 -0
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ModifyEndpointEncryptionModeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RebuildWorkspacesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -9
- package/dist-types/ts3.4/models/models_1.d.ts +9 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -715,6 +715,14 @@ ModifyClientProperties
|
|
|
715
715
|
|
|
716
716
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces/command/ModifyClientPropertiesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/ModifyClientPropertiesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/ModifyClientPropertiesCommandOutput/)
|
|
717
717
|
|
|
718
|
+
</details>
|
|
719
|
+
<details>
|
|
720
|
+
<summary>
|
|
721
|
+
ModifyEndpointEncryptionMode
|
|
722
|
+
</summary>
|
|
723
|
+
|
|
724
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces/command/ModifyEndpointEncryptionModeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/ModifyEndpointEncryptionModeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces/Interface/ModifyEndpointEncryptionModeCommandOutput/)
|
|
725
|
+
|
|
718
726
|
</details>
|
|
719
727
|
<details>
|
|
720
728
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AGAModeForDirectoryEnum: () => AGAModeForDirectoryEnum,
|
|
25
25
|
AGAModeForWorkSpaceEnum: () => AGAModeForWorkSpaceEnum,
|
|
26
26
|
AGAPreferredProtocolForDirectory: () => AGAPreferredProtocolForDirectory,
|
|
@@ -108,6 +108,7 @@ __export(src_exports, {
|
|
|
108
108
|
DisassociateConnectionAliasCommand: () => DisassociateConnectionAliasCommand,
|
|
109
109
|
DisassociateIpGroupsCommand: () => DisassociateIpGroupsCommand,
|
|
110
110
|
DisassociateWorkspaceApplicationCommand: () => DisassociateWorkspaceApplicationCommand,
|
|
111
|
+
EndpointEncryptionMode: () => EndpointEncryptionMode,
|
|
111
112
|
GetAccountLinkCommand: () => GetAccountLinkCommand,
|
|
112
113
|
ImageAssociatedResourceType: () => ImageAssociatedResourceType,
|
|
113
114
|
ImageType: () => ImageType,
|
|
@@ -126,6 +127,7 @@ __export(src_exports, {
|
|
|
126
127
|
ModifyAccountCommand: () => ModifyAccountCommand,
|
|
127
128
|
ModifyCertificateBasedAuthPropertiesCommand: () => ModifyCertificateBasedAuthPropertiesCommand,
|
|
128
129
|
ModifyClientPropertiesCommand: () => ModifyClientPropertiesCommand,
|
|
130
|
+
ModifyEndpointEncryptionModeCommand: () => ModifyEndpointEncryptionModeCommand,
|
|
129
131
|
ModifySamlPropertiesCommand: () => ModifySamlPropertiesCommand,
|
|
130
132
|
ModifySelfservicePermissionsCommand: () => ModifySelfservicePermissionsCommand,
|
|
131
133
|
ModifyStreamingPropertiesCommand: () => ModifyStreamingPropertiesCommand,
|
|
@@ -207,7 +209,7 @@ __export(src_exports, {
|
|
|
207
209
|
paginateDescribeWorkspaces: () => paginateDescribeWorkspaces,
|
|
208
210
|
paginateListAccountLinks: () => paginateListAccountLinks
|
|
209
211
|
});
|
|
210
|
-
module.exports = __toCommonJS(
|
|
212
|
+
module.exports = __toCommonJS(index_exports);
|
|
211
213
|
|
|
212
214
|
// src/WorkSpacesClient.ts
|
|
213
215
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -334,9 +336,9 @@ var WorkSpacesClient = class extends import_smithy_client.Client {
|
|
|
334
336
|
this.middlewareStack.use(
|
|
335
337
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
336
338
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultWorkSpacesHttpAuthSchemeParametersProvider,
|
|
337
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
339
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
338
340
|
"aws.auth#sigv4": config.credentials
|
|
339
|
-
})
|
|
341
|
+
}), "identityProviderConfigProvider")
|
|
340
342
|
})
|
|
341
343
|
);
|
|
342
344
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -1026,6 +1028,10 @@ var WorkspaceDirectoryType = {
|
|
|
1026
1028
|
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
1027
1029
|
SIMPLE_AD: "SIMPLE_AD"
|
|
1028
1030
|
};
|
|
1031
|
+
var EndpointEncryptionMode = {
|
|
1032
|
+
FIPS_VALIDATED: "FIPS_VALIDATED",
|
|
1033
|
+
STANDARD_TLS: "STANDARD_TLS"
|
|
1034
|
+
};
|
|
1029
1035
|
var SamlStatusEnum = {
|
|
1030
1036
|
DISABLED: "DISABLED",
|
|
1031
1037
|
ENABLED: "ENABLED",
|
|
@@ -1598,6 +1604,12 @@ var se_ModifyClientPropertiesCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1598
1604
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1599
1605
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1600
1606
|
}, "se_ModifyClientPropertiesCommand");
|
|
1607
|
+
var se_ModifyEndpointEncryptionModeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1608
|
+
const headers = sharedHeaders("ModifyEndpointEncryptionMode");
|
|
1609
|
+
let body;
|
|
1610
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1611
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1612
|
+
}, "se_ModifyEndpointEncryptionModeCommand");
|
|
1601
1613
|
var se_ModifySamlPropertiesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1602
1614
|
const headers = sharedHeaders("ModifySamlProperties");
|
|
1603
1615
|
let body;
|
|
@@ -2560,6 +2572,19 @@ var de_ModifyClientPropertiesCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2560
2572
|
};
|
|
2561
2573
|
return response;
|
|
2562
2574
|
}, "de_ModifyClientPropertiesCommand");
|
|
2575
|
+
var de_ModifyEndpointEncryptionModeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2576
|
+
if (output.statusCode >= 300) {
|
|
2577
|
+
return de_CommandError(output, context);
|
|
2578
|
+
}
|
|
2579
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2580
|
+
let contents = {};
|
|
2581
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2582
|
+
const response = {
|
|
2583
|
+
$metadata: deserializeMetadata(output),
|
|
2584
|
+
...contents
|
|
2585
|
+
};
|
|
2586
|
+
return response;
|
|
2587
|
+
}, "de_ModifyEndpointEncryptionModeCommand");
|
|
2563
2588
|
var de_ModifySamlPropertiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2564
2589
|
if (output.statusCode >= 300) {
|
|
2565
2590
|
return de_CommandError(output, context);
|
|
@@ -3189,12 +3214,12 @@ var se_DefaultImportClientBrandingAttributes = /* @__PURE__ */ __name((input, co
|
|
|
3189
3214
|
}, "se_DefaultImportClientBrandingAttributes");
|
|
3190
3215
|
var se_ImportClientBrandingRequest = /* @__PURE__ */ __name((input, context) => {
|
|
3191
3216
|
return (0, import_smithy_client.take)(input, {
|
|
3192
|
-
DeviceTypeAndroid: (_) => se_DefaultImportClientBrandingAttributes(_, context),
|
|
3193
|
-
DeviceTypeIos: (_) => se_IosImportClientBrandingAttributes(_, context),
|
|
3194
|
-
DeviceTypeLinux: (_) => se_DefaultImportClientBrandingAttributes(_, context),
|
|
3195
|
-
DeviceTypeOsx: (_) => se_DefaultImportClientBrandingAttributes(_, context),
|
|
3196
|
-
DeviceTypeWeb: (_) => se_DefaultImportClientBrandingAttributes(_, context),
|
|
3197
|
-
DeviceTypeWindows: (_) => se_DefaultImportClientBrandingAttributes(_, context),
|
|
3217
|
+
DeviceTypeAndroid: /* @__PURE__ */ __name((_) => se_DefaultImportClientBrandingAttributes(_, context), "DeviceTypeAndroid"),
|
|
3218
|
+
DeviceTypeIos: /* @__PURE__ */ __name((_) => se_IosImportClientBrandingAttributes(_, context), "DeviceTypeIos"),
|
|
3219
|
+
DeviceTypeLinux: /* @__PURE__ */ __name((_) => se_DefaultImportClientBrandingAttributes(_, context), "DeviceTypeLinux"),
|
|
3220
|
+
DeviceTypeOsx: /* @__PURE__ */ __name((_) => se_DefaultImportClientBrandingAttributes(_, context), "DeviceTypeOsx"),
|
|
3221
|
+
DeviceTypeWeb: /* @__PURE__ */ __name((_) => se_DefaultImportClientBrandingAttributes(_, context), "DeviceTypeWeb"),
|
|
3222
|
+
DeviceTypeWindows: /* @__PURE__ */ __name((_) => se_DefaultImportClientBrandingAttributes(_, context), "DeviceTypeWindows"),
|
|
3198
3223
|
ResourceId: []
|
|
3199
3224
|
});
|
|
3200
3225
|
}, "se_ImportClientBrandingRequest");
|
|
@@ -3216,7 +3241,7 @@ var de_AccountModification = /* @__PURE__ */ __name((output, context) => {
|
|
|
3216
3241
|
ErrorCode: import_smithy_client.expectString,
|
|
3217
3242
|
ErrorMessage: import_smithy_client.expectString,
|
|
3218
3243
|
ModificationState: import_smithy_client.expectString,
|
|
3219
|
-
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3244
|
+
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
|
|
3220
3245
|
});
|
|
3221
3246
|
}, "de_AccountModification");
|
|
3222
3247
|
var de_AccountModificationList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -3230,8 +3255,8 @@ var de_ApplicationResourceAssociation = /* @__PURE__ */ __name((output, context)
|
|
|
3230
3255
|
ApplicationId: import_smithy_client.expectString,
|
|
3231
3256
|
AssociatedResourceId: import_smithy_client.expectString,
|
|
3232
3257
|
AssociatedResourceType: import_smithy_client.expectString,
|
|
3233
|
-
Created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3234
|
-
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3258
|
+
Created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Created"),
|
|
3259
|
+
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
3235
3260
|
State: import_smithy_client.expectString,
|
|
3236
3261
|
StateReason: import_smithy_client._json
|
|
3237
3262
|
});
|
|
@@ -3244,7 +3269,7 @@ var de_ApplicationResourceAssociationList = /* @__PURE__ */ __name((output, cont
|
|
|
3244
3269
|
}, "de_ApplicationResourceAssociationList");
|
|
3245
3270
|
var de_AssociateWorkspaceApplicationResult = /* @__PURE__ */ __name((output, context) => {
|
|
3246
3271
|
return (0, import_smithy_client.take)(output, {
|
|
3247
|
-
Association: (_) => de_WorkspaceResourceAssociation(_, context)
|
|
3272
|
+
Association: /* @__PURE__ */ __name((_) => de_WorkspaceResourceAssociation(_, context), "Association")
|
|
3248
3273
|
});
|
|
3249
3274
|
}, "de_AssociateWorkspaceApplicationResult");
|
|
3250
3275
|
var de_BundleList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -3258,8 +3283,8 @@ var de_BundleResourceAssociation = /* @__PURE__ */ __name((output, context) => {
|
|
|
3258
3283
|
AssociatedResourceId: import_smithy_client.expectString,
|
|
3259
3284
|
AssociatedResourceType: import_smithy_client.expectString,
|
|
3260
3285
|
BundleId: import_smithy_client.expectString,
|
|
3261
|
-
Created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3262
|
-
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3286
|
+
Created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Created"),
|
|
3287
|
+
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
3263
3288
|
State: import_smithy_client.expectString,
|
|
3264
3289
|
StateReason: import_smithy_client._json
|
|
3265
3290
|
});
|
|
@@ -3272,12 +3297,12 @@ var de_BundleResourceAssociationList = /* @__PURE__ */ __name((output, context)
|
|
|
3272
3297
|
}, "de_BundleResourceAssociationList");
|
|
3273
3298
|
var de_CreateWorkspaceBundleResult = /* @__PURE__ */ __name((output, context) => {
|
|
3274
3299
|
return (0, import_smithy_client.take)(output, {
|
|
3275
|
-
WorkspaceBundle: (_) => de_WorkspaceBundle(_, context)
|
|
3300
|
+
WorkspaceBundle: /* @__PURE__ */ __name((_) => de_WorkspaceBundle(_, context), "WorkspaceBundle")
|
|
3276
3301
|
});
|
|
3277
3302
|
}, "de_CreateWorkspaceBundleResult");
|
|
3278
3303
|
var de_CreateWorkspaceImageResult = /* @__PURE__ */ __name((output, context) => {
|
|
3279
3304
|
return (0, import_smithy_client.take)(output, {
|
|
3280
|
-
Created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3305
|
+
Created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Created"),
|
|
3281
3306
|
Description: import_smithy_client.expectString,
|
|
3282
3307
|
ImageId: import_smithy_client.expectString,
|
|
3283
3308
|
Name: import_smithy_client.expectString,
|
|
@@ -3289,113 +3314,113 @@ var de_CreateWorkspaceImageResult = /* @__PURE__ */ __name((output, context) =>
|
|
|
3289
3314
|
}, "de_CreateWorkspaceImageResult");
|
|
3290
3315
|
var de_CreateWorkspacesPoolResult = /* @__PURE__ */ __name((output, context) => {
|
|
3291
3316
|
return (0, import_smithy_client.take)(output, {
|
|
3292
|
-
WorkspacesPool: (_) => de_WorkspacesPool(_, context)
|
|
3317
|
+
WorkspacesPool: /* @__PURE__ */ __name((_) => de_WorkspacesPool(_, context), "WorkspacesPool")
|
|
3293
3318
|
});
|
|
3294
3319
|
}, "de_CreateWorkspacesPoolResult");
|
|
3295
3320
|
var de_CreateWorkspacesResult = /* @__PURE__ */ __name((output, context) => {
|
|
3296
3321
|
return (0, import_smithy_client.take)(output, {
|
|
3297
3322
|
FailedRequests: import_smithy_client._json,
|
|
3298
|
-
PendingRequests: (_) => de_WorkspaceList(_, context)
|
|
3323
|
+
PendingRequests: /* @__PURE__ */ __name((_) => de_WorkspaceList(_, context), "PendingRequests")
|
|
3299
3324
|
});
|
|
3300
3325
|
}, "de_CreateWorkspacesResult");
|
|
3301
3326
|
var de_DataReplicationSettings = /* @__PURE__ */ __name((output, context) => {
|
|
3302
3327
|
return (0, import_smithy_client.take)(output, {
|
|
3303
3328
|
DataReplication: import_smithy_client.expectString,
|
|
3304
|
-
RecoverySnapshotTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3329
|
+
RecoverySnapshotTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RecoverySnapshotTime")
|
|
3305
3330
|
});
|
|
3306
3331
|
}, "de_DataReplicationSettings");
|
|
3307
3332
|
var de_DeployWorkspaceApplicationsResult = /* @__PURE__ */ __name((output, context) => {
|
|
3308
3333
|
return (0, import_smithy_client.take)(output, {
|
|
3309
|
-
Deployment: (_) => de_WorkSpaceApplicationDeployment(_, context)
|
|
3334
|
+
Deployment: /* @__PURE__ */ __name((_) => de_WorkSpaceApplicationDeployment(_, context), "Deployment")
|
|
3310
3335
|
});
|
|
3311
3336
|
}, "de_DeployWorkspaceApplicationsResult");
|
|
3312
3337
|
var de_DescribeAccountModificationsResult = /* @__PURE__ */ __name((output, context) => {
|
|
3313
3338
|
return (0, import_smithy_client.take)(output, {
|
|
3314
|
-
AccountModifications: (_) => de_AccountModificationList(_, context),
|
|
3339
|
+
AccountModifications: /* @__PURE__ */ __name((_) => de_AccountModificationList(_, context), "AccountModifications"),
|
|
3315
3340
|
NextToken: import_smithy_client.expectString
|
|
3316
3341
|
});
|
|
3317
3342
|
}, "de_DescribeAccountModificationsResult");
|
|
3318
3343
|
var de_DescribeApplicationAssociationsResult = /* @__PURE__ */ __name((output, context) => {
|
|
3319
3344
|
return (0, import_smithy_client.take)(output, {
|
|
3320
|
-
Associations: (_) => de_ApplicationResourceAssociationList(_, context),
|
|
3345
|
+
Associations: /* @__PURE__ */ __name((_) => de_ApplicationResourceAssociationList(_, context), "Associations"),
|
|
3321
3346
|
NextToken: import_smithy_client.expectString
|
|
3322
3347
|
});
|
|
3323
3348
|
}, "de_DescribeApplicationAssociationsResult");
|
|
3324
3349
|
var de_DescribeApplicationsResult = /* @__PURE__ */ __name((output, context) => {
|
|
3325
3350
|
return (0, import_smithy_client.take)(output, {
|
|
3326
|
-
Applications: (_) => de_WorkSpaceApplicationList(_, context),
|
|
3351
|
+
Applications: /* @__PURE__ */ __name((_) => de_WorkSpaceApplicationList(_, context), "Applications"),
|
|
3327
3352
|
NextToken: import_smithy_client.expectString
|
|
3328
3353
|
});
|
|
3329
3354
|
}, "de_DescribeApplicationsResult");
|
|
3330
3355
|
var de_DescribeBundleAssociationsResult = /* @__PURE__ */ __name((output, context) => {
|
|
3331
3356
|
return (0, import_smithy_client.take)(output, {
|
|
3332
|
-
Associations: (_) => de_BundleResourceAssociationList(_, context)
|
|
3357
|
+
Associations: /* @__PURE__ */ __name((_) => de_BundleResourceAssociationList(_, context), "Associations")
|
|
3333
3358
|
});
|
|
3334
3359
|
}, "de_DescribeBundleAssociationsResult");
|
|
3335
3360
|
var de_DescribeImageAssociationsResult = /* @__PURE__ */ __name((output, context) => {
|
|
3336
3361
|
return (0, import_smithy_client.take)(output, {
|
|
3337
|
-
Associations: (_) => de_ImageResourceAssociationList(_, context)
|
|
3362
|
+
Associations: /* @__PURE__ */ __name((_) => de_ImageResourceAssociationList(_, context), "Associations")
|
|
3338
3363
|
});
|
|
3339
3364
|
}, "de_DescribeImageAssociationsResult");
|
|
3340
3365
|
var de_DescribeWorkspaceAssociationsResult = /* @__PURE__ */ __name((output, context) => {
|
|
3341
3366
|
return (0, import_smithy_client.take)(output, {
|
|
3342
|
-
Associations: (_) => de_WorkspaceResourceAssociationList(_, context)
|
|
3367
|
+
Associations: /* @__PURE__ */ __name((_) => de_WorkspaceResourceAssociationList(_, context), "Associations")
|
|
3343
3368
|
});
|
|
3344
3369
|
}, "de_DescribeWorkspaceAssociationsResult");
|
|
3345
3370
|
var de_DescribeWorkspaceBundlesResult = /* @__PURE__ */ __name((output, context) => {
|
|
3346
3371
|
return (0, import_smithy_client.take)(output, {
|
|
3347
|
-
Bundles: (_) => de_BundleList(_, context),
|
|
3372
|
+
Bundles: /* @__PURE__ */ __name((_) => de_BundleList(_, context), "Bundles"),
|
|
3348
3373
|
NextToken: import_smithy_client.expectString
|
|
3349
3374
|
});
|
|
3350
3375
|
}, "de_DescribeWorkspaceBundlesResult");
|
|
3351
3376
|
var de_DescribeWorkspaceImagesResult = /* @__PURE__ */ __name((output, context) => {
|
|
3352
3377
|
return (0, import_smithy_client.take)(output, {
|
|
3353
|
-
Images: (_) => de_WorkspaceImageList(_, context),
|
|
3378
|
+
Images: /* @__PURE__ */ __name((_) => de_WorkspaceImageList(_, context), "Images"),
|
|
3354
3379
|
NextToken: import_smithy_client.expectString
|
|
3355
3380
|
});
|
|
3356
3381
|
}, "de_DescribeWorkspaceImagesResult");
|
|
3357
3382
|
var de_DescribeWorkspacesConnectionStatusResult = /* @__PURE__ */ __name((output, context) => {
|
|
3358
3383
|
return (0, import_smithy_client.take)(output, {
|
|
3359
3384
|
NextToken: import_smithy_client.expectString,
|
|
3360
|
-
WorkspacesConnectionStatus: (_) => de_WorkspaceConnectionStatusList(_, context)
|
|
3385
|
+
WorkspacesConnectionStatus: /* @__PURE__ */ __name((_) => de_WorkspaceConnectionStatusList(_, context), "WorkspacesConnectionStatus")
|
|
3361
3386
|
});
|
|
3362
3387
|
}, "de_DescribeWorkspacesConnectionStatusResult");
|
|
3363
3388
|
var de_DescribeWorkspaceSnapshotsResult = /* @__PURE__ */ __name((output, context) => {
|
|
3364
3389
|
return (0, import_smithy_client.take)(output, {
|
|
3365
|
-
RebuildSnapshots: (_) => de_SnapshotList(_, context),
|
|
3366
|
-
RestoreSnapshots: (_) => de_SnapshotList(_, context)
|
|
3390
|
+
RebuildSnapshots: /* @__PURE__ */ __name((_) => de_SnapshotList(_, context), "RebuildSnapshots"),
|
|
3391
|
+
RestoreSnapshots: /* @__PURE__ */ __name((_) => de_SnapshotList(_, context), "RestoreSnapshots")
|
|
3367
3392
|
});
|
|
3368
3393
|
}, "de_DescribeWorkspaceSnapshotsResult");
|
|
3369
3394
|
var de_DescribeWorkspacesPoolSessionsResult = /* @__PURE__ */ __name((output, context) => {
|
|
3370
3395
|
return (0, import_smithy_client.take)(output, {
|
|
3371
3396
|
NextToken: import_smithy_client.expectString,
|
|
3372
|
-
Sessions: (_) => de_WorkspacesPoolSessions(_, context)
|
|
3397
|
+
Sessions: /* @__PURE__ */ __name((_) => de_WorkspacesPoolSessions(_, context), "Sessions")
|
|
3373
3398
|
});
|
|
3374
3399
|
}, "de_DescribeWorkspacesPoolSessionsResult");
|
|
3375
3400
|
var de_DescribeWorkspacesPoolsResult = /* @__PURE__ */ __name((output, context) => {
|
|
3376
3401
|
return (0, import_smithy_client.take)(output, {
|
|
3377
3402
|
NextToken: import_smithy_client.expectString,
|
|
3378
|
-
WorkspacesPools: (_) => de_WorkspacesPools(_, context)
|
|
3403
|
+
WorkspacesPools: /* @__PURE__ */ __name((_) => de_WorkspacesPools(_, context), "WorkspacesPools")
|
|
3379
3404
|
});
|
|
3380
3405
|
}, "de_DescribeWorkspacesPoolsResult");
|
|
3381
3406
|
var de_DescribeWorkspacesResult = /* @__PURE__ */ __name((output, context) => {
|
|
3382
3407
|
return (0, import_smithy_client.take)(output, {
|
|
3383
3408
|
NextToken: import_smithy_client.expectString,
|
|
3384
|
-
Workspaces: (_) => de_WorkspaceList(_, context)
|
|
3409
|
+
Workspaces: /* @__PURE__ */ __name((_) => de_WorkspaceList(_, context), "Workspaces")
|
|
3385
3410
|
});
|
|
3386
3411
|
}, "de_DescribeWorkspacesResult");
|
|
3387
3412
|
var de_DisassociateWorkspaceApplicationResult = /* @__PURE__ */ __name((output, context) => {
|
|
3388
3413
|
return (0, import_smithy_client.take)(output, {
|
|
3389
|
-
Association: (_) => de_WorkspaceResourceAssociation(_, context)
|
|
3414
|
+
Association: /* @__PURE__ */ __name((_) => de_WorkspaceResourceAssociation(_, context), "Association")
|
|
3390
3415
|
});
|
|
3391
3416
|
}, "de_DisassociateWorkspaceApplicationResult");
|
|
3392
3417
|
var de_ImageResourceAssociation = /* @__PURE__ */ __name((output, context) => {
|
|
3393
3418
|
return (0, import_smithy_client.take)(output, {
|
|
3394
3419
|
AssociatedResourceId: import_smithy_client.expectString,
|
|
3395
3420
|
AssociatedResourceType: import_smithy_client.expectString,
|
|
3396
|
-
Created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3421
|
+
Created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Created"),
|
|
3397
3422
|
ImageId: import_smithy_client.expectString,
|
|
3398
|
-
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3423
|
+
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
3399
3424
|
State: import_smithy_client.expectString,
|
|
3400
3425
|
StateReason: import_smithy_client._json
|
|
3401
3426
|
});
|
|
@@ -3408,7 +3433,7 @@ var de_ImageResourceAssociationList = /* @__PURE__ */ __name((output, context) =
|
|
|
3408
3433
|
}, "de_ImageResourceAssociationList");
|
|
3409
3434
|
var de_Snapshot = /* @__PURE__ */ __name((output, context) => {
|
|
3410
3435
|
return (0, import_smithy_client.take)(output, {
|
|
3411
|
-
SnapshotTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3436
|
+
SnapshotTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "SnapshotTime")
|
|
3412
3437
|
});
|
|
3413
3438
|
}, "de_Snapshot");
|
|
3414
3439
|
var de_SnapshotList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -3420,7 +3445,7 @@ var de_SnapshotList = /* @__PURE__ */ __name((output, context) => {
|
|
|
3420
3445
|
var de_StandbyWorkspacesProperties = /* @__PURE__ */ __name((output, context) => {
|
|
3421
3446
|
return (0, import_smithy_client.take)(output, {
|
|
3422
3447
|
DataReplication: import_smithy_client.expectString,
|
|
3423
|
-
RecoverySnapshotTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3448
|
+
RecoverySnapshotTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RecoverySnapshotTime"),
|
|
3424
3449
|
StandbyWorkspaceId: import_smithy_client.expectString
|
|
3425
3450
|
});
|
|
3426
3451
|
}, "de_StandbyWorkspacesProperties");
|
|
@@ -3432,14 +3457,14 @@ var de_StandbyWorkspacesPropertiesList = /* @__PURE__ */ __name((output, context
|
|
|
3432
3457
|
}, "de_StandbyWorkspacesPropertiesList");
|
|
3433
3458
|
var de_UpdateWorkspacesPoolResult = /* @__PURE__ */ __name((output, context) => {
|
|
3434
3459
|
return (0, import_smithy_client.take)(output, {
|
|
3435
|
-
WorkspacesPool: (_) => de_WorkspacesPool(_, context)
|
|
3460
|
+
WorkspacesPool: /* @__PURE__ */ __name((_) => de_WorkspacesPool(_, context), "WorkspacesPool")
|
|
3436
3461
|
});
|
|
3437
3462
|
}, "de_UpdateWorkspacesPoolResult");
|
|
3438
3463
|
var de_Workspace = /* @__PURE__ */ __name((output, context) => {
|
|
3439
3464
|
return (0, import_smithy_client.take)(output, {
|
|
3440
3465
|
BundleId: import_smithy_client.expectString,
|
|
3441
3466
|
ComputerName: import_smithy_client.expectString,
|
|
3442
|
-
DataReplicationSettings: (_) => de_DataReplicationSettings(_, context),
|
|
3467
|
+
DataReplicationSettings: /* @__PURE__ */ __name((_) => de_DataReplicationSettings(_, context), "DataReplicationSettings"),
|
|
3443
3468
|
DirectoryId: import_smithy_client.expectString,
|
|
3444
3469
|
ErrorCode: import_smithy_client.expectString,
|
|
3445
3470
|
ErrorMessage: import_smithy_client.expectString,
|
|
@@ -3447,7 +3472,7 @@ var de_Workspace = /* @__PURE__ */ __name((output, context) => {
|
|
|
3447
3472
|
ModificationStates: import_smithy_client._json,
|
|
3448
3473
|
RelatedWorkspaces: import_smithy_client._json,
|
|
3449
3474
|
RootVolumeEncryptionEnabled: import_smithy_client.expectBoolean,
|
|
3450
|
-
StandbyWorkspacesProperties: (_) => de_StandbyWorkspacesPropertiesList(_, context),
|
|
3475
|
+
StandbyWorkspacesProperties: /* @__PURE__ */ __name((_) => de_StandbyWorkspacesPropertiesList(_, context), "StandbyWorkspacesProperties"),
|
|
3451
3476
|
State: import_smithy_client.expectString,
|
|
3452
3477
|
SubnetId: import_smithy_client.expectString,
|
|
3453
3478
|
UserName: import_smithy_client.expectString,
|
|
@@ -3461,7 +3486,7 @@ var de_Workspace = /* @__PURE__ */ __name((output, context) => {
|
|
|
3461
3486
|
var de_WorkSpaceApplication = /* @__PURE__ */ __name((output, context) => {
|
|
3462
3487
|
return (0, import_smithy_client.take)(output, {
|
|
3463
3488
|
ApplicationId: import_smithy_client.expectString,
|
|
3464
|
-
Created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3489
|
+
Created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Created"),
|
|
3465
3490
|
Description: import_smithy_client.expectString,
|
|
3466
3491
|
LicenseType: import_smithy_client.expectString,
|
|
3467
3492
|
Name: import_smithy_client.expectString,
|
|
@@ -3473,7 +3498,7 @@ var de_WorkSpaceApplication = /* @__PURE__ */ __name((output, context) => {
|
|
|
3473
3498
|
}, "de_WorkSpaceApplication");
|
|
3474
3499
|
var de_WorkSpaceApplicationDeployment = /* @__PURE__ */ __name((output, context) => {
|
|
3475
3500
|
return (0, import_smithy_client.take)(output, {
|
|
3476
|
-
Associations: (_) => de_WorkspaceResourceAssociationList(_, context)
|
|
3501
|
+
Associations: /* @__PURE__ */ __name((_) => de_WorkspaceResourceAssociationList(_, context), "Associations")
|
|
3477
3502
|
});
|
|
3478
3503
|
}, "de_WorkSpaceApplicationDeployment");
|
|
3479
3504
|
var de_WorkSpaceApplicationList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -3487,10 +3512,10 @@ var de_WorkspaceBundle = /* @__PURE__ */ __name((output, context) => {
|
|
|
3487
3512
|
BundleId: import_smithy_client.expectString,
|
|
3488
3513
|
BundleType: import_smithy_client.expectString,
|
|
3489
3514
|
ComputeType: import_smithy_client._json,
|
|
3490
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3515
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
3491
3516
|
Description: import_smithy_client.expectString,
|
|
3492
3517
|
ImageId: import_smithy_client.expectString,
|
|
3493
|
-
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3518
|
+
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
3494
3519
|
Name: import_smithy_client.expectString,
|
|
3495
3520
|
Owner: import_smithy_client.expectString,
|
|
3496
3521
|
RootStorage: import_smithy_client._json,
|
|
@@ -3501,8 +3526,8 @@ var de_WorkspaceBundle = /* @__PURE__ */ __name((output, context) => {
|
|
|
3501
3526
|
var de_WorkspaceConnectionStatus = /* @__PURE__ */ __name((output, context) => {
|
|
3502
3527
|
return (0, import_smithy_client.take)(output, {
|
|
3503
3528
|
ConnectionState: import_smithy_client.expectString,
|
|
3504
|
-
ConnectionStateCheckTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3505
|
-
LastKnownUserConnectionTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3529
|
+
ConnectionStateCheckTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ConnectionStateCheckTimestamp"),
|
|
3530
|
+
LastKnownUserConnectionTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastKnownUserConnectionTimestamp"),
|
|
3506
3531
|
WorkspaceId: import_smithy_client.expectString
|
|
3507
3532
|
});
|
|
3508
3533
|
}, "de_WorkspaceConnectionStatus");
|
|
@@ -3514,7 +3539,7 @@ var de_WorkspaceConnectionStatusList = /* @__PURE__ */ __name((output, context)
|
|
|
3514
3539
|
}, "de_WorkspaceConnectionStatusList");
|
|
3515
3540
|
var de_WorkspaceImage = /* @__PURE__ */ __name((output, context) => {
|
|
3516
3541
|
return (0, import_smithy_client.take)(output, {
|
|
3517
|
-
Created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3542
|
+
Created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Created"),
|
|
3518
3543
|
Description: import_smithy_client.expectString,
|
|
3519
3544
|
ErrorCode: import_smithy_client.expectString,
|
|
3520
3545
|
ErrorDetails: import_smithy_client._json,
|
|
@@ -3544,8 +3569,8 @@ var de_WorkspaceResourceAssociation = /* @__PURE__ */ __name((output, context) =
|
|
|
3544
3569
|
return (0, import_smithy_client.take)(output, {
|
|
3545
3570
|
AssociatedResourceId: import_smithy_client.expectString,
|
|
3546
3571
|
AssociatedResourceType: import_smithy_client.expectString,
|
|
3547
|
-
Created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3548
|
-
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3572
|
+
Created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Created"),
|
|
3573
|
+
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
3549
3574
|
State: import_smithy_client.expectString,
|
|
3550
3575
|
StateReason: import_smithy_client._json,
|
|
3551
3576
|
WorkspaceId: import_smithy_client.expectString
|
|
@@ -3562,7 +3587,7 @@ var de_WorkspacesPool = /* @__PURE__ */ __name((output, context) => {
|
|
|
3562
3587
|
ApplicationSettings: import_smithy_client._json,
|
|
3563
3588
|
BundleId: import_smithy_client.expectString,
|
|
3564
3589
|
CapacityStatus: import_smithy_client._json,
|
|
3565
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3590
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
3566
3591
|
Description: import_smithy_client.expectString,
|
|
3567
3592
|
DirectoryId: import_smithy_client.expectString,
|
|
3568
3593
|
Errors: import_smithy_client._json,
|
|
@@ -3583,12 +3608,12 @@ var de_WorkspacesPoolSession = /* @__PURE__ */ __name((output, context) => {
|
|
|
3583
3608
|
return (0, import_smithy_client.take)(output, {
|
|
3584
3609
|
AuthenticationType: import_smithy_client.expectString,
|
|
3585
3610
|
ConnectionState: import_smithy_client.expectString,
|
|
3586
|
-
ExpirationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3611
|
+
ExpirationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ExpirationTime"),
|
|
3587
3612
|
InstanceId: import_smithy_client.expectString,
|
|
3588
3613
|
NetworkAccessConfiguration: import_smithy_client._json,
|
|
3589
3614
|
PoolId: import_smithy_client.expectString,
|
|
3590
3615
|
SessionId: import_smithy_client.expectString,
|
|
3591
|
-
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3616
|
+
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
|
|
3592
3617
|
UserId: import_smithy_client.expectString
|
|
3593
3618
|
});
|
|
3594
3619
|
}, "de_WorkspacesPoolSession");
|
|
@@ -4558,6 +4583,21 @@ var ModifyClientPropertiesCommand = class extends import_smithy_client.Command.c
|
|
|
4558
4583
|
}
|
|
4559
4584
|
};
|
|
4560
4585
|
|
|
4586
|
+
// src/commands/ModifyEndpointEncryptionModeCommand.ts
|
|
4587
|
+
|
|
4588
|
+
|
|
4589
|
+
|
|
4590
|
+
var ModifyEndpointEncryptionModeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4591
|
+
return [
|
|
4592
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4593
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4594
|
+
];
|
|
4595
|
+
}).s("WorkspacesService", "ModifyEndpointEncryptionMode", {}).n("WorkSpacesClient", "ModifyEndpointEncryptionModeCommand").f(void 0, void 0).ser(se_ModifyEndpointEncryptionModeCommand).de(de_ModifyEndpointEncryptionModeCommand).build() {
|
|
4596
|
+
static {
|
|
4597
|
+
__name(this, "ModifyEndpointEncryptionModeCommand");
|
|
4598
|
+
}
|
|
4599
|
+
};
|
|
4600
|
+
|
|
4561
4601
|
// src/commands/ModifySamlPropertiesCommand.ts
|
|
4562
4602
|
|
|
4563
4603
|
|
|
@@ -5012,6 +5052,7 @@ var commands = {
|
|
|
5012
5052
|
ModifyAccountCommand,
|
|
5013
5053
|
ModifyCertificateBasedAuthPropertiesCommand,
|
|
5014
5054
|
ModifyClientPropertiesCommand,
|
|
5055
|
+
ModifyEndpointEncryptionModeCommand,
|
|
5015
5056
|
ModifySamlPropertiesCommand,
|
|
5016
5057
|
ModifySelfservicePermissionsCommand,
|
|
5017
5058
|
ModifyStreamingPropertiesCommand,
|
|
@@ -5139,6 +5180,7 @@ var paginateListAccountLinks = (0, import_core.createPaginator)(WorkSpacesClient
|
|
|
5139
5180
|
ModifyAccountCommand,
|
|
5140
5181
|
ModifyCertificateBasedAuthPropertiesCommand,
|
|
5141
5182
|
ModifyClientPropertiesCommand,
|
|
5183
|
+
ModifyEndpointEncryptionModeCommand,
|
|
5142
5184
|
ModifySamlPropertiesCommand,
|
|
5143
5185
|
ModifySelfservicePermissionsCommand,
|
|
5144
5186
|
ModifyStreamingPropertiesCommand,
|
|
@@ -5237,6 +5279,7 @@ var paginateListAccountLinks = (0, import_core.createPaginator)(WorkSpacesClient
|
|
|
5237
5279
|
ImageAssociatedResourceType,
|
|
5238
5280
|
DescribeWorkspaceDirectoriesFilterName,
|
|
5239
5281
|
WorkspaceDirectoryType,
|
|
5282
|
+
EndpointEncryptionMode,
|
|
5240
5283
|
SamlStatusEnum,
|
|
5241
5284
|
WorkspaceDirectoryState,
|
|
5242
5285
|
StorageConnectorTypeEnum,
|
package/dist-es/WorkSpaces.js
CHANGED
|
@@ -61,6 +61,7 @@ import { MigrateWorkspaceCommand, } from "./commands/MigrateWorkspaceCommand";
|
|
|
61
61
|
import { ModifyAccountCommand, } from "./commands/ModifyAccountCommand";
|
|
62
62
|
import { ModifyCertificateBasedAuthPropertiesCommand, } from "./commands/ModifyCertificateBasedAuthPropertiesCommand";
|
|
63
63
|
import { ModifyClientPropertiesCommand, } from "./commands/ModifyClientPropertiesCommand";
|
|
64
|
+
import { ModifyEndpointEncryptionModeCommand, } from "./commands/ModifyEndpointEncryptionModeCommand";
|
|
64
65
|
import { ModifySamlPropertiesCommand, } from "./commands/ModifySamlPropertiesCommand";
|
|
65
66
|
import { ModifySelfservicePermissionsCommand, } from "./commands/ModifySelfservicePermissionsCommand";
|
|
66
67
|
import { ModifyStreamingPropertiesCommand, } from "./commands/ModifyStreamingPropertiesCommand";
|
|
@@ -151,6 +152,7 @@ const commands = {
|
|
|
151
152
|
ModifyAccountCommand,
|
|
152
153
|
ModifyCertificateBasedAuthPropertiesCommand,
|
|
153
154
|
ModifyClientPropertiesCommand,
|
|
155
|
+
ModifyEndpointEncryptionModeCommand,
|
|
154
156
|
ModifySamlPropertiesCommand,
|
|
155
157
|
ModifySelfservicePermissionsCommand,
|
|
156
158
|
ModifyStreamingPropertiesCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ModifyEndpointEncryptionModeCommand, se_ModifyEndpointEncryptionModeCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ModifyEndpointEncryptionModeCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WorkspacesService", "ModifyEndpointEncryptionMode", {})
|
|
17
|
+
.n("WorkSpacesClient", "ModifyEndpointEncryptionModeCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ModifyEndpointEncryptionModeCommand)
|
|
20
|
+
.de(de_ModifyEndpointEncryptionModeCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -60,6 +60,7 @@ export * from "./MigrateWorkspaceCommand";
|
|
|
60
60
|
export * from "./ModifyAccountCommand";
|
|
61
61
|
export * from "./ModifyCertificateBasedAuthPropertiesCommand";
|
|
62
62
|
export * from "./ModifyClientPropertiesCommand";
|
|
63
|
+
export * from "./ModifyEndpointEncryptionModeCommand";
|
|
63
64
|
export * from "./ModifySamlPropertiesCommand";
|
|
64
65
|
export * from "./ModifySelfservicePermissionsCommand";
|
|
65
66
|
export * from "./ModifyStreamingPropertiesCommand";
|
|
@@ -521,6 +521,10 @@ export const WorkspaceDirectoryType = {
|
|
|
521
521
|
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
522
522
|
SIMPLE_AD: "SIMPLE_AD",
|
|
523
523
|
};
|
|
524
|
+
export const EndpointEncryptionMode = {
|
|
525
|
+
FIPS_VALIDATED: "FIPS_VALIDATED",
|
|
526
|
+
STANDARD_TLS: "STANDARD_TLS",
|
|
527
|
+
};
|
|
524
528
|
export const SamlStatusEnum = {
|
|
525
529
|
DISABLED: "DISABLED",
|
|
526
530
|
ENABLED: "ENABLED",
|
|
@@ -376,6 +376,12 @@ export const se_ModifyClientPropertiesCommand = async (input, context) => {
|
|
|
376
376
|
body = JSON.stringify(_json(input));
|
|
377
377
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
378
378
|
};
|
|
379
|
+
export const se_ModifyEndpointEncryptionModeCommand = async (input, context) => {
|
|
380
|
+
const headers = sharedHeaders("ModifyEndpointEncryptionMode");
|
|
381
|
+
let body;
|
|
382
|
+
body = JSON.stringify(_json(input));
|
|
383
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
384
|
+
};
|
|
379
385
|
export const se_ModifySamlPropertiesCommand = async (input, context) => {
|
|
380
386
|
const headers = sharedHeaders("ModifySamlProperties");
|
|
381
387
|
let body;
|
|
@@ -1338,6 +1344,19 @@ export const de_ModifyClientPropertiesCommand = async (output, context) => {
|
|
|
1338
1344
|
};
|
|
1339
1345
|
return response;
|
|
1340
1346
|
};
|
|
1347
|
+
export const de_ModifyEndpointEncryptionModeCommand = async (output, context) => {
|
|
1348
|
+
if (output.statusCode >= 300) {
|
|
1349
|
+
return de_CommandError(output, context);
|
|
1350
|
+
}
|
|
1351
|
+
const data = await parseBody(output.body, context);
|
|
1352
|
+
let contents = {};
|
|
1353
|
+
contents = _json(data);
|
|
1354
|
+
const response = {
|
|
1355
|
+
$metadata: deserializeMetadata(output),
|
|
1356
|
+
...contents,
|
|
1357
|
+
};
|
|
1358
|
+
return response;
|
|
1359
|
+
};
|
|
1341
1360
|
export const de_ModifySamlPropertiesCommand = async (output, context) => {
|
|
1342
1361
|
if (output.statusCode >= 300) {
|
|
1343
1362
|
return de_CommandError(output, context);
|
|
@@ -61,6 +61,7 @@ import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "./c
|
|
|
61
61
|
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "./commands/ModifyAccountCommand";
|
|
62
62
|
import { ModifyCertificateBasedAuthPropertiesCommandInput, ModifyCertificateBasedAuthPropertiesCommandOutput } from "./commands/ModifyCertificateBasedAuthPropertiesCommand";
|
|
63
63
|
import { ModifyClientPropertiesCommandInput, ModifyClientPropertiesCommandOutput } from "./commands/ModifyClientPropertiesCommand";
|
|
64
|
+
import { ModifyEndpointEncryptionModeCommandInput, ModifyEndpointEncryptionModeCommandOutput } from "./commands/ModifyEndpointEncryptionModeCommand";
|
|
64
65
|
import { ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput } from "./commands/ModifySamlPropertiesCommand";
|
|
65
66
|
import { ModifySelfservicePermissionsCommandInput, ModifySelfservicePermissionsCommandOutput } from "./commands/ModifySelfservicePermissionsCommand";
|
|
66
67
|
import { ModifyStreamingPropertiesCommandInput, ModifyStreamingPropertiesCommandOutput } from "./commands/ModifyStreamingPropertiesCommand";
|
|
@@ -476,6 +477,12 @@ export interface WorkSpaces {
|
|
|
476
477
|
modifyClientProperties(args: ModifyClientPropertiesCommandInput, options?: __HttpHandlerOptions): Promise<ModifyClientPropertiesCommandOutput>;
|
|
477
478
|
modifyClientProperties(args: ModifyClientPropertiesCommandInput, cb: (err: any, data?: ModifyClientPropertiesCommandOutput) => void): void;
|
|
478
479
|
modifyClientProperties(args: ModifyClientPropertiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyClientPropertiesCommandOutput) => void): void;
|
|
480
|
+
/**
|
|
481
|
+
* @see {@link ModifyEndpointEncryptionModeCommand}
|
|
482
|
+
*/
|
|
483
|
+
modifyEndpointEncryptionMode(args: ModifyEndpointEncryptionModeCommandInput, options?: __HttpHandlerOptions): Promise<ModifyEndpointEncryptionModeCommandOutput>;
|
|
484
|
+
modifyEndpointEncryptionMode(args: ModifyEndpointEncryptionModeCommandInput, cb: (err: any, data?: ModifyEndpointEncryptionModeCommandOutput) => void): void;
|
|
485
|
+
modifyEndpointEncryptionMode(args: ModifyEndpointEncryptionModeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyEndpointEncryptionModeCommandOutput) => void): void;
|
|
479
486
|
/**
|
|
480
487
|
* @see {@link ModifySamlPropertiesCommand}
|
|
481
488
|
*/
|
|
@@ -69,6 +69,7 @@ import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "./c
|
|
|
69
69
|
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "./commands/ModifyAccountCommand";
|
|
70
70
|
import { ModifyCertificateBasedAuthPropertiesCommandInput, ModifyCertificateBasedAuthPropertiesCommandOutput } from "./commands/ModifyCertificateBasedAuthPropertiesCommand";
|
|
71
71
|
import { ModifyClientPropertiesCommandInput, ModifyClientPropertiesCommandOutput } from "./commands/ModifyClientPropertiesCommand";
|
|
72
|
+
import { ModifyEndpointEncryptionModeCommandInput, ModifyEndpointEncryptionModeCommandOutput } from "./commands/ModifyEndpointEncryptionModeCommand";
|
|
72
73
|
import { ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput } from "./commands/ModifySamlPropertiesCommand";
|
|
73
74
|
import { ModifySelfservicePermissionsCommandInput, ModifySelfservicePermissionsCommandOutput } from "./commands/ModifySelfservicePermissionsCommand";
|
|
74
75
|
import { ModifyStreamingPropertiesCommandInput, ModifyStreamingPropertiesCommandOutput } from "./commands/ModifyStreamingPropertiesCommand";
|
|
@@ -101,11 +102,11 @@ export { __Client };
|
|
|
101
102
|
/**
|
|
102
103
|
* @public
|
|
103
104
|
*/
|
|
104
|
-
export type ServiceInputTypes = AcceptAccountLinkInvitationCommandInput | AssociateConnectionAliasCommandInput | AssociateIpGroupsCommandInput | AssociateWorkspaceApplicationCommandInput | AuthorizeIpRulesCommandInput | CopyWorkspaceImageCommandInput | CreateAccountLinkInvitationCommandInput | CreateConnectClientAddInCommandInput | CreateConnectionAliasCommandInput | CreateIpGroupCommandInput | CreateStandbyWorkspacesCommandInput | CreateTagsCommandInput | CreateUpdatedWorkspaceImageCommandInput | CreateWorkspaceBundleCommandInput | CreateWorkspaceImageCommandInput | CreateWorkspacesCommandInput | CreateWorkspacesPoolCommandInput | DeleteAccountLinkInvitationCommandInput | DeleteClientBrandingCommandInput | DeleteConnectClientAddInCommandInput | DeleteConnectionAliasCommandInput | DeleteIpGroupCommandInput | DeleteTagsCommandInput | DeleteWorkspaceBundleCommandInput | DeleteWorkspaceImageCommandInput | DeployWorkspaceApplicationsCommandInput | DeregisterWorkspaceDirectoryCommandInput | DescribeAccountCommandInput | DescribeAccountModificationsCommandInput | DescribeApplicationAssociationsCommandInput | DescribeApplicationsCommandInput | DescribeBundleAssociationsCommandInput | DescribeClientBrandingCommandInput | DescribeClientPropertiesCommandInput | DescribeConnectClientAddInsCommandInput | DescribeConnectionAliasPermissionsCommandInput | DescribeConnectionAliasesCommandInput | DescribeImageAssociationsCommandInput | DescribeIpGroupsCommandInput | DescribeTagsCommandInput | DescribeWorkspaceAssociationsCommandInput | DescribeWorkspaceBundlesCommandInput | DescribeWorkspaceDirectoriesCommandInput | DescribeWorkspaceImagePermissionsCommandInput | DescribeWorkspaceImagesCommandInput | DescribeWorkspaceSnapshotsCommandInput | DescribeWorkspacesCommandInput | DescribeWorkspacesConnectionStatusCommandInput | DescribeWorkspacesPoolSessionsCommandInput | DescribeWorkspacesPoolsCommandInput | DisassociateConnectionAliasCommandInput | DisassociateIpGroupsCommandInput | DisassociateWorkspaceApplicationCommandInput | GetAccountLinkCommandInput | ImportClientBrandingCommandInput | ImportWorkspaceImageCommandInput | ListAccountLinksCommandInput | ListAvailableManagementCidrRangesCommandInput | MigrateWorkspaceCommandInput | ModifyAccountCommandInput | ModifyCertificateBasedAuthPropertiesCommandInput | ModifyClientPropertiesCommandInput | ModifySamlPropertiesCommandInput | ModifySelfservicePermissionsCommandInput | ModifyStreamingPropertiesCommandInput | ModifyWorkspaceAccessPropertiesCommandInput | ModifyWorkspaceCreationPropertiesCommandInput | ModifyWorkspacePropertiesCommandInput | ModifyWorkspaceStateCommandInput | RebootWorkspacesCommandInput | RebuildWorkspacesCommandInput | RegisterWorkspaceDirectoryCommandInput | RejectAccountLinkInvitationCommandInput | RestoreWorkspaceCommandInput | RevokeIpRulesCommandInput | StartWorkspacesCommandInput | StartWorkspacesPoolCommandInput | StopWorkspacesCommandInput | StopWorkspacesPoolCommandInput | TerminateWorkspacesCommandInput | TerminateWorkspacesPoolCommandInput | TerminateWorkspacesPoolSessionCommandInput | UpdateConnectClientAddInCommandInput | UpdateConnectionAliasPermissionCommandInput | UpdateRulesOfIpGroupCommandInput | UpdateWorkspaceBundleCommandInput | UpdateWorkspaceImagePermissionCommandInput | UpdateWorkspacesPoolCommandInput;
|
|
105
|
+
export type ServiceInputTypes = AcceptAccountLinkInvitationCommandInput | AssociateConnectionAliasCommandInput | AssociateIpGroupsCommandInput | AssociateWorkspaceApplicationCommandInput | AuthorizeIpRulesCommandInput | CopyWorkspaceImageCommandInput | CreateAccountLinkInvitationCommandInput | CreateConnectClientAddInCommandInput | CreateConnectionAliasCommandInput | CreateIpGroupCommandInput | CreateStandbyWorkspacesCommandInput | CreateTagsCommandInput | CreateUpdatedWorkspaceImageCommandInput | CreateWorkspaceBundleCommandInput | CreateWorkspaceImageCommandInput | CreateWorkspacesCommandInput | CreateWorkspacesPoolCommandInput | DeleteAccountLinkInvitationCommandInput | DeleteClientBrandingCommandInput | DeleteConnectClientAddInCommandInput | DeleteConnectionAliasCommandInput | DeleteIpGroupCommandInput | DeleteTagsCommandInput | DeleteWorkspaceBundleCommandInput | DeleteWorkspaceImageCommandInput | DeployWorkspaceApplicationsCommandInput | DeregisterWorkspaceDirectoryCommandInput | DescribeAccountCommandInput | DescribeAccountModificationsCommandInput | DescribeApplicationAssociationsCommandInput | DescribeApplicationsCommandInput | DescribeBundleAssociationsCommandInput | DescribeClientBrandingCommandInput | DescribeClientPropertiesCommandInput | DescribeConnectClientAddInsCommandInput | DescribeConnectionAliasPermissionsCommandInput | DescribeConnectionAliasesCommandInput | DescribeImageAssociationsCommandInput | DescribeIpGroupsCommandInput | DescribeTagsCommandInput | DescribeWorkspaceAssociationsCommandInput | DescribeWorkspaceBundlesCommandInput | DescribeWorkspaceDirectoriesCommandInput | DescribeWorkspaceImagePermissionsCommandInput | DescribeWorkspaceImagesCommandInput | DescribeWorkspaceSnapshotsCommandInput | DescribeWorkspacesCommandInput | DescribeWorkspacesConnectionStatusCommandInput | DescribeWorkspacesPoolSessionsCommandInput | DescribeWorkspacesPoolsCommandInput | DisassociateConnectionAliasCommandInput | DisassociateIpGroupsCommandInput | DisassociateWorkspaceApplicationCommandInput | GetAccountLinkCommandInput | ImportClientBrandingCommandInput | ImportWorkspaceImageCommandInput | ListAccountLinksCommandInput | ListAvailableManagementCidrRangesCommandInput | MigrateWorkspaceCommandInput | ModifyAccountCommandInput | ModifyCertificateBasedAuthPropertiesCommandInput | ModifyClientPropertiesCommandInput | ModifyEndpointEncryptionModeCommandInput | ModifySamlPropertiesCommandInput | ModifySelfservicePermissionsCommandInput | ModifyStreamingPropertiesCommandInput | ModifyWorkspaceAccessPropertiesCommandInput | ModifyWorkspaceCreationPropertiesCommandInput | ModifyWorkspacePropertiesCommandInput | ModifyWorkspaceStateCommandInput | RebootWorkspacesCommandInput | RebuildWorkspacesCommandInput | RegisterWorkspaceDirectoryCommandInput | RejectAccountLinkInvitationCommandInput | RestoreWorkspaceCommandInput | RevokeIpRulesCommandInput | StartWorkspacesCommandInput | StartWorkspacesPoolCommandInput | StopWorkspacesCommandInput | StopWorkspacesPoolCommandInput | TerminateWorkspacesCommandInput | TerminateWorkspacesPoolCommandInput | TerminateWorkspacesPoolSessionCommandInput | UpdateConnectClientAddInCommandInput | UpdateConnectionAliasPermissionCommandInput | UpdateRulesOfIpGroupCommandInput | UpdateWorkspaceBundleCommandInput | UpdateWorkspaceImagePermissionCommandInput | UpdateWorkspacesPoolCommandInput;
|
|
105
106
|
/**
|
|
106
107
|
* @public
|
|
107
108
|
*/
|
|
108
|
-
export type ServiceOutputTypes = AcceptAccountLinkInvitationCommandOutput | AssociateConnectionAliasCommandOutput | AssociateIpGroupsCommandOutput | AssociateWorkspaceApplicationCommandOutput | AuthorizeIpRulesCommandOutput | CopyWorkspaceImageCommandOutput | CreateAccountLinkInvitationCommandOutput | CreateConnectClientAddInCommandOutput | CreateConnectionAliasCommandOutput | CreateIpGroupCommandOutput | CreateStandbyWorkspacesCommandOutput | CreateTagsCommandOutput | CreateUpdatedWorkspaceImageCommandOutput | CreateWorkspaceBundleCommandOutput | CreateWorkspaceImageCommandOutput | CreateWorkspacesCommandOutput | CreateWorkspacesPoolCommandOutput | DeleteAccountLinkInvitationCommandOutput | DeleteClientBrandingCommandOutput | DeleteConnectClientAddInCommandOutput | DeleteConnectionAliasCommandOutput | DeleteIpGroupCommandOutput | DeleteTagsCommandOutput | DeleteWorkspaceBundleCommandOutput | DeleteWorkspaceImageCommandOutput | DeployWorkspaceApplicationsCommandOutput | DeregisterWorkspaceDirectoryCommandOutput | DescribeAccountCommandOutput | DescribeAccountModificationsCommandOutput | DescribeApplicationAssociationsCommandOutput | DescribeApplicationsCommandOutput | DescribeBundleAssociationsCommandOutput | DescribeClientBrandingCommandOutput | DescribeClientPropertiesCommandOutput | DescribeConnectClientAddInsCommandOutput | DescribeConnectionAliasPermissionsCommandOutput | DescribeConnectionAliasesCommandOutput | DescribeImageAssociationsCommandOutput | DescribeIpGroupsCommandOutput | DescribeTagsCommandOutput | DescribeWorkspaceAssociationsCommandOutput | DescribeWorkspaceBundlesCommandOutput | DescribeWorkspaceDirectoriesCommandOutput | DescribeWorkspaceImagePermissionsCommandOutput | DescribeWorkspaceImagesCommandOutput | DescribeWorkspaceSnapshotsCommandOutput | DescribeWorkspacesCommandOutput | DescribeWorkspacesConnectionStatusCommandOutput | DescribeWorkspacesPoolSessionsCommandOutput | DescribeWorkspacesPoolsCommandOutput | DisassociateConnectionAliasCommandOutput | DisassociateIpGroupsCommandOutput | DisassociateWorkspaceApplicationCommandOutput | GetAccountLinkCommandOutput | ImportClientBrandingCommandOutput | ImportWorkspaceImageCommandOutput | ListAccountLinksCommandOutput | ListAvailableManagementCidrRangesCommandOutput | MigrateWorkspaceCommandOutput | ModifyAccountCommandOutput | ModifyCertificateBasedAuthPropertiesCommandOutput | ModifyClientPropertiesCommandOutput | ModifySamlPropertiesCommandOutput | ModifySelfservicePermissionsCommandOutput | ModifyStreamingPropertiesCommandOutput | ModifyWorkspaceAccessPropertiesCommandOutput | ModifyWorkspaceCreationPropertiesCommandOutput | ModifyWorkspacePropertiesCommandOutput | ModifyWorkspaceStateCommandOutput | RebootWorkspacesCommandOutput | RebuildWorkspacesCommandOutput | RegisterWorkspaceDirectoryCommandOutput | RejectAccountLinkInvitationCommandOutput | RestoreWorkspaceCommandOutput | RevokeIpRulesCommandOutput | StartWorkspacesCommandOutput | StartWorkspacesPoolCommandOutput | StopWorkspacesCommandOutput | StopWorkspacesPoolCommandOutput | TerminateWorkspacesCommandOutput | TerminateWorkspacesPoolCommandOutput | TerminateWorkspacesPoolSessionCommandOutput | UpdateConnectClientAddInCommandOutput | UpdateConnectionAliasPermissionCommandOutput | UpdateRulesOfIpGroupCommandOutput | UpdateWorkspaceBundleCommandOutput | UpdateWorkspaceImagePermissionCommandOutput | UpdateWorkspacesPoolCommandOutput;
|
|
109
|
+
export type ServiceOutputTypes = AcceptAccountLinkInvitationCommandOutput | AssociateConnectionAliasCommandOutput | AssociateIpGroupsCommandOutput | AssociateWorkspaceApplicationCommandOutput | AuthorizeIpRulesCommandOutput | CopyWorkspaceImageCommandOutput | CreateAccountLinkInvitationCommandOutput | CreateConnectClientAddInCommandOutput | CreateConnectionAliasCommandOutput | CreateIpGroupCommandOutput | CreateStandbyWorkspacesCommandOutput | CreateTagsCommandOutput | CreateUpdatedWorkspaceImageCommandOutput | CreateWorkspaceBundleCommandOutput | CreateWorkspaceImageCommandOutput | CreateWorkspacesCommandOutput | CreateWorkspacesPoolCommandOutput | DeleteAccountLinkInvitationCommandOutput | DeleteClientBrandingCommandOutput | DeleteConnectClientAddInCommandOutput | DeleteConnectionAliasCommandOutput | DeleteIpGroupCommandOutput | DeleteTagsCommandOutput | DeleteWorkspaceBundleCommandOutput | DeleteWorkspaceImageCommandOutput | DeployWorkspaceApplicationsCommandOutput | DeregisterWorkspaceDirectoryCommandOutput | DescribeAccountCommandOutput | DescribeAccountModificationsCommandOutput | DescribeApplicationAssociationsCommandOutput | DescribeApplicationsCommandOutput | DescribeBundleAssociationsCommandOutput | DescribeClientBrandingCommandOutput | DescribeClientPropertiesCommandOutput | DescribeConnectClientAddInsCommandOutput | DescribeConnectionAliasPermissionsCommandOutput | DescribeConnectionAliasesCommandOutput | DescribeImageAssociationsCommandOutput | DescribeIpGroupsCommandOutput | DescribeTagsCommandOutput | DescribeWorkspaceAssociationsCommandOutput | DescribeWorkspaceBundlesCommandOutput | DescribeWorkspaceDirectoriesCommandOutput | DescribeWorkspaceImagePermissionsCommandOutput | DescribeWorkspaceImagesCommandOutput | DescribeWorkspaceSnapshotsCommandOutput | DescribeWorkspacesCommandOutput | DescribeWorkspacesConnectionStatusCommandOutput | DescribeWorkspacesPoolSessionsCommandOutput | DescribeWorkspacesPoolsCommandOutput | DisassociateConnectionAliasCommandOutput | DisassociateIpGroupsCommandOutput | DisassociateWorkspaceApplicationCommandOutput | GetAccountLinkCommandOutput | ImportClientBrandingCommandOutput | ImportWorkspaceImageCommandOutput | ListAccountLinksCommandOutput | ListAvailableManagementCidrRangesCommandOutput | MigrateWorkspaceCommandOutput | ModifyAccountCommandOutput | ModifyCertificateBasedAuthPropertiesCommandOutput | ModifyClientPropertiesCommandOutput | ModifyEndpointEncryptionModeCommandOutput | ModifySamlPropertiesCommandOutput | ModifySelfservicePermissionsCommandOutput | ModifyStreamingPropertiesCommandOutput | ModifyWorkspaceAccessPropertiesCommandOutput | ModifyWorkspaceCreationPropertiesCommandOutput | ModifyWorkspacePropertiesCommandOutput | ModifyWorkspaceStateCommandOutput | RebootWorkspacesCommandOutput | RebuildWorkspacesCommandOutput | RegisterWorkspaceDirectoryCommandOutput | RejectAccountLinkInvitationCommandOutput | RestoreWorkspaceCommandOutput | RevokeIpRulesCommandOutput | StartWorkspacesCommandOutput | StartWorkspacesPoolCommandOutput | StopWorkspacesCommandOutput | StopWorkspacesPoolCommandOutput | TerminateWorkspacesCommandOutput | TerminateWorkspacesPoolCommandOutput | TerminateWorkspacesPoolSessionCommandOutput | UpdateConnectClientAddInCommandOutput | UpdateConnectionAliasPermissionCommandOutput | UpdateRulesOfIpGroupCommandOutput | UpdateWorkspaceBundleCommandOutput | UpdateWorkspaceImagePermissionCommandOutput | UpdateWorkspacesPoolCommandOutput;
|
|
109
110
|
/**
|
|
110
111
|
* @public
|
|
111
112
|
*/
|
|
@@ -31,7 +31,7 @@ declare const CopyWorkspaceImageCommand_base: {
|
|
|
31
31
|
* information about copying images, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/copy-custom-image.html"> Copy a Custom WorkSpaces
|
|
32
32
|
* Image</a>.</p>
|
|
33
33
|
* <p>In the China (Ningxia) Region, you can copy images only within the same Region.</p>
|
|
34
|
-
* <p>In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web
|
|
34
|
+
* <p>In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web ServicesSupport.</p>
|
|
35
35
|
* <important>
|
|
36
36
|
* <p>Before copying a shared image, be sure to verify that it has been shared from the
|
|
37
37
|
* correct Amazon Web Services account. To determine if an image has been shared and to see
|
|
@@ -112,6 +112,7 @@ declare const DescribeWorkspaceDirectoriesCommand_base: {
|
|
|
112
112
|
* // Status: "DISABLED" || "ENABLED",
|
|
113
113
|
* // CertificateAuthorityArn: "STRING_VALUE",
|
|
114
114
|
* // },
|
|
115
|
+
* // EndpointEncryptionMode: "STANDARD_TLS" || "FIPS_VALIDATED",
|
|
115
116
|
* // MicrosoftEntraConfig: { // MicrosoftEntraConfig
|
|
116
117
|
* // TenantId: "STRING_VALUE",
|
|
117
118
|
* // ApplicationConfigSecretArn: "STRING_VALUE",
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ModifyEndpointEncryptionModeRequest, ModifyEndpointEncryptionModeResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ModifyEndpointEncryptionModeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ModifyEndpointEncryptionModeCommandInput extends ModifyEndpointEncryptionModeRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ModifyEndpointEncryptionModeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ModifyEndpointEncryptionModeCommandOutput extends ModifyEndpointEncryptionModeResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ModifyEndpointEncryptionModeCommand_base: {
|
|
25
|
+
new (input: ModifyEndpointEncryptionModeCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyEndpointEncryptionModeCommandInput, ModifyEndpointEncryptionModeCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ModifyEndpointEncryptionModeCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyEndpointEncryptionModeCommandInput, ModifyEndpointEncryptionModeCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Modifies the endpoint encryption mode that allows you to configure the specified
|
|
31
|
+
* directory between Standard TLS and FIPS 140-2 validated mode. </p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { WorkSpacesClient, ModifyEndpointEncryptionModeCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
36
|
+
* // const { WorkSpacesClient, ModifyEndpointEncryptionModeCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
37
|
+
* const client = new WorkSpacesClient(config);
|
|
38
|
+
* const input = { // ModifyEndpointEncryptionModeRequest
|
|
39
|
+
* DirectoryId: "STRING_VALUE", // required
|
|
40
|
+
* EndpointEncryptionMode: "STANDARD_TLS" || "FIPS_VALIDATED", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ModifyEndpointEncryptionModeCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param ModifyEndpointEncryptionModeCommandInput - {@link ModifyEndpointEncryptionModeCommandInput}
|
|
49
|
+
* @returns {@link ModifyEndpointEncryptionModeCommandOutput}
|
|
50
|
+
* @see {@link ModifyEndpointEncryptionModeCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link ModifyEndpointEncryptionModeCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link OperationNotSupportedException} (client fault)
|
|
58
|
+
* <p>This operation is not supported.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The resource could not be found.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link WorkSpacesServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
65
|
+
*
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export declare class ModifyEndpointEncryptionModeCommand extends ModifyEndpointEncryptionModeCommand_base {
|
|
69
|
+
/** @internal type navigation helper, not in runtime. */
|
|
70
|
+
protected static __types: {
|
|
71
|
+
api: {
|
|
72
|
+
input: ModifyEndpointEncryptionModeRequest;
|
|
73
|
+
output: {};
|
|
74
|
+
};
|
|
75
|
+
sdk: {
|
|
76
|
+
input: ModifyEndpointEncryptionModeCommandInput;
|
|
77
|
+
output: ModifyEndpointEncryptionModeCommandOutput;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -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 { RebuildWorkspacesRequest, RebuildWorkspacesResult } from "../models/
|
|
3
|
+
import { RebuildWorkspacesRequest, RebuildWorkspacesResult } from "../models/models_1";
|
|
4
4
|
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -30,7 +30,7 @@ declare const TerminateWorkspacesCommand_base: {
|
|
|
30
30
|
* <p>Terminates the specified WorkSpaces.</p>
|
|
31
31
|
* <important>
|
|
32
32
|
* <p>Terminating a WorkSpace is a permanent action and cannot be undone. The user's data
|
|
33
|
-
* is destroyed. If you need to archive any user data, contact Amazon Web
|
|
33
|
+
* is destroyed. If you need to archive any user data, contact Amazon Web ServicesSupport before
|
|
34
34
|
* terminating the WorkSpace.</p>
|
|
35
35
|
* </important>
|
|
36
36
|
* <p>You can terminate a WorkSpace that is in any state except <code>SUSPENDED</code>.</p>
|
|
@@ -34,7 +34,7 @@ declare const UpdateWorkspaceImagePermissionCommand_base: {
|
|
|
34
34
|
* <p>After an image has been shared, the recipient account can copy the image to other
|
|
35
35
|
* Regions as needed.</p>
|
|
36
36
|
* <p>In the China (Ningxia) Region, you can copy images only within the same Region.</p>
|
|
37
|
-
* <p>In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web
|
|
37
|
+
* <p>In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web ServicesSupport.</p>
|
|
38
38
|
* <p>For more information about sharing images, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html"> Share or Unshare a Custom
|
|
39
39
|
* WorkSpaces Image</a>.</p>
|
|
40
40
|
* <note>
|
|
@@ -46,7 +46,7 @@ declare const UpdateWorkspaceImagePermissionCommand_base: {
|
|
|
46
46
|
* <li>
|
|
47
47
|
* <p>Sharing Bring Your Own License (BYOL) images across Amazon Web Services accounts
|
|
48
48
|
* isn't supported at this time in Amazon Web Services GovCloud (US). To share BYOL images
|
|
49
|
-
* across accounts in Amazon Web Services GovCloud (US), contact Amazon Web
|
|
49
|
+
* across accounts in Amazon Web Services GovCloud (US), contact Amazon Web ServicesSupport.</p>
|
|
50
50
|
* </li>
|
|
51
51
|
* </ul>
|
|
52
52
|
* </note>
|
|
@@ -60,6 +60,7 @@ export * from "./MigrateWorkspaceCommand";
|
|
|
60
60
|
export * from "./ModifyAccountCommand";
|
|
61
61
|
export * from "./ModifyCertificateBasedAuthPropertiesCommand";
|
|
62
62
|
export * from "./ModifyClientPropertiesCommand";
|
|
63
|
+
export * from "./ModifyEndpointEncryptionModeCommand";
|
|
63
64
|
export * from "./ModifySamlPropertiesCommand";
|
|
64
65
|
export * from "./ModifySelfservicePermissionsCommand";
|
|
65
66
|
export * from "./ModifyStreamingPropertiesCommand";
|
|
@@ -3904,6 +3904,18 @@ export declare const WorkspaceDirectoryType: {
|
|
|
3904
3904
|
* @public
|
|
3905
3905
|
*/
|
|
3906
3906
|
export type WorkspaceDirectoryType = (typeof WorkspaceDirectoryType)[keyof typeof WorkspaceDirectoryType];
|
|
3907
|
+
/**
|
|
3908
|
+
* @public
|
|
3909
|
+
* @enum
|
|
3910
|
+
*/
|
|
3911
|
+
export declare const EndpointEncryptionMode: {
|
|
3912
|
+
readonly FIPS_VALIDATED: "FIPS_VALIDATED";
|
|
3913
|
+
readonly STANDARD_TLS: "STANDARD_TLS";
|
|
3914
|
+
};
|
|
3915
|
+
/**
|
|
3916
|
+
* @public
|
|
3917
|
+
*/
|
|
3918
|
+
export type EndpointEncryptionMode = (typeof EndpointEncryptionMode)[keyof typeof EndpointEncryptionMode];
|
|
3907
3919
|
/**
|
|
3908
3920
|
* <p>Specifies the configurations of the identity center.</p>
|
|
3909
3921
|
* @public
|
|
@@ -4377,6 +4389,12 @@ export interface WorkspaceDirectory {
|
|
|
4377
4389
|
* @public
|
|
4378
4390
|
*/
|
|
4379
4391
|
CertificateBasedAuthProperties?: CertificateBasedAuthProperties | undefined;
|
|
4392
|
+
/**
|
|
4393
|
+
* <p>Endpoint encryption mode that allows you to configure the specified directory between
|
|
4394
|
+
* Standard TLS and FIPS 140-2 validated mode.</p>
|
|
4395
|
+
* @public
|
|
4396
|
+
*/
|
|
4397
|
+
EndpointEncryptionMode?: EndpointEncryptionMode | undefined;
|
|
4380
4398
|
/**
|
|
4381
4399
|
* <p>Specifies details about Microsoft Entra configurations.</p>
|
|
4382
4400
|
* @public
|
|
@@ -4981,7 +4999,8 @@ export interface DescribeWorkspacesPoolSessionsRequest {
|
|
|
4981
4999
|
*/
|
|
4982
5000
|
UserId?: string | undefined;
|
|
4983
5001
|
/**
|
|
4984
|
-
* <p>The maximum
|
|
5002
|
+
* <p>The maximum size of each page of results. The default value is 20 and the maximum value
|
|
5003
|
+
* is 50.</p>
|
|
4985
5004
|
* @public
|
|
4986
5005
|
*/
|
|
4987
5006
|
Limit?: number | undefined;
|
|
@@ -5639,6 +5658,27 @@ export interface ModifyClientPropertiesRequest {
|
|
|
5639
5658
|
*/
|
|
5640
5659
|
export interface ModifyClientPropertiesResult {
|
|
5641
5660
|
}
|
|
5661
|
+
/**
|
|
5662
|
+
* @public
|
|
5663
|
+
*/
|
|
5664
|
+
export interface ModifyEndpointEncryptionModeRequest {
|
|
5665
|
+
/**
|
|
5666
|
+
* <p> The identifier of the directory.</p>
|
|
5667
|
+
* @public
|
|
5668
|
+
*/
|
|
5669
|
+
DirectoryId: string | undefined;
|
|
5670
|
+
/**
|
|
5671
|
+
* <p>The encryption mode used for endpoint connections when streaming to WorkSpaces Personal
|
|
5672
|
+
* or WorkSpace Pools.</p>
|
|
5673
|
+
* @public
|
|
5674
|
+
*/
|
|
5675
|
+
EndpointEncryptionMode: EndpointEncryptionMode | undefined;
|
|
5676
|
+
}
|
|
5677
|
+
/**
|
|
5678
|
+
* @public
|
|
5679
|
+
*/
|
|
5680
|
+
export interface ModifyEndpointEncryptionModeResponse {
|
|
5681
|
+
}
|
|
5642
5682
|
/**
|
|
5643
5683
|
* @public
|
|
5644
5684
|
*/
|
|
@@ -5932,34 +5972,3 @@ export interface RebootWorkspacesResult {
|
|
|
5932
5972
|
*/
|
|
5933
5973
|
FailedRequests?: FailedWorkspaceChangeRequest[] | undefined;
|
|
5934
5974
|
}
|
|
5935
|
-
/**
|
|
5936
|
-
* <p>Describes the information used to rebuild a WorkSpace.</p>
|
|
5937
|
-
* @public
|
|
5938
|
-
*/
|
|
5939
|
-
export interface RebuildRequest {
|
|
5940
|
-
/**
|
|
5941
|
-
* <p>The identifier of the WorkSpace.</p>
|
|
5942
|
-
* @public
|
|
5943
|
-
*/
|
|
5944
|
-
WorkspaceId: string | undefined;
|
|
5945
|
-
}
|
|
5946
|
-
/**
|
|
5947
|
-
* @public
|
|
5948
|
-
*/
|
|
5949
|
-
export interface RebuildWorkspacesRequest {
|
|
5950
|
-
/**
|
|
5951
|
-
* <p>The WorkSpace to rebuild. You can specify a single WorkSpace.</p>
|
|
5952
|
-
* @public
|
|
5953
|
-
*/
|
|
5954
|
-
RebuildWorkspaceRequests: RebuildRequest[] | undefined;
|
|
5955
|
-
}
|
|
5956
|
-
/**
|
|
5957
|
-
* @public
|
|
5958
|
-
*/
|
|
5959
|
-
export interface RebuildWorkspacesResult {
|
|
5960
|
-
/**
|
|
5961
|
-
* <p>Information about the WorkSpace that could not be rebuilt.</p>
|
|
5962
|
-
* @public
|
|
5963
|
-
*/
|
|
5964
|
-
FailedRequests?: FailedWorkspaceChangeRequest[] | undefined;
|
|
5965
|
-
}
|
|
@@ -1,6 +1,37 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { AccountLink, ActiveDirectoryConfig, ApplicationSettingsRequest, Capacity, ConnectionAliasPermission, FailedWorkspaceChangeRequest, IpRuleItem, MicrosoftEntraConfig, Tag, Tenancy, TimeoutSettings, UserIdentityType, WorkspaceDirectoryState, WorkspacesPool, WorkspaceType } from "./models_0";
|
|
3
3
|
import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Describes the information used to rebuild a WorkSpace.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface RebuildRequest {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The identifier of the WorkSpace.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
WorkspaceId: string | undefined;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export interface RebuildWorkspacesRequest {
|
|
19
|
+
/**
|
|
20
|
+
* <p>The WorkSpace to rebuild. You can specify a single WorkSpace.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
RebuildWorkspaceRequests: RebuildRequest[] | undefined;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export interface RebuildWorkspacesResult {
|
|
29
|
+
/**
|
|
30
|
+
* <p>Information about the WorkSpace that could not be rebuilt.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
FailedRequests?: FailedWorkspaceChangeRequest[] | undefined;
|
|
34
|
+
}
|
|
4
35
|
/**
|
|
5
36
|
* @public
|
|
6
37
|
*/
|
|
@@ -62,6 +62,7 @@ import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "../
|
|
|
62
62
|
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "../commands/ModifyAccountCommand";
|
|
63
63
|
import { ModifyCertificateBasedAuthPropertiesCommandInput, ModifyCertificateBasedAuthPropertiesCommandOutput } from "../commands/ModifyCertificateBasedAuthPropertiesCommand";
|
|
64
64
|
import { ModifyClientPropertiesCommandInput, ModifyClientPropertiesCommandOutput } from "../commands/ModifyClientPropertiesCommand";
|
|
65
|
+
import { ModifyEndpointEncryptionModeCommandInput, ModifyEndpointEncryptionModeCommandOutput } from "../commands/ModifyEndpointEncryptionModeCommand";
|
|
65
66
|
import { ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput } from "../commands/ModifySamlPropertiesCommand";
|
|
66
67
|
import { ModifySelfservicePermissionsCommandInput, ModifySelfservicePermissionsCommandOutput } from "../commands/ModifySelfservicePermissionsCommand";
|
|
67
68
|
import { ModifyStreamingPropertiesCommandInput, ModifyStreamingPropertiesCommandOutput } from "../commands/ModifyStreamingPropertiesCommand";
|
|
@@ -336,6 +337,10 @@ export declare const se_ModifyCertificateBasedAuthPropertiesCommand: (input: Mod
|
|
|
336
337
|
* serializeAws_json1_1ModifyClientPropertiesCommand
|
|
337
338
|
*/
|
|
338
339
|
export declare const se_ModifyClientPropertiesCommand: (input: ModifyClientPropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
340
|
+
/**
|
|
341
|
+
* serializeAws_json1_1ModifyEndpointEncryptionModeCommand
|
|
342
|
+
*/
|
|
343
|
+
export declare const se_ModifyEndpointEncryptionModeCommand: (input: ModifyEndpointEncryptionModeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
339
344
|
/**
|
|
340
345
|
* serializeAws_json1_1ModifySamlPropertiesCommand
|
|
341
346
|
*/
|
|
@@ -688,6 +693,10 @@ export declare const de_ModifyCertificateBasedAuthPropertiesCommand: (output: __
|
|
|
688
693
|
* deserializeAws_json1_1ModifyClientPropertiesCommand
|
|
689
694
|
*/
|
|
690
695
|
export declare const de_ModifyClientPropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyClientPropertiesCommandOutput>;
|
|
696
|
+
/**
|
|
697
|
+
* deserializeAws_json1_1ModifyEndpointEncryptionModeCommand
|
|
698
|
+
*/
|
|
699
|
+
export declare const de_ModifyEndpointEncryptionModeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyEndpointEncryptionModeCommandOutput>;
|
|
691
700
|
/**
|
|
692
701
|
* deserializeAws_json1_1ModifySamlPropertiesCommand
|
|
693
702
|
*/
|
|
@@ -247,6 +247,10 @@ import {
|
|
|
247
247
|
ModifyClientPropertiesCommandInput,
|
|
248
248
|
ModifyClientPropertiesCommandOutput,
|
|
249
249
|
} from "./commands/ModifyClientPropertiesCommand";
|
|
250
|
+
import {
|
|
251
|
+
ModifyEndpointEncryptionModeCommandInput,
|
|
252
|
+
ModifyEndpointEncryptionModeCommandOutput,
|
|
253
|
+
} from "./commands/ModifyEndpointEncryptionModeCommand";
|
|
250
254
|
import {
|
|
251
255
|
ModifySamlPropertiesCommandInput,
|
|
252
256
|
ModifySamlPropertiesCommandOutput,
|
|
@@ -1204,6 +1208,19 @@ export interface WorkSpaces {
|
|
|
1204
1208
|
options: __HttpHandlerOptions,
|
|
1205
1209
|
cb: (err: any, data?: ModifyClientPropertiesCommandOutput) => void
|
|
1206
1210
|
): void;
|
|
1211
|
+
modifyEndpointEncryptionMode(
|
|
1212
|
+
args: ModifyEndpointEncryptionModeCommandInput,
|
|
1213
|
+
options?: __HttpHandlerOptions
|
|
1214
|
+
): Promise<ModifyEndpointEncryptionModeCommandOutput>;
|
|
1215
|
+
modifyEndpointEncryptionMode(
|
|
1216
|
+
args: ModifyEndpointEncryptionModeCommandInput,
|
|
1217
|
+
cb: (err: any, data?: ModifyEndpointEncryptionModeCommandOutput) => void
|
|
1218
|
+
): void;
|
|
1219
|
+
modifyEndpointEncryptionMode(
|
|
1220
|
+
args: ModifyEndpointEncryptionModeCommandInput,
|
|
1221
|
+
options: __HttpHandlerOptions,
|
|
1222
|
+
cb: (err: any, data?: ModifyEndpointEncryptionModeCommandOutput) => void
|
|
1223
|
+
): void;
|
|
1207
1224
|
modifySamlProperties(
|
|
1208
1225
|
args: ModifySamlPropertiesCommandInput,
|
|
1209
1226
|
options?: __HttpHandlerOptions
|
|
@@ -293,6 +293,10 @@ import {
|
|
|
293
293
|
ModifyClientPropertiesCommandInput,
|
|
294
294
|
ModifyClientPropertiesCommandOutput,
|
|
295
295
|
} from "./commands/ModifyClientPropertiesCommand";
|
|
296
|
+
import {
|
|
297
|
+
ModifyEndpointEncryptionModeCommandInput,
|
|
298
|
+
ModifyEndpointEncryptionModeCommandOutput,
|
|
299
|
+
} from "./commands/ModifyEndpointEncryptionModeCommand";
|
|
296
300
|
import {
|
|
297
301
|
ModifySamlPropertiesCommandInput,
|
|
298
302
|
ModifySamlPropertiesCommandOutput,
|
|
@@ -467,6 +471,7 @@ export type ServiceInputTypes =
|
|
|
467
471
|
| ModifyAccountCommandInput
|
|
468
472
|
| ModifyCertificateBasedAuthPropertiesCommandInput
|
|
469
473
|
| ModifyClientPropertiesCommandInput
|
|
474
|
+
| ModifyEndpointEncryptionModeCommandInput
|
|
470
475
|
| ModifySamlPropertiesCommandInput
|
|
471
476
|
| ModifySelfservicePermissionsCommandInput
|
|
472
477
|
| ModifyStreamingPropertiesCommandInput
|
|
@@ -556,6 +561,7 @@ export type ServiceOutputTypes =
|
|
|
556
561
|
| ModifyAccountCommandOutput
|
|
557
562
|
| ModifyCertificateBasedAuthPropertiesCommandOutput
|
|
558
563
|
| ModifyClientPropertiesCommandOutput
|
|
564
|
+
| ModifyEndpointEncryptionModeCommandOutput
|
|
559
565
|
| ModifySamlPropertiesCommandOutput
|
|
560
566
|
| ModifySelfservicePermissionsCommandOutput
|
|
561
567
|
| ModifyStreamingPropertiesCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ModifyEndpointEncryptionModeRequest,
|
|
5
|
+
ModifyEndpointEncryptionModeResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
WorkSpacesClientResolvedConfig,
|
|
11
|
+
} from "../WorkSpacesClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ModifyEndpointEncryptionModeCommandInput
|
|
15
|
+
extends ModifyEndpointEncryptionModeRequest {}
|
|
16
|
+
export interface ModifyEndpointEncryptionModeCommandOutput
|
|
17
|
+
extends ModifyEndpointEncryptionModeResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ModifyEndpointEncryptionModeCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ModifyEndpointEncryptionModeCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ModifyEndpointEncryptionModeCommandInput,
|
|
24
|
+
ModifyEndpointEncryptionModeCommandOutput,
|
|
25
|
+
WorkSpacesClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: ModifyEndpointEncryptionModeCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ModifyEndpointEncryptionModeCommandInput,
|
|
33
|
+
ModifyEndpointEncryptionModeCommandOutput,
|
|
34
|
+
WorkSpacesClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ModifyEndpointEncryptionModeCommand extends ModifyEndpointEncryptionModeCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ModifyEndpointEncryptionModeRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ModifyEndpointEncryptionModeCommandInput;
|
|
48
|
+
output: ModifyEndpointEncryptionModeCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -60,6 +60,7 @@ export * from "./MigrateWorkspaceCommand";
|
|
|
60
60
|
export * from "./ModifyAccountCommand";
|
|
61
61
|
export * from "./ModifyCertificateBasedAuthPropertiesCommand";
|
|
62
62
|
export * from "./ModifyClientPropertiesCommand";
|
|
63
|
+
export * from "./ModifyEndpointEncryptionModeCommand";
|
|
63
64
|
export * from "./ModifySamlPropertiesCommand";
|
|
64
65
|
export * from "./ModifySelfservicePermissionsCommand";
|
|
65
66
|
export * from "./ModifyStreamingPropertiesCommand";
|
|
@@ -1167,6 +1167,12 @@ export declare const WorkspaceDirectoryType: {
|
|
|
1167
1167
|
};
|
|
1168
1168
|
export type WorkspaceDirectoryType =
|
|
1169
1169
|
(typeof WorkspaceDirectoryType)[keyof typeof WorkspaceDirectoryType];
|
|
1170
|
+
export declare const EndpointEncryptionMode: {
|
|
1171
|
+
readonly FIPS_VALIDATED: "FIPS_VALIDATED";
|
|
1172
|
+
readonly STANDARD_TLS: "STANDARD_TLS";
|
|
1173
|
+
};
|
|
1174
|
+
export type EndpointEncryptionMode =
|
|
1175
|
+
(typeof EndpointEncryptionMode)[keyof typeof EndpointEncryptionMode];
|
|
1170
1176
|
export interface IDCConfig {
|
|
1171
1177
|
InstanceArn?: string | undefined;
|
|
1172
1178
|
ApplicationArn?: string | undefined;
|
|
@@ -1302,6 +1308,7 @@ export interface WorkspaceDirectory {
|
|
|
1302
1308
|
SelfservicePermissions?: SelfservicePermissions | undefined;
|
|
1303
1309
|
SamlProperties?: SamlProperties | undefined;
|
|
1304
1310
|
CertificateBasedAuthProperties?: CertificateBasedAuthProperties | undefined;
|
|
1311
|
+
EndpointEncryptionMode?: EndpointEncryptionMode | undefined;
|
|
1305
1312
|
MicrosoftEntraConfig?: MicrosoftEntraConfig | undefined;
|
|
1306
1313
|
WorkspaceDirectoryName?: string | undefined;
|
|
1307
1314
|
WorkspaceDirectoryDescription?: string | undefined;
|
|
@@ -1637,6 +1644,11 @@ export interface ModifyClientPropertiesRequest {
|
|
|
1637
1644
|
ClientProperties: ClientProperties | undefined;
|
|
1638
1645
|
}
|
|
1639
1646
|
export interface ModifyClientPropertiesResult {}
|
|
1647
|
+
export interface ModifyEndpointEncryptionModeRequest {
|
|
1648
|
+
DirectoryId: string | undefined;
|
|
1649
|
+
EndpointEncryptionMode: EndpointEncryptionMode | undefined;
|
|
1650
|
+
}
|
|
1651
|
+
export interface ModifyEndpointEncryptionModeResponse {}
|
|
1640
1652
|
export interface ModifySamlPropertiesRequest {
|
|
1641
1653
|
ResourceId: string | undefined;
|
|
1642
1654
|
SamlProperties?: SamlProperties | undefined;
|
|
@@ -1708,12 +1720,3 @@ export interface RebootWorkspacesRequest {
|
|
|
1708
1720
|
export interface RebootWorkspacesResult {
|
|
1709
1721
|
FailedRequests?: FailedWorkspaceChangeRequest[] | undefined;
|
|
1710
1722
|
}
|
|
1711
|
-
export interface RebuildRequest {
|
|
1712
|
-
WorkspaceId: string | undefined;
|
|
1713
|
-
}
|
|
1714
|
-
export interface RebuildWorkspacesRequest {
|
|
1715
|
-
RebuildWorkspaceRequests: RebuildRequest[] | undefined;
|
|
1716
|
-
}
|
|
1717
|
-
export interface RebuildWorkspacesResult {
|
|
1718
|
-
FailedRequests?: FailedWorkspaceChangeRequest[] | undefined;
|
|
1719
|
-
}
|
|
@@ -17,6 +17,15 @@ import {
|
|
|
17
17
|
WorkspaceType,
|
|
18
18
|
} from "./models_0";
|
|
19
19
|
import { WorkSpacesServiceException as __BaseException } from "./WorkSpacesServiceException";
|
|
20
|
+
export interface RebuildRequest {
|
|
21
|
+
WorkspaceId: string | undefined;
|
|
22
|
+
}
|
|
23
|
+
export interface RebuildWorkspacesRequest {
|
|
24
|
+
RebuildWorkspaceRequests: RebuildRequest[] | undefined;
|
|
25
|
+
}
|
|
26
|
+
export interface RebuildWorkspacesResult {
|
|
27
|
+
FailedRequests?: FailedWorkspaceChangeRequest[] | undefined;
|
|
28
|
+
}
|
|
20
29
|
export interface RegisterWorkspaceDirectoryRequest {
|
|
21
30
|
DirectoryId?: string | undefined;
|
|
22
31
|
SubnetIds?: string[] | undefined;
|
|
@@ -251,6 +251,10 @@ import {
|
|
|
251
251
|
ModifyClientPropertiesCommandInput,
|
|
252
252
|
ModifyClientPropertiesCommandOutput,
|
|
253
253
|
} from "../commands/ModifyClientPropertiesCommand";
|
|
254
|
+
import {
|
|
255
|
+
ModifyEndpointEncryptionModeCommandInput,
|
|
256
|
+
ModifyEndpointEncryptionModeCommandOutput,
|
|
257
|
+
} from "../commands/ModifyEndpointEncryptionModeCommand";
|
|
254
258
|
import {
|
|
255
259
|
ModifySamlPropertiesCommandInput,
|
|
256
260
|
ModifySamlPropertiesCommandOutput,
|
|
@@ -603,6 +607,10 @@ export declare const se_ModifyClientPropertiesCommand: (
|
|
|
603
607
|
input: ModifyClientPropertiesCommandInput,
|
|
604
608
|
context: __SerdeContext
|
|
605
609
|
) => Promise<__HttpRequest>;
|
|
610
|
+
export declare const se_ModifyEndpointEncryptionModeCommand: (
|
|
611
|
+
input: ModifyEndpointEncryptionModeCommandInput,
|
|
612
|
+
context: __SerdeContext
|
|
613
|
+
) => Promise<__HttpRequest>;
|
|
606
614
|
export declare const se_ModifySamlPropertiesCommand: (
|
|
607
615
|
input: ModifySamlPropertiesCommandInput,
|
|
608
616
|
context: __SerdeContext
|
|
@@ -955,6 +963,10 @@ export declare const de_ModifyClientPropertiesCommand: (
|
|
|
955
963
|
output: __HttpResponse,
|
|
956
964
|
context: __SerdeContext
|
|
957
965
|
) => Promise<ModifyClientPropertiesCommandOutput>;
|
|
966
|
+
export declare const de_ModifyEndpointEncryptionModeCommand: (
|
|
967
|
+
output: __HttpResponse,
|
|
968
|
+
context: __SerdeContext
|
|
969
|
+
) => Promise<ModifyEndpointEncryptionModeCommandOutput>;
|
|
958
970
|
export declare const de_ModifySamlPropertiesCommand: (
|
|
959
971
|
output: __HttpResponse,
|
|
960
972
|
context: __SerdeContext
|
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.772.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",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|