Skip to content

List Storage Lens Configurations

s3control_list_storage_lens_configurations R Documentation

This operation is not supported by directory buckets

Description

This operation is not supported by directory buckets.

Gets a list of Amazon S3 Storage Lens configurations. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:ListStorageLensConfigurations action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.

Usage

s3control_list_storage_lens_configurations(AccountId, NextToken)

Arguments

AccountId

[required] The account ID of the requester.

NextToken

A pagination token to request the next page of results.

Value

A list with the following syntax:

list(
  NextToken = "string",
  StorageLensConfigurationList = list(
    list(
      Id = "string",
      StorageLensArn = "string",
      HomeRegion = "string",
      IsEnabled = TRUE|FALSE
    )
  )
)

Request syntax

svc$list_storage_lens_configurations(
  AccountId = "string",
  NextToken = "string"
)