@aws-sdk/client-macie2 3.298.0 → 3.300.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AcceptInvitationCommand.d.ts +5 -0
- package/dist-types/commands/BatchGetCustomDataIdentifiersCommand.d.ts +5 -0
- package/dist-types/commands/CreateAllowListCommand.d.ts +15 -0
- package/dist-types/commands/CreateClassificationJobCommand.d.ts +136 -0
- package/dist-types/commands/CreateCustomDataIdentifierCommand.d.ts +22 -0
- package/dist-types/commands/CreateFindingsFilterCommand.d.ts +29 -0
- package/dist-types/commands/CreateInvitationsCommand.d.ts +7 -0
- package/dist-types/commands/CreateMemberCommand.d.ts +9 -0
- package/dist-types/commands/CreateSampleFindingsCommand.d.ts +5 -0
- package/dist-types/commands/DeclineInvitationsCommand.d.ts +5 -0
- package/dist-types/commands/DeleteAllowListCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCustomDataIdentifierCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFindingsFilterCommand.d.ts +3 -0
- package/dist-types/commands/DeleteInvitationsCommand.d.ts +5 -0
- package/dist-types/commands/DeleteMemberCommand.d.ts +3 -0
- package/dist-types/commands/DescribeBucketsCommand.d.ts +23 -0
- package/dist-types/commands/DescribeClassificationJobCommand.d.ts +3 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DisableMacieCommand.d.ts +1 -0
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateMemberCommand.d.ts +3 -0
- package/dist-types/commands/EnableMacieCommand.d.ts +5 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +4 -0
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetAllowListCommand.d.ts +3 -0
- package/dist-types/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketStatisticsCommand.d.ts +3 -0
- package/dist-types/commands/GetClassificationExportConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetClassificationScopeCommand.d.ts +3 -0
- package/dist-types/commands/GetCustomDataIdentifierCommand.d.ts +3 -0
- package/dist-types/commands/GetFindingStatisticsCommand.d.ts +27 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +9 -0
- package/dist-types/commands/GetFindingsFilterCommand.d.ts +3 -0
- package/dist-types/commands/GetFindingsPublicationConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -0
- package/dist-types/commands/GetMacieSessionCommand.d.ts +1 -0
- package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetMemberCommand.d.ts +3 -0
- package/dist-types/commands/GetResourceProfileCommand.d.ts +3 -0
- package/dist-types/commands/GetRevealConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetSensitiveDataOccurrencesAvailabilityCommand.d.ts +3 -0
- package/dist-types/commands/GetSensitiveDataOccurrencesCommand.d.ts +3 -0
- package/dist-types/commands/GetSensitivityInspectionTemplateCommand.d.ts +3 -0
- package/dist-types/commands/GetUsageStatisticsCommand.d.ts +18 -0
- package/dist-types/commands/GetUsageTotalsCommand.d.ts +3 -0
- package/dist-types/commands/ListAllowListsCommand.d.ts +4 -0
- package/dist-types/commands/ListClassificationJobsCommand.d.ts +28 -0
- package/dist-types/commands/ListClassificationScopesCommand.d.ts +4 -0
- package/dist-types/commands/ListCustomDataIdentifiersCommand.d.ts +4 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +27 -0
- package/dist-types/commands/ListFindingsFiltersCommand.d.ts +4 -0
- package/dist-types/commands/ListInvitationsCommand.d.ts +4 -0
- package/dist-types/commands/ListManagedDataIdentifiersCommand.d.ts +3 -0
- package/dist-types/commands/ListMembersCommand.d.ts +5 -0
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +4 -0
- package/dist-types/commands/ListResourceProfileArtifactsCommand.d.ts +4 -0
- package/dist-types/commands/ListResourceProfileDetectionsCommand.d.ts +5 -0
- package/dist-types/commands/ListSensitivityInspectionTemplatesCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PutClassificationExportConfigurationCommand.d.ts +9 -0
- package/dist-types/commands/PutFindingsPublicationConfigurationCommand.d.ts +7 -0
- package/dist-types/commands/SearchResourcesCommand.d.ts +54 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/TestCustomDataIdentifierCommand.d.ts +11 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAllowListCommand.d.ts +12 -0
- package/dist-types/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/UpdateClassificationJobCommand.d.ts +4 -0
- package/dist-types/commands/UpdateClassificationScopeCommand.d.ts +11 -0
- package/dist-types/commands/UpdateFindingsFilterCommand.d.ts +27 -0
- package/dist-types/commands/UpdateMacieSessionCommand.d.ts +4 -0
- package/dist-types/commands/UpdateMemberSessionCommand.d.ts +4 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/UpdateResourceProfileCommand.d.ts +4 -0
- package/dist-types/commands/UpdateResourceProfileDetectionsCommand.d.ts +9 -0
- package/dist-types/commands/UpdateRevealConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +20 -0
- package/package.json +12 -12
|
@@ -26,6 +26,11 @@ export interface AcceptInvitationCommandOutput extends AcceptInvitationResponse,
|
|
|
26
26
|
* import { Macie2Client, AcceptInvitationCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, AcceptInvitationCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* administratorAccountId: "STRING_VALUE",
|
|
31
|
+
* invitationId: "STRING_VALUE", // required
|
|
32
|
+
* masterAccount: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new AcceptInvitationCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface BatchGetCustomDataIdentifiersCommandOutput extends BatchGetCust
|
|
|
26
26
|
* import { Macie2Client, BatchGetCustomDataIdentifiersCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, BatchGetCustomDataIdentifiersCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ids: [
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* };
|
|
29
34
|
* const command = new BatchGetCustomDataIdentifiersCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,21 @@ export interface CreateAllowListCommandOutput extends CreateAllowListResponse, _
|
|
|
26
26
|
* import { Macie2Client, CreateAllowListCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, CreateAllowListCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* clientToken: "STRING_VALUE", // required
|
|
31
|
+
* criteria: {
|
|
32
|
+
* regex: "STRING_VALUE",
|
|
33
|
+
* s3WordsList: {
|
|
34
|
+
* bucketName: "STRING_VALUE", // required
|
|
35
|
+
* objectKey: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* },
|
|
38
|
+
* description: "STRING_VALUE",
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
|
+
* tags: {
|
|
41
|
+
* "<keys>": "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
29
44
|
* const command = new CreateAllowListCommand(input);
|
|
30
45
|
* const response = await client.send(command);
|
|
31
46
|
* ```
|
|
@@ -26,6 +26,142 @@ export interface CreateClassificationJobCommandOutput extends CreateClassificati
|
|
|
26
26
|
* import { Macie2Client, CreateClassificationJobCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, CreateClassificationJobCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* allowListIds: [
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* clientToken: "STRING_VALUE", // required
|
|
34
|
+
* customDataIdentifierIds: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* description: "STRING_VALUE",
|
|
38
|
+
* initialRun: true || false,
|
|
39
|
+
* jobType: "ONE_TIME" || "SCHEDULED", // required
|
|
40
|
+
* managedDataIdentifierIds: [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* managedDataIdentifierSelector: "ALL" || "EXCLUDE" || "INCLUDE" || "NONE",
|
|
44
|
+
* name: "STRING_VALUE", // required
|
|
45
|
+
* s3JobDefinition: {
|
|
46
|
+
* bucketCriteria: {
|
|
47
|
+
* excludes: {
|
|
48
|
+
* and: [
|
|
49
|
+
* {
|
|
50
|
+
* simpleCriterion: {
|
|
51
|
+
* comparator: "EQ" || "GT" || "GTE" || "LT" || "LTE" || "NE" || "CONTAINS" || "STARTS_WITH",
|
|
52
|
+
* key: "ACCOUNT_ID" || "S3_BUCKET_NAME" || "S3_BUCKET_EFFECTIVE_PERMISSION" || "S3_BUCKET_SHARED_ACCESS",
|
|
53
|
+
* values: [
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* tagCriterion: {
|
|
58
|
+
* comparator: "EQ" || "GT" || "GTE" || "LT" || "LTE" || "NE" || "CONTAINS" || "STARTS_WITH",
|
|
59
|
+
* tagValues: [
|
|
60
|
+
* {
|
|
61
|
+
* key: "STRING_VALUE",
|
|
62
|
+
* value: "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* },
|
|
69
|
+
* includes: {
|
|
70
|
+
* and: [
|
|
71
|
+
* {
|
|
72
|
+
* simpleCriterion: {
|
|
73
|
+
* comparator: "EQ" || "GT" || "GTE" || "LT" || "LTE" || "NE" || "CONTAINS" || "STARTS_WITH",
|
|
74
|
+
* key: "ACCOUNT_ID" || "S3_BUCKET_NAME" || "S3_BUCKET_EFFECTIVE_PERMISSION" || "S3_BUCKET_SHARED_ACCESS",
|
|
75
|
+
* values: [
|
|
76
|
+
* "STRING_VALUE",
|
|
77
|
+
* ],
|
|
78
|
+
* },
|
|
79
|
+
* tagCriterion: {
|
|
80
|
+
* comparator: "EQ" || "GT" || "GTE" || "LT" || "LTE" || "NE" || "CONTAINS" || "STARTS_WITH",
|
|
81
|
+
* tagValues: [
|
|
82
|
+
* {
|
|
83
|
+
* key: "STRING_VALUE",
|
|
84
|
+
* value: "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* ],
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* },
|
|
91
|
+
* },
|
|
92
|
+
* bucketDefinitions: [
|
|
93
|
+
* {
|
|
94
|
+
* accountId: "STRING_VALUE", // required
|
|
95
|
+
* buckets: [ // required
|
|
96
|
+
* "<__listOf__string>",
|
|
97
|
+
* ],
|
|
98
|
+
* },
|
|
99
|
+
* ],
|
|
100
|
+
* scoping: {
|
|
101
|
+
* excludes: {
|
|
102
|
+
* and: [
|
|
103
|
+
* {
|
|
104
|
+
* simpleScopeTerm: {
|
|
105
|
+
* comparator: "EQ" || "GT" || "GTE" || "LT" || "LTE" || "NE" || "CONTAINS" || "STARTS_WITH",
|
|
106
|
+
* key: "OBJECT_EXTENSION" || "OBJECT_LAST_MODIFIED_DATE" || "OBJECT_SIZE" || "OBJECT_KEY",
|
|
107
|
+
* values: [
|
|
108
|
+
* "<__listOf__string>",
|
|
109
|
+
* ],
|
|
110
|
+
* },
|
|
111
|
+
* tagScopeTerm: {
|
|
112
|
+
* comparator: "EQ" || "GT" || "GTE" || "LT" || "LTE" || "NE" || "CONTAINS" || "STARTS_WITH",
|
|
113
|
+
* key: "STRING_VALUE",
|
|
114
|
+
* tagValues: [
|
|
115
|
+
* {
|
|
116
|
+
* key: "STRING_VALUE",
|
|
117
|
+
* value: "STRING_VALUE",
|
|
118
|
+
* },
|
|
119
|
+
* ],
|
|
120
|
+
* target: "S3_OBJECT",
|
|
121
|
+
* },
|
|
122
|
+
* },
|
|
123
|
+
* ],
|
|
124
|
+
* },
|
|
125
|
+
* includes: {
|
|
126
|
+
* and: [
|
|
127
|
+
* {
|
|
128
|
+
* simpleScopeTerm: {
|
|
129
|
+
* comparator: "EQ" || "GT" || "GTE" || "LT" || "LTE" || "NE" || "CONTAINS" || "STARTS_WITH",
|
|
130
|
+
* key: "OBJECT_EXTENSION" || "OBJECT_LAST_MODIFIED_DATE" || "OBJECT_SIZE" || "OBJECT_KEY",
|
|
131
|
+
* values: [
|
|
132
|
+
* "<__listOf__string>",
|
|
133
|
+
* ],
|
|
134
|
+
* },
|
|
135
|
+
* tagScopeTerm: {
|
|
136
|
+
* comparator: "EQ" || "GT" || "GTE" || "LT" || "LTE" || "NE" || "CONTAINS" || "STARTS_WITH",
|
|
137
|
+
* key: "STRING_VALUE",
|
|
138
|
+
* tagValues: [
|
|
139
|
+
* {
|
|
140
|
+
* key: "STRING_VALUE",
|
|
141
|
+
* value: "STRING_VALUE",
|
|
142
|
+
* },
|
|
143
|
+
* ],
|
|
144
|
+
* target: "S3_OBJECT",
|
|
145
|
+
* },
|
|
146
|
+
* },
|
|
147
|
+
* ],
|
|
148
|
+
* },
|
|
149
|
+
* },
|
|
150
|
+
* },
|
|
151
|
+
* samplingPercentage: Number("int"),
|
|
152
|
+
* scheduleFrequency: {
|
|
153
|
+
* dailySchedule: {},
|
|
154
|
+
* monthlySchedule: {
|
|
155
|
+
* dayOfMonth: Number("int"),
|
|
156
|
+
* },
|
|
157
|
+
* weeklySchedule: {
|
|
158
|
+
* dayOfWeek: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY",
|
|
159
|
+
* },
|
|
160
|
+
* },
|
|
161
|
+
* tags: {
|
|
162
|
+
* "<keys>": "STRING_VALUE",
|
|
163
|
+
* },
|
|
164
|
+
* };
|
|
29
165
|
* const command = new CreateClassificationJobCommand(input);
|
|
30
166
|
* const response = await client.send(command);
|
|
31
167
|
* ```
|
|
@@ -26,6 +26,28 @@ export interface CreateCustomDataIdentifierCommandOutput extends CreateCustomDat
|
|
|
26
26
|
* import { Macie2Client, CreateCustomDataIdentifierCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, CreateCustomDataIdentifierCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* clientToken: "STRING_VALUE",
|
|
31
|
+
* description: "STRING_VALUE",
|
|
32
|
+
* ignoreWords: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* keywords: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* maximumMatchDistance: Number("int"),
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
|
+
* regex: "STRING_VALUE", // required
|
|
41
|
+
* severityLevels: [
|
|
42
|
+
* {
|
|
43
|
+
* occurrencesThreshold: Number("long"), // required
|
|
44
|
+
* severity: "LOW" || "MEDIUM" || "HIGH", // required
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* tags: {
|
|
48
|
+
* "<keys>": "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
29
51
|
* const command = new CreateCustomDataIdentifierCommand(input);
|
|
30
52
|
* const response = await client.send(command);
|
|
31
53
|
* ```
|
|
@@ -26,6 +26,35 @@ export interface CreateFindingsFilterCommandOutput extends CreateFindingsFilterR
|
|
|
26
26
|
* import { Macie2Client, CreateFindingsFilterCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, CreateFindingsFilterCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* action: "ARCHIVE" || "NOOP", // required
|
|
31
|
+
* clientToken: "STRING_VALUE",
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* findingCriteria: {
|
|
34
|
+
* criterion: {
|
|
35
|
+
* "<keys>": {
|
|
36
|
+
* eq: [
|
|
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
|
+
* name: "STRING_VALUE", // required
|
|
53
|
+
* position: Number("int"),
|
|
54
|
+
* tags: {
|
|
55
|
+
* "<keys>": "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* };
|
|
29
58
|
* const command = new CreateFindingsFilterCommand(input);
|
|
30
59
|
* const response = await client.send(command);
|
|
31
60
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface CreateInvitationsCommandOutput extends CreateInvitationsRespons
|
|
|
26
26
|
* import { Macie2Client, CreateInvitationsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, CreateInvitationsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* accountIds: [ // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* disableEmailNotification: true || false,
|
|
34
|
+
* message: "STRING_VALUE",
|
|
35
|
+
* };
|
|
29
36
|
* const command = new CreateInvitationsCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface CreateMemberCommandOutput extends CreateMemberResponse, __Metad
|
|
|
26
26
|
* import { Macie2Client, CreateMemberCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, CreateMemberCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* account: {
|
|
31
|
+
* accountId: "STRING_VALUE", // required
|
|
32
|
+
* email: "STRING_VALUE", // required
|
|
33
|
+
* },
|
|
34
|
+
* tags: {
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
29
38
|
* const command = new CreateMemberCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface CreateSampleFindingsCommandOutput extends CreateSampleFindingsR
|
|
|
26
26
|
* import { Macie2Client, CreateSampleFindingsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, CreateSampleFindingsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* findingTypes: [
|
|
31
|
+
* "SensitiveData:S3Object/Multiple" || "SensitiveData:S3Object/Financial" || "SensitiveData:S3Object/Personal" || "SensitiveData:S3Object/Credentials" || "SensitiveData:S3Object/CustomIdentifier" || "Policy:IAMUser/S3BucketPublic" || "Policy:IAMUser/S3BucketSharedExternally" || "Policy:IAMUser/S3BucketReplicatedExternally" || "Policy:IAMUser/S3BucketEncryptionDisabled" || "Policy:IAMUser/S3BlockPublicAccessDisabled" || "Policy:IAMUser/S3BucketSharedWithCloudFront",
|
|
32
|
+
* ],
|
|
33
|
+
* };
|
|
29
34
|
* const command = new CreateSampleFindingsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DeclineInvitationsCommandOutput extends DeclineInvitationsRespo
|
|
|
26
26
|
* import { Macie2Client, DeclineInvitationsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, DeclineInvitationsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* accountIds: [ // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DeclineInvitationsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteAllowListCommandOutput extends DeleteAllowListResponse, _
|
|
|
26
26
|
* import { Macie2Client, DeleteAllowListCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, DeleteAllowListCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* ignoreJobChecks: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteAllowListCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteCustomDataIdentifierCommandOutput extends DeleteCustomDat
|
|
|
26
26
|
* import { Macie2Client, DeleteCustomDataIdentifierCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, DeleteCustomDataIdentifierCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteCustomDataIdentifierCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteFindingsFilterCommandOutput extends DeleteFindingsFilterR
|
|
|
26
26
|
* import { Macie2Client, DeleteFindingsFilterCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, DeleteFindingsFilterCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteFindingsFilterCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DeleteInvitationsCommandOutput extends DeleteInvitationsRespons
|
|
|
26
26
|
* import { Macie2Client, DeleteInvitationsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, DeleteInvitationsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* accountIds: [ // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DeleteInvitationsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteMemberCommandOutput extends DeleteMemberResponse, __Metad
|
|
|
26
26
|
* import { Macie2Client, DeleteMemberCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, DeleteMemberCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteMemberCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,29 @@ export interface DescribeBucketsCommandOutput extends DescribeBucketsResponse, _
|
|
|
26
26
|
* import { Macie2Client, DescribeBucketsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, DescribeBucketsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* criteria: {
|
|
31
|
+
* "<keys>": {
|
|
32
|
+
* eq: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* gt: Number("long"),
|
|
36
|
+
* gte: Number("long"),
|
|
37
|
+
* lt: Number("long"),
|
|
38
|
+
* lte: Number("long"),
|
|
39
|
+
* neq: [
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* prefix: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* maxResults: Number("int"),
|
|
46
|
+
* nextToken: "STRING_VALUE",
|
|
47
|
+
* sortCriteria: {
|
|
48
|
+
* attributeName: "STRING_VALUE",
|
|
49
|
+
* orderBy: "ASC" || "DESC",
|
|
50
|
+
* },
|
|
51
|
+
* };
|
|
29
52
|
* const command = new DescribeBucketsCommand(input);
|
|
30
53
|
* const response = await client.send(command);
|
|
31
54
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeClassificationJobCommandOutput extends DescribeClassifi
|
|
|
26
26
|
* import { Macie2Client, DescribeClassificationJobCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, DescribeClassificationJobCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* jobId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeClassificationJobCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface DescribeOrganizationConfigurationCommandOutput extends Describe
|
|
|
26
26
|
* import { Macie2Client, DescribeOrganizationConfigurationCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, DescribeOrganizationConfigurationCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new DescribeOrganizationConfigurationCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface DisableMacieCommandOutput extends DisableMacieResponse, __Metad
|
|
|
26
26
|
* import { Macie2Client, DisableMacieCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, DisableMacieCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new DisableMacieCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DisableOrganizationAdminAccountCommandOutput extends DisableOrg
|
|
|
26
26
|
* import { Macie2Client, DisableOrganizationAdminAccountCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, DisableOrganizationAdminAccountCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* adminAccountId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DisableOrganizationAdminAccountCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface DisassociateFromAdministratorAccountCommandOutput extends Disas
|
|
|
26
26
|
* import { Macie2Client, DisassociateFromAdministratorAccountCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, DisassociateFromAdministratorAccountCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new DisassociateFromAdministratorAccountCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface DisassociateFromMasterAccountCommandOutput extends Disassociate
|
|
|
26
26
|
* import { Macie2Client, DisassociateFromMasterAccountCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, DisassociateFromMasterAccountCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new DisassociateFromMasterAccountCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DisassociateMemberCommandOutput extends DisassociateMemberRespo
|
|
|
26
26
|
* import { Macie2Client, DisassociateMemberCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, DisassociateMemberCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DisassociateMemberCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface EnableMacieCommandOutput extends EnableMacieResponse, __Metadat
|
|
|
26
26
|
* import { Macie2Client, EnableMacieCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, EnableMacieCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* clientToken: "STRING_VALUE",
|
|
31
|
+
* findingPublishingFrequency: "FIFTEEN_MINUTES" || "ONE_HOUR" || "SIX_HOURS",
|
|
32
|
+
* status: "PAUSED" || "ENABLED",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new EnableMacieCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface EnableOrganizationAdminAccountCommandOutput extends EnableOrgan
|
|
|
26
26
|
* import { Macie2Client, EnableOrganizationAdminAccountCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, EnableOrganizationAdminAccountCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* adminAccountId: "STRING_VALUE", // required
|
|
31
|
+
* clientToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new EnableOrganizationAdminAccountCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface GetAdministratorAccountCommandOutput extends GetAdministratorAc
|
|
|
26
26
|
* import { Macie2Client, GetAdministratorAccountCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, GetAdministratorAccountCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new GetAdministratorAccountCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetAllowListCommandOutput extends GetAllowListResponse, __Metad
|
|
|
26
26
|
* import { Macie2Client, GetAllowListCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, GetAllowListCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetAllowListCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface GetAutomatedDiscoveryConfigurationCommandOutput extends GetAuto
|
|
|
26
26
|
* import { Macie2Client, GetAutomatedDiscoveryConfigurationCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, GetAutomatedDiscoveryConfigurationCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new GetAutomatedDiscoveryConfigurationCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetBucketStatisticsCommandOutput extends GetBucketStatisticsRes
|
|
|
26
26
|
* import { Macie2Client, GetBucketStatisticsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, GetBucketStatisticsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* accountId: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetBucketStatisticsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface GetClassificationExportConfigurationCommandOutput extends GetCl
|
|
|
26
26
|
* import { Macie2Client, GetClassificationExportConfigurationCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, GetClassificationExportConfigurationCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new GetClassificationExportConfigurationCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetClassificationScopeCommandOutput extends GetClassificationSc
|
|
|
26
26
|
* import { Macie2Client, GetClassificationScopeCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, GetClassificationScopeCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetClassificationScopeCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetCustomDataIdentifierCommandOutput extends GetCustomDataIdent
|
|
|
26
26
|
* import { Macie2Client, GetCustomDataIdentifierCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, GetCustomDataIdentifierCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetCustomDataIdentifierCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,33 @@ export interface GetFindingStatisticsCommandOutput extends GetFindingStatisticsR
|
|
|
26
26
|
* import { Macie2Client, GetFindingStatisticsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, GetFindingStatisticsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* findingCriteria: {
|
|
31
|
+
* criterion: {
|
|
32
|
+
* "<keys>": {
|
|
33
|
+
* eq: [
|
|
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
|
+
* groupBy: "resourcesAffected.s3Bucket.name" || "type" || "classificationDetails.jobId" || "severity.description", // required
|
|
50
|
+
* size: Number("int"),
|
|
51
|
+
* sortCriteria: {
|
|
52
|
+
* attributeName: "groupKey" || "count",
|
|
53
|
+
* orderBy: "ASC" || "DESC",
|
|
54
|
+
* },
|
|
55
|
+
* };
|
|
29
56
|
* const command = new GetFindingStatisticsCommand(input);
|
|
30
57
|
* const response = await client.send(command);
|
|
31
58
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
|
|
|
26
26
|
* import { Macie2Client, GetFindingsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, GetFindingsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* findingIds: [ // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* sortCriteria: {
|
|
34
|
+
* attributeName: "STRING_VALUE",
|
|
35
|
+
* orderBy: "ASC" || "DESC",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
29
38
|
* const command = new GetFindingsCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetFindingsFilterCommandOutput extends GetFindingsFilterRespons
|
|
|
26
26
|
* import { Macie2Client, GetFindingsFilterCommand } from "@aws-sdk/client-macie2"; // ES Modules import
|
|
27
27
|
* // const { Macie2Client, GetFindingsFilterCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
|
|
28
28
|
* const client = new Macie2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetFindingsFilterCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|