Class: Aws::S3::Types::AnalyticsS3BucketDestination

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

Note:

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

{
  format: "CSV", # required, accepts CSV
  bucket_account_id: "AccountId",
  bucket: "BucketName", # required
  prefix: "Prefix",
}

Contains information about where to publish the analytics results.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

The Amazon Resource Name (ARN) of the bucket to which data is exported.

Returns:

  • (String)

443
444
445
446
447
448
449
450
# File 'lib/aws-sdk-s3/types.rb', line 443

class AnalyticsS3BucketDestination < Struct.new(
  :format,
  :bucket_account_id,
  :bucket,
  :prefix)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_account_idString

The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.

<note markdown=“1”> Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.

</note>

Returns:

  • (String)

443
444
445
446
447
448
449
450
# File 'lib/aws-sdk-s3/types.rb', line 443

class AnalyticsS3BucketDestination < Struct.new(
  :format,
  :bucket_account_id,
  :bucket,
  :prefix)
  SENSITIVE = []
  include Aws::Structure
end

#formatString

Specifies the file format used when exporting data to Amazon S3.

Returns:

  • (String)

443
444
445
446
447
448
449
450
# File 'lib/aws-sdk-s3/types.rb', line 443

class AnalyticsS3BucketDestination < Struct.new(
  :format,
  :bucket_account_id,
  :bucket,
  :prefix)
  SENSITIVE = []
  include Aws::Structure
end

#prefixString

The prefix to use when exporting data. The prefix is prepended to all results.

Returns:

  • (String)

443
444
445
446
447
448
449
450
# File 'lib/aws-sdk-s3/types.rb', line 443

class AnalyticsS3BucketDestination < Struct.new(
  :format,
  :bucket_account_id,
  :bucket,
  :prefix)
  SENSITIVE = []
  include Aws::Structure
end