@aws-sdk/client-workspaces-web 3.693.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.
Files changed (47) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +443 -0
  3. package/dist-es/WorkSpacesWeb.js +14 -0
  4. package/dist-es/commands/AssociateDataProtectionSettingsCommand.js +22 -0
  5. package/dist-es/commands/CreateDataProtectionSettingsCommand.js +23 -0
  6. package/dist-es/commands/DeleteDataProtectionSettingsCommand.js +22 -0
  7. package/dist-es/commands/DisassociateDataProtectionSettingsCommand.js +22 -0
  8. package/dist-es/commands/GetDataProtectionSettingsCommand.js +23 -0
  9. package/dist-es/commands/ListDataProtectionSettingsCommand.js +23 -0
  10. package/dist-es/commands/UpdateDataProtectionSettingsCommand.js +23 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/models_0.js +80 -0
  13. package/dist-es/pagination/ListDataProtectionSettingsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +210 -0
  16. package/dist-types/WorkSpacesWeb.d.ts +51 -0
  17. package/dist-types/WorkSpacesWebClient.d.ts +9 -2
  18. package/dist-types/commands/AssociateDataProtectionSettingsCommand.d.ts +91 -0
  19. package/dist-types/commands/CreateDataProtectionSettingsCommand.d.ts +135 -0
  20. package/dist-types/commands/DeleteDataProtectionSettingsCommand.d.ts +84 -0
  21. package/dist-types/commands/DisassociateDataProtectionSettingsCommand.d.ts +87 -0
  22. package/dist-types/commands/GetDataProtectionSettingsCommand.d.ts +129 -0
  23. package/dist-types/commands/GetPortalCommand.d.ts +1 -0
  24. package/dist-types/commands/ListDataProtectionSettingsCommand.d.ts +92 -0
  25. package/dist-types/commands/ListPortalsCommand.d.ts +1 -0
  26. package/dist-types/commands/UpdateDataProtectionSettingsCommand.d.ts +163 -0
  27. package/dist-types/commands/UpdatePortalCommand.d.ts +1 -0
  28. package/dist-types/commands/index.d.ts +7 -0
  29. package/dist-types/models/models_0.d.ts +468 -0
  30. package/dist-types/pagination/ListDataProtectionSettingsPaginator.d.ts +7 -0
  31. package/dist-types/pagination/index.d.ts +1 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  33. package/dist-types/ts3.4/WorkSpacesWeb.d.ts +127 -0
  34. package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +42 -0
  35. package/dist-types/ts3.4/commands/AssociateDataProtectionSettingsCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/CreateDataProtectionSettingsCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/DeleteDataProtectionSettingsCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/DisassociateDataProtectionSettingsCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/GetDataProtectionSettingsCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/ListDataProtectionSettingsCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/UpdateDataProtectionSettingsCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +132 -0
  44. package/dist-types/ts3.4/pagination/ListDataProtectionSettingsPaginator.d.ts +11 -0
  45. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  47. package/package.json +35 -35
@@ -0,0 +1,163 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateDataProtectionSettingsRequest, UpdateDataProtectionSettingsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesWebClientResolvedConfig } from "../WorkSpacesWebClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateDataProtectionSettingsCommand}.
14
+ */
15
+ export interface UpdateDataProtectionSettingsCommandInput extends UpdateDataProtectionSettingsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateDataProtectionSettingsCommand}.
21
+ */
22
+ export interface UpdateDataProtectionSettingsCommandOutput extends UpdateDataProtectionSettingsResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateDataProtectionSettingsCommand_base: {
25
+ new (input: UpdateDataProtectionSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDataProtectionSettingsCommandInput, UpdateDataProtectionSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateDataProtectionSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDataProtectionSettingsCommandInput, UpdateDataProtectionSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates data protection settings.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WorkSpacesWebClient, UpdateDataProtectionSettingsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
35
+ * // const { WorkSpacesWebClient, UpdateDataProtectionSettingsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
36
+ * const client = new WorkSpacesWebClient(config);
37
+ * const input = { // UpdateDataProtectionSettingsRequest
38
+ * dataProtectionSettingsArn: "STRING_VALUE", // required
39
+ * inlineRedactionConfiguration: { // InlineRedactionConfiguration
40
+ * inlineRedactionPatterns: [ // InlineRedactionPatterns // required
41
+ * { // InlineRedactionPattern
42
+ * builtInPatternId: "STRING_VALUE",
43
+ * customPattern: { // CustomPattern
44
+ * patternName: "STRING_VALUE", // required
45
+ * patternRegex: "STRING_VALUE", // required
46
+ * patternDescription: "STRING_VALUE",
47
+ * keywordRegex: "STRING_VALUE",
48
+ * },
49
+ * redactionPlaceHolder: { // RedactionPlaceHolder
50
+ * redactionPlaceHolderType: "STRING_VALUE", // required
51
+ * redactionPlaceHolderText: "STRING_VALUE",
52
+ * },
53
+ * enforcedUrls: [ // InlineRedactionUrls
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * exemptUrls: [
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * confidenceLevel: Number("int"),
60
+ * },
61
+ * ],
62
+ * globalEnforcedUrls: [ // GlobalInlineRedactionUrls
63
+ * "STRING_VALUE",
64
+ * ],
65
+ * globalExemptUrls: [
66
+ * "STRING_VALUE",
67
+ * ],
68
+ * globalConfidenceLevel: Number("int"),
69
+ * },
70
+ * displayName: "STRING_VALUE",
71
+ * description: "STRING_VALUE",
72
+ * clientToken: "STRING_VALUE",
73
+ * };
74
+ * const command = new UpdateDataProtectionSettingsCommand(input);
75
+ * const response = await client.send(command);
76
+ * // { // UpdateDataProtectionSettingsResponse
77
+ * // dataProtectionSettings: { // DataProtectionSettings
78
+ * // dataProtectionSettingsArn: "STRING_VALUE", // required
79
+ * // inlineRedactionConfiguration: { // InlineRedactionConfiguration
80
+ * // inlineRedactionPatterns: [ // InlineRedactionPatterns // required
81
+ * // { // InlineRedactionPattern
82
+ * // builtInPatternId: "STRING_VALUE",
83
+ * // customPattern: { // CustomPattern
84
+ * // patternName: "STRING_VALUE", // required
85
+ * // patternRegex: "STRING_VALUE", // required
86
+ * // patternDescription: "STRING_VALUE",
87
+ * // keywordRegex: "STRING_VALUE",
88
+ * // },
89
+ * // redactionPlaceHolder: { // RedactionPlaceHolder
90
+ * // redactionPlaceHolderType: "STRING_VALUE", // required
91
+ * // redactionPlaceHolderText: "STRING_VALUE",
92
+ * // },
93
+ * // enforcedUrls: [ // InlineRedactionUrls
94
+ * // "STRING_VALUE",
95
+ * // ],
96
+ * // exemptUrls: [
97
+ * // "STRING_VALUE",
98
+ * // ],
99
+ * // confidenceLevel: Number("int"),
100
+ * // },
101
+ * // ],
102
+ * // globalEnforcedUrls: [ // GlobalInlineRedactionUrls
103
+ * // "STRING_VALUE",
104
+ * // ],
105
+ * // globalExemptUrls: [
106
+ * // "STRING_VALUE",
107
+ * // ],
108
+ * // globalConfidenceLevel: Number("int"),
109
+ * // },
110
+ * // associatedPortalArns: [ // ArnList
111
+ * // "STRING_VALUE",
112
+ * // ],
113
+ * // displayName: "STRING_VALUE",
114
+ * // description: "STRING_VALUE",
115
+ * // creationDate: new Date("TIMESTAMP"),
116
+ * // customerManagedKey: "STRING_VALUE",
117
+ * // additionalEncryptionContext: { // EncryptionContextMap
118
+ * // "<keys>": "STRING_VALUE",
119
+ * // },
120
+ * // },
121
+ * // };
122
+ *
123
+ * ```
124
+ *
125
+ * @param UpdateDataProtectionSettingsCommandInput - {@link UpdateDataProtectionSettingsCommandInput}
126
+ * @returns {@link UpdateDataProtectionSettingsCommandOutput}
127
+ * @see {@link UpdateDataProtectionSettingsCommandInput} for command's `input` shape.
128
+ * @see {@link UpdateDataProtectionSettingsCommandOutput} for command's `response` shape.
129
+ * @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
130
+ *
131
+ * @throws {@link AccessDeniedException} (client fault)
132
+ * <p>Access is denied.</p>
133
+ *
134
+ * @throws {@link InternalServerException} (server fault)
135
+ * <p>There is an internal server error.</p>
136
+ *
137
+ * @throws {@link ResourceNotFoundException} (client fault)
138
+ * <p>The resource cannot be found.</p>
139
+ *
140
+ * @throws {@link ThrottlingException} (client fault)
141
+ * <p>There is a throttling error.</p>
142
+ *
143
+ * @throws {@link ValidationException} (client fault)
144
+ * <p>There is a validation error.</p>
145
+ *
146
+ * @throws {@link WorkSpacesWebServiceException}
147
+ * <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
148
+ *
149
+ * @public
150
+ */
151
+ export declare class UpdateDataProtectionSettingsCommand extends UpdateDataProtectionSettingsCommand_base {
152
+ /** @internal type navigation helper, not in runtime. */
153
+ protected static __types: {
154
+ api: {
155
+ input: UpdateDataProtectionSettingsRequest;
156
+ output: UpdateDataProtectionSettingsResponse;
157
+ };
158
+ sdk: {
159
+ input: UpdateDataProtectionSettingsCommandInput;
160
+ output: UpdateDataProtectionSettingsCommandOutput;
161
+ };
162
+ };
163
+ }
@@ -53,6 +53,7 @@ declare const UpdatePortalCommand_base: {
53
53
  * // displayName: "STRING_VALUE",
54
54
  * // creationDate: new Date("TIMESTAMP"),
55
55
  * // browserSettingsArn: "STRING_VALUE",
56
+ * // dataProtectionSettingsArn: "STRING_VALUE",
56
57
  * // userSettingsArn: "STRING_VALUE",
57
58
  * // networkSettingsArn: "STRING_VALUE",
58
59
  * // trustStoreArn: "STRING_VALUE",
@@ -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";