Skip to content

Macie2Client

Index > Macie2 > Macie2Client

Auto-generated documentation for Macie2 type annotations stubs module mypy-boto3-macie2.

Macie2Client

Type annotations and code completion for boto3.client("macie2"). boto3 documentation

Usage example
from boto3.session import Session
from mypy_boto3_macie2.client import Macie2Client

def get_macie2_client() -> Macie2Client:
    return Session().client("macie2")

Exceptions

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("macie2").exceptions structure.

Usage example
client = boto3.client("macie2")

try:
    do_something(client)
except (
    client.AccessDeniedException,
    client.ClientError,
    client.ConflictException,
    client.InternalServerException,
    client.ResourceNotFoundException,
    client.ServiceQuotaExceededException,
    client.ThrottlingException,
    client.UnprocessableEntityException,
    client.ValidationException,
) as e:
    print(e)
Type checking example
from mypy_boto3_macie2.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods

accept_invitation

Accepts an Amazon Macie membership invitation that was received from a specific account.

Type annotations and code completion for boto3.client("macie2").accept_invitation method. boto3 documentation

Method definition
def accept_invitation(
    self,
    *,
    invitationId: str,
    administratorAccountId: str = ...,
    masterAccount: str = ...,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: AcceptInvitationRequestRequestTypeDef = {  # (1)
    "invitationId": ...,
}

parent.accept_invitation(**kwargs)
  1. See AcceptInvitationRequestRequestTypeDef

batch_get_custom_data_identifiers

Retrieves information about one or more custom data identifiers.

Type annotations and code completion for boto3.client("macie2").batch_get_custom_data_identifiers method. boto3 documentation

Method definition
def batch_get_custom_data_identifiers(
    self,
    *,
    ids: Sequence[str] = ...,
) -> BatchGetCustomDataIdentifiersResponseTypeDef:  # (1)
    ...
  1. See BatchGetCustomDataIdentifiersResponseTypeDef
Usage example with kwargs
kwargs: BatchGetCustomDataIdentifiersRequestRequestTypeDef = {  # (1)
    "ids": ...,
}

parent.batch_get_custom_data_identifiers(**kwargs)
  1. See BatchGetCustomDataIdentifiersRequestRequestTypeDef

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("macie2").can_paginate method. boto3 documentation

Method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("macie2").close method. boto3 documentation

Method definition
def close(
    self,
) -> None:
    ...

create_allow_list

Creates and defines the settings for an allow list.

Type annotations and code completion for boto3.client("macie2").create_allow_list method. boto3 documentation

Method definition
def create_allow_list(
    self,
    *,
    clientToken: str,
    criteria: AllowListCriteriaTypeDef,  # (1)
    name: str,
    description: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateAllowListResponseTypeDef:  # (2)
    ...
  1. See AllowListCriteriaTypeDef
  2. See CreateAllowListResponseTypeDef
Usage example with kwargs
kwargs: CreateAllowListRequestRequestTypeDef = {  # (1)
    "clientToken": ...,
    "criteria": ...,
    "name": ...,
}

parent.create_allow_list(**kwargs)
  1. See CreateAllowListRequestRequestTypeDef

create_classification_job

Creates and defines the settings for a classification job.

Type annotations and code completion for boto3.client("macie2").create_classification_job method. boto3 documentation

Method definition
def create_classification_job(
    self,
    *,
    clientToken: str,
    jobType: JobTypeType,  # (1)
    name: str,
    s3JobDefinition: S3JobDefinitionTypeDef,  # (2)
    allowListIds: Sequence[str] = ...,
    customDataIdentifierIds: Sequence[str] = ...,
    description: str = ...,
    initialRun: bool = ...,
    managedDataIdentifierIds: Sequence[str] = ...,
    managedDataIdentifierSelector: ManagedDataIdentifierSelectorType = ...,  # (3)
    samplingPercentage: int = ...,
    scheduleFrequency: JobScheduleFrequencyTypeDef = ...,  # (4)
    tags: Mapping[str, str] = ...,
) -> CreateClassificationJobResponseTypeDef:  # (5)
    ...
  1. See JobTypeType
  2. See S3JobDefinitionTypeDef
  3. See ManagedDataIdentifierSelectorType
  4. See JobScheduleFrequencyTypeDef
  5. See CreateClassificationJobResponseTypeDef
Usage example with kwargs
kwargs: CreateClassificationJobRequestRequestTypeDef = {  # (1)
    "clientToken": ...,
    "jobType": ...,
    "name": ...,
    "s3JobDefinition": ...,
}

parent.create_classification_job(**kwargs)
  1. See CreateClassificationJobRequestRequestTypeDef

create_custom_data_identifier

Creates and defines the criteria and other settings for a custom data identifier.

Type annotations and code completion for boto3.client("macie2").create_custom_data_identifier method. boto3 documentation

Method definition
def create_custom_data_identifier(
    self,
    *,
    name: str,
    regex: str,
    clientToken: str = ...,
    description: str = ...,
    ignoreWords: Sequence[str] = ...,
    keywords: Sequence[str] = ...,
    maximumMatchDistance: int = ...,
    severityLevels: Sequence[SeverityLevelTypeDef] = ...,  # (1)
    tags: Mapping[str, str] = ...,
) -> CreateCustomDataIdentifierResponseTypeDef:  # (2)
    ...
  1. See SeverityLevelTypeDef
  2. See CreateCustomDataIdentifierResponseTypeDef
Usage example with kwargs
kwargs: CreateCustomDataIdentifierRequestRequestTypeDef = {  # (1)
    "name": ...,
    "regex": ...,
}

parent.create_custom_data_identifier(**kwargs)
  1. See CreateCustomDataIdentifierRequestRequestTypeDef

create_findings_filter

Creates and defines the criteria and other settings for a findings filter.

Type annotations and code completion for boto3.client("macie2").create_findings_filter method. boto3 documentation

Method definition
def create_findings_filter(
    self,
    *,
    action: FindingsFilterActionType,  # (1)
    findingCriteria: FindingCriteriaTypeDef,  # (2)
    name: str,
    clientToken: str = ...,
    description: str = ...,
    position: int = ...,
    tags: Mapping[str, str] = ...,
) -> CreateFindingsFilterResponseTypeDef:  # (3)
    ...
  1. See FindingsFilterActionType
  2. See FindingCriteriaTypeDef
  3. See CreateFindingsFilterResponseTypeDef
Usage example with kwargs
kwargs: CreateFindingsFilterRequestRequestTypeDef = {  # (1)
    "action": ...,
    "findingCriteria": ...,
    "name": ...,
}

parent.create_findings_filter(**kwargs)
  1. See CreateFindingsFilterRequestRequestTypeDef

create_invitations

Sends an Amazon Macie membership invitation to one or more accounts.

Type annotations and code completion for boto3.client("macie2").create_invitations method. boto3 documentation

Method definition
def create_invitations(
    self,
    *,
    accountIds: Sequence[str],
    disableEmailNotification: bool = ...,
    message: str = ...,
) -> CreateInvitationsResponseTypeDef:  # (1)
    ...
  1. See CreateInvitationsResponseTypeDef
Usage example with kwargs
kwargs: CreateInvitationsRequestRequestTypeDef = {  # (1)
    "accountIds": ...,
}

parent.create_invitations(**kwargs)
  1. See CreateInvitationsRequestRequestTypeDef

create_member

Associates an account with an Amazon Macie administrator account.

Type annotations and code completion for boto3.client("macie2").create_member method. boto3 documentation

Method definition
def create_member(
    self,
    *,
    account: AccountDetailTypeDef,  # (1)
    tags: Mapping[str, str] = ...,
) -> CreateMemberResponseTypeDef:  # (2)
    ...
  1. See AccountDetailTypeDef
  2. See CreateMemberResponseTypeDef
Usage example with kwargs
kwargs: CreateMemberRequestRequestTypeDef = {  # (1)
    "account": ...,
}

parent.create_member(**kwargs)
  1. See CreateMemberRequestRequestTypeDef

create_sample_findings

Creates sample findings.

Type annotations and code completion for boto3.client("macie2").create_sample_findings method. boto3 documentation

Method definition
def create_sample_findings(
    self,
    *,
    findingTypes: Sequence[FindingTypeType] = ...,  # (1)
) -> Dict[str, Any]:
    ...
  1. See FindingTypeType
Usage example with kwargs
kwargs: CreateSampleFindingsRequestRequestTypeDef = {  # (1)
    "findingTypes": ...,
}

parent.create_sample_findings(**kwargs)
  1. See CreateSampleFindingsRequestRequestTypeDef

decline_invitations

Declines Amazon Macie membership invitations that were received from specific accounts.

Type annotations and code completion for boto3.client("macie2").decline_invitations method. boto3 documentation

Method definition
def decline_invitations(
    self,
    *,
    accountIds: Sequence[str],
) -> DeclineInvitationsResponseTypeDef:  # (1)
    ...
  1. See DeclineInvitationsResponseTypeDef
Usage example with kwargs
kwargs: DeclineInvitationsRequestRequestTypeDef = {  # (1)
    "accountIds": ...,
}

parent.decline_invitations(**kwargs)
  1. See DeclineInvitationsRequestRequestTypeDef

delete_allow_list

Deletes an allow list.

Type annotations and code completion for boto3.client("macie2").delete_allow_list method. boto3 documentation

Method definition
def delete_allow_list(
    self,
    *,
    id: str,
    ignoreJobChecks: str = ...,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteAllowListRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.delete_allow_list(**kwargs)
  1. See DeleteAllowListRequestRequestTypeDef

delete_custom_data_identifier

Soft deletes a custom data identifier.

Type annotations and code completion for boto3.client("macie2").delete_custom_data_identifier method. boto3 documentation

Method definition
def delete_custom_data_identifier(
    self,
    *,
    id: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteCustomDataIdentifierRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.delete_custom_data_identifier(**kwargs)
  1. See DeleteCustomDataIdentifierRequestRequestTypeDef

delete_findings_filter

Deletes a findings filter.

Type annotations and code completion for boto3.client("macie2").delete_findings_filter method. boto3 documentation

Method definition
def delete_findings_filter(
    self,
    *,
    id: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteFindingsFilterRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.delete_findings_filter(**kwargs)
  1. See DeleteFindingsFilterRequestRequestTypeDef

delete_invitations

Deletes Amazon Macie membership invitations that were received from specific accounts.

Type annotations and code completion for boto3.client("macie2").delete_invitations method. boto3 documentation

Method definition
def delete_invitations(
    self,
    *,
    accountIds: Sequence[str],
) -> DeleteInvitationsResponseTypeDef:  # (1)
    ...
  1. See DeleteInvitationsResponseTypeDef
Usage example with kwargs
kwargs: DeleteInvitationsRequestRequestTypeDef = {  # (1)
    "accountIds": ...,
}

parent.delete_invitations(**kwargs)
  1. See DeleteInvitationsRequestRequestTypeDef

delete_member

Deletes the association between an Amazon Macie administrator account and an account.

Type annotations and code completion for boto3.client("macie2").delete_member method. boto3 documentation

Method definition
def delete_member(
    self,
    *,
    id: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteMemberRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.delete_member(**kwargs)
  1. See DeleteMemberRequestRequestTypeDef

describe_buckets

Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account.

Type annotations and code completion for boto3.client("macie2").describe_buckets method. boto3 documentation

Method definition
def describe_buckets(
    self,
    *,
    criteria: Mapping[str, BucketCriteriaAdditionalPropertiesTypeDef] = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
    sortCriteria: BucketSortCriteriaTypeDef = ...,  # (2)
) -> DescribeBucketsResponseTypeDef:  # (3)
    ...
  1. See BucketCriteriaAdditionalPropertiesTypeDef
  2. See BucketSortCriteriaTypeDef
  3. See DescribeBucketsResponseTypeDef
Usage example with kwargs
kwargs: DescribeBucketsRequestRequestTypeDef = {  # (1)
    "criteria": ...,
}

parent.describe_buckets(**kwargs)
  1. See DescribeBucketsRequestRequestTypeDef

describe_classification_job

Retrieves the status and settings for a classification job.

Type annotations and code completion for boto3.client("macie2").describe_classification_job method. boto3 documentation

Method definition
def describe_classification_job(
    self,
    *,
    jobId: str,
) -> DescribeClassificationJobResponseTypeDef:  # (1)
    ...
  1. See DescribeClassificationJobResponseTypeDef
Usage example with kwargs
kwargs: DescribeClassificationJobRequestRequestTypeDef = {  # (1)
    "jobId": ...,
}

parent.describe_classification_job(**kwargs)
  1. See DescribeClassificationJobRequestRequestTypeDef

describe_organization_configuration

Retrieves the Amazon Macie configuration settings for an organization in Organizations.

Type annotations and code completion for boto3.client("macie2").describe_organization_configuration method. boto3 documentation

Method definition
def describe_organization_configuration(
    self,
) -> DescribeOrganizationConfigurationResponseTypeDef:  # (1)
    ...
  1. See DescribeOrganizationConfigurationResponseTypeDef

disable_macie

Disables Amazon Macie and deletes all settings and resources for a Macie account.

Type annotations and code completion for boto3.client("macie2").disable_macie method. boto3 documentation

Method definition
def disable_macie(
    self,
) -> Dict[str, Any]:
    ...

disable_organization_admin_account

Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.

Type annotations and code completion for boto3.client("macie2").disable_organization_admin_account method. boto3 documentation

Method definition
def disable_organization_admin_account(
    self,
    *,
    adminAccountId: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DisableOrganizationAdminAccountRequestRequestTypeDef = {  # (1)
    "adminAccountId": ...,
}

parent.disable_organization_admin_account(**kwargs)
  1. See DisableOrganizationAdminAccountRequestRequestTypeDef

disassociate_from_administrator_account

Disassociates a member account from its Amazon Macie administrator account.

Type annotations and code completion for boto3.client("macie2").disassociate_from_administrator_account method. boto3 documentation

Method definition
def disassociate_from_administrator_account(
    self,
) -> Dict[str, Any]:
    ...

disassociate_from_master_account

(Deprecated) Disassociates a member account from its Amazon Macie administrator account.

Type annotations and code completion for boto3.client("macie2").disassociate_from_master_account method. boto3 documentation

Method definition
def disassociate_from_master_account(
    self,
) -> Dict[str, Any]:
    ...

disassociate_member

Disassociates an Amazon Macie administrator account from a member account.

Type annotations and code completion for boto3.client("macie2").disassociate_member method. boto3 documentation

Method definition
def disassociate_member(
    self,
    *,
    id: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DisassociateMemberRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.disassociate_member(**kwargs)
  1. See DisassociateMemberRequestRequestTypeDef

enable_macie

Enables Amazon Macie and specifies the configuration settings for a Macie account.

Type annotations and code completion for boto3.client("macie2").enable_macie method. boto3 documentation

Method definition
def enable_macie(
    self,
    *,
    clientToken: str = ...,
    findingPublishingFrequency: FindingPublishingFrequencyType = ...,  # (1)
    status: MacieStatusType = ...,  # (2)
) -> Dict[str, Any]:
    ...
  1. See FindingPublishingFrequencyType
  2. See MacieStatusType
Usage example with kwargs
kwargs: EnableMacieRequestRequestTypeDef = {  # (1)
    "clientToken": ...,
}

parent.enable_macie(**kwargs)
  1. See EnableMacieRequestRequestTypeDef

enable_organization_admin_account

Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.

Type annotations and code completion for boto3.client("macie2").enable_organization_admin_account method. boto3 documentation

Method definition
def enable_organization_admin_account(
    self,
    *,
    adminAccountId: str,
    clientToken: str = ...,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: EnableOrganizationAdminAccountRequestRequestTypeDef = {  # (1)
    "adminAccountId": ...,
}

parent.enable_organization_admin_account(**kwargs)
  1. See EnableOrganizationAdminAccountRequestRequestTypeDef

generate_presigned_url

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("macie2").generate_presigned_url method. boto3 documentation

Method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_administrator_account

Retrieves information about the Amazon Macie administrator account for an account.

Type annotations and code completion for boto3.client("macie2").get_administrator_account method. boto3 documentation

Method definition
def get_administrator_account(
    self,
) -> GetAdministratorAccountResponseTypeDef:  # (1)
    ...
  1. See GetAdministratorAccountResponseTypeDef

get_allow_list

Retrieves the settings and status of an allow list.

Type annotations and code completion for boto3.client("macie2").get_allow_list method. boto3 documentation

Method definition
def get_allow_list(
    self,
    *,
    id: str,
) -> GetAllowListResponseTypeDef:  # (1)
    ...
  1. See GetAllowListResponseTypeDef
Usage example with kwargs
kwargs: GetAllowListRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.get_allow_list(**kwargs)
  1. See GetAllowListRequestRequestTypeDef

get_automated_discovery_configuration

Retrieves the configuration settings and status of automated sensitive data discovery for an account.

Type annotations and code completion for boto3.client("macie2").get_automated_discovery_configuration method. boto3 documentation

Method definition
def get_automated_discovery_configuration(
    self,
) -> GetAutomatedDiscoveryConfigurationResponseTypeDef:  # (1)
    ...
  1. See GetAutomatedDiscoveryConfigurationResponseTypeDef

get_bucket_statistics

Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.

Type annotations and code completion for boto3.client("macie2").get_bucket_statistics method. boto3 documentation

Method definition
def get_bucket_statistics(
    self,
    *,
    accountId: str = ...,
) -> GetBucketStatisticsResponseTypeDef:  # (1)
    ...
  1. See GetBucketStatisticsResponseTypeDef
Usage example with kwargs
kwargs: GetBucketStatisticsRequestRequestTypeDef = {  # (1)
    "accountId": ...,
}

parent.get_bucket_statistics(**kwargs)
  1. See GetBucketStatisticsRequestRequestTypeDef

get_classification_export_configuration

Retrieves the configuration settings for storing data classification results.

Type annotations and code completion for boto3.client("macie2").get_classification_export_configuration method. boto3 documentation

Method definition
def get_classification_export_configuration(
    self,
) -> GetClassificationExportConfigurationResponseTypeDef:  # (1)
    ...
  1. See GetClassificationExportConfigurationResponseTypeDef

get_classification_scope

Retrieves the classification scope settings for an account.

Type annotations and code completion for boto3.client("macie2").get_classification_scope method. boto3 documentation

Method definition
def get_classification_scope(
    self,
    *,
    id: str,
) -> GetClassificationScopeResponseTypeDef:  # (1)
    ...
  1. See GetClassificationScopeResponseTypeDef
Usage example with kwargs
kwargs: GetClassificationScopeRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.get_classification_scope(**kwargs)
  1. See GetClassificationScopeRequestRequestTypeDef

get_custom_data_identifier

Retrieves the criteria and other settings for a custom data identifier.

Type annotations and code completion for boto3.client("macie2").get_custom_data_identifier method. boto3 documentation

Method definition
def get_custom_data_identifier(
    self,
    *,
    id: str,
) -> GetCustomDataIdentifierResponseTypeDef:  # (1)
    ...
  1. See GetCustomDataIdentifierResponseTypeDef
Usage example with kwargs
kwargs: GetCustomDataIdentifierRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.get_custom_data_identifier(**kwargs)
  1. See GetCustomDataIdentifierRequestRequestTypeDef

get_finding_statistics

Retrieves (queries) aggregated statistical data about findings.

Type annotations and code completion for boto3.client("macie2").get_finding_statistics method. boto3 documentation

Method definition
def get_finding_statistics(
    self,
    *,
    groupBy: GroupByType,  # (1)
    findingCriteria: FindingCriteriaTypeDef = ...,  # (2)
    size: int = ...,
    sortCriteria: FindingStatisticsSortCriteriaTypeDef = ...,  # (3)
) -> GetFindingStatisticsResponseTypeDef:  # (4)
    ...
  1. See GroupByType
  2. See FindingCriteriaTypeDef
  3. See FindingStatisticsSortCriteriaTypeDef
  4. See GetFindingStatisticsResponseTypeDef
Usage example with kwargs
kwargs: GetFindingStatisticsRequestRequestTypeDef = {  # (1)
    "groupBy": ...,
}

parent.get_finding_statistics(**kwargs)
  1. See GetFindingStatisticsRequestRequestTypeDef

get_findings

Retrieves the details of one or more findings.

Type annotations and code completion for boto3.client("macie2").get_findings method. boto3 documentation

Method definition
def get_findings(
    self,
    *,
    findingIds: Sequence[str],
    sortCriteria: SortCriteriaTypeDef = ...,  # (1)
) -> GetFindingsResponseTypeDef:  # (2)
    ...
  1. See SortCriteriaTypeDef
  2. See GetFindingsResponseTypeDef
Usage example with kwargs
kwargs: GetFindingsRequestRequestTypeDef = {  # (1)
    "findingIds": ...,
}

parent.get_findings(**kwargs)
  1. See GetFindingsRequestRequestTypeDef

get_findings_filter

Retrieves the criteria and other settings for a findings filter.

Type annotations and code completion for boto3.client("macie2").get_findings_filter method. boto3 documentation

Method definition
def get_findings_filter(
    self,
    *,
    id: str,
) -> GetFindingsFilterResponseTypeDef:  # (1)
    ...
  1. See GetFindingsFilterResponseTypeDef
Usage example with kwargs
kwargs: GetFindingsFilterRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.get_findings_filter(**kwargs)
  1. See GetFindingsFilterRequestRequestTypeDef

get_findings_publication_configuration

Retrieves the configuration settings for publishing findings to Security Hub.

Type annotations and code completion for boto3.client("macie2").get_findings_publication_configuration method. boto3 documentation

Method definition
def get_findings_publication_configuration(
    self,
) -> GetFindingsPublicationConfigurationResponseTypeDef:  # (1)
    ...
  1. See GetFindingsPublicationConfigurationResponseTypeDef

get_invitations_count

Retrieves the count of Amazon Macie membership invitations that were received by an account.

Type annotations and code completion for boto3.client("macie2").get_invitations_count method. boto3 documentation

Method definition
def get_invitations_count(
    self,
) -> GetInvitationsCountResponseTypeDef:  # (1)
    ...
  1. See GetInvitationsCountResponseTypeDef

get_macie_session

Retrieves the status and configuration settings for an Amazon Macie account.

Type annotations and code completion for boto3.client("macie2").get_macie_session method. boto3 documentation

Method definition
def get_macie_session(
    self,
) -> GetMacieSessionResponseTypeDef:  # (1)
    ...
  1. See GetMacieSessionResponseTypeDef

get_master_account

(Deprecated) Retrieves information about the Amazon Macie administrator account for an account.

Type annotations and code completion for boto3.client("macie2").get_master_account method. boto3 documentation

Method definition
def get_master_account(
    self,
) -> GetMasterAccountResponseTypeDef:  # (1)
    ...
  1. See GetMasterAccountResponseTypeDef

get_member

Retrieves information about an account that's associated with an Amazon Macie administrator account.

Type annotations and code completion for boto3.client("macie2").get_member method. boto3 documentation

Method definition
def get_member(
    self,
    *,
    id: str,
) -> GetMemberResponseTypeDef:  # (1)
    ...
  1. See GetMemberResponseTypeDef
Usage example with kwargs
kwargs: GetMemberRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.get_member(**kwargs)
  1. See GetMemberRequestRequestTypeDef

get_resource_profile

Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.

Type annotations and code completion for boto3.client("macie2").get_resource_profile method. boto3 documentation

Method definition
def get_resource_profile(
    self,
    *,
    resourceArn: str,
) -> GetResourceProfileResponseTypeDef:  # (1)
    ...
  1. See GetResourceProfileResponseTypeDef
Usage example with kwargs
kwargs: GetResourceProfileRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.get_resource_profile(**kwargs)
  1. See GetResourceProfileRequestRequestTypeDef

get_reveal_configuration

Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.

Type annotations and code completion for boto3.client("macie2").get_reveal_configuration method. boto3 documentation

Method definition
def get_reveal_configuration(
    self,
) -> GetRevealConfigurationResponseTypeDef:  # (1)
    ...
  1. See GetRevealConfigurationResponseTypeDef

get_sensitive_data_occurrences

Retrieves occurrences of sensitive data reported by a finding.

Type annotations and code completion for boto3.client("macie2").get_sensitive_data_occurrences method. boto3 documentation

Method definition
def get_sensitive_data_occurrences(
    self,
    *,
    findingId: str,
) -> GetSensitiveDataOccurrencesResponseTypeDef:  # (1)
    ...
  1. See GetSensitiveDataOccurrencesResponseTypeDef
Usage example with kwargs
kwargs: GetSensitiveDataOccurrencesRequestRequestTypeDef = {  # (1)
    "findingId": ...,
}

parent.get_sensitive_data_occurrences(**kwargs)
  1. See GetSensitiveDataOccurrencesRequestRequestTypeDef

get_sensitive_data_occurrences_availability

Checks whether occurrences of sensitive data can be retrieved for a finding.

Type annotations and code completion for boto3.client("macie2").get_sensitive_data_occurrences_availability method. boto3 documentation

Method definition
def get_sensitive_data_occurrences_availability(
    self,
    *,
    findingId: str,
) -> GetSensitiveDataOccurrencesAvailabilityResponseTypeDef:  # (1)
    ...
  1. See GetSensitiveDataOccurrencesAvailabilityResponseTypeDef
Usage example with kwargs
kwargs: GetSensitiveDataOccurrencesAvailabilityRequestRequestTypeDef = {  # (1)
    "findingId": ...,
}

parent.get_sensitive_data_occurrences_availability(**kwargs)
  1. See GetSensitiveDataOccurrencesAvailabilityRequestRequestTypeDef

get_sensitivity_inspection_template

Retrieves the settings for the sensitivity inspection template for an account.

Type annotations and code completion for boto3.client("macie2").get_sensitivity_inspection_template method. boto3 documentation

Method definition
def get_sensitivity_inspection_template(
    self,
    *,
    id: str,
) -> GetSensitivityInspectionTemplateResponseTypeDef:  # (1)
    ...
  1. See GetSensitivityInspectionTemplateResponseTypeDef
Usage example with kwargs
kwargs: GetSensitivityInspectionTemplateRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.get_sensitivity_inspection_template(**kwargs)
  1. See GetSensitivityInspectionTemplateRequestRequestTypeDef

get_usage_statistics

Retrieves (queries) quotas and aggregated usage data for one or more accounts.

Type annotations and code completion for boto3.client("macie2").get_usage_statistics method. boto3 documentation

Method definition
def get_usage_statistics(
    self,
    *,
    filterBy: Sequence[UsageStatisticsFilterTypeDef] = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
    sortBy: UsageStatisticsSortByTypeDef = ...,  # (2)
    timeRange: TimeRangeType = ...,  # (3)
) -> GetUsageStatisticsResponseTypeDef:  # (4)
    ...
  1. See UsageStatisticsFilterTypeDef
  2. See UsageStatisticsSortByTypeDef
  3. See TimeRangeType
  4. See GetUsageStatisticsResponseTypeDef
Usage example with kwargs
kwargs: GetUsageStatisticsRequestRequestTypeDef = {  # (1)
    "filterBy": ...,
}

parent.get_usage_statistics(**kwargs)
  1. See GetUsageStatisticsRequestRequestTypeDef

get_usage_totals

Retrieves (queries) aggregated usage data for an account.

Type annotations and code completion for boto3.client("macie2").get_usage_totals method. boto3 documentation

Method definition
def get_usage_totals(
    self,
    *,
    timeRange: str = ...,
) -> GetUsageTotalsResponseTypeDef:  # (1)
    ...
  1. See GetUsageTotalsResponseTypeDef
Usage example with kwargs
kwargs: GetUsageTotalsRequestRequestTypeDef = {  # (1)
    "timeRange": ...,
}

parent.get_usage_totals(**kwargs)
  1. See