Learn R Programming

paws.security.identity (version 0.1.12)

macie_disassociate_s3_resources: Removes specified S3 resources from being monitored by Amazon Macie Classic

Description

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.

Usage

macie_disassociate_s3_resources(memberAccountId, associatedS3Resources)

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 remove from being monitored by Amazon Macie Classic.

associatedS3Resources

[required] The S3 resources (buckets or prefixes) that you want to remove from being monitored and classified by Amazon Macie Classic.

Request syntax

svc$disassociate_s3_resources(
  memberAccountId = "string",
  associatedS3Resources = list(
    list(
      bucketName = "string",
      prefix = "string"
    )
  )
)