|
32 | 32 | ],
|
33 | 33 | "idempotent":true
|
34 | 34 | },
|
| 35 | + "CreateLoggingConfiguration":{ |
| 36 | + "name":"CreateLoggingConfiguration", |
| 37 | + "http":{ |
| 38 | + "method":"POST", |
| 39 | + "requestUri":"/workspaces/{workspaceId}/logging", |
| 40 | + "responseCode":202 |
| 41 | + }, |
| 42 | + "input":{"shape":"CreateLoggingConfigurationRequest"}, |
| 43 | + "output":{"shape":"CreateLoggingConfigurationResponse"}, |
| 44 | + "errors":[ |
| 45 | + {"shape":"ValidationException"}, |
| 46 | + {"shape":"ResourceNotFoundException"}, |
| 47 | + {"shape":"AccessDeniedException"}, |
| 48 | + {"shape":"InternalServerException"} |
| 49 | + ], |
| 50 | + "idempotent":true |
| 51 | + }, |
35 | 52 | "CreateRuleGroupsNamespace":{
|
36 | 53 | "name":"CreateRuleGroupsNamespace",
|
37 | 54 | "http":{
|
|
89 | 106 | ],
|
90 | 107 | "idempotent":true
|
91 | 108 | },
|
| 109 | + "DeleteLoggingConfiguration":{ |
| 110 | + "name":"DeleteLoggingConfiguration", |
| 111 | + "http":{ |
| 112 | + "method":"DELETE", |
| 113 | + "requestUri":"/workspaces/{workspaceId}/logging", |
| 114 | + "responseCode":202 |
| 115 | + }, |
| 116 | + "input":{"shape":"DeleteLoggingConfigurationRequest"}, |
| 117 | + "errors":[ |
| 118 | + {"shape":"ConflictException"}, |
| 119 | + {"shape":"ValidationException"}, |
| 120 | + {"shape":"ResourceNotFoundException"}, |
| 121 | + {"shape":"AccessDeniedException"}, |
| 122 | + {"shape":"InternalServerException"} |
| 123 | + ], |
| 124 | + "idempotent":true |
| 125 | + }, |
92 | 126 | "DeleteRuleGroupsNamespace":{
|
93 | 127 | "name":"DeleteRuleGroupsNamespace",
|
94 | 128 | "http":{
|
|
142 | 176 | {"shape":"InternalServerException"}
|
143 | 177 | ]
|
144 | 178 | },
|
| 179 | + "DescribeLoggingConfiguration":{ |
| 180 | + "name":"DescribeLoggingConfiguration", |
| 181 | + "http":{ |
| 182 | + "method":"GET", |
| 183 | + "requestUri":"/workspaces/{workspaceId}/logging", |
| 184 | + "responseCode":200 |
| 185 | + }, |
| 186 | + "input":{"shape":"DescribeLoggingConfigurationRequest"}, |
| 187 | + "output":{"shape":"DescribeLoggingConfigurationResponse"}, |
| 188 | + "errors":[ |
| 189 | + {"shape":"ValidationException"}, |
| 190 | + {"shape":"ResourceNotFoundException"}, |
| 191 | + {"shape":"AccessDeniedException"}, |
| 192 | + {"shape":"InternalServerException"} |
| 193 | + ] |
| 194 | + }, |
145 | 195 | "DescribeRuleGroupsNamespace":{
|
146 | 196 | "name":"DescribeRuleGroupsNamespace",
|
147 | 197 | "http":{
|
|
301 | 351 | ],
|
302 | 352 | "idempotent":true
|
303 | 353 | },
|
| 354 | + "UpdateLoggingConfiguration":{ |
| 355 | + "name":"UpdateLoggingConfiguration", |
| 356 | + "http":{ |
| 357 | + "method":"PUT", |
| 358 | + "requestUri":"/workspaces/{workspaceId}/logging", |
| 359 | + "responseCode":202 |
| 360 | + }, |
| 361 | + "input":{"shape":"UpdateLoggingConfigurationRequest"}, |
| 362 | + "output":{"shape":"UpdateLoggingConfigurationResponse"}, |
| 363 | + "errors":[ |
| 364 | + {"shape":"ConflictException"}, |
| 365 | + {"shape":"ValidationException"}, |
| 366 | + {"shape":"ResourceNotFoundException"}, |
| 367 | + {"shape":"AccessDeniedException"}, |
| 368 | + {"shape":"InternalServerException"} |
| 369 | + ], |
| 370 | + "idempotent":true |
| 371 | + }, |
304 | 372 | "UpdateWorkspaceAlias":{
|
305 | 373 | "name":"UpdateWorkspaceAlias",
|
306 | 374 | "http":{
|
|
413 | 481 | "status":{"shape":"AlertManagerDefinitionStatus"}
|
414 | 482 | }
|
415 | 483 | },
|
| 484 | + "CreateLoggingConfigurationRequest":{ |
| 485 | + "type":"structure", |
| 486 | + "required":[ |
| 487 | + "logGroupArn", |
| 488 | + "workspaceId" |
| 489 | + ], |
| 490 | + "members":{ |
| 491 | + "clientToken":{ |
| 492 | + "shape":"IdempotencyToken", |
| 493 | + "idempotencyToken":true |
| 494 | + }, |
| 495 | + "logGroupArn":{"shape":"LogGroupArn"}, |
| 496 | + "workspaceId":{ |
| 497 | + "shape":"WorkspaceId", |
| 498 | + "location":"uri", |
| 499 | + "locationName":"workspaceId" |
| 500 | + } |
| 501 | + } |
| 502 | + }, |
| 503 | + "CreateLoggingConfigurationResponse":{ |
| 504 | + "type":"structure", |
| 505 | + "required":["status"], |
| 506 | + "members":{ |
| 507 | + "status":{"shape":"LoggingConfigurationStatus"} |
| 508 | + } |
| 509 | + }, |
416 | 510 | "CreateRuleGroupsNamespaceRequest":{
|
417 | 511 | "type":"structure",
|
418 | 512 | "required":[
|
|
491 | 585 | }
|
492 | 586 | }
|
493 | 587 | },
|
| 588 | + "DeleteLoggingConfigurationRequest":{ |
| 589 | + "type":"structure", |
| 590 | + "required":["workspaceId"], |
| 591 | + "members":{ |
| 592 | + "clientToken":{ |
| 593 | + "shape":"IdempotencyToken", |
| 594 | + "idempotencyToken":true, |
| 595 | + "location":"querystring", |
| 596 | + "locationName":"clientToken" |
| 597 | + }, |
| 598 | + "workspaceId":{ |
| 599 | + "shape":"WorkspaceId", |
| 600 | + "location":"uri", |
| 601 | + "locationName":"workspaceId" |
| 602 | + } |
| 603 | + } |
| 604 | + }, |
494 | 605 | "DeleteRuleGroupsNamespaceRequest":{
|
495 | 606 | "type":"structure",
|
496 | 607 | "required":[
|
|
551 | 662 | "alertManagerDefinition":{"shape":"AlertManagerDefinitionDescription"}
|
552 | 663 | }
|
553 | 664 | },
|
| 665 | + "DescribeLoggingConfigurationRequest":{ |
| 666 | + "type":"structure", |
| 667 | + "required":["workspaceId"], |
| 668 | + "members":{ |
| 669 | + "workspaceId":{ |
| 670 | + "shape":"WorkspaceId", |
| 671 | + "location":"uri", |
| 672 | + "locationName":"workspaceId" |
| 673 | + } |
| 674 | + } |
| 675 | + }, |
| 676 | + "DescribeLoggingConfigurationResponse":{ |
| 677 | + "type":"structure", |
| 678 | + "required":["loggingConfiguration"], |
| 679 | + "members":{ |
| 680 | + "loggingConfiguration":{"shape":"LoggingConfigurationMetadata"} |
| 681 | + } |
| 682 | + }, |
554 | 683 | "DescribeRuleGroupsNamespaceRequest":{
|
555 | 684 | "type":"structure",
|
556 | 685 | "required":[
|
|
712 | 841 | "workspaces":{"shape":"WorkspaceSummaryList"}
|
713 | 842 | }
|
714 | 843 | },
|
| 844 | + "LogGroupArn":{ |
| 845 | + "type":"string", |
| 846 | + "pattern":"^arn:aws[a-z0-9-]*:logs:[a-z0-9-]+:\\d{12}:log-group:[A-Za-z0-9\\.\\-\\_\\#/]{1,512}\\:\\*$" |
| 847 | + }, |
| 848 | + "LoggingConfigurationMetadata":{ |
| 849 | + "type":"structure", |
| 850 | + "required":[ |
| 851 | + "createdAt", |
| 852 | + "logGroupArn", |
| 853 | + "modifiedAt", |
| 854 | + "status", |
| 855 | + "workspace" |
| 856 | + ], |
| 857 | + "members":{ |
| 858 | + "createdAt":{"shape":"Timestamp"}, |
| 859 | + "logGroupArn":{"shape":"LogGroupArn"}, |
| 860 | + "modifiedAt":{"shape":"Timestamp"}, |
| 861 | + "status":{"shape":"LoggingConfigurationStatus"}, |
| 862 | + "workspace":{"shape":"WorkspaceId"} |
| 863 | + } |
| 864 | + }, |
| 865 | + "LoggingConfigurationStatus":{ |
| 866 | + "type":"structure", |
| 867 | + "required":["statusCode"], |
| 868 | + "members":{ |
| 869 | + "statusCode":{"shape":"LoggingConfigurationStatusCode"}, |
| 870 | + "statusReason":{"shape":"String"} |
| 871 | + } |
| 872 | + }, |
| 873 | + "LoggingConfigurationStatusCode":{ |
| 874 | + "type":"string", |
| 875 | + "enum":[ |
| 876 | + "CREATING", |
| 877 | + "ACTIVE", |
| 878 | + "UPDATING", |
| 879 | + "DELETING", |
| 880 | + "CREATION_FAILED", |
| 881 | + "UPDATE_FAILED" |
| 882 | + ] |
| 883 | + }, |
715 | 884 | "PaginationToken":{"type":"string"},
|
716 | 885 | "PutAlertManagerDefinitionRequest":{
|
717 | 886 | "type":"structure",
|
|
976 | 1145 | "members":{
|
977 | 1146 | }
|
978 | 1147 | },
|
| 1148 | + "UpdateLoggingConfigurationRequest":{ |
| 1149 | + "type":"structure", |
| 1150 | + "required":[ |
| 1151 | + "logGroupArn", |
| 1152 | + "workspaceId" |
| 1153 | + ], |
| 1154 | + "members":{ |
| 1155 | + "clientToken":{ |
| 1156 | + "shape":"IdempotencyToken", |
| 1157 | + "idempotencyToken":true |
| 1158 | + }, |
| 1159 | + "logGroupArn":{"shape":"LogGroupArn"}, |
| 1160 | + "workspaceId":{ |
| 1161 | + "shape":"WorkspaceId", |
| 1162 | + "location":"uri", |
| 1163 | + "locationName":"workspaceId" |
| 1164 | + } |
| 1165 | + } |
| 1166 | + }, |
| 1167 | + "UpdateLoggingConfigurationResponse":{ |
| 1168 | + "type":"structure", |
| 1169 | + "required":["status"], |
| 1170 | + "members":{ |
| 1171 | + "status":{"shape":"LoggingConfigurationStatus"} |
| 1172 | + } |
| 1173 | + }, |
979 | 1174 | "UpdateWorkspaceAliasRequest":{
|
980 | 1175 | "type":"structure",
|
981 | 1176 | "required":["workspaceId"],
|
|
0 commit comments