Skip to content

Modify Report Definition

costandusagereportservice_modify_report_definition R Documentation

Allows you to programmatically update your report preferences

Description

Allows you to programmatically update your report preferences.

Usage

costandusagereportservice_modify_report_definition(ReportName,
  ReportDefinition)

Arguments

ReportName

[required] The name of the report that you want to create. The name must be unique, is case sensitive, and can't include spaces.

ReportDefinition

[required] The definition of Amazon Web Services Cost and Usage Report. You can specify the report name, time unit, report format, compression format, S3 bucket, additional artifacts, and schema elements in the definition.

Value

An empty list.

Request syntax

svc$modify_report_definition(
  ReportName = "string",
  ReportDefinition = list(
    ReportName = "string",
    TimeUnit = "HOURLY"|"DAILY"|"MONTHLY",
    Format = "textORcsv"|"Parquet",
    Compression = "ZIP"|"GZIP"|"Parquet",
    AdditionalSchemaElements = list(
      "RESOURCES"|"SPLIT_COST_ALLOCATION_DATA"|"MANUAL_DISCOUNT_COMPATIBILITY"
    ),
    S3Bucket = "string",
    S3Prefix = "string",
    S3Region = "af-south-1"|"ap-east-1"|"ap-south-1"|"ap-south-2"|"ap-southeast-1"|"ap-southeast-2"|"ap-southeast-3"|"ap-northeast-1"|"ap-northeast-2"|"ap-northeast-3"|"ca-central-1"|"eu-central-1"|"eu-central-2"|"eu-west-1"|"eu-west-2"|"eu-west-3"|"eu-north-1"|"eu-south-1"|"eu-south-2"|"me-central-1"|"me-south-1"|"sa-east-1"|"us-east-1"|"us-east-2"|"us-west-1"|"us-west-2"|"cn-north-1"|"cn-northwest-1",
    AdditionalArtifacts = list(
      "REDSHIFT"|"QUICKSIGHT"|"ATHENA"
    ),
    RefreshClosedReports = TRUE|FALSE,
    ReportVersioning = "CREATE_NEW_REPORT"|"OVERWRITE_REPORT",
    BillingViewArn = "string",
    ReportStatus = list(
      lastDelivery = "string",
      lastStatus = "SUCCESS"|"ERROR_PERMISSIONS"|"ERROR_NO_BUCKET"
    )
  )
)