github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/amp/2020-08-01/api-2.json (about) 1 { 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2020-08-01", 5 "endpointPrefix":"aps", 6 "jsonVersion":"1.1", 7 "protocol":"rest-json", 8 "serviceFullName":"Amazon Prometheus Service", 9 "serviceId":"amp", 10 "signatureVersion":"v4", 11 "signingName":"aps", 12 "uid":"amp-2020-08-01" 13 }, 14 "operations":{ 15 "CreateAlertManagerDefinition":{ 16 "name":"CreateAlertManagerDefinition", 17 "http":{ 18 "method":"POST", 19 "requestUri":"/workspaces/{workspaceId}/alertmanager/definition", 20 "responseCode":202 21 }, 22 "input":{"shape":"CreateAlertManagerDefinitionRequest"}, 23 "output":{"shape":"CreateAlertManagerDefinitionResponse"}, 24 "errors":[ 25 {"shape":"ThrottlingException"}, 26 {"shape":"ConflictException"}, 27 {"shape":"ValidationException"}, 28 {"shape":"ResourceNotFoundException"}, 29 {"shape":"AccessDeniedException"}, 30 {"shape":"InternalServerException"}, 31 {"shape":"ServiceQuotaExceededException"} 32 ], 33 "idempotent":true 34 }, 35 "CreateRuleGroupsNamespace":{ 36 "name":"CreateRuleGroupsNamespace", 37 "http":{ 38 "method":"POST", 39 "requestUri":"/workspaces/{workspaceId}/rulegroupsnamespaces", 40 "responseCode":202 41 }, 42 "input":{"shape":"CreateRuleGroupsNamespaceRequest"}, 43 "output":{"shape":"CreateRuleGroupsNamespaceResponse"}, 44 "errors":[ 45 {"shape":"ThrottlingException"}, 46 {"shape":"ConflictException"}, 47 {"shape":"ValidationException"}, 48 {"shape":"ResourceNotFoundException"}, 49 {"shape":"AccessDeniedException"}, 50 {"shape":"InternalServerException"}, 51 {"shape":"ServiceQuotaExceededException"} 52 ], 53 "idempotent":true 54 }, 55 "CreateWorkspace":{ 56 "name":"CreateWorkspace", 57 "http":{ 58 "method":"POST", 59 "requestUri":"/workspaces", 60 "responseCode":202 61 }, 62 "input":{"shape":"CreateWorkspaceRequest"}, 63 "output":{"shape":"CreateWorkspaceResponse"}, 64 "errors":[ 65 {"shape":"ThrottlingException"}, 66 {"shape":"ConflictException"}, 67 {"shape":"ValidationException"}, 68 {"shape":"AccessDeniedException"}, 69 {"shape":"InternalServerException"}, 70 {"shape":"ServiceQuotaExceededException"} 71 ], 72 "idempotent":true 73 }, 74 "DeleteAlertManagerDefinition":{ 75 "name":"DeleteAlertManagerDefinition", 76 "http":{ 77 "method":"DELETE", 78 "requestUri":"/workspaces/{workspaceId}/alertmanager/definition", 79 "responseCode":202 80 }, 81 "input":{"shape":"DeleteAlertManagerDefinitionRequest"}, 82 "errors":[ 83 {"shape":"ThrottlingException"}, 84 {"shape":"ConflictException"}, 85 {"shape":"ValidationException"}, 86 {"shape":"ResourceNotFoundException"}, 87 {"shape":"AccessDeniedException"}, 88 {"shape":"InternalServerException"} 89 ], 90 "idempotent":true 91 }, 92 "DeleteRuleGroupsNamespace":{ 93 "name":"DeleteRuleGroupsNamespace", 94 "http":{ 95 "method":"DELETE", 96 "requestUri":"/workspaces/{workspaceId}/rulegroupsnamespaces/{name}", 97 "responseCode":202 98 }, 99 "input":{"shape":"DeleteRuleGroupsNamespaceRequest"}, 100 "errors":[ 101 {"shape":"ThrottlingException"}, 102 {"shape":"ConflictException"}, 103 {"shape":"ValidationException"}, 104 {"shape":"ResourceNotFoundException"}, 105 {"shape":"AccessDeniedException"}, 106 {"shape":"InternalServerException"} 107 ], 108 "idempotent":true 109 }, 110 "DeleteWorkspace":{ 111 "name":"DeleteWorkspace", 112 "http":{ 113 "method":"DELETE", 114 "requestUri":"/workspaces/{workspaceId}", 115 "responseCode":202 116 }, 117 "input":{"shape":"DeleteWorkspaceRequest"}, 118 "errors":[ 119 {"shape":"ThrottlingException"}, 120 {"shape":"ConflictException"}, 121 {"shape":"ValidationException"}, 122 {"shape":"ResourceNotFoundException"}, 123 {"shape":"AccessDeniedException"}, 124 {"shape":"InternalServerException"} 125 ], 126 "idempotent":true 127 }, 128 "DescribeAlertManagerDefinition":{ 129 "name":"DescribeAlertManagerDefinition", 130 "http":{ 131 "method":"GET", 132 "requestUri":"/workspaces/{workspaceId}/alertmanager/definition", 133 "responseCode":200 134 }, 135 "input":{"shape":"DescribeAlertManagerDefinitionRequest"}, 136 "output":{"shape":"DescribeAlertManagerDefinitionResponse"}, 137 "errors":[ 138 {"shape":"ThrottlingException"}, 139 {"shape":"ValidationException"}, 140 {"shape":"ResourceNotFoundException"}, 141 {"shape":"AccessDeniedException"}, 142 {"shape":"InternalServerException"} 143 ] 144 }, 145 "DescribeRuleGroupsNamespace":{ 146 "name":"DescribeRuleGroupsNamespace", 147 "http":{ 148 "method":"GET", 149 "requestUri":"/workspaces/{workspaceId}/rulegroupsnamespaces/{name}", 150 "responseCode":200 151 }, 152 "input":{"shape":"DescribeRuleGroupsNamespaceRequest"}, 153 "output":{"shape":"DescribeRuleGroupsNamespaceResponse"}, 154 "errors":[ 155 {"shape":"ThrottlingException"}, 156 {"shape":"ValidationException"}, 157 {"shape":"ResourceNotFoundException"}, 158 {"shape":"AccessDeniedException"}, 159 {"shape":"InternalServerException"} 160 ] 161 }, 162 "DescribeWorkspace":{ 163 "name":"DescribeWorkspace", 164 "http":{ 165 "method":"GET", 166 "requestUri":"/workspaces/{workspaceId}", 167 "responseCode":200 168 }, 169 "input":{"shape":"DescribeWorkspaceRequest"}, 170 "output":{"shape":"DescribeWorkspaceResponse"}, 171 "errors":[ 172 {"shape":"ThrottlingException"}, 173 {"shape":"ValidationException"}, 174 {"shape":"ResourceNotFoundException"}, 175 {"shape":"AccessDeniedException"}, 176 {"shape":"InternalServerException"} 177 ] 178 }, 179 "ListRuleGroupsNamespaces":{ 180 "name":"ListRuleGroupsNamespaces", 181 "http":{ 182 "method":"GET", 183 "requestUri":"/workspaces/{workspaceId}/rulegroupsnamespaces", 184 "responseCode":200 185 }, 186 "input":{"shape":"ListRuleGroupsNamespacesRequest"}, 187 "output":{"shape":"ListRuleGroupsNamespacesResponse"}, 188 "errors":[ 189 {"shape":"ThrottlingException"}, 190 {"shape":"ValidationException"}, 191 {"shape":"ResourceNotFoundException"}, 192 {"shape":"AccessDeniedException"}, 193 {"shape":"InternalServerException"} 194 ] 195 }, 196 "ListTagsForResource":{ 197 "name":"ListTagsForResource", 198 "http":{ 199 "method":"GET", 200 "requestUri":"/tags/{resourceArn}", 201 "responseCode":200 202 }, 203 "input":{"shape":"ListTagsForResourceRequest"}, 204 "output":{"shape":"ListTagsForResourceResponse"}, 205 "errors":[ 206 {"shape":"ThrottlingException"}, 207 {"shape":"ValidationException"}, 208 {"shape":"ResourceNotFoundException"}, 209 {"shape":"AccessDeniedException"}, 210 {"shape":"InternalServerException"} 211 ] 212 }, 213 "ListWorkspaces":{ 214 "name":"ListWorkspaces", 215 "http":{ 216 "method":"GET", 217 "requestUri":"/workspaces", 218 "responseCode":200 219 }, 220 "input":{"shape":"ListWorkspacesRequest"}, 221 "output":{"shape":"ListWorkspacesResponse"}, 222 "errors":[ 223 {"shape":"ThrottlingException"}, 224 {"shape":"ValidationException"}, 225 {"shape":"AccessDeniedException"}, 226 {"shape":"InternalServerException"} 227 ] 228 }, 229 "PutAlertManagerDefinition":{ 230 "name":"PutAlertManagerDefinition", 231 "http":{ 232 "method":"PUT", 233 "requestUri":"/workspaces/{workspaceId}/alertmanager/definition", 234 "responseCode":202 235 }, 236 "input":{"shape":"PutAlertManagerDefinitionRequest"}, 237 "output":{"shape":"PutAlertManagerDefinitionResponse"}, 238 "errors":[ 239 {"shape":"ThrottlingException"}, 240 {"shape":"ConflictException"}, 241 {"shape":"ValidationException"}, 242 {"shape":"ResourceNotFoundException"}, 243 {"shape":"AccessDeniedException"}, 244 {"shape":"InternalServerException"}, 245 {"shape":"ServiceQuotaExceededException"} 246 ], 247 "idempotent":true 248 }, 249 "PutRuleGroupsNamespace":{ 250 "name":"PutRuleGroupsNamespace", 251 "http":{ 252 "method":"PUT", 253 "requestUri":"/workspaces/{workspaceId}/rulegroupsnamespaces/{name}", 254 "responseCode":202 255 }, 256 "input":{"shape":"PutRuleGroupsNamespaceRequest"}, 257 "output":{"shape":"PutRuleGroupsNamespaceResponse"}, 258 "errors":[ 259 {"shape":"ThrottlingException"}, 260 {"shape":"ConflictException"}, 261 {"shape":"ValidationException"}, 262 {"shape":"ResourceNotFoundException"}, 263 {"shape":"AccessDeniedException"}, 264 {"shape":"InternalServerException"}, 265 {"shape":"ServiceQuotaExceededException"} 266 ], 267 "idempotent":true 268 }, 269 "TagResource":{ 270 "name":"TagResource", 271 "http":{ 272 "method":"POST", 273 "requestUri":"/tags/{resourceArn}", 274 "responseCode":200 275 }, 276 "input":{"shape":"TagResourceRequest"}, 277 "output":{"shape":"TagResourceResponse"}, 278 "errors":[ 279 {"shape":"ThrottlingException"}, 280 {"shape":"ValidationException"}, 281 {"shape":"ResourceNotFoundException"}, 282 {"shape":"AccessDeniedException"}, 283 {"shape":"InternalServerException"} 284 ] 285 }, 286 "UntagResource":{ 287 "name":"UntagResource", 288 "http":{ 289 "method":"DELETE", 290 "requestUri":"/tags/{resourceArn}", 291 "responseCode":200 292 }, 293 "input":{"shape":"UntagResourceRequest"}, 294 "output":{"shape":"UntagResourceResponse"}, 295 "errors":[ 296 {"shape":"ThrottlingException"}, 297 {"shape":"ValidationException"}, 298 {"shape":"ResourceNotFoundException"}, 299 {"shape":"AccessDeniedException"}, 300 {"shape":"InternalServerException"} 301 ], 302 "idempotent":true 303 }, 304 "UpdateWorkspaceAlias":{ 305 "name":"UpdateWorkspaceAlias", 306 "http":{ 307 "method":"POST", 308 "requestUri":"/workspaces/{workspaceId}/alias", 309 "responseCode":204 310 }, 311 "input":{"shape":"UpdateWorkspaceAliasRequest"}, 312 "errors":[ 313 {"shape":"ThrottlingException"}, 314 {"shape":"ConflictException"}, 315 {"shape":"ValidationException"}, 316 {"shape":"ResourceNotFoundException"}, 317 {"shape":"AccessDeniedException"}, 318 {"shape":"InternalServerException"}, 319 {"shape":"ServiceQuotaExceededException"} 320 ], 321 "idempotent":true 322 } 323 }, 324 "shapes":{ 325 "AccessDeniedException":{ 326 "type":"structure", 327 "required":["message"], 328 "members":{ 329 "message":{"shape":"String"} 330 }, 331 "error":{ 332 "httpStatusCode":403, 333 "senderFault":true 334 }, 335 "exception":true 336 }, 337 "AlertManagerDefinitionData":{"type":"blob"}, 338 "AlertManagerDefinitionDescription":{ 339 "type":"structure", 340 "required":[ 341 "createdAt", 342 "data", 343 "modifiedAt", 344 "status" 345 ], 346 "members":{ 347 "createdAt":{"shape":"Timestamp"}, 348 "data":{"shape":"AlertManagerDefinitionData"}, 349 "modifiedAt":{"shape":"Timestamp"}, 350 "status":{"shape":"AlertManagerDefinitionStatus"} 351 } 352 }, 353 "AlertManagerDefinitionStatus":{ 354 "type":"structure", 355 "required":["statusCode"], 356 "members":{ 357 "statusCode":{"shape":"AlertManagerDefinitionStatusCode"}, 358 "statusReason":{"shape":"String"} 359 } 360 }, 361 "AlertManagerDefinitionStatusCode":{ 362 "type":"string", 363 "enum":[ 364 "CREATING", 365 "ACTIVE", 366 "UPDATING", 367 "DELETING", 368 "CREATION_FAILED", 369 "UPDATE_FAILED" 370 ] 371 }, 372 "ConflictException":{ 373 "type":"structure", 374 "required":[ 375 "message", 376 "resourceId", 377 "resourceType" 378 ], 379 "members":{ 380 "message":{"shape":"String"}, 381 "resourceId":{"shape":"String"}, 382 "resourceType":{"shape":"String"} 383 }, 384 "error":{ 385 "httpStatusCode":409, 386 "senderFault":true 387 }, 388 "exception":true 389 }, 390 "CreateAlertManagerDefinitionRequest":{ 391 "type":"structure", 392 "required":[ 393 "data", 394 "workspaceId" 395 ], 396 "members":{ 397 "clientToken":{ 398 "shape":"IdempotencyToken", 399 "idempotencyToken":true 400 }, 401 "data":{"shape":"AlertManagerDefinitionData"}, 402 "workspaceId":{ 403 "shape":"WorkspaceId", 404 "location":"uri", 405 "locationName":"workspaceId" 406 } 407 } 408 }, 409 "CreateAlertManagerDefinitionResponse":{ 410 "type":"structure", 411 "required":["status"], 412 "members":{ 413 "status":{"shape":"AlertManagerDefinitionStatus"} 414 } 415 }, 416 "CreateRuleGroupsNamespaceRequest":{ 417 "type":"structure", 418 "required":[ 419 "data", 420 "name", 421 "workspaceId" 422 ], 423 "members":{ 424 "clientToken":{ 425 "shape":"IdempotencyToken", 426 "idempotencyToken":true 427 }, 428 "data":{"shape":"RuleGroupsNamespaceData"}, 429 "name":{"shape":"RuleGroupsNamespaceName"}, 430 "tags":{"shape":"TagMap"}, 431 "workspaceId":{ 432 "shape":"WorkspaceId", 433 "location":"uri", 434 "locationName":"workspaceId" 435 } 436 } 437 }, 438 "CreateRuleGroupsNamespaceResponse":{ 439 "type":"structure", 440 "required":[ 441 "arn", 442 "name", 443 "status" 444 ], 445 "members":{ 446 "arn":{"shape":"RuleGroupsNamespaceArn"}, 447 "name":{"shape":"RuleGroupsNamespaceName"}, 448 "status":{"shape":"RuleGroupsNamespaceStatus"}, 449 "tags":{"shape":"TagMap"} 450 } 451 }, 452 "CreateWorkspaceRequest":{ 453 "type":"structure", 454 "members":{ 455 "alias":{"shape":"WorkspaceAlias"}, 456 "clientToken":{ 457 "shape":"IdempotencyToken", 458 "idempotencyToken":true 459 }, 460 "tags":{"shape":"TagMap"} 461 } 462 }, 463 "CreateWorkspaceResponse":{ 464 "type":"structure", 465 "required":[ 466 "arn", 467 "status", 468 "workspaceId" 469 ], 470 "members":{ 471 "arn":{"shape":"WorkspaceArn"}, 472 "status":{"shape":"WorkspaceStatus"}, 473 "tags":{"shape":"TagMap"}, 474 "workspaceId":{"shape":"WorkspaceId"} 475 } 476 }, 477 "DeleteAlertManagerDefinitionRequest":{ 478 "type":"structure", 479 "required":["workspaceId"], 480 "members":{ 481 "clientToken":{ 482 "shape":"IdempotencyToken", 483 "idempotencyToken":true, 484 "location":"querystring", 485 "locationName":"clientToken" 486 }, 487 "workspaceId":{ 488 "shape":"WorkspaceId", 489 "location":"uri", 490 "locationName":"workspaceId" 491 } 492 } 493 }, 494 "DeleteRuleGroupsNamespaceRequest":{ 495 "type":"structure", 496 "required":[ 497 "name", 498 "workspaceId" 499 ], 500 "members":{ 501 "clientToken":{ 502 "shape":"IdempotencyToken", 503 "idempotencyToken":true, 504 "location":"querystring", 505 "locationName":"clientToken" 506 }, 507 "name":{ 508 "shape":"RuleGroupsNamespaceName", 509 "location":"uri", 510 "locationName":"name" 511 }, 512 "workspaceId":{ 513 "shape":"WorkspaceId", 514 "location":"uri", 515 "locationName":"workspaceId" 516 } 517 } 518 }, 519 "DeleteWorkspaceRequest":{ 520 "type":"structure", 521 "required":["workspaceId"], 522 "members":{ 523 "clientToken":{ 524 "shape":"IdempotencyToken", 525 "idempotencyToken":true, 526 "location":"querystring", 527 "locationName":"clientToken" 528 }, 529 "workspaceId":{ 530 "shape":"WorkspaceId", 531 "location":"uri", 532 "locationName":"workspaceId" 533 } 534 } 535 }, 536 "DescribeAlertManagerDefinitionRequest":{ 537 "type":"structure", 538 "required":["workspaceId"], 539 "members":{ 540 "workspaceId":{ 541 "shape":"WorkspaceId", 542 "location":"uri", 543 "locationName":"workspaceId" 544 } 545 } 546 }, 547 "DescribeAlertManagerDefinitionResponse":{ 548 "type":"structure", 549 "required":["alertManagerDefinition"], 550 "members":{ 551 "alertManagerDefinition":{"shape":"AlertManagerDefinitionDescription"} 552 } 553 }, 554 "DescribeRuleGroupsNamespaceRequest":{ 555 "type":"structure", 556 "required":[ 557 "name", 558 "workspaceId" 559 ], 560 "members":{ 561 "name":{ 562 "shape":"RuleGroupsNamespaceName", 563 "location":"uri", 564 "locationName":"name" 565 }, 566 "workspaceId":{ 567 "shape":"WorkspaceId", 568 "location":"uri", 569 "locationName":"workspaceId" 570 } 571 } 572 }, 573 "DescribeRuleGroupsNamespaceResponse":{ 574 "type":"structure", 575 "required":["ruleGroupsNamespace"], 576 "members":{ 577 "ruleGroupsNamespace":{"shape":"RuleGroupsNamespaceDescription"} 578 } 579 }, 580 "DescribeWorkspaceRequest":{ 581 "type":"structure", 582 "required":["workspaceId"], 583 "members":{ 584 "workspaceId":{ 585 "shape":"WorkspaceId", 586 "location":"uri", 587 "locationName":"workspaceId" 588 } 589 } 590 }, 591 "DescribeWorkspaceResponse":{ 592 "type":"structure", 593 "required":["workspace"], 594 "members":{ 595 "workspace":{"shape":"WorkspaceDescription"} 596 } 597 }, 598 "IdempotencyToken":{ 599 "type":"string", 600 "max":64, 601 "min":1, 602 "pattern":"[!-~]+" 603 }, 604 "Integer":{ 605 "type":"integer", 606 "box":true 607 }, 608 "InternalServerException":{ 609 "type":"structure", 610 "required":["message"], 611 "members":{ 612 "message":{"shape":"String"}, 613 "retryAfterSeconds":{ 614 "shape":"Integer", 615 "location":"header", 616 "locationName":"Retry-After" 617 } 618 }, 619 "error":{"httpStatusCode":500}, 620 "exception":true, 621 "fault":true, 622 "retryable":{"throttling":false} 623 }, 624 "ListRuleGroupsNamespacesRequest":{ 625 "type":"structure", 626 "required":["workspaceId"], 627 "members":{ 628 "maxResults":{ 629 "shape":"ListRuleGroupsNamespacesRequestMaxResultsInteger", 630 "location":"querystring", 631 "locationName":"maxResults" 632 }, 633 "name":{ 634 "shape":"RuleGroupsNamespaceName", 635 "location":"querystring", 636 "locationName":"name" 637 }, 638 "nextToken":{ 639 "shape":"PaginationToken", 640 "location":"querystring", 641 "locationName":"nextToken" 642 }, 643 "workspaceId":{ 644 "shape":"WorkspaceId", 645 "location":"uri", 646 "locationName":"workspaceId" 647 } 648 } 649 }, 650 "ListRuleGroupsNamespacesRequestMaxResultsInteger":{ 651 "type":"integer", 652 "box":true, 653 "max":1000, 654 "min":1 655 }, 656 "ListRuleGroupsNamespacesResponse":{ 657 "type":"structure", 658 "required":["ruleGroupsNamespaces"], 659 "members":{ 660 "nextToken":{"shape":"PaginationToken"}, 661 "ruleGroupsNamespaces":{"shape":"RuleGroupsNamespaceSummaryList"} 662 } 663 }, 664 "ListTagsForResourceRequest":{ 665 "type":"structure", 666 "required":["resourceArn"], 667 "members":{ 668 "resourceArn":{ 669 "shape":"String", 670 "location":"uri", 671 "locationName":"resourceArn" 672 } 673 } 674 }, 675 "ListTagsForResourceResponse":{ 676 "type":"structure", 677 "members":{ 678 "tags":{"shape":"TagMap"} 679 } 680 }, 681 "ListWorkspacesRequest":{ 682 "type":"structure", 683 "members":{ 684 "alias":{ 685 "shape":"WorkspaceAlias", 686 "location":"querystring", 687 "locationName":"alias" 688 }, 689 "maxResults":{ 690 "shape":"ListWorkspacesRequestMaxResultsInteger", 691 "location":"querystring", 692 "locationName":"maxResults" 693 }, 694 "nextToken":{ 695 "shape":"PaginationToken", 696 "location":"querystring", 697 "locationName":"nextToken" 698 } 699 } 700 }, 701 "ListWorkspacesRequestMaxResultsInteger":{ 702 "type":"integer", 703 "box":true, 704 "max":1000, 705 "min":1 706 }, 707 "ListWorkspacesResponse":{ 708 "type":"structure", 709 "required":["workspaces"], 710 "members":{ 711 "nextToken":{"shape":"PaginationToken"}, 712 "workspaces":{"shape":"WorkspaceSummaryList"} 713 } 714 }, 715 "PaginationToken":{"type":"string"}, 716 "PutAlertManagerDefinitionRequest":{ 717 "type":"structure", 718 "required":[ 719 "data", 720 "workspaceId" 721 ], 722 "members":{ 723 "clientToken":{ 724 "shape":"IdempotencyToken", 725 "idempotencyToken":true 726 }, 727 "data":{"shape":"AlertManagerDefinitionData"}, 728 "workspaceId":{ 729 "shape":"WorkspaceId", 730 "location":"uri", 731 "locationName":"workspaceId" 732 } 733 } 734 }, 735 "PutAlertManagerDefinitionResponse":{ 736 "type":"structure", 737 "required":["status"], 738 "members":{ 739 "status":{"shape":"AlertManagerDefinitionStatus"} 740 } 741 }, 742 "PutRuleGroupsNamespaceRequest":{ 743 "type":"structure", 744 "required":[ 745 "data", 746 "name", 747 "workspaceId" 748 ], 749 "members":{ 750 "clientToken":{ 751 "shape":"IdempotencyToken", 752 "idempotencyToken":true 753 }, 754 "data":{"shape":"RuleGroupsNamespaceData"}, 755 "name":{ 756 "shape":"RuleGroupsNamespaceName", 757 "location":"uri", 758 "locationName":"name" 759 }, 760 "workspaceId":{ 761 "shape":"WorkspaceId", 762 "location":"uri", 763 "locationName":"workspaceId" 764 } 765 } 766 }, 767 "PutRuleGroupsNamespaceResponse":{ 768 "type":"structure", 769 "required":[ 770 "arn", 771 "name", 772 "status" 773 ], 774 "members":{ 775 "arn":{"shape":"RuleGroupsNamespaceArn"}, 776 "name":{"shape":"RuleGroupsNamespaceName"}, 777 "status":{"shape":"RuleGroupsNamespaceStatus"}, 778 "tags":{"shape":"TagMap"} 779 } 780 }, 781 "ResourceNotFoundException":{ 782 "type":"structure", 783 "required":[ 784 "message", 785 "resourceId", 786 "resourceType" 787 ], 788 "members":{ 789 "message":{"shape":"String"}, 790 "resourceId":{"shape":"String"}, 791 "resourceType":{"shape":"String"} 792 }, 793 "error":{ 794 "httpStatusCode":404, 795 "senderFault":true 796 }, 797 "exception":true 798 }, 799 "RuleGroupsNamespaceArn":{"type":"string"}, 800 "RuleGroupsNamespaceData":{"type":"blob"}, 801 "RuleGroupsNamespaceDescription":{ 802 "type":"structure", 803 "required":[ 804 "arn", 805 "createdAt", 806 "data", 807 "modifiedAt", 808 "name", 809 "status" 810 ], 811 "members":{ 812 "arn":{"shape":"RuleGroupsNamespaceArn"}, 813 "createdAt":{"shape":"Timestamp"}, 814 "data":{"shape":"RuleGroupsNamespaceData"}, 815 "modifiedAt":{"shape":"Timestamp"}, 816 "name":{"shape":"RuleGroupsNamespaceName"}, 817 "status":{"shape":"RuleGroupsNamespaceStatus"}, 818 "tags":{"shape":"TagMap"} 819 } 820 }, 821 "RuleGroupsNamespaceName":{ 822 "type":"string", 823 "max":64, 824 "min":1, 825 "pattern":"[0-9A-Za-z][-.0-9A-Z_a-z]*" 826 }, 827 "RuleGroupsNamespaceStatus":{ 828 "type":"structure", 829 "required":["statusCode"], 830 "members":{ 831 "statusCode":{"shape":"RuleGroupsNamespaceStatusCode"}, 832 "statusReason":{"shape":"String"} 833 } 834 }, 835 "RuleGroupsNamespaceStatusCode":{ 836 "type":"string", 837 "enum":[ 838 "CREATING", 839 "ACTIVE", 840 "UPDATING", 841 "DELETING", 842 "CREATION_FAILED", 843 "UPDATE_FAILED" 844 ] 845 }, 846 "RuleGroupsNamespaceSummary":{ 847 "type":"structure", 848 "required":[ 849 "arn", 850 "createdAt", 851 "modifiedAt", 852 "name", 853 "status" 854 ], 855 "members":{ 856 "arn":{"shape":"RuleGroupsNamespaceArn"}, 857 "createdAt":{"shape":"Timestamp"}, 858 "modifiedAt":{"shape":"Timestamp"}, 859 "name":{"shape":"RuleGroupsNamespaceName"}, 860 "status":{"shape":"RuleGroupsNamespaceStatus"}, 861 "tags":{"shape":"TagMap"} 862 } 863 }, 864 "RuleGroupsNamespaceSummaryList":{ 865 "type":"list", 866 "member":{"shape":"RuleGroupsNamespaceSummary"} 867 }, 868 "ServiceQuotaExceededException":{ 869 "type":"structure", 870 "required":[ 871 "message", 872 "quotaCode", 873 "resourceId", 874 "resourceType", 875 "serviceCode" 876 ], 877 "members":{ 878 "message":{"shape":"String"}, 879 "quotaCode":{"shape":"String"}, 880 "resourceId":{"shape":"String"}, 881 "resourceType":{"shape":"String"}, 882 "serviceCode":{"shape":"String"} 883 }, 884 "error":{ 885 "httpStatusCode":402, 886 "senderFault":true 887 }, 888 "exception":true 889 }, 890 "String":{"type":"string"}, 891 "TagKey":{ 892 "type":"string", 893 "max":128, 894 "min":1, 895 "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" 896 }, 897 "TagKeys":{ 898 "type":"list", 899 "member":{"shape":"TagKey"} 900 }, 901 "TagMap":{ 902 "type":"map", 903 "key":{"shape":"TagKey"}, 904 "value":{"shape":"TagValue"}, 905 "max":50, 906 "min":0 907 }, 908 "TagResourceRequest":{ 909 "type":"structure", 910 "required":[ 911 "resourceArn", 912 "tags" 913 ], 914 "members":{ 915 "resourceArn":{ 916 "shape":"String", 917 "location":"uri", 918 "locationName":"resourceArn" 919 }, 920 "tags":{"shape":"TagMap"} 921 } 922 }, 923 "TagResourceResponse":{ 924 "type":"structure", 925 "members":{ 926 } 927 }, 928 "TagValue":{ 929 "type":"string", 930 "max":256, 931 "min":0, 932 "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" 933 }, 934 "ThrottlingException":{ 935 "type":"structure", 936 "required":["message"], 937 "members":{ 938 "message":{"shape":"String"}, 939 "quotaCode":{"shape":"String"}, 940 "retryAfterSeconds":{ 941 "shape":"Integer", 942 "location":"header", 943 "locationName":"Retry-After" 944 }, 945 "serviceCode":{"shape":"String"} 946 }, 947 "error":{ 948 "httpStatusCode":429, 949 "senderFault":true 950 }, 951 "exception":true, 952 "retryable":{"throttling":false} 953 }, 954 "Timestamp":{"type":"timestamp"}, 955 "UntagResourceRequest":{ 956 "type":"structure", 957 "required":[ 958 "resourceArn", 959 "tagKeys" 960 ], 961 "members":{ 962 "resourceArn":{ 963 "shape":"String", 964 "location":"uri", 965 "locationName":"resourceArn" 966 }, 967 "tagKeys":{ 968 "shape":"TagKeys", 969 "location":"querystring", 970 "locationName":"tagKeys" 971 } 972 } 973 }, 974 "UntagResourceResponse":{ 975 "type":"structure", 976 "members":{ 977 } 978 }, 979 "UpdateWorkspaceAliasRequest":{ 980 "type":"structure", 981 "required":["workspaceId"], 982 "members":{ 983 "alias":{"shape":"WorkspaceAlias"}, 984 "clientToken":{ 985 "shape":"IdempotencyToken", 986 "idempotencyToken":true 987 }, 988 "workspaceId":{ 989 "shape":"WorkspaceId", 990 "location":"uri", 991 "locationName":"workspaceId" 992 } 993 } 994 }, 995 "Uri":{ 996 "type":"string", 997 "max":1024, 998 "min":1 999 }, 1000 "ValidationException":{ 1001 "type":"structure", 1002 "required":[ 1003 "message", 1004 "reason" 1005 ], 1006 "members":{ 1007 "fieldList":{"shape":"ValidationExceptionFieldList"}, 1008 "message":{"shape":"String"}, 1009 "reason":{"shape":"ValidationExceptionReason"} 1010 }, 1011 "error":{ 1012 "httpStatusCode":400, 1013 "senderFault":true 1014 }, 1015 "exception":true 1016 }, 1017 "ValidationExceptionField":{ 1018 "type":"structure", 1019 "required":[ 1020 "message", 1021 "name" 1022 ], 1023 "members":{ 1024 "message":{"shape":"String"}, 1025 "name":{"shape":"String"} 1026 } 1027 }, 1028 "ValidationExceptionFieldList":{ 1029 "type":"list", 1030 "member":{"shape":"ValidationExceptionField"} 1031 }, 1032 "ValidationExceptionReason":{ 1033 "type":"string", 1034 "enum":[ 1035 "UNKNOWN_OPERATION", 1036 "CANNOT_PARSE", 1037 "FIELD_VALIDATION_FAILED", 1038 "OTHER" 1039 ] 1040 }, 1041 "WorkspaceAlias":{ 1042 "type":"string", 1043 "max":100, 1044 "min":1 1045 }, 1046 "WorkspaceArn":{"type":"string"}, 1047 "WorkspaceDescription":{ 1048 "type":"structure", 1049 "required":[ 1050 "arn", 1051 "createdAt", 1052 "status", 1053 "workspaceId" 1054 ], 1055 "members":{ 1056 "alias":{"shape":"WorkspaceAlias"}, 1057 "arn":{"shape":"WorkspaceArn"}, 1058 "createdAt":{"shape":"Timestamp"}, 1059 "prometheusEndpoint":{"shape":"Uri"}, 1060 "status":{"shape":"WorkspaceStatus"}, 1061 "tags":{"shape":"TagMap"}, 1062 "workspaceId":{"shape":"WorkspaceId"} 1063 } 1064 }, 1065 "WorkspaceId":{ 1066 "type":"string", 1067 "max":64, 1068 "min":1, 1069 "pattern":"[0-9A-Za-z][-.0-9A-Z_a-z]*" 1070 }, 1071 "WorkspaceStatus":{ 1072 "type":"structure", 1073 "required":["statusCode"], 1074 "members":{ 1075 "statusCode":{"shape":"WorkspaceStatusCode"} 1076 } 1077 }, 1078 "WorkspaceStatusCode":{ 1079 "type":"string", 1080 "enum":[ 1081 "CREATING", 1082 "ACTIVE", 1083 "UPDATING", 1084 "DELETING", 1085 "CREATION_FAILED" 1086 ] 1087 }, 1088 "WorkspaceSummary":{ 1089 "type":"structure", 1090 "required":[ 1091 "arn", 1092 "createdAt", 1093 "status", 1094 "workspaceId" 1095 ], 1096 "members":{ 1097 "alias":{"shape":"WorkspaceAlias"}, 1098 "arn":{"shape":"WorkspaceArn"}, 1099 "createdAt":{"shape":"Timestamp"}, 1100 "status":{"shape":"WorkspaceStatus"}, 1101 "tags":{"shape":"TagMap"}, 1102 "workspaceId":{"shape":"WorkspaceId"} 1103 } 1104 }, 1105 "WorkspaceSummaryList":{ 1106 "type":"list", 1107 "member":{"shape":"WorkspaceSummary"} 1108 } 1109 } 1110 }