@aws-sdk/client-macie2 3.325.0 → 3.326.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 (80) hide show
  1. package/dist-types/commands/AcceptInvitationCommand.d.ts +4 -0
  2. package/dist-types/commands/BatchGetCustomDataIdentifiersCommand.d.ts +18 -0
  3. package/dist-types/commands/CreateAllowListCommand.d.ts +7 -0
  4. package/dist-types/commands/CreateClassificationJobCommand.d.ts +7 -0
  5. package/dist-types/commands/CreateCustomDataIdentifierCommand.d.ts +6 -0
  6. package/dist-types/commands/CreateFindingsFilterCommand.d.ts +7 -0
  7. package/dist-types/commands/CreateInvitationsCommand.d.ts +12 -0
  8. package/dist-types/commands/CreateMemberCommand.d.ts +6 -0
  9. package/dist-types/commands/CreateSampleFindingsCommand.d.ts +4 -0
  10. package/dist-types/commands/DeclineInvitationsCommand.d.ts +12 -0
  11. package/dist-types/commands/DeleteAllowListCommand.d.ts +4 -0
  12. package/dist-types/commands/DeleteCustomDataIdentifierCommand.d.ts +4 -0
  13. package/dist-types/commands/DeleteFindingsFilterCommand.d.ts +4 -0
  14. package/dist-types/commands/DeleteInvitationsCommand.d.ts +12 -0
  15. package/dist-types/commands/DeleteMemberCommand.d.ts +4 -0
  16. package/dist-types/commands/DescribeBucketsCommand.d.ts +97 -0
  17. package/dist-types/commands/DescribeClassificationJobCommand.d.ts +150 -0
  18. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +7 -0
  19. package/dist-types/commands/DisableMacieCommand.d.ts +4 -0
  20. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +4 -0
  21. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +4 -0
  22. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +4 -0
  23. package/dist-types/commands/DisassociateMemberCommand.d.ts +4 -0
  24. package/dist-types/commands/EnableMacieCommand.d.ts +4 -0
  25. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +4 -0
  26. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +11 -0
  27. package/dist-types/commands/GetAllowListCommand.d.ts +25 -0
  28. package/dist-types/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +11 -0
  29. package/dist-types/commands/GetBucketStatisticsCommand.d.ts +71 -0
  30. package/dist-types/commands/GetClassificationExportConfigurationCommand.d.ts +12 -0
  31. package/dist-types/commands/GetClassificationScopeCommand.d.ts +14 -0
  32. package/dist-types/commands/GetCustomDataIdentifierCommand.d.ts +28 -0
  33. package/dist-types/commands/GetFindingStatisticsCommand.d.ts +11 -0
  34. package/dist-types/commands/GetFindingsCommand.d.ts +310 -0
  35. package/dist-types/commands/GetFindingsFilterCommand.d.ts +33 -0
  36. package/dist-types/commands/GetFindingsPublicationConfigurationCommand.d.ts +9 -0
  37. package/dist-types/commands/GetInvitationsCountCommand.d.ts +6 -0
  38. package/dist-types/commands/GetMacieSessionCommand.d.ts +10 -0
  39. package/dist-types/commands/GetMasterAccountCommand.d.ts +11 -0
  40. package/dist-types/commands/GetMemberCommand.d.ts +16 -0
  41. package/dist-types/commands/GetResourceProfileCommand.d.ts +19 -0
  42. package/dist-types/commands/GetRevealConfigurationCommand.d.ts +9 -0
  43. package/dist-types/commands/GetSensitiveDataOccurrencesAvailabilityCommand.d.ts +9 -0
  44. package/dist-types/commands/GetSensitiveDataOccurrencesCommand.d.ts +14 -0
  45. package/dist-types/commands/GetSensitivityInspectionTemplateCommand.d.ts +24 -0
  46. package/dist-types/commands/GetUsageStatisticsCommand.d.ts +26 -0
  47. package/dist-types/commands/GetUsageTotalsCommand.d.ts +13 -0
  48. package/dist-types/commands/ListAllowListsCommand.d.ts +16 -0
  49. package/dist-types/commands/ListClassificationJobsCommand.d.ts +77 -0
  50. package/dist-types/commands/ListClassificationScopesCommand.d.ts +12 -0
  51. package/dist-types/commands/ListCustomDataIdentifiersCommand.d.ts +15 -0
  52. package/dist-types/commands/ListFindingsCommand.d.ts +9 -0
  53. package/dist-types/commands/ListFindingsFiltersCommand.d.ts +17 -0
  54. package/dist-types/commands/ListInvitationsCommand.d.ts +14 -0
  55. package/dist-types/commands/ListManagedDataIdentifiersCommand.d.ts +12 -0
  56. package/dist-types/commands/ListMembersCommand.d.ts +21 -0
  57. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +12 -0
  58. package/dist-types/commands/ListResourceProfileArtifactsCommand.d.ts +13 -0
  59. package/dist-types/commands/ListResourceProfileDetectionsCommand.d.ts +16 -0
  60. package/dist-types/commands/ListSensitivityInspectionTemplatesCommand.d.ts +12 -0
  61. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  62. package/dist-types/commands/PutClassificationExportConfigurationCommand.d.ts +12 -0
  63. package/dist-types/commands/PutFindingsPublicationConfigurationCommand.d.ts +4 -0
  64. package/dist-types/commands/SearchResourcesCommand.d.ts +46 -0
  65. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  66. package/dist-types/commands/TestCustomDataIdentifierCommand.d.ts +6 -0
  67. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  68. package/dist-types/commands/UpdateAllowListCommand.d.ts +7 -0
  69. package/dist-types/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +4 -0
  70. package/dist-types/commands/UpdateClassificationJobCommand.d.ts +4 -0
  71. package/dist-types/commands/UpdateClassificationScopeCommand.d.ts +4 -0
  72. package/dist-types/commands/UpdateFindingsFilterCommand.d.ts +7 -0
  73. package/dist-types/commands/UpdateMacieSessionCommand.d.ts +4 -0
  74. package/dist-types/commands/UpdateMemberSessionCommand.d.ts +4 -0
  75. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -0
  76. package/dist-types/commands/UpdateResourceProfileCommand.d.ts +4 -0
  77. package/dist-types/commands/UpdateResourceProfileDetectionsCommand.d.ts +4 -0
  78. package/dist-types/commands/UpdateRevealConfigurationCommand.d.ts +9 -0
  79. package/dist-types/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +4 -0
  80. package/package.json +3 -3
@@ -39,6 +39,10 @@ export interface TestCustomDataIdentifierCommandOutput extends TestCustomDataIde
39
39
  * };
40
40
  * const command = new TestCustomDataIdentifierCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // TestCustomDataIdentifierResponse
43
+ * // matchCount: Number("int"),
44
+ * // };
45
+ *
42
46
  * ```
43
47
  *
44
48
  * @param TestCustomDataIdentifierCommandInput - {@link TestCustomDataIdentifierCommandInput}
@@ -68,6 +72,8 @@ export interface TestCustomDataIdentifierCommandOutput extends TestCustomDataIde
68
72
  * @throws {@link ValidationException} (client fault)
69
73
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
70
74
  *
75
+ * @throws {@link Macie2ServiceException}
76
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
71
77
  *
72
78
  */
73
79
  export declare class TestCustomDataIdentifierCommand extends $Command<TestCustomDataIdentifierCommandInput, TestCustomDataIdentifierCommandOutput, Macie2ClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -42,6 +44,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
42
44
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
43
45
  * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape.
44
46
  *
47
+ * @throws {@link Macie2ServiceException}
48
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
45
49
  *
46
50
  */
47
51
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, Macie2ClientResolvedConfig> {
@@ -40,6 +40,11 @@ export interface UpdateAllowListCommandOutput extends UpdateAllowListResponse, _
40
40
  * };
41
41
  * const command = new UpdateAllowListCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // UpdateAllowListResponse
44
+ * // arn: "STRING_VALUE",
45
+ * // id: "STRING_VALUE",
46
+ * // };
47
+ *
43
48
  * ```
44
49
  *
45
50
  * @param UpdateAllowListCommandInput - {@link UpdateAllowListCommandInput}
@@ -63,6 +68,8 @@ export interface UpdateAllowListCommandOutput extends UpdateAllowListResponse, _
63
68
  * @throws {@link ValidationException} (client fault)
64
69
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
65
70
  *
71
+ * @throws {@link Macie2ServiceException}
72
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
66
73
  *
67
74
  */
68
75
  export declare class UpdateAllowListCommand extends $Command<UpdateAllowListCommandInput, UpdateAllowListCommandOutput, Macie2ClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface UpdateAutomatedDiscoveryConfigurationCommandOutput extends Upda
31
31
  * };
32
32
  * const command = new UpdateAutomatedDiscoveryConfigurationCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param UpdateAutomatedDiscoveryConfigurationCommandInput - {@link UpdateAutomatedDiscoveryConfigurationCommandInput}
@@ -51,6 +53,8 @@ export interface UpdateAutomatedDiscoveryConfigurationCommandOutput extends Upda
51
53
  * @throws {@link ValidationException} (client fault)
52
54
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
53
55
  *
56
+ * @throws {@link Macie2ServiceException}
57
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
54
58
  *
55
59
  */
56
60
  export declare class UpdateAutomatedDiscoveryConfigurationCommand extends $Command<UpdateAutomatedDiscoveryConfigurationCommandInput, UpdateAutomatedDiscoveryConfigurationCommandOutput, Macie2ClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface UpdateClassificationJobCommandOutput extends UpdateClassificati
32
32
  * };
33
33
  * const command = new UpdateClassificationJobCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param UpdateClassificationJobCommandInput - {@link UpdateClassificationJobCommandInput}
@@ -61,6 +63,8 @@ export interface UpdateClassificationJobCommandOutput extends UpdateClassificati
61
63
  * @throws {@link ValidationException} (client fault)
62
64
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
63
65
  *
66
+ * @throws {@link Macie2ServiceException}
67
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
64
68
  *
65
69
  */
66
70
  export declare class UpdateClassificationJobCommand extends $Command<UpdateClassificationJobCommandInput, UpdateClassificationJobCommandOutput, Macie2ClientResolvedConfig> {
@@ -39,6 +39,8 @@ export interface UpdateClassificationScopeCommandOutput extends UpdateClassifica
39
39
  * };
40
40
  * const command = new UpdateClassificationScopeCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // {};
43
+ *
42
44
  * ```
43
45
  *
44
46
  * @param UpdateClassificationScopeCommandInput - {@link UpdateClassificationScopeCommandInput}
@@ -62,6 +64,8 @@ export interface UpdateClassificationScopeCommandOutput extends UpdateClassifica
62
64
  * @throws {@link ValidationException} (client fault)
63
65
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
64
66
  *
67
+ * @throws {@link Macie2ServiceException}
68
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
65
69
  *
66
70
  */
67
71
  export declare class UpdateClassificationScopeCommand extends $Command<UpdateClassificationScopeCommandInput, UpdateClassificationScopeCommandOutput, Macie2ClientResolvedConfig> {
@@ -55,6 +55,11 @@ export interface UpdateFindingsFilterCommandOutput extends UpdateFindingsFilterR
55
55
  * };
56
56
  * const command = new UpdateFindingsFilterCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // UpdateFindingsFilterResponse
59
+ * // arn: "STRING_VALUE",
60
+ * // id: "STRING_VALUE",
61
+ * // };
62
+ *
58
63
  * ```
59
64
  *
60
65
  * @param UpdateFindingsFilterCommandInput - {@link UpdateFindingsFilterCommandInput}
@@ -84,6 +89,8 @@ export interface UpdateFindingsFilterCommandOutput extends UpdateFindingsFilterR
84
89
  * @throws {@link ValidationException} (client fault)
85
90
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
86
91
  *
92
+ * @throws {@link Macie2ServiceException}
93
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
87
94
  *
88
95
  */
89
96
  export declare class UpdateFindingsFilterCommand extends $Command<UpdateFindingsFilterCommandInput, UpdateFindingsFilterCommandOutput, Macie2ClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface UpdateMacieSessionCommandOutput extends UpdateMacieSessionRespo
32
32
  * };
33
33
  * const command = new UpdateMacieSessionCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param UpdateMacieSessionCommandInput - {@link UpdateMacieSessionCommandInput}
@@ -61,6 +63,8 @@ export interface UpdateMacieSessionCommandOutput extends UpdateMacieSessionRespo
61
63
  * @throws {@link ValidationException} (client fault)
62
64
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
63
65
  *
66
+ * @throws {@link Macie2ServiceException}
67
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
64
68
  *
65
69
  */
66
70
  export declare class UpdateMacieSessionCommand extends $Command<UpdateMacieSessionCommandInput, UpdateMacieSessionCommandOutput, Macie2ClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface UpdateMemberSessionCommandOutput extends UpdateMemberSessionRes
32
32
  * };
33
33
  * const command = new UpdateMemberSessionCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param UpdateMemberSessionCommandInput - {@link UpdateMemberSessionCommandInput}
@@ -61,6 +63,8 @@ export interface UpdateMemberSessionCommandOutput extends UpdateMemberSessionRes
61
63
  * @throws {@link ValidationException} (client fault)
62
64
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
63
65
  *
66
+ * @throws {@link Macie2ServiceException}
67
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
64
68
  *
65
69
  */
66
70
  export declare class UpdateMemberSessionCommand extends $Command<UpdateMemberSessionCommandInput, UpdateMemberSessionCommandOutput, Macie2ClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
31
31
  * };
32
32
  * const command = new UpdateOrganizationConfigurationCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param UpdateOrganizationConfigurationCommandInput - {@link UpdateOrganizationConfigurationCommandInput}
@@ -60,6 +62,8 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
60
62
  * @throws {@link ValidationException} (client fault)
61
63
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
62
64
  *
65
+ * @throws {@link Macie2ServiceException}
66
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
63
67
  *
64
68
  */
65
69
  export declare class UpdateOrganizationConfigurationCommand extends $Command<UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput, Macie2ClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface UpdateResourceProfileCommandOutput extends UpdateResourceProfil
32
32
  * };
33
33
  * const command = new UpdateResourceProfileCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param UpdateResourceProfileCommandInput - {@link UpdateResourceProfileCommandInput}
@@ -58,6 +60,8 @@ export interface UpdateResourceProfileCommandOutput extends UpdateResourceProfil
58
60
  * @throws {@link ValidationException} (client fault)
59
61
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
60
62
  *
63
+ * @throws {@link Macie2ServiceException}
64
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
61
65
  *
62
66
  */
63
67
  export declare class UpdateResourceProfileCommand extends $Command<UpdateResourceProfileCommandInput, UpdateResourceProfileCommandOutput, Macie2ClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface UpdateResourceProfileDetectionsCommandOutput extends UpdateReso
37
37
  * };
38
38
  * const command = new UpdateResourceProfileDetectionsCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param UpdateResourceProfileDetectionsCommandInput - {@link UpdateResourceProfileDetectionsCommandInput}
@@ -63,6 +65,8 @@ export interface UpdateResourceProfileDetectionsCommandOutput extends UpdateReso
63
65
  * @throws {@link ValidationException} (client fault)
64
66
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
65
67
  *
68
+ * @throws {@link Macie2ServiceException}
69
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
66
70
  *
67
71
  */
68
72
  export declare class UpdateResourceProfileDetectionsCommand extends $Command<UpdateResourceProfileDetectionsCommandInput, UpdateResourceProfileDetectionsCommandOutput, Macie2ClientResolvedConfig> {
@@ -34,6 +34,13 @@ export interface UpdateRevealConfigurationCommandOutput extends UpdateRevealConf
34
34
  * };
35
35
  * const command = new UpdateRevealConfigurationCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // UpdateRevealConfigurationResponse
38
+ * // configuration: { // RevealConfiguration
39
+ * // kmsKeyId: "STRING_VALUE",
40
+ * // status: "ENABLED" || "DISABLED", // required
41
+ * // },
42
+ * // };
43
+ *
37
44
  * ```
38
45
  *
39
46
  * @param UpdateRevealConfigurationCommandInput - {@link UpdateRevealConfigurationCommandInput}
@@ -54,6 +61,8 @@ export interface UpdateRevealConfigurationCommandOutput extends UpdateRevealConf
54
61
  * @throws {@link ValidationException} (client fault)
55
62
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
56
63
  *
64
+ * @throws {@link Macie2ServiceException}
65
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
57
66
  *
58
67
  */
59
68
  export declare class UpdateRevealConfigurationCommand extends $Command<UpdateRevealConfigurationCommandInput, UpdateRevealConfigurationCommandOutput, Macie2ClientResolvedConfig> {
@@ -48,6 +48,8 @@ export interface UpdateSensitivityInspectionTemplateCommandOutput extends Update
48
48
  * };
49
49
  * const command = new UpdateSensitivityInspectionTemplateCommand(input);
50
50
  * const response = await client.send(command);
51
+ * // {};
52
+ *
51
53
  * ```
52
54
  *
53
55
  * @param UpdateSensitivityInspectionTemplateCommandInput - {@link UpdateSensitivityInspectionTemplateCommandInput}
@@ -71,6 +73,8 @@ export interface UpdateSensitivityInspectionTemplateCommandOutput extends Update
71
73
  * @throws {@link ValidationException} (client fault)
72
74
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
73
75
  *
76
+ * @throws {@link Macie2ServiceException}
77
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
74
78
  *
75
79
  */
76
80
  export declare class UpdateSensitivityInspectionTemplateCommand extends $Command<UpdateSensitivityInspectionTemplateCommandInput, UpdateSensitivityInspectionTemplateCommandOutput, Macie2ClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-macie2",
3
3
  "description": "AWS SDK for JavaScript Macie2 Client for Node.js, Browser and React Native",
4
- "version": "3.325.0",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",