@datafire/amazonaws_macie v5.0.0
@datafire/amazonaws_macie
Client library for Amazon Macie
Installation and Usage
npm install --save @datafire/amazonaws_macie
let amazonaws_macie = require('@datafire/amazonaws_macie').create({
hmac: ""
});
amazonaws_macie.AssociateMemberAccount({
"body": {
"memberAccountId": ""
},
"Action": "",
"Version": ""
}).then(data => {
console.log(data);
});
Description
Amazon Macie 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.
Actions
AssociateMemberAccount
Associates a specified AWS account with Amazon Macie as a member account.
amazonaws_macie.AssociateMemberAccount({
"body": {
"memberAccountId": ""
},
"Action": "",
"Version": ""
}, context)
Input
- input
object
- body required AssociateMemberAccountRequest
- Action required
string
- Version required
string
- X-Amz-Content-Sha256
string
- X-Amz-Date
string
- X-Amz-Algorithm
string
- X-Amz-Credential
string
- X-Amz-Security-Token
string
- X-Amz-Signature
string
- X-Amz-SignedHeaders
string
Output
Output schema unknown
AssociateS3Resources
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.
amazonaws_macie.AssociateS3Resources({
"body": {
"s3Resources": []
},
"Action": "",
"Version": ""
}, context)
Input
- input
object
- body required AssociateS3ResourcesRequest
- Action required
string
- Version required
string
- X-Amz-Content-Sha256
string
- X-Amz-Date
string
- X-Amz-Algorithm
string
- X-Amz-Credential
string
- X-Amz-Security-Token
string
- X-Amz-Signature
string
- X-Amz-SignedHeaders
string
Output
- output AssociateS3ResourcesResult
DisassociateMemberAccount
Removes the specified member account from Amazon Macie.
amazonaws_macie.DisassociateMemberAccount({
"body": {
"memberAccountId": ""
},
"Action": "",
"Version": ""
}, context)
Input
- input
object
- body required DisassociateMemberAccountRequest
- Action required
string
- Version required
string
- X-Amz-Content-Sha256
string
- X-Amz-Date
string
- X-Amz-Algorithm
string
- X-Amz-Credential
string
- X-Amz-Security-Token
string
- X-Amz-Signature
string
- X-Amz-SignedHeaders
string
Output
Output schema unknown
DisassociateS3Resources
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.
amazonaws_macie.DisassociateS3Resources({
"body": {
"associatedS3Resources": []
},
"Action": "",
"Version": ""
}, context)
Input
- input
object
- body required DisassociateS3ResourcesRequest
- Action required
string
- Version required
string
- X-Amz-Content-Sha256
string
- X-Amz-Date
string
- X-Amz-Algorithm
string
- X-Amz-Credential
string
- X-Amz-Security-Token
string
- X-Amz-Signature
string
- X-Amz-SignedHeaders
string
Output
ListMemberAccounts
Lists all Amazon Macie member accounts for the current Amazon Macie master account.
amazonaws_macie.ListMemberAccounts({
"body": {},
"Action": "",
"Version": ""
}, context)
Input
- input
object
- body required ListMemberAccountsRequest
- maxResults
string
: Pagination limit - nextToken
string
: Pagination token - Action required
string
- Version required
string
- X-Amz-Content-Sha256
string
- X-Amz-Date
string
- X-Amz-Algorithm
string
- X-Amz-Credential
string
- X-Amz-Security-Token
string
- X-Amz-Signature
string
- X-Amz-SignedHeaders
string
Output
- output ListMemberAccountsResult
ListS3Resources
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.
amazonaws_macie.ListS3Resources({
"body": {},
"Action": "",
"Version": ""
}, context)
Input
- input
object
- body required ListS3ResourcesRequest
- maxResults
string
: Pagination limit - nextToken
string
: Pagination token - Action required
string
- Version required
string
- X-Amz-Content-Sha256
string
- X-Amz-Date
string
- X-Amz-Algorithm
string
- X-Amz-Credential
string
- X-Amz-Security-Token
string
- X-Amz-Signature
string
- X-Amz-SignedHeaders
string
Output
- output ListS3ResourcesResult
UpdateS3Resources
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.
amazonaws_macie.UpdateS3Resources({
"body": {
"s3ResourcesUpdate": []
},
"Action": "",
"Version": ""
}, context)
Input
- input
object
- body required UpdateS3ResourcesRequest
- Action required
string
- Version required
string
- X-Amz-Content-Sha256
string
- X-Amz-Date
string
- X-Amz-Algorithm
string
- X-Amz-Credential
string
- X-Amz-Security-Token
string
- X-Amz-Signature
string
- X-Amz-SignedHeaders
string
Output
- output UpdateS3ResourcesResult
Definitions
AWSAccountId
- AWSAccountId
string
AccessDeniedException
- AccessDeniedException
object
: You do not have required permissions to access the requested resource.- message ExceptionMessage
- resourceType ResourceType
AssociateMemberAccountRequest
- AssociateMemberAccountRequest
object
- memberAccountId required AWSAccountId
AssociateS3ResourcesRequest
- AssociateS3ResourcesRequest
object
- memberAccountId AWSAccountId
- s3Resources required S3ResourcesClassification
AssociateS3ResourcesResult
- AssociateS3ResourcesResult
object
- failedS3Resources FailedS3Resources
BucketName
- BucketName
string
ClassificationType
- ClassificationType
object
: The classification type that Amazon Macie applies to the associated S3 resources.- continuous required S3ContinuousClassificationType
- oneTime required S3OneTimeClassificationType
ClassificationTypeUpdate
- ClassificationTypeUpdate
object
: The classification type that Amazon Macie applies to the associated S3 resources. At least one of the classification types (oneTime or continuous) must be specified.- continuous S3ContinuousClassificationType
- oneTime S3OneTimeClassificationType
DisassociateMemberAccountRequest
- DisassociateMemberAccountRequest
object
- memberAccountId required AWSAccountId
DisassociateS3ResourcesRequest
- DisassociateS3ResourcesRequest
object
- associatedS3Resources required S3Resources
- memberAccountId AWSAccountId
DisassociateS3ResourcesResult
- DisassociateS3ResourcesResult
object
- failedS3Resources FailedS3Resources
ErrorCode
- ErrorCode
string
: Error code for the exception
ExceptionMessage
- ExceptionMessage
string
FailedS3Resource
- FailedS3Resource
object
: Includes details about the failed S3 resources.- errorCode ErrorCode
- errorMessage ExceptionMessage
- failedItem S3Resource
FailedS3Resources
- FailedS3Resources
array
- items FailedS3Resource
FieldName
- FieldName
string
: Field that has invalid input
InternalException
- InternalException
object
: Internal server error.- errorCode ErrorCode
- message ExceptionMessage
InvalidInputException
- InvalidInputException
object
: The request was rejected because an invalid or out-of-range value was supplied for an input parameter.- errorCode ErrorCode
- fieldName FieldName
- message ExceptionMessage
LimitExceededException
- LimitExceededException
object
: The request was rejected because it attempted to create resources beyond the current AWS account limits. The error code describes the limit exceeded.- errorCode ErrorCode
- message ExceptionMessage
- resourceType ResourceType
ListMemberAccountsRequest
- ListMemberAccountsRequest
object
- maxResults MaxResults
- nextToken NextToken
ListMemberAccountsResult
- ListMemberAccountsResult
object
- memberAccounts MemberAccounts
- nextToken NextToken
ListS3ResourcesRequest
- ListS3ResourcesRequest
object
- maxResults MaxResults
- memberAccountId AWSAccountId
- nextToken NextToken
ListS3ResourcesResult
- ListS3ResourcesResult
object
- nextToken NextToken
- s3Resources S3ResourcesClassification
MaxResults
- MaxResults
integer
MemberAccount
- MemberAccount
object
: Contains information about the Amazon Macie member account.- accountId AWSAccountId
MemberAccounts
- MemberAccounts
array
- items MemberAccount
NextToken
- NextToken
string
Prefix
- Prefix
string
ResourceType
- ResourceType
string
: Resource type that caused the exception
S3ContinuousClassificationType
- S3ContinuousClassificationType
string
(values: FULL)
S3OneTimeClassificationType
- S3OneTimeClassificationType
string
(values: FULL, NONE)
S3Resource
- S3Resource
object
: Contains information about the S3 resource. This data type is used as a request parameter in the DisassociateS3Resources action and can be used as a response parameter in the AssociateS3Resources and UpdateS3Resources actions.- bucketName required BucketName
- prefix Prefix
S3ResourceClassification
- S3ResourceClassification
object
: The S3 resources that you want to associate with Amazon Macie for monitoring and data classification. This data type is used as a request parameter in the AssociateS3Resources action and a response parameter in the ListS3Resources action.- bucketName required BucketName
- classificationType required ClassificationType
- prefix Prefix
S3ResourceClassificationUpdate
- S3ResourceClassificationUpdate
object
: The S3 resources whose classification types you want to update. This data type is used as a request parameter in the UpdateS3Resources action.- bucketName required BucketName
- classificationTypeUpdate required ClassificationTypeUpdate
- prefix Prefix
S3Resources
- S3Resources
array
- items S3Resource
S3ResourcesClassification
- S3ResourcesClassification
array
- items S3ResourceClassification
S3ResourcesClassificationUpdate
- S3ResourcesClassificationUpdate
array
UpdateS3ResourcesRequest
- UpdateS3ResourcesRequest
object
- memberAccountId AWSAccountId
- s3ResourcesUpdate required S3ResourcesClassificationUpdate
UpdateS3ResourcesResult
- UpdateS3ResourcesResult
object
- failedS3Resources FailedS3Resources
7 years ago