Learn R Programming

paws.security.identity (version 0.1.12)

macie_associate_s3_resources: Associates specified S3 resources with Amazon Macie Classic for monitoring and data classification

Description

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.

Usage

macie_associate_s3_resources(memberAccountId, s3Resources)

Value

A list with the following syntax:

list(
  failedS3Resources = list(
    list(
      failedItem = list(
        bucketName = "string",
        prefix = "string"
      ),
      errorCode = "string",
      errorMessage = "string"
    )
  )
)

Arguments

memberAccountId

The ID of the Amazon Macie Classic member account whose resources you want to associate with Macie Classic.

s3Resources

[required] The S3 resources that you want to associate with Amazon Macie Classic for monitoring and data classification.

Request syntax

svc$associate_s3_resources(
  memberAccountId = "string",
  s3Resources = list(
    list(
      bucketName = "string",
      prefix = "string",
      classificationType = list(
        oneTime = "FULL"|"NONE",
        continuous = "FULL"
      )
    )
  )
)