| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521 |
- {
- "version":"2.0",
- "metadata":{
- "apiVersion":"2011-06-15",
- "endpointPrefix":"sts",
- "globalEndpoint":"sts.amazonaws.com",
- "protocol":"query",
- "serviceAbbreviation":"AWS STS",
- "serviceFullName":"AWS Security Token Service",
- "signatureVersion":"v4",
- "xmlNamespace":"https://sts.amazonaws.com/doc/2011-06-15/"
- },
- "operations":{
- "AssumeRole":{
- "name":"AssumeRole",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"AssumeRoleRequest"},
- "output":{
- "shape":"AssumeRoleResponse",
- "resultWrapper":"AssumeRoleResult"
- },
- "errors":[
- {"shape":"MalformedPolicyDocumentException"},
- {"shape":"PackedPolicyTooLargeException"},
- {"shape":"RegionDisabledException"}
- ]
- },
- "AssumeRoleWithSAML":{
- "name":"AssumeRoleWithSAML",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"AssumeRoleWithSAMLRequest"},
- "output":{
- "shape":"AssumeRoleWithSAMLResponse",
- "resultWrapper":"AssumeRoleWithSAMLResult"
- },
- "errors":[
- {"shape":"MalformedPolicyDocumentException"},
- {"shape":"PackedPolicyTooLargeException"},
- {"shape":"IDPRejectedClaimException"},
- {"shape":"InvalidIdentityTokenException"},
- {"shape":"ExpiredTokenException"},
- {"shape":"RegionDisabledException"}
- ]
- },
- "AssumeRoleWithWebIdentity":{
- "name":"AssumeRoleWithWebIdentity",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"AssumeRoleWithWebIdentityRequest"},
- "output":{
- "shape":"AssumeRoleWithWebIdentityResponse",
- "resultWrapper":"AssumeRoleWithWebIdentityResult"
- },
- "errors":[
- {"shape":"MalformedPolicyDocumentException"},
- {"shape":"PackedPolicyTooLargeException"},
- {"shape":"IDPRejectedClaimException"},
- {"shape":"IDPCommunicationErrorException"},
- {"shape":"InvalidIdentityTokenException"},
- {"shape":"ExpiredTokenException"},
- {"shape":"RegionDisabledException"}
- ]
- },
- "DecodeAuthorizationMessage":{
- "name":"DecodeAuthorizationMessage",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DecodeAuthorizationMessageRequest"},
- "output":{
- "shape":"DecodeAuthorizationMessageResponse",
- "resultWrapper":"DecodeAuthorizationMessageResult"
- },
- "errors":[
- {"shape":"InvalidAuthorizationMessageException"}
- ]
- },
- "GetCallerIdentity":{
- "name":"GetCallerIdentity",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"GetCallerIdentityRequest"},
- "output":{
- "shape":"GetCallerIdentityResponse",
- "resultWrapper":"GetCallerIdentityResult"
- }
- },
- "GetFederationToken":{
- "name":"GetFederationToken",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"GetFederationTokenRequest"},
- "output":{
- "shape":"GetFederationTokenResponse",
- "resultWrapper":"GetFederationTokenResult"
- },
- "errors":[
- {"shape":"MalformedPolicyDocumentException"},
- {"shape":"PackedPolicyTooLargeException"},
- {"shape":"RegionDisabledException"}
- ]
- },
- "GetSessionToken":{
- "name":"GetSessionToken",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"GetSessionTokenRequest"},
- "output":{
- "shape":"GetSessionTokenResponse",
- "resultWrapper":"GetSessionTokenResult"
- },
- "errors":[
- {"shape":"RegionDisabledException"}
- ]
- }
- },
- "shapes":{
- "AssumeRoleRequest":{
- "type":"structure",
- "required":[
- "RoleArn",
- "RoleSessionName"
- ],
- "members":{
- "RoleArn":{"shape":"arnType"},
- "RoleSessionName":{"shape":"roleSessionNameType"},
- "Policy":{"shape":"sessionPolicyDocumentType"},
- "DurationSeconds":{"shape":"roleDurationSecondsType"},
- "ExternalId":{"shape":"externalIdType"},
- "SerialNumber":{"shape":"serialNumberType"},
- "TokenCode":{"shape":"tokenCodeType"}
- }
- },
- "AssumeRoleResponse":{
- "type":"structure",
- "members":{
- "Credentials":{"shape":"Credentials"},
- "AssumedRoleUser":{"shape":"AssumedRoleUser"},
- "PackedPolicySize":{"shape":"nonNegativeIntegerType"}
- }
- },
- "AssumeRoleWithSAMLRequest":{
- "type":"structure",
- "required":[
- "RoleArn",
- "PrincipalArn",
- "SAMLAssertion"
- ],
- "members":{
- "RoleArn":{"shape":"arnType"},
- "PrincipalArn":{"shape":"arnType"},
- "SAMLAssertion":{"shape":"SAMLAssertionType"},
- "Policy":{"shape":"sessionPolicyDocumentType"},
- "DurationSeconds":{"shape":"roleDurationSecondsType"}
- }
- },
- "AssumeRoleWithSAMLResponse":{
- "type":"structure",
- "members":{
- "Credentials":{"shape":"Credentials"},
- "AssumedRoleUser":{"shape":"AssumedRoleUser"},
- "PackedPolicySize":{"shape":"nonNegativeIntegerType"},
- "Subject":{"shape":"Subject"},
- "SubjectType":{"shape":"SubjectType"},
- "Issuer":{"shape":"Issuer"},
- "Audience":{"shape":"Audience"},
- "NameQualifier":{"shape":"NameQualifier"}
- }
- },
- "AssumeRoleWithWebIdentityRequest":{
- "type":"structure",
- "required":[
- "RoleArn",
- "RoleSessionName",
- "WebIdentityToken"
- ],
- "members":{
- "RoleArn":{"shape":"arnType"},
- "RoleSessionName":{"shape":"roleSessionNameType"},
- "WebIdentityToken":{"shape":"clientTokenType"},
- "ProviderId":{"shape":"urlType"},
- "Policy":{"shape":"sessionPolicyDocumentType"},
- "DurationSeconds":{"shape":"roleDurationSecondsType"}
- }
- },
- "AssumeRoleWithWebIdentityResponse":{
- "type":"structure",
- "members":{
- "Credentials":{"shape":"Credentials"},
- "SubjectFromWebIdentityToken":{"shape":"webIdentitySubjectType"},
- "AssumedRoleUser":{"shape":"AssumedRoleUser"},
- "PackedPolicySize":{"shape":"nonNegativeIntegerType"},
- "Provider":{"shape":"Issuer"},
- "Audience":{"shape":"Audience"}
- }
- },
- "AssumedRoleUser":{
- "type":"structure",
- "required":[
- "AssumedRoleId",
- "Arn"
- ],
- "members":{
- "AssumedRoleId":{"shape":"assumedRoleIdType"},
- "Arn":{"shape":"arnType"}
- }
- },
- "Audience":{"type":"string"},
- "Credentials":{
- "type":"structure",
- "required":[
- "AccessKeyId",
- "SecretAccessKey",
- "SessionToken",
- "Expiration"
- ],
- "members":{
- "AccessKeyId":{"shape":"accessKeyIdType"},
- "SecretAccessKey":{"shape":"accessKeySecretType"},
- "SessionToken":{"shape":"tokenType"},
- "Expiration":{"shape":"dateType"}
- }
- },
- "DecodeAuthorizationMessageRequest":{
- "type":"structure",
- "required":["EncodedMessage"],
- "members":{
- "EncodedMessage":{"shape":"encodedMessageType"}
- }
- },
- "DecodeAuthorizationMessageResponse":{
- "type":"structure",
- "members":{
- "DecodedMessage":{"shape":"decodedMessageType"}
- }
- },
- "ExpiredTokenException":{
- "type":"structure",
- "members":{
- "message":{"shape":"expiredIdentityTokenMessage"}
- },
- "error":{
- "code":"ExpiredTokenException",
- "httpStatusCode":400,
- "senderFault":true
- },
- "exception":true
- },
- "FederatedUser":{
- "type":"structure",
- "required":[
- "FederatedUserId",
- "Arn"
- ],
- "members":{
- "FederatedUserId":{"shape":"federatedIdType"},
- "Arn":{"shape":"arnType"}
- }
- },
- "GetCallerIdentityRequest":{
- "type":"structure",
- "members":{
- }
- },
- "GetCallerIdentityResponse":{
- "type":"structure",
- "members":{
- "UserId":{"shape":"userIdType"},
- "Account":{"shape":"accountType"},
- "Arn":{"shape":"arnType"}
- }
- },
- "GetFederationTokenRequest":{
- "type":"structure",
- "required":["Name"],
- "members":{
- "Name":{"shape":"userNameType"},
- "Policy":{"shape":"sessionPolicyDocumentType"},
- "DurationSeconds":{"shape":"durationSecondsType"}
- }
- },
- "GetFederationTokenResponse":{
- "type":"structure",
- "members":{
- "Credentials":{"shape":"Credentials"},
- "FederatedUser":{"shape":"FederatedUser"},
- "PackedPolicySize":{"shape":"nonNegativeIntegerType"}
- }
- },
- "GetSessionTokenRequest":{
- "type":"structure",
- "members":{
- "DurationSeconds":{"shape":"durationSecondsType"},
- "SerialNumber":{"shape":"serialNumberType"},
- "TokenCode":{"shape":"tokenCodeType"}
- }
- },
- "GetSessionTokenResponse":{
- "type":"structure",
- "members":{
- "Credentials":{"shape":"Credentials"}
- }
- },
- "IDPCommunicationErrorException":{
- "type":"structure",
- "members":{
- "message":{"shape":"idpCommunicationErrorMessage"}
- },
- "error":{
- "code":"IDPCommunicationError",
- "httpStatusCode":400,
- "senderFault":true
- },
- "exception":true
- },
- "IDPRejectedClaimException":{
- "type":"structure",
- "members":{
- "message":{"shape":"idpRejectedClaimMessage"}
- },
- "error":{
- "code":"IDPRejectedClaim",
- "httpStatusCode":403,
- "senderFault":true
- },
- "exception":true
- },
- "InvalidAuthorizationMessageException":{
- "type":"structure",
- "members":{
- "message":{"shape":"invalidAuthorizationMessage"}
- },
- "error":{
- "code":"InvalidAuthorizationMessageException",
- "httpStatusCode":400,
- "senderFault":true
- },
- "exception":true
- },
- "InvalidIdentityTokenException":{
- "type":"structure",
- "members":{
- "message":{"shape":"invalidIdentityTokenMessage"}
- },
- "error":{
- "code":"InvalidIdentityToken",
- "httpStatusCode":400,
- "senderFault":true
- },
- "exception":true
- },
- "Issuer":{"type":"string"},
- "MalformedPolicyDocumentException":{
- "type":"structure",
- "members":{
- "message":{"shape":"malformedPolicyDocumentMessage"}
- },
- "error":{
- "code":"MalformedPolicyDocument",
- "httpStatusCode":400,
- "senderFault":true
- },
- "exception":true
- },
- "NameQualifier":{"type":"string"},
- "PackedPolicyTooLargeException":{
- "type":"structure",
- "members":{
- "message":{"shape":"packedPolicyTooLargeMessage"}
- },
- "error":{
- "code":"PackedPolicyTooLarge",
- "httpStatusCode":400,
- "senderFault":true
- },
- "exception":true
- },
- "RegionDisabledException":{
- "type":"structure",
- "members":{
- "message":{"shape":"regionDisabledMessage"}
- },
- "error":{
- "code":"RegionDisabledException",
- "httpStatusCode":403,
- "senderFault":true
- },
- "exception":true
- },
- "SAMLAssertionType":{
- "type":"string",
- "max":50000,
- "min":4
- },
- "Subject":{"type":"string"},
- "SubjectType":{"type":"string"},
- "accessKeyIdType":{
- "type":"string",
- "max":32,
- "min":16,
- "pattern":"[\\w]*"
- },
- "accessKeySecretType":{"type":"string"},
- "accountType":{"type":"string"},
- "arnType":{
- "type":"string",
- "max":2048,
- "min":20,
- "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u0085\\u00A0-\\uD7FF\\uE000-\\uFFFD\\u10000-\\u10FFFF]+"
- },
- "assumedRoleIdType":{
- "type":"string",
- "max":96,
- "min":2,
- "pattern":"[\\w+=,.@:-]*"
- },
- "clientTokenType":{
- "type":"string",
- "max":2048,
- "min":4
- },
- "dateType":{"type":"timestamp"},
- "decodedMessageType":{"type":"string"},
- "durationSecondsType":{
- "type":"integer",
- "max":129600,
- "min":900
- },
- "encodedMessageType":{
- "type":"string",
- "max":10240,
- "min":1
- },
- "expiredIdentityTokenMessage":{"type":"string"},
- "externalIdType":{
- "type":"string",
- "max":1224,
- "min":2,
- "pattern":"[\\w+=,.@:\\/-]*"
- },
- "federatedIdType":{
- "type":"string",
- "max":96,
- "min":2,
- "pattern":"[\\w+=,.@\\:-]*"
- },
- "idpCommunicationErrorMessage":{"type":"string"},
- "idpRejectedClaimMessage":{"type":"string"},
- "invalidAuthorizationMessage":{"type":"string"},
- "invalidIdentityTokenMessage":{"type":"string"},
- "malformedPolicyDocumentMessage":{"type":"string"},
- "nonNegativeIntegerType":{
- "type":"integer",
- "min":0
- },
- "packedPolicyTooLargeMessage":{"type":"string"},
- "regionDisabledMessage":{"type":"string"},
- "roleDurationSecondsType":{
- "type":"integer",
- "max":3600,
- "min":900
- },
- "roleSessionNameType":{
- "type":"string",
- "max":64,
- "min":2,
- "pattern":"[\\w+=,.@-]*"
- },
- "serialNumberType":{
- "type":"string",
- "max":256,
- "min":9,
- "pattern":"[\\w+=/:,.@-]*"
- },
- "sessionPolicyDocumentType":{
- "type":"string",
- "max":2048,
- "min":1,
- "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+"
- },
- "tokenCodeType":{
- "type":"string",
- "max":6,
- "min":6,
- "pattern":"[\\d]*"
- },
- "tokenType":{"type":"string"},
- "urlType":{
- "type":"string",
- "max":2048,
- "min":4
- },
- "userIdType":{"type":"string"},
- "userNameType":{
- "type":"string",
- "max":32,
- "min":2,
- "pattern":"[\\w+=,.@-]*"
- },
- "webIdentitySubjectType":{
- "type":"string",
- "max":255,
- "min":6
- }
- }
- }
|