@aws-sdk/client-macie2 3.31.0 → 3.32.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/CHANGELOG.md +11 -0
- package/Macie2.ts +38 -1
- package/Macie2Client.ts +6 -0
- package/commands/ListInvitationsCommand.ts +1 -1
- package/commands/ListManagedDataIdentifiersCommand.ts +97 -0
- package/dist/cjs/Macie2.js +15 -0
- package/dist/cjs/Macie2.js.map +1 -1
- package/dist/cjs/Macie2Client.js +13 -13
- package/dist/cjs/Macie2Client.js.map +1 -1
- package/dist/cjs/commands/AcceptInvitationCommand.js +3 -3
- package/dist/cjs/commands/AcceptInvitationCommand.js.map +1 -1
- package/dist/cjs/commands/BatchGetCustomDataIdentifiersCommand.js +3 -3
- package/dist/cjs/commands/BatchGetCustomDataIdentifiersCommand.js.map +1 -1
- package/dist/cjs/commands/CreateClassificationJobCommand.js +3 -3
- package/dist/cjs/commands/CreateClassificationJobCommand.js.map +1 -1
- package/dist/cjs/commands/CreateCustomDataIdentifierCommand.js +3 -3
- package/dist/cjs/commands/CreateCustomDataIdentifierCommand.js.map +1 -1
- package/dist/cjs/commands/CreateFindingsFilterCommand.js +3 -3
- package/dist/cjs/commands/CreateFindingsFilterCommand.js.map +1 -1
- package/dist/cjs/commands/CreateInvitationsCommand.js +3 -3
- package/dist/cjs/commands/CreateInvitationsCommand.js.map +1 -1
- package/dist/cjs/commands/CreateMemberCommand.js +3 -3
- package/dist/cjs/commands/CreateMemberCommand.js.map +1 -1
- package/dist/cjs/commands/CreateSampleFindingsCommand.js +3 -3
- package/dist/cjs/commands/CreateSampleFindingsCommand.js.map +1 -1
- package/dist/cjs/commands/DeclineInvitationsCommand.js +3 -3
- package/dist/cjs/commands/DeclineInvitationsCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteCustomDataIdentifierCommand.js +3 -3
- package/dist/cjs/commands/DeleteCustomDataIdentifierCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteFindingsFilterCommand.js +3 -3
- package/dist/cjs/commands/DeleteFindingsFilterCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteInvitationsCommand.js +3 -3
- package/dist/cjs/commands/DeleteInvitationsCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMemberCommand.js +3 -3
- package/dist/cjs/commands/DeleteMemberCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBucketsCommand.js +3 -3
- package/dist/cjs/commands/DescribeBucketsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeClassificationJobCommand.js +3 -3
- package/dist/cjs/commands/DescribeClassificationJobCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeOrganizationConfigurationCommand.js +3 -3
- package/dist/cjs/commands/DescribeOrganizationConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/DisableMacieCommand.js +3 -3
- package/dist/cjs/commands/DisableMacieCommand.js.map +1 -1
- package/dist/cjs/commands/DisableOrganizationAdminAccountCommand.js +3 -3
- package/dist/cjs/commands/DisableOrganizationAdminAccountCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateFromAdministratorAccountCommand.js +3 -3
- package/dist/cjs/commands/DisassociateFromAdministratorAccountCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateFromMasterAccountCommand.js +3 -3
- package/dist/cjs/commands/DisassociateFromMasterAccountCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateMemberCommand.js +3 -3
- package/dist/cjs/commands/DisassociateMemberCommand.js.map +1 -1
- package/dist/cjs/commands/EnableMacieCommand.js +3 -3
- package/dist/cjs/commands/EnableMacieCommand.js.map +1 -1
- package/dist/cjs/commands/EnableOrganizationAdminAccountCommand.js +3 -3
- package/dist/cjs/commands/EnableOrganizationAdminAccountCommand.js.map +1 -1
- package/dist/cjs/commands/GetAdministratorAccountCommand.js +3 -3
- package/dist/cjs/commands/GetAdministratorAccountCommand.js.map +1 -1
- package/dist/cjs/commands/GetBucketStatisticsCommand.js +3 -3
- package/dist/cjs/commands/GetBucketStatisticsCommand.js.map +1 -1
- package/dist/cjs/commands/GetClassificationExportConfigurationCommand.js +3 -3
- package/dist/cjs/commands/GetClassificationExportConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/GetCustomDataIdentifierCommand.js +3 -3
- package/dist/cjs/commands/GetCustomDataIdentifierCommand.js.map +1 -1
- package/dist/cjs/commands/GetFindingStatisticsCommand.js +3 -3
- package/dist/cjs/commands/GetFindingStatisticsCommand.js.map +1 -1
- package/dist/cjs/commands/GetFindingsCommand.js +3 -3
- package/dist/cjs/commands/GetFindingsCommand.js.map +1 -1
- package/dist/cjs/commands/GetFindingsFilterCommand.js +3 -3
- package/dist/cjs/commands/GetFindingsFilterCommand.js.map +1 -1
- package/dist/cjs/commands/GetFindingsPublicationConfigurationCommand.js +3 -3
- package/dist/cjs/commands/GetFindingsPublicationConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/GetInvitationsCountCommand.js +3 -3
- package/dist/cjs/commands/GetInvitationsCountCommand.js.map +1 -1
- package/dist/cjs/commands/GetMacieSessionCommand.js +3 -3
- package/dist/cjs/commands/GetMacieSessionCommand.js.map +1 -1
- package/dist/cjs/commands/GetMasterAccountCommand.js +3 -3
- package/dist/cjs/commands/GetMasterAccountCommand.js.map +1 -1
- package/dist/cjs/commands/GetMemberCommand.js +3 -3
- package/dist/cjs/commands/GetMemberCommand.js.map +1 -1
- package/dist/cjs/commands/GetUsageStatisticsCommand.js +3 -3
- package/dist/cjs/commands/GetUsageStatisticsCommand.js.map +1 -1
- package/dist/cjs/commands/GetUsageTotalsCommand.js +3 -3
- package/dist/cjs/commands/GetUsageTotalsCommand.js.map +1 -1
- package/dist/cjs/commands/ListClassificationJobsCommand.js +3 -3
- package/dist/cjs/commands/ListClassificationJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ListCustomDataIdentifiersCommand.js +3 -3
- package/dist/cjs/commands/ListCustomDataIdentifiersCommand.js.map +1 -1
- package/dist/cjs/commands/ListFindingsCommand.js +3 -3
- package/dist/cjs/commands/ListFindingsCommand.js.map +1 -1
- package/dist/cjs/commands/ListFindingsFiltersCommand.js +3 -3
- package/dist/cjs/commands/ListFindingsFiltersCommand.js.map +1 -1
- package/dist/cjs/commands/ListInvitationsCommand.js +4 -4
- package/dist/cjs/commands/ListInvitationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListManagedDataIdentifiersCommand.js +61 -0
- package/dist/cjs/commands/ListManagedDataIdentifiersCommand.js.map +1 -0
- package/dist/cjs/commands/ListMembersCommand.js +3 -3
- package/dist/cjs/commands/ListMembersCommand.js.map +1 -1
- package/dist/cjs/commands/ListOrganizationAdminAccountsCommand.js +3 -3
- package/dist/cjs/commands/ListOrganizationAdminAccountsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/PutClassificationExportConfigurationCommand.js +3 -3
- package/dist/cjs/commands/PutClassificationExportConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/PutFindingsPublicationConfigurationCommand.js +3 -3
- package/dist/cjs/commands/PutFindingsPublicationConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/SearchResourcesCommand.js +3 -3
- package/dist/cjs/commands/SearchResourcesCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/TestCustomDataIdentifierCommand.js +3 -3
- package/dist/cjs/commands/TestCustomDataIdentifierCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateClassificationJobCommand.js +3 -3
- package/dist/cjs/commands/UpdateClassificationJobCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateFindingsFilterCommand.js +3 -3
- package/dist/cjs/commands/UpdateFindingsFilterCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateMacieSessionCommand.js +3 -3
- package/dist/cjs/commands/UpdateMacieSessionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateMemberSessionCommand.js +3 -3
- package/dist/cjs/commands/UpdateMemberSessionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateOrganizationConfigurationCommand.js +3 -3
- package/dist/cjs/commands/UpdateOrganizationConfigurationCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +71 -70
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/models/models_0.js +39 -5
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +481 -384
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/Macie2.js +15 -0
- package/dist/es/Macie2.js.map +1 -1
- package/dist/es/Macie2Client.js.map +1 -1
- package/dist/es/commands/ListInvitationsCommand.js +1 -1
- package/dist/es/commands/ListManagedDataIdentifiersCommand.js +65 -0
- package/dist/es/commands/ListManagedDataIdentifiersCommand.js.map +1 -0
- package/dist/es/index.js +1 -0
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/models_0.js +28 -0
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/DescribeBucketsPaginator.js +4 -4
- package/dist/es/pagination/DescribeBucketsPaginator.js.map +1 -1
- package/dist/es/pagination/GetUsageStatisticsPaginator.js +4 -4
- package/dist/es/pagination/GetUsageStatisticsPaginator.js.map +1 -1
- package/dist/es/pagination/ListClassificationJobsPaginator.js +4 -4
- package/dist/es/pagination/ListClassificationJobsPaginator.js.map +1 -1
- package/dist/es/pagination/ListCustomDataIdentifiersPaginator.js +4 -4
- package/dist/es/pagination/ListCustomDataIdentifiersPaginator.js.map +1 -1
- package/dist/es/pagination/ListFindingsFiltersPaginator.js +4 -4
- package/dist/es/pagination/ListFindingsFiltersPaginator.js.map +1 -1
- package/dist/es/pagination/ListFindingsPaginator.js +4 -4
- package/dist/es/pagination/ListFindingsPaginator.js.map +1 -1
- package/dist/es/pagination/ListInvitationsPaginator.js +4 -4
- package/dist/es/pagination/ListInvitationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListMembersPaginator.js +4 -4
- package/dist/es/pagination/ListMembersPaginator.js.map +1 -1
- package/dist/es/pagination/ListOrganizationAdminAccountsPaginator.js +4 -4
- package/dist/es/pagination/ListOrganizationAdminAccountsPaginator.js.map +1 -1
- package/dist/es/pagination/SearchResourcesPaginator.js +4 -4
- package/dist/es/pagination/SearchResourcesPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restJson1.js +110 -2
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/types/Macie2.d.ts +8 -1
- package/dist/types/Macie2Client.d.ts +3 -2
- package/dist/types/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist/types/commands/ListManagedDataIdentifiersCommand.d.ts +35 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/models_0.d.ts +93 -24
- package/dist/types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist/types/ts3.4/Macie2.d.ts +8 -1
- package/dist/types/ts3.4/Macie2Client.d.ts +3 -2
- package/dist/types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist/types/ts3.4/commands/ListManagedDataIdentifiersCommand.d.ts +35 -0
- package/dist/types/ts3.4/index.d.ts +1 -0
- package/dist/types/ts3.4/models/models_0.d.ts +93 -24
- package/dist/types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/index.ts +1 -0
- package/models/models_0.ts +112 -24
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +124 -0
- package/tsconfig.json +1 -2
|
@@ -694,7 +694,7 @@ export declare namespace _Record {
|
|
|
694
694
|
const filterSensitiveLog: (obj: _Record) => any;
|
|
695
695
|
}
|
|
696
696
|
/**
|
|
697
|
-
* <p>Specifies the location of 1-15 occurrences of sensitive data that was detected by managed data
|
|
697
|
+
* <p>Specifies the location of 1-15 occurrences of sensitive data that was detected by a managed data identifier or a custom data identifier and produced a sensitive data finding.</p>
|
|
698
698
|
*/
|
|
699
699
|
export interface Occurrences {
|
|
700
700
|
/**
|
|
@@ -777,7 +777,7 @@ export declare enum SensitiveDataItemCategory {
|
|
|
777
777
|
PERSONAL_INFORMATION = "PERSONAL_INFORMATION"
|
|
778
778
|
}
|
|
779
779
|
/**
|
|
780
|
-
* <p>Provides information about a type of sensitive data that was detected by managed data
|
|
780
|
+
* <p>Provides information about a type of sensitive data that was detected by a managed data identifier and produced a sensitive data finding.</p>
|
|
781
781
|
*/
|
|
782
782
|
export interface DefaultDetection {
|
|
783
783
|
/**
|
|
@@ -804,7 +804,7 @@ export declare namespace DefaultDetection {
|
|
|
804
804
|
*/
|
|
805
805
|
export interface SensitiveDataItem {
|
|
806
806
|
/**
|
|
807
|
-
* <p>The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as
|
|
807
|
+
* <p>The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.</p>
|
|
808
808
|
*/
|
|
809
809
|
category?: SensitiveDataItemCategory | string;
|
|
810
810
|
/**
|
|
@@ -1408,15 +1408,15 @@ export declare namespace ServerSideEncryption {
|
|
|
1408
1408
|
const filterSensitiveLog: (obj: ServerSideEncryption) => any;
|
|
1409
1409
|
}
|
|
1410
1410
|
/**
|
|
1411
|
-
* <p>Provides information about the
|
|
1411
|
+
* <p>Provides information about the Amazon Web Services account that owns an S3 bucket.</p>
|
|
1412
1412
|
*/
|
|
1413
1413
|
export interface S3BucketOwner {
|
|
1414
1414
|
/**
|
|
1415
|
-
* <p>The display name of the
|
|
1415
|
+
* <p>The display name of the account that owns the bucket.</p>
|
|
1416
1416
|
*/
|
|
1417
1417
|
displayName?: string;
|
|
1418
1418
|
/**
|
|
1419
|
-
* <p>The
|
|
1419
|
+
* <p>The canonical user ID for the account that owns the bucket.</p>
|
|
1420
1420
|
*/
|
|
1421
1421
|
id?: string;
|
|
1422
1422
|
}
|
|
@@ -1451,7 +1451,7 @@ export interface S3Bucket {
|
|
|
1451
1451
|
*/
|
|
1452
1452
|
name?: string;
|
|
1453
1453
|
/**
|
|
1454
|
-
* <p>The display name and
|
|
1454
|
+
* <p>The display name and canonical user ID for the Amazon Web Services account that owns the bucket.</p>
|
|
1455
1455
|
*/
|
|
1456
1456
|
owner?: S3BucketOwner;
|
|
1457
1457
|
/**
|
|
@@ -1991,7 +1991,7 @@ export interface JobSummary {
|
|
|
1991
1991
|
*/
|
|
1992
1992
|
jobId?: string;
|
|
1993
1993
|
/**
|
|
1994
|
-
* <p>The current status of the job. Possible values are:</p> <ul><li><p>CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.</p></li> <li><p>COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.</p></li> <li><p>IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.</p></li> <li><p>PAUSED -
|
|
1994
|
+
* <p>The current status of the job. Possible values are:</p> <ul><li><p>CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.</p></li> <li><p>COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.</p></li> <li><p>IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.</p></li> <li><p>PAUSED - Macie started running the job but additional processing would exceed the monthly sensitive data discovery quota for your account or one or more member accounts that the job analyzes data for.</p></li> <li><p>RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.</p></li> <li><p>USER_PAUSED - You paused the job. If you paused the job while it had a status of RUNNING and you don't resume it within 30 days of pausing it, the job or job run will expire and be cancelled, depending on the job's type. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.</p></li></ul>
|
|
1995
1995
|
*/
|
|
1996
1996
|
jobStatus?: JobStatus | string;
|
|
1997
1997
|
/**
|
|
@@ -2050,6 +2050,25 @@ export declare namespace ListJobsFilterTerm {
|
|
|
2050
2050
|
*/
|
|
2051
2051
|
const filterSensitiveLog: (obj: ListJobsFilterTerm) => any;
|
|
2052
2052
|
}
|
|
2053
|
+
/**
|
|
2054
|
+
* <p>Provides information about a managed data identifier. For additional information, see <a href="https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html">Using managed data identifiers</a> in the <i>Amazon Macie User Guide</i>.</p>
|
|
2055
|
+
*/
|
|
2056
|
+
export interface ManagedDataIdentifierSummary {
|
|
2057
|
+
/**
|
|
2058
|
+
* <p>The category of sensitive data that the managed data identifier detects: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.</p>
|
|
2059
|
+
*/
|
|
2060
|
+
category?: SensitiveDataItemCategory | string;
|
|
2061
|
+
/**
|
|
2062
|
+
* <p>The unique identifier for the managed data identifier. This is a string that describes the type of sensitive data that the managed data identifier detects. For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.</p>
|
|
2063
|
+
*/
|
|
2064
|
+
id?: string;
|
|
2065
|
+
}
|
|
2066
|
+
export declare namespace ManagedDataIdentifierSummary {
|
|
2067
|
+
/**
|
|
2068
|
+
* @internal
|
|
2069
|
+
*/
|
|
2070
|
+
const filterSensitiveLog: (obj: ManagedDataIdentifierSummary) => any;
|
|
2071
|
+
}
|
|
2053
2072
|
/**
|
|
2054
2073
|
* <p>Provides statistical data and other information about an S3 bucket that Amazon Macie monitors and analyzes.</p>
|
|
2055
2074
|
*/
|
|
@@ -2598,7 +2617,7 @@ export declare namespace AccountDetail {
|
|
|
2598
2617
|
}
|
|
2599
2618
|
export interface BatchGetCustomDataIdentifiersRequest {
|
|
2600
2619
|
/**
|
|
2601
|
-
* <p>An array of
|
|
2620
|
+
* <p>An array of custom data identifier IDs, one for each custom data identifier to retrieve information about.</p>
|
|
2602
2621
|
*/
|
|
2603
2622
|
ids?: string[];
|
|
2604
2623
|
}
|
|
@@ -2614,7 +2633,7 @@ export interface BatchGetCustomDataIdentifiersResponse {
|
|
|
2614
2633
|
*/
|
|
2615
2634
|
customDataIdentifiers?: BatchGetCustomDataIdentifierSummary[];
|
|
2616
2635
|
/**
|
|
2617
|
-
* <p>An array of
|
|
2636
|
+
* <p>An array of custom data identifier IDs, one for each custom data identifier that was specified in the request but doesn't correlate to an existing custom data identifier.</p>
|
|
2618
2637
|
*/
|
|
2619
2638
|
notFoundIdentifierIds?: string[];
|
|
2620
2639
|
}
|
|
@@ -2828,6 +2847,12 @@ export declare namespace ClassificationExportConfiguration {
|
|
|
2828
2847
|
*/
|
|
2829
2848
|
const filterSensitiveLog: (obj: ClassificationExportConfiguration) => any;
|
|
2830
2849
|
}
|
|
2850
|
+
export declare enum ManagedDataIdentifierSelector {
|
|
2851
|
+
ALL = "ALL",
|
|
2852
|
+
EXCLUDE = "EXCLUDE",
|
|
2853
|
+
INCLUDE = "INCLUDE",
|
|
2854
|
+
NONE = "NONE"
|
|
2855
|
+
}
|
|
2831
2856
|
/**
|
|
2832
2857
|
* <p>Specifies one or more property- and tag-based conditions that define criteria for including or excluding S3 objects from a classification job.</p>
|
|
2833
2858
|
*/
|
|
@@ -2964,7 +2989,7 @@ export interface CreateClassificationJobRequest {
|
|
|
2964
2989
|
*/
|
|
2965
2990
|
clientToken?: string;
|
|
2966
2991
|
/**
|
|
2967
|
-
* <p>
|
|
2992
|
+
* <p>An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes data. To use only managed data identifiers, don't specify a value for this property and specify a value other than NONE for the managedDataIdentifierSelector property.</p>
|
|
2968
2993
|
*/
|
|
2969
2994
|
customDataIdentifierIds?: string[];
|
|
2970
2995
|
/**
|
|
@@ -2972,13 +2997,21 @@ export interface CreateClassificationJobRequest {
|
|
|
2972
2997
|
*/
|
|
2973
2998
|
description?: string;
|
|
2974
2999
|
/**
|
|
2975
|
-
* <p>
|
|
3000
|
+
* <p>For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is created (true). To analyze only those objects that are created or changed after you create the job and before the job's first scheduled run, set this value to false.</p><p>If you configure the job to run only once, don't specify a value for this property.</p>
|
|
2976
3001
|
*/
|
|
2977
3002
|
initialRun?: boolean;
|
|
2978
3003
|
/**
|
|
2979
3004
|
* <p>The schedule for running the job. Valid values are:</p> <ul><li><p>ONE_TIME - Run the job only once. If you specify this value, don't specify a value for the scheduleFrequency property.</p></li> <li><p>SCHEDULED - Run the job on a daily, weekly, or monthly basis. If you specify this value, use the scheduleFrequency property to define the recurrence pattern for the job.</p></li></ul>
|
|
2980
3005
|
*/
|
|
2981
3006
|
jobType: JobType | string | undefined;
|
|
3007
|
+
/**
|
|
3008
|
+
* <p>An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type that you specify for the job (managedDataIdentifierSelector).</p><p>To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.</p>
|
|
3009
|
+
*/
|
|
3010
|
+
managedDataIdentifierIds?: string[];
|
|
3011
|
+
/**
|
|
3012
|
+
* <p>The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are:</p> <ul><li><p>ALL - Use all the managed data identifiers that Amazon Macie provides. If you specify this value, don't specify any values for the managedDataIdentifierIds property.</p></li> <li><p>EXCLUDE - Use all the managed data identifiers that Macie provides except the managed data identifiers specified by the managedDataIdentifierIds property.</p></li> <li><p>INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.</p></li> <li><p>NONE - Don't use any managed data identifiers. If you specify this value, specify at least one custom data identifier for the job (customDataIdentifierIds) and don't specify any values for the managedDataIdentifierIds property.</p></li></ul> <p>If you don't specify a value for this property, the job uses all managed data identifiers. If you don't specify a value for this property or you specify ALL or EXCLUDE for a recurring job, the job also uses new managed data identifiers as they are released.</p>
|
|
3013
|
+
*/
|
|
3014
|
+
managedDataIdentifierSelector?: ManagedDataIdentifierSelector | string;
|
|
2982
3015
|
/**
|
|
2983
3016
|
* <p>A custom name for the job. The name can contain as many as 500 characters.</p>
|
|
2984
3017
|
*/
|
|
@@ -2988,7 +3021,7 @@ export interface CreateClassificationJobRequest {
|
|
|
2988
3021
|
*/
|
|
2989
3022
|
s3JobDefinition: S3JobDefinition | undefined;
|
|
2990
3023
|
/**
|
|
2991
|
-
* <p>The sampling depth, as a percentage, to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.</p>
|
|
3024
|
+
* <p>The sampling depth, as a percentage, for the job to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.</p>
|
|
2992
3025
|
*/
|
|
2993
3026
|
samplingPercentage?: number;
|
|
2994
3027
|
/**
|
|
@@ -3034,15 +3067,15 @@ export interface CreateCustomDataIdentifierRequest {
|
|
|
3034
3067
|
*/
|
|
3035
3068
|
description?: string;
|
|
3036
3069
|
/**
|
|
3037
|
-
* <p>An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 characters. Ignore words are case sensitive.</p>
|
|
3070
|
+
* <p>An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive.</p>
|
|
3038
3071
|
*/
|
|
3039
3072
|
ignoreWords?: string[];
|
|
3040
3073
|
/**
|
|
3041
|
-
* <p>An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 characters. Keywords aren't case sensitive.</p>
|
|
3074
|
+
* <p>An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 UTF-8 characters. Keywords aren't case sensitive.</p>
|
|
3042
3075
|
*/
|
|
3043
3076
|
keywords?: string[];
|
|
3044
3077
|
/**
|
|
3045
|
-
* <p>The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50.</p>
|
|
3078
|
+
* <p>The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50.</p>
|
|
3046
3079
|
*/
|
|
3047
3080
|
maximumMatchDistance?: number;
|
|
3048
3081
|
/**
|
|
@@ -3461,7 +3494,7 @@ export interface DescribeClassificationJobResponse {
|
|
|
3461
3494
|
*/
|
|
3462
3495
|
createdAt?: Date;
|
|
3463
3496
|
/**
|
|
3464
|
-
* <p>
|
|
3497
|
+
* <p>An array of unique identifiers, one for each custom data identifier that the job uses to analyze data. This value is null if the job uses only managed data identifiers to analyze data.</p>
|
|
3465
3498
|
*/
|
|
3466
3499
|
customDataIdentifierIds?: string[];
|
|
3467
3500
|
/**
|
|
@@ -3469,7 +3502,7 @@ export interface DescribeClassificationJobResponse {
|
|
|
3469
3502
|
*/
|
|
3470
3503
|
description?: string;
|
|
3471
3504
|
/**
|
|
3472
|
-
* <p>
|
|
3505
|
+
* <p>For a recurring job, specifies whether you configured the job to analyze all existing, eligible objects immediately after the job was created (true). If you configured the job to analyze only those objects that were created or changed after the job was created and before the job's first scheduled run, this value is false. This value is also false for a one-time job.</p>
|
|
3473
3506
|
*/
|
|
3474
3507
|
initialRun?: boolean;
|
|
3475
3508
|
/**
|
|
@@ -3481,7 +3514,7 @@ export interface DescribeClassificationJobResponse {
|
|
|
3481
3514
|
*/
|
|
3482
3515
|
jobId?: string;
|
|
3483
3516
|
/**
|
|
3484
|
-
* <p>The current status of the job. Possible values are:</p> <ul><li><p>CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.</p></li> <li><p>COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.</p></li> <li><p>IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.</p></li> <li><p>PAUSED -
|
|
3517
|
+
* <p>The current status of the job. Possible values are:</p> <ul><li><p>CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.</p></li> <li><p>COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.</p></li> <li><p>IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.</p></li> <li><p>PAUSED - Macie started running the job but additional processing would exceed the monthly sensitive data discovery quota for your account or one or more member accounts that the job analyzes data for.</p></li> <li><p>RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.</p></li> <li><p>USER_PAUSED - You paused the job. If you paused the job while it had a status of RUNNING and you don't resume it within 30 days of pausing it, the job or job run will expire and be cancelled, depending on the job's type. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.</p></li></ul>
|
|
3485
3518
|
*/
|
|
3486
3519
|
jobStatus?: JobStatus | string;
|
|
3487
3520
|
/**
|
|
@@ -3496,6 +3529,14 @@ export interface DescribeClassificationJobResponse {
|
|
|
3496
3529
|
* <p>The date and time, in UTC and extended ISO 8601 format, when the job started. If the job is a recurring job, this value indicates when the most recent run started.</p>
|
|
3497
3530
|
*/
|
|
3498
3531
|
lastRunTime?: Date;
|
|
3532
|
+
/**
|
|
3533
|
+
* <p>An array of unique identifiers, one for each managed data identifier that the job is explicitly configured to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type specified for the job (managedDataIdentifierSelector). This value is null if the job's managed data identifier selection type is ALL or the job uses only custom data identifiers (customDataIdentifierIds) to analyze data.</p>
|
|
3534
|
+
*/
|
|
3535
|
+
managedDataIdentifierIds?: string[];
|
|
3536
|
+
/**
|
|
3537
|
+
* <p>The selection type that determines which managed data identifiers the job uses to analyze data. Possible values are:</p> <ul><li><p>ALL - Use all the managed data identifiers that Amazon Macie provides.</p></li> <li><p>EXCLUDE - Use all the managed data identifiers that Macie provides except the managed data identifiers specified by the managedDataIdentifierIds property.</p></li> <li><p>INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.</p></li> <li><p>NONE - Don't use any managed data identifiers.</p></li></ul> <p>If this value is null, the job uses all managed data identifiers. If this value is null, ALL, or EXCLUDE for a recurring job, the job also uses new managed data identifiers as they are released.</p>
|
|
3538
|
+
*/
|
|
3539
|
+
managedDataIdentifierSelector?: ManagedDataIdentifierSelector | string;
|
|
3499
3540
|
/**
|
|
3500
3541
|
* <p>The custom name of the job.</p>
|
|
3501
3542
|
*/
|
|
@@ -3509,7 +3550,7 @@ export interface DescribeClassificationJobResponse {
|
|
|
3509
3550
|
*/
|
|
3510
3551
|
samplingPercentage?: number;
|
|
3511
3552
|
/**
|
|
3512
|
-
* <p>The recurrence pattern for running the job.
|
|
3553
|
+
* <p>The recurrence pattern for running the job. This value is null if the job is configured to run only once.</p>
|
|
3513
3554
|
*/
|
|
3514
3555
|
scheduleFrequency?: JobScheduleFrequency;
|
|
3515
3556
|
/**
|
|
@@ -3883,7 +3924,7 @@ export interface GetCustomDataIdentifierResponse {
|
|
|
3883
3924
|
*/
|
|
3884
3925
|
keywords?: string[];
|
|
3885
3926
|
/**
|
|
3886
|
-
* <p>The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern.</p>
|
|
3927
|
+
* <p>The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern.</p>
|
|
3887
3928
|
*/
|
|
3888
3929
|
maximumMatchDistance?: number;
|
|
3889
3930
|
/**
|
|
@@ -4548,6 +4589,34 @@ export declare namespace ListInvitationsResponse {
|
|
|
4548
4589
|
*/
|
|
4549
4590
|
const filterSensitiveLog: (obj: ListInvitationsResponse) => any;
|
|
4550
4591
|
}
|
|
4592
|
+
export interface ListManagedDataIdentifiersRequest {
|
|
4593
|
+
/**
|
|
4594
|
+
* <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
|
|
4595
|
+
*/
|
|
4596
|
+
nextToken?: string;
|
|
4597
|
+
}
|
|
4598
|
+
export declare namespace ListManagedDataIdentifiersRequest {
|
|
4599
|
+
/**
|
|
4600
|
+
* @internal
|
|
4601
|
+
*/
|
|
4602
|
+
const filterSensitiveLog: (obj: ListManagedDataIdentifiersRequest) => any;
|
|
4603
|
+
}
|
|
4604
|
+
export interface ListManagedDataIdentifiersResponse {
|
|
4605
|
+
/**
|
|
4606
|
+
* <p>An array of objects, one for each managed data identifier.</p>
|
|
4607
|
+
*/
|
|
4608
|
+
items?: ManagedDataIdentifierSummary[];
|
|
4609
|
+
/**
|
|
4610
|
+
* <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
|
|
4611
|
+
*/
|
|
4612
|
+
nextToken?: string;
|
|
4613
|
+
}
|
|
4614
|
+
export declare namespace ListManagedDataIdentifiersResponse {
|
|
4615
|
+
/**
|
|
4616
|
+
* @internal
|
|
4617
|
+
*/
|
|
4618
|
+
const filterSensitiveLog: (obj: ListManagedDataIdentifiersResponse) => any;
|
|
4619
|
+
}
|
|
4551
4620
|
export interface ListMembersRequest {
|
|
4552
4621
|
/**
|
|
4553
4622
|
* <p>The maximum number of items to include in each page of a paginated response.</p>
|
|
@@ -4817,15 +4886,15 @@ export declare namespace TagResourceResponse {
|
|
|
4817
4886
|
}
|
|
4818
4887
|
export interface TestCustomDataIdentifierRequest {
|
|
4819
4888
|
/**
|
|
4820
|
-
* <p>An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 characters. Ignore words are case sensitive.</p>
|
|
4889
|
+
* <p>An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive.</p>
|
|
4821
4890
|
*/
|
|
4822
4891
|
ignoreWords?: string[];
|
|
4823
4892
|
/**
|
|
4824
|
-
* <p>An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 characters. Keywords aren't case sensitive.</p>
|
|
4893
|
+
* <p>An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 UTF-8 characters. Keywords aren't case sensitive.</p>
|
|
4825
4894
|
*/
|
|
4826
4895
|
keywords?: string[];
|
|
4827
4896
|
/**
|
|
4828
|
-
* <p>The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50.</p>
|
|
4897
|
+
* <p>The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50.</p>
|
|
4829
4898
|
*/
|
|
4830
4899
|
maximumMatchDistance?: number;
|
|
4831
4900
|
/**
|
|
@@ -40,6 +40,7 @@ import { ListCustomDataIdentifiersCommandInput, ListCustomDataIdentifiersCommand
|
|
|
40
40
|
import { ListFindingsCommandInput, ListFindingsCommandOutput } from "../commands/ListFindingsCommand";
|
|
41
41
|
import { ListFindingsFiltersCommandInput, ListFindingsFiltersCommandOutput } from "../commands/ListFindingsFiltersCommand";
|
|
42
42
|
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "../commands/ListInvitationsCommand";
|
|
43
|
+
import { ListManagedDataIdentifiersCommandInput, ListManagedDataIdentifiersCommandOutput } from "../commands/ListManagedDataIdentifiersCommand";
|
|
43
44
|
import { ListMembersCommandInput, ListMembersCommandOutput } from "../commands/ListMembersCommand";
|
|
44
45
|
import { ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccountsCommandOutput } from "../commands/ListOrganizationAdminAccountsCommand";
|
|
45
46
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
@@ -98,6 +99,7 @@ export declare const serializeAws_restJson1ListCustomDataIdentifiersCommand: (in
|
|
|
98
99
|
export declare const serializeAws_restJson1ListFindingsCommand: (input: ListFindingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
99
100
|
export declare const serializeAws_restJson1ListFindingsFiltersCommand: (input: ListFindingsFiltersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
100
101
|
export declare const serializeAws_restJson1ListInvitationsCommand: (input: ListInvitationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
102
|
+
export declare const serializeAws_restJson1ListManagedDataIdentifiersCommand: (input: ListManagedDataIdentifiersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
101
103
|
export declare const serializeAws_restJson1ListMembersCommand: (input: ListMembersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
102
104
|
export declare const serializeAws_restJson1ListOrganizationAdminAccountsCommand: (input: ListOrganizationAdminAccountsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
103
105
|
export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -154,6 +156,7 @@ export declare const deserializeAws_restJson1ListCustomDataIdentifiersCommand: (
|
|
|
154
156
|
export declare const deserializeAws_restJson1ListFindingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFindingsCommandOutput>;
|
|
155
157
|
export declare const deserializeAws_restJson1ListFindingsFiltersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFindingsFiltersCommandOutput>;
|
|
156
158
|
export declare const deserializeAws_restJson1ListInvitationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListInvitationsCommandOutput>;
|
|
159
|
+
export declare const deserializeAws_restJson1ListManagedDataIdentifiersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListManagedDataIdentifiersCommandOutput>;
|
|
157
160
|
export declare const deserializeAws_restJson1ListMembersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMembersCommandOutput>;
|
|
158
161
|
export declare const deserializeAws_restJson1ListOrganizationAdminAccountsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOrganizationAdminAccountsCommandOutput>;
|
|
159
162
|
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
package/index.ts
CHANGED
|
@@ -49,6 +49,7 @@ export * from "./commands/ListFindingsFiltersCommand";
|
|
|
49
49
|
export * from "./pagination/ListFindingsFiltersPaginator";
|
|
50
50
|
export * from "./commands/ListInvitationsCommand";
|
|
51
51
|
export * from "./pagination/ListInvitationsPaginator";
|
|
52
|
+
export * from "./commands/ListManagedDataIdentifiersCommand";
|
|
52
53
|
export * from "./commands/ListMembersCommand";
|
|
53
54
|
export * from "./pagination/ListMembersPaginator";
|
|
54
55
|
export * from "./commands/ListOrganizationAdminAccountsCommand";
|