Switch to using the dep tool and update all the dependencies
This commit is contained in:
parent
5135ff73cb
commit
98c2d2c41b
5321 changed files with 4483201 additions and 5922 deletions
522
vendor/github.com/aws/aws-sdk-go/models/apis/sts/2011-06-15/api-2.json
generated
vendored
Normal file
522
vendor/github.com/aws/aws-sdk-go/models/apis/sts/2011-06-15/api-2.json
generated
vendored
Normal file
|
@ -0,0 +1,522 @@
|
|||
{
|
||||
"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",
|
||||
"uid":"sts-2011-06-15",
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
391
vendor/github.com/aws/aws-sdk-go/models/apis/sts/2011-06-15/docs-2.json
generated
vendored
Normal file
391
vendor/github.com/aws/aws-sdk-go/models/apis/sts/2011-06-15/docs-2.json
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
206
vendor/github.com/aws/aws-sdk-go/models/apis/sts/2011-06-15/examples-1.json
generated
vendored
Normal file
206
vendor/github.com/aws/aws-sdk-go/models/apis/sts/2011-06-15/examples-1.json
generated
vendored
Normal file
|
@ -0,0 +1,206 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
"AssumeRole": [
|
||||
{
|
||||
"input": {
|
||||
"DurationSeconds": 3600,
|
||||
"ExternalId": "123ABC",
|
||||
"Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Stmt1\",\"Effect\":\"Allow\",\"Action\":\"s3:*\",\"Resource\":\"*\"}]}",
|
||||
"RoleArn": "arn:aws:iam::123456789012:role/demo",
|
||||
"RoleSessionName": "Bob"
|
||||
},
|
||||
"output": {
|
||||
"AssumedRoleUser": {
|
||||
"Arn": "arn:aws:sts::123456789012:assumed-role/demo/Bob",
|
||||
"AssumedRoleId": "ARO123EXAMPLE123:Bob"
|
||||
},
|
||||
"Credentials": {
|
||||
"AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
|
||||
"Expiration": "2011-07-15T23:28:33.359Z",
|
||||
"SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY",
|
||||
"SessionToken": "AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA=="
|
||||
},
|
||||
"PackedPolicySize": 6
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "to-assume-a-role-1480532402212",
|
||||
"title": "To assume a role"
|
||||
}
|
||||
],
|
||||
"AssumeRoleWithWebIdentity": [
|
||||
{
|
||||
"input": {
|
||||
"DurationSeconds": 3600,
|
||||
"ProviderId": "www.amazon.com",
|
||||
"RoleArn": "arn:aws:iam::123456789012:role/FederatedWebIdentityRole",
|
||||
"RoleSessionName": "app1",
|
||||
"WebIdentityToken": "Atza%7CIQEBLjAsAhRFiXuWpUXuRvQ9PZL3GMFcYevydwIUFAHZwXZXXXXXXXXJnrulxKDHwy87oGKPznh0D6bEQZTSCzyoCtL_8S07pLpr0zMbn6w1lfVZKNTBdDansFBmtGnIsIapjI6xKR02Yc_2bQ8LZbUXSGm6Ry6_BG7PrtLZtj_dfCTj92xNGed-CrKqjG7nPBjNIL016GGvuS5gSvPRUxWES3VYfm1wl7WTI7jn-Pcb6M-buCgHhFOzTQxod27L9CqnOLio7N3gZAGpsp6n1-AJBOCJckcyXe2c6uD0srOJeZlKUm2eTDVMf8IehDVI0r1QOnTV6KzzAI3OY87Vd_cVMQ"
|
||||
},
|
||||
"output": {
|
||||
"AssumedRoleUser": {
|
||||
"Arn": "arn:aws:sts::123456789012:assumed-role/FederatedWebIdentityRole/app1",
|
||||
"AssumedRoleId": "AROACLKWSDQRAOEXAMPLE:app1"
|
||||
},
|
||||
"Audience": "client.5498841531868486423.1548@apps.example.com",
|
||||
"Credentials": {
|
||||
"AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
|
||||
"Expiration": "2014-10-24T23:00:23Z",
|
||||
"SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY",
|
||||
"SessionToken": "AQoDYXdzEE0a8ANXXXXXXXXNO1ewxE5TijQyp+IEXAMPLE"
|
||||
},
|
||||
"PackedPolicySize": 123,
|
||||
"Provider": "www.amazon.com",
|
||||
"SubjectFromWebIdentityToken": "amzn1.account.AF6RHO7KZU5XRVQJGXK6HEXAMPLE"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "to-assume-a-role-as-an-openid-connect-federated-user-1480533445696",
|
||||
"title": "To assume a role as an OpenID Connect-federated user"
|
||||
}
|
||||
],
|
||||
"DecodeAuthorizationMessage": [
|
||||
{
|
||||
"input": {
|
||||
"EncodedMessage": "<encoded-message>"
|
||||
},
|
||||
"output": {
|
||||
"DecodedMessage": "{\"allowed\": \"false\",\"explicitDeny\": \"false\",\"matchedStatements\": \"\",\"failures\": \"\",\"context\": {\"principal\": {\"id\": \"AIDACKCEVSQ6C2EXAMPLE\",\"name\": \"Bob\",\"arn\": \"arn:aws:iam::123456789012:user/Bob\"},\"action\": \"ec2:StopInstances\",\"resource\": \"arn:aws:ec2:us-east-1:123456789012:instance/i-dd01c9bd\",\"conditions\": [{\"item\": {\"key\": \"ec2:Tenancy\",\"values\": [\"default\"]},{\"item\": {\"key\": \"ec2:ResourceTag/elasticbeanstalk:environment-name\",\"values\": [\"Default-Environment\"]}},(Additional items ...)]}}"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "to-decode-information-about-an-authorization-status-of-a-request-1480533854499",
|
||||
"title": "To decode information about an authorization status of a request"
|
||||
}
|
||||
],
|
||||
"GetCallerIdentity": [
|
||||
{
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
"Account": "123456789012",
|
||||
"Arn": "arn:aws:iam::123456789012:user/Alice",
|
||||
"UserId": "AKIAI44QH8DHBEXAMPLE"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example shows a request and response made with the credentials for a user named Alice in the AWS account 123456789012.",
|
||||
"id": "to-get-details-about-a-calling-iam-user-1480540050376",
|
||||
"title": "To get details about a calling IAM user"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
"Account": "123456789012",
|
||||
"Arn": "arn:aws:sts::123456789012:assumed-role/my-role-name/my-role-session-name",
|
||||
"UserId": "AKIAI44QH8DHBEXAMPLE:my-role-session-name"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example shows a request and response made with temporary credentials created by AssumeRole. The name of the assumed role is my-role-name, and the RoleSessionName is set to my-role-session-name.",
|
||||
"id": "to-get-details-about-a-calling-user-federated-with-assumerole-1480540158545",
|
||||
"title": "To get details about a calling user federated with AssumeRole"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
"Account": "123456789012",
|
||||
"Arn": "arn:aws:sts::123456789012:federated-user/my-federated-user-name",
|
||||
"UserId": "123456789012:my-federated-user-name"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example shows a request and response made with temporary credentials created by using GetFederationToken. The Name parameter is set to my-federated-user-name.",
|
||||
"id": "to-get-details-about-a-calling-user-federated-with-getfederationtoken-1480540231316",
|
||||
"title": "To get details about a calling user federated with GetFederationToken"
|
||||
}
|
||||
],
|
||||
"GetFederationToken": [
|
||||
{
|
||||
"input": {
|
||||
"DurationSeconds": 3600,
|
||||
"Name": "Bob",
|
||||
"Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Stmt1\",\"Effect\":\"Allow\",\"Action\":\"s3:*\",\"Resource\":\"*\"}]}"
|
||||
},
|
||||
"output": {
|
||||
"Credentials": {
|
||||
"AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
|
||||
"Expiration": "2011-07-15T23:28:33.359Z",
|
||||
"SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY",
|
||||
"SessionToken": "AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA=="
|
||||
},
|
||||
"FederatedUser": {
|
||||
"Arn": "arn:aws:sts::123456789012:federated-user/Bob",
|
||||
"FederatedUserId": "123456789012:Bob"
|
||||
},
|
||||
"PackedPolicySize": 6
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "to-get-temporary-credentials-for-a-role-by-using-getfederationtoken-1480540749900",
|
||||
"title": "To get temporary credentials for a role by using GetFederationToken"
|
||||
}
|
||||
],
|
||||
"GetSessionToken": [
|
||||
{
|
||||
"input": {
|
||||
"DurationSeconds": 3600,
|
||||
"SerialNumber": "YourMFASerialNumber",
|
||||
"TokenCode": "123456"
|
||||
},
|
||||
"output": {
|
||||
"Credentials": {
|
||||
"AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
|
||||
"Expiration": "2011-07-11T19:55:29.611Z",
|
||||
"SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY",
|
||||
"SessionToken": "AQoEXAMPLEH4aoAH0gNCAPyJxz4BlCFFxWNE1OPTgk5TthT+FvwqnKwRcOIfrRh3c/LTo6UDdyJwOOvEVPvLXCrrrUtdnniCEXAMPLE/IvU1dYUg2RVAJBanLiHb4IgRmpRV3zrkuWJOgQs8IZZaIv2BXIa2R4OlgkBN9bkUDNCJiBeb/AXlzBBko7b15fjrBs2+cTQtpZ3CYWFXG8C5zqx37wnOE49mRl/+OtkIKGO7fAE"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "to-get-temporary-credentials-for-an-iam-user-or-an-aws-account-1480540814038",
|
||||
"title": "To get temporary credentials for an IAM user or an AWS account"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue