@aws-sdk/client-macie2 3.321.1 → 3.326.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist-types/commands/AcceptInvitationCommand.d.ts +4 -0
  2. package/dist-types/commands/BatchGetCustomDataIdentifiersCommand.d.ts +18 -0
  3. package/dist-types/commands/CreateAllowListCommand.d.ts +7 -0
  4. package/dist-types/commands/CreateClassificationJobCommand.d.ts +7 -0
  5. package/dist-types/commands/CreateCustomDataIdentifierCommand.d.ts +6 -0
  6. package/dist-types/commands/CreateFindingsFilterCommand.d.ts +7 -0
  7. package/dist-types/commands/CreateInvitationsCommand.d.ts +12 -0
  8. package/dist-types/commands/CreateMemberCommand.d.ts +6 -0
  9. package/dist-types/commands/CreateSampleFindingsCommand.d.ts +4 -0
  10. package/dist-types/commands/DeclineInvitationsCommand.d.ts +12 -0
  11. package/dist-types/commands/DeleteAllowListCommand.d.ts +4 -0
  12. package/dist-types/commands/DeleteCustomDataIdentifierCommand.d.ts +4 -0
  13. package/dist-types/commands/DeleteFindingsFilterCommand.d.ts +4 -0
  14. package/dist-types/commands/DeleteInvitationsCommand.d.ts +12 -0
  15. package/dist-types/commands/DeleteMemberCommand.d.ts +4 -0
  16. package/dist-types/commands/DescribeBucketsCommand.d.ts +97 -0
  17. package/dist-types/commands/DescribeClassificationJobCommand.d.ts +150 -0
  18. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +7 -0
  19. package/dist-types/commands/DisableMacieCommand.d.ts +4 -0
  20. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +4 -0
  21. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +4 -0
  22. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +4 -0
  23. package/dist-types/commands/DisassociateMemberCommand.d.ts +4 -0
  24. package/dist-types/commands/EnableMacieCommand.d.ts +4 -0
  25. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +4 -0
  26. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +11 -0
  27. package/dist-types/commands/GetAllowListCommand.d.ts +25 -0
  28. package/dist-types/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +11 -0
  29. package/dist-types/commands/GetBucketStatisticsCommand.d.ts +71 -0
  30. package/dist-types/commands/GetClassificationExportConfigurationCommand.d.ts +12 -0
  31. package/dist-types/commands/GetClassificationScopeCommand.d.ts +14 -0
  32. package/dist-types/commands/GetCustomDataIdentifierCommand.d.ts +28 -0
  33. package/dist-types/commands/GetFindingStatisticsCommand.d.ts +11 -0
  34. package/dist-types/commands/GetFindingsCommand.d.ts +310 -0
  35. package/dist-types/commands/GetFindingsFilterCommand.d.ts +33 -0
  36. package/dist-types/commands/GetFindingsPublicationConfigurationCommand.d.ts +9 -0
  37. package/dist-types/commands/GetInvitationsCountCommand.d.ts +6 -0
  38. package/dist-types/commands/GetMacieSessionCommand.d.ts +10 -0
  39. package/dist-types/commands/GetMasterAccountCommand.d.ts +11 -0
  40. package/dist-types/commands/GetMemberCommand.d.ts +16 -0
  41. package/dist-types/commands/GetResourceProfileCommand.d.ts +19 -0
  42. package/dist-types/commands/GetRevealConfigurationCommand.d.ts +9 -0
  43. package/dist-types/commands/GetSensitiveDataOccurrencesAvailabilityCommand.d.ts +9 -0
  44. package/dist-types/commands/GetSensitiveDataOccurrencesCommand.d.ts +14 -0
  45. package/dist-types/commands/GetSensitivityInspectionTemplateCommand.d.ts +24 -0
  46. package/dist-types/commands/GetUsageStatisticsCommand.d.ts +26 -0
  47. package/dist-types/commands/GetUsageTotalsCommand.d.ts +13 -0
  48. package/dist-types/commands/ListAllowListsCommand.d.ts +16 -0
  49. package/dist-types/commands/ListClassificationJobsCommand.d.ts +77 -0
  50. package/dist-types/commands/ListClassificationScopesCommand.d.ts +12 -0
  51. package/dist-types/commands/ListCustomDataIdentifiersCommand.d.ts +15 -0
  52. package/dist-types/commands/ListFindingsCommand.d.ts +9 -0
  53. package/dist-types/commands/ListFindingsFiltersCommand.d.ts +17 -0
  54. package/dist-types/commands/ListInvitationsCommand.d.ts +14 -0
  55. package/dist-types/commands/ListManagedDataIdentifiersCommand.d.ts +12 -0
  56. package/dist-types/commands/ListMembersCommand.d.ts +21 -0
  57. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +12 -0
  58. package/dist-types/commands/ListResourceProfileArtifactsCommand.d.ts +13 -0
  59. package/dist-types/commands/ListResourceProfileDetectionsCommand.d.ts +16 -0
  60. package/dist-types/commands/ListSensitivityInspectionTemplatesCommand.d.ts +12 -0
  61. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  62. package/dist-types/commands/PutClassificationExportConfigurationCommand.d.ts +12 -0
  63. package/dist-types/commands/PutFindingsPublicationConfigurationCommand.d.ts +4 -0
  64. package/dist-types/commands/SearchResourcesCommand.d.ts +46 -0
  65. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  66. package/dist-types/commands/TestCustomDataIdentifierCommand.d.ts +6 -0
  67. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  68. package/dist-types/commands/UpdateAllowListCommand.d.ts +7 -0
  69. package/dist-types/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +4 -0
  70. package/dist-types/commands/UpdateClassificationJobCommand.d.ts +4 -0
  71. package/dist-types/commands/UpdateClassificationScopeCommand.d.ts +4 -0
  72. package/dist-types/commands/UpdateFindingsFilterCommand.d.ts +7 -0
  73. package/dist-types/commands/UpdateMacieSessionCommand.d.ts +4 -0
  74. package/dist-types/commands/UpdateMemberSessionCommand.d.ts +4 -0
  75. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -0
  76. package/dist-types/commands/UpdateResourceProfileCommand.d.ts +4 -0
  77. package/dist-types/commands/UpdateResourceProfileDetectionsCommand.d.ts +4 -0
  78. package/dist-types/commands/UpdateRevealConfigurationCommand.d.ts +9 -0
  79. package/dist-types/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +4 -0
  80. package/package.json +16 -16
@@ -46,6 +46,30 @@ export interface GetUsageStatisticsCommandOutput extends GetUsageStatisticsRespo
46
46
  * };
47
47
  * const command = new GetUsageStatisticsCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // { // GetUsageStatisticsResponse
50
+ * // nextToken: "STRING_VALUE",
51
+ * // records: [ // __listOfUsageRecord
52
+ * // { // UsageRecord
53
+ * // accountId: "STRING_VALUE",
54
+ * // automatedDiscoveryFreeTrialStartDate: new Date("TIMESTAMP"),
55
+ * // freeTrialStartDate: new Date("TIMESTAMP"),
56
+ * // usage: [ // __listOfUsageByAccount
57
+ * // { // UsageByAccount
58
+ * // currency: "USD",
59
+ * // estimatedCost: "STRING_VALUE",
60
+ * // serviceLimit: { // ServiceLimit
61
+ * // isServiceLimited: true || false,
62
+ * // unit: "TERABYTES",
63
+ * // value: Number("long"),
64
+ * // },
65
+ * // type: "DATA_INVENTORY_EVALUATION" || "SENSITIVE_DATA_DISCOVERY" || "AUTOMATED_SENSITIVE_DATA_DISCOVERY" || "AUTOMATED_OBJECT_MONITORING",
66
+ * // },
67
+ * // ],
68
+ * // },
69
+ * // ],
70
+ * // timeRange: "MONTH_TO_DATE" || "PAST_30_DAYS",
71
+ * // };
72
+ *
49
73
  * ```
50
74
  *
51
75
  * @param GetUsageStatisticsCommandInput - {@link GetUsageStatisticsCommandInput}
@@ -75,6 +99,8 @@ export interface GetUsageStatisticsCommandOutput extends GetUsageStatisticsRespo
75
99
  * @throws {@link ValidationException} (client fault)
76
100
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
77
101
  *
102
+ * @throws {@link Macie2ServiceException}
103
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
78
104
  *
79
105
  */
80
106
  export declare class GetUsageStatisticsCommand extends $Command<GetUsageStatisticsCommandInput, GetUsageStatisticsCommandOutput, Macie2ClientResolvedConfig> {
@@ -31,6 +31,17 @@ export interface GetUsageTotalsCommandOutput extends GetUsageTotalsResponse, __M
31
31
  * };
32
32
  * const command = new GetUsageTotalsCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetUsageTotalsResponse
35
+ * // timeRange: "MONTH_TO_DATE" || "PAST_30_DAYS",
36
+ * // usageTotals: [ // __listOfUsageTotal
37
+ * // { // UsageTotal
38
+ * // currency: "USD",
39
+ * // estimatedCost: "STRING_VALUE",
40
+ * // type: "DATA_INVENTORY_EVALUATION" || "SENSITIVE_DATA_DISCOVERY" || "AUTOMATED_SENSITIVE_DATA_DISCOVERY" || "AUTOMATED_OBJECT_MONITORING",
41
+ * // },
42
+ * // ],
43
+ * // };
44
+ *
34
45
  * ```
35
46
  *
36
47
  * @param GetUsageTotalsCommandInput - {@link GetUsageTotalsCommandInput}
@@ -60,6 +71,8 @@ export interface GetUsageTotalsCommandOutput extends GetUsageTotalsResponse, __M
60
71
  * @throws {@link ValidationException} (client fault)
61
72
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
62
73
  *
74
+ * @throws {@link Macie2ServiceException}
75
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
63
76
  *
64
77
  */
65
78
  export declare class GetUsageTotalsCommand extends $Command<GetUsageTotalsCommandInput, GetUsageTotalsCommandOutput, Macie2ClientResolvedConfig> {
@@ -32,6 +32,20 @@ export interface ListAllowListsCommandOutput extends ListAllowListsResponse, __M
32
32
  * };
33
33
  * const command = new ListAllowListsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListAllowListsResponse
36
+ * // allowLists: [ // __listOfAllowListSummary
37
+ * // { // AllowListSummary
38
+ * // arn: "STRING_VALUE",
39
+ * // createdAt: new Date("TIMESTAMP"),
40
+ * // description: "STRING_VALUE",
41
+ * // id: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // updatedAt: new Date("TIMESTAMP"),
44
+ * // },
45
+ * // ],
46
+ * // nextToken: "STRING_VALUE",
47
+ * // };
48
+ *
35
49
  * ```
36
50
  *
37
51
  * @param ListAllowListsCommandInput - {@link ListAllowListsCommandInput}
@@ -52,6 +66,8 @@ export interface ListAllowListsCommandOutput extends ListAllowListsResponse, __M
52
66
  * @throws {@link ValidationException} (client fault)
53
67
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
54
68
  *
69
+ * @throws {@link Macie2ServiceException}
70
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
55
71
  *
56
72
  */
57
73
  export declare class ListAllowListsCommand extends $Command<ListAllowListsCommandInput, ListAllowListsCommandOutput, Macie2ClientResolvedConfig> {
@@ -56,6 +56,81 @@ export interface ListClassificationJobsCommandOutput extends ListClassificationJ
56
56
  * };
57
57
  * const command = new ListClassificationJobsCommand(input);
58
58
  * const response = await client.send(command);
59
+ * // { // ListClassificationJobsResponse
60
+ * // items: [ // __listOfJobSummary
61
+ * // { // JobSummary
62
+ * // bucketCriteria: { // S3BucketCriteriaForJob
63
+ * // excludes: { // CriteriaBlockForJob
64
+ * // and: [ // __listOfCriteriaForJob
65
+ * // { // CriteriaForJob
66
+ * // simpleCriterion: { // SimpleCriterionForJob
67
+ * // comparator: "EQ" || "GT" || "GTE" || "LT" || "LTE" || "NE" || "CONTAINS" || "STARTS_WITH",
68
+ * // key: "ACCOUNT_ID" || "S3_BUCKET_NAME" || "S3_BUCKET_EFFECTIVE_PERMISSION" || "S3_BUCKET_SHARED_ACCESS",
69
+ * // values: [ // __listOf__string
70
+ * // "STRING_VALUE",
71
+ * // ],
72
+ * // },
73
+ * // tagCriterion: { // TagCriterionForJob
74
+ * // comparator: "EQ" || "GT" || "GTE" || "LT" || "LTE" || "NE" || "CONTAINS" || "STARTS_WITH",
75
+ * // tagValues: [ // __listOfTagCriterionPairForJob
76
+ * // { // TagCriterionPairForJob
77
+ * // key: "STRING_VALUE",
78
+ * // value: "STRING_VALUE",
79
+ * // },
80
+ * // ],
81
+ * // },
82
+ * // },
83
+ * // ],
84
+ * // },
85
+ * // includes: {
86
+ * // and: [
87
+ * // {
88
+ * // simpleCriterion: {
89
+ * // comparator: "EQ" || "GT" || "GTE" || "LT" || "LTE" || "NE" || "CONTAINS" || "STARTS_WITH",
90
+ * // key: "ACCOUNT_ID" || "S3_BUCKET_NAME" || "S3_BUCKET_EFFECTIVE_PERMISSION" || "S3_BUCKET_SHARED_ACCESS",
91
+ * // values: [
92
+ * // "STRING_VALUE",
93
+ * // ],
94
+ * // },
95
+ * // tagCriterion: {
96
+ * // comparator: "EQ" || "GT" || "GTE" || "LT" || "LTE" || "NE" || "CONTAINS" || "STARTS_WITH",
97
+ * // tagValues: [
98
+ * // {
99
+ * // key: "STRING_VALUE",
100
+ * // value: "STRING_VALUE",
101
+ * // },
102
+ * // ],
103
+ * // },
104
+ * // },
105
+ * // ],
106
+ * // },
107
+ * // },
108
+ * // bucketDefinitions: [ // __listOfS3BucketDefinitionForJob
109
+ * // { // S3BucketDefinitionForJob
110
+ * // accountId: "STRING_VALUE", // required
111
+ * // buckets: [ // required
112
+ * // "STRING_VALUE",
113
+ * // ],
114
+ * // },
115
+ * // ],
116
+ * // createdAt: new Date("TIMESTAMP"),
117
+ * // jobId: "STRING_VALUE",
118
+ * // jobStatus: "RUNNING" || "PAUSED" || "CANCELLED" || "COMPLETE" || "IDLE" || "USER_PAUSED",
119
+ * // jobType: "ONE_TIME" || "SCHEDULED",
120
+ * // lastRunErrorStatus: { // LastRunErrorStatus
121
+ * // code: "NONE" || "ERROR",
122
+ * // },
123
+ * // name: "STRING_VALUE",
124
+ * // userPausedDetails: { // UserPausedDetails
125
+ * // jobExpiresAt: new Date("TIMESTAMP"),
126
+ * // jobImminentExpirationHealthEventArn: "STRING_VALUE",
127
+ * // jobPausedAt: new Date("TIMESTAMP"),
128
+ * // },
129
+ * // },
130
+ * // ],
131
+ * // nextToken: "STRING_VALUE",
132
+ * // };
133
+ *
59
134
  * ```
60
135
  *
61
136
  * @param ListClassificationJobsCommandInput - {@link ListClassificationJobsCommandInput}
@@ -85,6 +160,8 @@ export interface ListClassificationJobsCommandOutput extends ListClassificationJ
85
160
  * @throws {@link ValidationException} (client fault)
86
161
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
87
162
  *
163
+ * @throws {@link Macie2ServiceException}
164
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
88
165
  *
89
166
  */
90
167
  export declare class ListClassificationJobsCommand extends $Command<ListClassificationJobsCommandInput, ListClassificationJobsCommandOutput, Macie2ClientResolvedConfig> {
@@ -32,6 +32,16 @@ export interface ListClassificationScopesCommandOutput extends ListClassificatio
32
32
  * };
33
33
  * const command = new ListClassificationScopesCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListClassificationScopesResponse
36
+ * // classificationScopes: [ // __listOfClassificationScopeSummary
37
+ * // { // ClassificationScopeSummary
38
+ * // id: "STRING_VALUE",
39
+ * // name: "STRING_VALUE",
40
+ * // },
41
+ * // ],
42
+ * // nextToken: "STRING_VALUE",
43
+ * // };
44
+ *
35
45
  * ```
36
46
  *
37
47
  * @param ListClassificationScopesCommandInput - {@link ListClassificationScopesCommandInput}
@@ -52,6 +62,8 @@ export interface ListClassificationScopesCommandOutput extends ListClassificatio
52
62
  * @throws {@link ValidationException} (client fault)
53
63
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
54
64
  *
65
+ * @throws {@link Macie2ServiceException}
66
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
55
67
  *
56
68
  */
57
69
  export declare class ListClassificationScopesCommand extends $Command<ListClassificationScopesCommandInput, ListClassificationScopesCommandOutput, Macie2ClientResolvedConfig> {
@@ -32,6 +32,19 @@ export interface ListCustomDataIdentifiersCommandOutput extends ListCustomDataId
32
32
  * };
33
33
  * const command = new ListCustomDataIdentifiersCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListCustomDataIdentifiersResponse
36
+ * // items: [ // __listOfCustomDataIdentifierSummary
37
+ * // { // CustomDataIdentifierSummary
38
+ * // arn: "STRING_VALUE",
39
+ * // createdAt: new Date("TIMESTAMP"),
40
+ * // description: "STRING_VALUE",
41
+ * // id: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // },
44
+ * // ],
45
+ * // nextToken: "STRING_VALUE",
46
+ * // };
47
+ *
35
48
  * ```
36
49
  *
37
50
  * @param ListCustomDataIdentifiersCommandInput - {@link ListCustomDataIdentifiersCommandInput}
@@ -61,6 +74,8 @@ export interface ListCustomDataIdentifiersCommandOutput extends ListCustomDataId
61
74
  * @throws {@link ValidationException} (client fault)
62
75
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
63
76
  *
77
+ * @throws {@link Macie2ServiceException}
78
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
64
79
  *
65
80
  */
66
81
  export declare class ListCustomDataIdentifiersCommand extends $Command<ListCustomDataIdentifiersCommandInput, ListCustomDataIdentifiersCommandOutput, Macie2ClientResolvedConfig> {
@@ -55,6 +55,13 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
55
55
  * };
56
56
  * const command = new ListFindingsCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // ListFindingsResponse
59
+ * // findingIds: [ // __listOf__string
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // nextToken: "STRING_VALUE",
63
+ * // };
64
+ *
58
65
  * ```
59
66
  *
60
67
  * @param ListFindingsCommandInput - {@link ListFindingsCommandInput}
@@ -84,6 +91,8 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
84
91
  * @throws {@link ValidationException} (client fault)
85
92
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
86
93
  *
94
+ * @throws {@link Macie2ServiceException}
95
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
87
96
  *
88
97
  */
89
98
  export declare class ListFindingsCommand extends $Command<ListFindingsCommandInput, ListFindingsCommandOutput, Macie2ClientResolvedConfig> {
@@ -32,6 +32,21 @@ export interface ListFindingsFiltersCommandOutput extends ListFindingsFiltersRes
32
32
  * };
33
33
  * const command = new ListFindingsFiltersCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListFindingsFiltersResponse
36
+ * // findingsFilterListItems: [ // __listOfFindingsFilterListItem
37
+ * // { // FindingsFilterListItem
38
+ * // action: "ARCHIVE" || "NOOP",
39
+ * // arn: "STRING_VALUE",
40
+ * // id: "STRING_VALUE",
41
+ * // name: "STRING_VALUE",
42
+ * // tags: { // TagMap
43
+ * // "<keys>": "STRING_VALUE",
44
+ * // },
45
+ * // },
46
+ * // ],
47
+ * // nextToken: "STRING_VALUE",
48
+ * // };
49
+ *
35
50
  * ```
36
51
  *
37
52
  * @param ListFindingsFiltersCommandInput - {@link ListFindingsFiltersCommandInput}
@@ -61,6 +76,8 @@ export interface ListFindingsFiltersCommandOutput extends ListFindingsFiltersRes
61
76
  * @throws {@link ValidationException} (client fault)
62
77
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
63
78
  *
79
+ * @throws {@link Macie2ServiceException}
80
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
64
81
  *
65
82
  */
66
83
  export declare class ListFindingsFiltersCommand extends $Command<ListFindingsFiltersCommandInput, ListFindingsFiltersCommandOutput, Macie2ClientResolvedConfig> {
@@ -32,6 +32,18 @@ export interface ListInvitationsCommandOutput extends ListInvitationsResponse, _
32
32
  * };
33
33
  * const command = new ListInvitationsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListInvitationsResponse
36
+ * // invitations: [ // __listOfInvitation
37
+ * // { // Invitation
38
+ * // accountId: "STRING_VALUE",
39
+ * // invitationId: "STRING_VALUE",
40
+ * // invitedAt: new Date("TIMESTAMP"),
41
+ * // relationshipStatus: "Enabled" || "Paused" || "Invited" || "Created" || "Removed" || "Resigned" || "EmailVerificationInProgress" || "EmailVerificationFailed" || "RegionDisabled" || "AccountSuspended",
42
+ * // },
43
+ * // ],
44
+ * // nextToken: "STRING_VALUE",
45
+ * // };
46
+ *
35
47
  * ```
36
48
  *
37
49
  * @param ListInvitationsCommandInput - {@link ListInvitationsCommandInput}
@@ -61,6 +73,8 @@ export interface ListInvitationsCommandOutput extends ListInvitationsResponse, _
61
73
  * @throws {@link ValidationException} (client fault)
62
74
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
63
75
  *
76
+ * @throws {@link Macie2ServiceException}
77
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
64
78
  *
65
79
  */
66
80
  export declare class ListInvitationsCommand extends $Command<ListInvitationsCommandInput, ListInvitationsCommandOutput, Macie2ClientResolvedConfig> {
@@ -31,6 +31,16 @@ export interface ListManagedDataIdentifiersCommandOutput extends ListManagedData
31
31
  * };
32
32
  * const command = new ListManagedDataIdentifiersCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListManagedDataIdentifiersResponse
35
+ * // items: [ // __listOfManagedDataIdentifierSummary
36
+ * // { // ManagedDataIdentifierSummary
37
+ * // category: "FINANCIAL_INFORMATION" || "PERSONAL_INFORMATION" || "CREDENTIALS" || "CUSTOM_IDENTIFIER",
38
+ * // id: "STRING_VALUE",
39
+ * // },
40
+ * // ],
41
+ * // nextToken: "STRING_VALUE",
42
+ * // };
43
+ *
34
44
  * ```
35
45
  *
36
46
  * @param ListManagedDataIdentifiersCommandInput - {@link ListManagedDataIdentifiersCommandInput}
@@ -39,6 +49,8 @@ export interface ListManagedDataIdentifiersCommandOutput extends ListManagedData
39
49
  * @see {@link ListManagedDataIdentifiersCommandOutput} for command's `response` shape.
40
50
  * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape.
41
51
  *
52
+ * @throws {@link Macie2ServiceException}
53
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
42
54
  *
43
55
  */
44
56
  export declare class ListManagedDataIdentifiersCommand extends $Command<ListManagedDataIdentifiersCommandInput, ListManagedDataIdentifiersCommandOutput, Macie2ClientResolvedConfig> {
@@ -33,6 +33,25 @@ export interface ListMembersCommandOutput extends ListMembersResponse, __Metadat
33
33
  * };
34
34
  * const command = new ListMembersCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListMembersResponse
37
+ * // members: [ // __listOfMember
38
+ * // { // Member
39
+ * // accountId: "STRING_VALUE",
40
+ * // administratorAccountId: "STRING_VALUE",
41
+ * // arn: "STRING_VALUE",
42
+ * // email: "STRING_VALUE",
43
+ * // invitedAt: new Date("TIMESTAMP"),
44
+ * // masterAccountId: "STRING_VALUE",
45
+ * // relationshipStatus: "Enabled" || "Paused" || "Invited" || "Created" || "Removed" || "Resigned" || "EmailVerificationInProgress" || "EmailVerificationFailed" || "RegionDisabled" || "AccountSuspended",
46
+ * // tags: { // TagMap
47
+ * // "<keys>": "STRING_VALUE",
48
+ * // },
49
+ * // updatedAt: new Date("TIMESTAMP"),
50
+ * // },
51
+ * // ],
52
+ * // nextToken: "STRING_VALUE",
53
+ * // };
54
+ *
36
55
  * ```
37
56
  *
38
57
  * @param ListMembersCommandInput - {@link ListMembersCommandInput}
@@ -62,6 +81,8 @@ export interface ListMembersCommandOutput extends ListMembersResponse, __Metadat
62
81
  * @throws {@link ValidationException} (client fault)
63
82
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
64
83
  *
84
+ * @throws {@link Macie2ServiceException}
85
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
65
86
  *
66
87
  */
67
88
  export declare class ListMembersCommand extends $Command<ListMembersCommandInput, ListMembersCommandOutput, Macie2ClientResolvedConfig> {
@@ -32,6 +32,16 @@ export interface ListOrganizationAdminAccountsCommandOutput extends ListOrganiza
32
32
  * };
33
33
  * const command = new ListOrganizationAdminAccountsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListOrganizationAdminAccountsResponse
36
+ * // adminAccounts: [ // __listOfAdminAccount
37
+ * // { // AdminAccount
38
+ * // accountId: "STRING_VALUE",
39
+ * // status: "ENABLED" || "DISABLING_IN_PROGRESS",
40
+ * // },
41
+ * // ],
42
+ * // nextToken: "STRING_VALUE",
43
+ * // };
44
+ *
35
45
  * ```
36
46
  *
37
47
  * @param ListOrganizationAdminAccountsCommandInput - {@link ListOrganizationAdminAccountsCommandInput}
@@ -61,6 +71,8 @@ export interface ListOrganizationAdminAccountsCommandOutput extends ListOrganiza
61
71
  * @throws {@link ValidationException} (client fault)
62
72
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
63
73
  *
74
+ * @throws {@link Macie2ServiceException}
75
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
64
76
  *
65
77
  */
66
78
  export declare class ListOrganizationAdminAccountsCommand extends $Command<ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccountsCommandOutput, Macie2ClientResolvedConfig> {
@@ -32,6 +32,17 @@ export interface ListResourceProfileArtifactsCommandOutput extends ListResourceP
32
32
  * };
33
33
  * const command = new ListResourceProfileArtifactsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListResourceProfileArtifactsResponse
36
+ * // artifacts: [ // __listOfResourceProfileArtifact
37
+ * // { // ResourceProfileArtifact
38
+ * // arn: "STRING_VALUE", // required
39
+ * // classificationResultStatus: "STRING_VALUE", // required
40
+ * // sensitive: true || false,
41
+ * // },
42
+ * // ],
43
+ * // nextToken: "STRING_VALUE",
44
+ * // };
45
+ *
35
46
  * ```
36
47
  *
37
48
  * @param ListResourceProfileArtifactsCommandInput - {@link ListResourceProfileArtifactsCommandInput}
@@ -55,6 +66,8 @@ export interface ListResourceProfileArtifactsCommandOutput extends ListResourceP
55
66
  * @throws {@link ValidationException} (client fault)
56
67
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
57
68
  *
69
+ * @throws {@link Macie2ServiceException}
70
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
58
71
  *
59
72
  */
60
73
  export declare class ListResourceProfileArtifactsCommand extends $Command<ListResourceProfileArtifactsCommandInput, ListResourceProfileArtifactsCommandOutput, Macie2ClientResolvedConfig> {
@@ -33,6 +33,20 @@ export interface ListResourceProfileDetectionsCommandOutput extends ListResource
33
33
  * };
34
34
  * const command = new ListResourceProfileDetectionsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListResourceProfileDetectionsResponse
37
+ * // detections: [ // __listOfDetection
38
+ * // { // Detection
39
+ * // arn: "STRING_VALUE",
40
+ * // count: Number("long"),
41
+ * // id: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // suppressed: true || false,
44
+ * // type: "CUSTOM" || "MANAGED",
45
+ * // },
46
+ * // ],
47
+ * // nextToken: "STRING_VALUE",
48
+ * // };
49
+ *
36
50
  * ```
37
51
  *
38
52
  * @param ListResourceProfileDetectionsCommandInput - {@link ListResourceProfileDetectionsCommandInput}
@@ -59,6 +73,8 @@ export interface ListResourceProfileDetectionsCommandOutput extends ListResource
59
73
  * @throws {@link ValidationException} (client fault)
60
74
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
61
75
  *
76
+ * @throws {@link Macie2ServiceException}
77
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
62
78
  *
63
79
  */
64
80
  export declare class ListResourceProfileDetectionsCommand extends $Command<ListResourceProfileDetectionsCommandInput, ListResourceProfileDetectionsCommandOutput, Macie2ClientResolvedConfig> {
@@ -32,6 +32,16 @@ export interface ListSensitivityInspectionTemplatesCommandOutput extends ListSen
32
32
  * };
33
33
  * const command = new ListSensitivityInspectionTemplatesCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListSensitivityInspectionTemplatesResponse
36
+ * // nextToken: "STRING_VALUE",
37
+ * // sensitivityInspectionTemplates: [ // __listOfSensitivityInspectionTemplatesEntry
38
+ * // { // SensitivityInspectionTemplatesEntry
39
+ * // id: "STRING_VALUE",
40
+ * // name: "STRING_VALUE",
41
+ * // },
42
+ * // ],
43
+ * // };
44
+ *
35
45
  * ```
36
46
  *
37
47
  * @param ListSensitivityInspectionTemplatesCommandInput - {@link ListSensitivityInspectionTemplatesCommandInput}
@@ -55,6 +65,8 @@ export interface ListSensitivityInspectionTemplatesCommandOutput extends ListSen
55
65
  * @throws {@link ValidationException} (client fault)
56
66
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
57
67
  *
68
+ * @throws {@link Macie2ServiceException}
69
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
58
70
  *
59
71
  */
60
72
  export declare class ListSensitivityInspectionTemplatesCommand extends $Command<ListSensitivityInspectionTemplatesCommandInput, ListSensitivityInspectionTemplatesCommandOutput, Macie2ClientResolvedConfig> {
@@ -31,6 +31,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResponse
35
+ * // tags: { // TagMap
36
+ * // "<keys>": "STRING_VALUE",
37
+ * // },
38
+ * // };
39
+ *
34
40
  * ```
35
41
  *
36
42
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -39,6 +45,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
39
45
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
40
46
  * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape.
41
47
  *
48
+ * @throws {@link Macie2ServiceException}
49
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
42
50
  *
43
51
  */
44
52
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, Macie2ClientResolvedConfig> {
@@ -37,6 +37,16 @@ export interface PutClassificationExportConfigurationCommandOutput extends PutCl
37
37
  * };
38
38
  * const command = new PutClassificationExportConfigurationCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // PutClassificationExportConfigurationResponse
41
+ * // configuration: { // ClassificationExportConfiguration
42
+ * // s3Destination: { // S3Destination
43
+ * // bucketName: "STRING_VALUE", // required
44
+ * // keyPrefix: "STRING_VALUE",
45
+ * // kmsKeyArn: "STRING_VALUE", // required
46
+ * // },
47
+ * // },
48
+ * // };
49
+ *
40
50
  * ```
41
51
  *
42
52
  * @param PutClassificationExportConfigurationCommandInput - {@link PutClassificationExportConfigurationCommandInput}
@@ -66,6 +76,8 @@ export interface PutClassificationExportConfigurationCommandOutput extends PutCl
66
76
  * @throws {@link ValidationException} (client fault)
67
77
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
68
78
  *
79
+ * @throws {@link Macie2ServiceException}
80
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
69
81
  *
70
82
  */
71
83
  export declare class PutClassificationExportConfigurationCommand extends $Command<PutClassificationExportConfigurationCommandInput, PutClassificationExportConfigurationCommandOutput, Macie2ClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface PutFindingsPublicationConfigurationCommandOutput extends PutFin
35
35
  * };
36
36
  * const command = new PutFindingsPublicationConfigurationCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param PutFindingsPublicationConfigurationCommandInput - {@link PutFindingsPublicationConfigurationCommandInput}
@@ -64,6 +66,8 @@ export interface PutFindingsPublicationConfigurationCommandOutput extends PutFin
64
66
  * @throws {@link ValidationException} (client fault)
65
67
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
66
68
  *
69
+ * @throws {@link Macie2ServiceException}
70
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
67
71
  *
68
72
  */
69
73
  export declare class PutFindingsPublicationConfigurationCommand extends $Command<PutFindingsPublicationConfigurationCommandInput, PutFindingsPublicationConfigurationCommandOutput, Macie2ClientResolvedConfig> {
@@ -82,6 +82,50 @@ export interface SearchResourcesCommandOutput extends SearchResourcesResponse, _
82
82
  * };
83
83
  * const command = new SearchResourcesCommand(input);
84
84
  * const response = await client.send(command);
85
+ * // { // SearchResourcesResponse
86
+ * // matchingResources: [ // __listOfMatchingResource
87
+ * // { // MatchingResource
88
+ * // matchingBucket: { // MatchingBucket
89
+ * // accountId: "STRING_VALUE",
90
+ * // bucketName: "STRING_VALUE",
91
+ * // classifiableObjectCount: Number("long"),
92
+ * // classifiableSizeInBytes: Number("long"),
93
+ * // errorCode: "ACCESS_DENIED",
94
+ * // errorMessage: "STRING_VALUE",
95
+ * // jobDetails: { // JobDetails
96
+ * // isDefinedInJob: "TRUE" || "FALSE" || "UNKNOWN",
97
+ * // isMonitoredByJob: "TRUE" || "FALSE" || "UNKNOWN",
98
+ * // lastJobId: "STRING_VALUE",
99
+ * // lastJobRunTime: new Date("TIMESTAMP"),
100
+ * // },
101
+ * // lastAutomatedDiscoveryTime: new Date("TIMESTAMP"),
102
+ * // objectCount: Number("long"),
103
+ * // objectCountByEncryptionType: { // ObjectCountByEncryptionType
104
+ * // customerManaged: Number("long"),
105
+ * // kmsManaged: Number("long"),
106
+ * // s3Managed: Number("long"),
107
+ * // unencrypted: Number("long"),
108
+ * // unknown: Number("long"),
109
+ * // },
110
+ * // sensitivityScore: Number("int"),
111
+ * // sizeInBytes: Number("long"),
112
+ * // sizeInBytesCompressed: Number("long"),
113
+ * // unclassifiableObjectCount: { // ObjectLevelStatistics
114
+ * // fileType: Number("long"),
115
+ * // storageClass: Number("long"),
116
+ * // total: Number("long"),
117
+ * // },
118
+ * // unclassifiableObjectSizeInBytes: {
119
+ * // fileType: Number("long"),
120
+ * // storageClass: Number("long"),
121
+ * // total: Number("long"),
122
+ * // },
123
+ * // },
124
+ * // },
125
+ * // ],
126
+ * // nextToken: "STRING_VALUE",
127
+ * // };
128
+ *
85
129
  * ```
86
130
  *
87
131
  * @param SearchResourcesCommandInput - {@link SearchResourcesCommandInput}
@@ -111,6 +155,8 @@ export interface SearchResourcesCommandOutput extends SearchResourcesResponse, _
111
155
  * @throws {@link ValidationException} (client fault)
112
156
  * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
113
157
  *
158
+ * @throws {@link Macie2ServiceException}
159
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
114
160
  *
115
161
  */
116
162
  export declare class SearchResourcesCommand extends $Command<SearchResourcesCommandInput, SearchResourcesCommandOutput, Macie2ClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
34
34
  * };
35
35
  * const command = new TagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -42,6 +44,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
42
44
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
43
45
  * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape.
44
46
  *
47
+ * @throws {@link Macie2ServiceException}
48
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
45
49
  *
46
50
  */
47
51
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, Macie2ClientResolvedConfig> {