@aws-sdk/client-macie2 3.159.0 → 3.162.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/Macie2.js +75 -0
- package/dist-cjs/commands/CreateAllowListCommand.js +36 -0
- package/dist-cjs/commands/DeleteAllowListCommand.js +36 -0
- package/dist-cjs/commands/GetAllowListCommand.js +36 -0
- package/dist-cjs/commands/ListAllowListsCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +2 -1
- package/dist-cjs/commands/UpdateAllowListCommand.js +36 -0
- package/dist-cjs/commands/UpdateClassificationJobCommand.js +3 -3
- package/dist-cjs/commands/UpdateFindingsFilterCommand.js +3 -3
- package/dist-cjs/commands/UpdateMacieSessionCommand.js +3 -3
- package/dist-cjs/commands/UpdateMemberSessionCommand.js +3 -3
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateRevealConfigurationCommand.js +3 -3
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +65 -58
- package/dist-cjs/models/models_1.js +63 -0
- package/dist-cjs/protocols/Aws_restJson1.js +432 -3
- package/dist-es/Macie2.js +75 -0
- package/dist-es/commands/CreateAllowListCommand.js +39 -0
- package/dist-es/commands/DeleteAllowListCommand.js +39 -0
- package/dist-es/commands/GetAllowListCommand.js +39 -0
- package/dist-es/commands/ListAllowListsCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +2 -1
- package/dist-es/commands/UpdateAllowListCommand.js +39 -0
- package/dist-es/commands/UpdateClassificationJobCommand.js +1 -1
- package/dist-es/commands/UpdateFindingsFilterCommand.js +1 -1
- package/dist-es/commands/UpdateMacieSessionCommand.js +1 -1
- package/dist-es/commands/UpdateMemberSessionCommand.js +1 -1
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +1 -1
- package/dist-es/commands/UpdateRevealConfigurationCommand.js +1 -1
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +23 -13
- package/dist-es/models/models_1.js +16 -0
- package/dist-es/protocols/Aws_restJson1.js +567 -1
- package/dist-types/Macie2.d.ts +42 -7
- package/dist-types/Macie2Client.d.ts +7 -2
- package/dist-types/commands/CreateAllowListCommand.d.ts +35 -0
- package/dist-types/commands/DeleteAllowListCommand.d.ts +35 -0
- package/dist-types/commands/GetAllowListCommand.d.ts +35 -0
- package/dist-types/commands/GetRevealConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetSensitiveDataOccurrencesAvailabilityCommand.d.ts +1 -1
- package/dist-types/commands/GetSensitiveDataOccurrencesCommand.d.ts +1 -1
- package/dist-types/commands/ListAllowListsCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -2
- package/dist-types/commands/UpdateAllowListCommand.d.ts +35 -0
- package/dist-types/commands/UpdateClassificationJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFindingsFilterCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMacieSessionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMemberSessionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRevealConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +268 -176
- package/dist-types/models/models_1.d.ts +187 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
- package/dist-types/ts3.4/Macie2.d.ts +25 -0
- package/dist-types/ts3.4/Macie2Client.d.ts +7 -2
- package/dist-types/ts3.4/commands/CreateAllowListCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAllowListCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAllowListCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAllowListsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateAllowListCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateClassificationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFindingsFilterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateMacieSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateMemberSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRevealConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +136 -88
- package/dist-types/ts3.4/models/models_1.d.ts +109 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +15 -0
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.162.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.161.0...v3.162.0) (2022-08-31)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-macie2
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.161.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.160.0...v3.161.0) (2022-08-30)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-macie2:** This release of the Amazon Macie API adds support for using allow lists to define specific text and text patterns to ignore when inspecting data sources for sensitive data. ([1782c8c](https://github.com/aws/aws-sdk-js-v3/commit/1782c8c89bb76fbdad76aa6fe92a4545bcc56c59))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.160.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.159.0...v3.160.0) (2022-08-29)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-macie2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.159.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.158.0...v3.159.0) (2022-08-26)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-macie2
|
package/dist-cjs/Macie2.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Macie2 = void 0;
|
|
4
4
|
const AcceptInvitationCommand_1 = require("./commands/AcceptInvitationCommand");
|
|
5
5
|
const BatchGetCustomDataIdentifiersCommand_1 = require("./commands/BatchGetCustomDataIdentifiersCommand");
|
|
6
|
+
const CreateAllowListCommand_1 = require("./commands/CreateAllowListCommand");
|
|
6
7
|
const CreateClassificationJobCommand_1 = require("./commands/CreateClassificationJobCommand");
|
|
7
8
|
const CreateCustomDataIdentifierCommand_1 = require("./commands/CreateCustomDataIdentifierCommand");
|
|
8
9
|
const CreateFindingsFilterCommand_1 = require("./commands/CreateFindingsFilterCommand");
|
|
@@ -10,6 +11,7 @@ const CreateInvitationsCommand_1 = require("./commands/CreateInvitationsCommand"
|
|
|
10
11
|
const CreateMemberCommand_1 = require("./commands/CreateMemberCommand");
|
|
11
12
|
const CreateSampleFindingsCommand_1 = require("./commands/CreateSampleFindingsCommand");
|
|
12
13
|
const DeclineInvitationsCommand_1 = require("./commands/DeclineInvitationsCommand");
|
|
14
|
+
const DeleteAllowListCommand_1 = require("./commands/DeleteAllowListCommand");
|
|
13
15
|
const DeleteCustomDataIdentifierCommand_1 = require("./commands/DeleteCustomDataIdentifierCommand");
|
|
14
16
|
const DeleteFindingsFilterCommand_1 = require("./commands/DeleteFindingsFilterCommand");
|
|
15
17
|
const DeleteInvitationsCommand_1 = require("./commands/DeleteInvitationsCommand");
|
|
@@ -25,6 +27,7 @@ const DisassociateMemberCommand_1 = require("./commands/DisassociateMemberComman
|
|
|
25
27
|
const EnableMacieCommand_1 = require("./commands/EnableMacieCommand");
|
|
26
28
|
const EnableOrganizationAdminAccountCommand_1 = require("./commands/EnableOrganizationAdminAccountCommand");
|
|
27
29
|
const GetAdministratorAccountCommand_1 = require("./commands/GetAdministratorAccountCommand");
|
|
30
|
+
const GetAllowListCommand_1 = require("./commands/GetAllowListCommand");
|
|
28
31
|
const GetBucketStatisticsCommand_1 = require("./commands/GetBucketStatisticsCommand");
|
|
29
32
|
const GetClassificationExportConfigurationCommand_1 = require("./commands/GetClassificationExportConfigurationCommand");
|
|
30
33
|
const GetCustomDataIdentifierCommand_1 = require("./commands/GetCustomDataIdentifierCommand");
|
|
@@ -41,6 +44,7 @@ const GetSensitiveDataOccurrencesAvailabilityCommand_1 = require("./commands/Get
|
|
|
41
44
|
const GetSensitiveDataOccurrencesCommand_1 = require("./commands/GetSensitiveDataOccurrencesCommand");
|
|
42
45
|
const GetUsageStatisticsCommand_1 = require("./commands/GetUsageStatisticsCommand");
|
|
43
46
|
const GetUsageTotalsCommand_1 = require("./commands/GetUsageTotalsCommand");
|
|
47
|
+
const ListAllowListsCommand_1 = require("./commands/ListAllowListsCommand");
|
|
44
48
|
const ListClassificationJobsCommand_1 = require("./commands/ListClassificationJobsCommand");
|
|
45
49
|
const ListCustomDataIdentifiersCommand_1 = require("./commands/ListCustomDataIdentifiersCommand");
|
|
46
50
|
const ListFindingsCommand_1 = require("./commands/ListFindingsCommand");
|
|
@@ -56,6 +60,7 @@ const SearchResourcesCommand_1 = require("./commands/SearchResourcesCommand");
|
|
|
56
60
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
57
61
|
const TestCustomDataIdentifierCommand_1 = require("./commands/TestCustomDataIdentifierCommand");
|
|
58
62
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
63
|
+
const UpdateAllowListCommand_1 = require("./commands/UpdateAllowListCommand");
|
|
59
64
|
const UpdateClassificationJobCommand_1 = require("./commands/UpdateClassificationJobCommand");
|
|
60
65
|
const UpdateFindingsFilterCommand_1 = require("./commands/UpdateFindingsFilterCommand");
|
|
61
66
|
const UpdateMacieSessionCommand_1 = require("./commands/UpdateMacieSessionCommand");
|
|
@@ -92,6 +97,20 @@ class Macie2 extends Macie2Client_1.Macie2Client {
|
|
|
92
97
|
return this.send(command, optionsOrCb);
|
|
93
98
|
}
|
|
94
99
|
}
|
|
100
|
+
createAllowList(args, optionsOrCb, cb) {
|
|
101
|
+
const command = new CreateAllowListCommand_1.CreateAllowListCommand(args);
|
|
102
|
+
if (typeof optionsOrCb === "function") {
|
|
103
|
+
this.send(command, optionsOrCb);
|
|
104
|
+
}
|
|
105
|
+
else if (typeof cb === "function") {
|
|
106
|
+
if (typeof optionsOrCb !== "object")
|
|
107
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
108
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
return this.send(command, optionsOrCb);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
95
114
|
createClassificationJob(args, optionsOrCb, cb) {
|
|
96
115
|
const command = new CreateClassificationJobCommand_1.CreateClassificationJobCommand(args);
|
|
97
116
|
if (typeof optionsOrCb === "function") {
|
|
@@ -190,6 +209,20 @@ class Macie2 extends Macie2Client_1.Macie2Client {
|
|
|
190
209
|
return this.send(command, optionsOrCb);
|
|
191
210
|
}
|
|
192
211
|
}
|
|
212
|
+
deleteAllowList(args, optionsOrCb, cb) {
|
|
213
|
+
const command = new DeleteAllowListCommand_1.DeleteAllowListCommand(args);
|
|
214
|
+
if (typeof optionsOrCb === "function") {
|
|
215
|
+
this.send(command, optionsOrCb);
|
|
216
|
+
}
|
|
217
|
+
else if (typeof cb === "function") {
|
|
218
|
+
if (typeof optionsOrCb !== "object")
|
|
219
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
220
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
221
|
+
}
|
|
222
|
+
else {
|
|
223
|
+
return this.send(command, optionsOrCb);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
193
226
|
deleteCustomDataIdentifier(args, optionsOrCb, cb) {
|
|
194
227
|
const command = new DeleteCustomDataIdentifierCommand_1.DeleteCustomDataIdentifierCommand(args);
|
|
195
228
|
if (typeof optionsOrCb === "function") {
|
|
@@ -400,6 +433,20 @@ class Macie2 extends Macie2Client_1.Macie2Client {
|
|
|
400
433
|
return this.send(command, optionsOrCb);
|
|
401
434
|
}
|
|
402
435
|
}
|
|
436
|
+
getAllowList(args, optionsOrCb, cb) {
|
|
437
|
+
const command = new GetAllowListCommand_1.GetAllowListCommand(args);
|
|
438
|
+
if (typeof optionsOrCb === "function") {
|
|
439
|
+
this.send(command, optionsOrCb);
|
|
440
|
+
}
|
|
441
|
+
else if (typeof cb === "function") {
|
|
442
|
+
if (typeof optionsOrCb !== "object")
|
|
443
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
444
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
445
|
+
}
|
|
446
|
+
else {
|
|
447
|
+
return this.send(command, optionsOrCb);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
403
450
|
getBucketStatistics(args, optionsOrCb, cb) {
|
|
404
451
|
const command = new GetBucketStatisticsCommand_1.GetBucketStatisticsCommand(args);
|
|
405
452
|
if (typeof optionsOrCb === "function") {
|
|
@@ -624,6 +671,20 @@ class Macie2 extends Macie2Client_1.Macie2Client {
|
|
|
624
671
|
return this.send(command, optionsOrCb);
|
|
625
672
|
}
|
|
626
673
|
}
|
|
674
|
+
listAllowLists(args, optionsOrCb, cb) {
|
|
675
|
+
const command = new ListAllowListsCommand_1.ListAllowListsCommand(args);
|
|
676
|
+
if (typeof optionsOrCb === "function") {
|
|
677
|
+
this.send(command, optionsOrCb);
|
|
678
|
+
}
|
|
679
|
+
else if (typeof cb === "function") {
|
|
680
|
+
if (typeof optionsOrCb !== "object")
|
|
681
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
682
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
683
|
+
}
|
|
684
|
+
else {
|
|
685
|
+
return this.send(command, optionsOrCb);
|
|
686
|
+
}
|
|
687
|
+
}
|
|
627
688
|
listClassificationJobs(args, optionsOrCb, cb) {
|
|
628
689
|
const command = new ListClassificationJobsCommand_1.ListClassificationJobsCommand(args);
|
|
629
690
|
if (typeof optionsOrCb === "function") {
|
|
@@ -834,6 +895,20 @@ class Macie2 extends Macie2Client_1.Macie2Client {
|
|
|
834
895
|
return this.send(command, optionsOrCb);
|
|
835
896
|
}
|
|
836
897
|
}
|
|
898
|
+
updateAllowList(args, optionsOrCb, cb) {
|
|
899
|
+
const command = new UpdateAllowListCommand_1.UpdateAllowListCommand(args);
|
|
900
|
+
if (typeof optionsOrCb === "function") {
|
|
901
|
+
this.send(command, optionsOrCb);
|
|
902
|
+
}
|
|
903
|
+
else if (typeof cb === "function") {
|
|
904
|
+
if (typeof optionsOrCb !== "object")
|
|
905
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
906
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
907
|
+
}
|
|
908
|
+
else {
|
|
909
|
+
return this.send(command, optionsOrCb);
|
|
910
|
+
}
|
|
911
|
+
}
|
|
837
912
|
updateClassificationJob(args, optionsOrCb, cb) {
|
|
838
913
|
const command = new UpdateClassificationJobCommand_1.UpdateClassificationJobCommand(args);
|
|
839
914
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateAllowListCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateAllowListCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "Macie2Client";
|
|
18
|
+
const commandName = "CreateAllowListCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateAllowListRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateAllowListResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateAllowListCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateAllowListCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateAllowListCommand = CreateAllowListCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteAllowListCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteAllowListCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "Macie2Client";
|
|
18
|
+
const commandName = "DeleteAllowListCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteAllowListRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteAllowListResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteAllowListCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteAllowListCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteAllowListCommand = DeleteAllowListCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAllowListCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetAllowListCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "Macie2Client";
|
|
18
|
+
const commandName = "GetAllowListCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetAllowListRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetAllowListResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetAllowListCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetAllowListCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetAllowListCommand = GetAllowListCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListAllowListsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListAllowListsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "Macie2Client";
|
|
18
|
+
const commandName = "ListAllowListsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListAllowListsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListAllowListsResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListAllowListsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListAllowListsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListAllowListsCommand = ListAllowListsCommand;
|
|
@@ -4,6 +4,7 @@ exports.UntagResourceCommand = void 0;
|
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const models_1_1 = require("../models/models_1");
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
9
10
|
constructor(input) {
|
|
@@ -21,7 +22,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
21
22
|
clientName,
|
|
22
23
|
commandName,
|
|
23
24
|
inputFilterSensitiveLog: models_0_1.UntagResourceRequestFilterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
25
|
+
outputFilterSensitiveLog: models_1_1.UntagResourceResponseFilterSensitiveLog,
|
|
25
26
|
};
|
|
26
27
|
const { requestHandler } = configuration;
|
|
27
28
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateAllowListCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateAllowListCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "Macie2Client";
|
|
18
|
+
const commandName = "UpdateAllowListCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateAllowListRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.UpdateAllowListResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateAllowListCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateAllowListCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateAllowListCommand = UpdateAllowListCommand;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateClassificationJobCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class UpdateClassificationJobCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class UpdateClassificationJobCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateClassificationJobRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.UpdateClassificationJobResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateFindingsFilterCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class UpdateFindingsFilterCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class UpdateFindingsFilterCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateFindingsFilterRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.UpdateFindingsFilterResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateMacieSessionCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class UpdateMacieSessionCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class UpdateMacieSessionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateMacieSessionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.UpdateMacieSessionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateMemberSessionCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class UpdateMemberSessionCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class UpdateMemberSessionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateMemberSessionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.UpdateMemberSessionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateOrganizationConfigurationCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateOrganizationConfigurationRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.UpdateOrganizationConfigurationResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateRevealConfigurationCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class UpdateRevealConfigurationCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class UpdateRevealConfigurationCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.UpdateRevealConfigurationRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.UpdateRevealConfigurationResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./AcceptInvitationCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./BatchGetCustomDataIdentifiersCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateAllowListCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./CreateClassificationJobCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./CreateCustomDataIdentifierCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./CreateFindingsFilterCommand"), exports);
|
|
@@ -10,6 +11,7 @@ tslib_1.__exportStar(require("./CreateInvitationsCommand"), exports);
|
|
|
10
11
|
tslib_1.__exportStar(require("./CreateMemberCommand"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./CreateSampleFindingsCommand"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./DeclineInvitationsCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./DeleteAllowListCommand"), exports);
|
|
13
15
|
tslib_1.__exportStar(require("./DeleteCustomDataIdentifierCommand"), exports);
|
|
14
16
|
tslib_1.__exportStar(require("./DeleteFindingsFilterCommand"), exports);
|
|
15
17
|
tslib_1.__exportStar(require("./DeleteInvitationsCommand"), exports);
|
|
@@ -25,6 +27,7 @@ tslib_1.__exportStar(require("./DisassociateMemberCommand"), exports);
|
|
|
25
27
|
tslib_1.__exportStar(require("./EnableMacieCommand"), exports);
|
|
26
28
|
tslib_1.__exportStar(require("./EnableOrganizationAdminAccountCommand"), exports);
|
|
27
29
|
tslib_1.__exportStar(require("./GetAdministratorAccountCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./GetAllowListCommand"), exports);
|
|
28
31
|
tslib_1.__exportStar(require("./GetBucketStatisticsCommand"), exports);
|
|
29
32
|
tslib_1.__exportStar(require("./GetClassificationExportConfigurationCommand"), exports);
|
|
30
33
|
tslib_1.__exportStar(require("./GetCustomDataIdentifierCommand"), exports);
|
|
@@ -41,6 +44,7 @@ tslib_1.__exportStar(require("./GetSensitiveDataOccurrencesAvailabilityCommand")
|
|
|
41
44
|
tslib_1.__exportStar(require("./GetSensitiveDataOccurrencesCommand"), exports);
|
|
42
45
|
tslib_1.__exportStar(require("./GetUsageStatisticsCommand"), exports);
|
|
43
46
|
tslib_1.__exportStar(require("./GetUsageTotalsCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./ListAllowListsCommand"), exports);
|
|
44
48
|
tslib_1.__exportStar(require("./ListClassificationJobsCommand"), exports);
|
|
45
49
|
tslib_1.__exportStar(require("./ListCustomDataIdentifiersCommand"), exports);
|
|
46
50
|
tslib_1.__exportStar(require("./ListFindingsCommand"), exports);
|
|
@@ -56,6 +60,7 @@ tslib_1.__exportStar(require("./SearchResourcesCommand"), exports);
|
|
|
56
60
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
57
61
|
tslib_1.__exportStar(require("./TestCustomDataIdentifierCommand"), exports);
|
|
58
62
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
63
|
+
tslib_1.__exportStar(require("./UpdateAllowListCommand"), exports);
|
|
59
64
|
tslib_1.__exportStar(require("./UpdateClassificationJobCommand"), exports);
|
|
60
65
|
tslib_1.__exportStar(require("./UpdateFindingsFilterCommand"), exports);
|
|
61
66
|
tslib_1.__exportStar(require("./UpdateMacieSessionCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
package/dist-cjs/models/index.js
CHANGED