|
284 | 284 | {"shape":"InternalServerException"}
|
285 | 285 | ]
|
286 | 286 | },
|
| 287 | + "DescribeWorkspaceConfiguration":{ |
| 288 | + "name":"DescribeWorkspaceConfiguration", |
| 289 | + "http":{ |
| 290 | + "method":"GET", |
| 291 | + "requestUri":"/workspaces/{workspaceId}/configuration", |
| 292 | + "responseCode":200 |
| 293 | + }, |
| 294 | + "input":{"shape":"DescribeWorkspaceConfigurationRequest"}, |
| 295 | + "output":{"shape":"DescribeWorkspaceConfigurationResponse"}, |
| 296 | + "errors":[ |
| 297 | + {"shape":"ThrottlingException"}, |
| 298 | + {"shape":"ValidationException"}, |
| 299 | + {"shape":"ResourceNotFoundException"}, |
| 300 | + {"shape":"AccessDeniedException"}, |
| 301 | + {"shape":"InternalServerException"} |
| 302 | + ] |
| 303 | + }, |
287 | 304 | "GetDefaultScraperConfiguration":{
|
288 | 305 | "name":"GetDefaultScraperConfiguration",
|
289 | 306 | "http":{
|
|
496 | 513 | {"shape":"ServiceQuotaExceededException"}
|
497 | 514 | ],
|
498 | 515 | "idempotent":true
|
| 516 | + }, |
| 517 | + "UpdateWorkspaceConfiguration":{ |
| 518 | + "name":"UpdateWorkspaceConfiguration", |
| 519 | + "http":{ |
| 520 | + "method":"PATCH", |
| 521 | + "requestUri":"/workspaces/{workspaceId}/configuration", |
| 522 | + "responseCode":202 |
| 523 | + }, |
| 524 | + "input":{"shape":"UpdateWorkspaceConfigurationRequest"}, |
| 525 | + "output":{"shape":"UpdateWorkspaceConfigurationResponse"}, |
| 526 | + "errors":[ |
| 527 | + {"shape":"ThrottlingException"}, |
| 528 | + {"shape":"ConflictException"}, |
| 529 | + {"shape":"ValidationException"}, |
| 530 | + {"shape":"ResourceNotFoundException"}, |
| 531 | + {"shape":"AccessDeniedException"}, |
| 532 | + {"shape":"InternalServerException"}, |
| 533 | + {"shape":"ServiceQuotaExceededException"} |
| 534 | + ], |
| 535 | + "idempotent":true |
499 | 536 | }
|
500 | 537 | },
|
501 | 538 | "shapes":{
|
|
909 | 946 | "scraper":{"shape":"ScraperDescription"}
|
910 | 947 | }
|
911 | 948 | },
|
| 949 | + "DescribeWorkspaceConfigurationRequest":{ |
| 950 | + "type":"structure", |
| 951 | + "required":["workspaceId"], |
| 952 | + "members":{ |
| 953 | + "workspaceId":{ |
| 954 | + "shape":"WorkspaceId", |
| 955 | + "location":"uri", |
| 956 | + "locationName":"workspaceId" |
| 957 | + } |
| 958 | + } |
| 959 | + }, |
| 960 | + "DescribeWorkspaceConfigurationResponse":{ |
| 961 | + "type":"structure", |
| 962 | + "required":["workspaceConfiguration"], |
| 963 | + "members":{ |
| 964 | + "workspaceConfiguration":{"shape":"WorkspaceConfigurationDescription"} |
| 965 | + } |
| 966 | + }, |
912 | 967 | "DescribeWorkspaceRequest":{
|
913 | 968 | "type":"structure",
|
914 | 969 | "required":["workspaceId"],
|
|
1010 | 1065 | "min":20,
|
1011 | 1066 | "pattern":"^arn:aws[-a-z]*:kms:[-a-z0-9]+:[0-9]{12}:key/[-a-f0-9]+$"
|
1012 | 1067 | },
|
| 1068 | + "LabelName":{ |
| 1069 | + "type":"string", |
| 1070 | + "min":1, |
| 1071 | + "pattern":"^[a-zA-Z_][a-zA-Z0-9_]*$" |
| 1072 | + }, |
| 1073 | + "LabelSet":{ |
| 1074 | + "type":"map", |
| 1075 | + "key":{"shape":"LabelName"}, |
| 1076 | + "value":{"shape":"LabelValue"} |
| 1077 | + }, |
| 1078 | + "LabelValue":{ |
| 1079 | + "type":"string", |
| 1080 | + "min":1 |
| 1081 | + }, |
| 1082 | + "LimitsPerLabelSet":{ |
| 1083 | + "type":"structure", |
| 1084 | + "required":[ |
| 1085 | + "labelSet", |
| 1086 | + "limits" |
| 1087 | + ], |
| 1088 | + "members":{ |
| 1089 | + "labelSet":{"shape":"LabelSet"}, |
| 1090 | + "limits":{"shape":"LimitsPerLabelSetEntry"} |
| 1091 | + } |
| 1092 | + }, |
| 1093 | + "LimitsPerLabelSetEntry":{ |
| 1094 | + "type":"structure", |
| 1095 | + "members":{ |
| 1096 | + "maxSeries":{"shape":"LimitsPerLabelSetEntryMaxSeriesLong"} |
| 1097 | + } |
| 1098 | + }, |
| 1099 | + "LimitsPerLabelSetEntryMaxSeriesLong":{ |
| 1100 | + "type":"long", |
| 1101 | + "box":true, |
| 1102 | + "min":0 |
| 1103 | + }, |
| 1104 | + "LimitsPerLabelSetList":{ |
| 1105 | + "type":"list", |
| 1106 | + "member":{"shape":"LimitsPerLabelSet"} |
| 1107 | + }, |
1013 | 1108 | "ListRuleGroupsNamespacesRequest":{
|
1014 | 1109 | "type":"structure",
|
1015 | 1110 | "required":["workspaceId"],
|
|
1666 | 1761 | }
|
1667 | 1762 | }
|
1668 | 1763 | },
|
| 1764 | + "UpdateWorkspaceConfigurationRequest":{ |
| 1765 | + "type":"structure", |
| 1766 | + "required":["workspaceId"], |
| 1767 | + "members":{ |
| 1768 | + "clientToken":{ |
| 1769 | + "shape":"IdempotencyToken", |
| 1770 | + "idempotencyToken":true |
| 1771 | + }, |
| 1772 | + "limitsPerLabelSet":{"shape":"LimitsPerLabelSetList"}, |
| 1773 | + "retentionPeriodInDays":{"shape":"UpdateWorkspaceConfigurationRequestRetentionPeriodInDaysInteger"}, |
| 1774 | + "workspaceId":{ |
| 1775 | + "shape":"WorkspaceId", |
| 1776 | + "location":"uri", |
| 1777 | + "locationName":"workspaceId" |
| 1778 | + } |
| 1779 | + } |
| 1780 | + }, |
| 1781 | + "UpdateWorkspaceConfigurationRequestRetentionPeriodInDaysInteger":{ |
| 1782 | + "type":"integer", |
| 1783 | + "box":true, |
| 1784 | + "min":1 |
| 1785 | + }, |
| 1786 | + "UpdateWorkspaceConfigurationResponse":{ |
| 1787 | + "type":"structure", |
| 1788 | + "required":["status"], |
| 1789 | + "members":{ |
| 1790 | + "status":{"shape":"WorkspaceConfigurationStatus"} |
| 1791 | + } |
| 1792 | + }, |
1669 | 1793 | "Uri":{
|
1670 | 1794 | "type":"string",
|
1671 | 1795 | "max":1024,
|
|
1721 | 1845 | "type":"string",
|
1722 | 1846 | "pattern":"^arn:aws[-a-z]*:aps:[-a-z0-9]+:[0-9]{12}:workspace/.+$"
|
1723 | 1847 | },
|
| 1848 | + "WorkspaceConfigurationDescription":{ |
| 1849 | + "type":"structure", |
| 1850 | + "required":["status"], |
| 1851 | + "members":{ |
| 1852 | + "limitsPerLabelSet":{"shape":"LimitsPerLabelSetList"}, |
| 1853 | + "retentionPeriodInDays":{"shape":"WorkspaceConfigurationDescriptionRetentionPeriodInDaysInteger"}, |
| 1854 | + "status":{"shape":"WorkspaceConfigurationStatus"} |
| 1855 | + } |
| 1856 | + }, |
| 1857 | + "WorkspaceConfigurationDescriptionRetentionPeriodInDaysInteger":{ |
| 1858 | + "type":"integer", |
| 1859 | + "box":true, |
| 1860 | + "min":1 |
| 1861 | + }, |
| 1862 | + "WorkspaceConfigurationStatus":{ |
| 1863 | + "type":"structure", |
| 1864 | + "required":["statusCode"], |
| 1865 | + "members":{ |
| 1866 | + "statusCode":{"shape":"WorkspaceConfigurationStatusCode"}, |
| 1867 | + "statusReason":{"shape":"String"} |
| 1868 | + } |
| 1869 | + }, |
| 1870 | + "WorkspaceConfigurationStatusCode":{ |
| 1871 | + "type":"string", |
| 1872 | + "enum":[ |
| 1873 | + "ACTIVE", |
| 1874 | + "UPDATING", |
| 1875 | + "UPDATE_FAILED" |
| 1876 | + ] |
| 1877 | + }, |
1724 | 1878 | "WorkspaceDescription":{
|
1725 | 1879 | "type":"structure",
|
1726 | 1880 | "required":[
|
|
0 commit comments