Documentation ¶
Index ¶
- Constants
- func NewParams() openapi.Params
- type API
- func (api API) AddUser(UserName string, optional openapi.M) (*openapi.Response, error)
- func (api API) DeleteUserPolicy(PolicyName, UserName string, optional openapi.M) (*openapi.Response, error)
- func (api API) GetUser(UserName string, optional openapi.M) (*GetUserResponse, error)
- func (api API) GetUserPolicy(PolicyName, UserName string, optional openapi.M) (*GetUserPolicyResponse, error)
- func (api API) ListUserPolicies(UserName string, optional openapi.M) (*openapi.Response, error)
- func (api API) ListUsers(optional openapi.M) (*ListUsersResponse, error)
- func (api API) PutUserPolicy(PolicyDocument, PolicyName, UserName string, optional openapi.M) (*openapi.Response, error)
- func (api API) RemoveUser(UserName string, optional openapi.M) (*openapi.Response, error)
- type GetUserPolicyResponse
- type GetUserResponse
- type ListUsersResponse
Constants ¶
const ( Product = "Ram" Style = "RPC" Version = "2014-02-14" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
openapi.Service
}
func (API) AddUser ¶
AddUser version 2014-02-14
required parameters:
name: UserName, type: string
optional parameters:
name: Comments, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string
func (API) DeleteUserPolicy ¶
func (api API) DeleteUserPolicy(PolicyName, UserName string, optional openapi.M) (*openapi.Response, error)
DeleteUserPolicy version 2014-02-14
required parameters:
name: PolicyName, type: string name: UserName, type: string
optional parameters:
name: _method, type: string, optional values: GET|POST name: _region, type: string
func (API) GetUser ¶
func (api API) GetUser(UserName string, optional openapi.M) (*GetUserResponse, error)
GetUser version 2014-02-14
required parameters:
name: UserName, type: string
optional parameters:
name: _method, type: string, optional values: GET|POST name: _region, type: string
func (API) GetUserPolicy ¶
func (api API) GetUserPolicy(PolicyName, UserName string, optional openapi.M) (*GetUserPolicyResponse, error)
GetUserPolicy version 2014-02-14
required parameters:
name: PolicyName, type: string name: UserName, type: string
optional parameters:
name: _method, type: string, optional values: GET|POST name: _region, type: string
func (API) ListUserPolicies ¶
ListUserPolicies version 2014-02-14
required parameters:
name: UserName, type: string
optional parameters:
name: _method, type: string, optional values: GET|POST name: _region, type: string
func (API) ListUsers ¶
func (api API) ListUsers(optional openapi.M) (*ListUsersResponse, error)
ListUsers version 2014-02-14
optional parameters:
name: _method, type: string, optional values: GET|POST name: _region, type: string
func (API) PutUserPolicy ¶
func (api API) PutUserPolicy(PolicyDocument, PolicyName, UserName string, optional openapi.M) (*openapi.Response, error)
PutUserPolicy version 2014-02-14
required parameters:
name: PolicyDocument, type: string name: PolicyName, type: string name: UserName, type: string
optional parameters:
name: _method, type: string, optional values: GET|POST name: _region, type: string
func (API) RemoveUser ¶
RemoveUser version 2014-02-14
required parameters:
name: UserName, type: string
optional parameters:
name: _method, type: string, optional values: GET|POST name: _region, type: string
type GetUserPolicyResponse ¶
GetUserPolicyResponse represents the response of the api GetUserPolicy.
type GetUserResponse ¶
GetUserResponse represents the response of the api GetUser.
type ListUsersResponse ¶
type ListUsersResponse struct { Users struct { User []struct { Comments string UserName string } } }
ListUsersResponse represents the response of the api ListUsers.