@aws-sdk/client-macie2 3.299.0 → 3.301.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 +5 -0
  2. package/dist-types/commands/BatchGetCustomDataIdentifiersCommand.d.ts +5 -0
  3. package/dist-types/commands/CreateAllowListCommand.d.ts +15 -0
  4. package/dist-types/commands/CreateClassificationJobCommand.d.ts +130 -0
  5. package/dist-types/commands/CreateCustomDataIdentifierCommand.d.ts +22 -0
  6. package/dist-types/commands/CreateFindingsFilterCommand.d.ts +29 -0
  7. package/dist-types/commands/CreateInvitationsCommand.d.ts +7 -0
  8. package/dist-types/commands/CreateMemberCommand.d.ts +9 -0
  9. package/dist-types/commands/CreateSampleFindingsCommand.d.ts +5 -0
  10. package/dist-types/commands/DeclineInvitationsCommand.d.ts +5 -0
  11. package/dist-types/commands/DeleteAllowListCommand.d.ts +4 -0
  12. package/dist-types/commands/DeleteCustomDataIdentifierCommand.d.ts +3 -0
  13. package/dist-types/commands/DeleteFindingsFilterCommand.d.ts +3 -0
  14. package/dist-types/commands/DeleteInvitationsCommand.d.ts +5 -0
  15. package/dist-types/commands/DeleteMemberCommand.d.ts +3 -0
  16. package/dist-types/commands/DescribeBucketsCommand.d.ts +23 -0
  17. package/dist-types/commands/DescribeClassificationJobCommand.d.ts +3 -0
  18. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -0
  19. package/dist-types/commands/DisableMacieCommand.d.ts +1 -0
  20. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
  21. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +1 -0
  22. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +1 -0
  23. package/dist-types/commands/DisassociateMemberCommand.d.ts +3 -0
  24. package/dist-types/commands/EnableMacieCommand.d.ts +5 -0
  25. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +4 -0
  26. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -0
  27. package/dist-types/commands/GetAllowListCommand.d.ts +3 -0
  28. package/dist-types/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +1 -0
  29. package/dist-types/commands/GetBucketStatisticsCommand.d.ts +3 -0
  30. package/dist-types/commands/GetClassificationExportConfigurationCommand.d.ts +1 -0
  31. package/dist-types/commands/GetClassificationScopeCommand.d.ts +3 -0
  32. package/dist-types/commands/GetCustomDataIdentifierCommand.d.ts +3 -0
  33. package/dist-types/commands/GetFindingStatisticsCommand.d.ts +27 -0
  34. package/dist-types/commands/GetFindingsCommand.d.ts +9 -0
  35. package/dist-types/commands/GetFindingsFilterCommand.d.ts +3 -0
  36. package/dist-types/commands/GetFindingsPublicationConfigurationCommand.d.ts +1 -0
  37. package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -0
  38. package/dist-types/commands/GetMacieSessionCommand.d.ts +1 -0
  39. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -0
  40. package/dist-types/commands/GetMemberCommand.d.ts +3 -0
  41. package/dist-types/commands/GetResourceProfileCommand.d.ts +3 -0
  42. package/dist-types/commands/GetRevealConfigurationCommand.d.ts +1 -0
  43. package/dist-types/commands/GetSensitiveDataOccurrencesAvailabilityCommand.d.ts +3 -0
  44. package/dist-types/commands/GetSensitiveDataOccurrencesCommand.d.ts +3 -0
  45. package/dist-types/commands/GetSensitivityInspectionTemplateCommand.d.ts +3 -0
  46. package/dist-types/commands/GetUsageStatisticsCommand.d.ts +18 -0
  47. package/dist-types/commands/GetUsageTotalsCommand.d.ts +3 -0
  48. package/dist-types/commands/ListAllowListsCommand.d.ts +4 -0
  49. package/dist-types/commands/ListClassificationJobsCommand.d.ts +28 -0
  50. package/dist-types/commands/ListClassificationScopesCommand.d.ts +4 -0
  51. package/dist-types/commands/ListCustomDataIdentifiersCommand.d.ts +4 -0
  52. package/dist-types/commands/ListFindingsCommand.d.ts +27 -0
  53. package/dist-types/commands/ListFindingsFiltersCommand.d.ts +4 -0
  54. package/dist-types/commands/ListInvitationsCommand.d.ts +4 -0
  55. package/dist-types/commands/ListManagedDataIdentifiersCommand.d.ts +3 -0
  56. package/dist-types/commands/ListMembersCommand.d.ts +5 -0
  57. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +4 -0
  58. package/dist-types/commands/ListResourceProfileArtifactsCommand.d.ts +4 -0
  59. package/dist-types/commands/ListResourceProfileDetectionsCommand.d.ts +5 -0
  60. package/dist-types/commands/ListSensitivityInspectionTemplatesCommand.d.ts +4 -0
  61. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  62. package/dist-types/commands/PutClassificationExportConfigurationCommand.d.ts +9 -0
  63. package/dist-types/commands/PutFindingsPublicationConfigurationCommand.d.ts +7 -0
  64. package/dist-types/commands/SearchResourcesCommand.d.ts +54 -0
  65. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  66. package/dist-types/commands/TestCustomDataIdentifierCommand.d.ts +11 -0
  67. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  68. package/dist-types/commands/UpdateAllowListCommand.d.ts +12 -0
  69. package/dist-types/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +3 -0
  70. package/dist-types/commands/UpdateClassificationJobCommand.d.ts +4 -0
  71. package/dist-types/commands/UpdateClassificationScopeCommand.d.ts +11 -0
  72. package/dist-types/commands/UpdateFindingsFilterCommand.d.ts +27 -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 +3 -0
  76. package/dist-types/commands/UpdateResourceProfileCommand.d.ts +4 -0
  77. package/dist-types/commands/UpdateResourceProfileDetectionsCommand.d.ts +9 -0
  78. package/dist-types/commands/UpdateRevealConfigurationCommand.d.ts +6 -0
  79. package/dist-types/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +20 -0
  80. package/package.json +8 -8
@@ -26,6 +26,7 @@ export interface GetFindingsPublicationConfigurationCommandOutput extends GetFin
26
26
  * import { Macie2Client, GetFindingsPublicationConfigurationCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, GetFindingsPublicationConfigurationCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = {};
29
30
  * const command = new GetFindingsPublicationConfigurationCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -26,6 +26,7 @@ export interface GetInvitationsCountCommandOutput extends GetInvitationsCountRes
26
26
  * import { Macie2Client, GetInvitationsCountCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, GetInvitationsCountCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = {};
29
30
  * const command = new GetInvitationsCountCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -26,6 +26,7 @@ export interface GetMacieSessionCommandOutput extends GetMacieSessionResponse, _
26
26
  * import { Macie2Client, GetMacieSessionCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, GetMacieSessionCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = {};
29
30
  * const command = new GetMacieSessionCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -26,6 +26,7 @@ export interface GetMasterAccountCommandOutput extends GetMasterAccountResponse,
26
26
  * import { Macie2Client, GetMasterAccountCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, GetMasterAccountCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = {};
29
30
  * const command = new GetMasterAccountCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -26,6 +26,9 @@ export interface GetMemberCommandOutput extends GetMemberResponse, __MetadataBea
26
26
  * import { Macie2Client, GetMemberCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, GetMemberCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // GetMemberRequest
30
+ * id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetMemberCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetResourceProfileCommandOutput extends GetResourceProfileRespo
26
26
  * import { Macie2Client, GetResourceProfileCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, GetResourceProfileCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // GetResourceProfileRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetResourceProfileCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,7 @@ export interface GetRevealConfigurationCommandOutput extends GetRevealConfigurat
26
26
  * import { Macie2Client, GetRevealConfigurationCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, GetRevealConfigurationCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = {};
29
30
  * const command = new GetRevealConfigurationCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -26,6 +26,9 @@ export interface GetSensitiveDataOccurrencesAvailabilityCommandOutput extends Ge
26
26
  * import { Macie2Client, GetSensitiveDataOccurrencesAvailabilityCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, GetSensitiveDataOccurrencesAvailabilityCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // GetSensitiveDataOccurrencesAvailabilityRequest
30
+ * findingId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetSensitiveDataOccurrencesAvailabilityCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetSensitiveDataOccurrencesCommandOutput extends GetSensitiveDa
26
26
  * import { Macie2Client, GetSensitiveDataOccurrencesCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, GetSensitiveDataOccurrencesCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // GetSensitiveDataOccurrencesRequest
30
+ * findingId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetSensitiveDataOccurrencesCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetSensitivityInspectionTemplateCommandOutput extends GetSensit
26
26
  * import { Macie2Client, GetSensitivityInspectionTemplateCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, GetSensitivityInspectionTemplateCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // GetSensitivityInspectionTemplateRequest
30
+ * id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetSensitivityInspectionTemplateCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,24 @@ export interface GetUsageStatisticsCommandOutput extends GetUsageStatisticsRespo
26
26
  * import { Macie2Client, GetUsageStatisticsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, GetUsageStatisticsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // GetUsageStatisticsRequest
30
+ * filterBy: [ // __listOfUsageStatisticsFilter
31
+ * { // UsageStatisticsFilter
32
+ * comparator: "GT" || "GTE" || "LT" || "LTE" || "EQ" || "NE" || "CONTAINS",
33
+ * key: "accountId" || "serviceLimit" || "freeTrialStartDate" || "total",
34
+ * values: [ // __listOf__string
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * },
38
+ * ],
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * sortBy: { // UsageStatisticsSortBy
42
+ * key: "accountId" || "total" || "serviceLimitValue" || "freeTrialStartDate",
43
+ * orderBy: "ASC" || "DESC",
44
+ * },
45
+ * timeRange: "MONTH_TO_DATE" || "PAST_30_DAYS",
46
+ * };
29
47
  * const command = new GetUsageStatisticsCommand(input);
30
48
  * const response = await client.send(command);
31
49
  * ```
@@ -26,6 +26,9 @@ export interface GetUsageTotalsCommandOutput extends GetUsageTotalsResponse, __M
26
26
  * import { Macie2Client, GetUsageTotalsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, GetUsageTotalsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // GetUsageTotalsRequest
30
+ * timeRange: "STRING_VALUE",
31
+ * };
29
32
  * const command = new GetUsageTotalsCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface ListAllowListsCommandOutput extends ListAllowListsResponse, __M
26
26
  * import { Macie2Client, ListAllowListsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, ListAllowListsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // ListAllowListsRequest
30
+ * maxResults: Number("int"),
31
+ * nextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new ListAllowListsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,34 @@ export interface ListClassificationJobsCommandOutput extends ListClassificationJ
26
26
  * import { Macie2Client, ListClassificationJobsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, ListClassificationJobsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // ListClassificationJobsRequest
30
+ * filterCriteria: { // ListJobsFilterCriteria
31
+ * excludes: [ // __listOfListJobsFilterTerm
32
+ * { // ListJobsFilterTerm
33
+ * comparator: "EQ" || "GT" || "GTE" || "LT" || "LTE" || "NE" || "CONTAINS" || "STARTS_WITH",
34
+ * key: "jobType" || "jobStatus" || "createdAt" || "name",
35
+ * values: [ // __listOf__string
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * },
39
+ * ],
40
+ * includes: [
41
+ * {
42
+ * comparator: "EQ" || "GT" || "GTE" || "LT" || "LTE" || "NE" || "CONTAINS" || "STARTS_WITH",
43
+ * key: "jobType" || "jobStatus" || "createdAt" || "name",
44
+ * values: [
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * },
48
+ * ],
49
+ * },
50
+ * maxResults: Number("int"),
51
+ * nextToken: "STRING_VALUE",
52
+ * sortCriteria: { // ListJobsSortCriteria
53
+ * attributeName: "createdAt" || "jobStatus" || "name" || "jobType",
54
+ * orderBy: "ASC" || "DESC",
55
+ * },
56
+ * };
29
57
  * const command = new ListClassificationJobsCommand(input);
30
58
  * const response = await client.send(command);
31
59
  * ```
@@ -26,6 +26,10 @@ export interface ListClassificationScopesCommandOutput extends ListClassificatio
26
26
  * import { Macie2Client, ListClassificationScopesCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, ListClassificationScopesCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // ListClassificationScopesRequest
30
+ * name: "STRING_VALUE",
31
+ * nextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new ListClassificationScopesCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface ListCustomDataIdentifiersCommandOutput extends ListCustomDataId
26
26
  * import { Macie2Client, ListCustomDataIdentifiersCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, ListCustomDataIdentifiersCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // ListCustomDataIdentifiersRequest
30
+ * maxResults: Number("int"),
31
+ * nextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new ListCustomDataIdentifiersCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,33 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
26
26
  * import { Macie2Client, ListFindingsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, ListFindingsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // ListFindingsRequest
30
+ * findingCriteria: { // FindingCriteria
31
+ * criterion: { // Criterion
32
+ * "<keys>": { // CriterionAdditionalProperties
33
+ * eq: [ // __listOf__string
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * eqExactMatch: [
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * gt: Number("long"),
40
+ * gte: Number("long"),
41
+ * lt: Number("long"),
42
+ * lte: Number("long"),
43
+ * neq: [
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * },
47
+ * },
48
+ * },
49
+ * maxResults: Number("int"),
50
+ * nextToken: "STRING_VALUE",
51
+ * sortCriteria: { // SortCriteria
52
+ * attributeName: "STRING_VALUE",
53
+ * orderBy: "ASC" || "DESC",
54
+ * },
55
+ * };
29
56
  * const command = new ListFindingsCommand(input);
30
57
  * const response = await client.send(command);
31
58
  * ```
@@ -26,6 +26,10 @@ export interface ListFindingsFiltersCommandOutput extends ListFindingsFiltersRes
26
26
  * import { Macie2Client, ListFindingsFiltersCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, ListFindingsFiltersCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // ListFindingsFiltersRequest
30
+ * maxResults: Number("int"),
31
+ * nextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new ListFindingsFiltersCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface ListInvitationsCommandOutput extends ListInvitationsResponse, _
26
26
  * import { Macie2Client, ListInvitationsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, ListInvitationsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // ListInvitationsRequest
30
+ * maxResults: Number("int"),
31
+ * nextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new ListInvitationsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface ListManagedDataIdentifiersCommandOutput extends ListManagedData
26
26
  * import { Macie2Client, ListManagedDataIdentifiersCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, ListManagedDataIdentifiersCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // ListManagedDataIdentifiersRequest
30
+ * nextToken: "STRING_VALUE",
31
+ * };
29
32
  * const command = new ListManagedDataIdentifiersCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,11 @@ export interface ListMembersCommandOutput extends ListMembersResponse, __Metadat
26
26
  * import { Macie2Client, ListMembersCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, ListMembersCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // ListMembersRequest
30
+ * maxResults: Number("int"),
31
+ * nextToken: "STRING_VALUE",
32
+ * onlyAssociated: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListMembersCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface ListOrganizationAdminAccountsCommandOutput extends ListOrganiza
26
26
  * import { Macie2Client, ListOrganizationAdminAccountsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, ListOrganizationAdminAccountsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // ListOrganizationAdminAccountsRequest
30
+ * maxResults: Number("int"),
31
+ * nextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new ListOrganizationAdminAccountsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface ListResourceProfileArtifactsCommandOutput extends ListResourceP
26
26
  * import { Macie2Client, ListResourceProfileArtifactsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, ListResourceProfileArtifactsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // ListResourceProfileArtifactsRequest
30
+ * nextToken: "STRING_VALUE",
31
+ * resourceArn: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new ListResourceProfileArtifactsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface ListResourceProfileDetectionsCommandOutput extends ListResource
26
26
  * import { Macie2Client, ListResourceProfileDetectionsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, ListResourceProfileDetectionsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // ListResourceProfileDetectionsRequest
30
+ * maxResults: Number("int"),
31
+ * nextToken: "STRING_VALUE",
32
+ * resourceArn: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new ListResourceProfileDetectionsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface ListSensitivityInspectionTemplatesCommandOutput extends ListSen
26
26
  * import { Macie2Client, ListSensitivityInspectionTemplatesCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, ListSensitivityInspectionTemplatesCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // ListSensitivityInspectionTemplatesRequest
30
+ * maxResults: Number("int"),
31
+ * nextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new ListSensitivityInspectionTemplatesCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { Macie2Client, ListTagsForResourceCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, ListTagsForResourceCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,15 @@ export interface PutClassificationExportConfigurationCommandOutput extends PutCl
26
26
  * import { Macie2Client, PutClassificationExportConfigurationCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, PutClassificationExportConfigurationCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // PutClassificationExportConfigurationRequest
30
+ * configuration: { // ClassificationExportConfiguration
31
+ * s3Destination: { // S3Destination
32
+ * bucketName: "STRING_VALUE", // required
33
+ * keyPrefix: "STRING_VALUE",
34
+ * kmsKeyArn: "STRING_VALUE", // required
35
+ * },
36
+ * },
37
+ * };
29
38
  * const command = new PutClassificationExportConfigurationCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,13 @@ export interface PutFindingsPublicationConfigurationCommandOutput extends PutFin
26
26
  * import { Macie2Client, PutFindingsPublicationConfigurationCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, PutFindingsPublicationConfigurationCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // PutFindingsPublicationConfigurationRequest
30
+ * clientToken: "STRING_VALUE",
31
+ * securityHubConfiguration: { // SecurityHubConfiguration
32
+ * publishClassificationFindings: true || false, // required
33
+ * publishPolicyFindings: true || false, // required
34
+ * },
35
+ * };
29
36
  * const command = new PutFindingsPublicationConfigurationCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,60 @@ export interface SearchResourcesCommandOutput extends SearchResourcesResponse, _
26
26
  * import { Macie2Client, SearchResourcesCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, SearchResourcesCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // SearchResourcesRequest
30
+ * bucketCriteria: { // SearchResourcesBucketCriteria
31
+ * excludes: { // SearchResourcesCriteriaBlock
32
+ * and: [ // __listOfSearchResourcesCriteria
33
+ * { // SearchResourcesCriteria
34
+ * simpleCriterion: { // SearchResourcesSimpleCriterion
35
+ * comparator: "EQ" || "NE",
36
+ * key: "ACCOUNT_ID" || "S3_BUCKET_NAME" || "S3_BUCKET_EFFECTIVE_PERMISSION" || "S3_BUCKET_SHARED_ACCESS",
37
+ * values: [ // __listOf__string
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * },
41
+ * tagCriterion: { // SearchResourcesTagCriterion
42
+ * comparator: "EQ" || "NE",
43
+ * tagValues: [ // __listOfSearchResourcesTagCriterionPair
44
+ * { // SearchResourcesTagCriterionPair
45
+ * key: "STRING_VALUE",
46
+ * value: "STRING_VALUE",
47
+ * },
48
+ * ],
49
+ * },
50
+ * },
51
+ * ],
52
+ * },
53
+ * includes: {
54
+ * and: [
55
+ * {
56
+ * simpleCriterion: {
57
+ * comparator: "EQ" || "NE",
58
+ * key: "ACCOUNT_ID" || "S3_BUCKET_NAME" || "S3_BUCKET_EFFECTIVE_PERMISSION" || "S3_BUCKET_SHARED_ACCESS",
59
+ * values: [
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * },
63
+ * tagCriterion: {
64
+ * comparator: "EQ" || "NE",
65
+ * tagValues: [
66
+ * {
67
+ * key: "STRING_VALUE",
68
+ * value: "STRING_VALUE",
69
+ * },
70
+ * ],
71
+ * },
72
+ * },
73
+ * ],
74
+ * },
75
+ * },
76
+ * maxResults: Number("int"),
77
+ * nextToken: "STRING_VALUE",
78
+ * sortCriteria: { // SearchResourcesSortCriteria
79
+ * attributeName: "ACCOUNT_ID" || "RESOURCE_NAME" || "S3_CLASSIFIABLE_OBJECT_COUNT" || "S3_CLASSIFIABLE_SIZE_IN_BYTES",
80
+ * orderBy: "ASC" || "DESC",
81
+ * },
82
+ * };
29
83
  * const command = new SearchResourcesCommand(input);
30
84
  * const response = await client.send(command);
31
85
  * ```
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { Macie2Client, TagResourceCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, TagResourceCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // TagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tags: { // TagMap // required
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * };
29
35
  * const command = new TagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,17 @@ export interface TestCustomDataIdentifierCommandOutput extends TestCustomDataIde
26
26
  * import { Macie2Client, TestCustomDataIdentifierCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, TestCustomDataIdentifierCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // TestCustomDataIdentifierRequest
30
+ * ignoreWords: [ // __listOf__string
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * keywords: [
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * maximumMatchDistance: Number("int"),
37
+ * regex: "STRING_VALUE", // required
38
+ * sampleText: "STRING_VALUE", // required
39
+ * };
29
40
  * const command = new TestCustomDataIdentifierCommand(input);
30
41
  * const response = await client.send(command);
31
42
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { Macie2Client, UntagResourceCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, UntagResourceCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // UntagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // __listOf__string // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,18 @@ export interface UpdateAllowListCommandOutput extends UpdateAllowListResponse, _
26
26
  * import { Macie2Client, UpdateAllowListCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, UpdateAllowListCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // UpdateAllowListRequest
30
+ * criteria: { // AllowListCriteria
31
+ * regex: "STRING_VALUE",
32
+ * s3WordsList: { // S3WordsList
33
+ * bucketName: "STRING_VALUE", // required
34
+ * objectKey: "STRING_VALUE", // required
35
+ * },
36
+ * },
37
+ * description: "STRING_VALUE",
38
+ * id: "STRING_VALUE", // required
39
+ * name: "STRING_VALUE", // required
40
+ * };
29
41
  * const command = new UpdateAllowListCommand(input);
30
42
  * const response = await client.send(command);
31
43
  * ```
@@ -26,6 +26,9 @@ export interface UpdateAutomatedDiscoveryConfigurationCommandOutput extends Upda
26
26
  * import { Macie2Client, UpdateAutomatedDiscoveryConfigurationCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, UpdateAutomatedDiscoveryConfigurationCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // UpdateAutomatedDiscoveryConfigurationRequest
30
+ * status: "ENABLED" || "DISABLED", // required
31
+ * };
29
32
  * const command = new UpdateAutomatedDiscoveryConfigurationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface UpdateClassificationJobCommandOutput extends UpdateClassificati
26
26
  * import { Macie2Client, UpdateClassificationJobCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, UpdateClassificationJobCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // UpdateClassificationJobRequest
30
+ * jobId: "STRING_VALUE", // required
31
+ * jobStatus: "RUNNING" || "PAUSED" || "CANCELLED" || "COMPLETE" || "IDLE" || "USER_PAUSED", // required
32
+ * };
29
33
  * const command = new UpdateClassificationJobCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,17 @@ export interface UpdateClassificationScopeCommandOutput extends UpdateClassifica
26
26
  * import { Macie2Client, UpdateClassificationScopeCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, UpdateClassificationScopeCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // UpdateClassificationScopeRequest
30
+ * id: "STRING_VALUE", // required
31
+ * s3: { // S3ClassificationScopeUpdate
32
+ * excludes: { // S3ClassificationScopeExclusionUpdate
33
+ * bucketNames: [ // __listOfS3BucketName // required
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * operation: "ADD" || "REPLACE" || "REMOVE", // required
37
+ * },
38
+ * },
39
+ * };
29
40
  * const command = new UpdateClassificationScopeCommand(input);
30
41
  * const response = await client.send(command);
31
42
  * ```
@@ -26,6 +26,33 @@ export interface UpdateFindingsFilterCommandOutput extends UpdateFindingsFilterR
26
26
  * import { Macie2Client, UpdateFindingsFilterCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, UpdateFindingsFilterCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // UpdateFindingsFilterRequest
30
+ * action: "ARCHIVE" || "NOOP",
31
+ * clientToken: "STRING_VALUE",
32
+ * description: "STRING_VALUE",
33
+ * findingCriteria: { // FindingCriteria
34
+ * criterion: { // Criterion
35
+ * "<keys>": { // CriterionAdditionalProperties
36
+ * eq: [ // __listOf__string
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * eqExactMatch: [
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * gt: Number("long"),
43
+ * gte: Number("long"),
44
+ * lt: Number("long"),
45
+ * lte: Number("long"),
46
+ * neq: [
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * },
50
+ * },
51
+ * },
52
+ * id: "STRING_VALUE", // required
53
+ * name: "STRING_VALUE",
54
+ * position: Number("int"),
55
+ * };
29
56
  * const command = new UpdateFindingsFilterCommand(input);
30
57
  * const response = await client.send(command);
31
58
  * ```
@@ -26,6 +26,10 @@ export interface UpdateMacieSessionCommandOutput extends UpdateMacieSessionRespo
26
26
  * import { Macie2Client, UpdateMacieSessionCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, UpdateMacieSessionCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // UpdateMacieSessionRequest
30
+ * findingPublishingFrequency: "FIFTEEN_MINUTES" || "ONE_HOUR" || "SIX_HOURS",
31
+ * status: "PAUSED" || "ENABLED",
32
+ * };
29
33
  * const command = new UpdateMacieSessionCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface UpdateMemberSessionCommandOutput extends UpdateMemberSessionRes
26
26
  * import { Macie2Client, UpdateMemberSessionCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, UpdateMemberSessionCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // UpdateMemberSessionRequest
30
+ * id: "STRING_VALUE", // required
31
+ * status: "PAUSED" || "ENABLED", // required
32
+ * };
29
33
  * const command = new UpdateMemberSessionCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
26
26
  * import { Macie2Client, UpdateOrganizationConfigurationCommand } from "@aws-sdk/client-macie2"; // ES Modules import
27
27
  * // const { Macie2Client, UpdateOrganizationConfigurationCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
28
28
  * const client = new Macie2Client(config);
29
+ * const input = { // UpdateOrganizationConfigurationRequest
30
+ * autoEnable: true || false, // required
31
+ * };
29
32
  * const command = new UpdateOrganizationConfigurationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```