@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonMacieClient extends AmazonWebServiceClient implements AmazonMacie
Amazon Macie Classic is a security service that uses machine learning to automatically discover, classify, and protect sensitive data in AWS. Macie Classic recognizes sensitive data such as personally identifiable information (PII) or intellectual property, and provides you with dashboards and alerts that give visibility into how this data is being accessed or moved. For more information, see the Amazon Macie Classic User Guide.
A new Amazon Macie is now available with significant design improvements and additional features, at a lower price and in most AWS Regions. We encourage you to explore and use the new and improved features, and benefit from the reduced cost. To learn about features and pricing for the new Amazon Macie, see Amazon Macie.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AssociateMemberAccountResult |
associateMemberAccount(AssociateMemberAccountRequest request)
Associates a specified AWS account with Amazon Macie Classic as a member account.
|
AssociateS3ResourcesResult |
associateS3Resources(AssociateS3ResourcesRequest request)
Associates specified S3 resources with Amazon Macie Classic for monitoring and data classification.
|
static AmazonMacieClientBuilder |
builder() |
DisassociateMemberAccountResult |
disassociateMemberAccount(DisassociateMemberAccountRequest request)
Removes the specified member account from Amazon Macie Classic.
|
DisassociateS3ResourcesResult |
disassociateS3Resources(DisassociateS3ResourcesRequest request)
Removes specified S3 resources from being monitored by Amazon Macie Classic.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
ListMemberAccountsResult |
listMemberAccounts(ListMemberAccountsRequest request)
Lists all Amazon Macie Classic member accounts for the current Amazon Macie Classic master account.
|
ListS3ResourcesResult |
listS3Resources(ListS3ResourcesRequest request)
Lists all the S3 resources associated with Amazon Macie Classic.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
UpdateS3ResourcesResult |
updateS3Resources(UpdateS3ResourcesRequest request)
Updates the classification types for the specified S3 resources.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AmazonMacieClientBuilder builder()
public AssociateMemberAccountResult associateMemberAccount(AssociateMemberAccountRequest request)
Associates a specified AWS account with Amazon Macie Classic as a member account.
associateMemberAccount
in interface AmazonMacie
associateMemberAccountRequest
- InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.InternalException
- Internal server error.public AssociateS3ResourcesResult associateS3Resources(AssociateS3ResourcesRequest request)
Associates specified S3 resources with Amazon Macie Classic for monitoring and data classification. If memberAccountId isn't specified, the action associates specified S3 resources with Macie Classic for the current master account. If memberAccountId is specified, the action associates specified S3 resources with Macie Classic for the specified member account.
associateS3Resources
in interface AmazonMacie
associateS3ResourcesRequest
- InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.InternalException
- Internal server error.public DisassociateMemberAccountResult disassociateMemberAccount(DisassociateMemberAccountRequest request)
Removes the specified member account from Amazon Macie Classic.
disassociateMemberAccount
in interface AmazonMacie
disassociateMemberAccountRequest
- InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InternalException
- Internal server error.public DisassociateS3ResourcesResult disassociateS3Resources(DisassociateS3ResourcesRequest request)
Removes specified S3 resources from being monitored by Amazon Macie Classic. If memberAccountId isn't specified, the action removes specified S3 resources from Macie Classic for the current master account. If memberAccountId is specified, the action removes specified S3 resources from Macie Classic for the specified member account.
disassociateS3Resources
in interface AmazonMacie
disassociateS3ResourcesRequest
- InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.InternalException
- Internal server error.public ListMemberAccountsResult listMemberAccounts(ListMemberAccountsRequest request)
Lists all Amazon Macie Classic member accounts for the current Amazon Macie Classic master account.
listMemberAccounts
in interface AmazonMacie
listMemberAccountsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.public ListS3ResourcesResult listS3Resources(ListS3ResourcesRequest request)
Lists all the S3 resources associated with Amazon Macie Classic. If memberAccountId isn't specified, the action lists the S3 resources associated with Amazon Macie Classic for the current master account. If memberAccountId is specified, the action lists the S3 resources associated with Amazon Macie Classic for the specified member account.
listS3Resources
in interface AmazonMacie
listS3ResourcesRequest
- InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.InternalException
- Internal server error.public UpdateS3ResourcesResult updateS3Resources(UpdateS3ResourcesRequest request)
Updates the classification types for the specified S3 resources. If memberAccountId isn't specified, the action updates the classification types of the S3 resources associated with Amazon Macie Classic for the current master account. If memberAccountId is specified, the action updates the classification types of the S3 resources associated with Amazon Macie Classic for the specified member account.
updateS3Resources
in interface AmazonMacie
updateS3ResourcesRequest
- InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.InternalException
- Internal server error.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AmazonMacie
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonMacie
shutdown
in class AmazonWebServiceClient