|
5 | 5 | "endpointPrefix":"query.timestream",
|
6 | 6 | "jsonVersion":"1.0",
|
7 | 7 | "protocol":"json",
|
| 8 | + "protocols":["json"], |
8 | 9 | "serviceAbbreviation":"Timestream Query",
|
9 | 10 | "serviceFullName":"Amazon Timestream Query",
|
10 | 11 | "serviceId":"Timestream Query",
|
|
73 | 74 | "endpointdiscovery":{"required":true},
|
74 | 75 | "idempotent":true
|
75 | 76 | },
|
| 77 | + "DescribeAccountSettings":{ |
| 78 | + "name":"DescribeAccountSettings", |
| 79 | + "http":{ |
| 80 | + "method":"POST", |
| 81 | + "requestUri":"/" |
| 82 | + }, |
| 83 | + "input":{"shape":"DescribeAccountSettingsRequest"}, |
| 84 | + "output":{"shape":"DescribeAccountSettingsResponse"}, |
| 85 | + "errors":[ |
| 86 | + {"shape":"AccessDeniedException"}, |
| 87 | + {"shape":"InternalServerException"}, |
| 88 | + {"shape":"ThrottlingException"}, |
| 89 | + {"shape":"InvalidEndpointException"} |
| 90 | + ], |
| 91 | + "documentation":"<p>Describes the settings for your account that include the query pricing model and the configured maximum TCUs the service can use for your query workload.</p> <p>You're charged only for the duration of compute units used for your workloads.</p>", |
| 92 | + "endpointdiscovery":{"required":true} |
| 93 | + }, |
76 | 94 | "DescribeEndpoints":{
|
77 | 95 | "name":"DescribeEndpoints",
|
78 | 96 | "http":{
|
|
237 | 255 | "documentation":"<p>Removes the association of tags from a Timestream query resource.</p>",
|
238 | 256 | "endpointdiscovery":{"required":true}
|
239 | 257 | },
|
| 258 | + "UpdateAccountSettings":{ |
| 259 | + "name":"UpdateAccountSettings", |
| 260 | + "http":{ |
| 261 | + "method":"POST", |
| 262 | + "requestUri":"/" |
| 263 | + }, |
| 264 | + "input":{"shape":"UpdateAccountSettingsRequest"}, |
| 265 | + "output":{"shape":"UpdateAccountSettingsResponse"}, |
| 266 | + "errors":[ |
| 267 | + {"shape":"AccessDeniedException"}, |
| 268 | + {"shape":"InternalServerException"}, |
| 269 | + {"shape":"ThrottlingException"}, |
| 270 | + {"shape":"ValidationException"}, |
| 271 | + {"shape":"InvalidEndpointException"} |
| 272 | + ], |
| 273 | + "documentation":"<p>Transitions your account to use TCUs for query pricing and modifies the maximum query compute units that you've configured. If you reduce the value of <code>MaxQueryTCU</code> to a desired configuration, the new value can take up to 24 hours to be effective.</p> <note> <p>After you've transitioned your account to use TCUs for query pricing, you can't transition to using bytes scanned for query pricing.</p> </note>", |
| 274 | + "endpointdiscovery":{"required":true}, |
| 275 | + "idempotent":true |
| 276 | + }, |
240 | 277 | "UpdateScheduledQuery":{
|
241 | 278 | "name":"UpdateScheduledQuery",
|
242 | 279 | "http":{
|
|
433 | 470 | }
|
434 | 471 | }
|
435 | 472 | },
|
| 473 | + "DescribeAccountSettingsRequest":{ |
| 474 | + "type":"structure", |
| 475 | + "members":{ |
| 476 | + } |
| 477 | + }, |
| 478 | + "DescribeAccountSettingsResponse":{ |
| 479 | + "type":"structure", |
| 480 | + "members":{ |
| 481 | + "MaxQueryTCU":{ |
| 482 | + "shape":"MaxQueryCapacity", |
| 483 | + "documentation":"<p>The maximum number of <a href=\"https://docs.aws.amazon.com/timestream/latest/developerguide/tcu.html\">Timestream compute units</a> (TCUs) the service will use at any point in time to serve your queries.</p>" |
| 484 | + }, |
| 485 | + "QueryPricingModel":{ |
| 486 | + "shape":"QueryPricingModel", |
| 487 | + "documentation":"<p>The pricing model for queries in your account.</p>" |
| 488 | + } |
| 489 | + } |
| 490 | + }, |
436 | 491 | "DescribeEndpointsRequest":{
|
437 | 492 | "type":"structure",
|
438 | 493 | "members":{
|
|
576 | 631 | "shape":"Long",
|
577 | 632 | "documentation":"<p>Bytes metered for a single scheduled query run.</p>"
|
578 | 633 | },
|
| 634 | + "CumulativeBytesScanned":{ |
| 635 | + "shape":"Long", |
| 636 | + "documentation":"<p>Bytes scanned for a single scheduled query run.</p>" |
| 637 | + }, |
579 | 638 | "RecordsIngested":{
|
580 | 639 | "shape":"Long",
|
581 | 640 | "documentation":"<p>The number of records ingested for a single scheduled query run. </p>"
|
|
592 | 651 | "members":{
|
593 | 652 | "Message":{"shape":"ErrorMessage"}
|
594 | 653 | },
|
595 |
| - "documentation":"<p> Timestream was unable to fully process this request because of an internal server error. </p>", |
| 654 | + "documentation":"<p> The service was unable to fully process this request because of an internal server error. </p>", |
596 | 655 | "exception":true
|
597 | 656 | },
|
598 | 657 | "InvalidEndpointException":{
|
|
663 | 722 | }
|
664 | 723 | },
|
665 | 724 | "Long":{"type":"long"},
|
| 725 | + "MaxQueryCapacity":{"type":"integer"}, |
666 | 726 | "MaxQueryResults":{
|
667 | 727 | "type":"integer",
|
668 | 728 | "box":true,
|
|
856 | 916 | "min":1,
|
857 | 917 | "pattern":"[a-zA-Z0-9]+"
|
858 | 918 | },
|
| 919 | + "QueryPricingModel":{ |
| 920 | + "type":"string", |
| 921 | + "enum":[ |
| 922 | + "BYTES_SCANNED", |
| 923 | + "COMPUTE_UNITS" |
| 924 | + ] |
| 925 | + }, |
859 | 926 | "QueryRequest":{
|
860 | 927 | "type":"structure",
|
861 | 928 | "required":["QueryString"],
|
|
1186 | 1253 | "type":"string",
|
1187 | 1254 | "max":64,
|
1188 | 1255 | "min":1,
|
1189 |
| - "pattern":"[a-zA-Z0-9_.-]+" |
| 1256 | + "pattern":"[a-zA-Z0-9|!\\-_*'\\(\\)]([a-zA-Z0-9]|[!\\-_*'\\(\\)\\/.])+" |
1190 | 1257 | },
|
1191 | 1258 | "ScheduledQueryRunStatus":{
|
1192 | 1259 | "type":"string",
|
|
1505 | 1572 | "members":{
|
1506 | 1573 | }
|
1507 | 1574 | },
|
| 1575 | + "UpdateAccountSettingsRequest":{ |
| 1576 | + "type":"structure", |
| 1577 | + "members":{ |
| 1578 | + "MaxQueryTCU":{ |
| 1579 | + "shape":"MaxQueryCapacity", |
| 1580 | + "documentation":"<p>The maximum number of compute units the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on.</p> <p>The maximum value supported for <code>MaxQueryTCU</code> is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see <a href=\"https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.default\">Default quotas</a>.</p>" |
| 1581 | + }, |
| 1582 | + "QueryPricingModel":{ |
| 1583 | + "shape":"QueryPricingModel", |
| 1584 | + "documentation":"<p>The pricing model for queries in an account.</p>" |
| 1585 | + } |
| 1586 | + } |
| 1587 | + }, |
| 1588 | + "UpdateAccountSettingsResponse":{ |
| 1589 | + "type":"structure", |
| 1590 | + "members":{ |
| 1591 | + "MaxQueryTCU":{ |
| 1592 | + "shape":"MaxQueryCapacity", |
| 1593 | + "documentation":"<p>The configured maximum number of compute units the service will use at any point in time to serve your queries.</p>" |
| 1594 | + }, |
| 1595 | + "QueryPricingModel":{ |
| 1596 | + "shape":"QueryPricingModel", |
| 1597 | + "documentation":"<p>The pricing model for an account.</p>" |
| 1598 | + } |
| 1599 | + } |
| 1600 | + }, |
1508 | 1601 | "UpdateScheduledQueryRequest":{
|
1509 | 1602 | "type":"structure",
|
1510 | 1603 | "required":[
|
|
0 commit comments