s3control_get_storage_lens_configuration: Gets the Amazon S3 Storage Lens configuration

Description Usage Arguments Value Request syntax

View source: R/s3control_operations.R

Description

Gets the Amazon S3 Storage Lens configuration. For more information, see Working with Amazon S3 Storage Lens in the Amazon Simple Storage Service Developer Guide.

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

Usage

1

Arguments

ConfigId

[required] The ID of the Amazon S3 Storage Lens configuration.

AccountId

[required] The account ID of the requester.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
list(
  StorageLensConfiguration = list(
    Id = "string",
    AccountLevel = list(
      ActivityMetrics = list(
        IsEnabled = TRUE|FALSE
      ),
      BucketLevel = list(
        ActivityMetrics = list(
          IsEnabled = TRUE|FALSE
        ),
        PrefixLevel = list(
          StorageMetrics = list(
            IsEnabled = TRUE|FALSE,
            SelectionCriteria = list(
              Delimiter = "string",
              MaxDepth = 123,
              MinStorageBytesPercentage = 123.0
            )
          )
        )
      )
    ),
    Include = list(
      Buckets = list(
        "string"
      ),
      Regions = list(
        "string"
      )
    ),
    Exclude = list(
      Buckets = list(
        "string"
      ),
      Regions = list(
        "string"
      )
    ),
    DataExport = list(
      S3BucketDestination = list(
        Format = "CSV"|"Parquet",
        OutputSchemaVersion = "V_1",
        AccountId = "string",
        Arn = "string",
        Prefix = "string",
        Encryption = list(
          SSES3 = list(),
          SSEKMS = list(
            KeyId = "string"
          )
        )
      )
    ),
    IsEnabled = TRUE|FALSE,
    AwsOrg = list(
      Arn = "string"
    ),
    StorageLensArn = "string"
  )
)

Request syntax

1
2
3
4
svc$get_storage_lens_configuration(
  ConfigId = "string",
  AccountId = "string"
)

paws.storage documentation built on Aug. 23, 2021, 1:06 a.m.