Class: AWS.Macie
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.Macie
- Identifier:
- macie
- API Version:
- 2017-12-19
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Amazon Macie is a security service that uses machine learning to automatically discover, classify, and protect sensitive data in AWS. Macie 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 Macie User Guide.
Sending a Request Using Macie
var macie = new AWS.Macie();
macie.associateMemberAccount(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the Macie object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var macie = new AWS.Macie({apiVersion: '2017-12-19'});
You can also set the API version globally in AWS.config.apiVersions
using
the macie service identifier:
AWS.config.apiVersions = {
macie: '2017-12-19',
// other service API versions
};
var macie = new AWS.Macie();
Constructor Summary
-
new AWS.Macie(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary
-
associateMemberAccount(params = {}, callback) ⇒ AWS.Request
Associates a specified AWS account with Amazon Macie as a member account.
-
associateS3Resources(params = {}, callback) ⇒ AWS.Request
Associates specified S3 resources with Amazon Macie for monitoring and data classification.
-
disassociateMemberAccount(params = {}, callback) ⇒ AWS.Request
Removes the specified member account from Amazon Macie.
-
disassociateS3Resources(params = {}, callback) ⇒ AWS.Request
Removes specified S3 resources from being monitored by Amazon Macie.
-
listMemberAccounts(params = {}, callback) ⇒ AWS.Request
Lists all Amazon Macie member accounts for the current Amazon Macie master account.
-
listS3Resources(params = {}, callback) ⇒ AWS.Request
Lists all the S3 resources associated with Amazon Macie.
-
updateS3Resources(params = {}, callback) ⇒ AWS.Request
Updates the classification types for the specified S3 resources.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
Property Details
Method Details
associateMemberAccount(params = {}, callback) ⇒ AWS.Request
Associates a specified AWS account with Amazon Macie as a member account.
associateS3Resources(params = {}, callback) ⇒ AWS.Request
Associates specified S3 resources with Amazon Macie for monitoring and data classification. If memberAccountId isn't specified, the action associates specified S3 resources with Macie for the current master account. If memberAccountId is specified, the action associates specified S3 resources with Macie for the specified member account.
disassociateMemberAccount(params = {}, callback) ⇒ AWS.Request
Removes the specified member account from Amazon Macie.
disassociateS3Resources(params = {}, callback) ⇒ AWS.Request
Removes specified S3 resources from being monitored by Amazon Macie. If memberAccountId isn't specified, the action removes specified S3 resources from Macie for the current master account. If memberAccountId is specified, the action removes specified S3 resources from Macie for the specified member account.
listMemberAccounts(params = {}, callback) ⇒ AWS.Request
Lists all Amazon Macie member accounts for the current Amazon Macie master account.
listS3Resources(params = {}, callback) ⇒ AWS.Request
Lists all the S3 resources associated with Amazon Macie. If memberAccountId isn't specified, the action lists the S3 resources associated with Amazon Macie for the current master account. If memberAccountId is specified, the action lists the S3 resources associated with Amazon Macie for the specified member account.
updateS3Resources(params = {}, callback) ⇒ AWS.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 for the current master account. If memberAccountId is specified, the action updates the classification types of the S3 resources associated with Amazon Macie for the specified member account.