1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2023-11-26", 5 "endpointPrefix":"bcm-data-exports", 6 "jsonVersion":"1.1", 7 "protocol":"json", 8 "serviceFullName":"AWS Billing and Cost Management Data Exports", 9 "serviceId":"BCM Data Exports", 10 "signatureVersion":"v4", 11 "signingName":"bcm-data-exports", 12 "targetPrefix":"AWSBillingAndCostManagementDataExports", 13 "uid":"bcm-data-exports-2023-11-26" 14 }, 15 "operations":{ 16 "CreateExport":{ 17 "name":"CreateExport", 18 "http":{ 19 "method":"POST", 20 "requestUri":"/" 21 }, 22 "input":{"shape":"CreateExportRequest"}, 23 "output":{"shape":"CreateExportResponse"}, 24 "errors":[ 25 {"shape":"ServiceQuotaExceededException"}, 26 {"shape":"InternalServerException"}, 27 {"shape":"ThrottlingException"}, 28 {"shape":"ValidationException"} 29 ], 30 "documentation":"<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>" 31 }, 32 "DeleteExport":{ 33 "name":"DeleteExport", 34 "http":{ 35 "method":"POST", 36 "requestUri":"/" 37 }, 38 "input":{"shape":"DeleteExportRequest"}, 39 "output":{"shape":"DeleteExportResponse"}, 40 "errors":[ 41 {"shape":"InternalServerException"}, 42 {"shape":"ResourceNotFoundException"}, 43 {"shape":"ThrottlingException"}, 44 {"shape":"ValidationException"} 45 ], 46 "documentation":"<p>Deletes an existing data export.</p>", 47 "idempotent":true 48 }, 49 "GetExecution":{ 50 "name":"GetExecution", 51 "http":{ 52 "method":"POST", 53 "requestUri":"/" 54 }, 55 "input":{"shape":"GetExecutionRequest"}, 56 "output":{"shape":"GetExecutionResponse"}, 57 "errors":[ 58 {"shape":"InternalServerException"}, 59 {"shape":"ResourceNotFoundException"}, 60 {"shape":"ThrottlingException"}, 61 {"shape":"ValidationException"} 62 ], 63 "documentation":"<p>Exports data based on the source data update.</p>" 64 }, 65 "GetExport":{ 66 "name":"GetExport", 67 "http":{ 68 "method":"POST", 69 "requestUri":"/" 70 }, 71 "input":{"shape":"GetExportRequest"}, 72 "output":{"shape":"GetExportResponse"}, 73 "errors":[ 74 {"shape":"InternalServerException"}, 75 {"shape":"ResourceNotFoundException"}, 76 {"shape":"ThrottlingException"}, 77 {"shape":"ValidationException"} 78 ], 79 "documentation":"<p>Views the definition of an existing data export.</p>" 80 }, 81 "GetTable":{ 82 "name":"GetTable", 83 "http":{ 84 "method":"POST", 85 "requestUri":"/" 86 }, 87 "input":{"shape":"GetTableRequest"}, 88 "output":{"shape":"GetTableResponse"}, 89 "errors":[ 90 {"shape":"InternalServerException"}, 91 {"shape":"ThrottlingException"}, 92 {"shape":"ValidationException"} 93 ], 94 "documentation":"<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>" 95 }, 96 "ListExecutions":{ 97 "name":"ListExecutions", 98 "http":{ 99 "method":"POST", 100 "requestUri":"/" 101 }, 102 "input":{"shape":"ListExecutionsRequest"}, 103 "output":{"shape":"ListExecutionsResponse"}, 104 "errors":[ 105 {"shape":"InternalServerException"}, 106 {"shape":"ResourceNotFoundException"}, 107 {"shape":"ThrottlingException"}, 108 {"shape":"ValidationException"} 109 ], 110 "documentation":"<p>Lists the historical executions for the export.</p>" 111 }, 112 "ListExports":{ 113 "name":"ListExports", 114 "http":{ 115 "method":"POST", 116 "requestUri":"/" 117 }, 118 "input":{"shape":"ListExportsRequest"}, 119 "output":{"shape":"ListExportsResponse"}, 120 "errors":[ 121 {"shape":"InternalServerException"}, 122 {"shape":"ThrottlingException"}, 123 {"shape":"ValidationException"} 124 ], 125 "documentation":"<p>Lists all data export definitions.</p>" 126 }, 127 "ListTables":{ 128 "name":"ListTables", 129 "http":{ 130 "method":"POST", 131 "requestUri":"/" 132 }, 133 "input":{"shape":"ListTablesRequest"}, 134 "output":{"shape":"ListTablesResponse"}, 135 "errors":[ 136 {"shape":"InternalServerException"}, 137 {"shape":"ThrottlingException"}, 138 {"shape":"ValidationException"} 139 ], 140 "documentation":"<p>Lists all available tables in data exports.</p>" 141 }, 142 "ListTagsForResource":{ 143 "name":"ListTagsForResource", 144 "http":{ 145 "method":"POST", 146 "requestUri":"/" 147 }, 148 "input":{"shape":"ListTagsForResourceRequest"}, 149 "output":{"shape":"ListTagsForResourceResponse"}, 150 "errors":[ 151 {"shape":"InternalServerException"}, 152 {"shape":"ResourceNotFoundException"}, 153 {"shape":"ThrottlingException"}, 154 {"shape":"ValidationException"} 155 ], 156 "documentation":"<p>List tags associated with an existing data export.</p>" 157 }, 158 "TagResource":{ 159 "name":"TagResource", 160 "http":{ 161 "method":"POST", 162 "requestUri":"/" 163 }, 164 "input":{"shape":"TagResourceRequest"}, 165 "output":{"shape":"TagResourceResponse"}, 166 "errors":[ 167 {"shape":"InternalServerException"}, 168 {"shape":"ResourceNotFoundException"}, 169 {"shape":"ThrottlingException"}, 170 {"shape":"ValidationException"} 171 ], 172 "documentation":"<p>Adds tags for an existing data export definition.</p>" 173 }, 174 "UntagResource":{ 175 "name":"UntagResource", 176 "http":{ 177 "method":"POST", 178 "requestUri":"/" 179 }, 180 "input":{"shape":"UntagResourceRequest"}, 181 "output":{"shape":"UntagResourceResponse"}, 182 "errors":[ 183 {"shape":"InternalServerException"}, 184 {"shape":"ResourceNotFoundException"}, 185 {"shape":"ThrottlingException"}, 186 {"shape":"ValidationException"} 187 ], 188 "documentation":"<p>Deletes tags associated with an existing data export definition.</p>" 189 }, 190 "UpdateExport":{ 191 "name":"UpdateExport", 192 "http":{ 193 "method":"POST", 194 "requestUri":"/" 195 }, 196 "input":{"shape":"UpdateExportRequest"}, 197 "output":{"shape":"UpdateExportResponse"}, 198 "errors":[ 199 {"shape":"InternalServerException"}, 200 {"shape":"ResourceNotFoundException"}, 201 {"shape":"ThrottlingException"}, 202 {"shape":"ValidationException"} 203 ], 204 "documentation":"<p>Updates an existing data export by overwriting all export parameters. All export parameters must be provided in the UpdateExport request.</p>" 205 } 206 }, 207 "shapes":{ 208 "Arn":{ 209 "type":"string", 210 "max":2048, 211 "min":20, 212 "pattern":"^arn:aws[-a-z0-9]*:[-a-z0-9]+:[-a-z0-9]*:[0-9]{12}:[-a-zA-Z0-9/:_]+$" 213 }, 214 "Column":{ 215 "type":"structure", 216 "members":{ 217 "Description":{ 218 "shape":"GenericString", 219 "documentation":"<p>The description for a column.</p>" 220 }, 221 "Name":{ 222 "shape":"GenericString", 223 "documentation":"<p>The column name.</p>" 224 }, 225 "Type":{ 226 "shape":"GenericString", 227 "documentation":"<p>The kind of data a column stores.</p>" 228 } 229 }, 230 "documentation":"<p>Includes basic information for a data column such as its description, name, and type.</p>" 231 }, 232 "ColumnList":{ 233 "type":"list", 234 "member":{"shape":"Column"} 235 }, 236 "CompressionOption":{ 237 "type":"string", 238 "enum":[ 239 "GZIP", 240 "PARQUET" 241 ] 242 }, 243 "CreateExportRequest":{ 244 "type":"structure", 245 "required":["Export"], 246 "members":{ 247 "Export":{ 248 "shape":"Export", 249 "documentation":"<p>The details of the export, including data query, name, description, and destination configuration.</p>" 250 }, 251 "ResourceTags":{ 252 "shape":"ResourceTagList", 253 "documentation":"<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>" 254 } 255 } 256 }, 257 "CreateExportResponse":{ 258 "type":"structure", 259 "members":{ 260 "ExportArn":{ 261 "shape":"Arn", 262 "documentation":"<p>The Amazon Resource Name (ARN) for this export.</p>" 263 } 264 } 265 }, 266 "DataQuery":{ 267 "type":"structure", 268 "required":["QueryStatement"], 269 "members":{ 270 "QueryStatement":{ 271 "shape":"QueryStatement", 272 "documentation":"<p>The query statement.</p>" 273 }, 274 "TableConfigurations":{ 275 "shape":"TableConfigurations", 276 "documentation":"<p>The table configuration.</p>" 277 } 278 }, 279 "documentation":"<p>The SQL query of column selections and row filters from the data table you want.</p>" 280 }, 281 "DeleteExportRequest":{ 282 "type":"structure", 283 "required":["ExportArn"], 284 "members":{ 285 "ExportArn":{ 286 "shape":"Arn", 287 "documentation":"<p>The Amazon Resource Name (ARN) for this export.</p>" 288 } 289 } 290 }, 291 "DeleteExportResponse":{ 292 "type":"structure", 293 "members":{ 294 "ExportArn":{ 295 "shape":"Arn", 296 "documentation":"<p>The Amazon Resource Name (ARN) for this export.</p>" 297 } 298 } 299 }, 300 "DestinationConfigurations":{ 301 "type":"structure", 302 "required":["S3Destination"], 303 "members":{ 304 "S3Destination":{ 305 "shape":"S3Destination", 306 "documentation":"<p>An object that describes the destination of the data exports file.</p>" 307 } 308 }, 309 "documentation":"<p>The destinations used for data exports.</p>" 310 }, 311 "ExecutionReference":{ 312 "type":"structure", 313 "required":[ 314 "ExecutionId", 315 "ExecutionStatus" 316 ], 317 "members":{ 318 "ExecutionId":{ 319 "shape":"GenericString", 320 "documentation":"<p>The ID for this specific execution.</p>" 321 }, 322 "ExecutionStatus":{ 323 "shape":"ExecutionStatus", 324 "documentation":"<p>The status of this specific execution.</p>" 325 } 326 }, 327 "documentation":"<p>The reference for the data export update.</p>" 328 }, 329 "ExecutionReferenceList":{ 330 "type":"list", 331 "member":{"shape":"ExecutionReference"} 332 }, 333 "ExecutionStatus":{ 334 "type":"structure", 335 "members":{ 336 "CompletedAt":{ 337 "shape":"SyntheticTimestamp_date_time", 338 "documentation":"<p>The time when the execution was completed.</p>" 339 }, 340 "CreatedAt":{ 341 "shape":"SyntheticTimestamp_date_time", 342 "documentation":"<p>The time when the execution was created.</p>" 343 }, 344 "LastUpdatedAt":{ 345 "shape":"SyntheticTimestamp_date_time", 346 "documentation":"<p>The time when the execution was last updated.</p>" 347 }, 348 "StatusCode":{ 349 "shape":"ExecutionStatusCode", 350 "documentation":"<p>The code for the status of the execution.</p>" 351 }, 352 "StatusReason":{ 353 "shape":"ExecutionStatusReason", 354 "documentation":"<p>The reason for the failed status.</p>" 355 } 356 }, 357 "documentation":"<p>The status of the execution.</p>" 358 }, 359 "ExecutionStatusCode":{ 360 "type":"string", 361 "enum":[ 362 "INITIATION_IN_PROCESS", 363 "QUERY_QUEUED", 364 "QUERY_IN_PROCESS", 365 "QUERY_FAILURE", 366 "DELIVERY_IN_PROCESS", 367 "DELIVERY_SUCCESS", 368 "DELIVERY_FAILURE" 369 ] 370 }, 371 "ExecutionStatusReason":{ 372 "type":"string", 373 "enum":[ 374 "INSUFFICIENT_PERMISSION", 375 "BILL_OWNER_CHANGED", 376 "INTERNAL_FAILURE" 377 ] 378 }, 379 "Export":{ 380 "type":"structure", 381 "required":[ 382 "DataQuery", 383 "DestinationConfigurations", 384 "Name", 385 "RefreshCadence" 386 ], 387 "members":{ 388 "DataQuery":{ 389 "shape":"DataQuery", 390 "documentation":"<p>The data query for this specific data export.</p>" 391 }, 392 "Description":{ 393 "shape":"GenericString", 394 "documentation":"<p>The description for this specific data export.</p>" 395 }, 396 "DestinationConfigurations":{ 397 "shape":"DestinationConfigurations", 398 "documentation":"<p>The destination configuration for this specific data export.</p>" 399 }, 400 "ExportArn":{ 401 "shape":"Arn", 402 "documentation":"<p>The Amazon Resource Name (ARN) for this export.</p>" 403 }, 404 "Name":{ 405 "shape":"ExportName", 406 "documentation":"<p>The name of this specific data export.</p>" 407 }, 408 "RefreshCadence":{ 409 "shape":"RefreshCadence", 410 "documentation":"<p>The cadence for Amazon Web Services to update the export in your S3 bucket.</p>" 411 } 412 }, 413 "documentation":"<p>The details that are available for an export.</p>" 414 }, 415 "ExportName":{ 416 "type":"string", 417 "max":128, 418 "min":1, 419 "pattern":"^[0-9A-Za-z!\\-_.*\\'()]+$" 420 }, 421 "ExportReference":{ 422 "type":"structure", 423 "required":[ 424 "ExportArn", 425 "ExportName", 426 "ExportStatus" 427 ], 428 "members":{ 429 "ExportArn":{ 430 "shape":"Arn", 431 "documentation":"<p>The Amazon Resource Name (ARN) for this export.</p>" 432 }, 433 "ExportName":{ 434 "shape":"ExportName", 435 "documentation":"<p>The name of this specific data export.</p>" 436 }, 437 "ExportStatus":{ 438 "shape":"ExportStatus", 439 "documentation":"<p>The status of this specific data export.</p>" 440 } 441 }, 442 "documentation":"<p>The reference details for a given export.</p>" 443 }, 444 "ExportReferenceList":{ 445 "type":"list", 446 "member":{"shape":"ExportReference"} 447 }, 448 "ExportStatus":{ 449 "type":"structure", 450 "members":{ 451 "CreatedAt":{ 452 "shape":"SyntheticTimestamp_date_time", 453 "documentation":"<p>The timestamp of when the export was created.</p>" 454 }, 455 "LastRefreshedAt":{ 456 "shape":"SyntheticTimestamp_date_time", 457 "documentation":"<p>The timestamp of when the export was last generated.</p>" 458 }, 459 "LastUpdatedAt":{ 460 "shape":"SyntheticTimestamp_date_time", 461 "documentation":"<p>The timestamp of when the export was updated.</p>" 462 }, 463 "StatusCode":{ 464 "shape":"ExportStatusCode", 465 "documentation":"<p>The status code for the request.</p>" 466 }, 467 "StatusReason":{ 468 "shape":"ExecutionStatusReason", 469 "documentation":"<p>The description for the status code.</p>" 470 } 471 }, 472 "documentation":"<p>The status of the data export.</p>" 473 }, 474 "ExportStatusCode":{ 475 "type":"string", 476 "enum":[ 477 "HEALTHY", 478 "UNHEALTHY" 479 ] 480 }, 481 "FormatOption":{ 482 "type":"string", 483 "enum":[ 484 "TEXT_OR_CSV", 485 "PARQUET" 486 ] 487 }, 488 "FrequencyOption":{ 489 "type":"string", 490 "enum":["SYNCHRONOUS"] 491 }, 492 "GenericString":{ 493 "type":"string", 494 "max":1024, 495 "min":0, 496 "pattern":"^[\\S\\s]*$" 497 }, 498 "GenericStringList":{ 499 "type":"list", 500 "member":{"shape":"GenericString"} 501 }, 502 "GetExecutionRequest":{ 503 "type":"structure", 504 "required":[ 505 "ExecutionId", 506 "ExportArn" 507 ], 508 "members":{ 509 "ExecutionId":{ 510 "shape":"GenericString", 511 "documentation":"<p>The ID for this specific execution.</p>" 512 }, 513 "ExportArn":{ 514 "shape":"Arn", 515 "documentation":"<p>The Amazon Resource Name (ARN) of the Export object that generated this specific execution.</p>" 516 } 517 } 518 }, 519 "GetExecutionResponse":{ 520 "type":"structure", 521 "members":{ 522 "ExecutionId":{ 523 "shape":"GenericString", 524 "documentation":"<p>The ID for this specific execution.</p>" 525 }, 526 "ExecutionStatus":{ 527 "shape":"ExecutionStatus", 528 "documentation":"<p>The status of this specific execution.</p>" 529 }, 530 "Export":{ 531 "shape":"Export", 532 "documentation":"<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>" 533 } 534 } 535 }, 536 "GetExportRequest":{ 537 "type":"structure", 538 "required":["ExportArn"], 539 "members":{ 540 "ExportArn":{ 541 "shape":"Arn", 542 "documentation":"<p>The Amazon Resource Name (ARN) for this export.</p>" 543 } 544 } 545 }, 546 "GetExportResponse":{ 547 "type":"structure", 548 "members":{ 549 "Export":{ 550 "shape":"Export", 551 "documentation":"<p>The data for this specific export.</p>" 552 }, 553 "ExportStatus":{ 554 "shape":"ExportStatus", 555 "documentation":"<p>The status of this specific export.</p>" 556 } 557 } 558 }, 559 "GetTableRequest":{ 560 "type":"structure", 561 "required":["TableName"], 562 "members":{ 563 "TableName":{ 564 "shape":"TableName", 565 "documentation":"<p>The name of the table.</p>" 566 }, 567 "TableProperties":{ 568 "shape":"TableProperties", 569 "documentation":"<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>" 570 } 571 } 572 }, 573 "GetTableResponse":{ 574 "type":"structure", 575 "members":{ 576 "Description":{ 577 "shape":"GenericString", 578 "documentation":"<p>The table description.</p>" 579 }, 580 "Schema":{ 581 "shape":"ColumnList", 582 "documentation":"<p>The schema of the table.</p>" 583 }, 584 "TableName":{ 585 "shape":"TableName", 586 "documentation":"<p>The name of the table.</p>" 587 }, 588 "TableProperties":{ 589 "shape":"TableProperties", 590 "documentation":"<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>" 591 } 592 } 593 }, 594 "InternalServerException":{ 595 "type":"structure", 596 "required":["Message"], 597 "members":{ 598 "Message":{"shape":"GenericString"} 599 }, 600 "documentation":"<p>An error on the server occurred during the processing of your request. Try again later.</p>", 601 "exception":true, 602 "fault":true 603 }, 604 "ListExecutionsRequest":{ 605 "type":"structure", 606 "required":["ExportArn"], 607 "members":{ 608 "ExportArn":{ 609 "shape":"Arn", 610 "documentation":"<p>The Amazon Resource Name (ARN) for this export.</p>" 611 }, 612 "MaxResults":{ 613 "shape":"MaxResults", 614 "documentation":"<p>The maximum number of objects that are returned for the request.</p>" 615 }, 616 "NextToken":{ 617 "shape":"NextPageToken", 618 "documentation":"<p>The token to retrieve the next set of results.</p>" 619 } 620 } 621 }, 622 "ListExecutionsResponse":{ 623 "type":"structure", 624 "members":{ 625 "Executions":{ 626 "shape":"ExecutionReferenceList", 627 "documentation":"<p>The list of executions.</p>" 628 }, 629 "NextToken":{ 630 "shape":"NextPageToken", 631 "documentation":"<p>The token to retrieve the next set of results.</p>" 632 } 633 } 634 }, 635 "ListExportsRequest":{ 636 "type":"structure", 637 "members":{ 638 "MaxResults":{ 639 "shape":"MaxResults", 640 "documentation":"<p>The maximum number of objects that are returned for the request.</p>" 641 }, 642 "NextToken":{ 643 "shape":"NextPageToken", 644 "documentation":"<p>The token to retrieve the next set of results.</p>" 645 } 646 } 647 }, 648 "ListExportsResponse":{ 649 "type":"structure", 650 "members":{ 651 "Exports":{ 652 "shape":"ExportReferenceList", 653 "documentation":"<p>The details of the exports, including name and export status.</p>" 654 }, 655 "NextToken":{ 656 "shape":"NextPageToken", 657 "documentation":"<p>The token to retrieve the next set of results.</p>" 658 } 659 } 660 }, 661 "ListTablesRequest":{ 662 "type":"structure", 663 "members":{ 664 "MaxResults":{ 665 "shape":"MaxResults", 666 "documentation":"<p>The maximum number of objects that are returned for the request.</p>" 667 }, 668 "NextToken":{ 669 "shape":"NextPageToken", 670 "documentation":"<p>The token to retrieve the next set of results.</p>" 671 } 672 } 673 }, 674 "ListTablesResponse":{ 675 "type":"structure", 676 "members":{ 677 "NextToken":{ 678 "shape":"NextPageToken", 679 "documentation":"<p>The token to retrieve the next set of results.</p>" 680 }, 681 "Tables":{ 682 "shape":"TableList", 683 "documentation":"<p>The list of tables.</p>" 684 } 685 } 686 }, 687 "ListTagsForResourceRequest":{ 688 "type":"structure", 689 "required":["ResourceArn"], 690 "members":{ 691 "MaxResults":{ 692 "shape":"MaxResults", 693 "documentation":"<p>The maximum number of objects that are returned for the request.</p>" 694 }, 695 "NextToken":{ 696 "shape":"NextPageToken", 697 "documentation":"<p>The token to retrieve the next set of results.</p>" 698 }, 699 "ResourceArn":{ 700 "shape":"Arn", 701 "documentation":"<p>The unique identifier for the resource.</p>" 702 } 703 } 704 }, 705 "ListTagsForResourceResponse":{ 706 "type":"structure", 707 "members":{ 708 "NextToken":{ 709 "shape":"NextPageToken", 710 "documentation":"<p>The token to retrieve the next set of results.</p>" 711 }, 712 "ResourceTags":{ 713 "shape":"ResourceTagList", 714 "documentation":"<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>" 715 } 716 } 717 }, 718 "MaxResults":{ 719 "type":"integer", 720 "box":true, 721 "min":1 722 }, 723 "NextPageToken":{ 724 "type":"string", 725 "max":8192, 726 "min":0, 727 "pattern":"^[\\S\\s]*$" 728 }, 729 "OverwriteOption":{ 730 "type":"string", 731 "enum":[ 732 "CREATE_NEW_REPORT", 733 "OVERWRITE_REPORT" 734 ] 735 }, 736 "QueryStatement":{ 737 "type":"string", 738 "max":36000, 739 "min":1, 740 "pattern":"^[\\S\\s]*$" 741 }, 742 "RefreshCadence":{ 743 "type":"structure", 744 "required":["Frequency"], 745 "members":{ 746 "Frequency":{ 747 "shape":"FrequencyOption", 748 "documentation":"<p>The frequency that data exports are updated. The export refreshes each time the source data updates, up to three times daily.</p>" 749 } 750 }, 751 "documentation":"<p>The cadence for Amazon Web Services to update the data export in your S3 bucket.</p>" 752 }, 753 "ResourceNotFoundException":{ 754 "type":"structure", 755 "required":[ 756 "Message", 757 "ResourceId", 758 "ResourceType" 759 ], 760 "members":{ 761 "Message":{"shape":"GenericString"}, 762 "ResourceId":{ 763 "shape":"GenericString", 764 "documentation":"<p>The identifier of the resource that was not found.</p>" 765 }, 766 "ResourceType":{ 767 "shape":"GenericString", 768 "documentation":"<p>The type of the resource that was not found.</p>" 769 } 770 }, 771 "documentation":"<p>The specified Amazon Resource Name (ARN) in the request doesn't exist.</p>", 772 "exception":true 773 }, 774 "ResourceTag":{ 775 "type":"structure", 776 "required":[ 777 "Key", 778 "Value" 779 ], 780 "members":{ 781 "Key":{ 782 "shape":"ResourceTagKey", 783 "documentation":"<p>The key that's associated with the tag.</p>" 784 }, 785 "Value":{ 786 "shape":"ResourceTagValue", 787 "documentation":"<p>The value that's associated with the tag.</p>" 788 } 789 }, 790 "documentation":"<p>The tag structure that contains a tag key and value.</p>" 791 }, 792 "ResourceTagKey":{ 793 "type":"string", 794 "max":128, 795 "min":1 796 }, 797 "ResourceTagKeyList":{ 798 "type":"list", 799 "member":{"shape":"ResourceTagKey"}, 800 "max":200, 801 "min":0 802 }, 803 "ResourceTagList":{ 804 "type":"list", 805 "member":{"shape":"ResourceTag"}, 806 "max":200, 807 "min":0 808 }, 809 "ResourceTagValue":{ 810 "type":"string", 811 "max":256, 812 "min":0 813 }, 814 "S3Destination":{ 815 "type":"structure", 816 "required":[ 817 "S3Bucket", 818 "S3OutputConfigurations", 819 "S3Prefix", 820 "S3Region" 821 ], 822 "members":{ 823 "S3Bucket":{ 824 "shape":"GenericString", 825 "documentation":"<p>The name of the Amazon S3 bucket used as the destination of a data export file.</p>" 826 }, 827 "S3OutputConfigurations":{ 828 "shape":"S3OutputConfigurations", 829 "documentation":"<p>The output configuration for the data export.</p>" 830 }, 831 "S3Prefix":{ 832 "shape":"GenericString", 833 "documentation":"<p>The S3 path prefix you want prepended to the name of your data export.</p>" 834 }, 835 "S3Region":{ 836 "shape":"GenericString", 837 "documentation":"<p>The S3 bucket Region.</p>" 838 } 839 }, 840 "documentation":"<p>Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and object keys of a data exports file.</p>" 841 }, 842 "S3OutputConfigurations":{ 843 "type":"structure", 844 "required":[ 845 "Compression", 846 "Format", 847 "OutputType", 848 "Overwrite" 849 ], 850 "members":{ 851 "Compression":{ 852 "shape":"CompressionOption", 853 "documentation":"<p>The compression type for the data export.</p>" 854 }, 855 "Format":{ 856 "shape":"FormatOption", 857 "documentation":"<p>The file format for the data export.</p>" 858 }, 859 "OutputType":{ 860 "shape":"S3OutputType", 861 "documentation":"<p>The output type for the data export.</p>" 862 }, 863 "Overwrite":{ 864 "shape":"OverwriteOption", 865 "documentation":"<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>" 866 } 867 }, 868 "documentation":"<p>The compression type, file format, and overwrite preference for the data export.</p>" 869 }, 870 "S3OutputType":{ 871 "type":"string", 872 "enum":["CUSTOM"] 873 }, 874 "ServiceQuotaExceededException":{ 875 "type":"structure", 876 "required":[ 877 "Message", 878 "QuotaCode", 879 "ServiceCode" 880 ], 881 "members":{ 882 "Message":{"shape":"GenericString"}, 883 "QuotaCode":{ 884 "shape":"GenericString", 885 "documentation":"<p>The quota code that was exceeded.</p>" 886 }, 887 "ResourceId":{ 888 "shape":"GenericString", 889 "documentation":"<p>The identifier of the resource that exceeded quota.</p>" 890 }, 891 "ResourceType":{ 892 "shape":"GenericString", 893 "documentation":"<p>The type of the resource that exceeded quota.</p>" 894 }, 895 "ServiceCode":{ 896 "shape":"GenericString", 897 "documentation":"<p>The service code that exceeded quota. It will always be “AWSBillingAndCostManagementDataExports”.</p>" 898 } 899 }, 900 "documentation":"<p>You've reached the limit on the number of resources you can create, or exceeded the size of an individual resource.</p>", 901 "exception":true 902 }, 903 "SyntheticTimestamp_date_time":{ 904 "type":"timestamp", 905 "timestampFormat":"iso8601" 906 }, 907 "Table":{ 908 "type":"structure", 909 "members":{ 910 "Description":{ 911 "shape":"GenericString", 912 "documentation":"<p>The description for the table.</p>" 913 }, 914 "TableName":{ 915 "shape":"TableName", 916 "documentation":"<p>The name of the table.</p>" 917 }, 918 "TableProperties":{ 919 "shape":"TablePropertyDescriptionList", 920 "documentation":"<p>The properties for the table.</p>" 921 } 922 }, 923 "documentation":"<p>The details for the data export table.</p>" 924 }, 925 "TableConfigurations":{ 926 "type":"map", 927 "key":{"shape":"TableName"}, 928 "value":{"shape":"TableProperties"} 929 }, 930 "TableList":{ 931 "type":"list", 932 "member":{"shape":"Table"} 933 }, 934 "TableName":{ 935 "type":"string", 936 "max":1024, 937 "min":0, 938 "pattern":"^[\\S\\s]*$" 939 }, 940 "TableProperties":{ 941 "type":"map", 942 "key":{"shape":"TableProperty"}, 943 "value":{"shape":"GenericString"} 944 }, 945 "TableProperty":{ 946 "type":"string", 947 "max":1024, 948 "min":0, 949 "pattern":"^[\\S\\s]*$" 950 }, 951 "TablePropertyDescription":{ 952 "type":"structure", 953 "members":{ 954 "DefaultValue":{ 955 "shape":"GenericString", 956 "documentation":"<p>The default value for the table.</p>" 957 }, 958 "Description":{ 959 "shape":"GenericString", 960 "documentation":"<p>The description for the table.</p>" 961 }, 962 "Name":{ 963 "shape":"GenericString", 964 "documentation":"<p>The name of the table.</p>" 965 }, 966 "ValidValues":{ 967 "shape":"GenericStringList", 968 "documentation":"<p>The valid values for the table.</p>" 969 } 970 }, 971 "documentation":"<p>The properties for the data export table.</p>" 972 }, 973 "TablePropertyDescriptionList":{ 974 "type":"list", 975 "member":{"shape":"TablePropertyDescription"} 976 }, 977 "TagResourceRequest":{ 978 "type":"structure", 979 "required":[ 980 "ResourceArn", 981 "ResourceTags" 982 ], 983 "members":{ 984 "ResourceArn":{ 985 "shape":"Arn", 986 "documentation":"<p>The unique identifier for the resource.</p>" 987 }, 988 "ResourceTags":{ 989 "shape":"ResourceTagList", 990 "documentation":"<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>" 991 } 992 } 993 }, 994 "TagResourceResponse":{ 995 "type":"structure", 996 "members":{ 997 } 998 }, 999 "ThrottlingException":{ 1000 "type":"structure", 1001 "required":["Message"], 1002 "members":{ 1003 "Message":{"shape":"GenericString"}, 1004 "QuotaCode":{ 1005 "shape":"GenericString", 1006 "documentation":"<p>The quota code that exceeded the throttling limit.</p>" 1007 }, 1008 "ServiceCode":{ 1009 "shape":"GenericString", 1010 "documentation":"<p>The service code that exceeded the throttling limit. It will always be “AWSBillingAndCostManagementDataExports”.</p>" 1011 } 1012 }, 1013 "documentation":"<p>The request was denied due to request throttling.</p>", 1014 "exception":true 1015 }, 1016 "UntagResourceRequest":{ 1017 "type":"structure", 1018 "required":[ 1019 "ResourceArn", 1020 "ResourceTagKeys" 1021 ], 1022 "members":{ 1023 "ResourceArn":{ 1024 "shape":"Arn", 1025 "documentation":"<p>The unique identifier for the resource.</p>" 1026 }, 1027 "ResourceTagKeys":{ 1028 "shape":"ResourceTagKeyList", 1029 "documentation":"<p>The tag keys that are associated with the resource ARN.</p>" 1030 } 1031 } 1032 }, 1033 "UntagResourceResponse":{ 1034 "type":"structure", 1035 "members":{ 1036 } 1037 }, 1038 "UpdateExportRequest":{ 1039 "type":"structure", 1040 "required":[ 1041 "Export", 1042 "ExportArn" 1043 ], 1044 "members":{ 1045 "Export":{ 1046 "shape":"Export", 1047 "documentation":"<p>The name and query details for the export.</p>" 1048 }, 1049 "ExportArn":{ 1050 "shape":"Arn", 1051 "documentation":"<p>The Amazon Resource Name (ARN) for this export.</p>" 1052 } 1053 } 1054 }, 1055 "UpdateExportResponse":{ 1056 "type":"structure", 1057 "members":{ 1058 "ExportArn":{ 1059 "shape":"Arn", 1060 "documentation":"<p>The Amazon Resource Name (ARN) for this export.</p>" 1061 } 1062 } 1063 }, 1064 "ValidationException":{ 1065 "type":"structure", 1066 "required":["Message"], 1067 "members":{ 1068 "Fields":{ 1069 "shape":"ValidationExceptionFieldList", 1070 "documentation":"<p>The list of fields that are invalid.</p>" 1071 }, 1072 "Message":{"shape":"GenericString"}, 1073 "Reason":{ 1074 "shape":"ValidationExceptionReason", 1075 "documentation":"<p>The reason for the validation exception.</p>" 1076 } 1077 }, 1078 "documentation":"<p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>", 1079 "exception":true 1080 }, 1081 "ValidationExceptionField":{ 1082 "type":"structure", 1083 "required":[ 1084 "Message", 1085 "Name" 1086 ], 1087 "members":{ 1088 "Message":{ 1089 "shape":"GenericString", 1090 "documentation":"<p>A message with the reason for the validation exception error.</p>" 1091 }, 1092 "Name":{ 1093 "shape":"GenericString", 1094 "documentation":"<p>The field name where the invalid entry was detected.</p>" 1095 } 1096 }, 1097 "documentation":"<p>The input failed to meet the constraints specified by the Amazon Web Services service in a specified field.</p>" 1098 }, 1099 "ValidationExceptionFieldList":{ 1100 "type":"list", 1101 "member":{"shape":"ValidationExceptionField"} 1102 }, 1103 "ValidationExceptionReason":{ 1104 "type":"string", 1105 "enum":[ 1106 "unknownOperation", 1107 "cannotParse", 1108 "fieldValidationFailed", 1109 "other" 1110 ] 1111 } 1112 }, 1113 "documentation":"<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>" 1114} 1115