|
3 | 3 |
|
4 | 4 | %% @doc You can use the Data Exports API to create customized exports from |
5 | 5 | %% multiple Amazon Web Services cost management and billing datasets, such as |
6 | | -%% cost and usage data and cost |
7 | | -%% optimization recommendations. |
| 6 | +%% cost and usage data and cost optimization recommendations. |
8 | 7 | %% |
9 | 8 | %% The Data Exports API provides the following endpoint: |
10 | 9 | %% |
|
238 | 237 | %% } |
239 | 238 | -type get_execution_response() :: #{binary() => any()}. |
240 | 239 |
|
| 240 | +%% Example: |
| 241 | +%% access_denied_exception() :: #{ |
| 242 | +%% <<"Message">> => string() |
| 243 | +%% } |
| 244 | +-type access_denied_exception() :: #{binary() => any()}. |
| 245 | + |
241 | 246 | %% Example: |
242 | 247 | %% create_export_response() :: #{ |
243 | 248 | %% <<"ExportArn">> => string() |
|
370 | 375 | -type create_export_errors() :: |
371 | 376 | throttling_exception() | |
372 | 377 | validation_exception() | |
| 378 | + access_denied_exception() | |
373 | 379 | internal_server_exception() | |
374 | 380 | service_quota_exceeded_exception(). |
375 | 381 |
|
|
415 | 421 | -type list_tags_for_resource_errors() :: |
416 | 422 | throttling_exception() | |
417 | 423 | validation_exception() | |
| 424 | + access_denied_exception() | |
418 | 425 | internal_server_exception() | |
419 | 426 | resource_not_found_exception(). |
420 | 427 |
|
421 | 428 | -type tag_resource_errors() :: |
422 | 429 | throttling_exception() | |
423 | 430 | validation_exception() | |
| 431 | + access_denied_exception() | |
424 | 432 | internal_server_exception() | |
425 | 433 | resource_not_found_exception(). |
426 | 434 |
|
427 | 435 | -type untag_resource_errors() :: |
428 | 436 | throttling_exception() | |
429 | 437 | validation_exception() | |
| 438 | + access_denied_exception() | |
430 | 439 | internal_server_exception() | |
431 | 440 | resource_not_found_exception(). |
432 | 441 |
|
|
441 | 450 | %%==================================================================== |
442 | 451 |
|
443 | 452 | %% @doc Creates a data export and specifies the data query, the delivery |
444 | | -%% preference, and any |
445 | | -%% optional resource tags. |
| 453 | +%% preference, and any optional resource tags. |
446 | 454 | %% |
447 | 455 | %% A `DataQuery' consists of both a `QueryStatement' and |
448 | 456 | %% `TableConfigurations'. |
449 | 457 | %% |
450 | 458 | %% The `QueryStatement' is an SQL statement. Data Exports only supports a |
451 | | -%% limited |
452 | | -%% subset of the SQL syntax. For more information on the SQL syntax that is |
453 | | -%% supported, see Data query: |
| 459 | +%% limited subset of the SQL syntax. For more information on the SQL syntax |
| 460 | +%% that is supported, see Data query: |
454 | 461 | %% https://docs.aws.amazon.com/cur/latest/userguide/de-data-query.html. To |
455 | 462 | %% view the available tables and columns, see the Data Exports table |
456 | 463 | %% dictionary: |
457 | 464 | %% https://docs.aws.amazon.com/cur/latest/userguide/de-table-dictionary.html. |
458 | 465 | %% |
459 | 466 | %% The `TableConfigurations' is a collection of specified |
460 | 467 | %% `TableProperties' for the table being queried in the |
461 | | -%% `QueryStatement'. |
462 | | -%% TableProperties are additional configurations you can provide to change |
463 | | -%% the data and schema of |
464 | | -%% a table. Each table can have different TableProperties. However, tables |
465 | | -%% are not required to |
466 | | -%% have any TableProperties. Each table property has a default value that it |
467 | | -%% assumes if not |
468 | | -%% specified. For more information on table configurations, see Data query: |
| 468 | +%% `QueryStatement'. TableProperties are additional configurations you |
| 469 | +%% can provide to change the data and schema of a table. Each table can have |
| 470 | +%% different TableProperties. However, tables are not required to have any |
| 471 | +%% TableProperties. Each table property has a default value that it assumes |
| 472 | +%% if not specified. For more information on table configurations, see Data |
| 473 | +%% query: |
469 | 474 | %% https://docs.aws.amazon.com/cur/latest/userguide/de-data-query.html. To |
470 | 475 | %% view the table properties available for each table, see the Data Exports |
471 | | -%% table |
472 | | -%% dictionary: |
| 476 | +%% table dictionary: |
473 | 477 | %% https://docs.aws.amazon.com/cur/latest/userguide/de-table-dictionary.html |
474 | | -%% or use the `ListTables' API to get a response of all tables |
475 | | -%% and their available properties. |
| 478 | +%% or use the `ListTables' API to get a response of all tables and their |
| 479 | +%% available properties. |
476 | 480 | -spec create_export(aws_client:aws_client(), create_export_request()) -> |
477 | 481 | {ok, create_export_response(), tuple()} | |
478 | 482 | {error, any()} | |
@@ -542,8 +546,8 @@ get_export(Client, Input, Options) |
542 | 546 |
|
543 | 547 | %% @doc Returns the metadata for the specified table and table properties. |
544 | 548 | %% |
545 | | -%% This includes the list |
546 | | -%% of columns in the table schema, their data types, and column descriptions. |
| 549 | +%% This includes the list of columns in the table schema, their data types, |
| 550 | +%% and column descriptions. |
547 | 551 | -spec get_table(aws_client:aws_client(), get_table_request()) -> |
548 | 552 | {ok, get_table_response(), tuple()} | |
549 | 553 | {error, any()} | |
@@ -664,8 +668,7 @@ untag_resource(Client, Input, Options) |
664 | 668 |
|
665 | 669 | %% @doc Updates an existing data export by overwriting all export parameters. |
666 | 670 | %% |
667 | | -%% All export |
668 | | -%% parameters must be provided in the UpdateExport request. |
| 671 | +%% All export parameters must be provided in the UpdateExport request. |
669 | 672 | -spec update_export(aws_client:aws_client(), update_export_request()) -> |
670 | 673 | {ok, update_export_response(), tuple()} | |
671 | 674 | {error, any()} | |
|
0 commit comments