{
  "version": "2.0",
  "service": "<p>You can use the Data Exports API to create customized exports from multiple Amazon Web Services cost management and billing datasets, such as cost and usage data and cost optimization recommendations.</p> <p>The Data Exports API provides the following endpoint:</p> <ul> <li> <p>https://bcm-data-exports.us-east-1.api.aws</p> </li> </ul>",
  "operations": {
    "CreateExport": "<p>Creates a data export and specifies the data query, the delivery preference, and any optional resource tags.</p> <p>A <code>DataQuery</code> consists of both a <code>QueryStatement</code> and <code>TableConfigurations</code>.</p> <p>The <code>QueryStatement</code> is an SQL statement. Data Exports only supports a limited subset of the SQL syntax. For more information on the SQL syntax that is supported, see <a href=\"https://docs.aws.amazon.com/cur/latest/userguide/de-data-query.html\">Data query</a>. To view the available tables and columns, see the <a href=\"https://docs.aws.amazon.com/cur/latest/userguide/de-table-dictionary.html\">Data Exports table dictionary</a>.</p> <p>The <code>TableConfigurations</code> is a collection of specified <code>TableProperties</code> for the table being queried in the <code>QueryStatement</code>. TableProperties are additional configurations you can provide to change the data and schema of a table. Each table can have different TableProperties. However, tables are not required to have any TableProperties. Each table property has a default value that it assumes if not specified. For more information on table configurations, see <a href=\"https://docs.aws.amazon.com/cur/latest/userguide/de-data-query.html\">Data query</a>. To view the table properties available for each table, see the <a href=\"https://docs.aws.amazon.com/cur/latest/userguide/de-table-dictionary.html\">Data Exports table dictionary</a> or use the <code>ListTables</code> API to get a response of all tables and their available properties.</p>",
    "DeleteExport": "<p>Deletes an existing data export.</p>",
    "GetExecution": "<p>Exports data based on the source data update.</p>",
    "GetExport": "<p>Views the definition of an existing data export.</p>",
    "GetTable": "<p>Returns the metadata for the specified table and table properties. This includes the list of columns in the table schema, their data types, and column descriptions.</p>",
    "ListExecutions": "<p>Lists the historical executions for the export.</p>",
    "ListExports": "<p>Lists all data export definitions.</p>",
    "ListTables": "<p>Lists all available tables in data exports.</p>",
    "ListTagsForResource": "<p>List tags associated with an existing data export.</p>",
    "TagResource": "<p>Adds tags for an existing data export definition.</p>",
    "UntagResource": "<p>Deletes tags associated with an existing data export definition.</p>",
    "UpdateExport": "<p>Updates an existing data export by overwriting all export parameters. All export parameters must be provided in the UpdateExport request.</p>"
  },
  "shapes": {
    "Arn": {
      "base": null,
      "refs": {
        "CreateExportResponse$ExportArn": "<p>The Amazon Resource Name (ARN) for this export.</p>",
        "DeleteExportRequest$ExportArn": "<p>The Amazon Resource Name (ARN) for this export.</p>",
        "DeleteExportResponse$ExportArn": "<p>The Amazon Resource Name (ARN) for this export.</p>",
        "Export$ExportArn": "<p>The Amazon Resource Name (ARN) for this export.</p>",
        "ExportReference$ExportArn": "<p>The Amazon Resource Name (ARN) for this export.</p>",
        "GetExecutionRequest$ExportArn": "<p>The Amazon Resource Name (ARN) of the Export object that generated this specific execution.</p>",
        "GetExportRequest$ExportArn": "<p>The Amazon Resource Name (ARN) for this export.</p>",
        "ListExecutionsRequest$ExportArn": "<p>The Amazon Resource Name (ARN) for this export.</p>",
        "ListTagsForResourceRequest$ResourceArn": "<p>The unique identifier for the resource.</p>",
        "TagResourceRequest$ResourceArn": "<p>The unique identifier for the resource.</p>",
        "UntagResourceRequest$ResourceArn": "<p>The unique identifier for the resource.</p>",
        "UpdateExportRequest$ExportArn": "<p>The Amazon Resource Name (ARN) for this export.</p>",
        "UpdateExportResponse$ExportArn": "<p>The Amazon Resource Name (ARN) for this export.</p>"
      }
    },
    "Column": {
      "base": "<p>Includes basic information for a data column such as its description, name, and type.</p>",
      "refs": {
        "ColumnList$member": null
      }
    },
    "ColumnList": {
      "base": null,
      "refs": {
        "GetTableResponse$Schema": "<p>The schema of the table.</p>"
      }
    },
    "CompressionOption": {
      "base": null,
      "refs": {
        "S3OutputConfigurations$Compression": "<p>The compression type for the data export.</p>"
      }
    },
    "CreateExportRequest": {
      "base": null,
      "refs": {
      }
    },
    "CreateExportResponse": {
      "base": null,
      "refs": {
      }
    },
    "DataQuery": {
      "base": "<p>The SQL query of column selections and row filters from the data table you want.</p>",
      "refs": {
        "Export$DataQuery": "<p>The data query for this specific data export.</p>"
      }
    },
    "DeleteExportRequest": {
      "base": null,
      "refs": {
      }
    },
    "DeleteExportResponse": {
      "base": null,
      "refs": {
      }
    },
    "DestinationConfigurations": {
      "base": "<p>The destinations used for data exports.</p>",
      "refs": {
        "Export$DestinationConfigurations": "<p>The destination configuration for this specific data export.</p>"
      }
    },
    "ExecutionReference": {
      "base": "<p>The reference for the data export update.</p>",
      "refs": {
        "ExecutionReferenceList$member": null
      }
    },
    "ExecutionReferenceList": {
      "base": null,
      "refs": {
        "ListExecutionsResponse$Executions": "<p>The list of executions.</p>"
      }
    },
    "ExecutionStatus": {
      "base": "<p>The status of the execution.</p>",
      "refs": {
        "ExecutionReference$ExecutionStatus": "<p>The status of this specific execution.</p>",
        "GetExecutionResponse$ExecutionStatus": "<p>The status of this specific execution.</p>"
      }
    },
    "ExecutionStatusCode": {
      "base": null,
      "refs": {
        "ExecutionStatus$StatusCode": "<p>The code for the status of the execution.</p>"
      }
    },
    "ExecutionStatusReason": {
      "base": null,
      "refs": {
        "ExecutionStatus$StatusReason": "<p>The reason for the failed status.</p>",
        "ExportStatus$StatusReason": "<p>The description for the status code.</p>"
      }
    },
    "Export": {
      "base": "<p>The details that are available for an export.</p>",
      "refs": {
        "CreateExportRequest$Export": "<p>The details of the export, including data query, name, description, and destination configuration.</p>",
        "GetExecutionResponse$Export": "<p>The export data for this specific execution. This export data is a snapshot from when the execution was generated. The data could be different from the current export data if the export was updated since the execution was generated.</p>",
        "GetExportResponse$Export": "<p>The data for this specific export.</p>",
        "UpdateExportRequest$Export": "<p>The name and query details for the export.</p>"
      }
    },
    "ExportName": {
      "base": null,
      "refs": {
        "Export$Name": "<p>The name of this specific data export.</p>",
        "ExportReference$ExportName": "<p>The name of this specific data export.</p>"
      }
    },
    "ExportReference": {
      "base": "<p>The reference details for a given export.</p>",
      "refs": {
        "ExportReferenceList$member": null
      }
    },
    "ExportReferenceList": {
      "base": null,
      "refs": {
        "ListExportsResponse$Exports": "<p>The details of the exports, including name and export status.</p>"
      }
    },
    "ExportStatus": {
      "base": "<p>The status of the data export.</p>",
      "refs": {
        "ExportReference$ExportStatus": "<p>The status of this specific data export.</p>",
        "GetExportResponse$ExportStatus": "<p>The status of this specific export.</p>"
      }
    },
    "ExportStatusCode": {
      "base": null,
      "refs": {
        "ExportStatus$StatusCode": "<p>The status code for the request.</p>"
      }
    },
    "FormatOption": {
      "base": null,
      "refs": {
        "S3OutputConfigurations$Format": "<p>The file format for the data export.</p>"
      }
    },
    "FrequencyOption": {
      "base": null,
      "refs": {
        "RefreshCadence$Frequency": "<p>The frequency that data exports are updated. The export refreshes each time the source data updates, up to three times daily.</p>"
      }
    },
    "GenericString": {
      "base": null,
      "refs": {
        "Column$Description": "<p>The description for a column.</p>",
        "Column$Name": "<p>The column name.</p>",
        "Column$Type": "<p>The kind of data a column stores.</p>",
        "ExecutionReference$ExecutionId": "<p>The ID for this specific execution.</p>",
        "Export$Description": "<p>The description for this specific data export.</p>",
        "GenericStringList$member": null,
        "GetExecutionRequest$ExecutionId": "<p>The ID for this specific execution.</p>",
        "GetExecutionResponse$ExecutionId": "<p>The ID for this specific execution.</p>",
        "GetTableResponse$Description": "<p>The table description.</p>",
        "InternalServerException$Message": null,
        "ResourceNotFoundException$Message": null,
        "ResourceNotFoundException$ResourceId": "<p>The identifier of the resource that was not found.</p>",
        "ResourceNotFoundException$ResourceType": "<p>The type of the resource that was not found.</p>",
        "S3Destination$S3Bucket": "<p>The name of the Amazon S3 bucket used as the destination of a data export file.</p>",
        "S3Destination$S3Prefix": "<p>The S3 path prefix you want prepended to the name of your data export.</p>",
        "S3Destination$S3Region": "<p>The S3 bucket Region.</p>",
        "ServiceQuotaExceededException$Message": null,
        "ServiceQuotaExceededException$QuotaCode": "<p>The quota code that was exceeded.</p>",
        "ServiceQuotaExceededException$ResourceId": "<p>The identifier of the resource that exceeded quota.</p>",
        "ServiceQuotaExceededException$ResourceType": "<p>The type of the resource that exceeded quota.</p>",
        "ServiceQuotaExceededException$ServiceCode": "<p>The service code that exceeded quota. It will always be “AWSBillingAndCostManagementDataExports”.</p>",
        "Table$Description": "<p>The description for the table.</p>",
        "TableProperties$value": null,
        "TablePropertyDescription$DefaultValue": "<p>The default value for the table.</p>",
        "TablePropertyDescription$Description": "<p>The description for the table.</p>",
        "TablePropertyDescription$Name": "<p>The name of the table.</p>",
        "ThrottlingException$Message": null,
        "ThrottlingException$QuotaCode": "<p>The quota code that exceeded the throttling limit.</p>",
        "ThrottlingException$ServiceCode": "<p>The service code that exceeded the throttling limit. It will always be “AWSBillingAndCostManagementDataExports”.</p>",
        "ValidationException$Message": null,
        "ValidationExceptionField$Message": "<p>A message with the reason for the validation exception error.</p>",
        "ValidationExceptionField$Name": "<p>The field name where the invalid entry was detected.</p>"
      }
    },
    "GenericStringList": {
      "base": null,
      "refs": {
        "TablePropertyDescription$ValidValues": "<p>The valid values for the table.</p>"
      }
    },
    "GetExecutionRequest": {
      "base": null,
      "refs": {
      }
    },
    "GetExecutionResponse": {
      "base": null,
      "refs": {
      }
    },
    "GetExportRequest": {
      "base": null,
      "refs": {
      }
    },
    "GetExportResponse": {
      "base": null,
      "refs": {
      }
    },
    "GetTableRequest": {
      "base": null,
      "refs": {
      }
    },
    "GetTableResponse": {
      "base": null,
      "refs": {
      }
    },
    "InternalServerException": {
      "base": "<p>An error on the server occurred during the processing of your request. Try again later.</p>",
      "refs": {
      }
    },
    "ListExecutionsRequest": {
      "base": null,
      "refs": {
      }
    },
    "ListExecutionsResponse": {
      "base": null,
      "refs": {
      }
    },
    "ListExportsRequest": {
      "base": null,
      "refs": {
      }
    },
    "ListExportsResponse": {
      "base": null,
      "refs": {
      }
    },
    "ListTablesRequest": {
      "base": null,
      "refs": {
      }
    },
    "ListTablesResponse": {
      "base": null,
      "refs": {
      }
    },
    "ListTagsForResourceRequest": {
      "base": null,
      "refs": {
      }
    },
    "ListTagsForResourceResponse": {
      "base": null,
      "refs": {
      }
    },
    "MaxResults": {
      "base": null,
      "refs": {
        "ListExecutionsRequest$MaxResults": "<p>The maximum number of objects that are returned for the request.</p>",
        "ListExportsRequest$MaxResults": "<p>The maximum number of objects that are returned for the request.</p>",
        "ListTablesRequest$MaxResults": "<p>The maximum number of objects that are returned for the request.</p>",
        "ListTagsForResourceRequest$MaxResults": "<p>The maximum number of objects that are returned for the request.</p>"
      }
    },
    "NextPageToken": {
      "base": null,
      "refs": {
        "ListExecutionsRequest$NextToken": "<p>The token to retrieve the next set of results.</p>",
        "ListExecutionsResponse$NextToken": "<p>The token to retrieve the next set of results.</p>",
        "ListExportsRequest$NextToken": "<p>The token to retrieve the next set of results.</p>",
        "ListExportsResponse$NextToken": "<p>The token to retrieve the next set of results.</p>",
        "ListTablesRequest$NextToken": "<p>The token to retrieve the next set of results.</p>",
        "ListTablesResponse$NextToken": "<p>The token to retrieve the next set of results.</p>",
        "ListTagsForResourceRequest$NextToken": "<p>The token to retrieve the next set of results.</p>",
        "ListTagsForResourceResponse$NextToken": "<p>The token to retrieve the next set of results.</p>"
      }
    },
    "OverwriteOption": {
      "base": null,
      "refs": {
        "S3OutputConfigurations$Overwrite": "<p>The rule to follow when generating a version of the data export file. You have the choice to overwrite the previous version or to be delivered in addition to the previous versions. Overwriting exports can save on Amazon S3 storage costs. Creating new export versions allows you to track the changes in cost and usage data over time.</p>"
      }
    },
    "QueryStatement": {
      "base": null,
      "refs": {
        "DataQuery$QueryStatement": "<p>The query statement.</p>"
      }
    },
    "RefreshCadence": {
      "base": "<p>The cadence for Amazon Web Services to update the data export in your S3 bucket.</p>",
      "refs": {
        "Export$RefreshCadence": "<p>The cadence for Amazon Web Services to update the export in your S3 bucket.</p>"
      }
    },
    "ResourceNotFoundException": {
      "base": "<p>The specified Amazon Resource Name (ARN) in the request doesn't exist.</p>",
      "refs": {
      }
    },
    "ResourceTag": {
      "base": "<p>The tag structure that contains a tag key and value.</p>",
      "refs": {
        "ResourceTagList$member": null
      }
    },
    "ResourceTagKey": {
      "base": null,
      "refs": {
        "ResourceTag$Key": "<p>The key that's associated with the tag.</p>",
        "ResourceTagKeyList$member": null
      }
    },
    "ResourceTagKeyList": {
      "base": null,
      "refs": {
        "UntagResourceRequest$ResourceTagKeys": "<p>The tag keys that are associated with the resource ARN.</p>"
      }
    },
    "ResourceTagList": {
      "base": null,
      "refs": {
        "CreateExportRequest$ResourceTags": "<p>An optional list of tags to associate with the specified export. Each tag consists of a key and a value, and each key must be unique for the resource.</p>",
        "ListTagsForResourceResponse$ResourceTags": "<p>An optional list of tags to associate with the specified export. Each tag consists of a key and a value, and each key must be unique for the resource.</p>",
        "TagResourceRequest$ResourceTags": "<p>The tags to associate with the resource. Each tag consists of a key and a value, and each key must be unique for the resource.</p>"
      }
    },
    "ResourceTagValue": {
      "base": null,
      "refs": {
        "ResourceTag$Value": "<p>The value that's associated with the tag.</p>"
      }
    },
    "S3Destination": {
      "base": "<p>Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and object keys of a data exports file.</p>",
      "refs": {
        "DestinationConfigurations$S3Destination": "<p>An object that describes the destination of the data exports file.</p>"
      }
    },
    "S3OutputConfigurations": {
      "base": "<p>The compression type, file format, and overwrite preference for the data export.</p>",
      "refs": {
        "S3Destination$S3OutputConfigurations": "<p>The output configuration for the data export.</p>"
      }
    },
    "S3OutputType": {
      "base": null,
      "refs": {
        "S3OutputConfigurations$OutputType": "<p>The output type for the data export.</p>"
      }
    },
    "ServiceQuotaExceededException": {
      "base": "<p>You've reached the limit on the number of resources you can create, or exceeded the size of an individual resource.</p>",
      "refs": {
      }
    },
    "SyntheticTimestamp_date_time": {
      "base": null,
      "refs": {
        "ExecutionStatus$CompletedAt": "<p>The time when the execution was completed.</p>",
        "ExecutionStatus$CreatedAt": "<p>The time when the execution was created.</p>",
        "ExecutionStatus$LastUpdatedAt": "<p>The time when the execution was last updated.</p>",
        "ExportStatus$CreatedAt": "<p>The timestamp of when the export was created.</p>",
        "ExportStatus$LastRefreshedAt": "<p>The timestamp of when the export was last generated.</p>",
        "ExportStatus$LastUpdatedAt": "<p>The timestamp of when the export was updated.</p>"
      }
    },
    "Table": {
      "base": "<p>The details for the data export table.</p>",
      "refs": {
        "TableList$member": null
      }
    },
    "TableConfigurations": {
      "base": null,
      "refs": {
        "DataQuery$TableConfigurations": "<p>The table configuration.</p>"
      }
    },
    "TableList": {
      "base": null,
      "refs": {
        "ListTablesResponse$Tables": "<p>The list of tables.</p>"
      }
    },
    "TableName": {
      "base": null,
      "refs": {
        "GetTableRequest$TableName": "<p>The name of the table.</p>",
        "GetTableResponse$TableName": "<p>The name of the table.</p>",
        "Table$TableName": "<p>The name of the table.</p>",
        "TableConfigurations$key": null
      }
    },
    "TableProperties": {
      "base": null,
      "refs": {
        "GetTableRequest$TableProperties": "<p>TableProperties are additional configurations you can provide to change the data and schema of a table. Each table can have different TableProperties. Tables are not required to have any TableProperties. Each table property has a default value that it assumes if not specified.</p>",
        "GetTableResponse$TableProperties": "<p>TableProperties are additional configurations you can provide to change the data and schema of a table. Each table can have different TableProperties. Tables are not required to have any TableProperties. Each table property has a default value that it assumes if not specified.</p>",
        "TableConfigurations$value": null
      }
    },
    "TableProperty": {
      "base": null,
      "refs": {
        "TableProperties$key": null
      }
    },
    "TablePropertyDescription": {
      "base": "<p>The properties for the data export table.</p>",
      "refs": {
        "TablePropertyDescriptionList$member": null
      }
    },
    "TablePropertyDescriptionList": {
      "base": null,
      "refs": {
        "Table$TableProperties": "<p>The properties for the table.</p>"
      }
    },
    "TagResourceRequest": {
      "base": null,
      "refs": {
      }
    },
    "TagResourceResponse": {
      "base": null,
      "refs": {
      }
    },
    "ThrottlingException": {
      "base": "<p>The request was denied due to request throttling.</p>",
      "refs": {
      }
    },
    "UntagResourceRequest": {
      "base": null,
      "refs": {
      }
    },
    "UntagResourceResponse": {
      "base": null,
      "refs": {
      }
    },
    "UpdateExportRequest": {
      "base": null,
      "refs": {
      }
    },
    "UpdateExportResponse": {
      "base": null,
      "refs": {
      }
    },
    "ValidationException": {
      "base": "<p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>",
      "refs": {
      }
    },
    "ValidationExceptionField": {
      "base": "<p>The input failed to meet the constraints specified by the Amazon Web Services service in a specified field.</p>",
      "refs": {
        "ValidationExceptionFieldList$member": null
      }
    },
    "ValidationExceptionFieldList": {
      "base": null,
      "refs": {
        "ValidationException$Fields": "<p>The list of fields that are invalid.</p>"
      }
    },
    "ValidationExceptionReason": {
      "base": null,
      "refs": {
        "ValidationException$Reason": "<p>The reason for the validation exception.</p>"
      }
    }
  }
}
