@aws-sdk/client-macie2 3.974.0 → 3.978.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-cjs/index.js +96 -74
- package/dist-es/Macie2.js +41 -1
- package/dist-types/Macie2.d.ts +127 -1
- package/dist-types/ts3.4/Macie2.d.ts +135 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -3995,6 +3995,79 @@ class UpdateSensitivityInspectionTemplateCommand extends smithyClient.Command
|
|
|
3995
3995
|
.build() {
|
|
3996
3996
|
}
|
|
3997
3997
|
|
|
3998
|
+
const paginateDescribeBuckets = core.createPaginator(Macie2Client, DescribeBucketsCommand, "nextToken", "nextToken", "maxResults");
|
|
3999
|
+
|
|
4000
|
+
const paginateGetUsageStatistics = core.createPaginator(Macie2Client, GetUsageStatisticsCommand, "nextToken", "nextToken", "maxResults");
|
|
4001
|
+
|
|
4002
|
+
const paginateListAllowLists = core.createPaginator(Macie2Client, ListAllowListsCommand, "nextToken", "nextToken", "maxResults");
|
|
4003
|
+
|
|
4004
|
+
const paginateListAutomatedDiscoveryAccounts = core.createPaginator(Macie2Client, ListAutomatedDiscoveryAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
4005
|
+
|
|
4006
|
+
const paginateListClassificationJobs = core.createPaginator(Macie2Client, ListClassificationJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
4007
|
+
|
|
4008
|
+
const paginateListClassificationScopes = core.createPaginator(Macie2Client, ListClassificationScopesCommand, "nextToken", "nextToken", "");
|
|
4009
|
+
|
|
4010
|
+
const paginateListCustomDataIdentifiers = core.createPaginator(Macie2Client, ListCustomDataIdentifiersCommand, "nextToken", "nextToken", "maxResults");
|
|
4011
|
+
|
|
4012
|
+
const paginateListFindingsFilters = core.createPaginator(Macie2Client, ListFindingsFiltersCommand, "nextToken", "nextToken", "maxResults");
|
|
4013
|
+
|
|
4014
|
+
const paginateListFindings = core.createPaginator(Macie2Client, ListFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
4015
|
+
|
|
4016
|
+
const paginateListInvitations = core.createPaginator(Macie2Client, ListInvitationsCommand, "nextToken", "nextToken", "maxResults");
|
|
4017
|
+
|
|
4018
|
+
const paginateListManagedDataIdentifiers = core.createPaginator(Macie2Client, ListManagedDataIdentifiersCommand, "nextToken", "nextToken", "");
|
|
4019
|
+
|
|
4020
|
+
const paginateListMembers = core.createPaginator(Macie2Client, ListMembersCommand, "nextToken", "nextToken", "maxResults");
|
|
4021
|
+
|
|
4022
|
+
const paginateListOrganizationAdminAccounts = core.createPaginator(Macie2Client, ListOrganizationAdminAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
4023
|
+
|
|
4024
|
+
const paginateListResourceProfileArtifacts = core.createPaginator(Macie2Client, ListResourceProfileArtifactsCommand, "nextToken", "nextToken", "");
|
|
4025
|
+
|
|
4026
|
+
const paginateListResourceProfileDetections = core.createPaginator(Macie2Client, ListResourceProfileDetectionsCommand, "nextToken", "nextToken", "maxResults");
|
|
4027
|
+
|
|
4028
|
+
const paginateListSensitivityInspectionTemplates = core.createPaginator(Macie2Client, ListSensitivityInspectionTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
4029
|
+
|
|
4030
|
+
const paginateSearchResources = core.createPaginator(Macie2Client, SearchResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
4031
|
+
|
|
4032
|
+
const checkState = async (client, input) => {
|
|
4033
|
+
let reason;
|
|
4034
|
+
try {
|
|
4035
|
+
let result = await client.send(new GetSensitiveDataOccurrencesCommand(input));
|
|
4036
|
+
reason = result;
|
|
4037
|
+
try {
|
|
4038
|
+
const returnComparator = () => {
|
|
4039
|
+
return result.status;
|
|
4040
|
+
};
|
|
4041
|
+
if (returnComparator() === "SUCCESS") {
|
|
4042
|
+
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
4043
|
+
}
|
|
4044
|
+
}
|
|
4045
|
+
catch (e) { }
|
|
4046
|
+
try {
|
|
4047
|
+
const returnComparator = () => {
|
|
4048
|
+
return result.status;
|
|
4049
|
+
};
|
|
4050
|
+
if (returnComparator() === "ERROR") {
|
|
4051
|
+
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
4052
|
+
}
|
|
4053
|
+
}
|
|
4054
|
+
catch (e) { }
|
|
4055
|
+
}
|
|
4056
|
+
catch (exception) {
|
|
4057
|
+
reason = exception;
|
|
4058
|
+
}
|
|
4059
|
+
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
4060
|
+
};
|
|
4061
|
+
const waitForFindingRevealed = async (params, input) => {
|
|
4062
|
+
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
4063
|
+
return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
4064
|
+
};
|
|
4065
|
+
const waitUntilFindingRevealed = async (params, input) => {
|
|
4066
|
+
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
4067
|
+
const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
4068
|
+
return utilWaiter.checkExceptions(result);
|
|
4069
|
+
};
|
|
4070
|
+
|
|
3998
4071
|
const commands = {
|
|
3999
4072
|
AcceptInvitationCommand,
|
|
4000
4073
|
BatchGetCustomDataIdentifiersCommand,
|
|
@@ -4078,82 +4151,31 @@ const commands = {
|
|
|
4078
4151
|
UpdateRevealConfigurationCommand,
|
|
4079
4152
|
UpdateSensitivityInspectionTemplateCommand,
|
|
4080
4153
|
};
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
const paginateListFindings = core.createPaginator(Macie2Client, ListFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
4100
|
-
|
|
4101
|
-
const paginateListFindingsFilters = core.createPaginator(Macie2Client, ListFindingsFiltersCommand, "nextToken", "nextToken", "maxResults");
|
|
4102
|
-
|
|
4103
|
-
const paginateListInvitations = core.createPaginator(Macie2Client, ListInvitationsCommand, "nextToken", "nextToken", "maxResults");
|
|
4104
|
-
|
|
4105
|
-
const paginateListManagedDataIdentifiers = core.createPaginator(Macie2Client, ListManagedDataIdentifiersCommand, "nextToken", "nextToken", "");
|
|
4106
|
-
|
|
4107
|
-
const paginateListMembers = core.createPaginator(Macie2Client, ListMembersCommand, "nextToken", "nextToken", "maxResults");
|
|
4108
|
-
|
|
4109
|
-
const paginateListOrganizationAdminAccounts = core.createPaginator(Macie2Client, ListOrganizationAdminAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
4110
|
-
|
|
4111
|
-
const paginateListResourceProfileArtifacts = core.createPaginator(Macie2Client, ListResourceProfileArtifactsCommand, "nextToken", "nextToken", "");
|
|
4112
|
-
|
|
4113
|
-
const paginateListResourceProfileDetections = core.createPaginator(Macie2Client, ListResourceProfileDetectionsCommand, "nextToken", "nextToken", "maxResults");
|
|
4114
|
-
|
|
4115
|
-
const paginateListSensitivityInspectionTemplates = core.createPaginator(Macie2Client, ListSensitivityInspectionTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
4116
|
-
|
|
4117
|
-
const paginateSearchResources = core.createPaginator(Macie2Client, SearchResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
4118
|
-
|
|
4119
|
-
const checkState = async (client, input) => {
|
|
4120
|
-
let reason;
|
|
4121
|
-
try {
|
|
4122
|
-
let result = await client.send(new GetSensitiveDataOccurrencesCommand(input));
|
|
4123
|
-
reason = result;
|
|
4124
|
-
try {
|
|
4125
|
-
const returnComparator = () => {
|
|
4126
|
-
return result.status;
|
|
4127
|
-
};
|
|
4128
|
-
if (returnComparator() === "SUCCESS") {
|
|
4129
|
-
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
4130
|
-
}
|
|
4131
|
-
}
|
|
4132
|
-
catch (e) { }
|
|
4133
|
-
try {
|
|
4134
|
-
const returnComparator = () => {
|
|
4135
|
-
return result.status;
|
|
4136
|
-
};
|
|
4137
|
-
if (returnComparator() === "ERROR") {
|
|
4138
|
-
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
4139
|
-
}
|
|
4140
|
-
}
|
|
4141
|
-
catch (e) { }
|
|
4142
|
-
}
|
|
4143
|
-
catch (exception) {
|
|
4144
|
-
reason = exception;
|
|
4145
|
-
}
|
|
4146
|
-
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
4147
|
-
};
|
|
4148
|
-
const waitForFindingRevealed = async (params, input) => {
|
|
4149
|
-
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
4150
|
-
return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
4154
|
+
const paginators = {
|
|
4155
|
+
paginateDescribeBuckets,
|
|
4156
|
+
paginateGetUsageStatistics,
|
|
4157
|
+
paginateListAllowLists,
|
|
4158
|
+
paginateListAutomatedDiscoveryAccounts,
|
|
4159
|
+
paginateListClassificationJobs,
|
|
4160
|
+
paginateListClassificationScopes,
|
|
4161
|
+
paginateListCustomDataIdentifiers,
|
|
4162
|
+
paginateListFindings,
|
|
4163
|
+
paginateListFindingsFilters,
|
|
4164
|
+
paginateListInvitations,
|
|
4165
|
+
paginateListManagedDataIdentifiers,
|
|
4166
|
+
paginateListMembers,
|
|
4167
|
+
paginateListOrganizationAdminAccounts,
|
|
4168
|
+
paginateListResourceProfileArtifacts,
|
|
4169
|
+
paginateListResourceProfileDetections,
|
|
4170
|
+
paginateListSensitivityInspectionTemplates,
|
|
4171
|
+
paginateSearchResources,
|
|
4151
4172
|
};
|
|
4152
|
-
const
|
|
4153
|
-
|
|
4154
|
-
const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
4155
|
-
return utilWaiter.checkExceptions(result);
|
|
4173
|
+
const waiters = {
|
|
4174
|
+
waitUntilFindingRevealed,
|
|
4156
4175
|
};
|
|
4176
|
+
class Macie2 extends Macie2Client {
|
|
4177
|
+
}
|
|
4178
|
+
smithyClient.createAggregatedClient(commands, Macie2, { paginators, waiters });
|
|
4157
4179
|
|
|
4158
4180
|
const AdminStatus = {
|
|
4159
4181
|
DISABLING_IN_PROGRESS: "DISABLING_IN_PROGRESS",
|
package/dist-es/Macie2.js
CHANGED
|
@@ -81,6 +81,24 @@ import { UpdateResourceProfileDetectionsCommand, } from "./commands/UpdateResour
|
|
|
81
81
|
import { UpdateRevealConfigurationCommand, } from "./commands/UpdateRevealConfigurationCommand";
|
|
82
82
|
import { UpdateSensitivityInspectionTemplateCommand, } from "./commands/UpdateSensitivityInspectionTemplateCommand";
|
|
83
83
|
import { Macie2Client } from "./Macie2Client";
|
|
84
|
+
import { paginateDescribeBuckets } from "./pagination/DescribeBucketsPaginator";
|
|
85
|
+
import { paginateGetUsageStatistics } from "./pagination/GetUsageStatisticsPaginator";
|
|
86
|
+
import { paginateListAllowLists } from "./pagination/ListAllowListsPaginator";
|
|
87
|
+
import { paginateListAutomatedDiscoveryAccounts } from "./pagination/ListAutomatedDiscoveryAccountsPaginator";
|
|
88
|
+
import { paginateListClassificationJobs } from "./pagination/ListClassificationJobsPaginator";
|
|
89
|
+
import { paginateListClassificationScopes } from "./pagination/ListClassificationScopesPaginator";
|
|
90
|
+
import { paginateListCustomDataIdentifiers } from "./pagination/ListCustomDataIdentifiersPaginator";
|
|
91
|
+
import { paginateListFindingsFilters } from "./pagination/ListFindingsFiltersPaginator";
|
|
92
|
+
import { paginateListFindings } from "./pagination/ListFindingsPaginator";
|
|
93
|
+
import { paginateListInvitations } from "./pagination/ListInvitationsPaginator";
|
|
94
|
+
import { paginateListManagedDataIdentifiers } from "./pagination/ListManagedDataIdentifiersPaginator";
|
|
95
|
+
import { paginateListMembers } from "./pagination/ListMembersPaginator";
|
|
96
|
+
import { paginateListOrganizationAdminAccounts } from "./pagination/ListOrganizationAdminAccountsPaginator";
|
|
97
|
+
import { paginateListResourceProfileArtifacts } from "./pagination/ListResourceProfileArtifactsPaginator";
|
|
98
|
+
import { paginateListResourceProfileDetections } from "./pagination/ListResourceProfileDetectionsPaginator";
|
|
99
|
+
import { paginateListSensitivityInspectionTemplates } from "./pagination/ListSensitivityInspectionTemplatesPaginator";
|
|
100
|
+
import { paginateSearchResources } from "./pagination/SearchResourcesPaginator";
|
|
101
|
+
import { waitUntilFindingRevealed } from "./waiters/waitForFindingRevealed";
|
|
84
102
|
const commands = {
|
|
85
103
|
AcceptInvitationCommand,
|
|
86
104
|
BatchGetCustomDataIdentifiersCommand,
|
|
@@ -164,6 +182,28 @@ const commands = {
|
|
|
164
182
|
UpdateRevealConfigurationCommand,
|
|
165
183
|
UpdateSensitivityInspectionTemplateCommand,
|
|
166
184
|
};
|
|
185
|
+
const paginators = {
|
|
186
|
+
paginateDescribeBuckets,
|
|
187
|
+
paginateGetUsageStatistics,
|
|
188
|
+
paginateListAllowLists,
|
|
189
|
+
paginateListAutomatedDiscoveryAccounts,
|
|
190
|
+
paginateListClassificationJobs,
|
|
191
|
+
paginateListClassificationScopes,
|
|
192
|
+
paginateListCustomDataIdentifiers,
|
|
193
|
+
paginateListFindings,
|
|
194
|
+
paginateListFindingsFilters,
|
|
195
|
+
paginateListInvitations,
|
|
196
|
+
paginateListManagedDataIdentifiers,
|
|
197
|
+
paginateListMembers,
|
|
198
|
+
paginateListOrganizationAdminAccounts,
|
|
199
|
+
paginateListResourceProfileArtifacts,
|
|
200
|
+
paginateListResourceProfileDetections,
|
|
201
|
+
paginateListSensitivityInspectionTemplates,
|
|
202
|
+
paginateSearchResources,
|
|
203
|
+
};
|
|
204
|
+
const waiters = {
|
|
205
|
+
waitUntilFindingRevealed,
|
|
206
|
+
};
|
|
167
207
|
export class Macie2 extends Macie2Client {
|
|
168
208
|
}
|
|
169
|
-
createAggregatedClient(commands, Macie2);
|
|
209
|
+
createAggregatedClient(commands, Macie2, { paginators, waiters });
|
package/dist-types/Macie2.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
+
import type { WaiterResult } from "@smithy/util-waiter";
|
|
2
3
|
import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
|
|
3
4
|
import { BatchGetCustomDataIdentifiersCommandInput, BatchGetCustomDataIdentifiersCommandOutput } from "./commands/BatchGetCustomDataIdentifiersCommand";
|
|
4
5
|
import { BatchUpdateAutomatedDiscoveryAccountsCommandInput, BatchUpdateAutomatedDiscoveryAccountsCommandOutput } from "./commands/BatchUpdateAutomatedDiscoveryAccountsCommand";
|
|
@@ -603,6 +604,131 @@ export interface Macie2 {
|
|
|
603
604
|
updateSensitivityInspectionTemplate(args: UpdateSensitivityInspectionTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSensitivityInspectionTemplateCommandOutput>;
|
|
604
605
|
updateSensitivityInspectionTemplate(args: UpdateSensitivityInspectionTemplateCommandInput, cb: (err: any, data?: UpdateSensitivityInspectionTemplateCommandOutput) => void): void;
|
|
605
606
|
updateSensitivityInspectionTemplate(args: UpdateSensitivityInspectionTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSensitivityInspectionTemplateCommandOutput) => void): void;
|
|
607
|
+
/**
|
|
608
|
+
* @see {@link DescribeBucketsCommand}
|
|
609
|
+
* @param args - command input.
|
|
610
|
+
* @param paginationConfig - optional pagination config.
|
|
611
|
+
* @returns AsyncIterable of {@link DescribeBucketsCommandOutput}.
|
|
612
|
+
*/
|
|
613
|
+
paginateDescribeBuckets(args?: DescribeBucketsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeBucketsCommandOutput>;
|
|
614
|
+
/**
|
|
615
|
+
* @see {@link GetUsageStatisticsCommand}
|
|
616
|
+
* @param args - command input.
|
|
617
|
+
* @param paginationConfig - optional pagination config.
|
|
618
|
+
* @returns AsyncIterable of {@link GetUsageStatisticsCommandOutput}.
|
|
619
|
+
*/
|
|
620
|
+
paginateGetUsageStatistics(args?: GetUsageStatisticsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetUsageStatisticsCommandOutput>;
|
|
621
|
+
/**
|
|
622
|
+
* @see {@link ListAllowListsCommand}
|
|
623
|
+
* @param args - command input.
|
|
624
|
+
* @param paginationConfig - optional pagination config.
|
|
625
|
+
* @returns AsyncIterable of {@link ListAllowListsCommandOutput}.
|
|
626
|
+
*/
|
|
627
|
+
paginateListAllowLists(args?: ListAllowListsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAllowListsCommandOutput>;
|
|
628
|
+
/**
|
|
629
|
+
* @see {@link ListAutomatedDiscoveryAccountsCommand}
|
|
630
|
+
* @param args - command input.
|
|
631
|
+
* @param paginationConfig - optional pagination config.
|
|
632
|
+
* @returns AsyncIterable of {@link ListAutomatedDiscoveryAccountsCommandOutput}.
|
|
633
|
+
*/
|
|
634
|
+
paginateListAutomatedDiscoveryAccounts(args?: ListAutomatedDiscoveryAccountsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAutomatedDiscoveryAccountsCommandOutput>;
|
|
635
|
+
/**
|
|
636
|
+
* @see {@link ListClassificationJobsCommand}
|
|
637
|
+
* @param args - command input.
|
|
638
|
+
* @param paginationConfig - optional pagination config.
|
|
639
|
+
* @returns AsyncIterable of {@link ListClassificationJobsCommandOutput}.
|
|
640
|
+
*/
|
|
641
|
+
paginateListClassificationJobs(args?: ListClassificationJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListClassificationJobsCommandOutput>;
|
|
642
|
+
/**
|
|
643
|
+
* @see {@link ListClassificationScopesCommand}
|
|
644
|
+
* @param args - command input.
|
|
645
|
+
* @param paginationConfig - optional pagination config.
|
|
646
|
+
* @returns AsyncIterable of {@link ListClassificationScopesCommandOutput}.
|
|
647
|
+
*/
|
|
648
|
+
paginateListClassificationScopes(args?: ListClassificationScopesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListClassificationScopesCommandOutput>;
|
|
649
|
+
/**
|
|
650
|
+
* @see {@link ListCustomDataIdentifiersCommand}
|
|
651
|
+
* @param args - command input.
|
|
652
|
+
* @param paginationConfig - optional pagination config.
|
|
653
|
+
* @returns AsyncIterable of {@link ListCustomDataIdentifiersCommandOutput}.
|
|
654
|
+
*/
|
|
655
|
+
paginateListCustomDataIdentifiers(args?: ListCustomDataIdentifiersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCustomDataIdentifiersCommandOutput>;
|
|
656
|
+
/**
|
|
657
|
+
* @see {@link ListFindingsCommand}
|
|
658
|
+
* @param args - command input.
|
|
659
|
+
* @param paginationConfig - optional pagination config.
|
|
660
|
+
* @returns AsyncIterable of {@link ListFindingsCommandOutput}.
|
|
661
|
+
*/
|
|
662
|
+
paginateListFindings(args?: ListFindingsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFindingsCommandOutput>;
|
|
663
|
+
/**
|
|
664
|
+
* @see {@link ListFindingsFiltersCommand}
|
|
665
|
+
* @param args - command input.
|
|
666
|
+
* @param paginationConfig - optional pagination config.
|
|
667
|
+
* @returns AsyncIterable of {@link ListFindingsFiltersCommandOutput}.
|
|
668
|
+
*/
|
|
669
|
+
paginateListFindingsFilters(args?: ListFindingsFiltersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFindingsFiltersCommandOutput>;
|
|
670
|
+
/**
|
|
671
|
+
* @see {@link ListInvitationsCommand}
|
|
672
|
+
* @param args - command input.
|
|
673
|
+
* @param paginationConfig - optional pagination config.
|
|
674
|
+
* @returns AsyncIterable of {@link ListInvitationsCommandOutput}.
|
|
675
|
+
*/
|
|
676
|
+
paginateListInvitations(args?: ListInvitationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListInvitationsCommandOutput>;
|
|
677
|
+
/**
|
|
678
|
+
* @see {@link ListManagedDataIdentifiersCommand}
|
|
679
|
+
* @param args - command input.
|
|
680
|
+
* @param paginationConfig - optional pagination config.
|
|
681
|
+
* @returns AsyncIterable of {@link ListManagedDataIdentifiersCommandOutput}.
|
|
682
|
+
*/
|
|
683
|
+
paginateListManagedDataIdentifiers(args?: ListManagedDataIdentifiersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListManagedDataIdentifiersCommandOutput>;
|
|
684
|
+
/**
|
|
685
|
+
* @see {@link ListMembersCommand}
|
|
686
|
+
* @param args - command input.
|
|
687
|
+
* @param paginationConfig - optional pagination config.
|
|
688
|
+
* @returns AsyncIterable of {@link ListMembersCommandOutput}.
|
|
689
|
+
*/
|
|
690
|
+
paginateListMembers(args?: ListMembersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMembersCommandOutput>;
|
|
691
|
+
/**
|
|
692
|
+
* @see {@link ListOrganizationAdminAccountsCommand}
|
|
693
|
+
* @param args - command input.
|
|
694
|
+
* @param paginationConfig - optional pagination config.
|
|
695
|
+
* @returns AsyncIterable of {@link ListOrganizationAdminAccountsCommandOutput}.
|
|
696
|
+
*/
|
|
697
|
+
paginateListOrganizationAdminAccounts(args?: ListOrganizationAdminAccountsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListOrganizationAdminAccountsCommandOutput>;
|
|
698
|
+
/**
|
|
699
|
+
* @see {@link ListResourceProfileArtifactsCommand}
|
|
700
|
+
* @param args - command input.
|
|
701
|
+
* @param paginationConfig - optional pagination config.
|
|
702
|
+
* @returns AsyncIterable of {@link ListResourceProfileArtifactsCommandOutput}.
|
|
703
|
+
*/
|
|
704
|
+
paginateListResourceProfileArtifacts(args: ListResourceProfileArtifactsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListResourceProfileArtifactsCommandOutput>;
|
|
705
|
+
/**
|
|
706
|
+
* @see {@link ListResourceProfileDetectionsCommand}
|
|
707
|
+
* @param args - command input.
|
|
708
|
+
* @param paginationConfig - optional pagination config.
|
|
709
|
+
* @returns AsyncIterable of {@link ListResourceProfileDetectionsCommandOutput}.
|
|
710
|
+
*/
|
|
711
|
+
paginateListResourceProfileDetections(args: ListResourceProfileDetectionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListResourceProfileDetectionsCommandOutput>;
|
|
712
|
+
/**
|
|
713
|
+
* @see {@link ListSensitivityInspectionTemplatesCommand}
|
|
714
|
+
* @param args - command input.
|
|
715
|
+
* @param paginationConfig - optional pagination config.
|
|
716
|
+
* @returns AsyncIterable of {@link ListSensitivityInspectionTemplatesCommandOutput}.
|
|
717
|
+
*/
|
|
718
|
+
paginateListSensitivityInspectionTemplates(args?: ListSensitivityInspectionTemplatesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSensitivityInspectionTemplatesCommandOutput>;
|
|
719
|
+
/**
|
|
720
|
+
* @see {@link SearchResourcesCommand}
|
|
721
|
+
* @param args - command input.
|
|
722
|
+
* @param paginationConfig - optional pagination config.
|
|
723
|
+
* @returns AsyncIterable of {@link SearchResourcesCommandOutput}.
|
|
724
|
+
*/
|
|
725
|
+
paginateSearchResources(args?: SearchResourcesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchResourcesCommandOutput>;
|
|
726
|
+
/**
|
|
727
|
+
* @see {@link GetSensitiveDataOccurrencesCommand}
|
|
728
|
+
* @param args - command input.
|
|
729
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
730
|
+
*/
|
|
731
|
+
waitUntilFindingRevealed(args: GetSensitiveDataOccurrencesCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Macie2>, "client">): Promise<WaiterResult>;
|
|
606
732
|
}
|
|
607
733
|
/**
|
|
608
734
|
* <p>Amazon Macie</p>
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
WaiterConfiguration,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
import { WaiterResult } from "@smithy/util-waiter";
|
|
2
8
|
import {
|
|
3
9
|
AcceptInvitationCommandInput,
|
|
4
10
|
AcceptInvitationCommandOutput,
|
|
@@ -1485,5 +1491,133 @@ export interface Macie2 {
|
|
|
1485
1491
|
data?: UpdateSensitivityInspectionTemplateCommandOutput
|
|
1486
1492
|
) => void
|
|
1487
1493
|
): void;
|
|
1494
|
+
paginateDescribeBuckets(
|
|
1495
|
+
args?: DescribeBucketsCommandInput,
|
|
1496
|
+
paginationConfig?: Pick<
|
|
1497
|
+
PaginationConfiguration,
|
|
1498
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1499
|
+
>
|
|
1500
|
+
): Paginator<DescribeBucketsCommandOutput>;
|
|
1501
|
+
paginateGetUsageStatistics(
|
|
1502
|
+
args?: GetUsageStatisticsCommandInput,
|
|
1503
|
+
paginationConfig?: Pick<
|
|
1504
|
+
PaginationConfiguration,
|
|
1505
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1506
|
+
>
|
|
1507
|
+
): Paginator<GetUsageStatisticsCommandOutput>;
|
|
1508
|
+
paginateListAllowLists(
|
|
1509
|
+
args?: ListAllowListsCommandInput,
|
|
1510
|
+
paginationConfig?: Pick<
|
|
1511
|
+
PaginationConfiguration,
|
|
1512
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1513
|
+
>
|
|
1514
|
+
): Paginator<ListAllowListsCommandOutput>;
|
|
1515
|
+
paginateListAutomatedDiscoveryAccounts(
|
|
1516
|
+
args?: ListAutomatedDiscoveryAccountsCommandInput,
|
|
1517
|
+
paginationConfig?: Pick<
|
|
1518
|
+
PaginationConfiguration,
|
|
1519
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1520
|
+
>
|
|
1521
|
+
): Paginator<ListAutomatedDiscoveryAccountsCommandOutput>;
|
|
1522
|
+
paginateListClassificationJobs(
|
|
1523
|
+
args?: ListClassificationJobsCommandInput,
|
|
1524
|
+
paginationConfig?: Pick<
|
|
1525
|
+
PaginationConfiguration,
|
|
1526
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1527
|
+
>
|
|
1528
|
+
): Paginator<ListClassificationJobsCommandOutput>;
|
|
1529
|
+
paginateListClassificationScopes(
|
|
1530
|
+
args?: ListClassificationScopesCommandInput,
|
|
1531
|
+
paginationConfig?: Pick<
|
|
1532
|
+
PaginationConfiguration,
|
|
1533
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1534
|
+
>
|
|
1535
|
+
): Paginator<ListClassificationScopesCommandOutput>;
|
|
1536
|
+
paginateListCustomDataIdentifiers(
|
|
1537
|
+
args?: ListCustomDataIdentifiersCommandInput,
|
|
1538
|
+
paginationConfig?: Pick<
|
|
1539
|
+
PaginationConfiguration,
|
|
1540
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1541
|
+
>
|
|
1542
|
+
): Paginator<ListCustomDataIdentifiersCommandOutput>;
|
|
1543
|
+
paginateListFindings(
|
|
1544
|
+
args?: ListFindingsCommandInput,
|
|
1545
|
+
paginationConfig?: Pick<
|
|
1546
|
+
PaginationConfiguration,
|
|
1547
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1548
|
+
>
|
|
1549
|
+
): Paginator<ListFindingsCommandOutput>;
|
|
1550
|
+
paginateListFindingsFilters(
|
|
1551
|
+
args?: ListFindingsFiltersCommandInput,
|
|
1552
|
+
paginationConfig?: Pick<
|
|
1553
|
+
PaginationConfiguration,
|
|
1554
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1555
|
+
>
|
|
1556
|
+
): Paginator<ListFindingsFiltersCommandOutput>;
|
|
1557
|
+
paginateListInvitations(
|
|
1558
|
+
args?: ListInvitationsCommandInput,
|
|
1559
|
+
paginationConfig?: Pick<
|
|
1560
|
+
PaginationConfiguration,
|
|
1561
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1562
|
+
>
|
|
1563
|
+
): Paginator<ListInvitationsCommandOutput>;
|
|
1564
|
+
paginateListManagedDataIdentifiers(
|
|
1565
|
+
args?: ListManagedDataIdentifiersCommandInput,
|
|
1566
|
+
paginationConfig?: Pick<
|
|
1567
|
+
PaginationConfiguration,
|
|
1568
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1569
|
+
>
|
|
1570
|
+
): Paginator<ListManagedDataIdentifiersCommandOutput>;
|
|
1571
|
+
paginateListMembers(
|
|
1572
|
+
args?: ListMembersCommandInput,
|
|
1573
|
+
paginationConfig?: Pick<
|
|
1574
|
+
PaginationConfiguration,
|
|
1575
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1576
|
+
>
|
|
1577
|
+
): Paginator<ListMembersCommandOutput>;
|
|
1578
|
+
paginateListOrganizationAdminAccounts(
|
|
1579
|
+
args?: ListOrganizationAdminAccountsCommandInput,
|
|
1580
|
+
paginationConfig?: Pick<
|
|
1581
|
+
PaginationConfiguration,
|
|
1582
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1583
|
+
>
|
|
1584
|
+
): Paginator<ListOrganizationAdminAccountsCommandOutput>;
|
|
1585
|
+
paginateListResourceProfileArtifacts(
|
|
1586
|
+
args: ListResourceProfileArtifactsCommandInput,
|
|
1587
|
+
paginationConfig?: Pick<
|
|
1588
|
+
PaginationConfiguration,
|
|
1589
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1590
|
+
>
|
|
1591
|
+
): Paginator<ListResourceProfileArtifactsCommandOutput>;
|
|
1592
|
+
paginateListResourceProfileDetections(
|
|
1593
|
+
args: ListResourceProfileDetectionsCommandInput,
|
|
1594
|
+
paginationConfig?: Pick<
|
|
1595
|
+
PaginationConfiguration,
|
|
1596
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1597
|
+
>
|
|
1598
|
+
): Paginator<ListResourceProfileDetectionsCommandOutput>;
|
|
1599
|
+
paginateListSensitivityInspectionTemplates(
|
|
1600
|
+
args?: ListSensitivityInspectionTemplatesCommandInput,
|
|
1601
|
+
paginationConfig?: Pick<
|
|
1602
|
+
PaginationConfiguration,
|
|
1603
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1604
|
+
>
|
|
1605
|
+
): Paginator<ListSensitivityInspectionTemplatesCommandOutput>;
|
|
1606
|
+
paginateSearchResources(
|
|
1607
|
+
args?: SearchResourcesCommandInput,
|
|
1608
|
+
paginationConfig?: Pick<
|
|
1609
|
+
PaginationConfiguration,
|
|
1610
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1611
|
+
>
|
|
1612
|
+
): Paginator<SearchResourcesCommandOutput>;
|
|
1613
|
+
waitUntilFindingRevealed(
|
|
1614
|
+
args: GetSensitiveDataOccurrencesCommandInput,
|
|
1615
|
+
waiterConfig:
|
|
1616
|
+
| number
|
|
1617
|
+
| Pick<
|
|
1618
|
+
WaiterConfiguration<Macie2>,
|
|
1619
|
+
Exclude<keyof WaiterConfiguration<Macie2>, "client">
|
|
1620
|
+
>
|
|
1621
|
+
): Promise<WaiterResult>;
|
|
1488
1622
|
}
|
|
1489
1623
|
export declare class Macie2 extends Macie2Client implements Macie2 {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-macie2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Macie2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-macie2",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|