paws.storage (version 0.1.0)

s3_put_bucket_metrics_configuration: Sets a metrics configuration (specified by the metrics configuration ID) for the bucket

Description

Sets a metrics configuration (specified by the metrics configuration ID) for the bucket.

Usage

s3_put_bucket_metrics_configuration(Bucket, Id, MetricsConfiguration)

Arguments

Bucket

[required] The name of the bucket for which the metrics configuration is set.

Id

[required] The ID used to identify the metrics configuration.

MetricsConfiguration

[required] Specifies the metrics configuration.

Request syntax

svc$put_bucket_metrics_configuration(
  Bucket = "string",
  Id = "string",
  MetricsConfiguration = list(
    Id = "string",
    Filter = list(
      Prefix = "string",
      Tag = list(
        Key = "string",
        Value = "string"
      ),
      And = list(
        Prefix = "string",
        Tags = list(
          list(
            Key = "string",
            Value = "string"
          )
        )
      )
    )
  )
)