aboutsummaryrefslogtreecommitdiff
path: root/weed/iamapi/iamapi_response.go
blob: c16b1f79bb599c632907429adf8c87da007f7bcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package iamapi

// This file re-exports IAM response types from the shared weed/iam package
// for backwards compatibility with existing code.

import (
	iamlib "github.com/seaweedfs/seaweedfs/weed/iam"
)

// Type aliases for IAM response types from shared package
type (
	CommonResponse          = iamlib.CommonResponse
	ListUsersResponse       = iamlib.ListUsersResponse
	ListAccessKeysResponse  = iamlib.ListAccessKeysResponse
	DeleteAccessKeyResponse = iamlib.DeleteAccessKeyResponse
	CreatePolicyResponse    = iamlib.CreatePolicyResponse
	CreateUserResponse      = iamlib.CreateUserResponse
	DeleteUserResponse      = iamlib.DeleteUserResponse
	GetUserResponse         = iamlib.GetUserResponse
	UpdateUserResponse      = iamlib.UpdateUserResponse
	CreateAccessKeyResponse = iamlib.CreateAccessKeyResponse
	PutUserPolicyResponse   = iamlib.PutUserPolicyResponse
	DeleteUserPolicyResponse = iamlib.DeleteUserPolicyResponse
	GetUserPolicyResponse   = iamlib.GetUserPolicyResponse
	ErrorResponse           = iamlib.ErrorResponse
)