@aws-sdk/client-macie2 3.325.0 → 3.327.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 +7 -7
@@ -37,6 +37,314 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
37
37
  * };
38
38
  * const command = new GetFindingsCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // GetFindingsResponse
41
+ * // findings: [ // __listOfFinding
42
+ * // { // Finding
43
+ * // accountId: "STRING_VALUE",
44
+ * // archived: true || false,
45
+ * // category: "CLASSIFICATION" || "POLICY",
46
+ * // classificationDetails: { // ClassificationDetails
47
+ * // detailedResultsLocation: "STRING_VALUE",
48
+ * // jobArn: "STRING_VALUE",
49
+ * // jobId: "STRING_VALUE",
50
+ * // originType: "SENSITIVE_DATA_DISCOVERY_JOB" || "AUTOMATED_SENSITIVE_DATA_DISCOVERY",
51
+ * // result: { // ClassificationResult
52
+ * // additionalOccurrences: true || false,
53
+ * // customDataIdentifiers: { // CustomDataIdentifiers
54
+ * // detections: [ // CustomDetections
55
+ * // { // CustomDetection
56
+ * // arn: "STRING_VALUE",
57
+ * // count: Number("long"),
58
+ * // name: "STRING_VALUE",
59
+ * // occurrences: { // Occurrences
60
+ * // cells: [ // Cells
61
+ * // { // Cell
62
+ * // cellReference: "STRING_VALUE",
63
+ * // column: Number("long"),
64
+ * // columnName: "STRING_VALUE",
65
+ * // row: Number("long"),
66
+ * // },
67
+ * // ],
68
+ * // lineRanges: [ // Ranges
69
+ * // { // Range
70
+ * // end: Number("long"),
71
+ * // start: Number("long"),
72
+ * // startColumn: Number("long"),
73
+ * // },
74
+ * // ],
75
+ * // offsetRanges: [
76
+ * // {
77
+ * // end: Number("long"),
78
+ * // start: Number("long"),
79
+ * // startColumn: Number("long"),
80
+ * // },
81
+ * // ],
82
+ * // pages: [ // Pages
83
+ * // { // Page
84
+ * // lineRange: {
85
+ * // end: Number("long"),
86
+ * // start: Number("long"),
87
+ * // startColumn: Number("long"),
88
+ * // },
89
+ * // offsetRange: {
90
+ * // end: Number("long"),
91
+ * // start: Number("long"),
92
+ * // startColumn: Number("long"),
93
+ * // },
94
+ * // pageNumber: Number("long"),
95
+ * // },
96
+ * // ],
97
+ * // records: [ // Records
98
+ * // { // Record
99
+ * // jsonPath: "STRING_VALUE",
100
+ * // recordIndex: Number("long"),
101
+ * // },
102
+ * // ],
103
+ * // },
104
+ * // },
105
+ * // ],
106
+ * // totalCount: Number("long"),
107
+ * // },
108
+ * // mimeType: "STRING_VALUE",
109
+ * // sensitiveData: [ // SensitiveData
110
+ * // { // SensitiveDataItem
111
+ * // category: "FINANCIAL_INFORMATION" || "PERSONAL_INFORMATION" || "CREDENTIALS" || "CUSTOM_IDENTIFIER",
112
+ * // detections: [ // DefaultDetections
113
+ * // { // DefaultDetection
114
+ * // count: Number("long"),
115
+ * // occurrences: {
116
+ * // cells: [
117
+ * // {
118
+ * // cellReference: "STRING_VALUE",
119
+ * // column: Number("long"),
120
+ * // columnName: "STRING_VALUE",
121
+ * // row: Number("long"),
122
+ * // },
123
+ * // ],
124
+ * // lineRanges: [
125
+ * // {
126
+ * // end: Number("long"),
127
+ * // start: Number("long"),
128
+ * // startColumn: Number("long"),
129
+ * // },
130
+ * // ],
131
+ * // offsetRanges: [
132
+ * // "<Range>",
133
+ * // ],
134
+ * // pages: [
135
+ * // {
136
+ * // lineRange: "<Range>",
137
+ * // offsetRange: "<Range>",
138
+ * // pageNumber: Number("long"),
139
+ * // },
140
+ * // ],
141
+ * // records: [
142
+ * // {
143
+ * // jsonPath: "STRING_VALUE",
144
+ * // recordIndex: Number("long"),
145
+ * // },
146
+ * // ],
147
+ * // },
148
+ * // type: "STRING_VALUE",
149
+ * // },
150
+ * // ],
151
+ * // totalCount: Number("long"),
152
+ * // },
153
+ * // ],
154
+ * // sizeClassified: Number("long"),
155
+ * // status: { // ClassificationResultStatus
156
+ * // code: "STRING_VALUE",
157
+ * // reason: "STRING_VALUE",
158
+ * // },
159
+ * // },
160
+ * // },
161
+ * // count: Number("long"),
162
+ * // createdAt: new Date("TIMESTAMP"),
163
+ * // description: "STRING_VALUE",
164
+ * // id: "STRING_VALUE",
165
+ * // partition: "STRING_VALUE",
166
+ * // policyDetails: { // PolicyDetails
167
+ * // action: { // FindingAction
168
+ * // actionType: "AWS_API_CALL",
169
+ * // apiCallDetails: { // ApiCallDetails
170
+ * // api: "STRING_VALUE",
171
+ * // apiServiceName: "STRING_VALUE",
172
+ * // firstSeen: new Date("TIMESTAMP"),
173
+ * // lastSeen: new Date("TIMESTAMP"),
174
+ * // },
175
+ * // },
176
+ * // actor: { // FindingActor
177
+ * // domainDetails: { // DomainDetails
178
+ * // domainName: "STRING_VALUE",
179
+ * // },
180
+ * // ipAddressDetails: { // IpAddressDetails
181
+ * // ipAddressV4: "STRING_VALUE",
182
+ * // ipCity: { // IpCity
183
+ * // name: "STRING_VALUE",
184
+ * // },
185
+ * // ipCountry: { // IpCountry
186
+ * // code: "STRING_VALUE",
187
+ * // name: "STRING_VALUE",
188
+ * // },
189
+ * // ipGeoLocation: { // IpGeoLocation
190
+ * // lat: Number("double"),
191
+ * // lon: Number("double"),
192
+ * // },
193
+ * // ipOwner: { // IpOwner
194
+ * // asn: "STRING_VALUE",
195
+ * // asnOrg: "STRING_VALUE",
196
+ * // isp: "STRING_VALUE",
197
+ * // org: "STRING_VALUE",
198
+ * // },
199
+ * // },
200
+ * // userIdentity: { // UserIdentity
201
+ * // assumedRole: { // AssumedRole
202
+ * // accessKeyId: "STRING_VALUE",
203
+ * // accountId: "STRING_VALUE",
204
+ * // arn: "STRING_VALUE",
205
+ * // principalId: "STRING_VALUE",
206
+ * // sessionContext: { // SessionContext
207
+ * // attributes: { // SessionContextAttributes
208
+ * // creationDate: new Date("TIMESTAMP"),
209
+ * // mfaAuthenticated: true || false,
210
+ * // },
211
+ * // sessionIssuer: { // SessionIssuer
212
+ * // accountId: "STRING_VALUE",
213
+ * // arn: "STRING_VALUE",
214
+ * // principalId: "STRING_VALUE",
215
+ * // type: "STRING_VALUE",
216
+ * // userName: "STRING_VALUE",
217
+ * // },
218
+ * // },
219
+ * // },
220
+ * // awsAccount: { // AwsAccount
221
+ * // accountId: "STRING_VALUE",
222
+ * // principalId: "STRING_VALUE",
223
+ * // },
224
+ * // awsService: { // AwsService
225
+ * // invokedBy: "STRING_VALUE",
226
+ * // },
227
+ * // federatedUser: { // FederatedUser
228
+ * // accessKeyId: "STRING_VALUE",
229
+ * // accountId: "STRING_VALUE",
230
+ * // arn: "STRING_VALUE",
231
+ * // principalId: "STRING_VALUE",
232
+ * // sessionContext: {
233
+ * // attributes: {
234
+ * // creationDate: new Date("TIMESTAMP"),
235
+ * // mfaAuthenticated: true || false,
236
+ * // },
237
+ * // sessionIssuer: {
238
+ * // accountId: "STRING_VALUE",
239
+ * // arn: "STRING_VALUE",
240
+ * // principalId: "STRING_VALUE",
241
+ * // type: "STRING_VALUE",
242
+ * // userName: "STRING_VALUE",
243
+ * // },
244
+ * // },
245
+ * // },
246
+ * // iamUser: { // IamUser
247
+ * // accountId: "STRING_VALUE",
248
+ * // arn: "STRING_VALUE",
249
+ * // principalId: "STRING_VALUE",
250
+ * // userName: "STRING_VALUE",
251
+ * // },
252
+ * // root: { // UserIdentityRoot
253
+ * // accountId: "STRING_VALUE",
254
+ * // arn: "STRING_VALUE",
255
+ * // principalId: "STRING_VALUE",
256
+ * // },
257
+ * // type: "AssumedRole" || "IAMUser" || "FederatedUser" || "Root" || "AWSAccount" || "AWSService",
258
+ * // },
259
+ * // },
260
+ * // },
261
+ * // region: "STRING_VALUE",
262
+ * // resourcesAffected: { // ResourcesAffected
263
+ * // s3Bucket: { // S3Bucket
264
+ * // allowsUnencryptedObjectUploads: "TRUE" || "FALSE" || "UNKNOWN",
265
+ * // arn: "STRING_VALUE",
266
+ * // createdAt: new Date("TIMESTAMP"),
267
+ * // defaultServerSideEncryption: { // ServerSideEncryption
268
+ * // encryptionType: "NONE" || "AES256" || "aws:kms" || "UNKNOWN",
269
+ * // kmsMasterKeyId: "STRING_VALUE",
270
+ * // },
271
+ * // name: "STRING_VALUE",
272
+ * // owner: { // S3BucketOwner
273
+ * // displayName: "STRING_VALUE",
274
+ * // id: "STRING_VALUE",
275
+ * // },
276
+ * // publicAccess: { // BucketPublicAccess
277
+ * // effectivePermission: "PUBLIC" || "NOT_PUBLIC" || "UNKNOWN",
278
+ * // permissionConfiguration: { // BucketPermissionConfiguration
279
+ * // accountLevelPermissions: { // AccountLevelPermissions
280
+ * // blockPublicAccess: { // BlockPublicAccess
281
+ * // blockPublicAcls: true || false,
282
+ * // blockPublicPolicy: true || false,
283
+ * // ignorePublicAcls: true || false,
284
+ * // restrictPublicBuckets: true || false,
285
+ * // },
286
+ * // },
287
+ * // bucketLevelPermissions: { // BucketLevelPermissions
288
+ * // accessControlList: { // AccessControlList
289
+ * // allowsPublicReadAccess: true || false,
290
+ * // allowsPublicWriteAccess: true || false,
291
+ * // },
292
+ * // blockPublicAccess: {
293
+ * // blockPublicAcls: true || false,
294
+ * // blockPublicPolicy: true || false,
295
+ * // ignorePublicAcls: true || false,
296
+ * // restrictPublicBuckets: true || false,
297
+ * // },
298
+ * // bucketPolicy: { // BucketPolicy
299
+ * // allowsPublicReadAccess: true || false,
300
+ * // allowsPublicWriteAccess: true || false,
301
+ * // },
302
+ * // },
303
+ * // },
304
+ * // },
305
+ * // tags: [ // KeyValuePairList
306
+ * // { // KeyValuePair
307
+ * // key: "STRING_VALUE",
308
+ * // value: "STRING_VALUE",
309
+ * // },
310
+ * // ],
311
+ * // },
312
+ * // s3Object: { // S3Object
313
+ * // bucketArn: "STRING_VALUE",
314
+ * // eTag: "STRING_VALUE",
315
+ * // extension: "STRING_VALUE",
316
+ * // key: "STRING_VALUE",
317
+ * // lastModified: new Date("TIMESTAMP"),
318
+ * // path: "STRING_VALUE",
319
+ * // publicAccess: true || false,
320
+ * // serverSideEncryption: {
321
+ * // encryptionType: "NONE" || "AES256" || "aws:kms" || "UNKNOWN",
322
+ * // kmsMasterKeyId: "STRING_VALUE",
323
+ * // },
324
+ * // size: Number("long"),
325
+ * // storageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE" || "ONEZONE_IA" || "GLACIER" || "GLACIER_IR" || "OUTPOSTS",
326
+ * // tags: [
327
+ * // {
328
+ * // key: "STRING_VALUE",
329
+ * // value: "STRING_VALUE",
330
+ * // },
331
+ * // ],
332
+ * // versionId: "STRING_VALUE",
333
+ * // },
334
+ * // },
335
+ * // sample: true || false,
336
+ * // schemaVersion: "STRING_VALUE",
337
+ * // severity: { // Severity
338
+ * // description: "Low" || "Medium" || "High",
339
+ * // score: Number("long"),
340
+ * // },
341
+ * // title: "STRING_VALUE",
342
+ * // type: "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",
343
+ * // updatedAt: new Date("TIMESTAMP"),
344
+ * // },
345
+ * // ],
346
+ * // };
347
+ *
40
348
  * ```
41
349
  *
42
350
  * @param GetFindingsCommandInput - {@link GetFindingsCommandInput}
@@ -66,6 +374,8 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
66
374
  * @throws {@link ValidationException} (client fault)
67
375
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
68
376
  *
377
+ * @throws {@link Macie2ServiceException}
378
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
69
379
  *
70
380
  */
71
381
  export declare class GetFindingsCommand extends $Command<GetFindingsCommandInput, GetFindingsCommandOutput, Macie2ClientResolvedConfig> {
@@ -31,6 +31,37 @@ export interface GetFindingsFilterCommandOutput extends GetFindingsFilterRespons
31
31
  * };
32
32
  * const command = new GetFindingsFilterCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetFindingsFilterResponse
35
+ * // action: "ARCHIVE" || "NOOP",
36
+ * // arn: "STRING_VALUE",
37
+ * // description: "STRING_VALUE",
38
+ * // findingCriteria: { // FindingCriteria
39
+ * // criterion: { // Criterion
40
+ * // "<keys>": { // CriterionAdditionalProperties
41
+ * // eq: [ // __listOf__string
42
+ * // "STRING_VALUE",
43
+ * // ],
44
+ * // eqExactMatch: [
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // gt: Number("long"),
48
+ * // gte: Number("long"),
49
+ * // lt: Number("long"),
50
+ * // lte: Number("long"),
51
+ * // neq: [
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // },
55
+ * // },
56
+ * // },
57
+ * // id: "STRING_VALUE",
58
+ * // name: "STRING_VALUE",
59
+ * // position: Number("int"),
60
+ * // tags: { // TagMap
61
+ * // "<keys>": "STRING_VALUE",
62
+ * // },
63
+ * // };
64
+ *
34
65
  * ```
35
66
  *
36
67
  * @param GetFindingsFilterCommandInput - {@link GetFindingsFilterCommandInput}
@@ -60,6 +91,8 @@ export interface GetFindingsFilterCommandOutput extends GetFindingsFilterRespons
60
91
  * @throws {@link ValidationException} (client fault)
61
92
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
62
93
  *
94
+ * @throws {@link Macie2ServiceException}
95
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
63
96
  *
64
97
  */
65
98
  export declare class GetFindingsFilterCommand extends $Command<GetFindingsFilterCommandInput, GetFindingsFilterCommandOutput, Macie2ClientResolvedConfig> {
@@ -29,6 +29,13 @@ export interface GetFindingsPublicationConfigurationCommandOutput extends GetFin
29
29
  * const input = {};
30
30
  * const command = new GetFindingsPublicationConfigurationCommand(input);
31
31
  * const response = await client.send(command);
32
+ * // { // GetFindingsPublicationConfigurationResponse
33
+ * // securityHubConfiguration: { // SecurityHubConfiguration
34
+ * // publishClassificationFindings: true || false, // required
35
+ * // publishPolicyFindings: true || false, // required
36
+ * // },
37
+ * // };
38
+ *
32
39
  * ```
33
40
  *
34
41
  * @param GetFindingsPublicationConfigurationCommandInput - {@link GetFindingsPublicationConfigurationCommandInput}
@@ -58,6 +65,8 @@ export interface GetFindingsPublicationConfigurationCommandOutput extends GetFin
58
65
  * @throws {@link ValidationException} (client fault)
59
66
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
60
67
  *
68
+ * @throws {@link Macie2ServiceException}
69
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
61
70
  *
62
71
  */
63
72
  export declare class GetFindingsPublicationConfigurationCommand extends $Command<GetFindingsPublicationConfigurationCommandInput, GetFindingsPublicationConfigurationCommandOutput, Macie2ClientResolvedConfig> {
@@ -29,6 +29,10 @@ export interface GetInvitationsCountCommandOutput extends GetInvitationsCountRes
29
29
  * const input = {};
30
30
  * const command = new GetInvitationsCountCommand(input);
31
31
  * const response = await client.send(command);
32
+ * // { // GetInvitationsCountResponse
33
+ * // invitationsCount: Number("long"),
34
+ * // };
35
+ *
32
36
  * ```
33
37
  *
34
38
  * @param GetInvitationsCountCommandInput - {@link GetInvitationsCountCommandInput}
@@ -58,6 +62,8 @@ export interface GetInvitationsCountCommandOutput extends GetInvitationsCountRes
58
62
  * @throws {@link ValidationException} (client fault)
59
63
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
60
64
  *
65
+ * @throws {@link Macie2ServiceException}
66
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
61
67
  *
62
68
  */
63
69
  export declare class GetInvitationsCountCommand extends $Command<GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput, Macie2ClientResolvedConfig> {
@@ -29,6 +29,14 @@ export interface GetMacieSessionCommandOutput extends GetMacieSessionResponse, _
29
29
  * const input = {};
30
30
  * const command = new GetMacieSessionCommand(input);
31
31
  * const response = await client.send(command);
32
+ * // { // GetMacieSessionResponse
33
+ * // createdAt: new Date("TIMESTAMP"),
34
+ * // findingPublishingFrequency: "FIFTEEN_MINUTES" || "ONE_HOUR" || "SIX_HOURS",
35
+ * // serviceRole: "STRING_VALUE",
36
+ * // status: "PAUSED" || "ENABLED",
37
+ * // updatedAt: new Date("TIMESTAMP"),
38
+ * // };
39
+ *
32
40
  * ```
33
41
  *
34
42
  * @param GetMacieSessionCommandInput - {@link GetMacieSessionCommandInput}
@@ -58,6 +66,8 @@ export interface GetMacieSessionCommandOutput extends GetMacieSessionResponse, _
58
66
  * @throws {@link ValidationException} (client fault)
59
67
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
60
68
  *
69
+ * @throws {@link Macie2ServiceException}
70
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
61
71
  *
62
72
  */
63
73
  export declare class GetMacieSessionCommand extends $Command<GetMacieSessionCommandInput, GetMacieSessionCommandOutput, Macie2ClientResolvedConfig> {
@@ -29,6 +29,15 @@ export interface GetMasterAccountCommandOutput extends GetMasterAccountResponse,
29
29
  * const input = {};
30
30
  * const command = new GetMasterAccountCommand(input);
31
31
  * const response = await client.send(command);
32
+ * // { // GetMasterAccountResponse
33
+ * // master: { // Invitation
34
+ * // accountId: "STRING_VALUE",
35
+ * // invitationId: "STRING_VALUE",
36
+ * // invitedAt: new Date("TIMESTAMP"),
37
+ * // relationshipStatus: "Enabled" || "Paused" || "Invited" || "Created" || "Removed" || "Resigned" || "EmailVerificationInProgress" || "EmailVerificationFailed" || "RegionDisabled" || "AccountSuspended",
38
+ * // },
39
+ * // };
40
+ *
32
41
  * ```
33
42
  *
34
43
  * @param GetMasterAccountCommandInput - {@link GetMasterAccountCommandInput}
@@ -58,6 +67,8 @@ export interface GetMasterAccountCommandOutput extends GetMasterAccountResponse,
58
67
  * @throws {@link ValidationException} (client fault)
59
68
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
60
69
  *
70
+ * @throws {@link Macie2ServiceException}
71
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
61
72
  *
62
73
  */
63
74
  export declare class GetMasterAccountCommand extends $Command<GetMasterAccountCommandInput, GetMasterAccountCommandOutput, Macie2ClientResolvedConfig> {
@@ -31,6 +31,20 @@ export interface GetMemberCommandOutput extends GetMemberResponse, __MetadataBea
31
31
  * };
32
32
  * const command = new GetMemberCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetMemberResponse
35
+ * // accountId: "STRING_VALUE",
36
+ * // administratorAccountId: "STRING_VALUE",
37
+ * // arn: "STRING_VALUE",
38
+ * // email: "STRING_VALUE",
39
+ * // invitedAt: new Date("TIMESTAMP"),
40
+ * // masterAccountId: "STRING_VALUE",
41
+ * // relationshipStatus: "Enabled" || "Paused" || "Invited" || "Created" || "Removed" || "Resigned" || "EmailVerificationInProgress" || "EmailVerificationFailed" || "RegionDisabled" || "AccountSuspended",
42
+ * // tags: { // TagMap
43
+ * // "<keys>": "STRING_VALUE",
44
+ * // },
45
+ * // updatedAt: new Date("TIMESTAMP"),
46
+ * // };
47
+ *
34
48
  * ```
35
49
  *
36
50
  * @param GetMemberCommandInput - {@link GetMemberCommandInput}
@@ -60,6 +74,8 @@ export interface GetMemberCommandOutput extends GetMemberResponse, __MetadataBea
60
74
  * @throws {@link ValidationException} (client fault)
61
75
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
62
76
  *
77
+ * @throws {@link Macie2ServiceException}
78
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
63
79
  *
64
80
  */
65
81
  export declare class GetMemberCommand extends $Command<GetMemberCommandInput, GetMemberCommandOutput, Macie2ClientResolvedConfig> {
@@ -31,6 +31,23 @@ export interface GetResourceProfileCommandOutput extends GetResourceProfileRespo
31
31
  * };
32
32
  * const command = new GetResourceProfileCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetResourceProfileResponse
35
+ * // profileUpdatedAt: new Date("TIMESTAMP"),
36
+ * // sensitivityScore: Number("int"),
37
+ * // sensitivityScoreOverridden: true || false,
38
+ * // statistics: { // ResourceStatistics
39
+ * // totalBytesClassified: Number("long"),
40
+ * // totalDetections: Number("long"),
41
+ * // totalDetectionsSuppressed: Number("long"),
42
+ * // totalItemsClassified: Number("long"),
43
+ * // totalItemsSensitive: Number("long"),
44
+ * // totalItemsSkipped: Number("long"),
45
+ * // totalItemsSkippedInvalidEncryption: Number("long"),
46
+ * // totalItemsSkippedInvalidKms: Number("long"),
47
+ * // totalItemsSkippedPermissionDenied: Number("long"),
48
+ * // },
49
+ * // };
50
+ *
34
51
  * ```
35
52
  *
36
53
  * @param GetResourceProfileCommandInput - {@link GetResourceProfileCommandInput}
@@ -57,6 +74,8 @@ export interface GetResourceProfileCommandOutput extends GetResourceProfileRespo
57
74
  * @throws {@link ValidationException} (client fault)
58
75
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
59
76
  *
77
+ * @throws {@link Macie2ServiceException}
78
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
60
79
  *
61
80
  */
62
81
  export declare class GetResourceProfileCommand extends $Command<GetResourceProfileCommandInput, GetResourceProfileCommandOutput, Macie2ClientResolvedConfig> {
@@ -29,6 +29,13 @@ export interface GetRevealConfigurationCommandOutput extends GetRevealConfigurat
29
29
  * const input = {};
30
30
  * const command = new GetRevealConfigurationCommand(input);
31
31
  * const response = await client.send(command);
32
+ * // { // GetRevealConfigurationResponse
33
+ * // configuration: { // RevealConfiguration
34
+ * // kmsKeyId: "STRING_VALUE",
35
+ * // status: "ENABLED" || "DISABLED", // required
36
+ * // },
37
+ * // };
38
+ *
32
39
  * ```
33
40
  *
34
41
  * @param GetRevealConfigurationCommandInput - {@link GetRevealConfigurationCommandInput}
@@ -49,6 +56,8 @@ export interface GetRevealConfigurationCommandOutput extends GetRevealConfigurat
49
56
  * @throws {@link ValidationException} (client fault)
50
57
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
51
58
  *
59
+ * @throws {@link Macie2ServiceException}
60
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
52
61
  *
53
62
  */
54
63
  export declare class GetRevealConfigurationCommand extends $Command<GetRevealConfigurationCommandInput, GetRevealConfigurationCommandOutput, Macie2ClientResolvedConfig> {
@@ -31,6 +31,13 @@ export interface GetSensitiveDataOccurrencesAvailabilityCommandOutput extends Ge
31
31
  * };
32
32
  * const command = new GetSensitiveDataOccurrencesAvailabilityCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetSensitiveDataOccurrencesAvailabilityResponse
35
+ * // code: "AVAILABLE" || "UNAVAILABLE",
36
+ * // reasons: [ // __listOfUnavailabilityReasonCode
37
+ * // "OBJECT_EXCEEDS_SIZE_QUOTA" || "UNSUPPORTED_OBJECT_TYPE" || "UNSUPPORTED_FINDING_TYPE" || "INVALID_CLASSIFICATION_RESULT" || "OBJECT_UNAVAILABLE",
38
+ * // ],
39
+ * // };
40
+ *
34
41
  * ```
35
42
  *
36
43
  * @param GetSensitiveDataOccurrencesAvailabilityCommandInput - {@link GetSensitiveDataOccurrencesAvailabilityCommandInput}
@@ -51,6 +58,8 @@ export interface GetSensitiveDataOccurrencesAvailabilityCommandOutput extends Ge
51
58
  * @throws {@link ThrottlingException} (client fault)
52
59
  * <p>Provides information about an error that occurred because too many requests were sent during a certain amount of time.</p>
53
60
  *
61
+ * @throws {@link Macie2ServiceException}
62
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
54
63
  *
55
64
  */
56
65
  export declare class GetSensitiveDataOccurrencesAvailabilityCommand extends $Command<GetSensitiveDataOccurrencesAvailabilityCommandInput, GetSensitiveDataOccurrencesAvailabilityCommandOutput, Macie2ClientResolvedConfig> {
@@ -31,6 +31,18 @@ export interface GetSensitiveDataOccurrencesCommandOutput extends GetSensitiveDa
31
31
  * };
32
32
  * const command = new GetSensitiveDataOccurrencesCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetSensitiveDataOccurrencesResponse
35
+ * // error: "STRING_VALUE",
36
+ * // sensitiveDataOccurrences: { // SensitiveDataOccurrences
37
+ * // "<keys>": [ // __listOfDetectedDataDetails
38
+ * // { // DetectedDataDetails
39
+ * // value: "STRING_VALUE", // required
40
+ * // },
41
+ * // ],
42
+ * // },
43
+ * // status: "SUCCESS" || "PROCESSING" || "ERROR",
44
+ * // };
45
+ *
34
46
  * ```
35
47
  *
36
48
  * @param GetSensitiveDataOccurrencesCommandInput - {@link GetSensitiveDataOccurrencesCommandInput}
@@ -57,6 +69,8 @@ export interface GetSensitiveDataOccurrencesCommandOutput extends GetSensitiveDa
57
69
  * @throws {@link UnprocessableEntityException} (client fault)
58
70
  * <p>Provides information about an error that occurred due to an unprocessable entity.</p>
59
71
  *
72
+ * @throws {@link Macie2ServiceException}
73
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
60
74
  *
61
75
  */
62
76
  export declare class GetSensitiveDataOccurrencesCommand extends $Command<GetSensitiveDataOccurrencesCommandInput, GetSensitiveDataOccurrencesCommandOutput, Macie2ClientResolvedConfig> {
@@ -31,6 +31,28 @@ export interface GetSensitivityInspectionTemplateCommandOutput extends GetSensit
31
31
  * };
32
32
  * const command = new GetSensitivityInspectionTemplateCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetSensitivityInspectionTemplateResponse
35
+ * // description: "STRING_VALUE",
36
+ * // excludes: { // SensitivityInspectionTemplateExcludes
37
+ * // managedDataIdentifierIds: [ // __listOf__string
38
+ * // "STRING_VALUE",
39
+ * // ],
40
+ * // },
41
+ * // includes: { // SensitivityInspectionTemplateIncludes
42
+ * // allowListIds: [
43
+ * // "STRING_VALUE",
44
+ * // ],
45
+ * // customDataIdentifierIds: [
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // managedDataIdentifierIds: [
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // },
52
+ * // name: "STRING_VALUE",
53
+ * // sensitivityInspectionTemplateId: "STRING_VALUE",
54
+ * // };
55
+ *
34
56
  * ```
35
57
  *
36
58
  * @param GetSensitivityInspectionTemplateCommandInput - {@link GetSensitivityInspectionTemplateCommandInput}
@@ -54,6 +76,8 @@ export interface GetSensitivityInspectionTemplateCommandOutput extends GetSensit
54
76
  * @throws {@link ValidationException} (client fault)
55
77
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
56
78
  *
79
+ * @throws {@link Macie2ServiceException}
80
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
57
81
  *
58
82
  */
59
83
  export declare class GetSensitivityInspectionTemplateCommand extends $Command<GetSensitivityInspectionTemplateCommandInput, GetSensitivityInspectionTemplateCommandOutput, Macie2ClientResolvedConfig> {