Skip to content

List Storage Lens Groups

s3control_list_storage_lens_groups R Documentation

Lists all the Storage Lens groups in the specified home Region

Description

Lists all the Storage Lens groups in the specified home Region.

To use this operation, you must have the permission to perform the s3:ListStorageLensGroups action. For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups.

For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes.

Usage

s3control_list_storage_lens_groups(AccountId, NextToken)

Arguments

AccountId

[required] The Amazon Web Services account ID that owns the Storage Lens groups.

NextToken

The token for the next set of results, or null if there are no more results.

Value

A list with the following syntax:

list(
  NextToken = "string",
  StorageLensGroupList = list(
    list(
      Name = "string",
      StorageLensGroupArn = "string",
      HomeRegion = "string"
    )
  )
)

Request syntax

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