ram

package
v0.0.0-...-0b043e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Product = "Ram"
	Style   = "RPC"
	Version = "2014-02-14"
)

Variables

This section is empty.

Functions

func NewParams

func NewParams() openapi.Params

Types

type API

type API struct {
	openapi.Service
}

func New

func New(accessKeyId, accessKeySecret string) API

func (API) AddUser

func (api API) AddUser(UserName string, optional openapi.M) (*openapi.Response, error)

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

func (api API) ListUserPolicies(UserName string, optional openapi.M) (*openapi.Response, error)

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

func (api API) RemoveUser(UserName string, optional openapi.M) (*openapi.Response, error)

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

type GetUserPolicyResponse struct {
	PolicyDocument string
	PolicyName     string
	UserName       string
}

GetUserPolicyResponse represents the response of the api GetUserPolicy.

type GetUserResponse

type GetUserResponse struct {
	Comments string
	UserName string
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL