@aws-sdk/client-workspaces-web 3.696.0 → 3.697.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 +56 -0
- package/dist-cjs/index.js +443 -0
- package/dist-es/WorkSpacesWeb.js +14 -0
- package/dist-es/commands/AssociateDataProtectionSettingsCommand.js +22 -0
- package/dist-es/commands/CreateDataProtectionSettingsCommand.js +23 -0
- package/dist-es/commands/DeleteDataProtectionSettingsCommand.js +22 -0
- package/dist-es/commands/DisassociateDataProtectionSettingsCommand.js +22 -0
- package/dist-es/commands/GetDataProtectionSettingsCommand.js +23 -0
- package/dist-es/commands/ListDataProtectionSettingsCommand.js +23 -0
- package/dist-es/commands/UpdateDataProtectionSettingsCommand.js +23 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +80 -0
- package/dist-es/pagination/ListDataProtectionSettingsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +210 -0
- package/dist-types/WorkSpacesWeb.d.ts +51 -0
- package/dist-types/WorkSpacesWebClient.d.ts +9 -2
- package/dist-types/commands/AssociateDataProtectionSettingsCommand.d.ts +91 -0
- package/dist-types/commands/CreateDataProtectionSettingsCommand.d.ts +135 -0
- package/dist-types/commands/DeleteDataProtectionSettingsCommand.d.ts +84 -0
- package/dist-types/commands/DisassociateDataProtectionSettingsCommand.d.ts +87 -0
- package/dist-types/commands/GetDataProtectionSettingsCommand.d.ts +129 -0
- package/dist-types/commands/GetPortalCommand.d.ts +1 -0
- package/dist-types/commands/ListDataProtectionSettingsCommand.d.ts +92 -0
- package/dist-types/commands/ListPortalsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDataProtectionSettingsCommand.d.ts +163 -0
- package/dist-types/commands/UpdatePortalCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +468 -0
- package/dist-types/pagination/ListDataProtectionSettingsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/WorkSpacesWeb.d.ts +127 -0
- package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/AssociateDataProtectionSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateDataProtectionSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteDataProtectionSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateDataProtectionSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDataProtectionSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDataProtectionSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateDataProtectionSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +132 -0
- package/dist-types/ts3.4/pagination/ListDataProtectionSettingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/package.json +1 -1
package/dist-es/WorkSpacesWeb.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { AssociateBrowserSettingsCommand, } from "./commands/AssociateBrowserSettingsCommand";
|
|
3
|
+
import { AssociateDataProtectionSettingsCommand, } from "./commands/AssociateDataProtectionSettingsCommand";
|
|
3
4
|
import { AssociateIpAccessSettingsCommand, } from "./commands/AssociateIpAccessSettingsCommand";
|
|
4
5
|
import { AssociateNetworkSettingsCommand, } from "./commands/AssociateNetworkSettingsCommand";
|
|
5
6
|
import { AssociateTrustStoreCommand, } from "./commands/AssociateTrustStoreCommand";
|
|
6
7
|
import { AssociateUserAccessLoggingSettingsCommand, } from "./commands/AssociateUserAccessLoggingSettingsCommand";
|
|
7
8
|
import { AssociateUserSettingsCommand, } from "./commands/AssociateUserSettingsCommand";
|
|
8
9
|
import { CreateBrowserSettingsCommand, } from "./commands/CreateBrowserSettingsCommand";
|
|
10
|
+
import { CreateDataProtectionSettingsCommand, } from "./commands/CreateDataProtectionSettingsCommand";
|
|
9
11
|
import { CreateIdentityProviderCommand, } from "./commands/CreateIdentityProviderCommand";
|
|
10
12
|
import { CreateIpAccessSettingsCommand, } from "./commands/CreateIpAccessSettingsCommand";
|
|
11
13
|
import { CreateNetworkSettingsCommand, } from "./commands/CreateNetworkSettingsCommand";
|
|
@@ -14,6 +16,7 @@ import { CreateTrustStoreCommand, } from "./commands/CreateTrustStoreCommand";
|
|
|
14
16
|
import { CreateUserAccessLoggingSettingsCommand, } from "./commands/CreateUserAccessLoggingSettingsCommand";
|
|
15
17
|
import { CreateUserSettingsCommand, } from "./commands/CreateUserSettingsCommand";
|
|
16
18
|
import { DeleteBrowserSettingsCommand, } from "./commands/DeleteBrowserSettingsCommand";
|
|
19
|
+
import { DeleteDataProtectionSettingsCommand, } from "./commands/DeleteDataProtectionSettingsCommand";
|
|
17
20
|
import { DeleteIdentityProviderCommand, } from "./commands/DeleteIdentityProviderCommand";
|
|
18
21
|
import { DeleteIpAccessSettingsCommand, } from "./commands/DeleteIpAccessSettingsCommand";
|
|
19
22
|
import { DeleteNetworkSettingsCommand, } from "./commands/DeleteNetworkSettingsCommand";
|
|
@@ -22,6 +25,7 @@ import { DeleteTrustStoreCommand, } from "./commands/DeleteTrustStoreCommand";
|
|
|
22
25
|
import { DeleteUserAccessLoggingSettingsCommand, } from "./commands/DeleteUserAccessLoggingSettingsCommand";
|
|
23
26
|
import { DeleteUserSettingsCommand, } from "./commands/DeleteUserSettingsCommand";
|
|
24
27
|
import { DisassociateBrowserSettingsCommand, } from "./commands/DisassociateBrowserSettingsCommand";
|
|
28
|
+
import { DisassociateDataProtectionSettingsCommand, } from "./commands/DisassociateDataProtectionSettingsCommand";
|
|
25
29
|
import { DisassociateIpAccessSettingsCommand, } from "./commands/DisassociateIpAccessSettingsCommand";
|
|
26
30
|
import { DisassociateNetworkSettingsCommand, } from "./commands/DisassociateNetworkSettingsCommand";
|
|
27
31
|
import { DisassociateTrustStoreCommand, } from "./commands/DisassociateTrustStoreCommand";
|
|
@@ -29,6 +33,7 @@ import { DisassociateUserAccessLoggingSettingsCommand, } from "./commands/Disass
|
|
|
29
33
|
import { DisassociateUserSettingsCommand, } from "./commands/DisassociateUserSettingsCommand";
|
|
30
34
|
import { ExpireSessionCommand, } from "./commands/ExpireSessionCommand";
|
|
31
35
|
import { GetBrowserSettingsCommand, } from "./commands/GetBrowserSettingsCommand";
|
|
36
|
+
import { GetDataProtectionSettingsCommand, } from "./commands/GetDataProtectionSettingsCommand";
|
|
32
37
|
import { GetIdentityProviderCommand, } from "./commands/GetIdentityProviderCommand";
|
|
33
38
|
import { GetIpAccessSettingsCommand, } from "./commands/GetIpAccessSettingsCommand";
|
|
34
39
|
import { GetNetworkSettingsCommand, } from "./commands/GetNetworkSettingsCommand";
|
|
@@ -40,6 +45,7 @@ import { GetTrustStoreCommand, } from "./commands/GetTrustStoreCommand";
|
|
|
40
45
|
import { GetUserAccessLoggingSettingsCommand, } from "./commands/GetUserAccessLoggingSettingsCommand";
|
|
41
46
|
import { GetUserSettingsCommand, } from "./commands/GetUserSettingsCommand";
|
|
42
47
|
import { ListBrowserSettingsCommand, } from "./commands/ListBrowserSettingsCommand";
|
|
48
|
+
import { ListDataProtectionSettingsCommand, } from "./commands/ListDataProtectionSettingsCommand";
|
|
43
49
|
import { ListIdentityProvidersCommand, } from "./commands/ListIdentityProvidersCommand";
|
|
44
50
|
import { ListIpAccessSettingsCommand, } from "./commands/ListIpAccessSettingsCommand";
|
|
45
51
|
import { ListNetworkSettingsCommand, } from "./commands/ListNetworkSettingsCommand";
|
|
@@ -53,6 +59,7 @@ import { ListUserSettingsCommand, } from "./commands/ListUserSettingsCommand";
|
|
|
53
59
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
54
60
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
55
61
|
import { UpdateBrowserSettingsCommand, } from "./commands/UpdateBrowserSettingsCommand";
|
|
62
|
+
import { UpdateDataProtectionSettingsCommand, } from "./commands/UpdateDataProtectionSettingsCommand";
|
|
56
63
|
import { UpdateIdentityProviderCommand, } from "./commands/UpdateIdentityProviderCommand";
|
|
57
64
|
import { UpdateIpAccessSettingsCommand, } from "./commands/UpdateIpAccessSettingsCommand";
|
|
58
65
|
import { UpdateNetworkSettingsCommand, } from "./commands/UpdateNetworkSettingsCommand";
|
|
@@ -63,12 +70,14 @@ import { UpdateUserSettingsCommand, } from "./commands/UpdateUserSettingsCommand
|
|
|
63
70
|
import { WorkSpacesWebClient } from "./WorkSpacesWebClient";
|
|
64
71
|
const commands = {
|
|
65
72
|
AssociateBrowserSettingsCommand,
|
|
73
|
+
AssociateDataProtectionSettingsCommand,
|
|
66
74
|
AssociateIpAccessSettingsCommand,
|
|
67
75
|
AssociateNetworkSettingsCommand,
|
|
68
76
|
AssociateTrustStoreCommand,
|
|
69
77
|
AssociateUserAccessLoggingSettingsCommand,
|
|
70
78
|
AssociateUserSettingsCommand,
|
|
71
79
|
CreateBrowserSettingsCommand,
|
|
80
|
+
CreateDataProtectionSettingsCommand,
|
|
72
81
|
CreateIdentityProviderCommand,
|
|
73
82
|
CreateIpAccessSettingsCommand,
|
|
74
83
|
CreateNetworkSettingsCommand,
|
|
@@ -77,6 +86,7 @@ const commands = {
|
|
|
77
86
|
CreateUserAccessLoggingSettingsCommand,
|
|
78
87
|
CreateUserSettingsCommand,
|
|
79
88
|
DeleteBrowserSettingsCommand,
|
|
89
|
+
DeleteDataProtectionSettingsCommand,
|
|
80
90
|
DeleteIdentityProviderCommand,
|
|
81
91
|
DeleteIpAccessSettingsCommand,
|
|
82
92
|
DeleteNetworkSettingsCommand,
|
|
@@ -85,6 +95,7 @@ const commands = {
|
|
|
85
95
|
DeleteUserAccessLoggingSettingsCommand,
|
|
86
96
|
DeleteUserSettingsCommand,
|
|
87
97
|
DisassociateBrowserSettingsCommand,
|
|
98
|
+
DisassociateDataProtectionSettingsCommand,
|
|
88
99
|
DisassociateIpAccessSettingsCommand,
|
|
89
100
|
DisassociateNetworkSettingsCommand,
|
|
90
101
|
DisassociateTrustStoreCommand,
|
|
@@ -92,6 +103,7 @@ const commands = {
|
|
|
92
103
|
DisassociateUserSettingsCommand,
|
|
93
104
|
ExpireSessionCommand,
|
|
94
105
|
GetBrowserSettingsCommand,
|
|
106
|
+
GetDataProtectionSettingsCommand,
|
|
95
107
|
GetIdentityProviderCommand,
|
|
96
108
|
GetIpAccessSettingsCommand,
|
|
97
109
|
GetNetworkSettingsCommand,
|
|
@@ -103,6 +115,7 @@ const commands = {
|
|
|
103
115
|
GetUserAccessLoggingSettingsCommand,
|
|
104
116
|
GetUserSettingsCommand,
|
|
105
117
|
ListBrowserSettingsCommand,
|
|
118
|
+
ListDataProtectionSettingsCommand,
|
|
106
119
|
ListIdentityProvidersCommand,
|
|
107
120
|
ListIpAccessSettingsCommand,
|
|
108
121
|
ListNetworkSettingsCommand,
|
|
@@ -116,6 +129,7 @@ const commands = {
|
|
|
116
129
|
TagResourceCommand,
|
|
117
130
|
UntagResourceCommand,
|
|
118
131
|
UpdateBrowserSettingsCommand,
|
|
132
|
+
UpdateDataProtectionSettingsCommand,
|
|
119
133
|
UpdateIdentityProviderCommand,
|
|
120
134
|
UpdateIpAccessSettingsCommand,
|
|
121
135
|
UpdateNetworkSettingsCommand,
|
|
@@ -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_AssociateDataProtectionSettingsCommand, se_AssociateDataProtectionSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class AssociateDataProtectionSettingsCommand 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("AWSErmineControlPlaneService", "AssociateDataProtectionSettings", {})
|
|
17
|
+
.n("WorkSpacesWebClient", "AssociateDataProtectionSettingsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_AssociateDataProtectionSettingsCommand)
|
|
20
|
+
.de(de_AssociateDataProtectionSettingsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { CreateDataProtectionSettingsRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_CreateDataProtectionSettingsCommand, se_CreateDataProtectionSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class CreateDataProtectionSettingsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AWSErmineControlPlaneService", "CreateDataProtectionSettings", {})
|
|
18
|
+
.n("WorkSpacesWebClient", "CreateDataProtectionSettingsCommand")
|
|
19
|
+
.f(CreateDataProtectionSettingsRequestFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_CreateDataProtectionSettingsCommand)
|
|
21
|
+
.de(de_CreateDataProtectionSettingsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -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_DeleteDataProtectionSettingsCommand, se_DeleteDataProtectionSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteDataProtectionSettingsCommand 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("AWSErmineControlPlaneService", "DeleteDataProtectionSettings", {})
|
|
17
|
+
.n("WorkSpacesWebClient", "DeleteDataProtectionSettingsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteDataProtectionSettingsCommand)
|
|
20
|
+
.de(de_DeleteDataProtectionSettingsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -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_DisassociateDataProtectionSettingsCommand, se_DisassociateDataProtectionSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DisassociateDataProtectionSettingsCommand 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("AWSErmineControlPlaneService", "DisassociateDataProtectionSettings", {})
|
|
17
|
+
.n("WorkSpacesWebClient", "DisassociateDataProtectionSettingsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DisassociateDataProtectionSettingsCommand)
|
|
20
|
+
.de(de_DisassociateDataProtectionSettingsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { GetDataProtectionSettingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_GetDataProtectionSettingsCommand, se_GetDataProtectionSettingsCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class GetDataProtectionSettingsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AWSErmineControlPlaneService", "GetDataProtectionSettings", {})
|
|
18
|
+
.n("WorkSpacesWebClient", "GetDataProtectionSettingsCommand")
|
|
19
|
+
.f(void 0, GetDataProtectionSettingsResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_GetDataProtectionSettingsCommand)
|
|
21
|
+
.de(de_GetDataProtectionSettingsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { ListDataProtectionSettingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_ListDataProtectionSettingsCommand, se_ListDataProtectionSettingsCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ListDataProtectionSettingsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AWSErmineControlPlaneService", "ListDataProtectionSettings", {})
|
|
18
|
+
.n("WorkSpacesWebClient", "ListDataProtectionSettingsCommand")
|
|
19
|
+
.f(void 0, ListDataProtectionSettingsResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_ListDataProtectionSettingsCommand)
|
|
21
|
+
.de(de_ListDataProtectionSettingsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { UpdateDataProtectionSettingsRequestFilterSensitiveLog, UpdateDataProtectionSettingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_UpdateDataProtectionSettingsCommand, se_UpdateDataProtectionSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateDataProtectionSettingsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AWSErmineControlPlaneService", "UpdateDataProtectionSettings", {})
|
|
18
|
+
.n("WorkSpacesWebClient", "UpdateDataProtectionSettingsCommand")
|
|
19
|
+
.f(UpdateDataProtectionSettingsRequestFilterSensitiveLog, UpdateDataProtectionSettingsResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_UpdateDataProtectionSettingsCommand)
|
|
21
|
+
.de(de_UpdateDataProtectionSettingsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export * from "./AssociateBrowserSettingsCommand";
|
|
2
|
+
export * from "./AssociateDataProtectionSettingsCommand";
|
|
2
3
|
export * from "./AssociateIpAccessSettingsCommand";
|
|
3
4
|
export * from "./AssociateNetworkSettingsCommand";
|
|
4
5
|
export * from "./AssociateTrustStoreCommand";
|
|
5
6
|
export * from "./AssociateUserAccessLoggingSettingsCommand";
|
|
6
7
|
export * from "./AssociateUserSettingsCommand";
|
|
7
8
|
export * from "./CreateBrowserSettingsCommand";
|
|
9
|
+
export * from "./CreateDataProtectionSettingsCommand";
|
|
8
10
|
export * from "./CreateIdentityProviderCommand";
|
|
9
11
|
export * from "./CreateIpAccessSettingsCommand";
|
|
10
12
|
export * from "./CreateNetworkSettingsCommand";
|
|
@@ -13,6 +15,7 @@ export * from "./CreateTrustStoreCommand";
|
|
|
13
15
|
export * from "./CreateUserAccessLoggingSettingsCommand";
|
|
14
16
|
export * from "./CreateUserSettingsCommand";
|
|
15
17
|
export * from "./DeleteBrowserSettingsCommand";
|
|
18
|
+
export * from "./DeleteDataProtectionSettingsCommand";
|
|
16
19
|
export * from "./DeleteIdentityProviderCommand";
|
|
17
20
|
export * from "./DeleteIpAccessSettingsCommand";
|
|
18
21
|
export * from "./DeleteNetworkSettingsCommand";
|
|
@@ -21,6 +24,7 @@ export * from "./DeleteTrustStoreCommand";
|
|
|
21
24
|
export * from "./DeleteUserAccessLoggingSettingsCommand";
|
|
22
25
|
export * from "./DeleteUserSettingsCommand";
|
|
23
26
|
export * from "./DisassociateBrowserSettingsCommand";
|
|
27
|
+
export * from "./DisassociateDataProtectionSettingsCommand";
|
|
24
28
|
export * from "./DisassociateIpAccessSettingsCommand";
|
|
25
29
|
export * from "./DisassociateNetworkSettingsCommand";
|
|
26
30
|
export * from "./DisassociateTrustStoreCommand";
|
|
@@ -28,6 +32,7 @@ export * from "./DisassociateUserAccessLoggingSettingsCommand";
|
|
|
28
32
|
export * from "./DisassociateUserSettingsCommand";
|
|
29
33
|
export * from "./ExpireSessionCommand";
|
|
30
34
|
export * from "./GetBrowserSettingsCommand";
|
|
35
|
+
export * from "./GetDataProtectionSettingsCommand";
|
|
31
36
|
export * from "./GetIdentityProviderCommand";
|
|
32
37
|
export * from "./GetIpAccessSettingsCommand";
|
|
33
38
|
export * from "./GetNetworkSettingsCommand";
|
|
@@ -39,6 +44,7 @@ export * from "./GetTrustStoreCommand";
|
|
|
39
44
|
export * from "./GetUserAccessLoggingSettingsCommand";
|
|
40
45
|
export * from "./GetUserSettingsCommand";
|
|
41
46
|
export * from "./ListBrowserSettingsCommand";
|
|
47
|
+
export * from "./ListDataProtectionSettingsCommand";
|
|
42
48
|
export * from "./ListIdentityProvidersCommand";
|
|
43
49
|
export * from "./ListIpAccessSettingsCommand";
|
|
44
50
|
export * from "./ListNetworkSettingsCommand";
|
|
@@ -52,6 +58,7 @@ export * from "./ListUserSettingsCommand";
|
|
|
52
58
|
export * from "./TagResourceCommand";
|
|
53
59
|
export * from "./UntagResourceCommand";
|
|
54
60
|
export * from "./UpdateBrowserSettingsCommand";
|
|
61
|
+
export * from "./UpdateDataProtectionSettingsCommand";
|
|
55
62
|
export * from "./UpdateIdentityProviderCommand";
|
|
56
63
|
export * from "./UpdateIpAccessSettingsCommand";
|
|
57
64
|
export * from "./UpdateNetworkSettingsCommand";
|
|
@@ -108,6 +108,9 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
108
108
|
this.quotaCode = opts.quotaCode;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
+
export const RedactionPlaceHolderType = {
|
|
112
|
+
CUSTOM_TEXT: "CustomText",
|
|
113
|
+
};
|
|
111
114
|
export const SessionStatus = {
|
|
112
115
|
ACTIVE: "Active",
|
|
113
116
|
TERMINATED: "Terminated",
|
|
@@ -183,6 +186,83 @@ export const UpdateBrowserSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
|
183
186
|
...obj,
|
|
184
187
|
...(obj.browserSettings && { browserSettings: BrowserSettingsFilterSensitiveLog(obj.browserSettings) }),
|
|
185
188
|
});
|
|
189
|
+
export const CustomPatternFilterSensitiveLog = (obj) => ({
|
|
190
|
+
...obj,
|
|
191
|
+
...(obj.patternName && { patternName: SENSITIVE_STRING }),
|
|
192
|
+
...(obj.patternRegex && { patternRegex: SENSITIVE_STRING }),
|
|
193
|
+
...(obj.patternDescription && { patternDescription: SENSITIVE_STRING }),
|
|
194
|
+
...(obj.keywordRegex && { keywordRegex: SENSITIVE_STRING }),
|
|
195
|
+
});
|
|
196
|
+
export const RedactionPlaceHolderFilterSensitiveLog = (obj) => ({
|
|
197
|
+
...obj,
|
|
198
|
+
...(obj.redactionPlaceHolderText && { redactionPlaceHolderText: SENSITIVE_STRING }),
|
|
199
|
+
});
|
|
200
|
+
export const InlineRedactionPatternFilterSensitiveLog = (obj) => ({
|
|
201
|
+
...obj,
|
|
202
|
+
...(obj.builtInPatternId && { builtInPatternId: SENSITIVE_STRING }),
|
|
203
|
+
...(obj.customPattern && { customPattern: CustomPatternFilterSensitiveLog(obj.customPattern) }),
|
|
204
|
+
...(obj.redactionPlaceHolder && {
|
|
205
|
+
redactionPlaceHolder: RedactionPlaceHolderFilterSensitiveLog(obj.redactionPlaceHolder),
|
|
206
|
+
}),
|
|
207
|
+
...(obj.enforcedUrls && { enforcedUrls: SENSITIVE_STRING }),
|
|
208
|
+
...(obj.exemptUrls && { exemptUrls: SENSITIVE_STRING }),
|
|
209
|
+
});
|
|
210
|
+
export const InlineRedactionConfigurationFilterSensitiveLog = (obj) => ({
|
|
211
|
+
...obj,
|
|
212
|
+
...(obj.inlineRedactionPatterns && {
|
|
213
|
+
inlineRedactionPatterns: obj.inlineRedactionPatterns.map((item) => InlineRedactionPatternFilterSensitiveLog(item)),
|
|
214
|
+
}),
|
|
215
|
+
...(obj.globalEnforcedUrls && { globalEnforcedUrls: SENSITIVE_STRING }),
|
|
216
|
+
...(obj.globalExemptUrls && { globalExemptUrls: SENSITIVE_STRING }),
|
|
217
|
+
});
|
|
218
|
+
export const CreateDataProtectionSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
219
|
+
...obj,
|
|
220
|
+
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
221
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
222
|
+
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
223
|
+
...(obj.inlineRedactionConfiguration && {
|
|
224
|
+
inlineRedactionConfiguration: InlineRedactionConfigurationFilterSensitiveLog(obj.inlineRedactionConfiguration),
|
|
225
|
+
}),
|
|
226
|
+
});
|
|
227
|
+
export const DataProtectionSettingsFilterSensitiveLog = (obj) => ({
|
|
228
|
+
...obj,
|
|
229
|
+
...(obj.inlineRedactionConfiguration && {
|
|
230
|
+
inlineRedactionConfiguration: InlineRedactionConfigurationFilterSensitiveLog(obj.inlineRedactionConfiguration),
|
|
231
|
+
}),
|
|
232
|
+
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
233
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
234
|
+
});
|
|
235
|
+
export const GetDataProtectionSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
236
|
+
...obj,
|
|
237
|
+
...(obj.dataProtectionSettings && {
|
|
238
|
+
dataProtectionSettings: DataProtectionSettingsFilterSensitiveLog(obj.dataProtectionSettings),
|
|
239
|
+
}),
|
|
240
|
+
});
|
|
241
|
+
export const DataProtectionSettingsSummaryFilterSensitiveLog = (obj) => ({
|
|
242
|
+
...obj,
|
|
243
|
+
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
244
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
245
|
+
});
|
|
246
|
+
export const ListDataProtectionSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
247
|
+
...obj,
|
|
248
|
+
...(obj.dataProtectionSettings && {
|
|
249
|
+
dataProtectionSettings: obj.dataProtectionSettings.map((item) => DataProtectionSettingsSummaryFilterSensitiveLog(item)),
|
|
250
|
+
}),
|
|
251
|
+
});
|
|
252
|
+
export const UpdateDataProtectionSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
253
|
+
...obj,
|
|
254
|
+
...(obj.inlineRedactionConfiguration && {
|
|
255
|
+
inlineRedactionConfiguration: InlineRedactionConfigurationFilterSensitiveLog(obj.inlineRedactionConfiguration),
|
|
256
|
+
}),
|
|
257
|
+
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
258
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
259
|
+
});
|
|
260
|
+
export const UpdateDataProtectionSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
261
|
+
...obj,
|
|
262
|
+
...(obj.dataProtectionSettings && {
|
|
263
|
+
dataProtectionSettings: DataProtectionSettingsFilterSensitiveLog(obj.dataProtectionSettings),
|
|
264
|
+
}),
|
|
265
|
+
});
|
|
186
266
|
export const SessionFilterSensitiveLog = (obj) => ({
|
|
187
267
|
...obj,
|
|
188
268
|
...(obj.username && { username: SENSITIVE_STRING }),
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListDataProtectionSettingsCommand, } from "../commands/ListDataProtectionSettingsCommand";
|
|
3
|
+
import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
|
|
4
|
+
export const paginateListDataProtectionSettings = createPaginator(WorkSpacesWebClient, ListDataProtectionSettingsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListBrowserSettingsPaginator";
|
|
3
|
+
export * from "./ListDataProtectionSettingsPaginator";
|
|
3
4
|
export * from "./ListIdentityProvidersPaginator";
|
|
4
5
|
export * from "./ListIpAccessSettingsPaginator";
|
|
5
6
|
export * from "./ListNetworkSettingsPaginator";
|