cloudworker-proxy
Version:
An api gateway for cloudflare workers
908 lines • 132 kB
TypeScript
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config-base';
interface Blob {}
declare class Macie2 extends Service {
/**
* Constructs a service object. This object has one method for each API operation.
*/
constructor(options?: Macie2.Types.ClientConfiguration)
config: Config & Macie2.Types.ClientConfiguration;
/**
* Accepts an Amazon Macie membership invitation that was received from a specific account.
*/
acceptInvitation(params: Macie2.Types.AcceptInvitationRequest, callback?: (err: AWSError, data: Macie2.Types.AcceptInvitationResponse) => void): Request<Macie2.Types.AcceptInvitationResponse, AWSError>;
/**
* Accepts an Amazon Macie membership invitation that was received from a specific account.
*/
acceptInvitation(callback?: (err: AWSError, data: Macie2.Types.AcceptInvitationResponse) => void): Request<Macie2.Types.AcceptInvitationResponse, AWSError>;
/**
* Retrieves information about one or more custom data identifiers.
*/
batchGetCustomDataIdentifiers(params: Macie2.Types.BatchGetCustomDataIdentifiersRequest, callback?: (err: AWSError, data: Macie2.Types.BatchGetCustomDataIdentifiersResponse) => void): Request<Macie2.Types.BatchGetCustomDataIdentifiersResponse, AWSError>;
/**
* Retrieves information about one or more custom data identifiers.
*/
batchGetCustomDataIdentifiers(callback?: (err: AWSError, data: Macie2.Types.BatchGetCustomDataIdentifiersResponse) => void): Request<Macie2.Types.BatchGetCustomDataIdentifiersResponse, AWSError>;
/**
* Creates and defines the settings for a classification job.
*/
createClassificationJob(params: Macie2.Types.CreateClassificationJobRequest, callback?: (err: AWSError, data: Macie2.Types.CreateClassificationJobResponse) => void): Request<Macie2.Types.CreateClassificationJobResponse, AWSError>;
/**
* Creates and defines the settings for a classification job.
*/
createClassificationJob(callback?: (err: AWSError, data: Macie2.Types.CreateClassificationJobResponse) => void): Request<Macie2.Types.CreateClassificationJobResponse, AWSError>;
/**
* Creates and defines the criteria and other settings for a custom data identifier.
*/
createCustomDataIdentifier(params: Macie2.Types.CreateCustomDataIdentifierRequest, callback?: (err: AWSError, data: Macie2.Types.CreateCustomDataIdentifierResponse) => void): Request<Macie2.Types.CreateCustomDataIdentifierResponse, AWSError>;
/**
* Creates and defines the criteria and other settings for a custom data identifier.
*/
createCustomDataIdentifier(callback?: (err: AWSError, data: Macie2.Types.CreateCustomDataIdentifierResponse) => void): Request<Macie2.Types.CreateCustomDataIdentifierResponse, AWSError>;
/**
* Creates and defines the criteria and other settings for a findings filter.
*/
createFindingsFilter(params: Macie2.Types.CreateFindingsFilterRequest, callback?: (err: AWSError, data: Macie2.Types.CreateFindingsFilterResponse) => void): Request<Macie2.Types.CreateFindingsFilterResponse, AWSError>;
/**
* Creates and defines the criteria and other settings for a findings filter.
*/
createFindingsFilter(callback?: (err: AWSError, data: Macie2.Types.CreateFindingsFilterResponse) => void): Request<Macie2.Types.CreateFindingsFilterResponse, AWSError>;
/**
* Sends an Amazon Macie membership invitation to one or more accounts.
*/
createInvitations(params: Macie2.Types.CreateInvitationsRequest, callback?: (err: AWSError, data: Macie2.Types.CreateInvitationsResponse) => void): Request<Macie2.Types.CreateInvitationsResponse, AWSError>;
/**
* Sends an Amazon Macie membership invitation to one or more accounts.
*/
createInvitations(callback?: (err: AWSError, data: Macie2.Types.CreateInvitationsResponse) => void): Request<Macie2.Types.CreateInvitationsResponse, AWSError>;
/**
* Associates an account with an Amazon Macie master account.
*/
createMember(params: Macie2.Types.CreateMemberRequest, callback?: (err: AWSError, data: Macie2.Types.CreateMemberResponse) => void): Request<Macie2.Types.CreateMemberResponse, AWSError>;
/**
* Associates an account with an Amazon Macie master account.
*/
createMember(callback?: (err: AWSError, data: Macie2.Types.CreateMemberResponse) => void): Request<Macie2.Types.CreateMemberResponse, AWSError>;
/**
* Creates sample findings.
*/
createSampleFindings(params: Macie2.Types.CreateSampleFindingsRequest, callback?: (err: AWSError, data: Macie2.Types.CreateSampleFindingsResponse) => void): Request<Macie2.Types.CreateSampleFindingsResponse, AWSError>;
/**
* Creates sample findings.
*/
createSampleFindings(callback?: (err: AWSError, data: Macie2.Types.CreateSampleFindingsResponse) => void): Request<Macie2.Types.CreateSampleFindingsResponse, AWSError>;
/**
* Declines Amazon Macie membership invitations that were received from specific accounts.
*/
declineInvitations(params: Macie2.Types.DeclineInvitationsRequest, callback?: (err: AWSError, data: Macie2.Types.DeclineInvitationsResponse) => void): Request<Macie2.Types.DeclineInvitationsResponse, AWSError>;
/**
* Declines Amazon Macie membership invitations that were received from specific accounts.
*/
declineInvitations(callback?: (err: AWSError, data: Macie2.Types.DeclineInvitationsResponse) => void): Request<Macie2.Types.DeclineInvitationsResponse, AWSError>;
/**
* Soft deletes a custom data identifier.
*/
deleteCustomDataIdentifier(params: Macie2.Types.DeleteCustomDataIdentifierRequest, callback?: (err: AWSError, data: Macie2.Types.DeleteCustomDataIdentifierResponse) => void): Request<Macie2.Types.DeleteCustomDataIdentifierResponse, AWSError>;
/**
* Soft deletes a custom data identifier.
*/
deleteCustomDataIdentifier(callback?: (err: AWSError, data: Macie2.Types.DeleteCustomDataIdentifierResponse) => void): Request<Macie2.Types.DeleteCustomDataIdentifierResponse, AWSError>;
/**
* Deletes a findings filter.
*/
deleteFindingsFilter(params: Macie2.Types.DeleteFindingsFilterRequest, callback?: (err: AWSError, data: Macie2.Types.DeleteFindingsFilterResponse) => void): Request<Macie2.Types.DeleteFindingsFilterResponse, AWSError>;
/**
* Deletes a findings filter.
*/
deleteFindingsFilter(callback?: (err: AWSError, data: Macie2.Types.DeleteFindingsFilterResponse) => void): Request<Macie2.Types.DeleteFindingsFilterResponse, AWSError>;
/**
* Deletes Amazon Macie membership invitations that were received from specific accounts.
*/
deleteInvitations(params: Macie2.Types.DeleteInvitationsRequest, callback?: (err: AWSError, data: Macie2.Types.DeleteInvitationsResponse) => void): Request<Macie2.Types.DeleteInvitationsResponse, AWSError>;
/**
* Deletes Amazon Macie membership invitations that were received from specific accounts.
*/
deleteInvitations(callback?: (err: AWSError, data: Macie2.Types.DeleteInvitationsResponse) => void): Request<Macie2.Types.DeleteInvitationsResponse, AWSError>;
/**
* Deletes the association between an Amazon Macie master account and an account.
*/
deleteMember(params: Macie2.Types.DeleteMemberRequest, callback?: (err: AWSError, data: Macie2.Types.DeleteMemberResponse) => void): Request<Macie2.Types.DeleteMemberResponse, AWSError>;
/**
* Deletes the association between an Amazon Macie master account and an account.
*/
deleteMember(callback?: (err: AWSError, data: Macie2.Types.DeleteMemberResponse) => void): Request<Macie2.Types.DeleteMemberResponse, AWSError>;
/**
* Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
*/
describeBuckets(params: Macie2.Types.DescribeBucketsRequest, callback?: (err: AWSError, data: Macie2.Types.DescribeBucketsResponse) => void): Request<Macie2.Types.DescribeBucketsResponse, AWSError>;
/**
* Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
*/
describeBuckets(callback?: (err: AWSError, data: Macie2.Types.DescribeBucketsResponse) => void): Request<Macie2.Types.DescribeBucketsResponse, AWSError>;
/**
* Retrieves information about the status and settings for a classification job.
*/
describeClassificationJob(params: Macie2.Types.DescribeClassificationJobRequest, callback?: (err: AWSError, data: Macie2.Types.DescribeClassificationJobResponse) => void): Request<Macie2.Types.DescribeClassificationJobResponse, AWSError>;
/**
* Retrieves information about the status and settings for a classification job.
*/
describeClassificationJob(callback?: (err: AWSError, data: Macie2.Types.DescribeClassificationJobResponse) => void): Request<Macie2.Types.DescribeClassificationJobResponse, AWSError>;
/**
* Retrieves information about the Amazon Macie configuration settings for an AWS organization.
*/
describeOrganizationConfiguration(params: Macie2.Types.DescribeOrganizationConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.DescribeOrganizationConfigurationResponse) => void): Request<Macie2.Types.DescribeOrganizationConfigurationResponse, AWSError>;
/**
* Retrieves information about the Amazon Macie configuration settings for an AWS organization.
*/
describeOrganizationConfiguration(callback?: (err: AWSError, data: Macie2.Types.DescribeOrganizationConfigurationResponse) => void): Request<Macie2.Types.DescribeOrganizationConfigurationResponse, AWSError>;
/**
* Disables an Amazon Macie account and deletes Macie resources for the account.
*/
disableMacie(params: Macie2.Types.DisableMacieRequest, callback?: (err: AWSError, data: Macie2.Types.DisableMacieResponse) => void): Request<Macie2.Types.DisableMacieResponse, AWSError>;
/**
* Disables an Amazon Macie account and deletes Macie resources for the account.
*/
disableMacie(callback?: (err: AWSError, data: Macie2.Types.DisableMacieResponse) => void): Request<Macie2.Types.DisableMacieResponse, AWSError>;
/**
* Disables an account as a delegated administrator of Amazon Macie for an AWS organization.
*/
disableOrganizationAdminAccount(params: Macie2.Types.DisableOrganizationAdminAccountRequest, callback?: (err: AWSError, data: Macie2.Types.DisableOrganizationAdminAccountResponse) => void): Request<Macie2.Types.DisableOrganizationAdminAccountResponse, AWSError>;
/**
* Disables an account as a delegated administrator of Amazon Macie for an AWS organization.
*/
disableOrganizationAdminAccount(callback?: (err: AWSError, data: Macie2.Types.DisableOrganizationAdminAccountResponse) => void): Request<Macie2.Types.DisableOrganizationAdminAccountResponse, AWSError>;
/**
* Disassociates a member account from its Amazon Macie master account.
*/
disassociateFromMasterAccount(params: Macie2.Types.DisassociateFromMasterAccountRequest, callback?: (err: AWSError, data: Macie2.Types.DisassociateFromMasterAccountResponse) => void): Request<Macie2.Types.DisassociateFromMasterAccountResponse, AWSError>;
/**
* Disassociates a member account from its Amazon Macie master account.
*/
disassociateFromMasterAccount(callback?: (err: AWSError, data: Macie2.Types.DisassociateFromMasterAccountResponse) => void): Request<Macie2.Types.DisassociateFromMasterAccountResponse, AWSError>;
/**
* Disassociates an Amazon Macie master account from a member account.
*/
disassociateMember(params: Macie2.Types.DisassociateMemberRequest, callback?: (err: AWSError, data: Macie2.Types.DisassociateMemberResponse) => void): Request<Macie2.Types.DisassociateMemberResponse, AWSError>;
/**
* Disassociates an Amazon Macie master account from a member account.
*/
disassociateMember(callback?: (err: AWSError, data: Macie2.Types.DisassociateMemberResponse) => void): Request<Macie2.Types.DisassociateMemberResponse, AWSError>;
/**
* Enables Amazon Macie and specifies the configuration settings for a Macie account.
*/
enableMacie(params: Macie2.Types.EnableMacieRequest, callback?: (err: AWSError, data: Macie2.Types.EnableMacieResponse) => void): Request<Macie2.Types.EnableMacieResponse, AWSError>;
/**
* Enables Amazon Macie and specifies the configuration settings for a Macie account.
*/
enableMacie(callback?: (err: AWSError, data: Macie2.Types.EnableMacieResponse) => void): Request<Macie2.Types.EnableMacieResponse, AWSError>;
/**
* Enables an account as a delegated administrator of Amazon Macie for an AWS organization.
*/
enableOrganizationAdminAccount(params: Macie2.Types.EnableOrganizationAdminAccountRequest, callback?: (err: AWSError, data: Macie2.Types.EnableOrganizationAdminAccountResponse) => void): Request<Macie2.Types.EnableOrganizationAdminAccountResponse, AWSError>;
/**
* Enables an account as a delegated administrator of Amazon Macie for an AWS organization.
*/
enableOrganizationAdminAccount(callback?: (err: AWSError, data: Macie2.Types.EnableOrganizationAdminAccountResponse) => void): Request<Macie2.Types.EnableOrganizationAdminAccountResponse, AWSError>;
/**
* Retrieves (queries) aggregated statistical data for all the S3 buckets that Amazon Macie monitors and analyzes.
*/
getBucketStatistics(params: Macie2.Types.GetBucketStatisticsRequest, callback?: (err: AWSError, data: Macie2.Types.GetBucketStatisticsResponse) => void): Request<Macie2.Types.GetBucketStatisticsResponse, AWSError>;
/**
* Retrieves (queries) aggregated statistical data for all the S3 buckets that Amazon Macie monitors and analyzes.
*/
getBucketStatistics(callback?: (err: AWSError, data: Macie2.Types.GetBucketStatisticsResponse) => void): Request<Macie2.Types.GetBucketStatisticsResponse, AWSError>;
/**
* Retrieves the configuration settings for storing data classification results.
*/
getClassificationExportConfiguration(params: Macie2.Types.GetClassificationExportConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.GetClassificationExportConfigurationResponse) => void): Request<Macie2.Types.GetClassificationExportConfigurationResponse, AWSError>;
/**
* Retrieves the configuration settings for storing data classification results.
*/
getClassificationExportConfiguration(callback?: (err: AWSError, data: Macie2.Types.GetClassificationExportConfigurationResponse) => void): Request<Macie2.Types.GetClassificationExportConfigurationResponse, AWSError>;
/**
* Retrieves information about the criteria and other settings for a custom data identifier.
*/
getCustomDataIdentifier(params: Macie2.Types.GetCustomDataIdentifierRequest, callback?: (err: AWSError, data: Macie2.Types.GetCustomDataIdentifierResponse) => void): Request<Macie2.Types.GetCustomDataIdentifierResponse, AWSError>;
/**
* Retrieves information about the criteria and other settings for a custom data identifier.
*/
getCustomDataIdentifier(callback?: (err: AWSError, data: Macie2.Types.GetCustomDataIdentifierResponse) => void): Request<Macie2.Types.GetCustomDataIdentifierResponse, AWSError>;
/**
* Retrieves (queries) aggregated statistical data about findings.
*/
getFindingStatistics(params: Macie2.Types.GetFindingStatisticsRequest, callback?: (err: AWSError, data: Macie2.Types.GetFindingStatisticsResponse) => void): Request<Macie2.Types.GetFindingStatisticsResponse, AWSError>;
/**
* Retrieves (queries) aggregated statistical data about findings.
*/
getFindingStatistics(callback?: (err: AWSError, data: Macie2.Types.GetFindingStatisticsResponse) => void): Request<Macie2.Types.GetFindingStatisticsResponse, AWSError>;
/**
* Retrieves information about one or more findings.
*/
getFindings(params: Macie2.Types.GetFindingsRequest, callback?: (err: AWSError, data: Macie2.Types.GetFindingsResponse) => void): Request<Macie2.Types.GetFindingsResponse, AWSError>;
/**
* Retrieves information about one or more findings.
*/
getFindings(callback?: (err: AWSError, data: Macie2.Types.GetFindingsResponse) => void): Request<Macie2.Types.GetFindingsResponse, AWSError>;
/**
* Retrieves information about the criteria and other settings for a findings filter.
*/
getFindingsFilter(params: Macie2.Types.GetFindingsFilterRequest, callback?: (err: AWSError, data: Macie2.Types.GetFindingsFilterResponse) => void): Request<Macie2.Types.GetFindingsFilterResponse, AWSError>;
/**
* Retrieves information about the criteria and other settings for a findings filter.
*/
getFindingsFilter(callback?: (err: AWSError, data: Macie2.Types.GetFindingsFilterResponse) => void): Request<Macie2.Types.GetFindingsFilterResponse, AWSError>;
/**
* Retrieves the count of Amazon Macie membership invitations that were received by an account.
*/
getInvitationsCount(params: Macie2.Types.GetInvitationsCountRequest, callback?: (err: AWSError, data: Macie2.Types.GetInvitationsCountResponse) => void): Request<Macie2.Types.GetInvitationsCountResponse, AWSError>;
/**
* Retrieves the count of Amazon Macie membership invitations that were received by an account.
*/
getInvitationsCount(callback?: (err: AWSError, data: Macie2.Types.GetInvitationsCountResponse) => void): Request<Macie2.Types.GetInvitationsCountResponse, AWSError>;
/**
* Retrieves information about the current status and configuration settings for an Amazon Macie account.
*/
getMacieSession(params: Macie2.Types.GetMacieSessionRequest, callback?: (err: AWSError, data: Macie2.Types.GetMacieSessionResponse) => void): Request<Macie2.Types.GetMacieSessionResponse, AWSError>;
/**
* Retrieves information about the current status and configuration settings for an Amazon Macie account.
*/
getMacieSession(callback?: (err: AWSError, data: Macie2.Types.GetMacieSessionResponse) => void): Request<Macie2.Types.GetMacieSessionResponse, AWSError>;
/**
* Retrieves information about the Amazon Macie master account for an account.
*/
getMasterAccount(params: Macie2.Types.GetMasterAccountRequest, callback?: (err: AWSError, data: Macie2.Types.GetMasterAccountResponse) => void): Request<Macie2.Types.GetMasterAccountResponse, AWSError>;
/**
* Retrieves information about the Amazon Macie master account for an account.
*/
getMasterAccount(callback?: (err: AWSError, data: Macie2.Types.GetMasterAccountResponse) => void): Request<Macie2.Types.GetMasterAccountResponse, AWSError>;
/**
* Retrieves information about a member account that's associated with an Amazon Macie master account.
*/
getMember(params: Macie2.Types.GetMemberRequest, callback?: (err: AWSError, data: Macie2.Types.GetMemberResponse) => void): Request<Macie2.Types.GetMemberResponse, AWSError>;
/**
* Retrieves information about a member account that's associated with an Amazon Macie master account.
*/
getMember(callback?: (err: AWSError, data: Macie2.Types.GetMemberResponse) => void): Request<Macie2.Types.GetMemberResponse, AWSError>;
/**
* Retrieves (queries) quotas and aggregated usage data for one or more accounts.
*/
getUsageStatistics(params: Macie2.Types.GetUsageStatisticsRequest, callback?: (err: AWSError, data: Macie2.Types.GetUsageStatisticsResponse) => void): Request<Macie2.Types.GetUsageStatisticsResponse, AWSError>;
/**
* Retrieves (queries) quotas and aggregated usage data for one or more accounts.
*/
getUsageStatistics(callback?: (err: AWSError, data: Macie2.Types.GetUsageStatisticsResponse) => void): Request<Macie2.Types.GetUsageStatisticsResponse, AWSError>;
/**
* Retrieves (queries) aggregated usage data for an account.
*/
getUsageTotals(params: Macie2.Types.GetUsageTotalsRequest, callback?: (err: AWSError, data: Macie2.Types.GetUsageTotalsResponse) => void): Request<Macie2.Types.GetUsageTotalsResponse, AWSError>;
/**
* Retrieves (queries) aggregated usage data for an account.
*/
getUsageTotals(callback?: (err: AWSError, data: Macie2.Types.GetUsageTotalsResponse) => void): Request<Macie2.Types.GetUsageTotalsResponse, AWSError>;
/**
* Retrieves a subset of information about one or more classification jobs.
*/
listClassificationJobs(params: Macie2.Types.ListClassificationJobsRequest, callback?: (err: AWSError, data: Macie2.Types.ListClassificationJobsResponse) => void): Request<Macie2.Types.ListClassificationJobsResponse, AWSError>;
/**
* Retrieves a subset of information about one or more classification jobs.
*/
listClassificationJobs(callback?: (err: AWSError, data: Macie2.Types.ListClassificationJobsResponse) => void): Request<Macie2.Types.ListClassificationJobsResponse, AWSError>;
/**
* Retrieves a subset of information about all the custom data identifiers for an account.
*/
listCustomDataIdentifiers(params: Macie2.Types.ListCustomDataIdentifiersRequest, callback?: (err: AWSError, data: Macie2.Types.ListCustomDataIdentifiersResponse) => void): Request<Macie2.Types.ListCustomDataIdentifiersResponse, AWSError>;
/**
* Retrieves a subset of information about all the custom data identifiers for an account.
*/
listCustomDataIdentifiers(callback?: (err: AWSError, data: Macie2.Types.ListCustomDataIdentifiersResponse) => void): Request<Macie2.Types.ListCustomDataIdentifiersResponse, AWSError>;
/**
* Retrieves a subset of information about one or more findings.
*/
listFindings(params: Macie2.Types.ListFindingsRequest, callback?: (err: AWSError, data: Macie2.Types.ListFindingsResponse) => void): Request<Macie2.Types.ListFindingsResponse, AWSError>;
/**
* Retrieves a subset of information about one or more findings.
*/
listFindings(callback?: (err: AWSError, data: Macie2.Types.ListFindingsResponse) => void): Request<Macie2.Types.ListFindingsResponse, AWSError>;
/**
* Retrieves a subset of information about all the findings filters for an account.
*/
listFindingsFilters(params: Macie2.Types.ListFindingsFiltersRequest, callback?: (err: AWSError, data: Macie2.Types.ListFindingsFiltersResponse) => void): Request<Macie2.Types.ListFindingsFiltersResponse, AWSError>;
/**
* Retrieves a subset of information about all the findings filters for an account.
*/
listFindingsFilters(callback?: (err: AWSError, data: Macie2.Types.ListFindingsFiltersResponse) => void): Request<Macie2.Types.ListFindingsFiltersResponse, AWSError>;
/**
* Retrieves information about all the Amazon Macie membership invitations that were received by an account.
*/
listInvitations(params: Macie2.Types.ListInvitationsRequest, callback?: (err: AWSError, data: Macie2.Types.ListInvitationsResponse) => void): Request<Macie2.Types.ListInvitationsResponse, AWSError>;
/**
* Retrieves information about all the Amazon Macie membership invitations that were received by an account.
*/
listInvitations(callback?: (err: AWSError, data: Macie2.Types.ListInvitationsResponse) => void): Request<Macie2.Types.ListInvitationsResponse, AWSError>;
/**
* Retrieves information about the accounts that are associated with an Amazon Macie master account.
*/
listMembers(params: Macie2.Types.ListMembersRequest, callback?: (err: AWSError, data: Macie2.Types.ListMembersResponse) => void): Request<Macie2.Types.ListMembersResponse, AWSError>;
/**
* Retrieves information about the accounts that are associated with an Amazon Macie master account.
*/
listMembers(callback?: (err: AWSError, data: Macie2.Types.ListMembersResponse) => void): Request<Macie2.Types.ListMembersResponse, AWSError>;
/**
* Retrieves information about the account that's designated as the delegated administrator of Amazon Macie for an AWS organization.
*/
listOrganizationAdminAccounts(params: Macie2.Types.ListOrganizationAdminAccountsRequest, callback?: (err: AWSError, data: Macie2.Types.ListOrganizationAdminAccountsResponse) => void): Request<Macie2.Types.ListOrganizationAdminAccountsResponse, AWSError>;
/**
* Retrieves information about the account that's designated as the delegated administrator of Amazon Macie for an AWS organization.
*/
listOrganizationAdminAccounts(callback?: (err: AWSError, data: Macie2.Types.ListOrganizationAdminAccountsResponse) => void): Request<Macie2.Types.ListOrganizationAdminAccountsResponse, AWSError>;
/**
* Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
*/
listTagsForResource(params: Macie2.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Macie2.Types.ListTagsForResourceResponse) => void): Request<Macie2.Types.ListTagsForResourceResponse, AWSError>;
/**
* Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
*/
listTagsForResource(callback?: (err: AWSError, data: Macie2.Types.ListTagsForResourceResponse) => void): Request<Macie2.Types.ListTagsForResourceResponse, AWSError>;
/**
* Creates or updates the configuration settings for storing data classification results.
*/
putClassificationExportConfiguration(params: Macie2.Types.PutClassificationExportConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.PutClassificationExportConfigurationResponse) => void): Request<Macie2.Types.PutClassificationExportConfigurationResponse, AWSError>;
/**
* Creates or updates the configuration settings for storing data classification results.
*/
putClassificationExportConfiguration(callback?: (err: AWSError, data: Macie2.Types.PutClassificationExportConfigurationResponse) => void): Request<Macie2.Types.PutClassificationExportConfigurationResponse, AWSError>;
/**
* Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
*/
tagResource(params: Macie2.Types.TagResourceRequest, callback?: (err: AWSError, data: Macie2.Types.TagResourceResponse) => void): Request<Macie2.Types.TagResourceResponse, AWSError>;
/**
* Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
*/
tagResource(callback?: (err: AWSError, data: Macie2.Types.TagResourceResponse) => void): Request<Macie2.Types.TagResourceResponse, AWSError>;
/**
* Tests a custom data identifier.
*/
testCustomDataIdentifier(params: Macie2.Types.TestCustomDataIdentifierRequest, callback?: (err: AWSError, data: Macie2.Types.TestCustomDataIdentifierResponse) => void): Request<Macie2.Types.TestCustomDataIdentifierResponse, AWSError>;
/**
* Tests a custom data identifier.
*/
testCustomDataIdentifier(callback?: (err: AWSError, data: Macie2.Types.TestCustomDataIdentifierResponse) => void): Request<Macie2.Types.TestCustomDataIdentifierResponse, AWSError>;
/**
* Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or member account.
*/
untagResource(params: Macie2.Types.UntagResourceRequest, callback?: (err: AWSError, data: Macie2.Types.UntagResourceResponse) => void): Request<Macie2.Types.UntagResourceResponse, AWSError>;
/**
* Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or member account.
*/
untagResource(callback?: (err: AWSError, data: Macie2.Types.UntagResourceResponse) => void): Request<Macie2.Types.UntagResourceResponse, AWSError>;
/**
* Cancels a classification job.
*/
updateClassificationJob(params: Macie2.Types.UpdateClassificationJobRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateClassificationJobResponse) => void): Request<Macie2.Types.UpdateClassificationJobResponse, AWSError>;
/**
* Cancels a classification job.
*/
updateClassificationJob(callback?: (err: AWSError, data: Macie2.Types.UpdateClassificationJobResponse) => void): Request<Macie2.Types.UpdateClassificationJobResponse, AWSError>;
/**
* Updates the criteria and other settings for a findings filter.
*/
updateFindingsFilter(params: Macie2.Types.UpdateFindingsFilterRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateFindingsFilterResponse) => void): Request<Macie2.Types.UpdateFindingsFilterResponse, AWSError>;
/**
* Updates the criteria and other settings for a findings filter.
*/
updateFindingsFilter(callback?: (err: AWSError, data: Macie2.Types.UpdateFindingsFilterResponse) => void): Request<Macie2.Types.UpdateFindingsFilterResponse, AWSError>;
/**
* Suspends or re-enables an Amazon Macie account, or updates the configuration settings for a Macie account.
*/
updateMacieSession(params: Macie2.Types.UpdateMacieSessionRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateMacieSessionResponse) => void): Request<Macie2.Types.UpdateMacieSessionResponse, AWSError>;
/**
* Suspends or re-enables an Amazon Macie account, or updates the configuration settings for a Macie account.
*/
updateMacieSession(callback?: (err: AWSError, data: Macie2.Types.UpdateMacieSessionResponse) => void): Request<Macie2.Types.UpdateMacieSessionResponse, AWSError>;
/**
* Enables an Amazon Macie master account to suspend or re-enable a member account.
*/
updateMemberSession(params: Macie2.Types.UpdateMemberSessionRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateMemberSessionResponse) => void): Request<Macie2.Types.UpdateMemberSessionResponse, AWSError>;
/**
* Enables an Amazon Macie master account to suspend or re-enable a member account.
*/
updateMemberSession(callback?: (err: AWSError, data: Macie2.Types.UpdateMemberSessionResponse) => void): Request<Macie2.Types.UpdateMemberSessionResponse, AWSError>;
/**
* Updates Amazon Macie configuration settings for an AWS organization.
*/
updateOrganizationConfiguration(params: Macie2.Types.UpdateOrganizationConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateOrganizationConfigurationResponse) => void): Request<Macie2.Types.UpdateOrganizationConfigurationResponse, AWSError>;
/**
* Updates Amazon Macie configuration settings for an AWS organization.
*/
updateOrganizationConfiguration(callback?: (err: AWSError, data: Macie2.Types.UpdateOrganizationConfigurationResponse) => void): Request<Macie2.Types.UpdateOrganizationConfigurationResponse, AWSError>;
}
declare namespace Macie2 {
export interface AcceptInvitationRequest {
/**
* The unique identifier for the invitation to accept.
*/
invitationId: __string;
/**
* The AWS account ID for the account that sent the invitation.
*/
masterAccount: __string;
}
export interface AcceptInvitationResponse {
}
export interface AccessControlList {
/**
* Specifies whether the ACL grants the general public with read access permissions for the bucket.
*/
allowsPublicReadAccess?: __boolean;
/**
* Specifies whether the ACL grants the general public with write access permissions for the bucket.
*/
allowsPublicWriteAccess?: __boolean;
}
export interface AccountDetail {
/**
* The AWS account ID for the account.
*/
accountId: __string;
/**
* The email address for the account.
*/
email: __string;
}
export interface AccountLevelPermissions {
/**
* The block public access settings for the bucket.
*/
blockPublicAccess?: BlockPublicAccess;
}
export interface AdminAccount {
/**
* The AWS account ID for the account.
*/
accountId?: __string;
/**
* The current status of the account as a delegated administrator of Amazon Macie for the organization.
*/
status?: AdminStatus;
}
export type AdminStatus = "ENABLED"|"DISABLING_IN_PROGRESS"|string;
export interface ApiCallDetails {
/**
* The name of the operation that was invoked most recently and produced the finding.
*/
api?: __string;
/**
* The URL of the AWS service that provides the operation, for example: s3.amazonaws.com.
*/
apiServiceName?: __string;
/**
* The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.
*/
firstSeen?: __timestampIso8601;
/**
* The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.
*/
lastSeen?: __timestampIso8601;
}
export interface AssumedRole {
/**
* The AWS access key ID that identifies the credentials.
*/
accessKeyId?: __string;
/**
* The unique identifier for the AWS account that owns the entity that was used to get the credentials.
*/
accountId?: __string;
/**
* The Amazon Resource Name (ARN) of the entity that was used to get the credentials.
*/
arn?: __string;
/**
* The unique identifier for the entity that was used to get the credentials.
*/
principalId?: __string;
/**
* The details of the session that was created for the credentials, including the entity that issued the session.
*/
sessionContext?: SessionContext;
}
export interface AwsAccount {
/**
* The unique identifier for the AWS account.
*/
accountId?: __string;
/**
* The unique identifier for the entity that performed the action.
*/
principalId?: __string;
}
export interface AwsService {
/**
* The name of the AWS service that performed the action.
*/
invokedBy?: __string;
}
export interface BatchGetCustomDataIdentifierSummary {
/**
* The Amazon Resource Name (ARN) of the custom data identifier.
*/
arn?: __string;
/**
* The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.
*/
createdAt?: __timestampIso8601;
/**
* Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie doesn't delete it permanently. Instead, it soft deletes the identifier.
*/
deleted?: __boolean;
/**
* The custom description of the custom data identifier.
*/
description?: __string;
/**
* The unique identifier for the custom data identifier.
*/
id?: __string;
/**
* The custom name of the custom data identifier.
*/
name?: __string;
}
export interface BatchGetCustomDataIdentifiersRequest {
/**
* An array of strings that lists the unique identifiers for the custom data identifiers to retrieve information about.
*/
ids?: __listOf__string;
}
export interface BatchGetCustomDataIdentifiersResponse {
/**
* An array of objects, one for each custom data identifier that meets the criteria specified in the request.
*/
customDataIdentifiers?: __listOfBatchGetCustomDataIdentifierSummary;
/**
* An array of identifiers, one for each identifier that was specified in the request, but doesn't correlate to an existing custom data identifier.
*/
notFoundIdentifierIds?: __listOf__string;
}
export interface BlockPublicAccess {
/**
* Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.
*/
blockPublicAcls?: __boolean;
/**
* Specifies whether Amazon S3 blocks public bucket policies for the bucket.
*/
blockPublicPolicy?: __boolean;
/**
* Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.
*/
ignorePublicAcls?: __boolean;
/**
* Specifies whether Amazon S3 restricts public bucket policies for the bucket.
*/
restrictPublicBuckets?: __boolean;
}
export interface BucketCountByEffectivePermission {
/**
* The total number of buckets that allow the general public to have read or write access to the bucket.
*/
publiclyAccessible?: __long;
/**
* The total number of buckets that allow the general public to have read access to the bucket.
*/
publiclyReadable?: __long;
/**
* The total number of buckets that allow the general public to have write access to the bucket.
*/
publiclyWritable?: __long;
}
export interface BucketCountByEncryptionType {
/**
* The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt objects. These buckets use AWS KMS AWS-managed (AWS-KMS) encryption or AWS KMS customer-managed (SSE-KMS) encryption.
*/
kmsManaged?: __long;
/**
* The total number of buckets that use an Amazon S3-managed key to encrypt objects. These buckets use Amazon S3-managed (SSE-S3) encryption.
*/
s3Managed?: __long;
/**
* The total number of buckets that don't encrypt objects by default. Default encryption is disabled for these buckets.
*/
unencrypted?: __long;
}
export interface BucketCountBySharedAccessType {
/**
* The total number of buckets that are shared with an AWS account that isn't part of the same Amazon Macie organization.
*/
external?: __long;
/**
* The total number of buckets that are shared with an AWS account that's part of the same Amazon Macie organization.
*/
internal?: __long;
/**
* The total number of buckets that aren't shared with any other AWS accounts.
*/
notShared?: __long;
}
export type BucketCriteria = {[key: string]: BucketCriteriaAdditionalProperties};
export interface BucketCriteriaAdditionalProperties {
/**
* An equal to condition to apply to a specified attribute value for buckets.
*/
eq?: __listOf__string;
/**
* A greater than condition to apply to a specified attribute value for buckets.
*/
gt?: __long;
/**
* A greater than or equal to condition to apply to a specified attribute value for buckets.
*/
gte?: __long;
/**
* A less than condition to apply to a specified attribute value for buckets.
*/
lt?: __long;
/**
* A less than or equal to condition to apply to a specified attribute value for buckets.
*/
lte?: __long;
/**
* A not equal to condition to apply to a specified attribute value for buckets.
*/
neq?: __listOf__string;
/**
* The prefix of the buckets to include in the results.
*/
prefix?: __string;
}
export interface BucketLevelPermissions {
/**
* The permissions settings of the access control list (ACL) for the bucket. This value is null if an ACL hasn't been defined for the bucket.
*/
accessControlList?: AccessControlList;
/**
* The block public access settings for the bucket.
*/
blockPublicAccess?: BlockPublicAccess;
/**
* The permissions settings of the bucket policy for the bucket. This value is null if a bucket policy hasn't been defined for the bucket.
*/
bucketPolicy?: BucketPolicy;
}
export interface BucketMetadata {
/**
* The unique identifier for the AWS account that owns the bucket.
*/
accountId?: __string;
/**
* The Amazon Resource Name (ARN) of the bucket.
*/
bucketArn?: __string;
/**
* The date and time, in UTC and extended ISO 8601 format, when the bucket was created.
*/
bucketCreatedAt?: __timestampIso8601;
/**
* The name of the bucket.
*/
bucketName?: __string;
/**
* The total number of objects that Amazon Macie can analyze in the bucket. These objects use a supported file or storage format and storage class.
*/
classifiableObjectCount?: __long;
/**
* The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported file or storage format and storage class.
*/
classifiableSizeInBytes?: __long;
/**
* The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved data about the bucket from Amazon S3.
*/
lastUpdated?: __timestampIso8601;
/**
* The total number of objects in the bucket.
*/
objectCount?: __long;
/**
* The total number of objects that are in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted or use client-side encryption.
*/
objectCountByEncryptionType?: ObjectCountByEncryptionType;
/**
* Specifies whether the bucket is publicly accessible. If this value is true, an access control list (ACL), bucket policy, or block public access settings allow the bucket to be accessed by the general public.
*/
publicAccess?: BucketPublicAccess;
/**
* The AWS Region that hosts the bucket.
*/
region?: __string;
/**
* Specifies whether the bucket is configured to replicate one or more objects to buckets for other AWS accounts and, if so, which accounts.
*/
replicationDetails?: ReplicationDetails;
/**
* Specifies whether the bucket is shared with another AWS account. Possible values are: EXTERNAL - The bucket is shared with an AWS account that isn’t part of the same Amazon Macie organization. INTERNAL - The bucket is shared with an AWS account that's part of the same Amazon Macie organization. NOT_SHARED - The bucket isn't shared with other AWS accounts. UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket.
*/
sharedAccess?: SharedAccess;
/**
* The total storage size, in bytes, of the bucket.
*/
sizeInBytes?: __long;
/**
* The total compressed storage size, in bytes, of the bucket.
*/
sizeInBytesCompressed?: __long;
/**
* An array that specifies the tags (keys and values) that are associated with the bucket.
*/
tags?: __listOfKeyValuePair;
/**
* The total number of objects that Amazon Macie can't analyze in the bucket. These objects use an unsupported file or storage format or storage class.
*/
unclassifiableObjectCount?: ObjectLevelStatistics;
/**
* The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket. These objects use an unsupported file or storage format or storage class.
*/
unclassifiableObjectSizeInBytes?: ObjectLevelStatistics;
/**
* Specifies whether versioning is enabled for the bucket.
*/
versioning?: __boolean;
}
export interface BucketPermissionConfiguration {
/**
* The account-level permissions settings that apply to the bucket.
*/
accountLevelPermissions?: AccountLevelPermissions;
/**
* The bucket-level permissions settings for the bucket.
*/
bucketLevelPermissions?: BucketLevelPermissions;
}
export interface BucketPolicy {
/**
* Specifies whether the bucket policy allows the general public to have read access to the bucket.
*/
allowsPublicReadAccess?: __boolean;
/**
* Specifies whether the bucket policy allows the general public to have write access to the bucket.
*/
allowsPublicWriteAccess?: __boolean;
}
export interface BucketPublicAccess {
/**
* Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are: NOT_PUBLIC - The bucket isn't publicly accessible. PUBLIC - The bucket is publicly accessible. UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.
*/
effectivePermission?: EffectivePermission;
/**
* The account-level and bucket-level permissions for the bucket.
*/
permissionConfiguration?: BucketPermissionConfiguration;
}
export interface BucketSortCriteria {
/**
* The name of the attribute to sort the results by. This value can be the name of any property that Amazon Macie defines as bucket metadata, such as bucketName or accountId.
*/
attributeName?: __string;
/**
* The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
*/
orderBy?: OrderBy;
}
export interface ClassificationDetails {
/**
* The path to the folder or file (in Amazon S3) that contains the corresponding sensitive data discovery results for the finding. If a finding applies to a large archive or compressed file, this is a path to a folder. Otherwise, this is a path to a file.
*/
detailedResultsLocation?: __string;
/**
* The Amazon Resource Name (ARN) of the classification job that produced the finding.
*/
jobArn?: __string;
/**
* The unique identifier for the classification job that produced the finding.
*/
jobId?: __string;
/**
* The status and other details for the finding.
*/
result?: ClassificationResult;
}
export interface ClassificationExportConfiguration {
/**
* The S3 bucket to store data classification results in, and the encryption settings to use when storing results in that bucket.
*/
s3Destination?: S3Destination;
}
export interface ClassificationResult {
/**
* The number of occurrences of the data that produced the finding, and the custom data identifiers that detected the data.
*/
customDataIdentifiers?: CustomDataIdentifiers;
/**
* The type of content, expressed as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe PDF file.
*/
mimeType?: __string;
/**
* The category and number of occurrences of the sensitive data that produced the finding.
*/
sensitiveData?: SensitiveData;
/**
* The total size, in bytes, of the data that the finding applies to.
*/
sizeClassified?: __long;
/**
* The status of the finding.
*/
status?: ClassificationResultStatus;
}
export interface ClassificationResultStatus {
/**
* The status of the finding. Possible values are: COMPLETE - Amazon Macie successfully completed its analysis of the object that the finding applies to. PARTIAL - Macie was able to analyze only a subset of the data in the object that the finding applies to. For example, the object is a compressed or archive file that contains files in an unsupported format. SKIPPED - Macie wasn't able to analyze the object that the finding applies to. For example, the object is a malformed file or a file that's in an unsupported format.
*/
code?: __string;
/**
* A brief description of the status of the finding. Amazon Macie uses this value to notify you of any errors, warnings, or considerations that might impact your analysis of the finding.
*/
reason?: __string;
}
export interface CreateClassificationJobRequest {
/**
* A unique, case-sensitive token that you provide to ensure the idempotency of the request.
*/
clientToken: __string;
/**
* The custom data identifiers to use for data analysis and classification.
*/
customDataIdentifierIds?: __listOf__string;
/**
* A custom description of the job. The description can contain as many as 200 characters.
*/
description?: __string;
/**
* Specifies whether to analyze all existing, eligible objects immediately after the job is created.
*/
initialRun?: __boolean;
/**
* The schedule for running the job. Valid values are: ONE_TIME - Run the job only once. If you specify this value, don't specify a value for the scheduleFrequency property. 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.
*/
jobType: JobType;
/**
* A custom name for the job. The name can contain as many as 500 characters.
*/
name: __string;
/**
* The S3 buckets that contain the objects to analyze, and the scope of that analysis.
*/
s3JobDefinition: S3JobDefinition;
/**
* 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.
*/
samplingPercentage?: __integer;
/**
* The recurrence pattern for running the job. To run the job only once, don't specify a value for this property and set the value of the jobType property to ONE_TIME.
*/
scheduleFrequency?: JobScheduleFrequency;
/**
* A map of key-value pairs that specifies the tags to associate with the job. A job can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
*/
tags?: TagMap;
}
export interface CreateClassificationJobResponse {
/**
* The Amazon Resource Name (ARN) of the job.
*/
jobArn?: __string;
/**
* The unique identifier for the job.
*/
jobId?: __string;
}
export interface CreateCustomDataIdentifierRequest {
/**
* A unique, case-sensitive token that you provide to ensure the idempotency of the request.
*/
clientToken?: __string;
/**
* A custom description of the custom data identifier. The description can contain as many as 512 characters. We strongly recommend that you avoid inclu