diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-04-12 12:07:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-12 12:07:45 -0700 |
| commit | f5de42fae38cc0095591ccadaf5cf1b25b96a8d8 (patch) | |
| tree | b4bda4f597012fae6c615de28981787dacff0c85 /weed/iamapi/iamapi_response.go | |
| parent | 1e033d45b80ce12bb4a0fc57cc76e492856c2f95 (diff) | |
| parent | 8e02e138ea889d9f43cc89937c02c212ca145d74 (diff) | |
| download | seaweedfs-f5de42fae38cc0095591ccadaf5cf1b25b96a8d8.tar.xz seaweedfs-f5de42fae38cc0095591ccadaf5cf1b25b96a8d8.zip | |
Merge pull request #1975 from kmlebedev/iam_handlers
IAM handlers
Diffstat (limited to 'weed/iamapi/iamapi_response.go')
| -rw-r--r-- | weed/iamapi/iamapi_response.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/weed/iamapi/iamapi_response.go b/weed/iamapi/iamapi_response.go index 26dd0f263..77328b608 100644 --- a/weed/iamapi/iamapi_response.go +++ b/weed/iamapi/iamapi_response.go @@ -79,6 +79,16 @@ type PutUserPolicyResponse struct { XMLName xml.Name `xml:"https://iam.amazonaws.com/doc/2010-05-08/ PutUserPolicyResponse"` } +type GetUserPolicyResponse struct { + CommonResponse + XMLName xml.Name `xml:"https://iam.amazonaws.com/doc/2010-05-08/ GetUserPolicyResponse"` + GetUserPolicyResult struct { + UserName string `xml:"UserName"` + PolicyName string `xml:"PolicyName"` + PolicyDocument string `xml:"PolicyDocument"` + } `xml:"GetUserPolicyResult"` +} + type ErrorResponse struct { CommonResponse XMLName xml.Name `xml:"https://iam.amazonaws.com/doc/2010-05-08/ ErrorResponse"` |
