|
33 | 33 | "documentation":"<p>Create an alert manager definition.</p>",
|
34 | 34 | "idempotent":true
|
35 | 35 | },
|
| 36 | + "CreateLoggingConfiguration":{ |
| 37 | + "name":"CreateLoggingConfiguration", |
| 38 | + "http":{ |
| 39 | + "method":"POST", |
| 40 | + "requestUri":"/workspaces/{workspaceId}/logging", |
| 41 | + "responseCode":202 |
| 42 | + }, |
| 43 | + "input":{"shape":"CreateLoggingConfigurationRequest"}, |
| 44 | + "output":{"shape":"CreateLoggingConfigurationResponse"}, |
| 45 | + "errors":[ |
| 46 | + {"shape":"ValidationException"}, |
| 47 | + {"shape":"ResourceNotFoundException"}, |
| 48 | + {"shape":"AccessDeniedException"}, |
| 49 | + {"shape":"InternalServerException"} |
| 50 | + ], |
| 51 | + "documentation":"<p>Create logging configuration.</p>", |
| 52 | + "idempotent":true |
| 53 | + }, |
36 | 54 | "CreateRuleGroupsNamespace":{
|
37 | 55 | "name":"CreateRuleGroupsNamespace",
|
38 | 56 | "http":{
|
|
93 | 111 | "documentation":"<p>Deletes an alert manager definition.</p>",
|
94 | 112 | "idempotent":true
|
95 | 113 | },
|
| 114 | + "DeleteLoggingConfiguration":{ |
| 115 | + "name":"DeleteLoggingConfiguration", |
| 116 | + "http":{ |
| 117 | + "method":"DELETE", |
| 118 | + "requestUri":"/workspaces/{workspaceId}/logging", |
| 119 | + "responseCode":202 |
| 120 | + }, |
| 121 | + "input":{"shape":"DeleteLoggingConfigurationRequest"}, |
| 122 | + "errors":[ |
| 123 | + {"shape":"ConflictException"}, |
| 124 | + {"shape":"ValidationException"}, |
| 125 | + {"shape":"ResourceNotFoundException"}, |
| 126 | + {"shape":"AccessDeniedException"}, |
| 127 | + {"shape":"InternalServerException"} |
| 128 | + ], |
| 129 | + "documentation":"<p>Delete logging configuration.</p>", |
| 130 | + "idempotent":true |
| 131 | + }, |
96 | 132 | "DeleteRuleGroupsNamespace":{
|
97 | 133 | "name":"DeleteRuleGroupsNamespace",
|
98 | 134 | "http":{
|
|
149 | 185 | ],
|
150 | 186 | "documentation":"<p>Describes an alert manager definition.</p>"
|
151 | 187 | },
|
| 188 | + "DescribeLoggingConfiguration":{ |
| 189 | + "name":"DescribeLoggingConfiguration", |
| 190 | + "http":{ |
| 191 | + "method":"GET", |
| 192 | + "requestUri":"/workspaces/{workspaceId}/logging", |
| 193 | + "responseCode":200 |
| 194 | + }, |
| 195 | + "input":{"shape":"DescribeLoggingConfigurationRequest"}, |
| 196 | + "output":{"shape":"DescribeLoggingConfigurationResponse"}, |
| 197 | + "errors":[ |
| 198 | + {"shape":"ValidationException"}, |
| 199 | + {"shape":"ResourceNotFoundException"}, |
| 200 | + {"shape":"AccessDeniedException"}, |
| 201 | + {"shape":"InternalServerException"} |
| 202 | + ], |
| 203 | + "documentation":"<p>Describes logging configuration.</p>" |
| 204 | + }, |
152 | 205 | "DescribeRuleGroupsNamespace":{
|
153 | 206 | "name":"DescribeRuleGroupsNamespace",
|
154 | 207 | "http":{
|
|
317 | 370 | "documentation":"<p>Deletes tags from the specified resource.</p>",
|
318 | 371 | "idempotent":true
|
319 | 372 | },
|
| 373 | + "UpdateLoggingConfiguration":{ |
| 374 | + "name":"UpdateLoggingConfiguration", |
| 375 | + "http":{ |
| 376 | + "method":"PUT", |
| 377 | + "requestUri":"/workspaces/{workspaceId}/logging", |
| 378 | + "responseCode":202 |
| 379 | + }, |
| 380 | + "input":{"shape":"UpdateLoggingConfigurationRequest"}, |
| 381 | + "output":{"shape":"UpdateLoggingConfigurationResponse"}, |
| 382 | + "errors":[ |
| 383 | + {"shape":"ConflictException"}, |
| 384 | + {"shape":"ValidationException"}, |
| 385 | + {"shape":"ResourceNotFoundException"}, |
| 386 | + {"shape":"AccessDeniedException"}, |
| 387 | + {"shape":"InternalServerException"} |
| 388 | + ], |
| 389 | + "documentation":"<p>Update logging configuration.</p>", |
| 390 | + "idempotent":true |
| 391 | + }, |
320 | 392 | "UpdateWorkspaceAlias":{
|
321 | 393 | "name":"UpdateWorkspaceAlias",
|
322 | 394 | "http":{
|
|
478 | 550 | },
|
479 | 551 | "documentation":"<p>Represents the output of a CreateAlertManagerDefinition operation.</p>"
|
480 | 552 | },
|
| 553 | + "CreateLoggingConfigurationRequest":{ |
| 554 | + "type":"structure", |
| 555 | + "required":[ |
| 556 | + "logGroupArn", |
| 557 | + "workspaceId" |
| 558 | + ], |
| 559 | + "members":{ |
| 560 | + "clientToken":{ |
| 561 | + "shape":"IdempotencyToken", |
| 562 | + "documentation":"<p>Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.</p>", |
| 563 | + "idempotencyToken":true |
| 564 | + }, |
| 565 | + "logGroupArn":{ |
| 566 | + "shape":"LogGroupArn", |
| 567 | + "documentation":"<p>The ARN of the CW log group to which the vended log data will be published.</p>" |
| 568 | + }, |
| 569 | + "workspaceId":{ |
| 570 | + "shape":"WorkspaceId", |
| 571 | + "documentation":"<p>The ID of the workspace to vend logs to.</p>", |
| 572 | + "location":"uri", |
| 573 | + "locationName":"workspaceId" |
| 574 | + } |
| 575 | + }, |
| 576 | + "documentation":"<p>Represents the input of a CreateLoggingConfiguration operation.</p>" |
| 577 | + }, |
| 578 | + "CreateLoggingConfigurationResponse":{ |
| 579 | + "type":"structure", |
| 580 | + "required":["status"], |
| 581 | + "members":{ |
| 582 | + "status":{ |
| 583 | + "shape":"LoggingConfigurationStatus", |
| 584 | + "documentation":"<p>The status of the logging configuration.</p>" |
| 585 | + } |
| 586 | + }, |
| 587 | + "documentation":"<p>Represents the output of a CreateLoggingConfiguration operation.</p>" |
| 588 | + }, |
481 | 589 | "CreateRuleGroupsNamespaceRequest":{
|
482 | 590 | "type":"structure",
|
483 | 591 | "required":[
|
|
605 | 713 | },
|
606 | 714 | "documentation":"<p>Represents the input of a DeleteAlertManagerDefinition operation.</p>"
|
607 | 715 | },
|
| 716 | + "DeleteLoggingConfigurationRequest":{ |
| 717 | + "type":"structure", |
| 718 | + "required":["workspaceId"], |
| 719 | + "members":{ |
| 720 | + "clientToken":{ |
| 721 | + "shape":"IdempotencyToken", |
| 722 | + "documentation":"<p>Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.</p>", |
| 723 | + "idempotencyToken":true, |
| 724 | + "location":"querystring", |
| 725 | + "locationName":"clientToken" |
| 726 | + }, |
| 727 | + "workspaceId":{ |
| 728 | + "shape":"WorkspaceId", |
| 729 | + "documentation":"<p>The ID of the workspace to vend logs to.</p>", |
| 730 | + "location":"uri", |
| 731 | + "locationName":"workspaceId" |
| 732 | + } |
| 733 | + }, |
| 734 | + "documentation":"<p>Represents the input of a DeleteLoggingConfiguration operation.</p>" |
| 735 | + }, |
608 | 736 | "DeleteRuleGroupsNamespaceRequest":{
|
609 | 737 | "type":"structure",
|
610 | 738 | "required":[
|
|
678 | 806 | },
|
679 | 807 | "documentation":"<p>Represents the output of a DescribeAlertManagerDefinition operation.</p>"
|
680 | 808 | },
|
| 809 | + "DescribeLoggingConfigurationRequest":{ |
| 810 | + "type":"structure", |
| 811 | + "required":["workspaceId"], |
| 812 | + "members":{ |
| 813 | + "workspaceId":{ |
| 814 | + "shape":"WorkspaceId", |
| 815 | + "documentation":"<p>The ID of the workspace to vend logs to.</p>", |
| 816 | + "location":"uri", |
| 817 | + "locationName":"workspaceId" |
| 818 | + } |
| 819 | + }, |
| 820 | + "documentation":"<p>Represents the input of a DescribeLoggingConfiguration operation.</p>" |
| 821 | + }, |
| 822 | + "DescribeLoggingConfigurationResponse":{ |
| 823 | + "type":"structure", |
| 824 | + "required":["loggingConfiguration"], |
| 825 | + "members":{ |
| 826 | + "loggingConfiguration":{ |
| 827 | + "shape":"LoggingConfigurationMetadata", |
| 828 | + "documentation":"<p>Metadata object containing information about the logging configuration of a workspace.</p>" |
| 829 | + } |
| 830 | + }, |
| 831 | + "documentation":"<p>Represents the output of a DescribeLoggingConfiguration operation.</p>" |
| 832 | + }, |
681 | 833 | "DescribeRuleGroupsNamespaceRequest":{
|
682 | 834 | "type":"structure",
|
683 | 835 | "required":[
|
|
882 | 1034 | },
|
883 | 1035 | "documentation":"<p>Represents the output of a ListWorkspaces operation.</p>"
|
884 | 1036 | },
|
| 1037 | + "LogGroupArn":{ |
| 1038 | + "type":"string", |
| 1039 | + "pattern":"^arn:aws[a-z0-9-]*:logs:[a-z0-9-]+:\\d{12}:log-group:[A-Za-z0-9\\.\\-\\_\\#/]{1,512}\\:\\*$" |
| 1040 | + }, |
| 1041 | + "LoggingConfigurationMetadata":{ |
| 1042 | + "type":"structure", |
| 1043 | + "required":[ |
| 1044 | + "createdAt", |
| 1045 | + "logGroupArn", |
| 1046 | + "modifiedAt", |
| 1047 | + "status", |
| 1048 | + "workspace" |
| 1049 | + ], |
| 1050 | + "members":{ |
| 1051 | + "createdAt":{ |
| 1052 | + "shape":"Timestamp", |
| 1053 | + "documentation":"<p>The time when the logging configuration was created.</p>" |
| 1054 | + }, |
| 1055 | + "logGroupArn":{ |
| 1056 | + "shape":"LogGroupArn", |
| 1057 | + "documentation":"<p>The ARN of the CW log group to which the vended log data will be published.</p>" |
| 1058 | + }, |
| 1059 | + "modifiedAt":{ |
| 1060 | + "shape":"Timestamp", |
| 1061 | + "documentation":"<p>The time when the logging configuration was modified.</p>" |
| 1062 | + }, |
| 1063 | + "status":{ |
| 1064 | + "shape":"LoggingConfigurationStatus", |
| 1065 | + "documentation":"<p>The status of the logging configuration.</p>" |
| 1066 | + }, |
| 1067 | + "workspace":{ |
| 1068 | + "shape":"WorkspaceId", |
| 1069 | + "documentation":"<p>The workspace where the logging configuration exists.</p>" |
| 1070 | + } |
| 1071 | + }, |
| 1072 | + "documentation":"<p>Represents the properties of a logging configuration metadata.</p>" |
| 1073 | + }, |
| 1074 | + "LoggingConfigurationStatus":{ |
| 1075 | + "type":"structure", |
| 1076 | + "required":["statusCode"], |
| 1077 | + "members":{ |
| 1078 | + "statusCode":{ |
| 1079 | + "shape":"LoggingConfigurationStatusCode", |
| 1080 | + "documentation":"<p>Status code of the logging configuration.</p>" |
| 1081 | + }, |
| 1082 | + "statusReason":{ |
| 1083 | + "shape":"String", |
| 1084 | + "documentation":"<p>The reason for failure if any.</p>" |
| 1085 | + } |
| 1086 | + }, |
| 1087 | + "documentation":"<p>Represents the status of a logging configuration.</p>" |
| 1088 | + }, |
| 1089 | + "LoggingConfigurationStatusCode":{ |
| 1090 | + "type":"string", |
| 1091 | + "documentation":"<p>State of a logging configuration.</p>", |
| 1092 | + "enum":[ |
| 1093 | + "CREATING", |
| 1094 | + "ACTIVE", |
| 1095 | + "UPDATING", |
| 1096 | + "DELETING", |
| 1097 | + "CREATION_FAILED", |
| 1098 | + "UPDATE_FAILED" |
| 1099 | + ] |
| 1100 | + }, |
885 | 1101 | "PaginationToken":{
|
886 | 1102 | "type":"string",
|
887 | 1103 | "documentation":"<p>A token used to access the next page in a paginated result set.</p>"
|
|
1283 | 1499 | "members":{
|
1284 | 1500 | }
|
1285 | 1501 | },
|
| 1502 | + "UpdateLoggingConfigurationRequest":{ |
| 1503 | + "type":"structure", |
| 1504 | + "required":[ |
| 1505 | + "logGroupArn", |
| 1506 | + "workspaceId" |
| 1507 | + ], |
| 1508 | + "members":{ |
| 1509 | + "clientToken":{ |
| 1510 | + "shape":"IdempotencyToken", |
| 1511 | + "documentation":"<p>Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.</p>", |
| 1512 | + "idempotencyToken":true |
| 1513 | + }, |
| 1514 | + "logGroupArn":{ |
| 1515 | + "shape":"LogGroupArn", |
| 1516 | + "documentation":"<p>The ARN of the CW log group to which the vended log data will be published.</p>" |
| 1517 | + }, |
| 1518 | + "workspaceId":{ |
| 1519 | + "shape":"WorkspaceId", |
| 1520 | + "documentation":"<p>The ID of the workspace to vend logs to.</p>", |
| 1521 | + "location":"uri", |
| 1522 | + "locationName":"workspaceId" |
| 1523 | + } |
| 1524 | + }, |
| 1525 | + "documentation":"<p>Represents the input of an UpdateLoggingConfiguration operation.</p>" |
| 1526 | + }, |
| 1527 | + "UpdateLoggingConfigurationResponse":{ |
| 1528 | + "type":"structure", |
| 1529 | + "required":["status"], |
| 1530 | + "members":{ |
| 1531 | + "status":{ |
| 1532 | + "shape":"LoggingConfigurationStatus", |
| 1533 | + "documentation":"<p>The status of the logging configuration.</p>" |
| 1534 | + } |
| 1535 | + }, |
| 1536 | + "documentation":"<p>Represents the output of an UpdateLoggingConfiguration operation.</p>" |
| 1537 | + }, |
1286 | 1538 | "UpdateWorkspaceAliasRequest":{
|
1287 | 1539 | "type":"structure",
|
1288 | 1540 | "required":["workspaceId"],
|
|
0 commit comments