aboutsummaryrefslogtreecommitdiff
path: root/weed/iam/responses.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/iam/responses.go')
-rw-r--r--weed/iam/responses.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/weed/iam/responses.go b/weed/iam/responses.go
index a45c9fd16..47ec7b8c4 100644
--- a/weed/iam/responses.go
+++ b/weed/iam/responses.go
@@ -138,3 +138,15 @@ type Policies struct {
Policies map[string]interface{} `json:"policies"`
}
+// SetUserStatusResponse is the response for SetUserStatus action.
+// This is a SeaweedFS extension to enable/disable users without deleting them.
+type SetUserStatusResponse struct {
+ CommonResponse
+ XMLName xml.Name `xml:"https://iam.amazonaws.com/doc/2010-05-08/ SetUserStatusResponse"`
+}
+
+// UpdateAccessKeyResponse is the response for UpdateAccessKey action.
+type UpdateAccessKeyResponse struct {
+ CommonResponse
+ XMLName xml.Name `xml:"https://iam.amazonaws.com/doc/2010-05-08/ UpdateAccessKeyResponse"`
+}