Skip to content

Get Storage Lens Group

s3control_get_storage_lens_group R Documentation

Retrieves the Storage Lens group configuration details

Description

Retrieves the Storage Lens group configuration details.

To use this operation, you must have the permission to perform the s3:GetStorageLensGroup 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_get_storage_lens_group(Name, AccountId)

Arguments

Name

[required] The name of the Storage Lens group that you're trying to retrieve the configuration details for.

AccountId

[required] The Amazon Web Services account ID associated with the Storage Lens group that you're trying to retrieve the details for.

Value

A list with the following syntax:

list(
  StorageLensGroup = list(
    Name = "string",
    Filter = list(
      MatchAnyPrefix = list(
        "string"
      ),
      MatchAnySuffix = list(
        "string"
      ),
      MatchAnyTag = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      MatchObjectAge = list(
        DaysGreaterThan = 123,
        DaysLessThan = 123
      ),
      MatchObjectSize = list(
        BytesGreaterThan = 123,
        BytesLessThan = 123
      ),
      And = list(
        MatchAnyPrefix = list(
          "string"
        ),
        MatchAnySuffix = list(
          "string"
        ),
        MatchAnyTag = list(
          list(
            Key = "string",
            Value = "string"
          )
        ),
        MatchObjectAge = list(
          DaysGreaterThan = 123,
          DaysLessThan = 123
        ),
        MatchObjectSize = list(
          BytesGreaterThan = 123,
          BytesLessThan = 123
        )
      ),
      Or = list(
        MatchAnyPrefix = list(
          "string"
        ),
        MatchAnySuffix = list(
          "string"
        ),
        MatchAnyTag = list(
          list(
            Key = "string",
            Value = "string"
          )
        ),
        MatchObjectAge = list(
          DaysGreaterThan = 123,
          DaysLessThan = 123
        ),
        MatchObjectSize = list(
          BytesGreaterThan = 123,
          BytesLessThan = 123
        )
      )
    ),
    StorageLensGroupArn = "string"
  )
)

Request syntax

svc$get_storage_lens_group(
  Name = "string",
  AccountId = "string"
)