You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CostandUsageReportService::Types::PutReportDefinitionRequest

  • Object
show all
Defined in:



When passing PutReportDefinitionRequest as input to an Aws::Client method, you can use a vanilla Hash:

  report_definition: { # required
    report_name: "ReportName", # required
    time_unit: "HOURLY", # required, accepts HOURLY, DAILY
    format: "textORcsv", # required, accepts textORcsv
    compression: "ZIP", # required, accepts ZIP, GZIP
    additional_schema_elements: ["RESOURCES"], # required, accepts RESOURCES
    s3_bucket: "S3Bucket", # required
    s3_prefix: "S3Prefix", # required
    s3_region: "us-east-1", # required, accepts us-east-1, us-west-1, us-west-2, eu-central-1, eu-west-1, ap-southeast-1, ap-southeast-2, ap-northeast-1
    additional_artifacts: ["REDSHIFT"], # accepts REDSHIFT, QUICKSIGHT

Request of PutReportDefinition

Instance Attribute Summary collapse

Instance Attribute Details


The definition of AWS Cost and Usage Report. Customer can specify the report name, time unit, report format, compression format, S3 bucket and additional artifacts and schema elements in the definition.