NAME

Paws::S3Control::PutStorageLensConfiguration - Arguments for method PutStorageLensConfiguration on Paws::S3Control

DESCRIPTION

This class represents the parameters used for calling the method PutStorageLensConfiguration on the AWS S3 Control service. Use the attributes of this class as arguments to method PutStorageLensConfiguration.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutStorageLensConfiguration.

SYNOPSIS

my $s3-control = Paws->service('S3Control');
$s3 -control->PutStorageLensConfiguration(
  AccountId                => 'MyAccountId',
  ConfigId                 => 'MyConfigId',
  StorageLensConfiguration => {
    AccountLevel => {
      BucketLevel => {
        ActivityMetrics => {
          IsEnabled => 1,    # OPTIONAL
        },    # OPTIONAL
        PrefixLevel => {
          StorageMetrics => {
            IsEnabled         => 1,    # OPTIONAL
            SelectionCriteria => {
              Delimiter =>
                'MyStorageLensPrefixLevelDelimiter',    # max: 1; OPTIONAL
              MaxDepth                  => 1, # min: 1, max: 10; OPTIONAL
              MinStorageBytesPercentage => 1, # min: 0.1, max: 100; OPTIONAL
            },    # OPTIONAL
          },

        },    # OPTIONAL
      },
      ActivityMetrics => {
        IsEnabled => 1,    # OPTIONAL
      },    # OPTIONAL
    },
    Id        => 'MyConfigId',    # min: 1, max: 64
    IsEnabled => 1,               # OPTIONAL
    AwsOrg    => {
      Arn => 'MyAwsOrgArn',       # min: 1, max: 1024

    },    # OPTIONAL
    DataExport => {
      S3BucketDestination => {
        AccountId           => 'MyAccountId',         # max: 64
        Arn                 => 'MyS3BucketArnString', # min: 1, max: 128
        Format              => 'CSV',                 # values: CSV, Parquet
        OutputSchemaVersion => 'V_1',                 # values: V_1
        Encryption          => {
          SSEKMS => {
            KeyId => 'MySSEKMSKeyId',

          },                                          # OPTIONAL
          SSES3 => {

          },                                          # OPTIONAL
        },    # OPTIONAL
        Prefix => 'MyPrefix',    # OPTIONAL
      },

    },    # OPTIONAL
    Exclude => {
      Buckets => [
        'MyS3BucketArnString', ...    # min: 1, max: 128
      ],    # OPTIONAL
      Regions => [
        'MyS3AWSRegion', ...    # min: 5, max: 30
      ],    # OPTIONAL
    },    # OPTIONAL
    Include => {
      Buckets => [
        'MyS3BucketArnString', ...    # min: 1, max: 128
      ],    # OPTIONAL
      Regions => [
        'MyS3AWSRegion', ...    # min: 5, max: 30
      ],    # OPTIONAL
    },    # OPTIONAL
    StorageLensArn => 'MyStorageLensArn',    # min: 1, max: 1024; OPTIONAL
  },
  Tags => [
    {
      Key   => 'MyTagKeyString',             # min: 1, max: 1024
      Value => 'MyTagValueString',           # max: 1024

    },
    ...
  ],    # OPTIONAL
);

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/s3-control/PutStorageLensConfiguration

ATTRIBUTES

REQUIRED AccountId => Str

The account ID of the requester.

REQUIRED ConfigId => Str

The ID of the S3 Storage Lens configuration.

REQUIRED StorageLensConfiguration => Paws::S3Control::StorageLensConfiguration

The S3 Storage Lens configuration.

Tags => ArrayRef[Paws::S3Control::StorageLensTag]

The tag set of the S3 Storage Lens configuration.

You can set up to a maximum of 50 tags.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutStorageLensConfiguration in Paws::S3Control

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues