@aws-sdk/client-macie2 3.216.0 → 3.219.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 +1 -1
- package/dist-cjs/Macie2.js +195 -0
- package/dist-cjs/commands/GetAutomatedDiscoveryConfigurationCommand.js +46 -0
- package/dist-cjs/commands/GetClassificationScopeCommand.js +46 -0
- package/dist-cjs/commands/GetResourceProfileCommand.js +46 -0
- package/dist-cjs/commands/GetSensitivityInspectionTemplateCommand.js +46 -0
- package/dist-cjs/commands/ListClassificationScopesCommand.js +46 -0
- package/dist-cjs/commands/ListInvitationsCommand.js +3 -3
- package/dist-cjs/commands/ListManagedDataIdentifiersCommand.js +3 -3
- package/dist-cjs/commands/ListMembersCommand.js +3 -3
- package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +3 -3
- package/dist-cjs/commands/ListResourceProfileArtifactsCommand.js +46 -0
- package/dist-cjs/commands/ListResourceProfileDetectionsCommand.js +46 -0
- package/dist-cjs/commands/ListSensitivityInspectionTemplatesCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutClassificationExportConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutFindingsPublicationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/SearchResourcesCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/TestCustomDataIdentifierCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +1 -2
- package/dist-cjs/commands/UpdateAutomatedDiscoveryConfigurationCommand.js +46 -0
- package/dist-cjs/commands/UpdateClassificationScopeCommand.js +46 -0
- package/dist-cjs/commands/UpdateResourceProfileCommand.js +46 -0
- package/dist-cjs/commands/UpdateResourceProfileDetectionsCommand.js +46 -0
- package/dist-cjs/commands/UpdateSensitivityInspectionTemplateCommand.js +46 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +113 -109
- package/dist-cjs/models/models_1.js +177 -1
- package/dist-cjs/pagination/ListAllowListsPaginator.js +36 -0
- package/dist-cjs/pagination/ListClassificationScopesPaginator.js +35 -0
- package/dist-cjs/pagination/ListManagedDataIdentifiersPaginator.js +35 -0
- package/dist-cjs/pagination/ListResourceProfileArtifactsPaginator.js +35 -0
- package/dist-cjs/pagination/ListResourceProfileDetectionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListSensitivityInspectionTemplatesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1216 -71
- package/dist-es/Macie2.js +195 -0
- package/dist-es/commands/GetAutomatedDiscoveryConfigurationCommand.js +42 -0
- package/dist-es/commands/GetClassificationScopeCommand.js +42 -0
- package/dist-es/commands/GetResourceProfileCommand.js +42 -0
- package/dist-es/commands/GetSensitivityInspectionTemplateCommand.js +42 -0
- package/dist-es/commands/ListClassificationScopesCommand.js +42 -0
- package/dist-es/commands/ListInvitationsCommand.js +1 -1
- package/dist-es/commands/ListManagedDataIdentifiersCommand.js +1 -1
- package/dist-es/commands/ListMembersCommand.js +1 -1
- package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +1 -1
- package/dist-es/commands/ListResourceProfileArtifactsCommand.js +42 -0
- package/dist-es/commands/ListResourceProfileDetectionsCommand.js +42 -0
- package/dist-es/commands/ListSensitivityInspectionTemplatesCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -1
- package/dist-es/commands/PutClassificationExportConfigurationCommand.js +1 -1
- package/dist-es/commands/PutFindingsPublicationConfigurationCommand.js +1 -1
- package/dist-es/commands/SearchResourcesCommand.js +1 -1
- package/dist-es/commands/TagResourceCommand.js +1 -1
- package/dist-es/commands/TestCustomDataIdentifierCommand.js +1 -1
- package/dist-es/commands/UntagResourceCommand.js +1 -2
- package/dist-es/commands/UpdateAutomatedDiscoveryConfigurationCommand.js +42 -0
- package/dist-es/commands/UpdateClassificationScopeCommand.js +42 -0
- package/dist-es/commands/UpdateResourceProfileCommand.js +42 -0
- package/dist-es/commands/UpdateResourceProfileDetectionsCommand.js +42 -0
- package/dist-es/commands/UpdateSensitivityInspectionTemplateCommand.js +42 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +85 -79
- package/dist-es/models/models_1.js +133 -0
- package/dist-es/pagination/ListAllowListsPaginator.js +32 -0
- package/dist-es/pagination/ListClassificationScopesPaginator.js +31 -0
- package/dist-es/pagination/ListManagedDataIdentifiersPaginator.js +31 -0
- package/dist-es/pagination/ListResourceProfileArtifactsPaginator.js +31 -0
- package/dist-es/pagination/ListResourceProfileDetectionsPaginator.js +32 -0
- package/dist-es/pagination/ListSensitivityInspectionTemplatesPaginator.js +32 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +1204 -86
- package/dist-types/Macie2.d.ts +95 -4
- package/dist-types/Macie2Client.d.ts +16 -3
- package/dist-types/commands/DescribeBucketsCommand.d.ts +1 -1
- package/dist-types/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +37 -0
- package/dist-types/commands/GetBucketStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetClassificationScopeCommand.d.ts +37 -0
- package/dist-types/commands/GetMacieSessionCommand.d.ts +1 -1
- package/dist-types/commands/GetResourceProfileCommand.d.ts +37 -0
- package/dist-types/commands/GetSensitivityInspectionTemplateCommand.d.ts +37 -0
- package/dist-types/commands/ListClassificationScopesCommand.d.ts +37 -0
- package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/commands/ListManagedDataIdentifiersCommand.d.ts +1 -1
- package/dist-types/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceProfileArtifactsCommand.d.ts +37 -0
- package/dist-types/commands/ListResourceProfileDetectionsCommand.d.ts +37 -0
- package/dist-types/commands/ListSensitivityInspectionTemplatesCommand.d.ts +37 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutClassificationExportConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutFindingsPublicationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/SearchResourcesCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestCustomDataIdentifierCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
- package/dist-types/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +37 -0
- package/dist-types/commands/UpdateClassificationScopeCommand.d.ts +37 -0
- package/dist-types/commands/UpdateResourceProfileCommand.d.ts +37 -0
- package/dist-types/commands/UpdateResourceProfileDetectionsCommand.d.ts +37 -0
- package/dist-types/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +501 -372
- package/dist-types/models/models_1.d.ts +559 -6
- package/dist-types/pagination/ListAllowListsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListClassificationScopesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListManagedDataIdentifiersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListResourceProfileArtifactsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListResourceProfileDetectionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSensitivityInspectionTemplatesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +39 -0
- package/dist-types/ts3.4/Macie2.d.ts +245 -0
- package/dist-types/ts3.4/Macie2Client.d.ts +80 -2
- package/dist-types/ts3.4/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetClassificationScopeCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetResourceProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetSensitivityInspectionTemplateCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListClassificationScopesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListManagedDataIdentifiersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListResourceProfileArtifactsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListResourceProfileDetectionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListSensitivityInspectionTemplatesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutClassificationExportConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutFindingsPublicationConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TestCustomDataIdentifierCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateClassificationScopeCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateResourceProfileCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateResourceProfileDetectionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +194 -169
- package/dist-types/ts3.4/models/models_1.d.ts +297 -1
- package/dist-types/ts3.4/pagination/ListAllowListsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListClassificationScopesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListManagedDataIdentifiersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourceProfileArtifactsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourceProfileDetectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSensitivityInspectionTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +3 -3
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListSensitivityInspectionTemplatesRequestFilterSensitiveLog, ListSensitivityInspectionTemplatesResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1ListSensitivityInspectionTemplatesCommand, serializeAws_restJson1ListSensitivityInspectionTemplatesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class ListSensitivityInspectionTemplatesCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListSensitivityInspectionTemplatesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "Macie2Client";
|
|
25
|
+
const commandName = "ListSensitivityInspectionTemplatesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: ListSensitivityInspectionTemplatesRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: ListSensitivityInspectionTemplatesResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1ListSensitivityInspectionTemplatesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1ListSensitivityInspectionTemplatesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { PutClassificationExportConfigurationRequestFilterSensitiveLog, PutClassificationExportConfigurationResponseFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { PutClassificationExportConfigurationRequestFilterSensitiveLog, PutClassificationExportConfigurationResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1PutClassificationExportConfigurationCommand, serializeAws_restJson1PutClassificationExportConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class PutClassificationExportConfigurationCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { PutFindingsPublicationConfigurationRequestFilterSensitiveLog, PutFindingsPublicationConfigurationResponseFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { PutFindingsPublicationConfigurationRequestFilterSensitiveLog, PutFindingsPublicationConfigurationResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1PutFindingsPublicationConfigurationCommand, serializeAws_restJson1PutFindingsPublicationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class PutFindingsPublicationConfigurationCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { SearchResourcesRequestFilterSensitiveLog, SearchResourcesResponseFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { SearchResourcesRequestFilterSensitiveLog, SearchResourcesResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1SearchResourcesCommand, serializeAws_restJson1SearchResourcesCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class SearchResourcesCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class TagResourceCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { TestCustomDataIdentifierRequestFilterSensitiveLog, TestCustomDataIdentifierResponseFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { TestCustomDataIdentifierRequestFilterSensitiveLog, TestCustomDataIdentifierResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restJson1TestCustomDataIdentifierCommand, serializeAws_restJson1TestCustomDataIdentifierCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class TestCustomDataIdentifierCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UntagResourceRequestFilterSensitiveLog } from "../models/
|
|
5
|
-
import { UntagResourceResponseFilterSensitiveLog } from "../models/models_1";
|
|
4
|
+
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_1";
|
|
6
5
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
7
6
|
export class UntagResourceCommand extends $Command {
|
|
8
7
|
constructor(input) {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateAutomatedDiscoveryConfigurationRequestFilterSensitiveLog, UpdateAutomatedDiscoveryConfigurationResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1UpdateAutomatedDiscoveryConfigurationCommand, serializeAws_restJson1UpdateAutomatedDiscoveryConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class UpdateAutomatedDiscoveryConfigurationCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAutomatedDiscoveryConfigurationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "Macie2Client";
|
|
25
|
+
const commandName = "UpdateAutomatedDiscoveryConfigurationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateAutomatedDiscoveryConfigurationRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateAutomatedDiscoveryConfigurationResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1UpdateAutomatedDiscoveryConfigurationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1UpdateAutomatedDiscoveryConfigurationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateClassificationScopeRequestFilterSensitiveLog, UpdateClassificationScopeResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1UpdateClassificationScopeCommand, serializeAws_restJson1UpdateClassificationScopeCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class UpdateClassificationScopeCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateClassificationScopeCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "Macie2Client";
|
|
25
|
+
const commandName = "UpdateClassificationScopeCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateClassificationScopeRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateClassificationScopeResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1UpdateClassificationScopeCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1UpdateClassificationScopeCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateResourceProfileRequestFilterSensitiveLog, UpdateResourceProfileResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1UpdateResourceProfileCommand, serializeAws_restJson1UpdateResourceProfileCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class UpdateResourceProfileCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateResourceProfileCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "Macie2Client";
|
|
25
|
+
const commandName = "UpdateResourceProfileCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateResourceProfileRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateResourceProfileResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1UpdateResourceProfileCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1UpdateResourceProfileCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateResourceProfileDetectionsRequestFilterSensitiveLog, UpdateResourceProfileDetectionsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1UpdateResourceProfileDetectionsCommand, serializeAws_restJson1UpdateResourceProfileDetectionsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class UpdateResourceProfileDetectionsCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateResourceProfileDetectionsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "Macie2Client";
|
|
25
|
+
const commandName = "UpdateResourceProfileDetectionsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateResourceProfileDetectionsRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateResourceProfileDetectionsResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1UpdateResourceProfileDetectionsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1UpdateResourceProfileDetectionsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateSensitivityInspectionTemplateRequestFilterSensitiveLog, UpdateSensitivityInspectionTemplateResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_restJson1UpdateSensitivityInspectionTemplateCommand, serializeAws_restJson1UpdateSensitivityInspectionTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class UpdateSensitivityInspectionTemplateCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateSensitivityInspectionTemplateCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "Macie2Client";
|
|
25
|
+
const commandName = "UpdateSensitivityInspectionTemplateCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateSensitivityInspectionTemplateRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateSensitivityInspectionTemplateResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1UpdateSensitivityInspectionTemplateCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1UpdateSensitivityInspectionTemplateCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -25,8 +25,10 @@ export * from "./EnableMacieCommand";
|
|
|
25
25
|
export * from "./EnableOrganizationAdminAccountCommand";
|
|
26
26
|
export * from "./GetAdministratorAccountCommand";
|
|
27
27
|
export * from "./GetAllowListCommand";
|
|
28
|
+
export * from "./GetAutomatedDiscoveryConfigurationCommand";
|
|
28
29
|
export * from "./GetBucketStatisticsCommand";
|
|
29
30
|
export * from "./GetClassificationExportConfigurationCommand";
|
|
31
|
+
export * from "./GetClassificationScopeCommand";
|
|
30
32
|
export * from "./GetCustomDataIdentifierCommand";
|
|
31
33
|
export * from "./GetFindingStatisticsCommand";
|
|
32
34
|
export * from "./GetFindingsCommand";
|
|
@@ -36,13 +38,16 @@ export * from "./GetInvitationsCountCommand";
|
|
|
36
38
|
export * from "./GetMacieSessionCommand";
|
|
37
39
|
export * from "./GetMasterAccountCommand";
|
|
38
40
|
export * from "./GetMemberCommand";
|
|
41
|
+
export * from "./GetResourceProfileCommand";
|
|
39
42
|
export * from "./GetRevealConfigurationCommand";
|
|
40
43
|
export * from "./GetSensitiveDataOccurrencesAvailabilityCommand";
|
|
41
44
|
export * from "./GetSensitiveDataOccurrencesCommand";
|
|
45
|
+
export * from "./GetSensitivityInspectionTemplateCommand";
|
|
42
46
|
export * from "./GetUsageStatisticsCommand";
|
|
43
47
|
export * from "./GetUsageTotalsCommand";
|
|
44
48
|
export * from "./ListAllowListsCommand";
|
|
45
49
|
export * from "./ListClassificationJobsCommand";
|
|
50
|
+
export * from "./ListClassificationScopesCommand";
|
|
46
51
|
export * from "./ListCustomDataIdentifiersCommand";
|
|
47
52
|
export * from "./ListFindingsCommand";
|
|
48
53
|
export * from "./ListFindingsFiltersCommand";
|
|
@@ -50,6 +55,9 @@ export * from "./ListInvitationsCommand";
|
|
|
50
55
|
export * from "./ListManagedDataIdentifiersCommand";
|
|
51
56
|
export * from "./ListMembersCommand";
|
|
52
57
|
export * from "./ListOrganizationAdminAccountsCommand";
|
|
58
|
+
export * from "./ListResourceProfileArtifactsCommand";
|
|
59
|
+
export * from "./ListResourceProfileDetectionsCommand";
|
|
60
|
+
export * from "./ListSensitivityInspectionTemplatesCommand";
|
|
53
61
|
export * from "./ListTagsForResourceCommand";
|
|
54
62
|
export * from "./PutClassificationExportConfigurationCommand";
|
|
55
63
|
export * from "./PutFindingsPublicationConfigurationCommand";
|
|
@@ -58,9 +66,14 @@ export * from "./TagResourceCommand";
|
|
|
58
66
|
export * from "./TestCustomDataIdentifierCommand";
|
|
59
67
|
export * from "./UntagResourceCommand";
|
|
60
68
|
export * from "./UpdateAllowListCommand";
|
|
69
|
+
export * from "./UpdateAutomatedDiscoveryConfigurationCommand";
|
|
61
70
|
export * from "./UpdateClassificationJobCommand";
|
|
71
|
+
export * from "./UpdateClassificationScopeCommand";
|
|
62
72
|
export * from "./UpdateFindingsFilterCommand";
|
|
63
73
|
export * from "./UpdateMacieSessionCommand";
|
|
64
74
|
export * from "./UpdateMemberSessionCommand";
|
|
65
75
|
export * from "./UpdateOrganizationConfigurationCommand";
|
|
76
|
+
export * from "./UpdateResourceProfileCommand";
|
|
77
|
+
export * from "./UpdateResourceProfileDetectionsCommand";
|
|
66
78
|
export * from "./UpdateRevealConfigurationCommand";
|
|
79
|
+
export * from "./UpdateSensitivityInspectionTemplateCommand";
|