|
51 | 51 | ],
|
52 | 52 | "idempotent":true
|
53 | 53 | },
|
| 54 | + "CreateQueryLoggingConfiguration":{ |
| 55 | + "name":"CreateQueryLoggingConfiguration", |
| 56 | + "http":{ |
| 57 | + "method":"POST", |
| 58 | + "requestUri":"/workspaces/{workspaceId}/logging/query", |
| 59 | + "responseCode":202 |
| 60 | + }, |
| 61 | + "input":{"shape":"CreateQueryLoggingConfigurationRequest"}, |
| 62 | + "output":{"shape":"CreateQueryLoggingConfigurationResponse"}, |
| 63 | + "errors":[ |
| 64 | + {"shape":"ValidationException"}, |
| 65 | + {"shape":"ResourceNotFoundException"}, |
| 66 | + {"shape":"AccessDeniedException"}, |
| 67 | + {"shape":"InternalServerException"} |
| 68 | + ], |
| 69 | + "idempotent":true |
| 70 | + }, |
54 | 71 | "CreateRuleGroupsNamespace":{
|
55 | 72 | "name":"CreateRuleGroupsNamespace",
|
56 | 73 | "http":{
|
|
145 | 162 | ],
|
146 | 163 | "idempotent":true
|
147 | 164 | },
|
| 165 | + "DeleteQueryLoggingConfiguration":{ |
| 166 | + "name":"DeleteQueryLoggingConfiguration", |
| 167 | + "http":{ |
| 168 | + "method":"DELETE", |
| 169 | + "requestUri":"/workspaces/{workspaceId}/logging/query", |
| 170 | + "responseCode":202 |
| 171 | + }, |
| 172 | + "input":{"shape":"DeleteQueryLoggingConfigurationRequest"}, |
| 173 | + "errors":[ |
| 174 | + {"shape":"ConflictException"}, |
| 175 | + {"shape":"ValidationException"}, |
| 176 | + {"shape":"ResourceNotFoundException"}, |
| 177 | + {"shape":"AccessDeniedException"}, |
| 178 | + {"shape":"InternalServerException"} |
| 179 | + ], |
| 180 | + "idempotent":true |
| 181 | + }, |
148 | 182 | "DeleteRuleGroupsNamespace":{
|
149 | 183 | "name":"DeleteRuleGroupsNamespace",
|
150 | 184 | "http":{
|
|
233 | 267 | {"shape":"InternalServerException"}
|
234 | 268 | ]
|
235 | 269 | },
|
| 270 | + "DescribeQueryLoggingConfiguration":{ |
| 271 | + "name":"DescribeQueryLoggingConfiguration", |
| 272 | + "http":{ |
| 273 | + "method":"GET", |
| 274 | + "requestUri":"/workspaces/{workspaceId}/logging/query", |
| 275 | + "responseCode":200 |
| 276 | + }, |
| 277 | + "input":{"shape":"DescribeQueryLoggingConfigurationRequest"}, |
| 278 | + "output":{"shape":"DescribeQueryLoggingConfigurationResponse"}, |
| 279 | + "errors":[ |
| 280 | + {"shape":"ValidationException"}, |
| 281 | + {"shape":"ResourceNotFoundException"}, |
| 282 | + {"shape":"AccessDeniedException"}, |
| 283 | + {"shape":"InternalServerException"} |
| 284 | + ] |
| 285 | + }, |
236 | 286 | "DescribeRuleGroupsNamespace":{
|
237 | 287 | "name":"DescribeRuleGroupsNamespace",
|
238 | 288 | "http":{
|
|
475 | 525 | ],
|
476 | 526 | "idempotent":true
|
477 | 527 | },
|
| 528 | + "UpdateQueryLoggingConfiguration":{ |
| 529 | + "name":"UpdateQueryLoggingConfiguration", |
| 530 | + "http":{ |
| 531 | + "method":"PUT", |
| 532 | + "requestUri":"/workspaces/{workspaceId}/logging/query", |
| 533 | + "responseCode":202 |
| 534 | + }, |
| 535 | + "input":{"shape":"UpdateQueryLoggingConfigurationRequest"}, |
| 536 | + "output":{"shape":"UpdateQueryLoggingConfigurationResponse"}, |
| 537 | + "errors":[ |
| 538 | + {"shape":"ConflictException"}, |
| 539 | + {"shape":"ValidationException"}, |
| 540 | + {"shape":"ResourceNotFoundException"}, |
| 541 | + {"shape":"AccessDeniedException"}, |
| 542 | + {"shape":"InternalServerException"} |
| 543 | + ], |
| 544 | + "idempotent":true |
| 545 | + }, |
478 | 546 | "UpdateScraper":{
|
479 | 547 | "name":"UpdateScraper",
|
480 | 548 | "http":{
|
|
591 | 659 | }
|
592 | 660 | },
|
593 | 661 | "Blob":{"type":"blob"},
|
| 662 | + "CloudWatchLogDestination":{ |
| 663 | + "type":"structure", |
| 664 | + "required":["logGroupArn"], |
| 665 | + "members":{ |
| 666 | + "logGroupArn":{"shape":"LogGroupArn"} |
| 667 | + } |
| 668 | + }, |
594 | 669 | "ClusterArn":{
|
595 | 670 | "type":"string",
|
596 | 671 | "pattern":"^arn:aws[-a-z]*:eks:[-a-z0-9]+:[0-9]{12}:cluster/.+$"
|
|
665 | 740 | "status":{"shape":"LoggingConfigurationStatus"}
|
666 | 741 | }
|
667 | 742 | },
|
| 743 | + "CreateQueryLoggingConfigurationRequest":{ |
| 744 | + "type":"structure", |
| 745 | + "required":[ |
| 746 | + "destinations", |
| 747 | + "workspaceId" |
| 748 | + ], |
| 749 | + "members":{ |
| 750 | + "clientToken":{ |
| 751 | + "shape":"IdempotencyToken", |
| 752 | + "idempotencyToken":true |
| 753 | + }, |
| 754 | + "destinations":{"shape":"LoggingDestinations"}, |
| 755 | + "workspaceId":{ |
| 756 | + "shape":"WorkspaceId", |
| 757 | + "location":"uri", |
| 758 | + "locationName":"workspaceId" |
| 759 | + } |
| 760 | + } |
| 761 | + }, |
| 762 | + "CreateQueryLoggingConfigurationResponse":{ |
| 763 | + "type":"structure", |
| 764 | + "required":["status"], |
| 765 | + "members":{ |
| 766 | + "status":{"shape":"QueryLoggingConfigurationStatus"} |
| 767 | + } |
| 768 | + }, |
668 | 769 | "CreateRuleGroupsNamespaceRequest":{
|
669 | 770 | "type":"structure",
|
670 | 771 | "required":[
|
|
796 | 897 | }
|
797 | 898 | }
|
798 | 899 | },
|
| 900 | + "DeleteQueryLoggingConfigurationRequest":{ |
| 901 | + "type":"structure", |
| 902 | + "required":["workspaceId"], |
| 903 | + "members":{ |
| 904 | + "clientToken":{ |
| 905 | + "shape":"IdempotencyToken", |
| 906 | + "idempotencyToken":true, |
| 907 | + "location":"querystring", |
| 908 | + "locationName":"clientToken" |
| 909 | + }, |
| 910 | + "workspaceId":{ |
| 911 | + "shape":"WorkspaceId", |
| 912 | + "location":"uri", |
| 913 | + "locationName":"workspaceId" |
| 914 | + } |
| 915 | + } |
| 916 | + }, |
799 | 917 | "DeleteRuleGroupsNamespaceRequest":{
|
800 | 918 | "type":"structure",
|
801 | 919 | "required":[
|
|
902 | 1020 | "loggingConfiguration":{"shape":"LoggingConfigurationMetadata"}
|
903 | 1021 | }
|
904 | 1022 | },
|
| 1023 | + "DescribeQueryLoggingConfigurationRequest":{ |
| 1024 | + "type":"structure", |
| 1025 | + "required":["workspaceId"], |
| 1026 | + "members":{ |
| 1027 | + "workspaceId":{ |
| 1028 | + "shape":"WorkspaceId", |
| 1029 | + "location":"uri", |
| 1030 | + "locationName":"workspaceId" |
| 1031 | + } |
| 1032 | + } |
| 1033 | + }, |
| 1034 | + "DescribeQueryLoggingConfigurationResponse":{ |
| 1035 | + "type":"structure", |
| 1036 | + "required":["queryLoggingConfiguration"], |
| 1037 | + "members":{ |
| 1038 | + "queryLoggingConfiguration":{"shape":"QueryLoggingConfigurationMetadata"} |
| 1039 | + } |
| 1040 | + }, |
905 | 1041 | "DescribeRuleGroupsNamespaceRequest":{
|
906 | 1042 | "type":"structure",
|
907 | 1043 | "required":[
|
|
1269 | 1405 | "UPDATE_FAILED"
|
1270 | 1406 | ]
|
1271 | 1407 | },
|
| 1408 | + "LoggingDestination":{ |
| 1409 | + "type":"structure", |
| 1410 | + "required":[ |
| 1411 | + "cloudWatchLogs", |
| 1412 | + "filters" |
| 1413 | + ], |
| 1414 | + "members":{ |
| 1415 | + "cloudWatchLogs":{"shape":"CloudWatchLogDestination"}, |
| 1416 | + "filters":{"shape":"LoggingFilter"} |
| 1417 | + } |
| 1418 | + }, |
| 1419 | + "LoggingDestinations":{ |
| 1420 | + "type":"list", |
| 1421 | + "member":{"shape":"LoggingDestination"}, |
| 1422 | + "max":1, |
| 1423 | + "min":1 |
| 1424 | + }, |
| 1425 | + "LoggingFilter":{ |
| 1426 | + "type":"structure", |
| 1427 | + "required":["qspThreshold"], |
| 1428 | + "members":{ |
| 1429 | + "qspThreshold":{"shape":"LoggingFilterQspThresholdLong"} |
| 1430 | + } |
| 1431 | + }, |
| 1432 | + "LoggingFilterQspThresholdLong":{ |
| 1433 | + "type":"long", |
| 1434 | + "box":true, |
| 1435 | + "min":0 |
| 1436 | + }, |
1272 | 1437 | "PaginationToken":{
|
1273 | 1438 | "type":"string",
|
1274 | 1439 | "max":1000,
|
|
1339 | 1504 | "tags":{"shape":"TagMap"}
|
1340 | 1505 | }
|
1341 | 1506 | },
|
| 1507 | + "QueryLoggingConfigurationMetadata":{ |
| 1508 | + "type":"structure", |
| 1509 | + "required":[ |
| 1510 | + "createdAt", |
| 1511 | + "destinations", |
| 1512 | + "modifiedAt", |
| 1513 | + "status", |
| 1514 | + "workspace" |
| 1515 | + ], |
| 1516 | + "members":{ |
| 1517 | + "createdAt":{"shape":"Timestamp"}, |
| 1518 | + "destinations":{"shape":"LoggingDestinations"}, |
| 1519 | + "modifiedAt":{"shape":"Timestamp"}, |
| 1520 | + "status":{"shape":"QueryLoggingConfigurationStatus"}, |
| 1521 | + "workspace":{"shape":"WorkspaceId"} |
| 1522 | + } |
| 1523 | + }, |
| 1524 | + "QueryLoggingConfigurationStatus":{ |
| 1525 | + "type":"structure", |
| 1526 | + "required":["statusCode"], |
| 1527 | + "members":{ |
| 1528 | + "statusCode":{"shape":"QueryLoggingConfigurationStatusCode"}, |
| 1529 | + "statusReason":{"shape":"String"} |
| 1530 | + } |
| 1531 | + }, |
| 1532 | + "QueryLoggingConfigurationStatusCode":{ |
| 1533 | + "type":"string", |
| 1534 | + "enum":[ |
| 1535 | + "CREATING", |
| 1536 | + "ACTIVE", |
| 1537 | + "UPDATING", |
| 1538 | + "DELETING", |
| 1539 | + "CREATION_FAILED", |
| 1540 | + "UPDATE_FAILED" |
| 1541 | + ] |
| 1542 | + }, |
1342 | 1543 | "ResourceNotFoundException":{
|
1343 | 1544 | "type":"structure",
|
1344 | 1545 | "required":[
|
|
1712 | 1913 | "status":{"shape":"LoggingConfigurationStatus"}
|
1713 | 1914 | }
|
1714 | 1915 | },
|
| 1916 | + "UpdateQueryLoggingConfigurationRequest":{ |
| 1917 | + "type":"structure", |
| 1918 | + "required":[ |
| 1919 | + "destinations", |
| 1920 | + "workspaceId" |
| 1921 | + ], |
| 1922 | + "members":{ |
| 1923 | + "clientToken":{ |
| 1924 | + "shape":"IdempotencyToken", |
| 1925 | + "idempotencyToken":true |
| 1926 | + }, |
| 1927 | + "destinations":{"shape":"LoggingDestinations"}, |
| 1928 | + "workspaceId":{ |
| 1929 | + "shape":"WorkspaceId", |
| 1930 | + "location":"uri", |
| 1931 | + "locationName":"workspaceId" |
| 1932 | + } |
| 1933 | + } |
| 1934 | + }, |
| 1935 | + "UpdateQueryLoggingConfigurationResponse":{ |
| 1936 | + "type":"structure", |
| 1937 | + "required":["status"], |
| 1938 | + "members":{ |
| 1939 | + "status":{"shape":"QueryLoggingConfigurationStatus"} |
| 1940 | + } |
| 1941 | + }, |
1715 | 1942 | "UpdateScraperRequest":{
|
1716 | 1943 | "type":"structure",
|
1717 | 1944 | "required":["scraperId"],
|
|
0 commit comments