Class: Aws::S3Control::Types::PutStorageLensConfigurationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb

Overview

Note:

When making an API call, you may pass PutStorageLensConfigurationRequest data as a hash:

{
  config_id: "ConfigId", # required
  account_id: "AccountId", # required
  storage_lens_configuration: { # required
    id: "ConfigId", # required
    account_level: { # required
      activity_metrics: {
        is_enabled: false,
      },
      bucket_level: { # required
        activity_metrics: {
          is_enabled: false,
        },
        prefix_level: {
          storage_metrics: { # required
            is_enabled: false,
            selection_criteria: {
              delimiter: "StorageLensPrefixLevelDelimiter",
              max_depth: 1,
              min_storage_bytes_percentage: 1.0,
            },
          },
        },
      },
    },
    include: {
      buckets: ["S3BucketArnString"],
      regions: ["S3AWSRegion"],
    },
    exclude: {
      buckets: ["S3BucketArnString"],
      regions: ["S3AWSRegion"],
    },
    data_export: {
      s3_bucket_destination: {
        format: "CSV", # required, accepts CSV, Parquet
        output_schema_version: "V_1", # required, accepts V_1
        account_id: "AccountId", # required
        arn: "S3BucketArnString", # required
        prefix: "Prefix",
        encryption: {
          sses3: {
          },
          ssekms: {
            key_id: "SSEKMSKeyId", # required
          },
        },
      },
      cloud_watch_metrics: {
        is_enabled: false, # required
      },
    },
    is_enabled: false, # required
    aws_org: {
      arn: "AwsOrgArn", # required
    },
    storage_lens_arn: "StorageLensArn",
  },
  tags: [
    {
      key: "TagKeyString", # required
      value: "TagValueString", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The account ID of the requester.

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 5021

class PutStorageLensConfigurationRequest < Struct.new(
  :config_id,
  :account_id,
  :storage_lens_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#config_idString

The ID of the S3 Storage Lens configuration.

Returns:

  • (String)


5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 5021

class PutStorageLensConfigurationRequest < Struct.new(
  :config_id,
  :account_id,
  :storage_lens_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#storage_lens_configurationTypes::StorageLensConfiguration

The S3 Storage Lens configuration.



5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 5021

class PutStorageLensConfigurationRequest < Struct.new(
  :config_id,
  :account_id,
  :storage_lens_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::StorageLensTag>

The tag set of the S3 Storage Lens configuration.

You can set up to a maximum of 50 tags.

Returns:



5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 5021

class PutStorageLensConfigurationRequest < Struct.new(
  :config_id,
  :account_id,
  :storage_lens_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end