@aws-sdk/client-macie2 3.218.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.
Files changed (155) hide show
  1. package/README.md +1 -1
  2. package/dist-cjs/Macie2.js +195 -0
  3. package/dist-cjs/commands/GetAutomatedDiscoveryConfigurationCommand.js +46 -0
  4. package/dist-cjs/commands/GetClassificationScopeCommand.js +46 -0
  5. package/dist-cjs/commands/GetResourceProfileCommand.js +46 -0
  6. package/dist-cjs/commands/GetSensitivityInspectionTemplateCommand.js +46 -0
  7. package/dist-cjs/commands/ListClassificationScopesCommand.js +46 -0
  8. package/dist-cjs/commands/ListInvitationsCommand.js +3 -3
  9. package/dist-cjs/commands/ListManagedDataIdentifiersCommand.js +3 -3
  10. package/dist-cjs/commands/ListMembersCommand.js +3 -3
  11. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +3 -3
  12. package/dist-cjs/commands/ListResourceProfileArtifactsCommand.js +46 -0
  13. package/dist-cjs/commands/ListResourceProfileDetectionsCommand.js +46 -0
  14. package/dist-cjs/commands/ListSensitivityInspectionTemplatesCommand.js +46 -0
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  16. package/dist-cjs/commands/PutClassificationExportConfigurationCommand.js +3 -3
  17. package/dist-cjs/commands/PutFindingsPublicationConfigurationCommand.js +3 -3
  18. package/dist-cjs/commands/SearchResourcesCommand.js +3 -3
  19. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  20. package/dist-cjs/commands/TestCustomDataIdentifierCommand.js +3 -3
  21. package/dist-cjs/commands/UntagResourceCommand.js +1 -2
  22. package/dist-cjs/commands/UpdateAutomatedDiscoveryConfigurationCommand.js +46 -0
  23. package/dist-cjs/commands/UpdateClassificationScopeCommand.js +46 -0
  24. package/dist-cjs/commands/UpdateResourceProfileCommand.js +46 -0
  25. package/dist-cjs/commands/UpdateResourceProfileDetectionsCommand.js +46 -0
  26. package/dist-cjs/commands/UpdateSensitivityInspectionTemplateCommand.js +46 -0
  27. package/dist-cjs/commands/index.js +13 -0
  28. package/dist-cjs/endpoint/ruleset.js +1 -1
  29. package/dist-cjs/models/models_0.js +113 -109
  30. package/dist-cjs/models/models_1.js +177 -1
  31. package/dist-cjs/pagination/ListAllowListsPaginator.js +36 -0
  32. package/dist-cjs/pagination/ListClassificationScopesPaginator.js +35 -0
  33. package/dist-cjs/pagination/ListManagedDataIdentifiersPaginator.js +35 -0
  34. package/dist-cjs/pagination/ListResourceProfileArtifactsPaginator.js +35 -0
  35. package/dist-cjs/pagination/ListResourceProfileDetectionsPaginator.js +36 -0
  36. package/dist-cjs/pagination/ListSensitivityInspectionTemplatesPaginator.js +36 -0
  37. package/dist-cjs/pagination/index.js +6 -0
  38. package/dist-cjs/protocols/Aws_restJson1.js +1211 -69
  39. package/dist-es/Macie2.js +195 -0
  40. package/dist-es/commands/GetAutomatedDiscoveryConfigurationCommand.js +42 -0
  41. package/dist-es/commands/GetClassificationScopeCommand.js +42 -0
  42. package/dist-es/commands/GetResourceProfileCommand.js +42 -0
  43. package/dist-es/commands/GetSensitivityInspectionTemplateCommand.js +42 -0
  44. package/dist-es/commands/ListClassificationScopesCommand.js +42 -0
  45. package/dist-es/commands/ListInvitationsCommand.js +1 -1
  46. package/dist-es/commands/ListManagedDataIdentifiersCommand.js +1 -1
  47. package/dist-es/commands/ListMembersCommand.js +1 -1
  48. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +1 -1
  49. package/dist-es/commands/ListResourceProfileArtifactsCommand.js +42 -0
  50. package/dist-es/commands/ListResourceProfileDetectionsCommand.js +42 -0
  51. package/dist-es/commands/ListSensitivityInspectionTemplatesCommand.js +42 -0
  52. package/dist-es/commands/ListTagsForResourceCommand.js +1 -1
  53. package/dist-es/commands/PutClassificationExportConfigurationCommand.js +1 -1
  54. package/dist-es/commands/PutFindingsPublicationConfigurationCommand.js +1 -1
  55. package/dist-es/commands/SearchResourcesCommand.js +1 -1
  56. package/dist-es/commands/TagResourceCommand.js +1 -1
  57. package/dist-es/commands/TestCustomDataIdentifierCommand.js +1 -1
  58. package/dist-es/commands/UntagResourceCommand.js +1 -2
  59. package/dist-es/commands/UpdateAutomatedDiscoveryConfigurationCommand.js +42 -0
  60. package/dist-es/commands/UpdateClassificationScopeCommand.js +42 -0
  61. package/dist-es/commands/UpdateResourceProfileCommand.js +42 -0
  62. package/dist-es/commands/UpdateResourceProfileDetectionsCommand.js +42 -0
  63. package/dist-es/commands/UpdateSensitivityInspectionTemplateCommand.js +42 -0
  64. package/dist-es/commands/index.js +13 -0
  65. package/dist-es/endpoint/ruleset.js +1 -1
  66. package/dist-es/models/models_0.js +85 -79
  67. package/dist-es/models/models_1.js +133 -0
  68. package/dist-es/pagination/ListAllowListsPaginator.js +32 -0
  69. package/dist-es/pagination/ListClassificationScopesPaginator.js +31 -0
  70. package/dist-es/pagination/ListManagedDataIdentifiersPaginator.js +31 -0
  71. package/dist-es/pagination/ListResourceProfileArtifactsPaginator.js +31 -0
  72. package/dist-es/pagination/ListResourceProfileDetectionsPaginator.js +32 -0
  73. package/dist-es/pagination/ListSensitivityInspectionTemplatesPaginator.js +32 -0
  74. package/dist-es/pagination/index.js +6 -0
  75. package/dist-es/protocols/Aws_restJson1.js +1199 -84
  76. package/dist-types/Macie2.d.ts +95 -4
  77. package/dist-types/Macie2Client.d.ts +16 -3
  78. package/dist-types/commands/DescribeBucketsCommand.d.ts +1 -1
  79. package/dist-types/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +37 -0
  80. package/dist-types/commands/GetBucketStatisticsCommand.d.ts +1 -1
  81. package/dist-types/commands/GetClassificationScopeCommand.d.ts +37 -0
  82. package/dist-types/commands/GetMacieSessionCommand.d.ts +1 -1
  83. package/dist-types/commands/GetResourceProfileCommand.d.ts +37 -0
  84. package/dist-types/commands/GetSensitivityInspectionTemplateCommand.d.ts +37 -0
  85. package/dist-types/commands/ListClassificationScopesCommand.d.ts +37 -0
  86. package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
  87. package/dist-types/commands/ListManagedDataIdentifiersCommand.d.ts +1 -1
  88. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  89. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  90. package/dist-types/commands/ListResourceProfileArtifactsCommand.d.ts +37 -0
  91. package/dist-types/commands/ListResourceProfileDetectionsCommand.d.ts +37 -0
  92. package/dist-types/commands/ListSensitivityInspectionTemplatesCommand.d.ts +37 -0
  93. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  94. package/dist-types/commands/PutClassificationExportConfigurationCommand.d.ts +1 -1
  95. package/dist-types/commands/PutFindingsPublicationConfigurationCommand.d.ts +1 -1
  96. package/dist-types/commands/SearchResourcesCommand.d.ts +1 -1
  97. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  98. package/dist-types/commands/TestCustomDataIdentifierCommand.d.ts +1 -1
  99. package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
  100. package/dist-types/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +37 -0
  101. package/dist-types/commands/UpdateClassificationScopeCommand.d.ts +37 -0
  102. package/dist-types/commands/UpdateResourceProfileCommand.d.ts +37 -0
  103. package/dist-types/commands/UpdateResourceProfileDetectionsCommand.d.ts +37 -0
  104. package/dist-types/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +37 -0
  105. package/dist-types/commands/index.d.ts +13 -0
  106. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  107. package/dist-types/models/models_0.d.ts +501 -372
  108. package/dist-types/models/models_1.d.ts +559 -6
  109. package/dist-types/pagination/ListAllowListsPaginator.d.ts +4 -0
  110. package/dist-types/pagination/ListClassificationScopesPaginator.d.ts +4 -0
  111. package/dist-types/pagination/ListManagedDataIdentifiersPaginator.d.ts +4 -0
  112. package/dist-types/pagination/ListResourceProfileArtifactsPaginator.d.ts +4 -0
  113. package/dist-types/pagination/ListResourceProfileDetectionsPaginator.d.ts +4 -0
  114. package/dist-types/pagination/ListSensitivityInspectionTemplatesPaginator.d.ts +4 -0
  115. package/dist-types/pagination/index.d.ts +6 -0
  116. package/dist-types/protocols/Aws_restJson1.d.ts +39 -0
  117. package/dist-types/ts3.4/Macie2.d.ts +245 -0
  118. package/dist-types/ts3.4/Macie2Client.d.ts +80 -2
  119. package/dist-types/ts3.4/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +41 -0
  120. package/dist-types/ts3.4/commands/GetClassificationScopeCommand.d.ts +41 -0
  121. package/dist-types/ts3.4/commands/GetResourceProfileCommand.d.ts +38 -0
  122. package/dist-types/ts3.4/commands/GetSensitivityInspectionTemplateCommand.d.ts +41 -0
  123. package/dist-types/ts3.4/commands/ListClassificationScopesCommand.d.ts +41 -0
  124. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/ListManagedDataIdentifiersCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/ListResourceProfileArtifactsCommand.d.ts +41 -0
  129. package/dist-types/ts3.4/commands/ListResourceProfileDetectionsCommand.d.ts +41 -0
  130. package/dist-types/ts3.4/commands/ListSensitivityInspectionTemplatesCommand.d.ts +41 -0
  131. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/PutClassificationExportConfigurationCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/PutFindingsPublicationConfigurationCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/TestCustomDataIdentifierCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -2
  138. package/dist-types/ts3.4/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +41 -0
  139. package/dist-types/ts3.4/commands/UpdateClassificationScopeCommand.d.ts +41 -0
  140. package/dist-types/ts3.4/commands/UpdateResourceProfileCommand.d.ts +41 -0
  141. package/dist-types/ts3.4/commands/UpdateResourceProfileDetectionsCommand.d.ts +41 -0
  142. package/dist-types/ts3.4/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +41 -0
  143. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  144. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  145. package/dist-types/ts3.4/models/models_0.d.ts +194 -169
  146. package/dist-types/ts3.4/models/models_1.d.ts +297 -1
  147. package/dist-types/ts3.4/pagination/ListAllowListsPaginator.d.ts +11 -0
  148. package/dist-types/ts3.4/pagination/ListClassificationScopesPaginator.d.ts +11 -0
  149. package/dist-types/ts3.4/pagination/ListManagedDataIdentifiersPaginator.d.ts +11 -0
  150. package/dist-types/ts3.4/pagination/ListResourceProfileArtifactsPaginator.d.ts +11 -0
  151. package/dist-types/ts3.4/pagination/ListResourceProfileDetectionsPaginator.d.ts +11 -0
  152. package/dist-types/ts3.4/pagination/ListSensitivityInspectionTemplatesPaginator.d.ts +11 -0
  153. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  154. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  155. package/package.json +1 -1
@@ -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/models_0";
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/models_0";
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/models_0";
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/models_0";
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/models_0";
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/models_0";
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/models_0";
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";
@@ -3,7 +3,7 @@ export const ruleSet = {
3
3
  parameters: {
4
4
  Region: {
5
5
  builtIn: "AWS::Region",
6
- required: false,
6
+ required: true,
7
7
  documentation: "The AWS region used to dispatch the request.",
8
8
  type: "String",
9
9
  },