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

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

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

Overview

Note:

When making an API call, you may pass PutReportDefinitionRequest data as a 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

#report_definitionTypes::ReportDefinition

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.



117
118
119
120
# File 'gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/types.rb', line 117

class PutReportDefinitionRequest < Struct.new(
  :report_definition)
  include Aws::Structure
end