@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,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { AssociateDataProtectionSettingsRequest, AssociateDataProtectionSettingsResponse } 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 AssociateDataProtectionSettingsCommand}.
14
+ */
15
+ export interface AssociateDataProtectionSettingsCommandInput extends AssociateDataProtectionSettingsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AssociateDataProtectionSettingsCommand}.
21
+ */
22
+ export interface AssociateDataProtectionSettingsCommandOutput extends AssociateDataProtectionSettingsResponse, __MetadataBearer {
23
+ }
24
+ declare const AssociateDataProtectionSettingsCommand_base: {
25
+ new (input: AssociateDataProtectionSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateDataProtectionSettingsCommandInput, AssociateDataProtectionSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: AssociateDataProtectionSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateDataProtectionSettingsCommandInput, AssociateDataProtectionSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Associates a data protection settings resource with a web portal.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WorkSpacesWebClient, AssociateDataProtectionSettingsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
35
+ * // const { WorkSpacesWebClient, AssociateDataProtectionSettingsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
36
+ * const client = new WorkSpacesWebClient(config);
37
+ * const input = { // AssociateDataProtectionSettingsRequest
38
+ * portalArn: "STRING_VALUE", // required
39
+ * dataProtectionSettingsArn: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new AssociateDataProtectionSettingsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // AssociateDataProtectionSettingsResponse
44
+ * // portalArn: "STRING_VALUE", // required
45
+ * // dataProtectionSettingsArn: "STRING_VALUE", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param AssociateDataProtectionSettingsCommandInput - {@link AssociateDataProtectionSettingsCommandInput}
51
+ * @returns {@link AssociateDataProtectionSettingsCommandOutput}
52
+ * @see {@link AssociateDataProtectionSettingsCommandInput} for command's `input` shape.
53
+ * @see {@link AssociateDataProtectionSettingsCommandOutput} for command's `response` shape.
54
+ * @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>Access is denied.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>There is a conflict.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>There is an internal server error.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>The resource cannot be found.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>There is a throttling error.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>There is a validation error.</p>
73
+ *
74
+ * @throws {@link WorkSpacesWebServiceException}
75
+ * <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
76
+ *
77
+ * @public
78
+ */
79
+ export declare class AssociateDataProtectionSettingsCommand extends AssociateDataProtectionSettingsCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: AssociateDataProtectionSettingsRequest;
84
+ output: AssociateDataProtectionSettingsResponse;
85
+ };
86
+ sdk: {
87
+ input: AssociateDataProtectionSettingsCommandInput;
88
+ output: AssociateDataProtectionSettingsCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,135 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateDataProtectionSettingsRequest, CreateDataProtectionSettingsResponse } 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 CreateDataProtectionSettingsCommand}.
14
+ */
15
+ export interface CreateDataProtectionSettingsCommandInput extends CreateDataProtectionSettingsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateDataProtectionSettingsCommand}.
21
+ */
22
+ export interface CreateDataProtectionSettingsCommandOutput extends CreateDataProtectionSettingsResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateDataProtectionSettingsCommand_base: {
25
+ new (input: CreateDataProtectionSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataProtectionSettingsCommandInput, CreateDataProtectionSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [CreateDataProtectionSettingsCommandInput]): import("@smithy/smithy-client").CommandImpl<CreateDataProtectionSettingsCommandInput, CreateDataProtectionSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a data protection settings resource that can be associated with a web portal.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WorkSpacesWebClient, CreateDataProtectionSettingsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
35
+ * // const { WorkSpacesWebClient, CreateDataProtectionSettingsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
36
+ * const client = new WorkSpacesWebClient(config);
37
+ * const input = { // CreateDataProtectionSettingsRequest
38
+ * displayName: "STRING_VALUE",
39
+ * description: "STRING_VALUE",
40
+ * tags: [ // TagList
41
+ * { // Tag
42
+ * Key: "STRING_VALUE", // required
43
+ * Value: "STRING_VALUE", // required
44
+ * },
45
+ * ],
46
+ * customerManagedKey: "STRING_VALUE",
47
+ * additionalEncryptionContext: { // EncryptionContextMap
48
+ * "<keys>": "STRING_VALUE",
49
+ * },
50
+ * inlineRedactionConfiguration: { // InlineRedactionConfiguration
51
+ * inlineRedactionPatterns: [ // InlineRedactionPatterns // required
52
+ * { // InlineRedactionPattern
53
+ * builtInPatternId: "STRING_VALUE",
54
+ * customPattern: { // CustomPattern
55
+ * patternName: "STRING_VALUE", // required
56
+ * patternRegex: "STRING_VALUE", // required
57
+ * patternDescription: "STRING_VALUE",
58
+ * keywordRegex: "STRING_VALUE",
59
+ * },
60
+ * redactionPlaceHolder: { // RedactionPlaceHolder
61
+ * redactionPlaceHolderType: "STRING_VALUE", // required
62
+ * redactionPlaceHolderText: "STRING_VALUE",
63
+ * },
64
+ * enforcedUrls: [ // InlineRedactionUrls
65
+ * "STRING_VALUE",
66
+ * ],
67
+ * exemptUrls: [
68
+ * "STRING_VALUE",
69
+ * ],
70
+ * confidenceLevel: Number("int"),
71
+ * },
72
+ * ],
73
+ * globalEnforcedUrls: [ // GlobalInlineRedactionUrls
74
+ * "STRING_VALUE",
75
+ * ],
76
+ * globalExemptUrls: [
77
+ * "STRING_VALUE",
78
+ * ],
79
+ * globalConfidenceLevel: Number("int"),
80
+ * },
81
+ * clientToken: "STRING_VALUE",
82
+ * };
83
+ * const command = new CreateDataProtectionSettingsCommand(input);
84
+ * const response = await client.send(command);
85
+ * // { // CreateDataProtectionSettingsResponse
86
+ * // dataProtectionSettingsArn: "STRING_VALUE", // required
87
+ * // };
88
+ *
89
+ * ```
90
+ *
91
+ * @param CreateDataProtectionSettingsCommandInput - {@link CreateDataProtectionSettingsCommandInput}
92
+ * @returns {@link CreateDataProtectionSettingsCommandOutput}
93
+ * @see {@link CreateDataProtectionSettingsCommandInput} for command's `input` shape.
94
+ * @see {@link CreateDataProtectionSettingsCommandOutput} for command's `response` shape.
95
+ * @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
96
+ *
97
+ * @throws {@link AccessDeniedException} (client fault)
98
+ * <p>Access is denied.</p>
99
+ *
100
+ * @throws {@link ConflictException} (client fault)
101
+ * <p>There is a conflict.</p>
102
+ *
103
+ * @throws {@link InternalServerException} (server fault)
104
+ * <p>There is an internal server error.</p>
105
+ *
106
+ * @throws {@link ResourceNotFoundException} (client fault)
107
+ * <p>The resource cannot be found.</p>
108
+ *
109
+ * @throws {@link ServiceQuotaExceededException} (client fault)
110
+ * <p>The service quota has been exceeded.</p>
111
+ *
112
+ * @throws {@link ThrottlingException} (client fault)
113
+ * <p>There is a throttling error.</p>
114
+ *
115
+ * @throws {@link ValidationException} (client fault)
116
+ * <p>There is a validation error.</p>
117
+ *
118
+ * @throws {@link WorkSpacesWebServiceException}
119
+ * <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
120
+ *
121
+ * @public
122
+ */
123
+ export declare class CreateDataProtectionSettingsCommand extends CreateDataProtectionSettingsCommand_base {
124
+ /** @internal type navigation helper, not in runtime. */
125
+ protected static __types: {
126
+ api: {
127
+ input: CreateDataProtectionSettingsRequest;
128
+ output: CreateDataProtectionSettingsResponse;
129
+ };
130
+ sdk: {
131
+ input: CreateDataProtectionSettingsCommandInput;
132
+ output: CreateDataProtectionSettingsCommandOutput;
133
+ };
134
+ };
135
+ }
@@ -0,0 +1,84 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteDataProtectionSettingsRequest, DeleteDataProtectionSettingsResponse } 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 DeleteDataProtectionSettingsCommand}.
14
+ */
15
+ export interface DeleteDataProtectionSettingsCommandInput extends DeleteDataProtectionSettingsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteDataProtectionSettingsCommand}.
21
+ */
22
+ export interface DeleteDataProtectionSettingsCommandOutput extends DeleteDataProtectionSettingsResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteDataProtectionSettingsCommand_base: {
25
+ new (input: DeleteDataProtectionSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDataProtectionSettingsCommandInput, DeleteDataProtectionSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteDataProtectionSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDataProtectionSettingsCommandInput, DeleteDataProtectionSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes 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, DeleteDataProtectionSettingsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
35
+ * // const { WorkSpacesWebClient, DeleteDataProtectionSettingsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
36
+ * const client = new WorkSpacesWebClient(config);
37
+ * const input = { // DeleteDataProtectionSettingsRequest
38
+ * dataProtectionSettingsArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteDataProtectionSettingsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteDataProtectionSettingsCommandInput - {@link DeleteDataProtectionSettingsCommandInput}
47
+ * @returns {@link DeleteDataProtectionSettingsCommandOutput}
48
+ * @see {@link DeleteDataProtectionSettingsCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteDataProtectionSettingsCommandOutput} for command's `response` shape.
50
+ * @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>Access is denied.</p>
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <p>There is a conflict.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>There is an internal server error.</p>
60
+ *
61
+ * @throws {@link ThrottlingException} (client fault)
62
+ * <p>There is a throttling error.</p>
63
+ *
64
+ * @throws {@link ValidationException} (client fault)
65
+ * <p>There is a validation error.</p>
66
+ *
67
+ * @throws {@link WorkSpacesWebServiceException}
68
+ * <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
69
+ *
70
+ * @public
71
+ */
72
+ export declare class DeleteDataProtectionSettingsCommand extends DeleteDataProtectionSettingsCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: DeleteDataProtectionSettingsRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: DeleteDataProtectionSettingsCommandInput;
81
+ output: DeleteDataProtectionSettingsCommandOutput;
82
+ };
83
+ };
84
+ }
@@ -0,0 +1,87 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DisassociateDataProtectionSettingsRequest, DisassociateDataProtectionSettingsResponse } 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 DisassociateDataProtectionSettingsCommand}.
14
+ */
15
+ export interface DisassociateDataProtectionSettingsCommandInput extends DisassociateDataProtectionSettingsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DisassociateDataProtectionSettingsCommand}.
21
+ */
22
+ export interface DisassociateDataProtectionSettingsCommandOutput extends DisassociateDataProtectionSettingsResponse, __MetadataBearer {
23
+ }
24
+ declare const DisassociateDataProtectionSettingsCommand_base: {
25
+ new (input: DisassociateDataProtectionSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateDataProtectionSettingsCommandInput, DisassociateDataProtectionSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DisassociateDataProtectionSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateDataProtectionSettingsCommandInput, DisassociateDataProtectionSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Disassociates data protection settings from a web portal.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WorkSpacesWebClient, DisassociateDataProtectionSettingsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
35
+ * // const { WorkSpacesWebClient, DisassociateDataProtectionSettingsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
36
+ * const client = new WorkSpacesWebClient(config);
37
+ * const input = { // DisassociateDataProtectionSettingsRequest
38
+ * portalArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DisassociateDataProtectionSettingsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DisassociateDataProtectionSettingsCommandInput - {@link DisassociateDataProtectionSettingsCommandInput}
47
+ * @returns {@link DisassociateDataProtectionSettingsCommandOutput}
48
+ * @see {@link DisassociateDataProtectionSettingsCommandInput} for command's `input` shape.
49
+ * @see {@link DisassociateDataProtectionSettingsCommandOutput} for command's `response` shape.
50
+ * @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>Access is denied.</p>
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <p>There is a conflict.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>There is an internal server error.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The resource cannot be found.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>There is a throttling error.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>There is a validation error.</p>
69
+ *
70
+ * @throws {@link WorkSpacesWebServiceException}
71
+ * <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
72
+ *
73
+ * @public
74
+ */
75
+ export declare class DisassociateDataProtectionSettingsCommand extends DisassociateDataProtectionSettingsCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DisassociateDataProtectionSettingsRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: DisassociateDataProtectionSettingsCommandInput;
84
+ output: DisassociateDataProtectionSettingsCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -0,0 +1,129 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetDataProtectionSettingsRequest, GetDataProtectionSettingsResponse } 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 GetDataProtectionSettingsCommand}.
14
+ */
15
+ export interface GetDataProtectionSettingsCommandInput extends GetDataProtectionSettingsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetDataProtectionSettingsCommand}.
21
+ */
22
+ export interface GetDataProtectionSettingsCommandOutput extends GetDataProtectionSettingsResponse, __MetadataBearer {
23
+ }
24
+ declare const GetDataProtectionSettingsCommand_base: {
25
+ new (input: GetDataProtectionSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataProtectionSettingsCommandInput, GetDataProtectionSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetDataProtectionSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataProtectionSettingsCommandInput, GetDataProtectionSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets the 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, GetDataProtectionSettingsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
35
+ * // const { WorkSpacesWebClient, GetDataProtectionSettingsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
36
+ * const client = new WorkSpacesWebClient(config);
37
+ * const input = { // GetDataProtectionSettingsRequest
38
+ * dataProtectionSettingsArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetDataProtectionSettingsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetDataProtectionSettingsResponse
43
+ * // dataProtectionSettings: { // DataProtectionSettings
44
+ * // dataProtectionSettingsArn: "STRING_VALUE", // required
45
+ * // inlineRedactionConfiguration: { // InlineRedactionConfiguration
46
+ * // inlineRedactionPatterns: [ // InlineRedactionPatterns // required
47
+ * // { // InlineRedactionPattern
48
+ * // builtInPatternId: "STRING_VALUE",
49
+ * // customPattern: { // CustomPattern
50
+ * // patternName: "STRING_VALUE", // required
51
+ * // patternRegex: "STRING_VALUE", // required
52
+ * // patternDescription: "STRING_VALUE",
53
+ * // keywordRegex: "STRING_VALUE",
54
+ * // },
55
+ * // redactionPlaceHolder: { // RedactionPlaceHolder
56
+ * // redactionPlaceHolderType: "STRING_VALUE", // required
57
+ * // redactionPlaceHolderText: "STRING_VALUE",
58
+ * // },
59
+ * // enforcedUrls: [ // InlineRedactionUrls
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // exemptUrls: [
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // confidenceLevel: Number("int"),
66
+ * // },
67
+ * // ],
68
+ * // globalEnforcedUrls: [ // GlobalInlineRedactionUrls
69
+ * // "STRING_VALUE",
70
+ * // ],
71
+ * // globalExemptUrls: [
72
+ * // "STRING_VALUE",
73
+ * // ],
74
+ * // globalConfidenceLevel: Number("int"),
75
+ * // },
76
+ * // associatedPortalArns: [ // ArnList
77
+ * // "STRING_VALUE",
78
+ * // ],
79
+ * // displayName: "STRING_VALUE",
80
+ * // description: "STRING_VALUE",
81
+ * // creationDate: new Date("TIMESTAMP"),
82
+ * // customerManagedKey: "STRING_VALUE",
83
+ * // additionalEncryptionContext: { // EncryptionContextMap
84
+ * // "<keys>": "STRING_VALUE",
85
+ * // },
86
+ * // },
87
+ * // };
88
+ *
89
+ * ```
90
+ *
91
+ * @param GetDataProtectionSettingsCommandInput - {@link GetDataProtectionSettingsCommandInput}
92
+ * @returns {@link GetDataProtectionSettingsCommandOutput}
93
+ * @see {@link GetDataProtectionSettingsCommandInput} for command's `input` shape.
94
+ * @see {@link GetDataProtectionSettingsCommandOutput} for command's `response` shape.
95
+ * @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
96
+ *
97
+ * @throws {@link AccessDeniedException} (client fault)
98
+ * <p>Access is denied.</p>
99
+ *
100
+ * @throws {@link InternalServerException} (server fault)
101
+ * <p>There is an internal server error.</p>
102
+ *
103
+ * @throws {@link ResourceNotFoundException} (client fault)
104
+ * <p>The resource cannot be found.</p>
105
+ *
106
+ * @throws {@link ThrottlingException} (client fault)
107
+ * <p>There is a throttling error.</p>
108
+ *
109
+ * @throws {@link ValidationException} (client fault)
110
+ * <p>There is a validation error.</p>
111
+ *
112
+ * @throws {@link WorkSpacesWebServiceException}
113
+ * <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
114
+ *
115
+ * @public
116
+ */
117
+ export declare class GetDataProtectionSettingsCommand extends GetDataProtectionSettingsCommand_base {
118
+ /** @internal type navigation helper, not in runtime. */
119
+ protected static __types: {
120
+ api: {
121
+ input: GetDataProtectionSettingsRequest;
122
+ output: GetDataProtectionSettingsResponse;
123
+ };
124
+ sdk: {
125
+ input: GetDataProtectionSettingsCommandInput;
126
+ output: GetDataProtectionSettingsCommandOutput;
127
+ };
128
+ };
129
+ }
@@ -49,6 +49,7 @@ declare const GetPortalCommand_base: {
49
49
  * // displayName: "STRING_VALUE",
50
50
  * // creationDate: new Date("TIMESTAMP"),
51
51
  * // browserSettingsArn: "STRING_VALUE",
52
+ * // dataProtectionSettingsArn: "STRING_VALUE",
52
53
  * // userSettingsArn: "STRING_VALUE",
53
54
  * // networkSettingsArn: "STRING_VALUE",
54
55
  * // trustStoreArn: "STRING_VALUE",
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListDataProtectionSettingsRequest, ListDataProtectionSettingsResponse } 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 ListDataProtectionSettingsCommand}.
14
+ */
15
+ export interface ListDataProtectionSettingsCommandInput extends ListDataProtectionSettingsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDataProtectionSettingsCommand}.
21
+ */
22
+ export interface ListDataProtectionSettingsCommandOutput extends ListDataProtectionSettingsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListDataProtectionSettingsCommand_base: {
25
+ new (input: ListDataProtectionSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataProtectionSettingsCommandInput, ListDataProtectionSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListDataProtectionSettingsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListDataProtectionSettingsCommandInput, ListDataProtectionSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves a list of 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, ListDataProtectionSettingsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
35
+ * // const { WorkSpacesWebClient, ListDataProtectionSettingsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
36
+ * const client = new WorkSpacesWebClient(config);
37
+ * const input = { // ListDataProtectionSettingsRequest
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * };
41
+ * const command = new ListDataProtectionSettingsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListDataProtectionSettingsResponse
44
+ * // dataProtectionSettings: [ // DataProtectionSettingsList
45
+ * // { // DataProtectionSettingsSummary
46
+ * // dataProtectionSettingsArn: "STRING_VALUE", // required
47
+ * // displayName: "STRING_VALUE",
48
+ * // description: "STRING_VALUE",
49
+ * // creationDate: new Date("TIMESTAMP"),
50
+ * // },
51
+ * // ],
52
+ * // nextToken: "STRING_VALUE",
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param ListDataProtectionSettingsCommandInput - {@link ListDataProtectionSettingsCommandInput}
58
+ * @returns {@link ListDataProtectionSettingsCommandOutput}
59
+ * @see {@link ListDataProtectionSettingsCommandInput} for command's `input` shape.
60
+ * @see {@link ListDataProtectionSettingsCommandOutput} for command's `response` shape.
61
+ * @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>Access is denied.</p>
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p>There is an internal server error.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>There is a throttling error.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>There is a validation error.</p>
74
+ *
75
+ * @throws {@link WorkSpacesWebServiceException}
76
+ * <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
77
+ *
78
+ * @public
79
+ */
80
+ export declare class ListDataProtectionSettingsCommand extends ListDataProtectionSettingsCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: ListDataProtectionSettingsRequest;
85
+ output: ListDataProtectionSettingsResponse;
86
+ };
87
+ sdk: {
88
+ input: ListDataProtectionSettingsCommandInput;
89
+ output: ListDataProtectionSettingsCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -51,6 +51,7 @@ declare const ListPortalsCommand_base: {
51
51
  * // displayName: "STRING_VALUE",
52
52
  * // creationDate: new Date("TIMESTAMP"),
53
53
  * // browserSettingsArn: "STRING_VALUE",
54
+ * // dataProtectionSettingsArn: "STRING_VALUE",
54
55
  * // userSettingsArn: "STRING_VALUE",
55
56
  * // networkSettingsArn: "STRING_VALUE",
56
57
  * // trustStoreArn: "STRING_VALUE",