Learn R Programming

paws.security.identity (version 0.1.12)

macie_update_s3_resources: Updates the classification types for the specified S3 resources

Description

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.

Usage

macie_update_s3_resources(memberAccountId, s3ResourcesUpdate)

Value

A list with the following syntax:

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

Arguments

memberAccountId

The AWS ID of the Amazon Macie Classic member account whose S3 resources' classification types you want to update.

s3ResourcesUpdate

[required] The S3 resources whose classification types you want to update.

Request syntax

svc$update_s3_resources(
  memberAccountId = "string",
  s3ResourcesUpdate = list(
    list(
      bucketName = "string",
      prefix = "string",
      classificationTypeUpdate = list(
        oneTime = "FULL"|"NONE",
        continuous = "FULL"
      )
    )
  )
)