github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/secretsmanager/2017-10-17/api-2.json (about) 1 { 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2017-10-17", 5 "endpointPrefix":"secretsmanager", 6 "jsonVersion":"1.1", 7 "protocol":"json", 8 "serviceFullName":"AWS Secrets Manager", 9 "serviceId":"Secrets Manager", 10 "signatureVersion":"v4", 11 "signingName":"secretsmanager", 12 "targetPrefix":"secretsmanager", 13 "uid":"secretsmanager-2017-10-17" 14 }, 15 "operations":{ 16 "CancelRotateSecret":{ 17 "name":"CancelRotateSecret", 18 "http":{ 19 "method":"POST", 20 "requestUri":"/" 21 }, 22 "input":{"shape":"CancelRotateSecretRequest"}, 23 "output":{"shape":"CancelRotateSecretResponse"}, 24 "errors":[ 25 {"shape":"ResourceNotFoundException"}, 26 {"shape":"InvalidParameterException"}, 27 {"shape":"InternalServiceError"}, 28 {"shape":"InvalidRequestException"} 29 ] 30 }, 31 "CreateSecret":{ 32 "name":"CreateSecret", 33 "http":{ 34 "method":"POST", 35 "requestUri":"/" 36 }, 37 "input":{"shape":"CreateSecretRequest"}, 38 "output":{"shape":"CreateSecretResponse"}, 39 "errors":[ 40 {"shape":"InvalidParameterException"}, 41 {"shape":"InvalidRequestException"}, 42 {"shape":"LimitExceededException"}, 43 {"shape":"EncryptionFailure"}, 44 {"shape":"ResourceExistsException"}, 45 {"shape":"ResourceNotFoundException"}, 46 {"shape":"MalformedPolicyDocumentException"}, 47 {"shape":"InternalServiceError"}, 48 {"shape":"PreconditionNotMetException"} 49 ] 50 }, 51 "DeleteResourcePolicy":{ 52 "name":"DeleteResourcePolicy", 53 "http":{ 54 "method":"POST", 55 "requestUri":"/" 56 }, 57 "input":{"shape":"DeleteResourcePolicyRequest"}, 58 "output":{"shape":"DeleteResourcePolicyResponse"}, 59 "errors":[ 60 {"shape":"ResourceNotFoundException"}, 61 {"shape":"InternalServiceError"}, 62 {"shape":"InvalidRequestException"}, 63 {"shape":"InvalidParameterException"} 64 ] 65 }, 66 "DeleteSecret":{ 67 "name":"DeleteSecret", 68 "http":{ 69 "method":"POST", 70 "requestUri":"/" 71 }, 72 "input":{"shape":"DeleteSecretRequest"}, 73 "output":{"shape":"DeleteSecretResponse"}, 74 "errors":[ 75 {"shape":"ResourceNotFoundException"}, 76 {"shape":"InvalidParameterException"}, 77 {"shape":"InvalidRequestException"}, 78 {"shape":"InternalServiceError"} 79 ] 80 }, 81 "DescribeSecret":{ 82 "name":"DescribeSecret", 83 "http":{ 84 "method":"POST", 85 "requestUri":"/" 86 }, 87 "input":{"shape":"DescribeSecretRequest"}, 88 "output":{"shape":"DescribeSecretResponse"}, 89 "errors":[ 90 {"shape":"ResourceNotFoundException"}, 91 {"shape":"InternalServiceError"}, 92 {"shape":"InvalidParameterException"} 93 ] 94 }, 95 "GetRandomPassword":{ 96 "name":"GetRandomPassword", 97 "http":{ 98 "method":"POST", 99 "requestUri":"/" 100 }, 101 "input":{"shape":"GetRandomPasswordRequest"}, 102 "output":{"shape":"GetRandomPasswordResponse"}, 103 "errors":[ 104 {"shape":"InvalidParameterException"}, 105 {"shape":"InvalidRequestException"}, 106 {"shape":"InternalServiceError"} 107 ] 108 }, 109 "GetResourcePolicy":{ 110 "name":"GetResourcePolicy", 111 "http":{ 112 "method":"POST", 113 "requestUri":"/" 114 }, 115 "input":{"shape":"GetResourcePolicyRequest"}, 116 "output":{"shape":"GetResourcePolicyResponse"}, 117 "errors":[ 118 {"shape":"ResourceNotFoundException"}, 119 {"shape":"InternalServiceError"}, 120 {"shape":"InvalidRequestException"}, 121 {"shape":"InvalidParameterException"} 122 ] 123 }, 124 "GetSecretValue":{ 125 "name":"GetSecretValue", 126 "http":{ 127 "method":"POST", 128 "requestUri":"/" 129 }, 130 "input":{"shape":"GetSecretValueRequest"}, 131 "output":{"shape":"GetSecretValueResponse"}, 132 "errors":[ 133 {"shape":"ResourceNotFoundException"}, 134 {"shape":"InvalidParameterException"}, 135 {"shape":"InvalidRequestException"}, 136 {"shape":"DecryptionFailure"}, 137 {"shape":"InternalServiceError"} 138 ] 139 }, 140 "ListSecretVersionIds":{ 141 "name":"ListSecretVersionIds", 142 "http":{ 143 "method":"POST", 144 "requestUri":"/" 145 }, 146 "input":{"shape":"ListSecretVersionIdsRequest"}, 147 "output":{"shape":"ListSecretVersionIdsResponse"}, 148 "errors":[ 149 {"shape":"InvalidNextTokenException"}, 150 {"shape":"ResourceNotFoundException"}, 151 {"shape":"InternalServiceError"}, 152 {"shape":"InvalidParameterException"} 153 ] 154 }, 155 "ListSecrets":{ 156 "name":"ListSecrets", 157 "http":{ 158 "method":"POST", 159 "requestUri":"/" 160 }, 161 "input":{"shape":"ListSecretsRequest"}, 162 "output":{"shape":"ListSecretsResponse"}, 163 "errors":[ 164 {"shape":"InvalidParameterException"}, 165 {"shape":"InvalidNextTokenException"}, 166 {"shape":"InternalServiceError"} 167 ] 168 }, 169 "PutResourcePolicy":{ 170 "name":"PutResourcePolicy", 171 "http":{ 172 "method":"POST", 173 "requestUri":"/" 174 }, 175 "input":{"shape":"PutResourcePolicyRequest"}, 176 "output":{"shape":"PutResourcePolicyResponse"}, 177 "errors":[ 178 {"shape":"MalformedPolicyDocumentException"}, 179 {"shape":"ResourceNotFoundException"}, 180 {"shape":"InvalidParameterException"}, 181 {"shape":"InternalServiceError"}, 182 {"shape":"InvalidRequestException"}, 183 {"shape":"PublicPolicyException"} 184 ] 185 }, 186 "PutSecretValue":{ 187 "name":"PutSecretValue", 188 "http":{ 189 "method":"POST", 190 "requestUri":"/" 191 }, 192 "input":{"shape":"PutSecretValueRequest"}, 193 "output":{"shape":"PutSecretValueResponse"}, 194 "errors":[ 195 {"shape":"InvalidParameterException"}, 196 {"shape":"InvalidRequestException"}, 197 {"shape":"LimitExceededException"}, 198 {"shape":"EncryptionFailure"}, 199 {"shape":"ResourceExistsException"}, 200 {"shape":"ResourceNotFoundException"}, 201 {"shape":"InternalServiceError"} 202 ] 203 }, 204 "RemoveRegionsFromReplication":{ 205 "name":"RemoveRegionsFromReplication", 206 "http":{ 207 "method":"POST", 208 "requestUri":"/" 209 }, 210 "input":{"shape":"RemoveRegionsFromReplicationRequest"}, 211 "output":{"shape":"RemoveRegionsFromReplicationResponse"}, 212 "errors":[ 213 {"shape":"ResourceNotFoundException"}, 214 {"shape":"InvalidRequestException"}, 215 {"shape":"InvalidParameterException"}, 216 {"shape":"InternalServiceError"} 217 ] 218 }, 219 "ReplicateSecretToRegions":{ 220 "name":"ReplicateSecretToRegions", 221 "http":{ 222 "method":"POST", 223 "requestUri":"/" 224 }, 225 "input":{"shape":"ReplicateSecretToRegionsRequest"}, 226 "output":{"shape":"ReplicateSecretToRegionsResponse"}, 227 "errors":[ 228 {"shape":"ResourceNotFoundException"}, 229 {"shape":"InvalidRequestException"}, 230 {"shape":"InvalidParameterException"}, 231 {"shape":"InternalServiceError"} 232 ] 233 }, 234 "RestoreSecret":{ 235 "name":"RestoreSecret", 236 "http":{ 237 "method":"POST", 238 "requestUri":"/" 239 }, 240 "input":{"shape":"RestoreSecretRequest"}, 241 "output":{"shape":"RestoreSecretResponse"}, 242 "errors":[ 243 {"shape":"ResourceNotFoundException"}, 244 {"shape":"InvalidParameterException"}, 245 {"shape":"InvalidRequestException"}, 246 {"shape":"InternalServiceError"} 247 ] 248 }, 249 "RotateSecret":{ 250 "name":"RotateSecret", 251 "http":{ 252 "method":"POST", 253 "requestUri":"/" 254 }, 255 "input":{"shape":"RotateSecretRequest"}, 256 "output":{"shape":"RotateSecretResponse"}, 257 "errors":[ 258 {"shape":"ResourceNotFoundException"}, 259 {"shape":"InvalidParameterException"}, 260 {"shape":"InternalServiceError"}, 261 {"shape":"InvalidRequestException"} 262 ] 263 }, 264 "StopReplicationToReplica":{ 265 "name":"StopReplicationToReplica", 266 "http":{ 267 "method":"POST", 268 "requestUri":"/" 269 }, 270 "input":{"shape":"StopReplicationToReplicaRequest"}, 271 "output":{"shape":"StopReplicationToReplicaResponse"}, 272 "errors":[ 273 {"shape":"ResourceNotFoundException"}, 274 {"shape":"InvalidRequestException"}, 275 {"shape":"InvalidParameterException"}, 276 {"shape":"InternalServiceError"} 277 ] 278 }, 279 "TagResource":{ 280 "name":"TagResource", 281 "http":{ 282 "method":"POST", 283 "requestUri":"/" 284 }, 285 "input":{"shape":"TagResourceRequest"}, 286 "errors":[ 287 {"shape":"ResourceNotFoundException"}, 288 {"shape":"InvalidRequestException"}, 289 {"shape":"InvalidParameterException"}, 290 {"shape":"InternalServiceError"} 291 ] 292 }, 293 "UntagResource":{ 294 "name":"UntagResource", 295 "http":{ 296 "method":"POST", 297 "requestUri":"/" 298 }, 299 "input":{"shape":"UntagResourceRequest"}, 300 "errors":[ 301 {"shape":"ResourceNotFoundException"}, 302 {"shape":"InvalidRequestException"}, 303 {"shape":"InvalidParameterException"}, 304 {"shape":"InternalServiceError"} 305 ] 306 }, 307 "UpdateSecret":{ 308 "name":"UpdateSecret", 309 "http":{ 310 "method":"POST", 311 "requestUri":"/" 312 }, 313 "input":{"shape":"UpdateSecretRequest"}, 314 "output":{"shape":"UpdateSecretResponse"}, 315 "errors":[ 316 {"shape":"InvalidParameterException"}, 317 {"shape":"InvalidRequestException"}, 318 {"shape":"LimitExceededException"}, 319 {"shape":"EncryptionFailure"}, 320 {"shape":"ResourceExistsException"}, 321 {"shape":"ResourceNotFoundException"}, 322 {"shape":"MalformedPolicyDocumentException"}, 323 {"shape":"InternalServiceError"}, 324 {"shape":"PreconditionNotMetException"} 325 ] 326 }, 327 "UpdateSecretVersionStage":{ 328 "name":"UpdateSecretVersionStage", 329 "http":{ 330 "method":"POST", 331 "requestUri":"/" 332 }, 333 "input":{"shape":"UpdateSecretVersionStageRequest"}, 334 "output":{"shape":"UpdateSecretVersionStageResponse"}, 335 "errors":[ 336 {"shape":"ResourceNotFoundException"}, 337 {"shape":"InvalidParameterException"}, 338 {"shape":"InvalidRequestException"}, 339 {"shape":"LimitExceededException"}, 340 {"shape":"InternalServiceError"} 341 ] 342 }, 343 "ValidateResourcePolicy":{ 344 "name":"ValidateResourcePolicy", 345 "http":{ 346 "method":"POST", 347 "requestUri":"/" 348 }, 349 "input":{"shape":"ValidateResourcePolicyRequest"}, 350 "output":{"shape":"ValidateResourcePolicyResponse"}, 351 "errors":[ 352 {"shape":"MalformedPolicyDocumentException"}, 353 {"shape":"ResourceNotFoundException"}, 354 {"shape":"InvalidParameterException"}, 355 {"shape":"InternalServiceError"}, 356 {"shape":"InvalidRequestException"} 357 ] 358 } 359 }, 360 "shapes":{ 361 "AddReplicaRegionListType":{ 362 "type":"list", 363 "member":{"shape":"ReplicaRegionType"}, 364 "min":1 365 }, 366 "AutomaticallyRotateAfterDaysType":{ 367 "type":"long", 368 "max":1000, 369 "min":1 370 }, 371 "BooleanType":{"type":"boolean"}, 372 "CancelRotateSecretRequest":{ 373 "type":"structure", 374 "required":["SecretId"], 375 "members":{ 376 "SecretId":{"shape":"SecretIdType"} 377 } 378 }, 379 "CancelRotateSecretResponse":{ 380 "type":"structure", 381 "members":{ 382 "ARN":{"shape":"SecretARNType"}, 383 "Name":{"shape":"SecretNameType"}, 384 "VersionId":{"shape":"SecretVersionIdType"} 385 } 386 }, 387 "ClientRequestTokenType":{ 388 "type":"string", 389 "max":64, 390 "min":32 391 }, 392 "CreateSecretRequest":{ 393 "type":"structure", 394 "required":["Name"], 395 "members":{ 396 "Name":{"shape":"NameType"}, 397 "ClientRequestToken":{ 398 "shape":"ClientRequestTokenType", 399 "idempotencyToken":true 400 }, 401 "Description":{"shape":"DescriptionType"}, 402 "KmsKeyId":{"shape":"KmsKeyIdType"}, 403 "SecretBinary":{"shape":"SecretBinaryType"}, 404 "SecretString":{"shape":"SecretStringType"}, 405 "Tags":{"shape":"TagListType"}, 406 "AddReplicaRegions":{"shape":"AddReplicaRegionListType"}, 407 "ForceOverwriteReplicaSecret":{"shape":"BooleanType"} 408 } 409 }, 410 "CreateSecretResponse":{ 411 "type":"structure", 412 "members":{ 413 "ARN":{"shape":"SecretARNType"}, 414 "Name":{"shape":"SecretNameType"}, 415 "VersionId":{"shape":"SecretVersionIdType"}, 416 "ReplicationStatus":{"shape":"ReplicationStatusListType"} 417 } 418 }, 419 "CreatedDateType":{"type":"timestamp"}, 420 "DecryptionFailure":{ 421 "type":"structure", 422 "members":{ 423 "Message":{"shape":"ErrorMessage"} 424 }, 425 "exception":true 426 }, 427 "DeleteResourcePolicyRequest":{ 428 "type":"structure", 429 "required":["SecretId"], 430 "members":{ 431 "SecretId":{"shape":"SecretIdType"} 432 } 433 }, 434 "DeleteResourcePolicyResponse":{ 435 "type":"structure", 436 "members":{ 437 "ARN":{"shape":"SecretARNType"}, 438 "Name":{"shape":"NameType"} 439 } 440 }, 441 "DeleteSecretRequest":{ 442 "type":"structure", 443 "required":["SecretId"], 444 "members":{ 445 "SecretId":{"shape":"SecretIdType"}, 446 "RecoveryWindowInDays":{ 447 "shape":"RecoveryWindowInDaysType", 448 "box":true 449 }, 450 "ForceDeleteWithoutRecovery":{ 451 "shape":"BooleanType", 452 "box":true 453 } 454 } 455 }, 456 "DeleteSecretResponse":{ 457 "type":"structure", 458 "members":{ 459 "ARN":{"shape":"SecretARNType"}, 460 "Name":{"shape":"SecretNameType"}, 461 "DeletionDate":{ 462 "shape":"DeletionDateType", 463 "box":true 464 } 465 } 466 }, 467 "DeletedDateType":{"type":"timestamp"}, 468 "DeletionDateType":{"type":"timestamp"}, 469 "DescribeSecretRequest":{ 470 "type":"structure", 471 "required":["SecretId"], 472 "members":{ 473 "SecretId":{"shape":"SecretIdType"} 474 } 475 }, 476 "DescribeSecretResponse":{ 477 "type":"structure", 478 "members":{ 479 "ARN":{"shape":"SecretARNType"}, 480 "Name":{"shape":"SecretNameType"}, 481 "Description":{"shape":"DescriptionType"}, 482 "KmsKeyId":{"shape":"KmsKeyIdType"}, 483 "RotationEnabled":{ 484 "shape":"RotationEnabledType", 485 "box":true 486 }, 487 "RotationLambdaARN":{"shape":"RotationLambdaARNType"}, 488 "RotationRules":{"shape":"RotationRulesType"}, 489 "LastRotatedDate":{ 490 "shape":"LastRotatedDateType", 491 "box":true 492 }, 493 "LastChangedDate":{ 494 "shape":"LastChangedDateType", 495 "box":true 496 }, 497 "LastAccessedDate":{ 498 "shape":"LastAccessedDateType", 499 "box":true 500 }, 501 "DeletedDate":{ 502 "shape":"DeletedDateType", 503 "box":true 504 }, 505 "Tags":{"shape":"TagListType"}, 506 "VersionIdsToStages":{"shape":"SecretVersionsToStagesMapType"}, 507 "OwningService":{"shape":"OwningServiceType"}, 508 "CreatedDate":{ 509 "shape":"TimestampType", 510 "box":true 511 }, 512 "PrimaryRegion":{"shape":"RegionType"}, 513 "ReplicationStatus":{"shape":"ReplicationStatusListType"} 514 } 515 }, 516 "DescriptionType":{ 517 "type":"string", 518 "max":2048 519 }, 520 "EncryptionFailure":{ 521 "type":"structure", 522 "members":{ 523 "Message":{"shape":"ErrorMessage"} 524 }, 525 "exception":true 526 }, 527 "ErrorMessage":{"type":"string"}, 528 "ExcludeCharactersType":{ 529 "type":"string", 530 "max":4096, 531 "min":0 532 }, 533 "ExcludeLowercaseType":{"type":"boolean"}, 534 "ExcludeNumbersType":{"type":"boolean"}, 535 "ExcludePunctuationType":{"type":"boolean"}, 536 "ExcludeUppercaseType":{"type":"boolean"}, 537 "Filter":{ 538 "type":"structure", 539 "members":{ 540 "Key":{"shape":"FilterNameStringType"}, 541 "Values":{"shape":"FilterValuesStringList"} 542 } 543 }, 544 "FilterNameStringType":{ 545 "type":"string", 546 "enum":[ 547 "description", 548 "name", 549 "tag-key", 550 "tag-value", 551 "primary-region", 552 "all" 553 ] 554 }, 555 "FilterValueStringType":{ 556 "type":"string", 557 "max":512, 558 "pattern":"^\\!?[a-zA-Z0-9 :_@\\/\\+\\=\\.\\-]*$" 559 }, 560 "FilterValuesStringList":{ 561 "type":"list", 562 "member":{"shape":"FilterValueStringType"}, 563 "max":10, 564 "min":1 565 }, 566 "FiltersListType":{ 567 "type":"list", 568 "member":{"shape":"Filter"}, 569 "max":10 570 }, 571 "GetRandomPasswordRequest":{ 572 "type":"structure", 573 "members":{ 574 "PasswordLength":{ 575 "shape":"PasswordLengthType", 576 "box":true 577 }, 578 "ExcludeCharacters":{"shape":"ExcludeCharactersType"}, 579 "ExcludeNumbers":{ 580 "shape":"ExcludeNumbersType", 581 "box":true 582 }, 583 "ExcludePunctuation":{ 584 "shape":"ExcludePunctuationType", 585 "box":true 586 }, 587 "ExcludeUppercase":{ 588 "shape":"ExcludeUppercaseType", 589 "box":true 590 }, 591 "ExcludeLowercase":{ 592 "shape":"ExcludeLowercaseType", 593 "box":true 594 }, 595 "IncludeSpace":{ 596 "shape":"IncludeSpaceType", 597 "box":true 598 }, 599 "RequireEachIncludedType":{ 600 "shape":"RequireEachIncludedTypeType", 601 "box":true 602 } 603 } 604 }, 605 "GetRandomPasswordResponse":{ 606 "type":"structure", 607 "members":{ 608 "RandomPassword":{"shape":"RandomPasswordType"} 609 } 610 }, 611 "GetResourcePolicyRequest":{ 612 "type":"structure", 613 "required":["SecretId"], 614 "members":{ 615 "SecretId":{"shape":"SecretIdType"} 616 } 617 }, 618 "GetResourcePolicyResponse":{ 619 "type":"structure", 620 "members":{ 621 "ARN":{"shape":"SecretARNType"}, 622 "Name":{"shape":"NameType"}, 623 "ResourcePolicy":{"shape":"NonEmptyResourcePolicyType"} 624 } 625 }, 626 "GetSecretValueRequest":{ 627 "type":"structure", 628 "required":["SecretId"], 629 "members":{ 630 "SecretId":{"shape":"SecretIdType"}, 631 "VersionId":{"shape":"SecretVersionIdType"}, 632 "VersionStage":{"shape":"SecretVersionStageType"} 633 } 634 }, 635 "GetSecretValueResponse":{ 636 "type":"structure", 637 "members":{ 638 "ARN":{"shape":"SecretARNType"}, 639 "Name":{"shape":"SecretNameType"}, 640 "VersionId":{"shape":"SecretVersionIdType"}, 641 "SecretBinary":{"shape":"SecretBinaryType"}, 642 "SecretString":{"shape":"SecretStringType"}, 643 "VersionStages":{"shape":"SecretVersionStagesType"}, 644 "CreatedDate":{ 645 "shape":"CreatedDateType", 646 "box":true 647 } 648 } 649 }, 650 "IncludeSpaceType":{"type":"boolean"}, 651 "InternalServiceError":{ 652 "type":"structure", 653 "members":{ 654 "Message":{"shape":"ErrorMessage"} 655 }, 656 "exception":true, 657 "fault":true 658 }, 659 "InvalidNextTokenException":{ 660 "type":"structure", 661 "members":{ 662 "Message":{"shape":"ErrorMessage"} 663 }, 664 "exception":true 665 }, 666 "InvalidParameterException":{ 667 "type":"structure", 668 "members":{ 669 "Message":{"shape":"ErrorMessage"} 670 }, 671 "exception":true 672 }, 673 "InvalidRequestException":{ 674 "type":"structure", 675 "members":{ 676 "Message":{"shape":"ErrorMessage"} 677 }, 678 "exception":true 679 }, 680 "KmsKeyIdListType":{ 681 "type":"list", 682 "member":{"shape":"KmsKeyIdType"} 683 }, 684 "KmsKeyIdType":{ 685 "type":"string", 686 "max":2048, 687 "min":0 688 }, 689 "LastAccessedDateType":{"type":"timestamp"}, 690 "LastChangedDateType":{"type":"timestamp"}, 691 "LastRotatedDateType":{"type":"timestamp"}, 692 "LimitExceededException":{ 693 "type":"structure", 694 "members":{ 695 "Message":{"shape":"ErrorMessage"} 696 }, 697 "exception":true 698 }, 699 "ListSecretVersionIdsRequest":{ 700 "type":"structure", 701 "required":["SecretId"], 702 "members":{ 703 "SecretId":{"shape":"SecretIdType"}, 704 "MaxResults":{ 705 "shape":"MaxResultsType", 706 "box":true 707 }, 708 "NextToken":{"shape":"NextTokenType"}, 709 "IncludeDeprecated":{ 710 "shape":"BooleanType", 711 "box":true 712 } 713 } 714 }, 715 "ListSecretVersionIdsResponse":{ 716 "type":"structure", 717 "members":{ 718 "Versions":{"shape":"SecretVersionsListType"}, 719 "NextToken":{"shape":"NextTokenType"}, 720 "ARN":{"shape":"SecretARNType"}, 721 "Name":{"shape":"SecretNameType"} 722 } 723 }, 724 "ListSecretsRequest":{ 725 "type":"structure", 726 "members":{ 727 "MaxResults":{ 728 "shape":"MaxResultsType", 729 "box":true 730 }, 731 "NextToken":{"shape":"NextTokenType"}, 732 "Filters":{"shape":"FiltersListType"}, 733 "SortOrder":{"shape":"SortOrderType"} 734 } 735 }, 736 "ListSecretsResponse":{ 737 "type":"structure", 738 "members":{ 739 "SecretList":{"shape":"SecretListType"}, 740 "NextToken":{"shape":"NextTokenType"} 741 } 742 }, 743 "MalformedPolicyDocumentException":{ 744 "type":"structure", 745 "members":{ 746 "Message":{"shape":"ErrorMessage"} 747 }, 748 "exception":true 749 }, 750 "MaxResultsType":{ 751 "type":"integer", 752 "max":100, 753 "min":1 754 }, 755 "NameType":{ 756 "type":"string", 757 "max":512, 758 "min":1 759 }, 760 "NextTokenType":{ 761 "type":"string", 762 "max":4096, 763 "min":1 764 }, 765 "NonEmptyResourcePolicyType":{ 766 "type":"string", 767 "max":20480, 768 "min":1 769 }, 770 "OwningServiceType":{ 771 "type":"string", 772 "max":128, 773 "min":1 774 }, 775 "PasswordLengthType":{ 776 "type":"long", 777 "max":4096, 778 "min":1 779 }, 780 "PreconditionNotMetException":{ 781 "type":"structure", 782 "members":{ 783 "Message":{"shape":"ErrorMessage"} 784 }, 785 "exception":true 786 }, 787 "PublicPolicyException":{ 788 "type":"structure", 789 "members":{ 790 "Message":{"shape":"ErrorMessage"} 791 }, 792 "exception":true 793 }, 794 "PutResourcePolicyRequest":{ 795 "type":"structure", 796 "required":[ 797 "SecretId", 798 "ResourcePolicy" 799 ], 800 "members":{ 801 "SecretId":{"shape":"SecretIdType"}, 802 "ResourcePolicy":{"shape":"NonEmptyResourcePolicyType"}, 803 "BlockPublicPolicy":{ 804 "shape":"BooleanType", 805 "box":true 806 } 807 } 808 }, 809 "PutResourcePolicyResponse":{ 810 "type":"structure", 811 "members":{ 812 "ARN":{"shape":"SecretARNType"}, 813 "Name":{"shape":"NameType"} 814 } 815 }, 816 "PutSecretValueRequest":{ 817 "type":"structure", 818 "required":["SecretId"], 819 "members":{ 820 "SecretId":{"shape":"SecretIdType"}, 821 "ClientRequestToken":{ 822 "shape":"ClientRequestTokenType", 823 "idempotencyToken":true 824 }, 825 "SecretBinary":{"shape":"SecretBinaryType"}, 826 "SecretString":{"shape":"SecretStringType"}, 827 "VersionStages":{"shape":"SecretVersionStagesType"} 828 } 829 }, 830 "PutSecretValueResponse":{ 831 "type":"structure", 832 "members":{ 833 "ARN":{"shape":"SecretARNType"}, 834 "Name":{"shape":"SecretNameType"}, 835 "VersionId":{"shape":"SecretVersionIdType"}, 836 "VersionStages":{"shape":"SecretVersionStagesType"} 837 } 838 }, 839 "RandomPasswordType":{ 840 "type":"string", 841 "max":4096, 842 "min":0, 843 "sensitive":true 844 }, 845 "RecoveryWindowInDaysType":{"type":"long"}, 846 "RegionType":{ 847 "type":"string", 848 "max":128, 849 "min":1, 850 "pattern":"^([a-z]+-)+\\d+$" 851 }, 852 "RemoveRegionsFromReplicationRequest":{ 853 "type":"structure", 854 "required":[ 855 "SecretId", 856 "RemoveReplicaRegions" 857 ], 858 "members":{ 859 "SecretId":{"shape":"SecretIdType"}, 860 "RemoveReplicaRegions":{"shape":"RemoveReplicaRegionListType"} 861 } 862 }, 863 "RemoveRegionsFromReplicationResponse":{ 864 "type":"structure", 865 "members":{ 866 "ARN":{"shape":"SecretARNType"}, 867 "ReplicationStatus":{"shape":"ReplicationStatusListType"} 868 } 869 }, 870 "RemoveReplicaRegionListType":{ 871 "type":"list", 872 "member":{"shape":"RegionType"}, 873 "min":1 874 }, 875 "ReplicaRegionType":{ 876 "type":"structure", 877 "members":{ 878 "Region":{"shape":"RegionType"}, 879 "KmsKeyId":{"shape":"KmsKeyIdType"} 880 } 881 }, 882 "ReplicateSecretToRegionsRequest":{ 883 "type":"structure", 884 "required":[ 885 "SecretId", 886 "AddReplicaRegions" 887 ], 888 "members":{ 889 "SecretId":{"shape":"SecretIdType"}, 890 "AddReplicaRegions":{"shape":"AddReplicaRegionListType"}, 891 "ForceOverwriteReplicaSecret":{"shape":"BooleanType"} 892 } 893 }, 894 "ReplicateSecretToRegionsResponse":{ 895 "type":"structure", 896 "members":{ 897 "ARN":{"shape":"SecretARNType"}, 898 "ReplicationStatus":{"shape":"ReplicationStatusListType"} 899 } 900 }, 901 "ReplicationStatusListType":{ 902 "type":"list", 903 "member":{"shape":"ReplicationStatusType"} 904 }, 905 "ReplicationStatusType":{ 906 "type":"structure", 907 "members":{ 908 "Region":{"shape":"RegionType"}, 909 "KmsKeyId":{"shape":"KmsKeyIdType"}, 910 "Status":{"shape":"StatusType"}, 911 "StatusMessage":{"shape":"StatusMessageType"}, 912 "LastAccessedDate":{"shape":"LastAccessedDateType"} 913 } 914 }, 915 "RequireEachIncludedTypeType":{"type":"boolean"}, 916 "ResourceExistsException":{ 917 "type":"structure", 918 "members":{ 919 "Message":{"shape":"ErrorMessage"} 920 }, 921 "exception":true 922 }, 923 "ResourceNotFoundException":{ 924 "type":"structure", 925 "members":{ 926 "Message":{"shape":"ErrorMessage"} 927 }, 928 "exception":true 929 }, 930 "RestoreSecretRequest":{ 931 "type":"structure", 932 "required":["SecretId"], 933 "members":{ 934 "SecretId":{"shape":"SecretIdType"} 935 } 936 }, 937 "RestoreSecretResponse":{ 938 "type":"structure", 939 "members":{ 940 "ARN":{"shape":"SecretARNType"}, 941 "Name":{"shape":"SecretNameType"} 942 } 943 }, 944 "RotateSecretRequest":{ 945 "type":"structure", 946 "required":["SecretId"], 947 "members":{ 948 "SecretId":{"shape":"SecretIdType"}, 949 "ClientRequestToken":{ 950 "shape":"ClientRequestTokenType", 951 "idempotencyToken":true 952 }, 953 "RotationLambdaARN":{"shape":"RotationLambdaARNType"}, 954 "RotationRules":{"shape":"RotationRulesType"} 955 } 956 }, 957 "RotateSecretResponse":{ 958 "type":"structure", 959 "members":{ 960 "ARN":{"shape":"SecretARNType"}, 961 "Name":{"shape":"SecretNameType"}, 962 "VersionId":{ 963 "shape":"SecretVersionIdType", 964 "box":true 965 } 966 } 967 }, 968 "RotationEnabledType":{"type":"boolean"}, 969 "RotationLambdaARNType":{ 970 "type":"string", 971 "max":2048, 972 "min":0 973 }, 974 "RotationRulesType":{ 975 "type":"structure", 976 "members":{ 977 "AutomaticallyAfterDays":{ 978 "shape":"AutomaticallyRotateAfterDaysType", 979 "box":true 980 } 981 } 982 }, 983 "SecretARNType":{ 984 "type":"string", 985 "max":2048, 986 "min":20 987 }, 988 "SecretBinaryType":{ 989 "type":"blob", 990 "max":65536, 991 "min":0, 992 "sensitive":true 993 }, 994 "SecretIdType":{ 995 "type":"string", 996 "max":2048, 997 "min":1 998 }, 999 "SecretListEntry":{ 1000 "type":"structure", 1001 "members":{ 1002 "ARN":{"shape":"SecretARNType"}, 1003 "Name":{"shape":"SecretNameType"}, 1004 "Description":{"shape":"DescriptionType"}, 1005 "KmsKeyId":{"shape":"KmsKeyIdType"}, 1006 "RotationEnabled":{ 1007 "shape":"RotationEnabledType", 1008 "box":true 1009 }, 1010 "RotationLambdaARN":{"shape":"RotationLambdaARNType"}, 1011 "RotationRules":{"shape":"RotationRulesType"}, 1012 "LastRotatedDate":{ 1013 "shape":"LastRotatedDateType", 1014 "box":true 1015 }, 1016 "LastChangedDate":{ 1017 "shape":"LastChangedDateType", 1018 "box":true 1019 }, 1020 "LastAccessedDate":{ 1021 "shape":"LastAccessedDateType", 1022 "box":true 1023 }, 1024 "DeletedDate":{"shape":"DeletedDateType"}, 1025 "Tags":{"shape":"TagListType"}, 1026 "SecretVersionsToStages":{"shape":"SecretVersionsToStagesMapType"}, 1027 "OwningService":{"shape":"OwningServiceType"}, 1028 "CreatedDate":{ 1029 "shape":"TimestampType", 1030 "box":true 1031 }, 1032 "PrimaryRegion":{"shape":"RegionType"} 1033 } 1034 }, 1035 "SecretListType":{ 1036 "type":"list", 1037 "member":{"shape":"SecretListEntry"} 1038 }, 1039 "SecretNameType":{ 1040 "type":"string", 1041 "max":256, 1042 "min":1 1043 }, 1044 "SecretStringType":{ 1045 "type":"string", 1046 "max":65536, 1047 "min":0, 1048 "sensitive":true 1049 }, 1050 "SecretVersionIdType":{ 1051 "type":"string", 1052 "max":64, 1053 "min":32 1054 }, 1055 "SecretVersionStageType":{ 1056 "type":"string", 1057 "max":256, 1058 "min":1 1059 }, 1060 "SecretVersionStagesType":{ 1061 "type":"list", 1062 "member":{"shape":"SecretVersionStageType"}, 1063 "max":20, 1064 "min":1 1065 }, 1066 "SecretVersionsListEntry":{ 1067 "type":"structure", 1068 "members":{ 1069 "VersionId":{"shape":"SecretVersionIdType"}, 1070 "VersionStages":{"shape":"SecretVersionStagesType"}, 1071 "LastAccessedDate":{ 1072 "shape":"LastAccessedDateType", 1073 "box":true 1074 }, 1075 "CreatedDate":{ 1076 "shape":"CreatedDateType", 1077 "box":true 1078 }, 1079 "KmsKeyIds":{"shape":"KmsKeyIdListType"} 1080 } 1081 }, 1082 "SecretVersionsListType":{ 1083 "type":"list", 1084 "member":{"shape":"SecretVersionsListEntry"} 1085 }, 1086 "SecretVersionsToStagesMapType":{ 1087 "type":"map", 1088 "key":{"shape":"SecretVersionIdType"}, 1089 "value":{"shape":"SecretVersionStagesType"} 1090 }, 1091 "SortOrderType":{ 1092 "type":"string", 1093 "enum":[ 1094 "asc", 1095 "desc" 1096 ] 1097 }, 1098 "StatusMessageType":{ 1099 "type":"string", 1100 "max":4096, 1101 "min":1 1102 }, 1103 "StatusType":{ 1104 "type":"string", 1105 "enum":[ 1106 "InSync", 1107 "Failed", 1108 "InProgress" 1109 ] 1110 }, 1111 "StopReplicationToReplicaRequest":{ 1112 "type":"structure", 1113 "required":["SecretId"], 1114 "members":{ 1115 "SecretId":{"shape":"SecretIdType"} 1116 } 1117 }, 1118 "StopReplicationToReplicaResponse":{ 1119 "type":"structure", 1120 "members":{ 1121 "ARN":{"shape":"SecretARNType"} 1122 } 1123 }, 1124 "Tag":{ 1125 "type":"structure", 1126 "members":{ 1127 "Key":{"shape":"TagKeyType"}, 1128 "Value":{"shape":"TagValueType"} 1129 } 1130 }, 1131 "TagKeyListType":{ 1132 "type":"list", 1133 "member":{"shape":"TagKeyType"} 1134 }, 1135 "TagKeyType":{ 1136 "type":"string", 1137 "max":128, 1138 "min":1 1139 }, 1140 "TagListType":{ 1141 "type":"list", 1142 "member":{"shape":"Tag"} 1143 }, 1144 "TagResourceRequest":{ 1145 "type":"structure", 1146 "required":[ 1147 "SecretId", 1148 "Tags" 1149 ], 1150 "members":{ 1151 "SecretId":{"shape":"SecretIdType"}, 1152 "Tags":{"shape":"TagListType"} 1153 } 1154 }, 1155 "TagValueType":{ 1156 "type":"string", 1157 "max":256, 1158 "min":0 1159 }, 1160 "TimestampType":{"type":"timestamp"}, 1161 "UntagResourceRequest":{ 1162 "type":"structure", 1163 "required":[ 1164 "SecretId", 1165 "TagKeys" 1166 ], 1167 "members":{ 1168 "SecretId":{"shape":"SecretIdType"}, 1169 "TagKeys":{"shape":"TagKeyListType"} 1170 } 1171 }, 1172 "UpdateSecretRequest":{ 1173 "type":"structure", 1174 "required":["SecretId"], 1175 "members":{ 1176 "SecretId":{"shape":"SecretIdType"}, 1177 "ClientRequestToken":{ 1178 "shape":"ClientRequestTokenType", 1179 "idempotencyToken":true 1180 }, 1181 "Description":{"shape":"DescriptionType"}, 1182 "KmsKeyId":{"shape":"KmsKeyIdType"}, 1183 "SecretBinary":{"shape":"SecretBinaryType"}, 1184 "SecretString":{"shape":"SecretStringType"} 1185 } 1186 }, 1187 "UpdateSecretResponse":{ 1188 "type":"structure", 1189 "members":{ 1190 "ARN":{"shape":"SecretARNType"}, 1191 "Name":{"shape":"SecretNameType"}, 1192 "VersionId":{"shape":"SecretVersionIdType"} 1193 } 1194 }, 1195 "UpdateSecretVersionStageRequest":{ 1196 "type":"structure", 1197 "required":[ 1198 "SecretId", 1199 "VersionStage" 1200 ], 1201 "members":{ 1202 "SecretId":{"shape":"SecretIdType"}, 1203 "VersionStage":{"shape":"SecretVersionStageType"}, 1204 "RemoveFromVersionId":{ 1205 "shape":"SecretVersionIdType", 1206 "box":true 1207 }, 1208 "MoveToVersionId":{ 1209 "shape":"SecretVersionIdType", 1210 "box":true 1211 } 1212 } 1213 }, 1214 "UpdateSecretVersionStageResponse":{ 1215 "type":"structure", 1216 "members":{ 1217 "ARN":{"shape":"SecretARNType"}, 1218 "Name":{"shape":"SecretNameType"} 1219 } 1220 }, 1221 "ValidateResourcePolicyRequest":{ 1222 "type":"structure", 1223 "required":["ResourcePolicy"], 1224 "members":{ 1225 "SecretId":{"shape":"SecretIdType"}, 1226 "ResourcePolicy":{"shape":"NonEmptyResourcePolicyType"} 1227 } 1228 }, 1229 "ValidateResourcePolicyResponse":{ 1230 "type":"structure", 1231 "members":{ 1232 "PolicyValidationPassed":{"shape":"BooleanType"}, 1233 "ValidationErrors":{"shape":"ValidationErrorsType"} 1234 } 1235 }, 1236 "ValidationErrorsEntry":{ 1237 "type":"structure", 1238 "members":{ 1239 "CheckName":{"shape":"NameType"}, 1240 "ErrorMessage":{"shape":"ErrorMessage"} 1241 } 1242 }, 1243 "ValidationErrorsType":{ 1244 "type":"list", 1245 "member":{"shape":"ValidationErrorsEntry"} 1246 } 1247 } 1248 }