ram

package
v1.62.497 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 50

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "central"

EndpointType regional or central

Functions

func GetEndpointMap added in v1.61.68

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType added in v1.61.68

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty added in v1.61.68

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient added in v1.61.68

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type AccessKey

type AccessKey struct {
	AccessKeySecret string `json:"AccessKeySecret" xml:"AccessKeySecret"`
	CreateDate      string `json:"CreateDate" xml:"CreateDate"`
	Status          string `json:"Status" xml:"Status"`
	AccessKeyId     string `json:"AccessKeyId" xml:"AccessKeyId"`
}

AccessKey is a nested struct in ram response

type AccessKeyLastUsed

type AccessKeyLastUsed struct {
	LastUsedDate string `json:"LastUsedDate" xml:"LastUsedDate"`
}

AccessKeyLastUsed is a nested struct in ram response

type AccessKeyPreference

type AccessKeyPreference struct {
	AllowUserToManageAccessKeys bool `json:"AllowUserToManageAccessKeys" xml:"AllowUserToManageAccessKeys"`
}

AccessKeyPreference is a nested struct in ram response

type AccessKeys

type AccessKeys struct {
	AccessKey []AccessKey `json:"AccessKey" xml:"AccessKey"`
}

AccessKeys is a nested struct in ram response

type AddUserToGroupRequest

type AddUserToGroupRequest struct {
	*requests.RpcRequest
	GroupName string `position:"Query" name:"GroupName"`
	UserName  string `position:"Query" name:"UserName"`
}

AddUserToGroupRequest is the request struct for api AddUserToGroup

func CreateAddUserToGroupRequest

func CreateAddUserToGroupRequest() (request *AddUserToGroupRequest)

CreateAddUserToGroupRequest creates a request to invoke AddUserToGroup API

type AddUserToGroupResponse

type AddUserToGroupResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

AddUserToGroupResponse is the response struct for api AddUserToGroup

func CreateAddUserToGroupResponse

func CreateAddUserToGroupResponse() (response *AddUserToGroupResponse)

CreateAddUserToGroupResponse creates a response to parse from AddUserToGroup response

type AttachPolicyToGroupRequest

type AttachPolicyToGroupRequest struct {
	*requests.RpcRequest
	PolicyType string `position:"Query" name:"PolicyType"`
	GroupName  string `position:"Query" name:"GroupName"`
	PolicyName string `position:"Query" name:"PolicyName"`
}

AttachPolicyToGroupRequest is the request struct for api AttachPolicyToGroup

func CreateAttachPolicyToGroupRequest

func CreateAttachPolicyToGroupRequest() (request *AttachPolicyToGroupRequest)

CreateAttachPolicyToGroupRequest creates a request to invoke AttachPolicyToGroup API

type AttachPolicyToGroupResponse

type AttachPolicyToGroupResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

AttachPolicyToGroupResponse is the response struct for api AttachPolicyToGroup

func CreateAttachPolicyToGroupResponse

func CreateAttachPolicyToGroupResponse() (response *AttachPolicyToGroupResponse)

CreateAttachPolicyToGroupResponse creates a response to parse from AttachPolicyToGroup response

type AttachPolicyToRoleRequest

type AttachPolicyToRoleRequest struct {
	*requests.RpcRequest
	PolicyType string `position:"Query" name:"PolicyType"`
	RoleName   string `position:"Query" name:"RoleName"`
	PolicyName string `position:"Query" name:"PolicyName"`
}

AttachPolicyToRoleRequest is the request struct for api AttachPolicyToRole

func CreateAttachPolicyToRoleRequest

func CreateAttachPolicyToRoleRequest() (request *AttachPolicyToRoleRequest)

CreateAttachPolicyToRoleRequest creates a request to invoke AttachPolicyToRole API

type AttachPolicyToRoleResponse

type AttachPolicyToRoleResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

AttachPolicyToRoleResponse is the response struct for api AttachPolicyToRole

func CreateAttachPolicyToRoleResponse

func CreateAttachPolicyToRoleResponse() (response *AttachPolicyToRoleResponse)

CreateAttachPolicyToRoleResponse creates a response to parse from AttachPolicyToRole response

type AttachPolicyToUserRequest

type AttachPolicyToUserRequest struct {
	*requests.RpcRequest
	PolicyType string `position:"Query" name:"PolicyType"`
	PolicyName string `position:"Query" name:"PolicyName"`
	UserName   string `position:"Query" name:"UserName"`
}

AttachPolicyToUserRequest is the request struct for api AttachPolicyToUser

func CreateAttachPolicyToUserRequest

func CreateAttachPolicyToUserRequest() (request *AttachPolicyToUserRequest)

CreateAttachPolicyToUserRequest creates a request to invoke AttachPolicyToUser API

type AttachPolicyToUserResponse

type AttachPolicyToUserResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

AttachPolicyToUserResponse is the response struct for api AttachPolicyToUser

func CreateAttachPolicyToUserResponse

func CreateAttachPolicyToUserResponse() (response *AttachPolicyToUserResponse)

CreateAttachPolicyToUserResponse creates a response to parse from AttachPolicyToUser response

type BindMFADeviceRequest

type BindMFADeviceRequest struct {
	*requests.RpcRequest
	AuthenticationCode2 string `position:"Query" name:"AuthenticationCode2"`
	AuthenticationCode1 string `position:"Query" name:"AuthenticationCode1"`
	SerialNumber        string `position:"Query" name:"SerialNumber"`
	UserName            string `position:"Query" name:"UserName"`
}

BindMFADeviceRequest is the request struct for api BindMFADevice

func CreateBindMFADeviceRequest

func CreateBindMFADeviceRequest() (request *BindMFADeviceRequest)

CreateBindMFADeviceRequest creates a request to invoke BindMFADevice API

type BindMFADeviceResponse

type BindMFADeviceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

BindMFADeviceResponse is the response struct for api BindMFADevice

func CreateBindMFADeviceResponse

func CreateBindMFADeviceResponse() (response *BindMFADeviceResponse)

CreateBindMFADeviceResponse creates a response to parse from BindMFADevice response

type ChangePasswordRequest

type ChangePasswordRequest struct {
	*requests.RpcRequest
	OldPassword string `position:"Query" name:"OldPassword"`
	NewPassword string `position:"Query" name:"NewPassword"`
}

ChangePasswordRequest is the request struct for api ChangePassword

func CreateChangePasswordRequest

func CreateChangePasswordRequest() (request *ChangePasswordRequest)

CreateChangePasswordRequest creates a request to invoke ChangePassword API

type ChangePasswordResponse

type ChangePasswordResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

ChangePasswordResponse is the response struct for api ChangePassword

func CreateChangePasswordResponse

func CreateChangePasswordResponse() (response *ChangePasswordResponse)

CreateChangePasswordResponse creates a response to parse from ChangePassword response

type ClearAccountAliasRequest

type ClearAccountAliasRequest struct {
	*requests.RpcRequest
}

ClearAccountAliasRequest is the request struct for api ClearAccountAlias

func CreateClearAccountAliasRequest

func CreateClearAccountAliasRequest() (request *ClearAccountAliasRequest)

CreateClearAccountAliasRequest creates a request to invoke ClearAccountAlias API

type ClearAccountAliasResponse

type ClearAccountAliasResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

ClearAccountAliasResponse is the response struct for api ClearAccountAlias

func CreateClearAccountAliasResponse

func CreateClearAccountAliasResponse() (response *ClearAccountAliasResponse)

CreateClearAccountAliasResponse creates a response to parse from ClearAccountAlias response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) AddUserToGroup

func (client *Client) AddUserToGroup(request *AddUserToGroupRequest) (response *AddUserToGroupResponse, err error)

AddUserToGroup invokes the ram.AddUserToGroup API synchronously

func (*Client) AddUserToGroupWithCallback

func (client *Client) AddUserToGroupWithCallback(request *AddUserToGroupRequest, callback func(response *AddUserToGroupResponse, err error)) <-chan int

AddUserToGroupWithCallback invokes the ram.AddUserToGroup API asynchronously

func (*Client) AddUserToGroupWithChan

func (client *Client) AddUserToGroupWithChan(request *AddUserToGroupRequest) (<-chan *AddUserToGroupResponse, <-chan error)

AddUserToGroupWithChan invokes the ram.AddUserToGroup API asynchronously

func (*Client) AttachPolicyToGroup

func (client *Client) AttachPolicyToGroup(request *AttachPolicyToGroupRequest) (response *AttachPolicyToGroupResponse, err error)

AttachPolicyToGroup invokes the ram.AttachPolicyToGroup API synchronously

func (*Client) AttachPolicyToGroupWithCallback

func (client *Client) AttachPolicyToGroupWithCallback(request *AttachPolicyToGroupRequest, callback func(response *AttachPolicyToGroupResponse, err error)) <-chan int

AttachPolicyToGroupWithCallback invokes the ram.AttachPolicyToGroup API asynchronously

func (*Client) AttachPolicyToGroupWithChan

func (client *Client) AttachPolicyToGroupWithChan(request *AttachPolicyToGroupRequest) (<-chan *AttachPolicyToGroupResponse, <-chan error)

AttachPolicyToGroupWithChan invokes the ram.AttachPolicyToGroup API asynchronously

func (*Client) AttachPolicyToRole

func (client *Client) AttachPolicyToRole(request *AttachPolicyToRoleRequest) (response *AttachPolicyToRoleResponse, err error)

AttachPolicyToRole invokes the ram.AttachPolicyToRole API synchronously

func (*Client) AttachPolicyToRoleWithCallback

func (client *Client) AttachPolicyToRoleWithCallback(request *AttachPolicyToRoleRequest, callback func(response *AttachPolicyToRoleResponse, err error)) <-chan int

AttachPolicyToRoleWithCallback invokes the ram.AttachPolicyToRole API asynchronously

func (*Client) AttachPolicyToRoleWithChan

func (client *Client) AttachPolicyToRoleWithChan(request *AttachPolicyToRoleRequest) (<-chan *AttachPolicyToRoleResponse, <-chan error)

AttachPolicyToRoleWithChan invokes the ram.AttachPolicyToRole API asynchronously

func (*Client) AttachPolicyToUser

func (client *Client) AttachPolicyToUser(request *AttachPolicyToUserRequest) (response *AttachPolicyToUserResponse, err error)

AttachPolicyToUser invokes the ram.AttachPolicyToUser API synchronously

func (*Client) AttachPolicyToUserWithCallback

func (client *Client) AttachPolicyToUserWithCallback(request *AttachPolicyToUserRequest, callback func(response *AttachPolicyToUserResponse, err error)) <-chan int

AttachPolicyToUserWithCallback invokes the ram.AttachPolicyToUser API asynchronously

func (*Client) AttachPolicyToUserWithChan

func (client *Client) AttachPolicyToUserWithChan(request *AttachPolicyToUserRequest) (<-chan *AttachPolicyToUserResponse, <-chan error)

AttachPolicyToUserWithChan invokes the ram.AttachPolicyToUser API asynchronously

func (*Client) BindMFADevice

func (client *Client) BindMFADevice(request *BindMFADeviceRequest) (response *BindMFADeviceResponse, err error)

BindMFADevice invokes the ram.BindMFADevice API synchronously

func (*Client) BindMFADeviceWithCallback

func (client *Client) BindMFADeviceWithCallback(request *BindMFADeviceRequest, callback func(response *BindMFADeviceResponse, err error)) <-chan int

BindMFADeviceWithCallback invokes the ram.BindMFADevice API asynchronously

func (*Client) BindMFADeviceWithChan

func (client *Client) BindMFADeviceWithChan(request *BindMFADeviceRequest) (<-chan *BindMFADeviceResponse, <-chan error)

BindMFADeviceWithChan invokes the ram.BindMFADevice API asynchronously

func (*Client) ChangePassword

func (client *Client) ChangePassword(request *ChangePasswordRequest) (response *ChangePasswordResponse, err error)

ChangePassword invokes the ram.ChangePassword API synchronously

func (*Client) ChangePasswordWithCallback

func (client *Client) ChangePasswordWithCallback(request *ChangePasswordRequest, callback func(response *ChangePasswordResponse, err error)) <-chan int

ChangePasswordWithCallback invokes the ram.ChangePassword API asynchronously

func (*Client) ChangePasswordWithChan

func (client *Client) ChangePasswordWithChan(request *ChangePasswordRequest) (<-chan *ChangePasswordResponse, <-chan error)

ChangePasswordWithChan invokes the ram.ChangePassword API asynchronously

func (*Client) ClearAccountAlias

func (client *Client) ClearAccountAlias(request *ClearAccountAliasRequest) (response *ClearAccountAliasResponse, err error)

ClearAccountAlias invokes the ram.ClearAccountAlias API synchronously

func (*Client) ClearAccountAliasWithCallback

func (client *Client) ClearAccountAliasWithCallback(request *ClearAccountAliasRequest, callback func(response *ClearAccountAliasResponse, err error)) <-chan int

ClearAccountAliasWithCallback invokes the ram.ClearAccountAlias API asynchronously

func (*Client) ClearAccountAliasWithChan

func (client *Client) ClearAccountAliasWithChan(request *ClearAccountAliasRequest) (<-chan *ClearAccountAliasResponse, <-chan error)

ClearAccountAliasWithChan invokes the ram.ClearAccountAlias API asynchronously

func (*Client) CreateAccessKey

func (client *Client) CreateAccessKey(request *CreateAccessKeyRequest) (response *CreateAccessKeyResponse, err error)

CreateAccessKey invokes the ram.CreateAccessKey API synchronously

func (*Client) CreateAccessKeyWithCallback

func (client *Client) CreateAccessKeyWithCallback(request *CreateAccessKeyRequest, callback func(response *CreateAccessKeyResponse, err error)) <-chan int

CreateAccessKeyWithCallback invokes the ram.CreateAccessKey API asynchronously

func (*Client) CreateAccessKeyWithChan

func (client *Client) CreateAccessKeyWithChan(request *CreateAccessKeyRequest) (<-chan *CreateAccessKeyResponse, <-chan error)

CreateAccessKeyWithChan invokes the ram.CreateAccessKey API asynchronously

func (*Client) CreateGroup

func (client *Client) CreateGroup(request *CreateGroupRequest) (response *CreateGroupResponse, err error)

CreateGroup invokes the ram.CreateGroup API synchronously

func (*Client) CreateGroupWithCallback

func (client *Client) CreateGroupWithCallback(request *CreateGroupRequest, callback func(response *CreateGroupResponse, err error)) <-chan int

CreateGroupWithCallback invokes the ram.CreateGroup API asynchronously

func (*Client) CreateGroupWithChan

func (client *Client) CreateGroupWithChan(request *CreateGroupRequest) (<-chan *CreateGroupResponse, <-chan error)

CreateGroupWithChan invokes the ram.CreateGroup API asynchronously

func (*Client) CreateLoginProfile

func (client *Client) CreateLoginProfile(request *CreateLoginProfileRequest) (response *CreateLoginProfileResponse, err error)

CreateLoginProfile invokes the ram.CreateLoginProfile API synchronously

func (*Client) CreateLoginProfileWithCallback

func (client *Client) CreateLoginProfileWithCallback(request *CreateLoginProfileRequest, callback func(response *CreateLoginProfileResponse, err error)) <-chan int

CreateLoginProfileWithCallback invokes the ram.CreateLoginProfile API asynchronously

func (*Client) CreateLoginProfileWithChan

func (client *Client) CreateLoginProfileWithChan(request *CreateLoginProfileRequest) (<-chan *CreateLoginProfileResponse, <-chan error)

CreateLoginProfileWithChan invokes the ram.CreateLoginProfile API asynchronously

func (*Client) CreatePolicy

func (client *Client) CreatePolicy(request *CreatePolicyRequest) (response *CreatePolicyResponse, err error)

CreatePolicy invokes the ram.CreatePolicy API synchronously

func (*Client) CreatePolicyVersion

func (client *Client) CreatePolicyVersion(request *CreatePolicyVersionRequest) (response *CreatePolicyVersionResponse, err error)

CreatePolicyVersion invokes the ram.CreatePolicyVersion API synchronously

func (*Client) CreatePolicyVersionWithCallback

func (client *Client) CreatePolicyVersionWithCallback(request *CreatePolicyVersionRequest, callback func(response *CreatePolicyVersionResponse, err error)) <-chan int

CreatePolicyVersionWithCallback invokes the ram.CreatePolicyVersion API asynchronously

func (*Client) CreatePolicyVersionWithChan

func (client *Client) CreatePolicyVersionWithChan(request *CreatePolicyVersionRequest) (<-chan *CreatePolicyVersionResponse, <-chan error)

CreatePolicyVersionWithChan invokes the ram.CreatePolicyVersion API asynchronously

func (*Client) CreatePolicyWithCallback

func (client *Client) CreatePolicyWithCallback(request *CreatePolicyRequest, callback func(response *CreatePolicyResponse, err error)) <-chan int

CreatePolicyWithCallback invokes the ram.CreatePolicy API asynchronously

func (*Client) CreatePolicyWithChan

func (client *Client) CreatePolicyWithChan(request *CreatePolicyRequest) (<-chan *CreatePolicyResponse, <-chan error)

CreatePolicyWithChan invokes the ram.CreatePolicy API asynchronously

func (*Client) CreateRole

func (client *Client) CreateRole(request *CreateRoleRequest) (response *CreateRoleResponse, err error)

CreateRole invokes the ram.CreateRole API synchronously

func (*Client) CreateRoleWithCallback

func (client *Client) CreateRoleWithCallback(request *CreateRoleRequest, callback func(response *CreateRoleResponse, err error)) <-chan int

CreateRoleWithCallback invokes the ram.CreateRole API asynchronously

func (*Client) CreateRoleWithChan

func (client *Client) CreateRoleWithChan(request *CreateRoleRequest) (<-chan *CreateRoleResponse, <-chan error)

CreateRoleWithChan invokes the ram.CreateRole API asynchronously

func (*Client) CreateUser

func (client *Client) CreateUser(request *CreateUserRequest) (response *CreateUserResponse, err error)

CreateUser invokes the ram.CreateUser API synchronously

func (*Client) CreateUserWithCallback

func (client *Client) CreateUserWithCallback(request *CreateUserRequest, callback func(response *CreateUserResponse, err error)) <-chan int

CreateUserWithCallback invokes the ram.CreateUser API asynchronously

func (*Client) CreateUserWithChan

func (client *Client) CreateUserWithChan(request *CreateUserRequest) (<-chan *CreateUserResponse, <-chan error)

CreateUserWithChan invokes the ram.CreateUser API asynchronously

func (*Client) CreateVirtualMFADevice

func (client *Client) CreateVirtualMFADevice(request *CreateVirtualMFADeviceRequest) (response *CreateVirtualMFADeviceResponse, err error)

CreateVirtualMFADevice invokes the ram.CreateVirtualMFADevice API synchronously

func (*Client) CreateVirtualMFADeviceWithCallback

func (client *Client) CreateVirtualMFADeviceWithCallback(request *CreateVirtualMFADeviceRequest, callback func(response *CreateVirtualMFADeviceResponse, err error)) <-chan int

CreateVirtualMFADeviceWithCallback invokes the ram.CreateVirtualMFADevice API asynchronously

func (*Client) CreateVirtualMFADeviceWithChan

func (client *Client) CreateVirtualMFADeviceWithChan(request *CreateVirtualMFADeviceRequest) (<-chan *CreateVirtualMFADeviceResponse, <-chan error)

CreateVirtualMFADeviceWithChan invokes the ram.CreateVirtualMFADevice API asynchronously

func (*Client) DeleteAccessKey

func (client *Client) DeleteAccessKey(request *DeleteAccessKeyRequest) (response *DeleteAccessKeyResponse, err error)

DeleteAccessKey invokes the ram.DeleteAccessKey API synchronously

func (*Client) DeleteAccessKeyWithCallback

func (client *Client) DeleteAccessKeyWithCallback(request *DeleteAccessKeyRequest, callback func(response *DeleteAccessKeyResponse, err error)) <-chan int

DeleteAccessKeyWithCallback invokes the ram.DeleteAccessKey API asynchronously

func (*Client) DeleteAccessKeyWithChan

func (client *Client) DeleteAccessKeyWithChan(request *DeleteAccessKeyRequest) (<-chan *DeleteAccessKeyResponse, <-chan error)

DeleteAccessKeyWithChan invokes the ram.DeleteAccessKey API asynchronously

func (*Client) DeleteGroup

func (client *Client) DeleteGroup(request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)

DeleteGroup invokes the ram.DeleteGroup API synchronously

func (*Client) DeleteGroupWithCallback

func (client *Client) DeleteGroupWithCallback(request *DeleteGroupRequest, callback func(response *DeleteGroupResponse, err error)) <-chan int

DeleteGroupWithCallback invokes the ram.DeleteGroup API asynchronously

func (*Client) DeleteGroupWithChan

func (client *Client) DeleteGroupWithChan(request *DeleteGroupRequest) (<-chan *DeleteGroupResponse, <-chan error)

DeleteGroupWithChan invokes the ram.DeleteGroup API asynchronously

func (*Client) DeleteLoginProfile

func (client *Client) DeleteLoginProfile(request *DeleteLoginProfileRequest) (response *DeleteLoginProfileResponse, err error)

DeleteLoginProfile invokes the ram.DeleteLoginProfile API synchronously

func (*Client) DeleteLoginProfileWithCallback

func (client *Client) DeleteLoginProfileWithCallback(request *DeleteLoginProfileRequest, callback func(response *DeleteLoginProfileResponse, err error)) <-chan int

DeleteLoginProfileWithCallback invokes the ram.DeleteLoginProfile API asynchronously

func (*Client) DeleteLoginProfileWithChan

func (client *Client) DeleteLoginProfileWithChan(request *DeleteLoginProfileRequest) (<-chan *DeleteLoginProfileResponse, <-chan error)

DeleteLoginProfileWithChan invokes the ram.DeleteLoginProfile API asynchronously

func (*Client) DeletePolicy

func (client *Client) DeletePolicy(request *DeletePolicyRequest) (response *DeletePolicyResponse, err error)

DeletePolicy invokes the ram.DeletePolicy API synchronously

func (*Client) DeletePolicyVersion

func (client *Client) DeletePolicyVersion(request *DeletePolicyVersionRequest) (response *DeletePolicyVersionResponse, err error)

DeletePolicyVersion invokes the ram.DeletePolicyVersion API synchronously

func (*Client) DeletePolicyVersionWithCallback

func (client *Client) DeletePolicyVersionWithCallback(request *DeletePolicyVersionRequest, callback func(response *DeletePolicyVersionResponse, err error)) <-chan int

DeletePolicyVersionWithCallback invokes the ram.DeletePolicyVersion API asynchronously

func (*Client) DeletePolicyVersionWithChan

func (client *Client) DeletePolicyVersionWithChan(request *DeletePolicyVersionRequest) (<-chan *DeletePolicyVersionResponse, <-chan error)

DeletePolicyVersionWithChan invokes the ram.DeletePolicyVersion API asynchronously

func (*Client) DeletePolicyWithCallback

func (client *Client) DeletePolicyWithCallback(request *DeletePolicyRequest, callback func(response *DeletePolicyResponse, err error)) <-chan int

DeletePolicyWithCallback invokes the ram.DeletePolicy API asynchronously

func (*Client) DeletePolicyWithChan

func (client *Client) DeletePolicyWithChan(request *DeletePolicyRequest) (<-chan *DeletePolicyResponse, <-chan error)

DeletePolicyWithChan invokes the ram.DeletePolicy API asynchronously

func (*Client) DeleteRole

func (client *Client) DeleteRole(request *DeleteRoleRequest) (response *DeleteRoleResponse, err error)

DeleteRole invokes the ram.DeleteRole API synchronously

func (*Client) DeleteRoleWithCallback

func (client *Client) DeleteRoleWithCallback(request *DeleteRoleRequest, callback func(response *DeleteRoleResponse, err error)) <-chan int

DeleteRoleWithCallback invokes the ram.DeleteRole API asynchronously

func (*Client) DeleteRoleWithChan

func (client *Client) DeleteRoleWithChan(request *DeleteRoleRequest) (<-chan *DeleteRoleResponse, <-chan error)

DeleteRoleWithChan invokes the ram.DeleteRole API asynchronously

func (*Client) DeleteUser

func (client *Client) DeleteUser(request *DeleteUserRequest) (response *DeleteUserResponse, err error)

DeleteUser invokes the ram.DeleteUser API synchronously

func (*Client) DeleteUserWithCallback

func (client *Client) DeleteUserWithCallback(request *DeleteUserRequest, callback func(response *DeleteUserResponse, err error)) <-chan int

DeleteUserWithCallback invokes the ram.DeleteUser API asynchronously

func (*Client) DeleteUserWithChan

func (client *Client) DeleteUserWithChan(request *DeleteUserRequest) (<-chan *DeleteUserResponse, <-chan error)

DeleteUserWithChan invokes the ram.DeleteUser API asynchronously

func (*Client) DeleteVirtualMFADevice

func (client *Client) DeleteVirtualMFADevice(request *DeleteVirtualMFADeviceRequest) (response *DeleteVirtualMFADeviceResponse, err error)

DeleteVirtualMFADevice invokes the ram.DeleteVirtualMFADevice API synchronously

func (*Client) DeleteVirtualMFADeviceWithCallback

func (client *Client) DeleteVirtualMFADeviceWithCallback(request *DeleteVirtualMFADeviceRequest, callback func(response *DeleteVirtualMFADeviceResponse, err error)) <-chan int

DeleteVirtualMFADeviceWithCallback invokes the ram.DeleteVirtualMFADevice API asynchronously

func (*Client) DeleteVirtualMFADeviceWithChan

func (client *Client) DeleteVirtualMFADeviceWithChan(request *DeleteVirtualMFADeviceRequest) (<-chan *DeleteVirtualMFADeviceResponse, <-chan error)

DeleteVirtualMFADeviceWithChan invokes the ram.DeleteVirtualMFADevice API asynchronously

func (*Client) DetachPolicyFromGroup

func (client *Client) DetachPolicyFromGroup(request *DetachPolicyFromGroupRequest) (response *DetachPolicyFromGroupResponse, err error)

DetachPolicyFromGroup invokes the ram.DetachPolicyFromGroup API synchronously

func (*Client) DetachPolicyFromGroupWithCallback

func (client *Client) DetachPolicyFromGroupWithCallback(request *DetachPolicyFromGroupRequest, callback func(response *DetachPolicyFromGroupResponse, err error)) <-chan int

DetachPolicyFromGroupWithCallback invokes the ram.DetachPolicyFromGroup API asynchronously

func (*Client) DetachPolicyFromGroupWithChan

func (client *Client) DetachPolicyFromGroupWithChan(request *DetachPolicyFromGroupRequest) (<-chan *DetachPolicyFromGroupResponse, <-chan error)

DetachPolicyFromGroupWithChan invokes the ram.DetachPolicyFromGroup API asynchronously

func (*Client) DetachPolicyFromRole

func (client *Client) DetachPolicyFromRole(request *DetachPolicyFromRoleRequest) (response *DetachPolicyFromRoleResponse, err error)

DetachPolicyFromRole invokes the ram.DetachPolicyFromRole API synchronously

func (*Client) DetachPolicyFromRoleWithCallback

func (client *Client) DetachPolicyFromRoleWithCallback(request *DetachPolicyFromRoleRequest, callback func(response *DetachPolicyFromRoleResponse, err error)) <-chan int

DetachPolicyFromRoleWithCallback invokes the ram.DetachPolicyFromRole API asynchronously

func (*Client) DetachPolicyFromRoleWithChan

func (client *Client) DetachPolicyFromRoleWithChan(request *DetachPolicyFromRoleRequest) (<-chan *DetachPolicyFromRoleResponse, <-chan error)

DetachPolicyFromRoleWithChan invokes the ram.DetachPolicyFromRole API asynchronously

func (*Client) DetachPolicyFromUser

func (client *Client) DetachPolicyFromUser(request *DetachPolicyFromUserRequest) (response *DetachPolicyFromUserResponse, err error)

DetachPolicyFromUser invokes the ram.DetachPolicyFromUser API synchronously

func (*Client) DetachPolicyFromUserWithCallback

func (client *Client) DetachPolicyFromUserWithCallback(request *DetachPolicyFromUserRequest, callback func(response *DetachPolicyFromUserResponse, err error)) <-chan int

DetachPolicyFromUserWithCallback invokes the ram.DetachPolicyFromUser API asynchronously

func (*Client) DetachPolicyFromUserWithChan

func (client *Client) DetachPolicyFromUserWithChan(request *DetachPolicyFromUserRequest) (<-chan *DetachPolicyFromUserResponse, <-chan error)

DetachPolicyFromUserWithChan invokes the ram.DetachPolicyFromUser API asynchronously

func (*Client) GetAccessKeyLastUsed

func (client *Client) GetAccessKeyLastUsed(request *GetAccessKeyLastUsedRequest) (response *GetAccessKeyLastUsedResponse, err error)

GetAccessKeyLastUsed invokes the ram.GetAccessKeyLastUsed API synchronously

func (*Client) GetAccessKeyLastUsedWithCallback

func (client *Client) GetAccessKeyLastUsedWithCallback(request *GetAccessKeyLastUsedRequest, callback func(response *GetAccessKeyLastUsedResponse, err error)) <-chan int

GetAccessKeyLastUsedWithCallback invokes the ram.GetAccessKeyLastUsed API asynchronously

func (*Client) GetAccessKeyLastUsedWithChan

func (client *Client) GetAccessKeyLastUsedWithChan(request *GetAccessKeyLastUsedRequest) (<-chan *GetAccessKeyLastUsedResponse, <-chan error)

GetAccessKeyLastUsedWithChan invokes the ram.GetAccessKeyLastUsed API asynchronously

func (*Client) GetAccountAlias

func (client *Client) GetAccountAlias(request *GetAccountAliasRequest) (response *GetAccountAliasResponse, err error)

GetAccountAlias invokes the ram.GetAccountAlias API synchronously

func (*Client) GetAccountAliasWithCallback

func (client *Client) GetAccountAliasWithCallback(request *GetAccountAliasRequest, callback func(response *GetAccountAliasResponse, err error)) <-chan int

GetAccountAliasWithCallback invokes the ram.GetAccountAlias API asynchronously

func (*Client) GetAccountAliasWithChan

func (client *Client) GetAccountAliasWithChan(request *GetAccountAliasRequest) (<-chan *GetAccountAliasResponse, <-chan error)

GetAccountAliasWithChan invokes the ram.GetAccountAlias API asynchronously

func (*Client) GetGroup

func (client *Client) GetGroup(request *GetGroupRequest) (response *GetGroupResponse, err error)

GetGroup invokes the ram.GetGroup API synchronously

func (*Client) GetGroupWithCallback

func (client *Client) GetGroupWithCallback(request *GetGroupRequest, callback func(response *GetGroupResponse, err error)) <-chan int

GetGroupWithCallback invokes the ram.GetGroup API asynchronously

func (*Client) GetGroupWithChan

func (client *Client) GetGroupWithChan(request *GetGroupRequest) (<-chan *GetGroupResponse, <-chan error)

GetGroupWithChan invokes the ram.GetGroup API asynchronously

func (*Client) GetLoginProfile

func (client *Client) GetLoginProfile(request *GetLoginProfileRequest) (response *GetLoginProfileResponse, err error)

GetLoginProfile invokes the ram.GetLoginProfile API synchronously

func (*Client) GetLoginProfileWithCallback

func (client *Client) GetLoginProfileWithCallback(request *GetLoginProfileRequest, callback func(response *GetLoginProfileResponse, err error)) <-chan int

GetLoginProfileWithCallback invokes the ram.GetLoginProfile API asynchronously

func (*Client) GetLoginProfileWithChan

func (client *Client) GetLoginProfileWithChan(request *GetLoginProfileRequest) (<-chan *GetLoginProfileResponse, <-chan error)

GetLoginProfileWithChan invokes the ram.GetLoginProfile API asynchronously

func (*Client) GetPasswordPolicy

func (client *Client) GetPasswordPolicy(request *GetPasswordPolicyRequest) (response *GetPasswordPolicyResponse, err error)

GetPasswordPolicy invokes the ram.GetPasswordPolicy API synchronously

func (*Client) GetPasswordPolicyWithCallback

func (client *Client) GetPasswordPolicyWithCallback(request *GetPasswordPolicyRequest, callback func(response *GetPasswordPolicyResponse, err error)) <-chan int

GetPasswordPolicyWithCallback invokes the ram.GetPasswordPolicy API asynchronously

func (*Client) GetPasswordPolicyWithChan

func (client *Client) GetPasswordPolicyWithChan(request *GetPasswordPolicyRequest) (<-chan *GetPasswordPolicyResponse, <-chan error)

GetPasswordPolicyWithChan invokes the ram.GetPasswordPolicy API asynchronously

func (*Client) GetPolicy

func (client *Client) GetPolicy(request *GetPolicyRequest) (response *GetPolicyResponse, err error)

GetPolicy invokes the ram.GetPolicy API synchronously

func (*Client) GetPolicyVersion

func (client *Client) GetPolicyVersion(request *GetPolicyVersionRequest) (response *GetPolicyVersionResponse, err error)

GetPolicyVersion invokes the ram.GetPolicyVersion API synchronously

func (*Client) GetPolicyVersionWithCallback

func (client *Client) GetPolicyVersionWithCallback(request *GetPolicyVersionRequest, callback func(response *GetPolicyVersionResponse, err error)) <-chan int

GetPolicyVersionWithCallback invokes the ram.GetPolicyVersion API asynchronously

func (*Client) GetPolicyVersionWithChan

func (client *Client) GetPolicyVersionWithChan(request *GetPolicyVersionRequest) (<-chan *GetPolicyVersionResponse, <-chan error)

GetPolicyVersionWithChan invokes the ram.GetPolicyVersion API asynchronously

func (*Client) GetPolicyWithCallback

func (client *Client) GetPolicyWithCallback(request *GetPolicyRequest, callback func(response *GetPolicyResponse, err error)) <-chan int

GetPolicyWithCallback invokes the ram.GetPolicy API asynchronously

func (*Client) GetPolicyWithChan

func (client *Client) GetPolicyWithChan(request *GetPolicyRequest) (<-chan *GetPolicyResponse, <-chan error)

GetPolicyWithChan invokes the ram.GetPolicy API asynchronously

func (*Client) GetRole

func (client *Client) GetRole(request *GetRoleRequest) (response *GetRoleResponse, err error)

GetRole invokes the ram.GetRole API synchronously

func (*Client) GetRoleWithCallback

func (client *Client) GetRoleWithCallback(request *GetRoleRequest, callback func(response *GetRoleResponse, err error)) <-chan int

GetRoleWithCallback invokes the ram.GetRole API asynchronously

func (*Client) GetRoleWithChan

func (client *Client) GetRoleWithChan(request *GetRoleRequest) (<-chan *GetRoleResponse, <-chan error)

GetRoleWithChan invokes the ram.GetRole API asynchronously

func (*Client) GetSecurityPreference

func (client *Client) GetSecurityPreference(request *GetSecurityPreferenceRequest) (response *GetSecurityPreferenceResponse, err error)

GetSecurityPreference invokes the ram.GetSecurityPreference API synchronously

func (*Client) GetSecurityPreferenceWithCallback

func (client *Client) GetSecurityPreferenceWithCallback(request *GetSecurityPreferenceRequest, callback func(response *GetSecurityPreferenceResponse, err error)) <-chan int

GetSecurityPreferenceWithCallback invokes the ram.GetSecurityPreference API asynchronously

func (*Client) GetSecurityPreferenceWithChan

func (client *Client) GetSecurityPreferenceWithChan(request *GetSecurityPreferenceRequest) (<-chan *GetSecurityPreferenceResponse, <-chan error)

GetSecurityPreferenceWithChan invokes the ram.GetSecurityPreference API asynchronously

func (*Client) GetUser

func (client *Client) GetUser(request *GetUserRequest) (response *GetUserResponse, err error)

GetUser invokes the ram.GetUser API synchronously

func (*Client) GetUserMFAInfo

func (client *Client) GetUserMFAInfo(request *GetUserMFAInfoRequest) (response *GetUserMFAInfoResponse, err error)

GetUserMFAInfo invokes the ram.GetUserMFAInfo API synchronously

func (*Client) GetUserMFAInfoWithCallback

func (client *Client) GetUserMFAInfoWithCallback(request *GetUserMFAInfoRequest, callback func(response *GetUserMFAInfoResponse, err error)) <-chan int

GetUserMFAInfoWithCallback invokes the ram.GetUserMFAInfo API asynchronously

func (*Client) GetUserMFAInfoWithChan

func (client *Client) GetUserMFAInfoWithChan(request *GetUserMFAInfoRequest) (<-chan *GetUserMFAInfoResponse, <-chan error)

GetUserMFAInfoWithChan invokes the ram.GetUserMFAInfo API asynchronously

func (*Client) GetUserWithCallback

func (client *Client) GetUserWithCallback(request *GetUserRequest, callback func(response *GetUserResponse, err error)) <-chan int

GetUserWithCallback invokes the ram.GetUser API asynchronously

func (*Client) GetUserWithChan

func (client *Client) GetUserWithChan(request *GetUserRequest) (<-chan *GetUserResponse, <-chan error)

GetUserWithChan invokes the ram.GetUser API asynchronously

func (*Client) ListAccessKeys

func (client *Client) ListAccessKeys(request *ListAccessKeysRequest) (response *ListAccessKeysResponse, err error)

ListAccessKeys invokes the ram.ListAccessKeys API synchronously

func (*Client) ListAccessKeysWithCallback

func (client *Client) ListAccessKeysWithCallback(request *ListAccessKeysRequest, callback func(response *ListAccessKeysResponse, err error)) <-chan int

ListAccessKeysWithCallback invokes the ram.ListAccessKeys API asynchronously

func (*Client) ListAccessKeysWithChan

func (client *Client) ListAccessKeysWithChan(request *ListAccessKeysRequest) (<-chan *ListAccessKeysResponse, <-chan error)

ListAccessKeysWithChan invokes the ram.ListAccessKeys API asynchronously

func (*Client) ListEntitiesForPolicy

func (client *Client) ListEntitiesForPolicy(request *ListEntitiesForPolicyRequest) (response *ListEntitiesForPolicyResponse, err error)

ListEntitiesForPolicy invokes the ram.ListEntitiesForPolicy API synchronously

func (*Client) ListEntitiesForPolicyWithCallback

func (client *Client) ListEntitiesForPolicyWithCallback(request *ListEntitiesForPolicyRequest, callback func(response *ListEntitiesForPolicyResponse, err error)) <-chan int

ListEntitiesForPolicyWithCallback invokes the ram.ListEntitiesForPolicy API asynchronously

func (*Client) ListEntitiesForPolicyWithChan

func (client *Client) ListEntitiesForPolicyWithChan(request *ListEntitiesForPolicyRequest) (<-chan *ListEntitiesForPolicyResponse, <-chan error)

ListEntitiesForPolicyWithChan invokes the ram.ListEntitiesForPolicy API asynchronously

func (*Client) ListGroups

func (client *Client) ListGroups(request *ListGroupsRequest) (response *ListGroupsResponse, err error)

ListGroups invokes the ram.ListGroups API synchronously

func (*Client) ListGroupsForUser

func (client *Client) ListGroupsForUser(request *ListGroupsForUserRequest) (response *ListGroupsForUserResponse, err error)

ListGroupsForUser invokes the ram.ListGroupsForUser API synchronously

func (*Client) ListGroupsForUserWithCallback

func (client *Client) ListGroupsForUserWithCallback(request *ListGroupsForUserRequest, callback func(response *ListGroupsForUserResponse, err error)) <-chan int

ListGroupsForUserWithCallback invokes the ram.ListGroupsForUser API asynchronously

func (*Client) ListGroupsForUserWithChan

func (client *Client) ListGroupsForUserWithChan(request *ListGroupsForUserRequest) (<-chan *ListGroupsForUserResponse, <-chan error)

ListGroupsForUserWithChan invokes the ram.ListGroupsForUser API asynchronously

func (*Client) ListGroupsWithCallback

func (client *Client) ListGroupsWithCallback(request *ListGroupsRequest, callback func(response *ListGroupsResponse, err error)) <-chan int

ListGroupsWithCallback invokes the ram.ListGroups API asynchronously

func (*Client) ListGroupsWithChan

func (client *Client) ListGroupsWithChan(request *ListGroupsRequest) (<-chan *ListGroupsResponse, <-chan error)

ListGroupsWithChan invokes the ram.ListGroups API asynchronously

func (*Client) ListPolicies

func (client *Client) ListPolicies(request *ListPoliciesRequest) (response *ListPoliciesResponse, err error)

ListPolicies invokes the ram.ListPolicies API synchronously

func (*Client) ListPoliciesForGroup

func (client *Client) ListPoliciesForGroup(request *ListPoliciesForGroupRequest) (response *ListPoliciesForGroupResponse, err error)

ListPoliciesForGroup invokes the ram.ListPoliciesForGroup API synchronously

func (*Client) ListPoliciesForGroupWithCallback

func (client *Client) ListPoliciesForGroupWithCallback(request *ListPoliciesForGroupRequest, callback func(response *ListPoliciesForGroupResponse, err error)) <-chan int

ListPoliciesForGroupWithCallback invokes the ram.ListPoliciesForGroup API asynchronously

func (*Client) ListPoliciesForGroupWithChan

func (client *Client) ListPoliciesForGroupWithChan(request *ListPoliciesForGroupRequest) (<-chan *ListPoliciesForGroupResponse, <-chan error)

ListPoliciesForGroupWithChan invokes the ram.ListPoliciesForGroup API asynchronously

func (*Client) ListPoliciesForRole

func (client *Client) ListPoliciesForRole(request *ListPoliciesForRoleRequest) (response *ListPoliciesForRoleResponse, err error)

ListPoliciesForRole invokes the ram.ListPoliciesForRole API synchronously

func (*Client) ListPoliciesForRoleWithCallback

func (client *Client) ListPoliciesForRoleWithCallback(request *ListPoliciesForRoleRequest, callback func(response *ListPoliciesForRoleResponse, err error)) <-chan int

ListPoliciesForRoleWithCallback invokes the ram.ListPoliciesForRole API asynchronously

func (*Client) ListPoliciesForRoleWithChan

func (client *Client) ListPoliciesForRoleWithChan(request *ListPoliciesForRoleRequest) (<-chan *ListPoliciesForRoleResponse, <-chan error)

ListPoliciesForRoleWithChan invokes the ram.ListPoliciesForRole API asynchronously

func (*Client) ListPoliciesForUser

func (client *Client) ListPoliciesForUser(request *ListPoliciesForUserRequest) (response *ListPoliciesForUserResponse, err error)

ListPoliciesForUser invokes the ram.ListPoliciesForUser API synchronously

func (*Client) ListPoliciesForUserWithCallback

func (client *Client) ListPoliciesForUserWithCallback(request *ListPoliciesForUserRequest, callback func(response *ListPoliciesForUserResponse, err error)) <-chan int

ListPoliciesForUserWithCallback invokes the ram.ListPoliciesForUser API asynchronously

func (*Client) ListPoliciesForUserWithChan

func (client *Client) ListPoliciesForUserWithChan(request *ListPoliciesForUserRequest) (<-chan *ListPoliciesForUserResponse, <-chan error)

ListPoliciesForUserWithChan invokes the ram.ListPoliciesForUser API asynchronously

func (*Client) ListPoliciesWithCallback

func (client *Client) ListPoliciesWithCallback(request *ListPoliciesRequest, callback func(response *ListPoliciesResponse, err error)) <-chan int

ListPoliciesWithCallback invokes the ram.ListPolicies API asynchronously

func (*Client) ListPoliciesWithChan

func (client *Client) ListPoliciesWithChan(request *ListPoliciesRequest) (<-chan *ListPoliciesResponse, <-chan error)

ListPoliciesWithChan invokes the ram.ListPolicies API asynchronously

func (*Client) ListPolicyVersions

func (client *Client) ListPolicyVersions(request *ListPolicyVersionsRequest) (response *ListPolicyVersionsResponse, err error)

ListPolicyVersions invokes the ram.ListPolicyVersions API synchronously

func (*Client) ListPolicyVersionsWithCallback

func (client *Client) ListPolicyVersionsWithCallback(request *ListPolicyVersionsRequest, callback func(response *ListPolicyVersionsResponse, err error)) <-chan int

ListPolicyVersionsWithCallback invokes the ram.ListPolicyVersions API asynchronously

func (*Client) ListPolicyVersionsWithChan

func (client *Client) ListPolicyVersionsWithChan(request *ListPolicyVersionsRequest) (<-chan *ListPolicyVersionsResponse, <-chan error)

ListPolicyVersionsWithChan invokes the ram.ListPolicyVersions API asynchronously

func (*Client) ListRoles

func (client *Client) ListRoles(request *ListRolesRequest) (response *ListRolesResponse, err error)

ListRoles invokes the ram.ListRoles API synchronously

func (*Client) ListRolesWithCallback

func (client *Client) ListRolesWithCallback(request *ListRolesRequest, callback func(response *ListRolesResponse, err error)) <-chan int

ListRolesWithCallback invokes the ram.ListRoles API asynchronously

func (*Client) ListRolesWithChan

func (client *Client) ListRolesWithChan(request *ListRolesRequest) (<-chan *ListRolesResponse, <-chan error)

ListRolesWithChan invokes the ram.ListRoles API asynchronously

func (*Client) ListUsers

func (client *Client) ListUsers(request *ListUsersRequest) (response *ListUsersResponse, err error)

ListUsers invokes the ram.ListUsers API synchronously

func (*Client) ListUsersForGroup

func (client *Client) ListUsersForGroup(request *ListUsersForGroupRequest) (response *ListUsersForGroupResponse, err error)

ListUsersForGroup invokes the ram.ListUsersForGroup API synchronously

func (*Client) ListUsersForGroupWithCallback

func (client *Client) ListUsersForGroupWithCallback(request *ListUsersForGroupRequest, callback func(response *ListUsersForGroupResponse, err error)) <-chan int

ListUsersForGroupWithCallback invokes the ram.ListUsersForGroup API asynchronously

func (*Client) ListUsersForGroupWithChan

func (client *Client) ListUsersForGroupWithChan(request *ListUsersForGroupRequest) (<-chan *ListUsersForGroupResponse, <-chan error)

ListUsersForGroupWithChan invokes the ram.ListUsersForGroup API asynchronously

func (*Client) ListUsersWithCallback

func (client *Client) ListUsersWithCallback(request *ListUsersRequest, callback func(response *ListUsersResponse, err error)) <-chan int

ListUsersWithCallback invokes the ram.ListUsers API asynchronously

func (*Client) ListUsersWithChan

func (client *Client) ListUsersWithChan(request *ListUsersRequest) (<-chan *ListUsersResponse, <-chan error)

ListUsersWithChan invokes the ram.ListUsers API asynchronously

func (*Client) ListVirtualMFADevices

func (client *Client) ListVirtualMFADevices(request *ListVirtualMFADevicesRequest) (response *ListVirtualMFADevicesResponse, err error)

ListVirtualMFADevices invokes the ram.ListVirtualMFADevices API synchronously

func (*Client) ListVirtualMFADevicesWithCallback

func (client *Client) ListVirtualMFADevicesWithCallback(request *ListVirtualMFADevicesRequest, callback func(response *ListVirtualMFADevicesResponse, err error)) <-chan int

ListVirtualMFADevicesWithCallback invokes the ram.ListVirtualMFADevices API asynchronously

func (*Client) ListVirtualMFADevicesWithChan

func (client *Client) ListVirtualMFADevicesWithChan(request *ListVirtualMFADevicesRequest) (<-chan *ListVirtualMFADevicesResponse, <-chan error)

ListVirtualMFADevicesWithChan invokes the ram.ListVirtualMFADevices API asynchronously

func (*Client) RemoveUserFromGroup

func (client *Client) RemoveUserFromGroup(request *RemoveUserFromGroupRequest) (response *RemoveUserFromGroupResponse, err error)

RemoveUserFromGroup invokes the ram.RemoveUserFromGroup API synchronously

func (*Client) RemoveUserFromGroupWithCallback

func (client *Client) RemoveUserFromGroupWithCallback(request *RemoveUserFromGroupRequest, callback func(response *RemoveUserFromGroupResponse, err error)) <-chan int

RemoveUserFromGroupWithCallback invokes the ram.RemoveUserFromGroup API asynchronously

func (*Client) RemoveUserFromGroupWithChan

func (client *Client) RemoveUserFromGroupWithChan(request *RemoveUserFromGroupRequest) (<-chan *RemoveUserFromGroupResponse, <-chan error)

RemoveUserFromGroupWithChan invokes the ram.RemoveUserFromGroup API asynchronously

func (*Client) SetAccountAlias

func (client *Client) SetAccountAlias(request *SetAccountAliasRequest) (response *SetAccountAliasResponse, err error)

SetAccountAlias invokes the ram.SetAccountAlias API synchronously

func (*Client) SetAccountAliasWithCallback

func (client *Client) SetAccountAliasWithCallback(request *SetAccountAliasRequest, callback func(response *SetAccountAliasResponse, err error)) <-chan int

SetAccountAliasWithCallback invokes the ram.SetAccountAlias API asynchronously

func (*Client) SetAccountAliasWithChan

func (client *Client) SetAccountAliasWithChan(request *SetAccountAliasRequest) (<-chan *SetAccountAliasResponse, <-chan error)

SetAccountAliasWithChan invokes the ram.SetAccountAlias API asynchronously

func (*Client) SetDefaultPolicyVersion

func (client *Client) SetDefaultPolicyVersion(request *SetDefaultPolicyVersionRequest) (response *SetDefaultPolicyVersionResponse, err error)

SetDefaultPolicyVersion invokes the ram.SetDefaultPolicyVersion API synchronously

func (*Client) SetDefaultPolicyVersionWithCallback

func (client *Client) SetDefaultPolicyVersionWithCallback(request *SetDefaultPolicyVersionRequest, callback func(response *SetDefaultPolicyVersionResponse, err error)) <-chan int

SetDefaultPolicyVersionWithCallback invokes the ram.SetDefaultPolicyVersion API asynchronously

func (*Client) SetDefaultPolicyVersionWithChan

func (client *Client) SetDefaultPolicyVersionWithChan(request *SetDefaultPolicyVersionRequest) (<-chan *SetDefaultPolicyVersionResponse, <-chan error)

SetDefaultPolicyVersionWithChan invokes the ram.SetDefaultPolicyVersion API asynchronously

func (*Client) SetPasswordPolicy

func (client *Client) SetPasswordPolicy(request *SetPasswordPolicyRequest) (response *SetPasswordPolicyResponse, err error)

SetPasswordPolicy invokes the ram.SetPasswordPolicy API synchronously

func (*Client) SetPasswordPolicyWithCallback

func (client *Client) SetPasswordPolicyWithCallback(request *SetPasswordPolicyRequest, callback func(response *SetPasswordPolicyResponse, err error)) <-chan int

SetPasswordPolicyWithCallback invokes the ram.SetPasswordPolicy API asynchronously

func (*Client) SetPasswordPolicyWithChan

func (client *Client) SetPasswordPolicyWithChan(request *SetPasswordPolicyRequest) (<-chan *SetPasswordPolicyResponse, <-chan error)

SetPasswordPolicyWithChan invokes the ram.SetPasswordPolicy API asynchronously

func (*Client) SetSecurityPreference

func (client *Client) SetSecurityPreference(request *SetSecurityPreferenceRequest) (response *SetSecurityPreferenceResponse, err error)

SetSecurityPreference invokes the ram.SetSecurityPreference API synchronously

func (*Client) SetSecurityPreferenceWithCallback

func (client *Client) SetSecurityPreferenceWithCallback(request *SetSecurityPreferenceRequest, callback func(response *SetSecurityPreferenceResponse, err error)) <-chan int

SetSecurityPreferenceWithCallback invokes the ram.SetSecurityPreference API asynchronously

func (*Client) SetSecurityPreferenceWithChan

func (client *Client) SetSecurityPreferenceWithChan(request *SetSecurityPreferenceRequest) (<-chan *SetSecurityPreferenceResponse, <-chan error)

SetSecurityPreferenceWithChan invokes the ram.SetSecurityPreference API asynchronously

func (*Client) UnbindMFADevice

func (client *Client) UnbindMFADevice(request *UnbindMFADeviceRequest) (response *UnbindMFADeviceResponse, err error)

UnbindMFADevice invokes the ram.UnbindMFADevice API synchronously

func (*Client) UnbindMFADeviceWithCallback

func (client *Client) UnbindMFADeviceWithCallback(request *UnbindMFADeviceRequest, callback func(response *UnbindMFADeviceResponse, err error)) <-chan int

UnbindMFADeviceWithCallback invokes the ram.UnbindMFADevice API asynchronously

func (*Client) UnbindMFADeviceWithChan

func (client *Client) UnbindMFADeviceWithChan(request *UnbindMFADeviceRequest) (<-chan *UnbindMFADeviceResponse, <-chan error)

UnbindMFADeviceWithChan invokes the ram.UnbindMFADevice API asynchronously

func (*Client) UpdateAccessKey

func (client *Client) UpdateAccessKey(request *UpdateAccessKeyRequest) (response *UpdateAccessKeyResponse, err error)

UpdateAccessKey invokes the ram.UpdateAccessKey API synchronously

func (*Client) UpdateAccessKeyWithCallback

func (client *Client) UpdateAccessKeyWithCallback(request *UpdateAccessKeyRequest, callback func(response *UpdateAccessKeyResponse, err error)) <-chan int

UpdateAccessKeyWithCallback invokes the ram.UpdateAccessKey API asynchronously

func (*Client) UpdateAccessKeyWithChan

func (client *Client) UpdateAccessKeyWithChan(request *UpdateAccessKeyRequest) (<-chan *UpdateAccessKeyResponse, <-chan error)

UpdateAccessKeyWithChan invokes the ram.UpdateAccessKey API asynchronously

func (*Client) UpdateGroup

func (client *Client) UpdateGroup(request *UpdateGroupRequest) (response *UpdateGroupResponse, err error)

UpdateGroup invokes the ram.UpdateGroup API synchronously

func (*Client) UpdateGroupWithCallback

func (client *Client) UpdateGroupWithCallback(request *UpdateGroupRequest, callback func(response *UpdateGroupResponse, err error)) <-chan int

UpdateGroupWithCallback invokes the ram.UpdateGroup API asynchronously

func (*Client) UpdateGroupWithChan

func (client *Client) UpdateGroupWithChan(request *UpdateGroupRequest) (<-chan *UpdateGroupResponse, <-chan error)

UpdateGroupWithChan invokes the ram.UpdateGroup API asynchronously

func (*Client) UpdateLoginProfile

func (client *Client) UpdateLoginProfile(request *UpdateLoginProfileRequest) (response *UpdateLoginProfileResponse, err error)

UpdateLoginProfile invokes the ram.UpdateLoginProfile API synchronously

func (*Client) UpdateLoginProfileWithCallback

func (client *Client) UpdateLoginProfileWithCallback(request *UpdateLoginProfileRequest, callback func(response *UpdateLoginProfileResponse, err error)) <-chan int

UpdateLoginProfileWithCallback invokes the ram.UpdateLoginProfile API asynchronously

func (*Client) UpdateLoginProfileWithChan

func (client *Client) UpdateLoginProfileWithChan(request *UpdateLoginProfileRequest) (<-chan *UpdateLoginProfileResponse, <-chan error)

UpdateLoginProfileWithChan invokes the ram.UpdateLoginProfile API asynchronously

func (*Client) UpdatePolicyDescription added in v1.62.118

func (client *Client) UpdatePolicyDescription(request *UpdatePolicyDescriptionRequest) (response *UpdatePolicyDescriptionResponse, err error)

UpdatePolicyDescription invokes the ram.UpdatePolicyDescription API synchronously

func (*Client) UpdatePolicyDescriptionWithCallback added in v1.62.118

func (client *Client) UpdatePolicyDescriptionWithCallback(request *UpdatePolicyDescriptionRequest, callback func(response *UpdatePolicyDescriptionResponse, err error)) <-chan int

UpdatePolicyDescriptionWithCallback invokes the ram.UpdatePolicyDescription API asynchronously

func (*Client) UpdatePolicyDescriptionWithChan added in v1.62.118

func (client *Client) UpdatePolicyDescriptionWithChan(request *UpdatePolicyDescriptionRequest) (<-chan *UpdatePolicyDescriptionResponse, <-chan error)

UpdatePolicyDescriptionWithChan invokes the ram.UpdatePolicyDescription API asynchronously

func (*Client) UpdateRole

func (client *Client) UpdateRole(request *UpdateRoleRequest) (response *UpdateRoleResponse, err error)

UpdateRole invokes the ram.UpdateRole API synchronously

func (*Client) UpdateRoleWithCallback

func (client *Client) UpdateRoleWithCallback(request *UpdateRoleRequest, callback func(response *UpdateRoleResponse, err error)) <-chan int

UpdateRoleWithCallback invokes the ram.UpdateRole API asynchronously

func (*Client) UpdateRoleWithChan

func (client *Client) UpdateRoleWithChan(request *UpdateRoleRequest) (<-chan *UpdateRoleResponse, <-chan error)

UpdateRoleWithChan invokes the ram.UpdateRole API asynchronously

func (*Client) UpdateUser

func (client *Client) UpdateUser(request *UpdateUserRequest) (response *UpdateUserResponse, err error)

UpdateUser invokes the ram.UpdateUser API synchronously

func (*Client) UpdateUserWithCallback

func (client *Client) UpdateUserWithCallback(request *UpdateUserRequest, callback func(response *UpdateUserResponse, err error)) <-chan int

UpdateUserWithCallback invokes the ram.UpdateUser API asynchronously

func (*Client) UpdateUserWithChan

func (client *Client) UpdateUserWithChan(request *UpdateUserRequest) (<-chan *UpdateUserResponse, <-chan error)

UpdateUserWithChan invokes the ram.UpdateUser API asynchronously

type CreateAccessKeyRequest

type CreateAccessKeyRequest struct {
	*requests.RpcRequest
	UserName string `position:"Query" name:"UserName"`
}

CreateAccessKeyRequest is the request struct for api CreateAccessKey

func CreateCreateAccessKeyRequest

func CreateCreateAccessKeyRequest() (request *CreateAccessKeyRequest)

CreateCreateAccessKeyRequest creates a request to invoke CreateAccessKey API

type CreateAccessKeyResponse

type CreateAccessKeyResponse struct {
	*responses.BaseResponse
	RequestId string    `json:"RequestId" xml:"RequestId"`
	AccessKey AccessKey `json:"AccessKey" xml:"AccessKey"`
}

CreateAccessKeyResponse is the response struct for api CreateAccessKey

func CreateCreateAccessKeyResponse

func CreateCreateAccessKeyResponse() (response *CreateAccessKeyResponse)

CreateCreateAccessKeyResponse creates a response to parse from CreateAccessKey response

type CreateGroupRequest

type CreateGroupRequest struct {
	*requests.RpcRequest
	Comments  string `position:"Query" name:"Comments"`
	GroupName string `position:"Query" name:"GroupName"`
}

CreateGroupRequest is the request struct for api CreateGroup

func CreateCreateGroupRequest

func CreateCreateGroupRequest() (request *CreateGroupRequest)

CreateCreateGroupRequest creates a request to invoke CreateGroup API

type CreateGroupResponse

type CreateGroupResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Group     Group  `json:"Group" xml:"Group"`
}

CreateGroupResponse is the response struct for api CreateGroup

func CreateCreateGroupResponse

func CreateCreateGroupResponse() (response *CreateGroupResponse)

CreateCreateGroupResponse creates a response to parse from CreateGroup response

type CreateLoginProfileRequest

type CreateLoginProfileRequest struct {
	*requests.RpcRequest
	Password              string           `position:"Query" name:"Password"`
	MFABindRequired       requests.Boolean `position:"Query" name:"MFABindRequired"`
	PasswordResetRequired requests.Boolean `position:"Query" name:"PasswordResetRequired"`
	UserName              string           `position:"Query" name:"UserName"`
}

CreateLoginProfileRequest is the request struct for api CreateLoginProfile

func CreateCreateLoginProfileRequest

func CreateCreateLoginProfileRequest() (request *CreateLoginProfileRequest)

CreateCreateLoginProfileRequest creates a request to invoke CreateLoginProfile API

type CreateLoginProfileResponse

type CreateLoginProfileResponse struct {
	*responses.BaseResponse
	RequestId    string       `json:"RequestId" xml:"RequestId"`
	LoginProfile LoginProfile `json:"LoginProfile" xml:"LoginProfile"`
}

CreateLoginProfileResponse is the response struct for api CreateLoginProfile

func CreateCreateLoginProfileResponse

func CreateCreateLoginProfileResponse() (response *CreateLoginProfileResponse)

CreateCreateLoginProfileResponse creates a response to parse from CreateLoginProfile response

type CreatePolicyRequest

type CreatePolicyRequest struct {
	*requests.RpcRequest
	Description    string `position:"Query" name:"Description"`
	PolicyName     string `position:"Query" name:"PolicyName"`
	PolicyDocument string `position:"Query" name:"PolicyDocument"`
}

CreatePolicyRequest is the request struct for api CreatePolicy

func CreateCreatePolicyRequest

func CreateCreatePolicyRequest() (request *CreatePolicyRequest)

CreateCreatePolicyRequest creates a request to invoke CreatePolicy API

type CreatePolicyResponse

type CreatePolicyResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Policy    Policy `json:"Policy" xml:"Policy"`
}

CreatePolicyResponse is the response struct for api CreatePolicy

func CreateCreatePolicyResponse

func CreateCreatePolicyResponse() (response *CreatePolicyResponse)

CreateCreatePolicyResponse creates a response to parse from CreatePolicy response

type CreatePolicyVersionRequest

type CreatePolicyVersionRequest struct {
	*requests.RpcRequest
	SetAsDefault   requests.Boolean `position:"Query" name:"SetAsDefault"`
	RotateStrategy string           `position:"Query" name:"RotateStrategy"`
	PolicyName     string           `position:"Query" name:"PolicyName"`
	PolicyDocument string           `position:"Query" name:"PolicyDocument"`
}

CreatePolicyVersionRequest is the request struct for api CreatePolicyVersion

func CreateCreatePolicyVersionRequest

func CreateCreatePolicyVersionRequest() (request *CreatePolicyVersionRequest)

CreateCreatePolicyVersionRequest creates a request to invoke CreatePolicyVersion API

type CreatePolicyVersionResponse

type CreatePolicyVersionResponse struct {
	*responses.BaseResponse
	RequestId     string        `json:"RequestId" xml:"RequestId"`
	PolicyVersion PolicyVersion `json:"PolicyVersion" xml:"PolicyVersion"`
}

CreatePolicyVersionResponse is the response struct for api CreatePolicyVersion

func CreateCreatePolicyVersionResponse

func CreateCreatePolicyVersionResponse() (response *CreatePolicyVersionResponse)

CreateCreatePolicyVersionResponse creates a response to parse from CreatePolicyVersion response

type CreateRoleRequest

type CreateRoleRequest struct {
	*requests.RpcRequest
	Description              string           `position:"Query" name:"Description"`
	AssumeRolePolicyDocument string           `position:"Query" name:"AssumeRolePolicyDocument"`
	MaxSessionDuration       requests.Integer `position:"Query" name:"MaxSessionDuration"`
	RoleName                 string           `position:"Query" name:"RoleName"`
}

CreateRoleRequest is the request struct for api CreateRole

func CreateCreateRoleRequest

func CreateCreateRoleRequest() (request *CreateRoleRequest)

CreateCreateRoleRequest creates a request to invoke CreateRole API

type CreateRoleResponse

type CreateRoleResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Role      Role   `json:"Role" xml:"Role"`
}

CreateRoleResponse is the response struct for api CreateRole

func CreateCreateRoleResponse

func CreateCreateRoleResponse() (response *CreateRoleResponse)

CreateCreateRoleResponse creates a response to parse from CreateRole response

type CreateUserRequest

type CreateUserRequest struct {
	*requests.RpcRequest
	MobilePhone string `position:"Query" name:"MobilePhone"`
	Email       string `position:"Query" name:"Email"`
	Comments    string `position:"Query" name:"Comments"`
	DisplayName string `position:"Query" name:"DisplayName"`
	UserName    string `position:"Query" name:"UserName"`
}

CreateUserRequest is the request struct for api CreateUser

func CreateCreateUserRequest

func CreateCreateUserRequest() (request *CreateUserRequest)

CreateCreateUserRequest creates a request to invoke CreateUser API

type CreateUserResponse

type CreateUserResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	User      User   `json:"User" xml:"User"`
}

CreateUserResponse is the response struct for api CreateUser

func CreateCreateUserResponse

func CreateCreateUserResponse() (response *CreateUserResponse)

CreateCreateUserResponse creates a response to parse from CreateUser response

type CreateVirtualMFADeviceRequest

type CreateVirtualMFADeviceRequest struct {
	*requests.RpcRequest
	VirtualMFADeviceName string `position:"Query" name:"VirtualMFADeviceName"`
}

CreateVirtualMFADeviceRequest is the request struct for api CreateVirtualMFADevice

func CreateCreateVirtualMFADeviceRequest

func CreateCreateVirtualMFADeviceRequest() (request *CreateVirtualMFADeviceRequest)

CreateCreateVirtualMFADeviceRequest creates a request to invoke CreateVirtualMFADevice API

type CreateVirtualMFADeviceResponse

type CreateVirtualMFADeviceResponse struct {
	*responses.BaseResponse
	RequestId        string           `json:"RequestId" xml:"RequestId"`
	VirtualMFADevice VirtualMFADevice `json:"VirtualMFADevice" xml:"VirtualMFADevice"`
}

CreateVirtualMFADeviceResponse is the response struct for api CreateVirtualMFADevice

func CreateCreateVirtualMFADeviceResponse

func CreateCreateVirtualMFADeviceResponse() (response *CreateVirtualMFADeviceResponse)

CreateCreateVirtualMFADeviceResponse creates a response to parse from CreateVirtualMFADevice response

type DefaultPolicyVersion

type DefaultPolicyVersion struct {
	IsDefaultVersion bool   `json:"IsDefaultVersion" xml:"IsDefaultVersion"`
	PolicyDocument   string `json:"PolicyDocument" xml:"PolicyDocument"`
	VersionId        string `json:"VersionId" xml:"VersionId"`
	CreateDate       string `json:"CreateDate" xml:"CreateDate"`
}

DefaultPolicyVersion is a nested struct in ram response

type DeleteAccessKeyRequest

type DeleteAccessKeyRequest struct {
	*requests.RpcRequest
	UserAccessKeyId string `position:"Query" name:"UserAccessKeyId"`
	UserName        string `position:"Query" name:"UserName"`
}

DeleteAccessKeyRequest is the request struct for api DeleteAccessKey

func CreateDeleteAccessKeyRequest

func CreateDeleteAccessKeyRequest() (request *DeleteAccessKeyRequest)

CreateDeleteAccessKeyRequest creates a request to invoke DeleteAccessKey API

type DeleteAccessKeyResponse

type DeleteAccessKeyResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteAccessKeyResponse is the response struct for api DeleteAccessKey

func CreateDeleteAccessKeyResponse

func CreateDeleteAccessKeyResponse() (response *DeleteAccessKeyResponse)

CreateDeleteAccessKeyResponse creates a response to parse from DeleteAccessKey response

type DeleteGroupRequest

type DeleteGroupRequest struct {
	*requests.RpcRequest
	GroupName string `position:"Query" name:"GroupName"`
}

DeleteGroupRequest is the request struct for api DeleteGroup

func CreateDeleteGroupRequest

func CreateDeleteGroupRequest() (request *DeleteGroupRequest)

CreateDeleteGroupRequest creates a request to invoke DeleteGroup API

type DeleteGroupResponse

type DeleteGroupResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteGroupResponse is the response struct for api DeleteGroup

func CreateDeleteGroupResponse

func CreateDeleteGroupResponse() (response *DeleteGroupResponse)

CreateDeleteGroupResponse creates a response to parse from DeleteGroup response

type DeleteLoginProfileRequest

type DeleteLoginProfileRequest struct {
	*requests.RpcRequest
	UserName string `position:"Query" name:"UserName"`
}

DeleteLoginProfileRequest is the request struct for api DeleteLoginProfile

func CreateDeleteLoginProfileRequest

func CreateDeleteLoginProfileRequest() (request *DeleteLoginProfileRequest)

CreateDeleteLoginProfileRequest creates a request to invoke DeleteLoginProfile API

type DeleteLoginProfileResponse

type DeleteLoginProfileResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteLoginProfileResponse is the response struct for api DeleteLoginProfile

func CreateDeleteLoginProfileResponse

func CreateDeleteLoginProfileResponse() (response *DeleteLoginProfileResponse)

CreateDeleteLoginProfileResponse creates a response to parse from DeleteLoginProfile response

type DeletePolicyRequest

type DeletePolicyRequest struct {
	*requests.RpcRequest
	PolicyName string `position:"Query" name:"PolicyName"`
}

DeletePolicyRequest is the request struct for api DeletePolicy

func CreateDeletePolicyRequest

func CreateDeletePolicyRequest() (request *DeletePolicyRequest)

CreateDeletePolicyRequest creates a request to invoke DeletePolicy API

type DeletePolicyResponse

type DeletePolicyResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeletePolicyResponse is the response struct for api DeletePolicy

func CreateDeletePolicyResponse

func CreateDeletePolicyResponse() (response *DeletePolicyResponse)

CreateDeletePolicyResponse creates a response to parse from DeletePolicy response

type DeletePolicyVersionRequest

type DeletePolicyVersionRequest struct {
	*requests.RpcRequest
	VersionId  string `position:"Query" name:"VersionId"`
	PolicyName string `position:"Query" name:"PolicyName"`
}

DeletePolicyVersionRequest is the request struct for api DeletePolicyVersion

func CreateDeletePolicyVersionRequest

func CreateDeletePolicyVersionRequest() (request *DeletePolicyVersionRequest)

CreateDeletePolicyVersionRequest creates a request to invoke DeletePolicyVersion API

type DeletePolicyVersionResponse

type DeletePolicyVersionResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeletePolicyVersionResponse is the response struct for api DeletePolicyVersion

func CreateDeletePolicyVersionResponse

func CreateDeletePolicyVersionResponse() (response *DeletePolicyVersionResponse)

CreateDeletePolicyVersionResponse creates a response to parse from DeletePolicyVersion response

type DeleteRoleRequest

type DeleteRoleRequest struct {
	*requests.RpcRequest
	RoleName string `position:"Query" name:"RoleName"`
}

DeleteRoleRequest is the request struct for api DeleteRole

func CreateDeleteRoleRequest

func CreateDeleteRoleRequest() (request *DeleteRoleRequest)

CreateDeleteRoleRequest creates a request to invoke DeleteRole API

type DeleteRoleResponse

type DeleteRoleResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteRoleResponse is the response struct for api DeleteRole

func CreateDeleteRoleResponse

func CreateDeleteRoleResponse() (response *DeleteRoleResponse)

CreateDeleteRoleResponse creates a response to parse from DeleteRole response

type DeleteUserRequest

type DeleteUserRequest struct {
	*requests.RpcRequest
	UserName string `position:"Query" name:"UserName"`
}

DeleteUserRequest is the request struct for api DeleteUser

func CreateDeleteUserRequest

func CreateDeleteUserRequest() (request *DeleteUserRequest)

CreateDeleteUserRequest creates a request to invoke DeleteUser API

type DeleteUserResponse

type DeleteUserResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteUserResponse is the response struct for api DeleteUser

func CreateDeleteUserResponse

func CreateDeleteUserResponse() (response *DeleteUserResponse)

CreateDeleteUserResponse creates a response to parse from DeleteUser response

type DeleteVirtualMFADeviceRequest

type DeleteVirtualMFADeviceRequest struct {
	*requests.RpcRequest
	SerialNumber string `position:"Query" name:"SerialNumber"`
}

DeleteVirtualMFADeviceRequest is the request struct for api DeleteVirtualMFADevice

func CreateDeleteVirtualMFADeviceRequest

func CreateDeleteVirtualMFADeviceRequest() (request *DeleteVirtualMFADeviceRequest)

CreateDeleteVirtualMFADeviceRequest creates a request to invoke DeleteVirtualMFADevice API

type DeleteVirtualMFADeviceResponse

type DeleteVirtualMFADeviceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteVirtualMFADeviceResponse is the response struct for api DeleteVirtualMFADevice

func CreateDeleteVirtualMFADeviceResponse

func CreateDeleteVirtualMFADeviceResponse() (response *DeleteVirtualMFADeviceResponse)

CreateDeleteVirtualMFADeviceResponse creates a response to parse from DeleteVirtualMFADevice response

type DetachPolicyFromGroupRequest

type DetachPolicyFromGroupRequest struct {
	*requests.RpcRequest
	PolicyType string `position:"Query" name:"PolicyType"`
	GroupName  string `position:"Query" name:"GroupName"`
	PolicyName string `position:"Query" name:"PolicyName"`
}

DetachPolicyFromGroupRequest is the request struct for api DetachPolicyFromGroup

func CreateDetachPolicyFromGroupRequest

func CreateDetachPolicyFromGroupRequest() (request *DetachPolicyFromGroupRequest)

CreateDetachPolicyFromGroupRequest creates a request to invoke DetachPolicyFromGroup API

type DetachPolicyFromGroupResponse

type DetachPolicyFromGroupResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DetachPolicyFromGroupResponse is the response struct for api DetachPolicyFromGroup

func CreateDetachPolicyFromGroupResponse

func CreateDetachPolicyFromGroupResponse() (response *DetachPolicyFromGroupResponse)

CreateDetachPolicyFromGroupResponse creates a response to parse from DetachPolicyFromGroup response

type DetachPolicyFromRoleRequest

type DetachPolicyFromRoleRequest struct {
	*requests.RpcRequest
	PolicyType string `position:"Query" name:"PolicyType"`
	RoleName   string `position:"Query" name:"RoleName"`
	PolicyName string `position:"Query" name:"PolicyName"`
}

DetachPolicyFromRoleRequest is the request struct for api DetachPolicyFromRole

func CreateDetachPolicyFromRoleRequest

func CreateDetachPolicyFromRoleRequest() (request *DetachPolicyFromRoleRequest)

CreateDetachPolicyFromRoleRequest creates a request to invoke DetachPolicyFromRole API

type DetachPolicyFromRoleResponse

type DetachPolicyFromRoleResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DetachPolicyFromRoleResponse is the response struct for api DetachPolicyFromRole

func CreateDetachPolicyFromRoleResponse

func CreateDetachPolicyFromRoleResponse() (response *DetachPolicyFromRoleResponse)

CreateDetachPolicyFromRoleResponse creates a response to parse from DetachPolicyFromRole response

type DetachPolicyFromUserRequest

type DetachPolicyFromUserRequest struct {
	*requests.RpcRequest
	PolicyType string `position:"Query" name:"PolicyType"`
	PolicyName string `position:"Query" name:"PolicyName"`
	UserName   string `position:"Query" name:"UserName"`
}

DetachPolicyFromUserRequest is the request struct for api DetachPolicyFromUser

func CreateDetachPolicyFromUserRequest

func CreateDetachPolicyFromUserRequest() (request *DetachPolicyFromUserRequest)

CreateDetachPolicyFromUserRequest creates a request to invoke DetachPolicyFromUser API

type DetachPolicyFromUserResponse

type DetachPolicyFromUserResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DetachPolicyFromUserResponse is the response struct for api DetachPolicyFromUser

func CreateDetachPolicyFromUserResponse

func CreateDetachPolicyFromUserResponse() (response *DetachPolicyFromUserResponse)

CreateDetachPolicyFromUserResponse creates a response to parse from DetachPolicyFromUser response

type GetAccessKeyLastUsedRequest

type GetAccessKeyLastUsedRequest struct {
	*requests.RpcRequest
	UserAccessKeyId string `position:"Query" name:"UserAccessKeyId"`
	UserName        string `position:"Query" name:"UserName"`
}

GetAccessKeyLastUsedRequest is the request struct for api GetAccessKeyLastUsed

func CreateGetAccessKeyLastUsedRequest

func CreateGetAccessKeyLastUsedRequest() (request *GetAccessKeyLastUsedRequest)

CreateGetAccessKeyLastUsedRequest creates a request to invoke GetAccessKeyLastUsed API

type GetAccessKeyLastUsedResponse

type GetAccessKeyLastUsedResponse struct {
	*responses.BaseResponse
	RequestId         string            `json:"RequestId" xml:"RequestId"`
	AccessKeyLastUsed AccessKeyLastUsed `json:"AccessKeyLastUsed" xml:"AccessKeyLastUsed"`
}

GetAccessKeyLastUsedResponse is the response struct for api GetAccessKeyLastUsed

func CreateGetAccessKeyLastUsedResponse

func CreateGetAccessKeyLastUsedResponse() (response *GetAccessKeyLastUsedResponse)

CreateGetAccessKeyLastUsedResponse creates a response to parse from GetAccessKeyLastUsed response

type GetAccountAliasRequest

type GetAccountAliasRequest struct {
	*requests.RpcRequest
}

GetAccountAliasRequest is the request struct for api GetAccountAlias

func CreateGetAccountAliasRequest

func CreateGetAccountAliasRequest() (request *GetAccountAliasRequest)

CreateGetAccountAliasRequest creates a request to invoke GetAccountAlias API

type GetAccountAliasResponse

type GetAccountAliasResponse struct {
	*responses.BaseResponse
	RequestId    string `json:"RequestId" xml:"RequestId"`
	AccountAlias string `json:"AccountAlias" xml:"AccountAlias"`
}

GetAccountAliasResponse is the response struct for api GetAccountAlias

func CreateGetAccountAliasResponse

func CreateGetAccountAliasResponse() (response *GetAccountAliasResponse)

CreateGetAccountAliasResponse creates a response to parse from GetAccountAlias response

type GetGroupRequest

type GetGroupRequest struct {
	*requests.RpcRequest
	GroupName string `position:"Query" name:"GroupName"`
}

GetGroupRequest is the request struct for api GetGroup

func CreateGetGroupRequest

func CreateGetGroupRequest() (request *GetGroupRequest)

CreateGetGroupRequest creates a request to invoke GetGroup API

type GetGroupResponse

type GetGroupResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Group     Group  `json:"Group" xml:"Group"`
}

GetGroupResponse is the response struct for api GetGroup

func CreateGetGroupResponse

func CreateGetGroupResponse() (response *GetGroupResponse)

CreateGetGroupResponse creates a response to parse from GetGroup response

type GetLoginProfileRequest

type GetLoginProfileRequest struct {
	*requests.RpcRequest
	UserName string `position:"Query" name:"UserName"`
}

GetLoginProfileRequest is the request struct for api GetLoginProfile

func CreateGetLoginProfileRequest

func CreateGetLoginProfileRequest() (request *GetLoginProfileRequest)

CreateGetLoginProfileRequest creates a request to invoke GetLoginProfile API

type GetLoginProfileResponse

type GetLoginProfileResponse struct {
	*responses.BaseResponse
	RequestId    string       `json:"RequestId" xml:"RequestId"`
	LoginProfile LoginProfile `json:"LoginProfile" xml:"LoginProfile"`
}

GetLoginProfileResponse is the response struct for api GetLoginProfile

func CreateGetLoginProfileResponse

func CreateGetLoginProfileResponse() (response *GetLoginProfileResponse)

CreateGetLoginProfileResponse creates a response to parse from GetLoginProfile response

type GetPasswordPolicyRequest

type GetPasswordPolicyRequest struct {
	*requests.RpcRequest
}

GetPasswordPolicyRequest is the request struct for api GetPasswordPolicy

func CreateGetPasswordPolicyRequest

func CreateGetPasswordPolicyRequest() (request *GetPasswordPolicyRequest)

CreateGetPasswordPolicyRequest creates a request to invoke GetPasswordPolicy API

type GetPasswordPolicyResponse

type GetPasswordPolicyResponse struct {
	*responses.BaseResponse
	RequestId      string         `json:"RequestId" xml:"RequestId"`
	PasswordPolicy PasswordPolicy `json:"PasswordPolicy" xml:"PasswordPolicy"`
}

GetPasswordPolicyResponse is the response struct for api GetPasswordPolicy

func CreateGetPasswordPolicyResponse

func CreateGetPasswordPolicyResponse() (response *GetPasswordPolicyResponse)

CreateGetPasswordPolicyResponse creates a response to parse from GetPasswordPolicy response

type GetPolicyRequest

type GetPolicyRequest struct {
	*requests.RpcRequest
	PolicyType string `position:"Query" name:"PolicyType"`
	PolicyName string `position:"Query" name:"PolicyName"`
}

GetPolicyRequest is the request struct for api GetPolicy

func CreateGetPolicyRequest

func CreateGetPolicyRequest() (request *GetPolicyRequest)

CreateGetPolicyRequest creates a request to invoke GetPolicy API

type GetPolicyResponse

type GetPolicyResponse struct {
	*responses.BaseResponse
	RequestId            string               `json:"RequestId" xml:"RequestId"`
	Policy               Policy               `json:"Policy" xml:"Policy"`
	DefaultPolicyVersion DefaultPolicyVersion `json:"DefaultPolicyVersion" xml:"DefaultPolicyVersion"`
}

GetPolicyResponse is the response struct for api GetPolicy

func CreateGetPolicyResponse

func CreateGetPolicyResponse() (response *GetPolicyResponse)

CreateGetPolicyResponse creates a response to parse from GetPolicy response

type GetPolicyVersionRequest

type GetPolicyVersionRequest struct {
	*requests.RpcRequest
	PolicyType string `position:"Query" name:"PolicyType"`
	VersionId  string `position:"Query" name:"VersionId"`
	PolicyName string `position:"Query" name:"PolicyName"`
}

GetPolicyVersionRequest is the request struct for api GetPolicyVersion

func CreateGetPolicyVersionRequest

func CreateGetPolicyVersionRequest() (request *GetPolicyVersionRequest)

CreateGetPolicyVersionRequest creates a request to invoke GetPolicyVersion API

type GetPolicyVersionResponse

type GetPolicyVersionResponse struct {
	*responses.BaseResponse
	RequestId     string        `json:"RequestId" xml:"RequestId"`
	PolicyVersion PolicyVersion `json:"PolicyVersion" xml:"PolicyVersion"`
}

GetPolicyVersionResponse is the response struct for api GetPolicyVersion

func CreateGetPolicyVersionResponse

func CreateGetPolicyVersionResponse() (response *GetPolicyVersionResponse)

CreateGetPolicyVersionResponse creates a response to parse from GetPolicyVersion response

type GetRoleRequest

type GetRoleRequest struct {
	*requests.RpcRequest
	RoleName string `position:"Query" name:"RoleName"`
}

GetRoleRequest is the request struct for api GetRole

func CreateGetRoleRequest

func CreateGetRoleRequest() (request *GetRoleRequest)

CreateGetRoleRequest creates a request to invoke GetRole API

type GetRoleResponse

type GetRoleResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Role      Role   `json:"Role" xml:"Role"`
}

GetRoleResponse is the response struct for api GetRole

func CreateGetRoleResponse

func CreateGetRoleResponse() (response *GetRoleResponse)

CreateGetRoleResponse creates a response to parse from GetRole response

type GetSecurityPreferenceRequest

type GetSecurityPreferenceRequest struct {
	*requests.RpcRequest
}

GetSecurityPreferenceRequest is the request struct for api GetSecurityPreference

func CreateGetSecurityPreferenceRequest

func CreateGetSecurityPreferenceRequest() (request *GetSecurityPreferenceRequest)

CreateGetSecurityPreferenceRequest creates a request to invoke GetSecurityPreference API

type GetSecurityPreferenceResponse

type GetSecurityPreferenceResponse struct {
	*responses.BaseResponse
	RequestId          string             `json:"RequestId" xml:"RequestId"`
	SecurityPreference SecurityPreference `json:"SecurityPreference" xml:"SecurityPreference"`
}

GetSecurityPreferenceResponse is the response struct for api GetSecurityPreference

func CreateGetSecurityPreferenceResponse

func CreateGetSecurityPreferenceResponse() (response *GetSecurityPreferenceResponse)

CreateGetSecurityPreferenceResponse creates a response to parse from GetSecurityPreference response

type GetUserMFAInfoRequest

type GetUserMFAInfoRequest struct {
	*requests.RpcRequest
	UserName string `position:"Query" name:"UserName"`
}

GetUserMFAInfoRequest is the request struct for api GetUserMFAInfo

func CreateGetUserMFAInfoRequest

func CreateGetUserMFAInfoRequest() (request *GetUserMFAInfoRequest)

CreateGetUserMFAInfoRequest creates a request to invoke GetUserMFAInfo API

type GetUserMFAInfoResponse

type GetUserMFAInfoResponse struct {
	*responses.BaseResponse
	RequestId string    `json:"RequestId" xml:"RequestId"`
	MFADevice MFADevice `json:"MFADevice" xml:"MFADevice"`
}

GetUserMFAInfoResponse is the response struct for api GetUserMFAInfo

func CreateGetUserMFAInfoResponse

func CreateGetUserMFAInfoResponse() (response *GetUserMFAInfoResponse)

CreateGetUserMFAInfoResponse creates a response to parse from GetUserMFAInfo response

type GetUserRequest

type GetUserRequest struct {
	*requests.RpcRequest
	UserName string `position:"Query" name:"UserName"`
}

GetUserRequest is the request struct for api GetUser

func CreateGetUserRequest

func CreateGetUserRequest() (request *GetUserRequest)

CreateGetUserRequest creates a request to invoke GetUser API

type GetUserResponse

type GetUserResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	User      User   `json:"User" xml:"User"`
}

GetUserResponse is the response struct for api GetUser

func CreateGetUserResponse

func CreateGetUserResponse() (response *GetUserResponse)

CreateGetUserResponse creates a response to parse from GetUser response

type Group

type Group struct {
	Comments   string `json:"Comments" xml:"Comments"`
	CreateDate string `json:"CreateDate" xml:"CreateDate"`
	AttachDate string `json:"AttachDate" xml:"AttachDate"`
	UpdateDate string `json:"UpdateDate" xml:"UpdateDate"`
	GroupName  string `json:"GroupName" xml:"GroupName"`
	GroupId    string `json:"GroupId" xml:"GroupId"`
	JoinDate   string `json:"JoinDate" xml:"JoinDate"`
}

Group is a nested struct in ram response

type GroupsInListEntitiesForPolicy

type GroupsInListEntitiesForPolicy struct {
	Group []Group `json:"Group" xml:"Group"`
}

GroupsInListEntitiesForPolicy is a nested struct in ram response

type GroupsInListGroups

type GroupsInListGroups struct {
	Group []Group `json:"Group" xml:"Group"`
}

GroupsInListGroups is a nested struct in ram response

type GroupsInListGroupsForUser

type GroupsInListGroupsForUser struct {
	Group []Group `json:"Group" xml:"Group"`
}

GroupsInListGroupsForUser is a nested struct in ram response

type ListAccessKeysRequest

type ListAccessKeysRequest struct {
	*requests.RpcRequest
	UserName string `position:"Query" name:"UserName"`
}

ListAccessKeysRequest is the request struct for api ListAccessKeys

func CreateListAccessKeysRequest

func CreateListAccessKeysRequest() (request *ListAccessKeysRequest)

CreateListAccessKeysRequest creates a request to invoke ListAccessKeys API

type ListAccessKeysResponse

type ListAccessKeysResponse struct {
	*responses.BaseResponse
	RequestId  string     `json:"RequestId" xml:"RequestId"`
	AccessKeys AccessKeys `json:"AccessKeys" xml:"AccessKeys"`
}

ListAccessKeysResponse is the response struct for api ListAccessKeys

func CreateListAccessKeysResponse

func CreateListAccessKeysResponse() (response *ListAccessKeysResponse)

CreateListAccessKeysResponse creates a response to parse from ListAccessKeys response

type ListEntitiesForPolicyRequest

type ListEntitiesForPolicyRequest struct {
	*requests.RpcRequest
	PolicyType string `position:"Query" name:"PolicyType"`
	PolicyName string `position:"Query" name:"PolicyName"`
}

ListEntitiesForPolicyRequest is the request struct for api ListEntitiesForPolicy

func CreateListEntitiesForPolicyRequest

func CreateListEntitiesForPolicyRequest() (request *ListEntitiesForPolicyRequest)

CreateListEntitiesForPolicyRequest creates a request to invoke ListEntitiesForPolicy API

type ListEntitiesForPolicyResponse

type ListEntitiesForPolicyResponse struct {
	*responses.BaseResponse
	RequestId string                        `json:"RequestId" xml:"RequestId"`
	Groups    GroupsInListEntitiesForPolicy `json:"Groups" xml:"Groups"`
	Roles     RolesInListEntitiesForPolicy  `json:"Roles" xml:"Roles"`
	Users     UsersInListEntitiesForPolicy  `json:"Users" xml:"Users"`
}

ListEntitiesForPolicyResponse is the response struct for api ListEntitiesForPolicy

func CreateListEntitiesForPolicyResponse

func CreateListEntitiesForPolicyResponse() (response *ListEntitiesForPolicyResponse)

CreateListEntitiesForPolicyResponse creates a response to parse from ListEntitiesForPolicy response

type ListGroupsForUserRequest

type ListGroupsForUserRequest struct {
	*requests.RpcRequest
	UserName string `position:"Query" name:"UserName"`
}

ListGroupsForUserRequest is the request struct for api ListGroupsForUser

func CreateListGroupsForUserRequest

func CreateListGroupsForUserRequest() (request *ListGroupsForUserRequest)

CreateListGroupsForUserRequest creates a request to invoke ListGroupsForUser API

type ListGroupsForUserResponse

type ListGroupsForUserResponse struct {
	*responses.BaseResponse
	RequestId string                    `json:"RequestId" xml:"RequestId"`
	Groups    GroupsInListGroupsForUser `json:"Groups" xml:"Groups"`
}

ListGroupsForUserResponse is the response struct for api ListGroupsForUser

func CreateListGroupsForUserResponse

func CreateListGroupsForUserResponse() (response *ListGroupsForUserResponse)

CreateListGroupsForUserResponse creates a response to parse from ListGroupsForUser response

type ListGroupsRequest

type ListGroupsRequest struct {
	*requests.RpcRequest
	Marker   string           `position:"Query" name:"Marker"`
	MaxItems requests.Integer `position:"Query" name:"MaxItems"`
}

ListGroupsRequest is the request struct for api ListGroups

func CreateListGroupsRequest

func CreateListGroupsRequest() (request *ListGroupsRequest)

CreateListGroupsRequest creates a request to invoke ListGroups API

type ListGroupsResponse

type ListGroupsResponse struct {
	*responses.BaseResponse
	RequestId   string             `json:"RequestId" xml:"RequestId"`
	IsTruncated bool               `json:"IsTruncated" xml:"IsTruncated"`
	Marker      string             `json:"Marker" xml:"Marker"`
	Groups      GroupsInListGroups `json:"Groups" xml:"Groups"`
}

ListGroupsResponse is the response struct for api ListGroups

func CreateListGroupsResponse

func CreateListGroupsResponse() (response *ListGroupsResponse)

CreateListGroupsResponse creates a response to parse from ListGroups response

type ListPoliciesForGroupRequest

type ListPoliciesForGroupRequest struct {
	*requests.RpcRequest
	GroupName string `position:"Query" name:"GroupName"`
}

ListPoliciesForGroupRequest is the request struct for api ListPoliciesForGroup

func CreateListPoliciesForGroupRequest

func CreateListPoliciesForGroupRequest() (request *ListPoliciesForGroupRequest)

CreateListPoliciesForGroupRequest creates a request to invoke ListPoliciesForGroup API

type ListPoliciesForGroupResponse

type ListPoliciesForGroupResponse struct {
	*responses.BaseResponse
	RequestId string                         `json:"RequestId" xml:"RequestId"`
	Policies  PoliciesInListPoliciesForGroup `json:"Policies" xml:"Policies"`
}

ListPoliciesForGroupResponse is the response struct for api ListPoliciesForGroup

func CreateListPoliciesForGroupResponse

func CreateListPoliciesForGroupResponse() (response *ListPoliciesForGroupResponse)

CreateListPoliciesForGroupResponse creates a response to parse from ListPoliciesForGroup response

type ListPoliciesForRoleRequest

type ListPoliciesForRoleRequest struct {
	*requests.RpcRequest
	RoleName string `position:"Query" name:"RoleName"`
}

ListPoliciesForRoleRequest is the request struct for api ListPoliciesForRole

func CreateListPoliciesForRoleRequest

func CreateListPoliciesForRoleRequest() (request *ListPoliciesForRoleRequest)

CreateListPoliciesForRoleRequest creates a request to invoke ListPoliciesForRole API

type ListPoliciesForRoleResponse

type ListPoliciesForRoleResponse struct {
	*responses.BaseResponse
	RequestId string                        `json:"RequestId" xml:"RequestId"`
	Policies  PoliciesInListPoliciesForRole `json:"Policies" xml:"Policies"`
}

ListPoliciesForRoleResponse is the response struct for api ListPoliciesForRole

func CreateListPoliciesForRoleResponse

func CreateListPoliciesForRoleResponse() (response *ListPoliciesForRoleResponse)

CreateListPoliciesForRoleResponse creates a response to parse from ListPoliciesForRole response

type ListPoliciesForUserRequest

type ListPoliciesForUserRequest struct {
	*requests.RpcRequest
	UserName string `position:"Query" name:"UserName"`
}

ListPoliciesForUserRequest is the request struct for api ListPoliciesForUser

func CreateListPoliciesForUserRequest

func CreateListPoliciesForUserRequest() (request *ListPoliciesForUserRequest)

CreateListPoliciesForUserRequest creates a request to invoke ListPoliciesForUser API

type ListPoliciesForUserResponse

type ListPoliciesForUserResponse struct {
	*responses.BaseResponse
	RequestId string                        `json:"RequestId" xml:"RequestId"`
	Policies  PoliciesInListPoliciesForUser `json:"Policies" xml:"Policies"`
}

ListPoliciesForUserResponse is the response struct for api ListPoliciesForUser

func CreateListPoliciesForUserResponse

func CreateListPoliciesForUserResponse() (response *ListPoliciesForUserResponse)

CreateListPoliciesForUserResponse creates a response to parse from ListPoliciesForUser response

type ListPoliciesRequest

type ListPoliciesRequest struct {
	*requests.RpcRequest
	PolicyType string           `position:"Query" name:"PolicyType"`
	Marker     string           `position:"Query" name:"Marker"`
	MaxItems   requests.Integer `position:"Query" name:"MaxItems"`
}

ListPoliciesRequest is the request struct for api ListPolicies

func CreateListPoliciesRequest

func CreateListPoliciesRequest() (request *ListPoliciesRequest)

CreateListPoliciesRequest creates a request to invoke ListPolicies API

type ListPoliciesResponse

type ListPoliciesResponse struct {
	*responses.BaseResponse
	RequestId   string                 `json:"RequestId" xml:"RequestId"`
	IsTruncated bool                   `json:"IsTruncated" xml:"IsTruncated"`
	Marker      string                 `json:"Marker" xml:"Marker"`
	Policies    PoliciesInListPolicies `json:"Policies" xml:"Policies"`
}

ListPoliciesResponse is the response struct for api ListPolicies

func CreateListPoliciesResponse

func CreateListPoliciesResponse() (response *ListPoliciesResponse)

CreateListPoliciesResponse creates a response to parse from ListPolicies response

type ListPolicyVersionsRequest

type ListPolicyVersionsRequest struct {
	*requests.RpcRequest
	PolicyType string `position:"Query" name:"PolicyType"`
	PolicyName string `position:"Query" name:"PolicyName"`
}

ListPolicyVersionsRequest is the request struct for api ListPolicyVersions

func CreateListPolicyVersionsRequest

func CreateListPolicyVersionsRequest() (request *ListPolicyVersionsRequest)

CreateListPolicyVersionsRequest creates a request to invoke ListPolicyVersions API

type ListPolicyVersionsResponse

type ListPolicyVersionsResponse struct {
	*responses.BaseResponse
	RequestId      string         `json:"RequestId" xml:"RequestId"`
	PolicyVersions PolicyVersions `json:"PolicyVersions" xml:"PolicyVersions"`
}

ListPolicyVersionsResponse is the response struct for api ListPolicyVersions

func CreateListPolicyVersionsResponse

func CreateListPolicyVersionsResponse() (response *ListPolicyVersionsResponse)

CreateListPolicyVersionsResponse creates a response to parse from ListPolicyVersions response

type ListRolesRequest

type ListRolesRequest struct {
	*requests.RpcRequest
	Marker   string           `position:"Query" name:"Marker"`
	MaxItems requests.Integer `position:"Query" name:"MaxItems"`
}

ListRolesRequest is the request struct for api ListRoles

func CreateListRolesRequest

func CreateListRolesRequest() (request *ListRolesRequest)

CreateListRolesRequest creates a request to invoke ListRoles API

type ListRolesResponse

type ListRolesResponse struct {
	*responses.BaseResponse
	RequestId   string           `json:"RequestId" xml:"RequestId"`
	IsTruncated bool             `json:"IsTruncated" xml:"IsTruncated"`
	Marker      string           `json:"Marker" xml:"Marker"`
	Roles       RolesInListRoles `json:"Roles" xml:"Roles"`
}

ListRolesResponse is the response struct for api ListRoles

func CreateListRolesResponse

func CreateListRolesResponse() (response *ListRolesResponse)

CreateListRolesResponse creates a response to parse from ListRoles response

type ListUsersForGroupRequest

type ListUsersForGroupRequest struct {
	*requests.RpcRequest
	GroupName string           `position:"Query" name:"GroupName"`
	Marker    string           `position:"Query" name:"Marker"`
	MaxItems  requests.Integer `position:"Query" name:"MaxItems"`
}

ListUsersForGroupRequest is the request struct for api ListUsersForGroup

func CreateListUsersForGroupRequest

func CreateListUsersForGroupRequest() (request *ListUsersForGroupRequest)

CreateListUsersForGroupRequest creates a request to invoke ListUsersForGroup API

type ListUsersForGroupResponse

type ListUsersForGroupResponse struct {
	*responses.BaseResponse
	RequestId   string                   `json:"RequestId" xml:"RequestId"`
	IsTruncated bool                     `json:"IsTruncated" xml:"IsTruncated"`
	Marker      string                   `json:"Marker" xml:"Marker"`
	Users       UsersInListUsersForGroup `json:"Users" xml:"Users"`
}

ListUsersForGroupResponse is the response struct for api ListUsersForGroup

func CreateListUsersForGroupResponse

func CreateListUsersForGroupResponse() (response *ListUsersForGroupResponse)

CreateListUsersForGroupResponse creates a response to parse from ListUsersForGroup response

type ListUsersRequest

type ListUsersRequest struct {
	*requests.RpcRequest
	Marker   string           `position:"Query" name:"Marker"`
	MaxItems requests.Integer `position:"Query" name:"MaxItems"`
}

ListUsersRequest is the request struct for api ListUsers

func CreateListUsersRequest

func CreateListUsersRequest() (request *ListUsersRequest)

CreateListUsersRequest creates a request to invoke ListUsers API

type ListUsersResponse

type ListUsersResponse struct {
	*responses.BaseResponse
	RequestId   string           `json:"RequestId" xml:"RequestId"`
	IsTruncated bool             `json:"IsTruncated" xml:"IsTruncated"`
	Marker      string           `json:"Marker" xml:"Marker"`
	Users       UsersInListUsers `json:"Users" xml:"Users"`
}

ListUsersResponse is the response struct for api ListUsers

func CreateListUsersResponse

func CreateListUsersResponse() (response *ListUsersResponse)

CreateListUsersResponse creates a response to parse from ListUsers response

type ListVirtualMFADevicesRequest

type ListVirtualMFADevicesRequest struct {
	*requests.RpcRequest
}

ListVirtualMFADevicesRequest is the request struct for api ListVirtualMFADevices

func CreateListVirtualMFADevicesRequest

func CreateListVirtualMFADevicesRequest() (request *ListVirtualMFADevicesRequest)

CreateListVirtualMFADevicesRequest creates a request to invoke ListVirtualMFADevices API

type ListVirtualMFADevicesResponse

type ListVirtualMFADevicesResponse struct {
	*responses.BaseResponse
	RequestId         string            `json:"RequestId" xml:"RequestId"`
	VirtualMFADevices VirtualMFADevices `json:"VirtualMFADevices" xml:"VirtualMFADevices"`
}

ListVirtualMFADevicesResponse is the response struct for api ListVirtualMFADevices

func CreateListVirtualMFADevicesResponse

func CreateListVirtualMFADevicesResponse() (response *ListVirtualMFADevicesResponse)

CreateListVirtualMFADevicesResponse creates a response to parse from ListVirtualMFADevices response

type LoginProfile

type LoginProfile struct {
	MFABindRequired       bool   `json:"MFABindRequired" xml:"MFABindRequired"`
	CreateDate            string `json:"CreateDate" xml:"CreateDate"`
	UserName              string `json:"UserName" xml:"UserName"`
	PasswordResetRequired bool   `json:"PasswordResetRequired" xml:"PasswordResetRequired"`
}

LoginProfile is a nested struct in ram response

type LoginProfilePreference

type LoginProfilePreference struct {
	LoginNetworkMasks         string `json:"LoginNetworkMasks" xml:"LoginNetworkMasks"`
	LoginSessionDuration      int    `json:"LoginSessionDuration" xml:"LoginSessionDuration"`
	EnableSaveMFATicket       bool   `json:"EnableSaveMFATicket" xml:"EnableSaveMFATicket"`
	AllowUserToChangePassword bool   `json:"AllowUserToChangePassword" xml:"AllowUserToChangePassword"`
}

LoginProfilePreference is a nested struct in ram response

type MFADevice

type MFADevice struct {
	SerialNumber string `json:"SerialNumber" xml:"SerialNumber"`
	Type         string `json:"Type" xml:"Type"`
}

MFADevice is a nested struct in ram response

type MFAPreference

type MFAPreference struct {
	AllowUserToManageMFADevices bool `json:"AllowUserToManageMFADevices" xml:"AllowUserToManageMFADevices"`
}

MFAPreference is a nested struct in ram response

type PasswordPolicy

type PasswordPolicy struct {
	RequireUppercaseCharacters bool `json:"RequireUppercaseCharacters" xml:"RequireUppercaseCharacters"`
	MaxPasswordAge             int  `json:"MaxPasswordAge" xml:"MaxPasswordAge"`
	RequireSymbols             bool `json:"RequireSymbols" xml:"RequireSymbols"`
	RequireLowercaseCharacters bool `json:"RequireLowercaseCharacters" xml:"RequireLowercaseCharacters"`
	PasswordReusePrevention    int  `json:"PasswordReusePrevention" xml:"PasswordReusePrevention"`
	HardExpiry                 bool `json:"HardExpiry" xml:"HardExpiry"`
	MaxLoginAttemps            int  `json:"MaxLoginAttemps" xml:"MaxLoginAttemps"`
	MinimumPasswordLength      int  `json:"MinimumPasswordLength" xml:"MinimumPasswordLength"`
	RequireNumbers             bool `json:"RequireNumbers" xml:"RequireNumbers"`
}

PasswordPolicy is a nested struct in ram response

type PoliciesInListPolicies

type PoliciesInListPolicies struct {
	Policy []Policy `json:"Policy" xml:"Policy"`
}

PoliciesInListPolicies is a nested struct in ram response

type PoliciesInListPoliciesForGroup

type PoliciesInListPoliciesForGroup struct {
	Policy []Policy `json:"Policy" xml:"Policy"`
}

PoliciesInListPoliciesForGroup is a nested struct in ram response

type PoliciesInListPoliciesForRole

type PoliciesInListPoliciesForRole struct {
	Policy []Policy `json:"Policy" xml:"Policy"`
}

PoliciesInListPoliciesForRole is a nested struct in ram response

type PoliciesInListPoliciesForUser

type PoliciesInListPoliciesForUser struct {
	Policy []Policy `json:"Policy" xml:"Policy"`
}

PoliciesInListPoliciesForUser is a nested struct in ram response

type Policy

type Policy struct {
	PolicyDocument  string `json:"PolicyDocument" xml:"PolicyDocument"`
	CreateDate      string `json:"CreateDate" xml:"CreateDate"`
	AttachDate      string `json:"AttachDate" xml:"AttachDate"`
	PolicyType      string `json:"PolicyType" xml:"PolicyType"`
	UpdateDate      string `json:"UpdateDate" xml:"UpdateDate"`
	AttachmentCount int    `json:"AttachmentCount" xml:"AttachmentCount"`
	DefaultVersion  string `json:"DefaultVersion" xml:"DefaultVersion"`
	PolicyName      string `json:"PolicyName" xml:"PolicyName"`
	Description     string `json:"Description" xml:"Description"`
}

Policy is a nested struct in ram response

type PolicyVersion

type PolicyVersion struct {
	VersionId        string `json:"VersionId" xml:"VersionId"`
	PolicyDocument   string `json:"PolicyDocument" xml:"PolicyDocument"`
	CreateDate       string `json:"CreateDate" xml:"CreateDate"`
	IsDefaultVersion bool   `json:"IsDefaultVersion" xml:"IsDefaultVersion"`
}

PolicyVersion is a nested struct in ram response

type PolicyVersions

type PolicyVersions struct {
	PolicyVersion []PolicyVersion `json:"PolicyVersion" xml:"PolicyVersion"`
}

PolicyVersions is a nested struct in ram response

type PublicKeyPreference

type PublicKeyPreference struct {
	AllowUserToManagePublicKeys bool `json:"AllowUserToManagePublicKeys" xml:"AllowUserToManagePublicKeys"`
}

PublicKeyPreference is a nested struct in ram response

type RemoveUserFromGroupRequest

type RemoveUserFromGroupRequest struct {
	*requests.RpcRequest
	GroupName string `position:"Query" name:"GroupName"`
	UserName  string `position:"Query" name:"UserName"`
}

RemoveUserFromGroupRequest is the request struct for api RemoveUserFromGroup

func CreateRemoveUserFromGroupRequest

func CreateRemoveUserFromGroupRequest() (request *RemoveUserFromGroupRequest)

CreateRemoveUserFromGroupRequest creates a request to invoke RemoveUserFromGroup API

type RemoveUserFromGroupResponse

type RemoveUserFromGroupResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

RemoveUserFromGroupResponse is the response struct for api RemoveUserFromGroup

func CreateRemoveUserFromGroupResponse

func CreateRemoveUserFromGroupResponse() (response *RemoveUserFromGroupResponse)

CreateRemoveUserFromGroupResponse creates a response to parse from RemoveUserFromGroup response

type Role

type Role struct {
	CreateDate               string `json:"CreateDate" xml:"CreateDate"`
	RoleId                   string `json:"RoleId" xml:"RoleId"`
	AttachDate               string `json:"AttachDate" xml:"AttachDate"`
	Arn                      string `json:"Arn" xml:"Arn"`
	UpdateDate               string `json:"UpdateDate" xml:"UpdateDate"`
	MaxSessionDuration       int64  `json:"MaxSessionDuration" xml:"MaxSessionDuration"`
	Description              string `json:"Description" xml:"Description"`
	AssumeRolePolicyDocument string `json:"AssumeRolePolicyDocument" xml:"AssumeRolePolicyDocument"`
	RoleName                 string `json:"RoleName" xml:"RoleName"`
}

Role is a nested struct in ram response

type RolesInListEntitiesForPolicy

type RolesInListEntitiesForPolicy struct {
	Role []Role `json:"Role" xml:"Role"`
}

RolesInListEntitiesForPolicy is a nested struct in ram response

type RolesInListRoles

type RolesInListRoles struct {
	Role []Role `json:"Role" xml:"Role"`
}

RolesInListRoles is a nested struct in ram response

type SecurityPreference

type SecurityPreference struct {
	MFAPreference          MFAPreference          `json:"MFAPreference" xml:"MFAPreference"`
	PublicKeyPreference    PublicKeyPreference    `json:"PublicKeyPreference" xml:"PublicKeyPreference"`
	AccessKeyPreference    AccessKeyPreference    `json:"AccessKeyPreference" xml:"AccessKeyPreference"`
	LoginProfilePreference LoginProfilePreference `json:"LoginProfilePreference" xml:"LoginProfilePreference"`
}

SecurityPreference is a nested struct in ram response

type SetAccountAliasRequest

type SetAccountAliasRequest struct {
	*requests.RpcRequest
	AccountAlias string `position:"Query" name:"AccountAlias"`
}

SetAccountAliasRequest is the request struct for api SetAccountAlias

func CreateSetAccountAliasRequest

func CreateSetAccountAliasRequest() (request *SetAccountAliasRequest)

CreateSetAccountAliasRequest creates a request to invoke SetAccountAlias API

type SetAccountAliasResponse

type SetAccountAliasResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

SetAccountAliasResponse is the response struct for api SetAccountAlias

func CreateSetAccountAliasResponse

func CreateSetAccountAliasResponse() (response *SetAccountAliasResponse)

CreateSetAccountAliasResponse creates a response to parse from SetAccountAlias response

type SetDefaultPolicyVersionRequest

type SetDefaultPolicyVersionRequest struct {
	*requests.RpcRequest
	VersionId  string `position:"Query" name:"VersionId"`
	PolicyName string `position:"Query" name:"PolicyName"`
}

SetDefaultPolicyVersionRequest is the request struct for api SetDefaultPolicyVersion

func CreateSetDefaultPolicyVersionRequest

func CreateSetDefaultPolicyVersionRequest() (request *SetDefaultPolicyVersionRequest)

CreateSetDefaultPolicyVersionRequest creates a request to invoke SetDefaultPolicyVersion API

type SetDefaultPolicyVersionResponse

type SetDefaultPolicyVersionResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

SetDefaultPolicyVersionResponse is the response struct for api SetDefaultPolicyVersion

func CreateSetDefaultPolicyVersionResponse

func CreateSetDefaultPolicyVersionResponse() (response *SetDefaultPolicyVersionResponse)

CreateSetDefaultPolicyVersionResponse creates a response to parse from SetDefaultPolicyVersion response

type SetPasswordPolicyRequest

type SetPasswordPolicyRequest struct {
	*requests.RpcRequest
	PasswordReusePrevention    requests.Integer `position:"Query" name:"PasswordReusePrevention"`
	RequireUppercaseCharacters requests.Boolean `position:"Query" name:"RequireUppercaseCharacters"`
	MinimumPasswordLength      requests.Integer `position:"Query" name:"MinimumPasswordLength"`
	RequireNumbers             requests.Boolean `position:"Query" name:"RequireNumbers"`
	RequireLowercaseCharacters requests.Boolean `position:"Query" name:"RequireLowercaseCharacters"`
	MaxPasswordAge             requests.Integer `position:"Query" name:"MaxPasswordAge"`
	MaxLoginAttemps            requests.Integer `position:"Query" name:"MaxLoginAttemps"`
	HardExpiry                 requests.Boolean `position:"Query" name:"HardExpiry"`
	RequireSymbols             requests.Boolean `position:"Query" name:"RequireSymbols"`
}

SetPasswordPolicyRequest is the request struct for api SetPasswordPolicy

func CreateSetPasswordPolicyRequest

func CreateSetPasswordPolicyRequest() (request *SetPasswordPolicyRequest)

CreateSetPasswordPolicyRequest creates a request to invoke SetPasswordPolicy API

type SetPasswordPolicyResponse

type SetPasswordPolicyResponse struct {
	*responses.BaseResponse
	RequestId      string         `json:"RequestId" xml:"RequestId"`
	PasswordPolicy PasswordPolicy `json:"PasswordPolicy" xml:"PasswordPolicy"`
}

SetPasswordPolicyResponse is the response struct for api SetPasswordPolicy

func CreateSetPasswordPolicyResponse

func CreateSetPasswordPolicyResponse() (response *SetPasswordPolicyResponse)

CreateSetPasswordPolicyResponse creates a response to parse from SetPasswordPolicy response

type SetSecurityPreferenceRequest

type SetSecurityPreferenceRequest struct {
	*requests.RpcRequest
	EnableSaveMFATicket         requests.Boolean `position:"Query" name:"EnableSaveMFATicket"`
	LoginNetworkMasks           string           `position:"Query" name:"LoginNetworkMasks"`
	AllowUserToChangePassword   requests.Boolean `position:"Query" name:"AllowUserToChangePassword"`
	AllowUserToManagePublicKeys requests.Boolean `position:"Query" name:"AllowUserToManagePublicKeys"`
	LoginSessionDuration        requests.Integer `position:"Query" name:"LoginSessionDuration"`
	AllowUserToManageAccessKeys requests.Boolean `position:"Query" name:"AllowUserToManageAccessKeys"`
	AllowUserToManageMFADevices requests.Boolean `position:"Query" name:"AllowUserToManageMFADevices"`
}

SetSecurityPreferenceRequest is the request struct for api SetSecurityPreference

func CreateSetSecurityPreferenceRequest

func CreateSetSecurityPreferenceRequest() (request *SetSecurityPreferenceRequest)

CreateSetSecurityPreferenceRequest creates a request to invoke SetSecurityPreference API

type SetSecurityPreferenceResponse

type SetSecurityPreferenceResponse struct {
	*responses.BaseResponse
	RequestId          string             `json:"RequestId" xml:"RequestId"`
	SecurityPreference SecurityPreference `json:"SecurityPreference" xml:"SecurityPreference"`
}

SetSecurityPreferenceResponse is the response struct for api SetSecurityPreference

func CreateSetSecurityPreferenceResponse

func CreateSetSecurityPreferenceResponse() (response *SetSecurityPreferenceResponse)

CreateSetSecurityPreferenceResponse creates a response to parse from SetSecurityPreference response

type UnbindMFADeviceRequest

type UnbindMFADeviceRequest struct {
	*requests.RpcRequest
	UserName string `position:"Query" name:"UserName"`
}

UnbindMFADeviceRequest is the request struct for api UnbindMFADevice

func CreateUnbindMFADeviceRequest

func CreateUnbindMFADeviceRequest() (request *UnbindMFADeviceRequest)

CreateUnbindMFADeviceRequest creates a request to invoke UnbindMFADevice API

type UnbindMFADeviceResponse

type UnbindMFADeviceResponse struct {
	*responses.BaseResponse
	RequestId string    `json:"RequestId" xml:"RequestId"`
	MFADevice MFADevice `json:"MFADevice" xml:"MFADevice"`
}

UnbindMFADeviceResponse is the response struct for api UnbindMFADevice

func CreateUnbindMFADeviceResponse

func CreateUnbindMFADeviceResponse() (response *UnbindMFADeviceResponse)

CreateUnbindMFADeviceResponse creates a response to parse from UnbindMFADevice response

type UpdateAccessKeyRequest

type UpdateAccessKeyRequest struct {
	*requests.RpcRequest
	UserAccessKeyId string `position:"Query" name:"UserAccessKeyId"`
	UserName        string `position:"Query" name:"UserName"`
	Status          string `position:"Query" name:"Status"`
}

UpdateAccessKeyRequest is the request struct for api UpdateAccessKey

func CreateUpdateAccessKeyRequest

func CreateUpdateAccessKeyRequest() (request *UpdateAccessKeyRequest)

CreateUpdateAccessKeyRequest creates a request to invoke UpdateAccessKey API

type UpdateAccessKeyResponse

type UpdateAccessKeyResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

UpdateAccessKeyResponse is the response struct for api UpdateAccessKey

func CreateUpdateAccessKeyResponse

func CreateUpdateAccessKeyResponse() (response *UpdateAccessKeyResponse)

CreateUpdateAccessKeyResponse creates a response to parse from UpdateAccessKey response

type UpdateGroupRequest

type UpdateGroupRequest struct {
	*requests.RpcRequest
	GroupName    string `position:"Query" name:"GroupName"`
	NewGroupName string `position:"Query" name:"NewGroupName"`
	NewComments  string `position:"Query" name:"NewComments"`
}

UpdateGroupRequest is the request struct for api UpdateGroup

func CreateUpdateGroupRequest

func CreateUpdateGroupRequest() (request *UpdateGroupRequest)

CreateUpdateGroupRequest creates a request to invoke UpdateGroup API

type UpdateGroupResponse

type UpdateGroupResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Group     Group  `json:"Group" xml:"Group"`
}

UpdateGroupResponse is the response struct for api UpdateGroup

func CreateUpdateGroupResponse

func CreateUpdateGroupResponse() (response *UpdateGroupResponse)

CreateUpdateGroupResponse creates a response to parse from UpdateGroup response

type UpdateLoginProfileRequest

type UpdateLoginProfileRequest struct {
	*requests.RpcRequest
	Password              string           `position:"Query" name:"Password"`
	MFABindRequired       requests.Boolean `position:"Query" name:"MFABindRequired"`
	PasswordResetRequired requests.Boolean `position:"Query" name:"PasswordResetRequired"`
	UserName              string           `position:"Query" name:"UserName"`
}

UpdateLoginProfileRequest is the request struct for api UpdateLoginProfile

func CreateUpdateLoginProfileRequest

func CreateUpdateLoginProfileRequest() (request *UpdateLoginProfileRequest)

CreateUpdateLoginProfileRequest creates a request to invoke UpdateLoginProfile API

type UpdateLoginProfileResponse

type UpdateLoginProfileResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

UpdateLoginProfileResponse is the response struct for api UpdateLoginProfile

func CreateUpdateLoginProfileResponse

func CreateUpdateLoginProfileResponse() (response *UpdateLoginProfileResponse)

CreateUpdateLoginProfileResponse creates a response to parse from UpdateLoginProfile response

type UpdatePolicyDescriptionRequest added in v1.62.118

type UpdatePolicyDescriptionRequest struct {
	*requests.RpcRequest
	PolicyName     string `position:"Query" name:"PolicyName"`
	NewDescription string `position:"Query" name:"NewDescription"`
}

UpdatePolicyDescriptionRequest is the request struct for api UpdatePolicyDescription

func CreateUpdatePolicyDescriptionRequest added in v1.62.118

func CreateUpdatePolicyDescriptionRequest() (request *UpdatePolicyDescriptionRequest)

CreateUpdatePolicyDescriptionRequest creates a request to invoke UpdatePolicyDescription API

type UpdatePolicyDescriptionResponse added in v1.62.118

type UpdatePolicyDescriptionResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Policy    Policy `json:"Policy" xml:"Policy"`
}

UpdatePolicyDescriptionResponse is the response struct for api UpdatePolicyDescription

func CreateUpdatePolicyDescriptionResponse added in v1.62.118

func CreateUpdatePolicyDescriptionResponse() (response *UpdatePolicyDescriptionResponse)

CreateUpdatePolicyDescriptionResponse creates a response to parse from UpdatePolicyDescription response

type UpdateRoleRequest

type UpdateRoleRequest struct {
	*requests.RpcRequest
	NewMaxSessionDuration       requests.Integer `position:"Query" name:"NewMaxSessionDuration"`
	NewDescription              string           `position:"Query" name:"NewDescription"`
	NewAssumeRolePolicyDocument string           `position:"Query" name:"NewAssumeRolePolicyDocument"`
	RoleName                    string           `position:"Query" name:"RoleName"`
}

UpdateRoleRequest is the request struct for api UpdateRole

func CreateUpdateRoleRequest

func CreateUpdateRoleRequest() (request *UpdateRoleRequest)

CreateUpdateRoleRequest creates a request to invoke UpdateRole API

type UpdateRoleResponse

type UpdateRoleResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Role      Role   `json:"Role" xml:"Role"`
}

UpdateRoleResponse is the response struct for api UpdateRole

func CreateUpdateRoleResponse

func CreateUpdateRoleResponse() (response *UpdateRoleResponse)

CreateUpdateRoleResponse creates a response to parse from UpdateRole response

type UpdateUserRequest

type UpdateUserRequest struct {
	*requests.RpcRequest
	NewUserName    string `position:"Query" name:"NewUserName"`
	NewMobilePhone string `position:"Query" name:"NewMobilePhone"`
	NewEmail       string `position:"Query" name:"NewEmail"`
	NewDisplayName string `position:"Query" name:"NewDisplayName"`
	NewComments    string `position:"Query" name:"NewComments"`
	UserName       string `position:"Query" name:"UserName"`
}

UpdateUserRequest is the request struct for api UpdateUser

func CreateUpdateUserRequest

func CreateUpdateUserRequest() (request *UpdateUserRequest)

CreateUpdateUserRequest creates a request to invoke UpdateUser API

type UpdateUserResponse

type UpdateUserResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	User      User   `json:"User" xml:"User"`
}

UpdateUserResponse is the response struct for api UpdateUser

func CreateUpdateUserResponse

func CreateUpdateUserResponse() (response *UpdateUserResponse)

CreateUpdateUserResponse creates a response to parse from UpdateUser response

type User

type User struct {
	MobilePhone   string `json:"MobilePhone" xml:"MobilePhone"`
	Comments      string `json:"Comments" xml:"Comments"`
	CreateDate    string `json:"CreateDate" xml:"CreateDate"`
	AttachDate    string `json:"AttachDate" xml:"AttachDate"`
	Email         string `json:"Email" xml:"Email"`
	UserId        string `json:"UserId" xml:"UserId"`
	UpdateDate    string `json:"UpdateDate" xml:"UpdateDate"`
	UserName      string `json:"UserName" xml:"UserName"`
	JoinDate      string `json:"JoinDate" xml:"JoinDate"`
	LastLoginDate string `json:"LastLoginDate" xml:"LastLoginDate"`
	DisplayName   string `json:"DisplayName" xml:"DisplayName"`
}

User is a nested struct in ram response

type UsersInListEntitiesForPolicy

type UsersInListEntitiesForPolicy struct {
	User []User `json:"User" xml:"User"`
}

UsersInListEntitiesForPolicy is a nested struct in ram response

type UsersInListUsers

type UsersInListUsers struct {
	User []User `json:"User" xml:"User"`
}

UsersInListUsers is a nested struct in ram response

type UsersInListUsersForGroup

type UsersInListUsersForGroup struct {
	User []User `json:"User" xml:"User"`
}

UsersInListUsersForGroup is a nested struct in ram response

type VirtualMFADevice

type VirtualMFADevice struct {
	QRCodePNG        string `json:"QRCodePNG" xml:"QRCodePNG"`
	ActivateDate     string `json:"ActivateDate" xml:"ActivateDate"`
	Base32StringSeed string `json:"Base32StringSeed" xml:"Base32StringSeed"`
	SerialNumber     string `json:"SerialNumber" xml:"SerialNumber"`
	User             User   `json:"User" xml:"User"`
}

VirtualMFADevice is a nested struct in ram response

type VirtualMFADevices

type VirtualMFADevices struct {
	VirtualMFADevice []VirtualMFADevice `json:"VirtualMFADevice" xml:"VirtualMFADevice"`
}

VirtualMFADevices is a nested struct in ram response

Source Files

Jump to

Keyboard shortcuts

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