Module Smaws_Client_CostandUsageReportService.Types

type nonrec error_message = string
type nonrec validation_exception = {
  1. message : error_message option;
}

The input fails to satisfy the constraints specified by an Amazon Web Services service.

type nonrec untag_resource_response = unit
type nonrec report_name = string
type nonrec tag_key = string
type nonrec tag_key_list = tag_key list
type nonrec untag_resource_request = {
  1. tag_keys : tag_key_list;
    (*

    The tags to be disassociated from the report definition resource.

    *)
  2. report_name : report_name;
    (*

    The report name of the report definition that tags are to be disassociated from.

    *)
}
type nonrec resource_not_found_exception = {
  1. message : error_message option;
}

The specified report (ReportName) in the request doesn't exist.

type nonrec internal_error_exception = {
  1. message : error_message option;
}

An error on the server occurred during the processing of your request. Try again later.

type nonrec time_unit =
  1. | MONTHLY
  2. | DAILY
  3. | HOURLY

The length of time covered by the report.

type nonrec tag_value = string
type nonrec tag_resource_response = unit
type nonrec tag = {
  1. value : tag_value;
    (*

    The value of the tag. Tag values are case-sensitive. This can be an empty string.

    *)
  2. key : tag_key;
    (*

    The key of the tag. Tag keys are case sensitive. Each report definition can only have up to one tag with the same key. If you try to add an existing tag with the same key, the existing tag value will be updated to the new value.

    *)
}

Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a report definition.

type nonrec tag_list = tag list
type nonrec tag_resource_request = {
  1. tags : tag_list;
    (*

    The tags to be assigned to the report definition resource.

    *)
  2. report_name : report_name;
    (*

    The report name of the report definition that tags are to be associated with.

    *)
}
type nonrec schema_element =
  1. | MANUAL_DISCOUNT_COMPATIBILITY
  2. | SPLIT_COST_ALLOCATION_DATA
  3. | RESOURCES

Whether or not Amazon Web Services includes resource IDs in the report.

type nonrec schema_element_list = schema_element list
type nonrec s3_prefix = string
type nonrec s3_bucket = string
type nonrec report_versioning =
  1. | OVERWRITE_REPORT
  2. | CREATE_NEW_REPORT
type nonrec last_delivery = string
type nonrec last_status =
  1. | ERROR_NO_BUCKET
  2. | ERROR_PERMISSIONS
  3. | SUCCESS
type nonrec report_status = {
  1. last_status : last_status option;
    (*

    An enum that gives the status of a report delivery.

    *)
  2. last_delivery : last_delivery option;
    (*

    A timestamp that gives the date of a report delivery.

    *)
}

A two element dictionary with a lastDelivery and lastStatus key whose values describe the date and status of the last delivered report for a particular report definition.

type nonrec report_limit_reached_exception = {
  1. message : error_message option;
}

This account already has five reports defined. To define a new report, you must delete an existing report.

type nonrec report_format =
  1. | Parquet
  2. | CSV

The format that Amazon Web Services saves the report in.

type nonrec compression_format =
  1. | Parquet
  2. | GZIP
  3. | ZIP

The compression format that Amazon Web Services uses for the report.

type nonrec aws_region =
  1. | NINGXIA
  2. | BEIJING
  3. | OREGON
  4. | NORTHERN_CALIFORNIA
  5. | OHIO
  6. | US_STANDARD
  7. | SAO_PAULO
  8. | BAHRAIN
  9. | UAE
  10. | SPAIN
  11. | MILANO
  12. | STOCKHOLM
  13. | PARIS
  14. | LONDON
  15. | IRELAND
  16. | ZURICH
  17. | FRANKFURT
  18. | CANADA_CENTRAL
  19. | OSAKA
  20. | SEOUL
  21. | TOKYO
  22. | JAKARTA
  23. | SYDNEY
  24. | SINGAPORE
  25. | HYDERABAD
  26. | MUMBAI
  27. | HONG_KONG
  28. | CAPE_TOWN

The region of the S3 bucket that Amazon Web Services delivers the report into.

type nonrec additional_artifact =
  1. | ATHENA
  2. | QUICKSIGHT
  3. | REDSHIFT

The types of manifest that you want Amazon Web Services to create for this report.

type nonrec additional_artifact_list = additional_artifact list
type nonrec refresh_closed_reports = bool
type nonrec billing_view_arn = string
type nonrec report_definition = {
  1. report_status : report_status option;
    (*

    The status of the report.

    *)
  2. billing_view_arn : billing_view_arn option;
    (*

    The Amazon resource name of the billing view. The BillingViewArn is needed to create Amazon Web Services Cost and Usage Report for each billing group maintained in the Amazon Web Services Billing Conductor service. The BillingViewArn for a billing group can be constructed as: arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id

    *)
  3. report_versioning : report_versioning option;
    (*

    Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.

    *)
  4. refresh_closed_reports : refresh_closed_reports option;
    (*

    Whether you want Amazon Web Services to update your reports after they have been finalized if Amazon Web Services detects charges related to previous months. These charges can include refunds, credits, or support fees.

    *)
  5. additional_artifacts : additional_artifact_list option;
    (*

    A list of manifests that you want Amazon Web Services to create for this report.

    *)
  6. s3_region : aws_region;
  7. s3_prefix : s3_prefix;
  8. s3_bucket : s3_bucket;
  9. additional_schema_elements : schema_element_list;
    (*

    A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.

    *)
  10. compression : compression_format;
  11. format : report_format;
  12. time_unit : time_unit;
  13. report_name : report_name;
}

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.

type nonrec report_definition_list = report_definition list
type nonrec put_report_definition_response = unit
type nonrec put_report_definition_request = {
  1. tags : tag_list option;
    (*

    The tags to be assigned to the report definition resource.

    *)
  2. report_definition : report_definition;
    (*

    Represents the output of the PutReportDefinition operation. The content consists of the detailed metadata and data file information.

    *)
}

Creates a Cost and Usage Report.

type nonrec duplicate_report_name_exception = {
  1. message : error_message option;
}

A report with the specified name already exists in the account. Specify a different report name.

type nonrec modify_report_definition_response = unit
type nonrec modify_report_definition_request = {
  1. report_definition : report_definition;
  2. report_name : report_name;
}
type nonrec max_results = int
type nonrec list_tags_for_resource_response = {
  1. tags : tag_list option;
    (*

    The tags assigned to the report definition resource.

    *)
}
type nonrec list_tags_for_resource_request = {
  1. report_name : report_name;
    (*

    The report name of the report definition that tags are to be returned for.

    *)
}
type nonrec generic_string = string
type nonrec describe_report_definitions_response = {
  1. next_token : generic_string option;
  2. report_definitions : report_definition_list option;
    (*

    An Amazon Web Services Cost and Usage Report list owned by the account.

    *)
}

If the action is successful, the service sends back an HTTP 200 response.

type nonrec describe_report_definitions_request = {
  1. next_token : generic_string option;
  2. max_results : max_results option;
}

Requests a Amazon Web Services Cost and Usage Report list owned by the account.

type nonrec delete_response_message = string
type nonrec delete_report_definition_response = {
  1. response_message : delete_response_message option;
}

If the action is successful, the service sends back an HTTP 200 response.

type nonrec delete_report_definition_request = {
  1. report_name : report_name;
    (*

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

    *)
}

Deletes the specified report.