@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,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
+ import { ListResourceProfileArtifactsRequest, ListResourceProfileArtifactsResponse } from "../models/models_1";
6
+ export interface ListResourceProfileArtifactsCommandInput extends ListResourceProfileArtifactsRequest {
7
+ }
8
+ export interface ListResourceProfileArtifactsCommandOutput extends ListResourceProfileArtifactsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { Macie2Client, ListResourceProfileArtifactsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
16
+ * // const { Macie2Client, ListResourceProfileArtifactsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
17
+ * const client = new Macie2Client(config);
18
+ * const command = new ListResourceProfileArtifactsCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListResourceProfileArtifactsCommandInput} for command's `input` shape.
23
+ * @see {@link ListResourceProfileArtifactsCommandOutput} for command's `response` shape.
24
+ * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListResourceProfileArtifactsCommand extends $Command<ListResourceProfileArtifactsCommandInput, ListResourceProfileArtifactsCommandOutput, Macie2ClientResolvedConfig> {
28
+ readonly input: ListResourceProfileArtifactsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListResourceProfileArtifactsCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListResourceProfileArtifactsCommandInput, ListResourceProfileArtifactsCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
+ import { ListResourceProfileDetectionsRequest, ListResourceProfileDetectionsResponse } from "../models/models_1";
6
+ export interface ListResourceProfileDetectionsCommandInput extends ListResourceProfileDetectionsRequest {
7
+ }
8
+ export interface ListResourceProfileDetectionsCommandOutput extends ListResourceProfileDetectionsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { Macie2Client, ListResourceProfileDetectionsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
16
+ * // const { Macie2Client, ListResourceProfileDetectionsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
17
+ * const client = new Macie2Client(config);
18
+ * const command = new ListResourceProfileDetectionsCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListResourceProfileDetectionsCommandInput} for command's `input` shape.
23
+ * @see {@link ListResourceProfileDetectionsCommandOutput} for command's `response` shape.
24
+ * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListResourceProfileDetectionsCommand extends $Command<ListResourceProfileDetectionsCommandInput, ListResourceProfileDetectionsCommandOutput, Macie2ClientResolvedConfig> {
28
+ readonly input: ListResourceProfileDetectionsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListResourceProfileDetectionsCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListResourceProfileDetectionsCommandInput, ListResourceProfileDetectionsCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
+ import { ListSensitivityInspectionTemplatesRequest, ListSensitivityInspectionTemplatesResponse } from "../models/models_1";
6
+ export interface ListSensitivityInspectionTemplatesCommandInput extends ListSensitivityInspectionTemplatesRequest {
7
+ }
8
+ export interface ListSensitivityInspectionTemplatesCommandOutput extends ListSensitivityInspectionTemplatesResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Retrieves a subset of information about the sensitivity inspection template for an account.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { Macie2Client, ListSensitivityInspectionTemplatesCommand } from "@aws-sdk/client-macie2"; // ES Modules import
16
+ * // const { Macie2Client, ListSensitivityInspectionTemplatesCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
17
+ * const client = new Macie2Client(config);
18
+ * const command = new ListSensitivityInspectionTemplatesCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListSensitivityInspectionTemplatesCommandInput} for command's `input` shape.
23
+ * @see {@link ListSensitivityInspectionTemplatesCommandOutput} for command's `response` shape.
24
+ * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListSensitivityInspectionTemplatesCommand extends $Command<ListSensitivityInspectionTemplatesCommandInput, ListSensitivityInspectionTemplatesCommandOutput, Macie2ClientResolvedConfig> {
28
+ readonly input: ListSensitivityInspectionTemplatesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListSensitivityInspectionTemplatesCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSensitivityInspectionTemplatesCommandInput, ListSensitivityInspectionTemplatesCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_1";
6
6
  export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
7
7
  }
8
8
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
- import { PutClassificationExportConfigurationRequest, PutClassificationExportConfigurationResponse } from "../models/models_0";
5
+ import { PutClassificationExportConfigurationRequest, PutClassificationExportConfigurationResponse } from "../models/models_1";
6
6
  export interface PutClassificationExportConfigurationCommandInput extends PutClassificationExportConfigurationRequest {
7
7
  }
8
8
  export interface PutClassificationExportConfigurationCommandOutput extends PutClassificationExportConfigurationResponse, __MetadataBearer {
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
- import { PutFindingsPublicationConfigurationRequest, PutFindingsPublicationConfigurationResponse } from "../models/models_0";
5
+ import { PutFindingsPublicationConfigurationRequest, PutFindingsPublicationConfigurationResponse } from "../models/models_1";
6
6
  export interface PutFindingsPublicationConfigurationCommandInput extends PutFindingsPublicationConfigurationRequest {
7
7
  }
8
8
  export interface PutFindingsPublicationConfigurationCommandOutput extends PutFindingsPublicationConfigurationResponse, __MetadataBearer {
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
- import { SearchResourcesRequest, SearchResourcesResponse } from "../models/models_0";
5
+ import { SearchResourcesRequest, SearchResourcesResponse } from "../models/models_1";
6
6
  export interface SearchResourcesCommandInput extends SearchResourcesRequest {
7
7
  }
8
8
  export interface SearchResourcesCommandOutput extends SearchResourcesResponse, __MetadataBearer {
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
6
6
  export interface TagResourceCommandInput extends TagResourceRequest {
7
7
  }
8
8
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
- import { TestCustomDataIdentifierRequest, TestCustomDataIdentifierResponse } from "../models/models_0";
5
+ import { TestCustomDataIdentifierRequest, TestCustomDataIdentifierResponse } from "../models/models_1";
6
6
  export interface TestCustomDataIdentifierCommandInput extends TestCustomDataIdentifierRequest {
7
7
  }
8
8
  export interface TestCustomDataIdentifierCommandOutput extends TestCustomDataIdentifierResponse, __MetadataBearer {
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
- import { UntagResourceRequest } from "../models/models_0";
6
- import { UntagResourceResponse } from "../models/models_1";
5
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_1";
7
6
  export interface UntagResourceCommandInput extends UntagResourceRequest {
8
7
  }
9
8
  export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
+ import { UpdateAutomatedDiscoveryConfigurationRequest, UpdateAutomatedDiscoveryConfigurationResponse } from "../models/models_1";
6
+ export interface UpdateAutomatedDiscoveryConfigurationCommandInput extends UpdateAutomatedDiscoveryConfigurationRequest {
7
+ }
8
+ export interface UpdateAutomatedDiscoveryConfigurationCommandOutput extends UpdateAutomatedDiscoveryConfigurationResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Enables or disables automated sensitive data discovery for an account.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { Macie2Client, UpdateAutomatedDiscoveryConfigurationCommand } from "@aws-sdk/client-macie2"; // ES Modules import
16
+ * // const { Macie2Client, UpdateAutomatedDiscoveryConfigurationCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
17
+ * const client = new Macie2Client(config);
18
+ * const command = new UpdateAutomatedDiscoveryConfigurationCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link UpdateAutomatedDiscoveryConfigurationCommandInput} for command's `input` shape.
23
+ * @see {@link UpdateAutomatedDiscoveryConfigurationCommandOutput} for command's `response` shape.
24
+ * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape.
25
+ *
26
+ */
27
+ export declare class UpdateAutomatedDiscoveryConfigurationCommand extends $Command<UpdateAutomatedDiscoveryConfigurationCommandInput, UpdateAutomatedDiscoveryConfigurationCommandOutput, Macie2ClientResolvedConfig> {
28
+ readonly input: UpdateAutomatedDiscoveryConfigurationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UpdateAutomatedDiscoveryConfigurationCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAutomatedDiscoveryConfigurationCommandInput, UpdateAutomatedDiscoveryConfigurationCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
+ import { UpdateClassificationScopeRequest, UpdateClassificationScopeResponse } from "../models/models_1";
6
+ export interface UpdateClassificationScopeCommandInput extends UpdateClassificationScopeRequest {
7
+ }
8
+ export interface UpdateClassificationScopeCommandOutput extends UpdateClassificationScopeResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Updates the classification scope settings for an account.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { Macie2Client, UpdateClassificationScopeCommand } from "@aws-sdk/client-macie2"; // ES Modules import
16
+ * // const { Macie2Client, UpdateClassificationScopeCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
17
+ * const client = new Macie2Client(config);
18
+ * const command = new UpdateClassificationScopeCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link UpdateClassificationScopeCommandInput} for command's `input` shape.
23
+ * @see {@link UpdateClassificationScopeCommandOutput} for command's `response` shape.
24
+ * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape.
25
+ *
26
+ */
27
+ export declare class UpdateClassificationScopeCommand extends $Command<UpdateClassificationScopeCommandInput, UpdateClassificationScopeCommandOutput, Macie2ClientResolvedConfig> {
28
+ readonly input: UpdateClassificationScopeCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UpdateClassificationScopeCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateClassificationScopeCommandInput, UpdateClassificationScopeCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
+ import { UpdateResourceProfileRequest, UpdateResourceProfileResponse } from "../models/models_1";
6
+ export interface UpdateResourceProfileCommandInput extends UpdateResourceProfileRequest {
7
+ }
8
+ export interface UpdateResourceProfileCommandOutput extends UpdateResourceProfileResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Updates the sensitivity score for an S3 bucket.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { Macie2Client, UpdateResourceProfileCommand } from "@aws-sdk/client-macie2"; // ES Modules import
16
+ * // const { Macie2Client, UpdateResourceProfileCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
17
+ * const client = new Macie2Client(config);
18
+ * const command = new UpdateResourceProfileCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link UpdateResourceProfileCommandInput} for command's `input` shape.
23
+ * @see {@link UpdateResourceProfileCommandOutput} for command's `response` shape.
24
+ * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape.
25
+ *
26
+ */
27
+ export declare class UpdateResourceProfileCommand extends $Command<UpdateResourceProfileCommandInput, UpdateResourceProfileCommandOutput, Macie2ClientResolvedConfig> {
28
+ readonly input: UpdateResourceProfileCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UpdateResourceProfileCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateResourceProfileCommandInput, UpdateResourceProfileCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
+ import { UpdateResourceProfileDetectionsRequest, UpdateResourceProfileDetectionsResponse } from "../models/models_1";
6
+ export interface UpdateResourceProfileDetectionsCommandInput extends UpdateResourceProfileDetectionsRequest {
7
+ }
8
+ export interface UpdateResourceProfileDetectionsCommandOutput extends UpdateResourceProfileDetectionsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Updates the sensitivity scoring settings for an S3 bucket.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { Macie2Client, UpdateResourceProfileDetectionsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
16
+ * // const { Macie2Client, UpdateResourceProfileDetectionsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
17
+ * const client = new Macie2Client(config);
18
+ * const command = new UpdateResourceProfileDetectionsCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link UpdateResourceProfileDetectionsCommandInput} for command's `input` shape.
23
+ * @see {@link UpdateResourceProfileDetectionsCommandOutput} for command's `response` shape.
24
+ * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape.
25
+ *
26
+ */
27
+ export declare class UpdateResourceProfileDetectionsCommand extends $Command<UpdateResourceProfileDetectionsCommandInput, UpdateResourceProfileDetectionsCommandOutput, Macie2ClientResolvedConfig> {
28
+ readonly input: UpdateResourceProfileDetectionsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UpdateResourceProfileDetectionsCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateResourceProfileDetectionsCommandInput, UpdateResourceProfileDetectionsCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
5
+ import { UpdateSensitivityInspectionTemplateRequest, UpdateSensitivityInspectionTemplateResponse } from "../models/models_1";
6
+ export interface UpdateSensitivityInspectionTemplateCommandInput extends UpdateSensitivityInspectionTemplateRequest {
7
+ }
8
+ export interface UpdateSensitivityInspectionTemplateCommandOutput extends UpdateSensitivityInspectionTemplateResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Updates the settings for the sensitivity inspection template for an account.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { Macie2Client, UpdateSensitivityInspectionTemplateCommand } from "@aws-sdk/client-macie2"; // ES Modules import
16
+ * // const { Macie2Client, UpdateSensitivityInspectionTemplateCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
17
+ * const client = new Macie2Client(config);
18
+ * const command = new UpdateSensitivityInspectionTemplateCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link UpdateSensitivityInspectionTemplateCommandInput} for command's `input` shape.
23
+ * @see {@link UpdateSensitivityInspectionTemplateCommandOutput} for command's `response` shape.
24
+ * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape.
25
+ *
26
+ */
27
+ export declare class UpdateSensitivityInspectionTemplateCommand extends $Command<UpdateSensitivityInspectionTemplateCommandInput, UpdateSensitivityInspectionTemplateCommandOutput, Macie2ClientResolvedConfig> {
28
+ readonly input: UpdateSensitivityInspectionTemplateCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UpdateSensitivityInspectionTemplateCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSensitivityInspectionTemplateCommandInput, UpdateSensitivityInspectionTemplateCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -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";
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region?: string;
15
+ Region: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;